/* auth-style.css */

/* --- 1. Base Setup --- */
.auth-wrapper {
    background-color: #0a1f44; 
    min-height: 100vh;
    padding: 200px 15px 50px; /* Padding on sides for mobile safety */
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.auth-card {
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    border-radius: 12px;
    padding: 0 0 25px 0 !important; 
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden; 
    display: none;
    animation: authFadeUp 0.4s ease;
}


/* Add this to your existing auth-style.css */
.format-hint {
    font-size: 0.75rem;
    color: #7a8ba0;
    margin-top: -12px;
    margin-bottom: 12px;
    display: block;
    font-weight: 500;
}


.show-active { display: block !important; }

/* --- 2. Top Banner --- */
.top-banner {
    background-color: #0a1f44; 
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 4px solid #3498db; 
}

.top-banner h5 { 
    font-weight: 700; color: #ffffff !important; 
    margin-bottom: 8px; font-size: 1.5rem;
    text-transform: uppercase;
}

.top-banner p { font-size: 0.9rem; color: #aeb9cc; margin-bottom: 0; }

.form-content-inner { padding: 0 35px; }

/* --- 3. Buttons & Controls --- */
.btn-box {
    display: flex; gap: 10px; margin-bottom: 25px;
    background: #f1f4f9; padding: 5px; border-radius: 8px;
}

.btn-box button {
    flex: 1; padding: 11px 0; font-weight: 700;
    border-radius: 6px; border: none; cursor: pointer;
}

.btn-box button.active { background-color: #0a1f44; color: #ffffff; }
.btn-box button.inactive { background-color: #e0f2fe; color: #0a1f44; }

label { font-weight: 700; color: #0a1f44; font-size: 0.85rem; margin-bottom: 5px !important; display: block; }

.form-control {
    height: 45px !important; margin-bottom: 14px !important;
    border-radius: 6px; border: 1px solid #ced4da; width: 100%;
}

.submit-btn {
    width: 100%; padding: 14px; border-radius: 6px;
    background-color: #0a1f44; color: #ffffff;
    font-weight: 700; border: none; cursor: pointer; text-transform: uppercase;
}

.links { display: flex; justify-content: flex-end; margin-top: -8px; margin-bottom: 20px; }
.links a { font-size: 0.85rem; font-weight: 700; color: #3498db; text-decoration: none; }

/* --- 4. MOBILE RESPONSIVE QUERIES --- */

/* Tablets and Desktops */
@media (min-width: 768px) {
    .row { display: flex; gap: 15px; }
    .col-6 { flex: 1; }
}

/* Mobile Phones (Max width 767px) */
@media (max-width: 767px) {
    .auth-wrapper {
        padding-top: 50px; /* Less space at top for phones */
    }

    .form-content-inner {
        padding: 0 20px; /* Reduce side padding for more form space */
    }

    .top-banner h5 {
        font-size: 1.2rem; /* Smaller title on phones */
    }

    /* IMPORTANT: This forces First Name/Last Name to stack vertically on mobile */
    .row {
        display: block !important; 
    }
    
    .col-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .btn-box button {
        font-size: 0.8rem; /* Fit text on small screens */
    }
}

@keyframes authFadeUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }