/**
 * Azarias Books - Signup Page Styles
 */

/* WRAPPER */
.auth-container {
    /* 100px converted to 12px baseline */
    padding-top: 8.3333rem;
    padding-bottom: 8.3333rem;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* --- FIX: ANCHOR OFFSET FOR ANY JUMP LINKS --- */
/* Ensures jump-to-section links clear the sticky header perfectly. */
.auth-container [id] {
    scroll-margin-top: 10rem;
}

/* CARD */
.auth-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.08); /* Kept strict px */
    border-radius: 8px; /* Kept strict px */
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Kept strict px */
}

.auth-title {
    font-family: 'Merriweather', serif;
    color: var(--az-navy);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* FORMS */
.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    /* 0.5px converted */
    letter-spacing: 0.0417rem;
}

.form-control, .form-select {
    border-radius: 4px; /* Kept strict px */
    /* 10px 15px converted */
    padding: 0.8333rem 1.25rem;
    border: 1px solid #ced4da; /* Kept strict px */
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--az-navy);
    box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.1); /* Kept strict px */
    outline: none;
}

/* SECTION DIVIDERS */
.form-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    /* 1px converted */
    letter-spacing: 0.0833rem;
    color: var(--az-bronze);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee; /* Kept strict px */
    /* 5px converted */
    padding-bottom: 0.4167rem;
}

/* ALERTS & BOXES */
.general-error-box {
    display: block;
    background-color: #ffe6e6;
    color: #b02a37;
    border: 1px solid #f1aeb5; /* Kept strict px */
    /* 12px converted */
    padding: 1rem;
    border-radius: 6px; /* Kept strict px */
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    animation: fadeIn 0.3s;
}

.validation-error {
    color: #dc3545;
    font-size: 0.8rem;
    /* 4px converted */
    margin-top: 0.3333rem;
    display: none;
    font-weight: 600;
}

.recommendation-box {
    background-color: #f8f9fa;
    border-left: 3px solid var(--az-navy); /* Kept strict px */
    /* 10px converted */
    padding: 0.8333rem;
    font-size: 0.8rem;
    color: #4b5563;
    /* 8px converted */
    margin-top: 0.6667rem;
    border-radius: 0 4px 4px 0; /* Kept strict px */
}

/* BUTTONS & LINKS */
.btn-az-gold {
    background-color: var(--az-navy);
    color: var(--az-bronze);
    font-weight: 700;
    border: 1px solid var(--az-navy); /* Kept strict px */
    transition: all 0.2s;
    text-transform: uppercase;
    font-size: 0.9rem;
    /* 0.5px converted */
    letter-spacing: 0.0417rem;
}

.btn-az-gold:hover {
    background-color: #0a2d47;
    color: white;
    border-color: #0a2d47;
    transform: translateY(-1px); /* Kept strict px for crisp transform */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Kept strict px */
}

.login-link {
    color: var(--az-navy);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.login-link:hover {
    color: var(--az-bronze);
    text-decoration: underline;
}

/* VALIDATION STATES */
.is-invalid {
    border-color: #dc3545 !important;
    background-image: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); } /* Kept strict px */
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE OFFSET ADJUSTMENT --- */
@media (max-width: 991px) {
    .auth-container [id] {
        /* Clear the taller mobile search-row header */
        scroll-margin-top: 15rem;
    }
}
