/* ===================================
   TaskEarning Register Page
=================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    min-height:100%;
}

body{

    font-family:'Poppins','Segoe UI',sans-serif;

    /* Premium Light Background */
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(37,99,235,.10),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(79,70,229,.10),
            transparent 35%
        ),
        #f5f7ff;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:30px;

    color:#111827;

    position:relative;

    overflow-x:hidden;

}


/* ===================================
   Background Decorative Effects
=================================== */

body::before{

    content:"";

    position:fixed;

    width:320px;

    height:320px;

    border-radius:50%;

    background:rgba(37,99,235,.08);

    top:-150px;

    left:-120px;

    filter:blur(10px);

    pointer-events:none;

}

body::after{

    content:"";

    position:fixed;

    width:300px;

    height:300px;

    border-radius:50%;

    background:rgba(79,70,229,.08);

    bottom:-150px;

    right:-100px;

    filter:blur(10px);

    pointer-events:none;

}


/* ===================================
   Main Wrapper
=================================== */

.register-wrapper{

    width:100%;

    min-height:calc(100vh - 60px);

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    z-index:2;

}


/* ===================================
   Register Card
=================================== */

.register-card{

    width:100%;

    max-width:520px;

    background:rgba(255,255,255,.96);

    border:1px solid rgba(255,255,255,.8);

    border-radius:24px;

    padding:40px;

    box-shadow:
        0 20px 50px rgba(31,41,55,.10),
        0 5px 15px rgba(37,99,235,.06);

    animation:fadeUp .5s ease;

}


/* ===================================
   Logo
=================================== */

.logo-box{

    text-align:center;

    margin-bottom:30px;

}

.logo-icon{

    width:80px;

    height:80px;

    margin:auto;

    border-radius:22px;

    background:linear-gradient(
        135deg,
        #2563eb,
        #4f46e5
    );

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:32px;

    margin-bottom:18px;

    box-shadow:
        0 12px 25px rgba(37,99,235,.25);

}

.logo-box h2{

    font-size:32px;

    font-weight:700;

    color:#111827;

    letter-spacing:-.5px;

}

.logo-box p{

    color:#6b7280;

    margin-top:8px;

    font-size:14px;

}


/* ===================================
   Labels
=================================== */

label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:#374151;

    font-size:14px;

}


/* ===================================
   Input
=================================== */

.form-control{

    width:100%;

    height:55px;

    border-radius:14px;

    border:1px solid #d9dee8;

    background:#f9fafc;

    padding:0 18px;

    font-size:15px;

    color:#111827;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;

}

.form-control::placeholder{

    color:#9ca3af;

}

.form-control:hover{

    border-color:#b9c2d0;

    background:#ffffff;

}

.form-control:focus{

    border-color:#2563eb;

    background:#ffffff;

    box-shadow:
        0 0 0 4px rgba(37,99,235,.10);

    outline:none;

}

.mb-3{

    margin-bottom:20px;

}


/* ===================================
   PASSWORD BOX
=================================== */

.password-box{

    position:relative;

}

.password-box .form-control{

    padding-right:60px;

}

.password-toggle{

    position:absolute;

    top:50%;

    right:15px;

    transform:translateY(-50%);

    width:35px;

    height:35px;

    display:flex;

    align-items:center;

    justify-content:center;

    border:none;

    background:transparent;

    cursor:pointer;

    color:#6b7280;

    font-size:17px;

    transition:.3s;

}

.password-toggle:hover{

    color:#2563eb;

}


/* ===================================
   CHECKBOX
=================================== */

.form-check{

    display:flex;

    align-items:flex-start;

    gap:10px;

    margin-bottom:25px;

}

.form-check-input{

    margin-top:5px;

    cursor:pointer;

}

.form-check-label{

    font-size:14px;

    color:#6b7280;

    line-height:22px;

}

.form-check-label a{

    color:#2563eb;

    text-decoration:none;

    font-weight:600;

}

.form-check-label a:hover{

    text-decoration:underline;

}


/* ===================================
   Register Button
=================================== */

.register-btn{

    width:100%;

    height:55px;

    border:none;

    border-radius:14px;

    background:linear-gradient(
        135deg,
        #2563eb,
        #4f46e5
    );

    color:#fff;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}

.register-btn:hover{

    transform:translateY(-2px);

    box-shadow:
        0 15px 30px rgba(37,99,235,.25);

}

.register-btn:active{

    transform:translateY(0);

}


/* ===================================
   Login
=================================== */

.login-area{

    margin-top:25px;

    text-align:center;

    color:#6b7280;

    font-size:15px;

}

.login-area a{

    color:#2563eb;

    font-weight:700;

    text-decoration:none;

}

.login-area a:hover{

    text-decoration:underline;

}


/* ===================================
   Alert
=================================== */

.alert{

    border-radius:12px;

    margin-bottom:20px;

    border:none;

    font-size:14px;

}


/* ===================================
   Animation
=================================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/* ===================================
   Tablet / Mobile
=================================== */

@media(max-width:768px){

    body{

        padding:15px;

    }

    .register-wrapper{

        min-height:calc(100vh - 30px);

    }

    .register-card{

        padding:28px;

        border-radius:20px;

    }

    .logo-icon{

        width:65px;

        height:65px;

        border-radius:18px;

        font-size:26px;

    }

    .logo-box h2{

        font-size:28px;

    }

    .logo-box p{

        font-size:14px;

    }

    .form-control{

        height:50px;

        font-size:14px;

    }

    .register-btn{

        height:50px;

        font-size:15px;

    }

}


/* ===================================
   Small Mobile
=================================== */

@media(max-width:480px){

    body{

        padding:10px;

    }

    .register-card{

        padding:20px;

        border-radius:18px;

    }

    .logo-box{

        margin-bottom:25px;

    }

    .logo-icon{

        width:60px;

        height:60px;

        font-size:24px;

    }

    .logo-box h2{

        font-size:24px;

    }

    .logo-box p{

        font-size:13px;

    }

    .form-control{

        height:48px;

    }

    .register-btn{

        height:50px;

    }

}
/* ===================================
   Submit Button Loading Animation
=================================== */

.register-btn{
    position:relative;
    overflow:hidden;
}

.register-btn.loading{
    pointer-events:none;
    opacity:.85;
}

.register-btn.loading .button-text{
    opacity:0;
}

.register-btn .button-loader{
    display:none;
    position:absolute;
    left:50%;
    top:50%;
    width:22px;
    height:22px;
    margin-left:-11px;
    margin-top:-11px;
    border:3px solid rgba(255,255,255,.35);
    border-top-color:#ffffff;
    border-radius:50%;
    animation:buttonSpin .7s linear infinite;
}

.register-btn.loading .button-loader{
    display:block;
}

@keyframes buttonSpin{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }

}

.register-btn.loading{
    transform:none;
    box-shadow:0 10px 25px rgba(37,99,235,.25);
}
/* ===================================
   TaskEarning E Logo
=================================== */

.logo-icon{

    display:flex;

    align-items:center;

    justify-content:center;

    background:linear-gradient(
        135deg,
        #2563eb,
        #4f46e5
    );

    box-shadow:
        0 14px 30px rgba(37,99,235,.25);

}

.logo-letter{

    color:#ffffff;

    font-family:
        Arial,
        'Segoe UI',
        sans-serif;

    font-size:48px;

    font-weight:800;

    line-height:1;

    display:block;

}
@media(max-width:768px){

    .logo-letter{

        font-size:40px;

    }

}