/* ===================================
   TaskEarning Login Page
   Same Design as 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
=================================== */

.login-wrapper{

    width:100%;

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

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    z-index:2;
}


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

.login-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 Area
=================================== */

.logo-area{

    text-align:center;

    margin-bottom:30px;
}


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

.logo-icon{

    width:80px;

    height:80px;

    margin:0 auto 18px;

    border-radius:22px;

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

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

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

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


.logo-icon:hover{

    transform:translateY(-3px);

    box-shadow:
        0 18px 35px rgba(37,99,235,.30);
}


/* ===================================
   TaskEarning E Logo
=================================== */

.logo-letter{

    color:#ffffff;

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

    font-size:48px;

    font-weight:800;

    line-height:1;

    display:block;
}


/* ===================================
   Heading
=================================== */

.logo-area h1{

    font-size:32px;

    font-weight:700;

    color:#111827;

    letter-spacing:-.5px;
}


.logo-area h1 span{

    color:#2563eb;
}


.logo-area p{

    color:#6b7280;

    margin-top:8px;

    font-size:14px;

    line-height:1.5;
}


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

label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:#374151;

    font-size:14px;
}


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

.input-group{

    margin-bottom:20px;
}


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

.input-box{

    position:relative;

    width:100%;

    height:55px;

    display:flex;

    align-items:center;

    border-radius:14px;

    border:1px solid #d9dee8;

    background:#f9fafc;

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


.input-box:hover{

    border-color:#b9c2d0;

    background:#ffffff;
}


.input-box:focus-within{

    border-color:#2563eb;

    background:#ffffff;

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


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

.input-icon{

    width:48px;

    min-width:48px;

    height:100%;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#6b7280;

    font-size:17px;
}


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

.input-box input{

    width:100%;

    height:100%;

    border:none;

    outline:none;

    background:transparent;

    color:#111827;

    font-size:15px;

    padding:0 15px 0 0;
}


.input-box input::placeholder{

    color:#9ca3af;
}


/* ===================================
   Password Toggle
=================================== */

.password-toggle{

    position:absolute;

    top:50%;

    right:12px;

    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;
}


/* ===================================
   Forgot Password
=================================== */

.login-options{

    display:flex;

    justify-content:flex-end;

    margin-top:-5px;

    margin-bottom:25px;
}


.login-options a{

    color:#2563eb;

    text-decoration:none;

    font-size:14px;

    font-weight:600;
}


.login-options a:hover{

    text-decoration:underline;
}


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

.login-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;

    position:relative;

    overflow:hidden;
}


.login-btn:hover{

    transform:translateY(-2px);

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


.login-btn:active{

    transform:translateY(0);
}


/* ===================================
   Login Button Arrow
=================================== */

.login-btn .arrow{

    margin-left:8px;

    display:inline-block;

    transition:.25s ease;
}


.login-btn:hover .arrow{

    transform:translateX(5px);
}


/* ===================================
   Register Area
=================================== */

.register-link{

    margin-top:25px;

    text-align:center;

    color:#6b7280;

    font-size:15px;
}


.register-link a{

    color:#2563eb;

    font-weight:700;

    text-decoration:none;

}


.register-link a:hover{

    text-decoration:underline;
}


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

.message{

    border-radius:12px;

    margin-bottom:20px;

    padding:12px 15px;

    font-size:14px;

    line-height:20px;
}


.message.error{

    background:#fff1f2;

    color:#dc2626;

    border:1px solid #fecdd3;
}


/* ===================================
   Success Message
=================================== */

.message.success{

    background:#ecfdf5;

    color:#059669;

    border:1px solid #a7f3d0;
}


/* ===================================
   Login Button Loading
=================================== */

.login-btn.loading{

    pointer-events:none;

    opacity:.85;

    transform:none;

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


.login-btn.loading .button-text{

    opacity:0;
}


.login-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;
}


.login-btn.loading .button-loader{

    display:block;
}


@keyframes buttonSpin{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }
}


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

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }
}


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

@media(max-width:768px){

    body{

        padding:15px;
    }

    .login-wrapper{

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

    .login-card{

        padding:28px;

        border-radius:20px;
    }

    .logo-icon{

        width:65px;

        height:65px;

        border-radius:18px;
    }

    .logo-letter{

        font-size:40px;
    }

    .logo-area h1{

        font-size:28px;
    }

    .logo-area p{

        font-size:14px;
    }

    .input-box{

        height:50px;

        font-size:14px;
    }

    .input-box input{

        font-size:14px;
    }

    .login-btn{

        height:50px;

        font-size:15px;
    }
}


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

@media(max-width:480px){

    body{

        padding:10px;
    }

    .login-card{

        padding:20px;

        border-radius:18px;
    }

    .logo-area{

        margin-bottom:25px;
    }

    .logo-icon{

        width:60px;

        height:60px;

        border-radius:18px;
    }

    .logo-letter{

        font-size:36px;
    }

    .logo-area h1{

        font-size:24px;
    }

    .logo-area p{

        font-size:13px;
    }

    .input-box{

        height:48px;
    }

    .input-icon{

        width:43px;

        min-width:43px;
    }

    .password-toggle{

        right:8px;
    }

    .login-options{

        margin-bottom:20px;
    }

    .login-options a{

        font-size:13px;
    }

    .login-btn{

        height:50px;
    }

    .register-link{

        font-size:14px;
    }
}


/* ===================================
   Very Small Devices
=================================== */

@media(max-width:360px){

    .login-card{

        padding:18px;
    }

    .logo-area h1{

        font-size:22px;
    }

    .logo-icon{

        width:55px;

        height:55px;
    }

    .logo-letter{

        font-size:32px;
    }
}