/* --- AUTH_STYLES.CSS --- */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Move beneath navigation */
    margin-top: -85px; 
    padding-top: 100px;
    padding-bottom: 40px;
    /* Faded Dark B&W Background */
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)), 
                url('https://test.teacherfinancialvibes.com/wp-content/uploads/2025/09/teacher-presenting.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: var(--font-primary);
}

.auth-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: #ffffff;
    border: 1px solid #000; /* Defined sharp border */
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    max-width: 900px;
    width: 100%;
    border-radius: 0 !important; /* Sharp edges */
}

.auth-card {
    padding: 2.5rem;
    border-radius: 0 !important;
}

.login-card {
    background: #fff;
    border-right: 1px solid #eee;
}

.register-card {
    background: #1e2d3b; /* Deep slate neutral */
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-card h3 {
    color: #fff;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.register-card p {
    font-size: 0.8rem;
    color: #deffc7 !important;
    line-height: 1.5;
}

.auth-title {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.auth-subtitle {
    margin-bottom: 1.5rem;
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sharp Form Elements */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 4px;
}

.form-control {
    border-radius: 0 !important; /* Sharp */
    border: 1px solid #cbd5e1;
    padding: 8px 12px;
    font-size: 0.85rem;
    background: #fcfcfc;
    width: 100%;
}

.form-control:focus {
    border-color: #000;
    box-shadow: none;
    background: #fff;
}

.form-options {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    color: #64748b;
}

.forgot-link {
    color: var(--heading-color);
    text-decoration: underline;
}

/* Sharp Buttons */
.btn-primary {
    background: #0f172a;
    border: 1px solid #0f172a;
    color: #fff;
    padding: 10px;
    border-radius: 0 !important;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #fff;
    color: #0f172a;
}

.btn-accent {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px;
    border-radius: 0 !important;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: 1rem;
}

.btn-accent:hover {
    background: #fff;
    color: #1e293b;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #94a3b8;
}

.divider span {
    background: white;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

.divider::before {
    content: "";
    position: absolute;
    height: 1px;
    width: 100%;
    background: #eee;
    top: 50%;
    left: 0;
}

/* Oauth Specifics */
.social-login {
    display: flex;
    gap: 10px;
}

.social {
    flex: 1;
    text-align: center;
    padding: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 0 !important;
    font-size: 0.75rem;
    color: #0f172a;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

.social:hover {
    background: #f8fafc;
    border-color: #0f172a;
}

/* Colored Icons Only */
.social i.fa-google { color: #DB4437; }
.social i.fa-facebook-f { color: #1877F2; }

.terms-box {
    font-size: 0.7rem;
    margin-bottom: 1rem;
    color: #94a3b8;
}

.terms-box a { color: #fff; text-decoration: underline; }


/* Registration Page Specifics */
.register-focus {
    grid-template-columns: 0.8fr 1.2fr; /* Flip ratio for form emphasis */
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.benefit-list li {
    font-size: 0.75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.benefit-list i {
    color: #36C95F; /* Keep one subtle success color for icons */
    font-size: 1.1rem;
}

/* Ensure the dark side stays dark and serious */
.register-card {
    background: #0f172a !important; 
    border-right: 1px solid #334155;
}

/*=========================================
MODAL STYLES 
==============================================*/

/* === COMPACT PROFESSIONAL MODAL === */

.modal-dialog {
    margin: 0.75rem auto;
}

.modal-content {
    border-radius: 0;
    border: 2px solid #000;
    background: #fff;
    font-size: 0.85rem; /* shrink overall text */
}

.modal-header {
    background: #2d3f69;
    color: #fff;
    border-radius: 0;
    border: none;
    padding: 0.6rem 1rem; /* tighter header */
}

.modal-title {
    font-size: 0.9rem;
    margin: 0;
    letter-spacing: 0.5px;
}

.modal-body {
    padding: 1rem 1.25rem !important;
    max-height: 75vh;  /* allow more vertical use */
    overflow-y: auto;
}

.modal-footer {
    padding: 0.6rem 1rem;
}

.is-invalid {
    border-color: #dc3545 !important;
    background-color: #fff8f8 !important;
}

/* Section labels */
.discover-section-label { 
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: 0.6px;
}

/* Each step spacing */
.discovery-step { 
    margin-bottom: 1rem;
}

/* Radio tile layout */
.radio-tile-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.radio-tile-group label {
    display: block;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 0.8rem;
    margin: 0;
}

.radio-tile-group label:hover {
    background: #f1f5f9;
    border-color: #000;
}

.radio-tile-group input:checked + span {
    font-weight: 700;
    color: #000;
}

/* Form fields */
.form-select, 
.form-control {
    border-radius: 0 !important;
    font-size: 0.85rem;
    padding: 0.35rem 0.5rem;
}

/* Small field labels */
.x-small {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    margin-bottom: 2px !important;
}

/*====================================================
Dashboard Page Specifics
======================================================*/

    .site-header { 
    padding: 6px 0 !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15) !important;
    position: sticky !important;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.site-header .main-nav a {
    font-size: 14px !important;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.site-header .site-logo img {
    transform: scale(0.75) !important;
    transform-origin: left center;
}

    /* ... Your existing desktop styles ... */
    .dash-wrapper { min-height: 100vh; background: #f8fafc; padding-top: 120px; margin-top: -85px; }
    .dash-grid { display: grid; grid-template-columns: 250px 1fr; gap: 30px; }
    
    .dash-sidebar { background: #0f172a; color: #fff; padding: 30px; border: 1px solid #000; height:fit-content; }
    .dash-nav { list-style: none; padding: 0; }
    .dash-nav li { margin-bottom: 12px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }
    .dash-nav a { color: #94a3b8; text-decoration: none; transition: 0.2s; }
    .dash-nav a:hover, .dash-nav a.active { color: #fff; border-left: 2px solid #36C95F; padding-left: 10px; }

    .dash-card { background: #fff; border: 1px solid #e2e8f0; padding: 25px; margin-bottom: 25px; border-radius: 0; }
    .dash-card h5 { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #0f172a; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 20px; }
    
    .info-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f8fafc; font-size: 0.8rem; }
    .info-label { color: #64748b; font-weight: 600; text-transform: uppercase; font-size: 0.7rem; }
    .info-value { color: #0f172a; font-weight: 700; }

    .snapshot-box { background: #fcfdfd; border: 1px solid #e2e8f0; padding: 15px; }
    .data-row { display: flex; justify-content: space-between; border-bottom: 1px solid #f1f5f9; padding: 6px 0; font-size: 0.8rem; }
    .data-label { color: #64748b; text-transform: uppercase; font-size: 0.65rem; font-weight: 700; }
    .data-value { color: #0f172a; font-weight: 700; }

    .badge-tier { background: #0f172a; color: #fff; padding: 3px 10px; font-size: 0.65rem; text-transform: uppercase; font-weight: 800; }

    /* ========================================= */
    /* RESPONSIVE ADJUSTMENTS                    */
    /* ========================================= */
    @media (max-width: 991px) {
        .dash-wrapper { padding-top: 100px; }
        
        /* 1. Change Grid to Single Column */
        .dash-grid { 
            grid-template-columns: 1fr; 
            gap: 20px;
        }

        /* 2. Hide Sidebar (Rely on Main Header Toggler) */
        .dash-sidebar { 
            display: none; 
        }

        /* 3. Stack internal Snapshot rows */
        .snapshot-box .row > div {
            border-left: none !important;
            padding-left: 12px !important;
            margin-top: 15px;
        }
        
        /* 4. Ensure Header elements wrap nicely */
        .auth-title { font-size: 1.2rem; }
        
        /* 5. Space out stacked cards */
        .col-md-6, .col-md-4, .col-md-8 {
            margin-bottom: 15px;
        }
    }
