/* ==========================================================
   AUTHENTICATION
   Login | Register | Forgot Password | Reset Password
   PV Thorat
========================================================== */

/* ==========================================================
   AUTH PAGE
========================================================== */

body.auth-page{
    background:#f5f7fb;
    min-height:100vh;
}

.auth-wrapper{
    width:100%;
    max-width:480px;
    margin:60px auto;
    padding:20px;
}

/* ==========================================================
   LOGO
========================================================== */

.auth-logo{
    text-align:center;
    margin-bottom:24px;
}

.auth-logo img{
    width:90px;
    height:auto;
    transition:.3s;
}

.auth-logo img:hover{
    transform:scale(1.04);
}

/* ==========================================================
   CARD
========================================================== */

.auth-card{

    background:#ffffff;

    border:1px solid #edf1f5;

    border-radius:18px;

    padding:36px;

    box-shadow:
        0 10px 35px rgba(0,0,0,.06);

    overflow:hidden;

    position:relative;

}

/* ==========================================================
   TITLE
========================================================== */

.auth-title{

    font-size:28px;

    font-weight:700;

    color:#222;

    text-align:center;

    margin-bottom:6px;

}

.auth-subtitle{

    text-align:center;

    color:#6c757d;

    font-size:15px;

    margin-bottom:28px;

}

/* ==========================================================
   LOGIN / REGISTER TAB
========================================================== */

.auth-tabs{

    display:flex;

    margin-bottom:30px;

    border-radius:12px;

    overflow:hidden;

    border:1px solid #dee2e6;

    background:#fff;

}

.auth-tabs a{

    flex:1;

    text-align:center;

    padding:13px;

    text-decoration:none;

    font-weight:600;

    color:#495057;

    transition:.25s;

}

.auth-tabs a:hover{

    background:#f5f7fb;

}

.auth-tabs a.active{

    background:var(--color-primary,#0d6efd);

    color:#fff;

}

/* ==========================================================
   FORM
========================================================== */

.auth-form{

    margin-top:15px;

}

.auth-form .form-floating{

    margin-bottom:18px;

}

.auth-form .form-control{

    border-radius:12px;

    border:1px solid #dce3ea;

    height:58px;

    box-shadow:none;

    background:#fff;

    transition:.25s;

}

.auth-form textarea.form-control{

    height:auto;

}

.auth-form .form-control:focus{

    border-color:var(--color-primary,#0d6efd);

    box-shadow:0 0 0 .15rem rgba(13,110,253,.12);

}

.auth-form .form-floating label{

    color:#6c757d;

}

/* ==========================================================
   PASSWORD BUTTON
========================================================== */

.password-wrapper{

    position:relative;

}

.password-toggle{

    position:absolute;

    right:14px;

    top:50%;

    transform:translateY(-50%);

    border:none;

    background:none;

    color:#777;

    cursor:pointer;

    z-index:20;

    padding:0;

}

.password-toggle:hover{

    color:var(--color-primary,#0d6efd);

}

/* ==========================================================
   PASSWORD STRENGTH
========================================================== */

.password-strength{

    margin-top:-8px;

    margin-bottom:18px;

}

.password-strength .bar{

    width:100%;

    height:6px;

    border-radius:100px;

    background:#eceff3;

    overflow:hidden;

}

.password-strength .progress{

    width:0;

    height:100%;

    border-radius:100px;

    transition:.3s;

    background:#dc3545;

}

.password-strength small{

    display:block;

    margin-top:6px;

    color:#6c757d;

}

/* ==========================================================
   CHECKBOX
========================================================== */

.auth-check{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:20px;

}

.auth-check .form-check{

    margin:0;

}

.auth-check a{

    font-size:.9rem;

}

/* ==========================================================
   BUTTON
========================================================== */

.btn-auth{

    width:100%;

    height:50px;

    border-radius:12px;

    font-weight:600;

    font-size:16px;

    transition:.25s;

}

.btn-auth:hover{

    transform:translateY(-1px);

}

/* ==========================================================
   DIVIDER
========================================================== */

.auth-divider{

    display:flex;

    align-items:center;

    margin:24px 0;

}

.auth-divider::before,
.auth-divider::after{

    content:"";

    flex:1;

    height:1px;

    background:#e5e8ec;

}

.auth-divider span{

    padding:0 14px;

    color:#6c757d;

    font-size:14px;

}

/* ==========================================================
   FOOTER
========================================================== */

.auth-footer{

    text-align:center;

    margin-top:24px;

    font-size:.95rem;

}

.auth-footer a{

    font-weight:600;

    text-decoration:none;

}

.auth-footer a:hover{

    text-decoration:underline;

}

.auth-policy{

    text-align:center;

    margin-top:20px;

    font-size:13px;

    color:#6c757d;

}

.auth-policy a{

    text-decoration:none;

}

/* ==========================================================
   ALERTS
========================================================== */

.auth-card .alert{

    border-radius:10px;

    margin-bottom:22px;

}

/* ==========================================================
   INVALID
========================================================== */

.invalid-feedback{

    display:block;

    font-size:13px;

}

/* ==========================================================
   LOADING BUTTON
========================================================== */

.btn-auth:disabled{

    opacity:.85;

    cursor:not-allowed;

}

/* ==========================================================
   ANIMATION
========================================================== */

.auth-card{

    animation:authFade .35s ease;

}

@keyframes authFade{

    from{

        opacity:0;

        transform:translateY(18px);

    }

    to{

        opacity:1;

        transform:none;

    }

}
/* ==========================================================
   AUTH PARTIALS
========================================================== */

.auth-logo{

    text-align:center;

    margin-bottom:24px;

}

.auth-logo a{

    display:inline-block;

}

.auth-logo img{

    width:110px;

    max-width:100%;

    height:auto;

    transition:.25s ease;

}

.auth-logo img:hover{

    transform:scale(1.04);

}

.auth-footer{

    margin-top:28px;

    text-align:center;

    font-size:.95rem;

}

.auth-footer a{

    text-decoration:none;

    font-weight:600;

    margin-left:6px;

}

.auth-policy{

    margin-top:20px;

    text-align:center;

    color:#6c757d;

    font-size:13px;

    line-height:1.7;

}

.auth-policy a{

    text-decoration:none;

    font-weight:600;

}

.auth-divider{

    display:flex;

    align-items:center;

    margin:24px 0;

}

.auth-divider::before,
.auth-divider::after{

    content:"";

    flex:1;

    height:1px;

    background:#dee2e6;

}

.auth-divider span{

    padding:0 15px;

    font-size:13px;

    color:#6c757d;

}

/* ==========================================================
   COMPONENTS
========================================================== */

.btn-auth{

    width:100%;

    height:52px;

    border-radius:12px;

    font-weight:600;

    font-size:16px;

}

.btn-auth i{

    font-size:15px;

}

.form-check{

    display:flex;

    align-items:flex-start;

    gap:10px;

}

.form-check-input{

    margin-top:4px;

}

.input-group-text{

    background:#fff;

    border-right:0;

}

.input-group .form-control{

    border-left:0;

}

.alert{

    border-radius:12px;

}

.spinner-border{

    width:2.2rem;

    height:2.2rem;

}

/* ==========================================================
   REGISTER PAGE
========================================================== */

.auth-form .row{

    margin-bottom:0;

}

.auth-form .col-md-6{

    margin-bottom:0;

}

.password-strength{

    margin-top:8px;

}

.password-strength .bar{

    height:6px;

    border-radius:10px;

    overflow:hidden;

    background:#e9ecef;

}

.password-strength .progress{

    height:100%;

    width:0;

    transition:all .3s ease;

}

#passwordStrengthText{

    display:block;

    margin-top:6px;

    font-size:13px;

    color:#6c757d;

}
/*==========================================================
LOGIN PAGE
==========================================================*/

.auth-check{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:24px;

}

.auth-check a{

    text-decoration:none;

    font-size:.9rem;

}

.auth-check a:hover{

    text-decoration:underline;

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:576px){

    .auth-wrapper{

        margin:20px auto;

        padding:12px;

    }

    .auth-card{

        padding:24px;

        border-radius:14px;

    }

    .auth-title{

        font-size:24px;

    }

    .auth-logo img{

        width:75px;

    }

    .auth-tabs a{

        padding:11px;

        font-size:14px;

    }

}