/*======================================
EIVOX AUTH CSS
PART 1
AUTH PAGE LAYOUT
======================================*/


/*======================================
AUTH PAGE
======================================*/

html,
body{

    width:100%;

    overflow-x:hidden;

}

*{

    box-sizing:border-box;

}

.auth-page{

    min-height:100vh;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    padding:60px 20px;

    background:
    radial-gradient(circle at top,#17325f 0%,#0a1224 40%,#060b16 100%);

    position:relative;

    overflow:hidden;

}


/*======================================
BACKGROUND EFFECT
======================================*/

.auth-page::before{

    content:"";

    position:absolute;

    width:550px;

    height:550px;

    border-radius:50%;

    background:rgba(37,99,235,.12);

    top:-180px;

    left:-180px;

    filter:blur(120px);

}

.auth-page::after{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    border-radius:50%;

    background:rgba(59,130,246,.10);

    bottom:-180px;

    right:-180px;

    filter:blur(120px);

}


/*======================================
AUTH CONTAINER
======================================*/

.auth-content{

    width:100%;

    max-width:560px;

    text-align:center;

    margin-bottom:30px;

    position:relative;

    z-index:5;

}


/*======================================
AUTH TOP
======================================*/

.auth-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:15px;

    margin-bottom:25px;

    flex-wrap:wrap;

}


/*======================================
WELCOME BADGE
======================================*/

.auth-badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 18px;

    border-radius:999px;

    background:rgba(37,99,235,.15);

    color:#60a5fa;

    font-size:.85rem;

    font-weight:700;

    border:1px solid rgba(96,165,250,.2);

}


/*======================================
BACK HOME
======================================*/

.back-home{

    text-decoration:none;

    color:#93c5fd;

    font-size:.9rem;

    font-weight:600;

    transition:.3s;

}

.back-home:hover{

    color:#fff;

}


/*======================================
TITLE
======================================*/

.auth-content h1{

    color:#ffffff;

    font-size:clamp(2rem,4vw,3rem);

    font-weight:800;

    line-height:1.2;

    margin-bottom:15px;

}


/*======================================
DESCRIPTION
======================================*/

.auth-content p{

    color:#cbd5e1;

    font-size:1rem;

    line-height:1.8;

    max-width:520px;

    margin:auto;

}


/*======================================
AUTH FORM CARD
======================================*/

.auth-form{

    width:100%;

    max-width:560px;

    background:rgba(15,23,42,.92);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:28px;

    padding:35px;

    box-shadow:

    0 20px 60px rgba(0,0,0,.35),

    inset 0 1px rgba(255,255,255,.05);

    position:relative;

    z-index:5;

}


/*======================================
DESKTOP
======================================*/

@media(min-width:1200px){

    .auth-page{

        padding:80px;

    }

    .auth-content{

        max-width:650px;

    }

    .auth-form{

        max-width:560px;

    }

}


/*======================================
TABLET
======================================*/

@media(max-width:991px){

    .auth-page{

        padding:50px 25px;

    }

}


/*======================================
PHONE
======================================*/

@media(max-width:768px){

    .auth-page{

        padding:30px 16px;

    }

    .auth-content{

        margin-bottom:22px;

    }

    .auth-top{

        flex-direction:column;

        align-items:flex-start;

    }

    .auth-form{

        padding:25px;

        border-radius:22px;

    }

}


/*======================================
SMALL PHONE
======================================*/

@media(max-width:480px){

    .auth-content h1{

        font-size:2rem;

    }

    .auth-content p{

        font-size:.92rem;

    }

    .auth-form{

        padding:20px;

    }

}


/*======================================
EIVOX AUTH CSS
PART 2
FORM ELEMENTS
======================================*/


/*======================================
INPUT GROUP
======================================*/

.input-group{

    margin-bottom:22px;

}

.input-group label{

    display:block;

    margin-bottom:10px;

    color:#e2e8f0;

    font-size:.95rem;

    font-weight:600;

}


/*======================================
INPUT BOX
======================================*/

.input-box{

    position:relative;

    display:flex;

    align-items:center;

    background:#111c30;

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    overflow:hidden;

    transition:.3s ease;

}

.input-box:hover{

    border-color:rgba(59,130,246,.35);

}

.input-box:focus-within{

    border-color:#3b82f6;

    box-shadow:0 0 0 4px rgba(59,130,246,.15);

}


/*======================================
LEFT ICON
======================================*/

.input-box svg{

    width:22px;

    height:22px;

    margin-left:18px;

    color:#60a5fa;

    flex-shrink:0;

}


/*======================================
INPUT
======================================*/

.input-box input{

    flex:1;

    height:58px;

    background:none;

    border:none;

    outline:none;

    padding:0 18px;

    color:#fff;

    font-size:15px;

    font-weight:500;

}

.input-box input::placeholder{

    color:#94a3b8;

}


/*======================================
PASSWORD BUTTON
======================================*/

.toggle-password{

    width:48px;

    height:58px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:none;

    border:none;

    color:#94a3b8;

    cursor:pointer;

    transition:.3s;

    font-size:18px;

}

.toggle-password:hover{

    color:#3b82f6;

}


/*======================================
OPTIONS
======================================*/

.auth-options{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:12px;

    margin:25px 0;

    flex-wrap:wrap;

}


/*======================================
REMEMBER
======================================*/

.remember-me{

    display:flex;

    align-items:center;

    gap:10px;

    color:#cbd5e1;

    cursor:pointer;

    font-size:.9rem;

}

.remember-me input{

    width:18px;

    height:18px;

    accent-color:#2563eb;

}


/*======================================
FORGOT PASSWORD
======================================*/

.auth-options a{

    color:#60a5fa;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.auth-options a:hover{

    color:#fff;

}


/*======================================
PRIMARY BUTTON
======================================*/

.auth-form .btn{

    width:100%;

    height:58px;

    border:none;

    border-radius:18px;

    background:linear-gradient(135deg,#2563eb,#1d4ed8);

    color:#fff;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:.3s ease;

}

.auth-form .btn:hover{

    transform:translateY(-3px);

    box-shadow:0 18px 35px rgba(37,99,235,.35);

}

.auth-form .btn:active{

    transform:scale(.98);

}


/*======================================
BUTTON LOADING
======================================*/

.auth-form .btn.loading{

    pointer-events:none;

    opacity:.75;

}


/*======================================
INPUT ERROR
======================================*/

.input-box.error{

    border-color:#ef4444;

}

.input-box.success{

    border-color:#22c55e;

}


/*======================================
DESKTOP
======================================*/

@media(min-width:1200px){

    .input-box input{

        font-size:16px;

    }

}


/*======================================
TABLET
======================================*/

@media(max-width:768px){

    .auth-options{

        flex-direction:column;

        align-items:flex-start;

    }

}


/*======================================
PHONE
======================================*/

@media(max-width:480px){

    .input-box{

        border-radius:16px;

    }

    .input-box input{

        height:54px;

        font-size:14px;

    }

    .toggle-password{

        height:54px;

    }

    .auth-form .btn{

        height:54px;

        border-radius:16px;

    }

}

/*======================================
EIVOX AUTH CSS
PART 3
SOCIAL • ALERTS • FOOTER • ANIMATION
======================================*/


/*======================================
DIVIDER
======================================*/

.auth-divider{

    width:100%;

    max-width:560px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:16px;

    margin:28px 0;

    color:#94a3b8;

    font-size:.9rem;

}

.auth-divider::before,
.auth-divider::after{

    content:"";

    flex:1;

    height:1px;

    background:rgba(255,255,255,.08);

}


/*======================================
SOCIAL LOGIN
======================================*/

.social-login{

    width:100%;

    max-width:560px;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:16px;

}

.social-btn{

    height:58px;

    border:none;

    border-radius:18px;

    background:#111c30;

    border:1px solid rgba(255,255,255,.08);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    cursor:pointer;

    font-size:15px;

    font-weight:600;

    transition:.3s ease;

}

.social-btn:hover{

    transform:translateY(-3px);

    border-color:#3b82f6;

    background:#16243d;

}

.social-btn svg{

    width:22px;

    height:22px;

    color:#60a5fa;

}


/*======================================
AUTH FOOTER
======================================*/

.auth-footer{

    margin-top:30px;

    text-align:center;

    color:#cbd5e1;

    font-size:.95rem;

}

.auth-footer a{

    color:#60a5fa;

    text-decoration:none;

    font-weight:700;

    transition:.3s;

}

.auth-footer a:hover{

    color:#ffffff;

}


/*======================================
ALERT
======================================*/

.alert-box{

    position:fixed;

    top:20px;

    right:20px;

    min-width:320px;

    padding:16px 20px;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    color:#fff;

    box-shadow:0 20px 40px rgba(0,0,0,.35);

    animation:slideAlert .35s ease;

    z-index:99999;

}

.alert-box.success{

    background:#16a34a;

}

.alert-box.error{

    background:#dc2626;

}

.alert-box.warning{

    background:#d97706;

}

#alertClose{

    background:none;

    border:none;

    color:#fff;

    font-size:22px;

    cursor:pointer;

}


/*======================================
FADE UP
======================================*/

.fade-up{

    animation:fadeUp .6s ease both;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes slideAlert{

    from{

        opacity:0;

        transform:translateX(80px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}


/*======================================
RESPONSIVE
======================================*/

@media(max-width:768px){

    .social-login{

        grid-template-columns:1fr;

    }

    .social-btn{

        height:54px;

    }

    .alert-box{

        left:16px;

        right:16px;

        top:16px;

        min-width:auto;

    }

}

@media(max-width:480px){

    .auth-divider{

        gap:10px;

        font-size:.8rem;

    }

    .social-btn{

        border-radius:16px;

        font-size:14px;

    }

    .auth-footer{

        font-size:.9rem;

    }

}

.toggle-password{

    position:absolute;

    right:18px;

    top:50%;

    transform:translateY(-50%);

    width:40px;

    height:40px;

    border:none;

    background:transparent;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:18px;

    color:#94a3b8;

    z-index:10;

}

.input-box{

    position:relative;

}

.input-box input{

    padding-right:60px;

}

.auth-form{

    width:100%;

    max-width:520px;

    margin:0 auto;

}

.input-box{

    width:100%;

}

.input-box input{

    width:100%;

}

@media(max-width:768px){

    .auth-page{

        padding:25px 15px;

    }

    .auth-content{

        width:100%;

    }

    .auth-form{

        width:100%;

        padding:22px;

    }

    .auth-options{

        flex-direction:column;

        align-items:flex-start;

    }

}