/* ==========================================
   GOOGLE FONTS IMPORT
========================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ==========================================
   PAGE WRAPPER & BACKGROUND
========================================== */
.auth-page-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 170px 20px 100px;
    background: #04696D;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

/* ==========================================
   CARD CONTAINER
========================================== */
.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: #ffffff;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    text-align: center;
    box-sizing: border-box;
}

/* ==========================================
   BRAND & HEADINGS
========================================== */
.auth-brand {
    margin-bottom: 25px;
}

.auth-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(4, 105, 109, 0.2);
}

.auth-brand h2 {
    font-family: 'Noto Serif', serif;
    font-weight: 700;
    font-size: 34px;
    color: #04696D;
    margin: 0 0 10px;
}

.auth-brand p {
    color: #666;
    margin: 0;
    font-family: 'Noto Serif', serif;
    font-style: italic;
    font-size: 14.5px;
    line-height: 1.5;
}

/* ==========================================
   STATUS ALERTS
========================================== */
.auth-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.auth-alert.error {
    color: #c9302c;
    background: #fdf0ef;
    border: 1px solid #f8d7da;
}

.auth-alert.success {
    color: #087050;
    background: #eaf6f2;
    border: 1px solid #bfe3d5;
}

/* ==========================================
   FORM & INPUTS
========================================== */
.auth-form {
    text-align: left;
}

.auth-form-group {
    margin-bottom: 25px;
}

.auth-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #04696D;
    font-family: 'Noto Serif', serif;
    font-size: 14.5px;
}

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrap i {
    position: absolute;
    left: 16px;
    color: #8da2a3;
    font-size: 14px;
    pointer-events: none;
}

.input-icon-wrap input {
    width: 100%;
    padding: 15px 15px 15px 44px;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    outline: none;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.input-icon-wrap input:focus {
    border-color: #04696D;
}

/* ==========================================
   PRIMARY SUBMIT BUTTON
========================================== */
.auth-submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: #04696D;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Noto Serif', serif;
    letter-spacing: 0.3px;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.25s ease;
}

.auth-submit-btn:hover:not(:disabled) {
    background: #024E52;
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ==========================================
   FOOTER BACK BUTTON (MATCHES REGISTER / LOGIN ACTIONS)
========================================== */
.auth-footer-links {
    margin-top: 30px;
    text-align: center;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: #FFD27A;
    color: #04696D;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-family: 'Noto Serif', serif;
    font-size: 14px;
    letter-spacing: 0.2px;
    transition: 0.25s ease;
}

.auth-back-link:hover {
    background: #f7c35f;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 768px) {
    .auth-page-body {
        padding: 120px 20px 60px;
    }

    .auth-card {
        padding: 30px 20px;
    }

    .auth-brand h2 {
        font-size: 28px;
    }

    .auth-back-link {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }
}