/* ==========================================
   PASSWORD RESET / AUTH
========================================== */

.auth-page {

    min-height: calc(100vh - 80px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px 15px;

    background: #f4f6f8;

}


/* ==========================================
   AUTH CARD
========================================== */

.auth-card {

    width: 100%;

    max-width: 460px;

    background: #ffffff;

    padding: 35px;

    border-radius: 16px;

    border: 1px solid #e5e7eb;

    box-shadow:
            0 10px 30px rgba(0,0,0,.08);

}


/* ==========================================
   HEADER
========================================== */

.auth-header {

    text-align: center;

    margin-bottom: 28px;

}

.auth-header img {

    display: block;

    margin: 0 auto 18px;

    max-width: 145px;

    max-height: 70px;

    object-fit: contain;

}

.auth-header h2 {

    margin: 0 0 8px;

    color: #1f2937;

    font-size: 25px;

    font-weight: 700;

}

.auth-header p {

    margin: 0;

    color: #6b7280;

    font-size: 14px;

    line-height: 1.6;

}


/* ==========================================
   ICON
========================================== */

.auth-icon {

    width: 64px;

    height: 64px;

    margin: 0 auto 18px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #e6f4f1;

    color: #075e54;

    font-size: 27px;

}


/* ==========================================
   FORM
========================================== */

.auth-card .form-group {

    margin-bottom: 20px;

}

.auth-card label {

    display: block;

    margin-bottom: 7px;

    color: #374151;

    font-size: 14px;

    font-weight: 600;

}


/* ==========================================
   INPUT
========================================== */

.auth-card .form-control {

    width: 100%;

    box-sizing: border-box;

    height: 46px;

    padding: 0 14px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    background: #ffffff;

    color: #1f2937;

    font-size: 15px;

    outline: none;

    transition:
            border-color .2s ease,
            box-shadow .2s ease;

}

.auth-card .form-control:focus {

    border-color: #00a884;

    box-shadow:
            0 0 0 3px rgba(0,168,132,.12);

}

.auth-card .form-control::placeholder {

    color: #9ca3af;

}


/* ==========================================
   PASSWORD FIELD
========================================== */

.password-field {

    position: relative;

}

.password-field .form-control {

    padding-right: 45px;

}

.password-toggle {

    position: absolute;

    right: 12px;

    top: 50%;

    transform: translateY(-50%);

    border: none;

    background: transparent;

    color: #6b7280;

    cursor: pointer;

    padding: 5px;

}

.password-toggle:hover {

    color: #075e54;

}


/* ==========================================
   SUBMIT BUTTON
========================================== */

.auth-card .btn-primary {

    width: 100%;

    min-height: 46px;

    border: none;

    border-radius: 8px;

    background: #075e54;

    color: #ffffff;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition:
            background .2s ease,
            transform .1s ease;

}

.auth-card .btn-primary:hover {

    background: #064e46;

}

.auth-card .btn-primary:active {

    transform: scale(.98);

}


/* ==========================================
   BACK TO LOGIN
========================================== */

.auth-back {

    margin-top: 22px;

    text-align: center;

}

.auth-back a {

    color: #075e54;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

}

.auth-back a:hover {

    text-decoration: underline;

}


/* ==========================================
   PASSWORD REQUIREMENTS
========================================== */

.password-requirements {

    margin-top: 8px;

    padding: 10px 12px;

    border-radius: 7px;

    background: #f8fafc;

    border: 1px solid #e5e7eb;

    color: #6b7280;

    font-size: 12px;

    line-height: 1.6;

}


/* ==========================================
   ALERT
========================================== */

.auth-alert {

    padding: 12px 14px;

    margin-bottom: 20px;

    border-radius: 8px;

    font-size: 14px;

    line-height: 1.5;

}

.auth-alert.error {

    background: #fef2f2;

    border: 1px solid #fecaca;

    color: #b91c1c;

}

.auth-alert.success {

    background: #ecfdf5;

    border: 1px solid #a7f3d0;

    color: #047857;

}


/* ==========================================
   RESET LINK EXPIRED
========================================== */

.reset-expired {

    text-align: center;

    padding: 20px 0;

}

.reset-expired-icon {

    width: 65px;

    height: 65px;

    margin: 0 auto 15px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #fef2f2;

    color: #dc2626;

    font-size: 27px;

}

.reset-expired h3 {

    margin: 0 0 8px;

    color: #1f2937;

}

.reset-expired p {

    color: #6b7280;

    font-size: 14px;

    line-height: 1.6;

}


/* ==========================================
   SUCCESS
========================================== */

.reset-success {

    text-align: center;

    padding: 15px 0;

}

.reset-success-icon {

    width: 65px;

    height: 65px;

    margin: 0 auto 18px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #ecfdf5;

    color: #059669;

    font-size: 28px;

}

.reset-success h3 {

    margin: 0 0 10px;

    color: #1f2937;

}

.reset-success p {

    color: #6b7280;

    font-size: 14px;

    line-height: 1.6;

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    .auth-page {

        min-height: 100vh;

        padding: 15px;

    }

    .auth-card {

        padding: 25px 20px;

        border-radius: 12px;

        box-shadow:
                0 5px 20px rgba(0,0,0,.06);

    }

    .auth-header h2 {

        font-size: 22px;

    }

    .auth-header img {

        max-width: 125px;

    }

}