/*
File: assets/css/styles.css
Date: 16-08-2025 12:00 UTC
Summary: Complete Tutor Link Platform Stylesheet - All PHP files included
Combines JAMit Solutions professional design with Tutor Link platform features
Enhanced conversion design with fixed header heights and comprehensive PHP coverage
*/

/**
 * TUTOR LINK - COMPLETE PLATFORM STYLESHEET
 * File: /assets/css/styles.css
 * Created: 2025-08-16 12:00:00
 * Mobile-First Design with WCAG 2.1 AA Compliance and Enhanced Conversion
 * Covers: index.php, login.php, register.php, dashboard.php, profile.php, admin pages, and all components
 */

/* ========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
======================================== */
:root {
    /* Color Palette - WCAG AA Compliant */
    --primary-color: #2563eb;      /* Contrast ratio: 4.5:1 */
    --primary-light: #dbeafe;
    --primary-dark: #1d4ed8;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;    /* Contrast ratio: 12.63:1 */
    --secondary-hover: #475569;
    --secondary-light: #f1f5f9;
    --accent-color: #059669;       /* Contrast ratio: 4.6:1 */
    --warning-color: #f59e0b;
    --warning-light: #fef3c7;
    --warning-dark: #92400e;
    --danger-color: #ef4444;
    --danger-light: #fecaca;
    --danger-dark: #991b1b;
    --success-color: #10b981;
    --success-light: #d1fae5;
    --success-dark: #047857;
    --info-color: #3b82f6;
    --info-light: #dbeafe;
    --info-dark: #1e40af;
    
    /* Grayscale */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Platform-specific colors */
    --light-bg: #f8fafc;
    --lighter-bg: #f1f5f9;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-dark: #0f172a;
    
    /* Typography */
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family: var(--font-family-primary);
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 1.875rem;    /* 30px */
    --font-size-4xl: 2.25rem;     /* 36px */
    --font-size-5xl: 3rem;        /* 48px */
    
    /* Spacing */
    --spacing-1: 0.25rem;         /* 4px */
    --spacing-2: 0.5rem;          /* 8px */
    --spacing-3: 0.75rem;         /* 12px */
    --spacing-4: 1rem;            /* 16px */
    --spacing-5: 1.25rem;         /* 20px */
    --spacing-6: 1.5rem;          /* 24px */
    --spacing-8: 2rem;            /* 32px */
    --spacing-10: 2.5rem;         /* 40px */
    --spacing-12: 3rem;           /* 48px */
    --spacing-16: 4rem;           /* 64px */
    --spacing-20: 5rem;           /* 80px */
    --spacing-24: 6rem;           /* 96px */
    
    /* Layout - FIXED header heights */
    --container-max-width: 1200px;
    --container-padding: 1rem;
    --mobile-header-height: 120px;  /* Mobile header */
    --desktop-header-height: 160px; /* FIXED: Maximum 160px for desktop */
    --sidebar-width: 250px;
    
    /* Borders */
    --border-radius: 0.375rem;     /* 6px */
    --border-radius-sm: 0.25rem;
    --border-radius-lg: 0.75rem;   /* 12px */
    --border-radius-xl: 1rem;      /* 16px */
    --border-radius-2xl: 1.5rem;
    --border-radius-full: 9999px;
    
    /* Shadows */
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --transition: all 0.2s ease-in-out;
    --transition-slow: all 0.3s ease-in-out;
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ========================================
   RESET & BASE STYLES
======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    height: 100%;
    line-height: 1.6;
}

/* Focus Management for WCAG Compliance */
html:focus-within {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    min-height: 44px; /* WCAG minimum touch target */
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control,
textarea {
    min-height: 120px;
    resize: vertical;
}

.form-error {
    color: var(--danger-color);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-1);
    display: block;
}

.form-help {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-1);
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4);
}

.form-row-thirds {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-4);
}

@media (max-width: 768px) {
    .form-row,
    .form-row-thirds {
        grid-template-columns: 1fr;
    }
}

/* Input Groups */
.input-group {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-prefix,
.input-suffix {
    padding: var(--spacing-3) var(--spacing-4);
    background: var(--border-light);
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.input-group input {
    border: none;
    flex: 1;
    min-width: 0;
    margin: 0;
}

.input-group input:focus {
    box-shadow: none;
    z-index: 2;
    position: relative;
}

@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }
    
    .input-group .btn {
        margin-top: var(--spacing-2);
        margin-left: 0;
    }
}

/* Checkbox Groups */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-4);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-4);
    background: var(--light-bg);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.checkbox-label:hover {
    background: var(--white);
    border-color: var(--border-color);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-label span {
    font-size: var(--font-size-base);
    color: var(--text-color);
    transition: color 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

/* Remember Me Checkbox */
.remember-me {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-6);
}

.remember-me input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin-right: var(--spacing-2);
}

.remember-me label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
}

/* ========================================
   REGISTRATION & LOGIN FORMS
======================================== */
.registration-form,
.login-form,
.verification-form {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.login-page {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--lighter-bg) 100%);
}

.login-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.login-form {
    width: 100%;
    max-width: 450px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin: 0 1rem;
}

.form-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.form-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.form-header h1 {
    color: var(--white);
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.form-header p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.form-body {
    padding: 2rem;
}

.form-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.form-footer p {
    color: var(--text-muted);
    margin: 0;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

.login-links {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.register-options {
    display: flex;
    gap: var(--spacing-4);
    margin-top: var(--spacing-4);
}

@media (max-width: 768px) {
    .register-options {
        flex-direction: column;
    }
    
    .login-form {
        margin: 0 0.5rem;
    }
}

/* Type Selection */
.type-selector,
.type-selection {
    display: flex;
    gap: var(--spacing-4);
    margin-bottom: 2rem;
}

.type-option {
    flex: 1;
    padding: var(--spacing-6);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    background: var(--white);
}

.type-option:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.type-option.active {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.type-option.active::before {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.type-option h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
    font-size: var(--font-size-lg);
}

.type-option p {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.type-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-4);
}

.type-info h4 {
    margin-bottom: var(--spacing-2);
}

@media (max-width: 768px) {
    .type-selector,
    .type-selection {
        flex-direction: column;
    }
    
    .type-option {
        padding: var(--spacing-4);
    }
    
    .type-option.active::before {
        top: 8px;
        right: 12px;
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
}

/* ========================================
   SUBJECTS SELECTION
======================================== */
.subjects-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2);
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: var(--spacing-4);
    background: var(--light-bg);
}

.subject-checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-3);
    padding: var(--spacing-3);
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

.subject-checkbox-item:hover {
    background: var(--white);
}

.subject-checkbox-item.selected {
    background: var(--primary-light);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.subject-checkbox {
    margin: 0;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.subject-label {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-1);
    flex: 1;
}

.subject-name {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.subject-level {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

@media (max-width: 768px) {
    .subjects-checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   PROFILE WIZARD
======================================== */
.profile-wizard {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.profile-wizard-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
}

.profile-wizard-container .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.profile-wizard-container h1 {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-align: center;
}

.wizard-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
}

.wizard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.wizard-header h1 {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* Progress Bar */
.progress-container {
    position: relative;
    z-index: 1;
    margin: 1.5rem 0;
}

.step-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 1.5rem 0;
}

.step-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
    z-index: 1;
}

.step-progress-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.9));
    transform: translateY(-50%);
    z-index: 2;
    transition: width 0.5s ease-in-out;
    border-radius: 2px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    min-width: 80px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.step-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.step-item.active .step-number {
    background: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.step-item.active .step-name {
    color: #ffffff;
    font-weight: 700;
}

.step-item.completed .step-number {
    background: #ffffff;
    color: var(--success-color);
    border-color: #ffffff;
}

.step-item.completed .step-number::after {
    content: '✓';
    font-size: 1.4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.step-item.completed .step-name {
    color: #ffffff;
    font-weight: 600;
}

.progress-text {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
    margin-top: 1rem;
}

/* Wizard Content */
.wizard-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
}

.step-content {
    padding: 2.5rem;
}

.step-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-light);
}

.step-header h2 {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.step-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section h3 {
    margin: 0 0 1.5rem 0;
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Wizard Navigation */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
}

.nav-center {
    display: flex;
    align-items: center;
}

/* Bio Counter */
.bio-counter {
    font-weight: 600;
}

.bio-valid {
    color: var(--success-color);
}

.bio-invalid {
    color: var(--danger-color);
}

@media (max-width: 768px) {
    .profile-wizard {
        padding: 1rem 0.5rem;
    }
    
    .wizard-header {
        padding: 1.5rem;
    }
    
    .wizard-header h1 {
        font-size: 1.5rem;
    }
    
    .step-progress {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .step-progress::before {
        display: none;
    }
    
    .step-item {
        min-width: auto;
        flex: 0 0 auto;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .step-name {
        font-size: 0.75rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .wizard-navigation {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .nav-center {
        order: -1;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   HORIZONTAL PROGRESS BAR
======================================== */
.horizontal-progress-bar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem 1rem;
    margin: 2rem 0;
    position: relative;
}

.progress-circles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 1rem;
}

.progress-circles::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #e5e7eb 0%, #e5e7eb 100%);
    z-index: 1;
    transform: translateY(-50%);
}

.progress-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 3px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #6b7280;
}

.progress-circle.completed {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.progress-circle.completed::after {
    content: '✓';
    position: absolute;
    font-size: 24px;
    font-weight: bold;
}

.circle-label {
    font-size: 12px;
    font-weight: 600;
    color: inherit;
}

.circle-number {
    font-size: 18px;
    font-weight: bold;
    color: inherit;
}

.progress-circle.completed .circle-label,
.progress-circle.completed .circle-number {
    display: none;
}

/* Step Labels */
.step-labels {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 1.5rem 0;
    padding: 0 1rem;
}

.step-label {
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #f9fafb;
    border-left: 4px solid #e5e7eb;
}

.step-label.completed {
    color: var(--success-color);
    background: #ecfdf5;
    border-left-color: var(--success-color);
    font-weight: 600;
}

/* Progress Info */
.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #e2e8f0;
}

.progress-text {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
}

.progress-percentage {
    font-size: 16px;
    font-weight: 700;
    color: var(--success-color);
}

@media (max-width: 768px) {
    .progress-circles {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .progress-circle {
        width: 50px;
        height: 50px;
        font-size: 14px;
    }
    
    .circle-number {
        font-size: 16px;
    }
    
    .circle-label {
        font-size: 10px;
    }
    
    .step-labels {
        font-size: 14px;
    }
    
    .progress-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .horizontal-progress-bar {
        padding: 1.5rem 0.5rem;
    }
    
    .progress-circles::before {
        display: none;
    }
    
    .progress-circles {
        flex-direction: column;
        gap: 15px;
    }
    
    .progress-circle {
        width: 40px;
        height: 40px;
    }
    
    .circle-number {
        font-size: 14px;
    }
}

/* ========================================
   HOMEPAGE STYLES
======================================== */
.home-page {
    background: var(--light-bg);
}

/* Hero Section - Enhanced */
.hero,
.hero-enhanced {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: var(--spacing-12) 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

@media (min-width: 768px) {
    .hero,
    .hero-enhanced {
        padding: var(--spacing-20) 0;
    }
}

.hero::before,
.hero-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content-wrapper {
    display: grid;
    gap: var(--spacing-12);
    grid-template-columns: 1fr;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-16);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p,
.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: white !important;
    font-weight: 400;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p,
    .hero-subtitle {
        font-size: 1rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-2) var(--spacing-4);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-full);
    margin-bottom: var(--spacing-6);
    backdrop-filter: blur(10px);
}

.badge-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--white);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-8);
    padding: var(--spacing-6);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-xl);
    backdrop-filter: blur(10px);
}

@media (max-width: 640px) {
    .hero-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--spacing-1);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    align-items: flex-start;
    margin-bottom: var(--spacing-8);
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        align-items: center;
    }
}

.trust-indicators {
    margin-top: var(--spacing-6);
}

.trust-text {
    display: block;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-3);
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-3);
}

.trust-badge {
    padding: var(--spacing-1) var(--spacing-3);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--white);
}

.hero-image {
    order: -1;
    position: relative;
}

@media (min-width: 1024px) {
    .hero-image {
        order: 0;
    }
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Search Panel */
.search-panel {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    margin: -2rem auto 3rem;
    max-width: 800px;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

@media (max-width: 768px) {
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .search-panel {
        margin: -1rem auto 2rem;
        padding: 1.5rem;
    }
}

/* Browse Categories */
.browse-categories {
    text-align: center;
    margin: 3rem 0;
}

.categories-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.category-simple {
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.category-simple:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Popular Subjects */
.popular-subjects {
    text-align: center;
    margin: 3rem 0;
}

.subject-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.subject-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.subject-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem 0;
}

.cta-section .btn {
    margin: 0 0.5rem;
    min-width: 160px;
}

/* Enhanced Categories */
.categories-simple.expanded {
    max-height: none;
}

.categories-simple:not(.expanded) {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.categories-simple:not(.expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, var(--light-bg));
    pointer-events: none;
}

@media (max-width: 768px) {
    .subject-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .categories-simple {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-section .btn {
        display: block;
        margin: 0.5rem auto;
        max-width: 200px;
        width: 100%;
    }
}

/* ========================================
   DASHBOARD STYLES
======================================== */
.dashboard {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: 2rem;
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.sidebar {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.main-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.stat-card h4 {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }

    .sidebar {
        position: static;
        order: 2;
    }

    .main-content {
        order: 1;
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin Dashboard Specific Styles */
.verification-stat {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--info-color);
    text-align: center;
}

.verification-count {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.verification-count.status-pending {
    color: var(--warning-color);
}

.verification-count.status-verified {
    color: var(--success-color);
}

.verification-count.status-rejected {
    color: var(--danger-color);
}

.verification-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--border-radius-full);
}

.badge-primary {
    background: var(--primary-color);
    color: var(--white);
}

.badge-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.badge-warning {
    background: var(--warning-color);
    color: var(--white);
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    min-width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar nav li {
    position: relative;
}

/* ========================================
   ABOUT SECTION - ENHANCED
======================================== */
.about,
.about-enhanced {
    padding: var(--spacing-16) 0;
    background-color: var(--white);
}

@media (min-width: 768px) {
    .about,
    .about-enhanced {
        padding: var(--spacing-20) 0;
    }
}

.about-content {
    display: grid;
    gap: var(--spacing-12);
    grid-template-columns: 1fr;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-16);
    }
}

.about-text {
    max-width: none;
}

.value-proposition h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-4);
}

.about-text p {
    font-size: var(--font-size-lg);
    color: var(--gray-700);
    margin-bottom: var(--spacing-6);
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    margin-top: var(--spacing-8);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    background-color: var(--gray-50);
    border-radius: var(--border-radius-xl);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    flex-shrink: 0;
}

.feature-content h4 {
    margin-bottom: var(--spacing-2);
    color: var(--gray-900);
    font-size: var(--font-size-lg);
}

.feature-content p {
    color: var(--gray-600);
    margin-bottom: 0;
    font-size: var(--font-size-base);
}

.about-image {
    order: -1;
    position: relative;
}

@media (min-width: 1024px) {
    .about-image {
        order: 0;
    }
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

.image-overlay {
    position: absolute;
    bottom: var(--spacing-4);
    right: var(--spacing-4);
    background-color: rgba(37, 99, 235, 0.9);
    color: var(--white);
    padding: var(--spacing-4);
    border-radius: var(--border-radius-lg);
    text-align: center;
    backdrop-filter: blur(10px);
}

.overlay-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    line-height: 1;
}

.overlay-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
}

/* ========================================
   SERVICES SECTION - ENHANCED
======================================== */
.services,
.services-enhanced {
    padding: var(--spacing-16) 0;
    background-color: var(--gray-50);
}

@media (min-width: 768px) {
    .services,
    .services-enhanced {
        padding: var(--spacing-20) 0;
    }
}

.services-grid {
    display: grid;
    gap: var(--spacing-8);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card,
.service-card-enhanced {
    background-color: var(--white);
    padding: var(--spacing-8);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card:hover,
.service-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card-enhanced:hover::before {
    left: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    margin: 0 auto var(--spacing-6);
    position: relative;
    z-index: 2;
}

.service-card h3,
.service-card-enhanced h3 {
    margin-bottom: var(--spacing-4);
    color: var(--gray-900);
}

.service-card p,
.service-card-enhanced p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-6);
    flex-grow: 1;
}

.service-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-3);
    margin-top: auto;
}

.service-benefit {
    font-size: var(--font-size-sm);
    color: var(--accent-color);
    font-weight: 600;
    padding: var(--spacing-1) var(--spacing-3);
    background-color: rgba(5, 150, 105, 0.1);
    border-radius: var(--border-radius);
}

.service-cta-section {
    margin-top: var(--spacing-12);
}

.service-cta-text {
    margin: var(--spacing-4) 0 var(--spacing-2);
    color: var(--gray-600);
    font-size: var(--font-size-lg);
}

.phone-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    color: var(--primary-color);
    text-decoration: none;
    font-size: var(--font-size-xl);
    font-weight: 600;
}

.phone-cta:hover {
    color: var(--primary-dark);
}

/* ========================================
   ALERTS & NOTIFICATIONS
======================================== */
.alert {
    padding: var(--spacing-4) var(--spacing-6);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-6);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 4px solid;
}

.alert h3,
.alert h4 {
    margin-bottom: 0.5rem;
    color: inherit;
}

.alert ul {
    margin: 0.5rem 0 0 1.5rem;
}

.alert li {
    margin-bottom: 0.25rem;
}

.alert-success {
    background: var(--success-light);
    border-left-color: var(--success-color);
    color: var(--success-dark);
}

.alert-warning {
    background: var(--warning-light);
    border-left-color: var(--warning-color);
    color: var(--warning-dark);
}

.alert-danger {
    background: var(--danger-light);
    border-left-color: var(--danger-color);
    color: var(--danger-dark);
}

.alert-info {
    background: var(--info-light);
    border-left-color: var(--info-color);
    color: var(--info-dark);
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: var(--spacing-1);
    border-radius: var(--border-radius);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.alert-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.error-list {
    margin: 0;
    padding-left: 20px;
}

.error-list li {
    margin: 4px 0;
}

/* Notification Overlay */
.notification-overlay,
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    animation: slideInRight 0.3s ease;
}

.notification-success {
    background: var(--success-light);
    border: 1px solid var(--success-color);
    color: var(--success-dark);
}

.notification-error {
    background: var(--danger-light);
    border: 1px solid var(--danger-color);
    color: var(--danger-dark);
}

.notification-info {
    background: var(--info-light);
    border: 1px solid var(--info-color);
    color: var(--info-dark);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 20px;
    font-weight: bold;
}

.notification-message {
    font-size: 14px;
    font-weight: 500;
}

.auto-save-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    background: var(--success-color);
    color: white;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 1000;
    transform: translateY(-100px);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ========================================
   EMAIL VERIFICATION STYLES
======================================== */
.verification-page {
    background: linear-gradient(135deg, var(--light-bg) 0%, #f8fafc 100%);
    min-height: 100vh;
}

.verification-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.verification-success,
.verification-error {
    text-align: center;
    padding: 2rem;
}

.success-icon,
.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.success-title,
.error-title {
    margin: 1rem 0;
    font-size: 1.5rem;
}

.next-steps,
.error-actions,
.troubleshooting {
    margin: 2rem 0;
    text-align: left;
}

.next-steps h4,
.error-actions h4,
.troubleshooting h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.next-steps ul,
.error-actions ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.next-steps li,
.error-actions li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.action-buttons .btn {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.welcome-benefits {
    background: var(--success-light);
    border: 1px solid var(--success-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.welcome-benefits h4 {
    color: var(--success-dark);
    margin-bottom: 1rem;
}

.welcome-benefits ul {
    margin: 0;
    padding-left: 1.5rem;
}

.welcome-benefits li {
    margin-bottom: 0.5rem;
    color: var(--success-dark);
}

.tip-box {
    background: var(--info-light);
    border: 1px solid var(--info-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 1rem 0;
}

.tip-box p {
    margin: 0;
    color: var(--info-dark);
}

.tip-box strong {
    color: var(--primary-color);
}

.verification-notice {
    background: var(--info-light);
    border: 1px solid var(--info-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--info-color);
}

.verification-notice h4 {
    color: var(--info-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.verification-notice p {
    color: var(--info-dark);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.verification-notice p:last-of-type {
    margin-bottom: 0;
}

.resend-form {
    margin-top: 1rem;
}

.resend-form input[type="email"] {
    margin-bottom: 1rem;
    background-color: var(--lighter-bg);
    color: var(--text-muted);
}

.resend-success {
    background: var(--success-light);
    border: 1px solid var(--success-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 1rem 0;
    border-left: 4px solid var(--success-color);
}

.resend-success strong {
    color: var(--success-dark);
}

.resend-success p {
    color: var(--success-dark);
    margin: 0.5rem 0 0 0;
}

@media (max-width: 768px) {
    .verification-notice {
        padding: 1rem;
    }

    .verification-container {
        padding: 1rem 0;
    }
    
    .verification-form .form-header,
    .verification-form .form-body {
        padding: 1.5rem;
    }
    
    .verification-form .form-header h1 {
        font-size: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
        margin: 0.25rem 0;
    }
}

@media (max-width: 480px) {
    .verification-form {
        margin: 0 0.5rem;
    }
    
    .success-icon,
    .error-icon {
        font-size: 3rem;
    }
    
    .success-title,
    .error-title {
        font-size: 1.25rem;
    }
}

/* ========================================
   MODALS
======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    padding: 1rem;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
}

.modal-header h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.modal-body {
    margin-bottom: 2rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.success-modal .success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.verification-steps {
    text-align: left;
    margin: 1.5rem 0;
}

.verification-steps h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.verification-steps ol {
    padding-left: 1.5rem;
}

.verification-steps li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
}

/* ========================================
   TABLES
======================================== */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--text-color);
}

.table tr:hover {
    background: var(--light-bg);
}

.table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .table {
        font-size: 0.875rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
    }
}

/* ========================================
   FORM CONTAINERS & LAYOUTS
======================================== */
.form-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    margin: 2rem 0;
}

.form-actions {
    background: #f8fafc;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 12px 12px;
    margin: 2rem -2rem -2rem -2rem;
}

.help-text {
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.help-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.help-text a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .form-container {
        padding: 1rem;
    }
    
    .form-actions {
        padding: 1rem;
        margin: 1rem -1rem -1rem -1rem;
    }
}

/* ========================================
   FOOTER - ENHANCED PROFESSIONAL DESIGN
======================================== */
.footer,
.footer-enhanced,
footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--gray-300);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-main {
    padding: var(--spacing-12) 0;
}

@media (min-width: 768px) {
    .footer-main {
        padding: var(--spacing-16) 0;
    }
}

.footer-content {
    display: grid;
    gap: var(--spacing-8);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-12);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: var(--spacing-8);
    }
}

.footer-company {
    max-width: 400px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: var(--spacing-4);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.footer-logo {
    margin-bottom: var(--spacing-4);
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
}

.footer-logo-image {
    height: 168px !important; /* Keep footer logo slightly larger */
    width: auto !important;
    max-height: 168px !important;
    filter: brightness(0) invert(1);
    transition: var(--transition-fast);
}

.footer-logo-link:hover .footer-logo-image {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.footer-description {
    margin-bottom: var(--spacing-4);
    line-height: 1.7;
    max-width: none;
    font-size: var(--font-size-base);
}

.footer-social {
    display: flex;
    gap: var(--spacing-3);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--gray-800);
    color: var(--gray-300);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-fast);
    border: 1px solid var(--gray-700);
}

.social-link:hover,
.social-link:focus {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-2);
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: var(--font-size-base);
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--white);
    text-decoration: underline;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-3);
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
    margin-top: var(--spacing-1);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--white);
    margin-bottom: var(--spacing-1);
    font-weight: 600;
}

.contact-item a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-item a:hover,
.contact-item a:focus {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding: var(--spacing-4) 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-3);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.copyright,
.credits {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ========================================
   UTILITY CLASSES
======================================== */

/* Text Colors */
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-success { color: var(--success-color); }
.text-warning { color: var(--warning-color); }
.text-danger { color: var(--danger-color); }
.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }
.text-dark { color: var(--text-dark); }

/* Font Weights */
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Display Utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

@media (min-width: 768px) {
    .d-md-none { display: none; }
    .d-md-block { display: block; }
    .d-md-flex { display: flex; }
}

/* Flex Utilities */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }

/* Spacing Utilities */
.m-0 { margin: 0; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.ml-0 { margin-left: 0; }
.mr-0 { margin-right: 0; }

.mt-8 { margin-top: var(--spacing-8); }
.mb-8 { margin-bottom: var(--spacing-8); }

.p-0 { padding: 0; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.pl-0 { padding-left: 0; }
.pr-0 { padding-right: 0; }

/* Border Utilities */
.border { border: 1px solid var(--border-color); }
.border-top { border-top: 1px solid var(--border-color); }
.border-bottom { border-bottom: 1px solid var(--border-color); }
.border-left { border-left: 1px solid var(--border-color); }
.border-right { border-right: 1px solid var(--border-color); }

.rounded { border-radius: var(--border-radius); }
.rounded-sm { border-radius: var(--border-radius-sm); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-xl { border-radius: var(--border-radius-xl); }
.rounded-full { border-radius: var(--border-radius-full); }

/* Background Utilities */
.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--light-bg); }
.bg-primary { background-color: var(--primary-color); }
.bg-success { background-color: var(--success-color); }
.bg-warning { background-color: var(--warning-color); }
.bg-danger { background-color: var(--danger-color); }

/* Shadow Utilities */
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* ========================================
   SECTION HEADER COMPONENTS
======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-2) var(--spacing-4);
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--border-radius-full);
    margin-bottom: var(--spacing-4);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: 0;
    max-width: none;
}

/* ========================================
   TESTIMONIALS - ENHANCED
======================================== */
.testimonials,
.testimonials-enhanced {
    padding: var(--spacing-16) 0;
    background-color: var(--gray-50);
}

@media (min-width: 768px) {
    .testimonials,
    .testimonials-enhanced {
        padding: var(--spacing-20) 0;
    }
}

.testimonials-grid {
    display: grid;
    gap: var(--spacing-8);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card,
.testimonial-card-enhanced {
    background-color: var(--white);
    padding: var(--spacing-6);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover,
.testimonial-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.testimonial-card::before,
.testimonial-card-enhanced::before {
    content: '"';
    position: absolute;
    top: var(--spacing-4);
    left: var(--spacing-4);
    font-size: 3rem;
    color: var(--primary-color);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-4);
}

.testimonial-quote {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: var(--spacing-6);
    padding-top: var(--spacing-4);
    font-size: var(--font-size-lg);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

.author-info h4 {
    margin-bottom: var(--spacing-1);
    color: var(--gray-900);
    font-size: var(--font-size-base);
}

.author-company {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-2);
}

.rating {
    display: flex;
    gap: var(--spacing-1);
}

.rating .fas.fa-star {
    color: var(--warning-color);
    font-size: var(--font-size-sm);
}

/* ========================================
   CTA SECTION - ENHANCED
======================================== */
.cta-section,
.cta-section-enhanced {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: var(--spacing-16) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-section,
    .cta-section-enhanced {
        padding: var(--spacing-20) 0;
    }
}

.cta-section::before,
.cta-section-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-2) var(--spacing-4);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-full);
    margin-bottom: var(--spacing-6);
    backdrop-filter: blur(10px);
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--spacing-6);
}

.cta-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-8);
    opacity: 0.95;
    max-width: none;
}

.cta-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-8);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    color: var(--white);
}

.benefit-item i {
    color: var(--accent-color);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    align-items: center;
    margin-bottom: var(--spacing-6);
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.urgency-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

@media (max-width: 768px) {
    .cta-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* ========================================
   ANIMATIONS & TRANSITIONS
======================================== */
@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.verification-form {
    animation: fadeIn 0.5s ease-out;
}

/* ========================================
   RESPONSIVE DESIGN - ADDITIONAL
======================================== */
@media (max-width: 768px) {
    .hero-content-wrapper,
    .about-content {
        text-align: center;
    }
    
    .trust-logos {
        justify-content: center;
    }
    
    .service-detail-grid {
        gap: var(--spacing-8);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        margin-bottom: var(--spacing-8);
    }
    
    .process-step::after {
        display: none;
    }
}

/* ========================================
   ACCESSIBILITY & PREFERENCES
======================================== */
/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --text-muted: #000000;
    }
    
    .btn {
        border-width: 2px;
    }

    .logo-text span,
    .logo-taglines .tagline {
        color: var(--text-color);
    }
    
    .verification-form .form-header {
        background: #000;
        color: #fff;
    }
    
    .tip-box,
    .welcome-benefits {
        border-width: 2px;
    }

    .step-progress::before {
        background: var(--text-color);
    }
    
    .step-number {
        border-width: 3px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --white: #1f2937;
        --light-bg: #111827;
        --lighter-bg: #1f2937;
        --text-color: #f9fafb;
        --text-muted: #9ca3af;
        --text-light: #6b7280;
        --border-color: #374151;
    }

    .verification-page {
        background: #1a1a1a;
    }
    
    .verification-form {
        background: #2a2a2a;
        color: #e5e5e5;
    }
    
    .tip-box {
        background: #3a3a3a;
        border-color: #555;
        color: #e5e5e5;
    }

    .horizontal-progress-bar,
    .form-container {
        background: #2a2a2a;
        color: #e5e5e5;
    }
}

/* Print styles */
@media print {
    .navbar,
    .navbar-enhanced,
    .sidebar,
    .cta-section,
    .cta-section-enhanced,
    .action-buttons,
    .notification,
    .notification-overlay,
    .auto-save-notification,
    .footer,
    .footer-enhanced,
    footer {
        display: none !important;
    }
    
    .main-content {
        box-shadow: none;
        border: none;
    }
    
    body {
        color: black;
        background: white;
    }

    .verification-form,
    .form-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .verification-form .form-header {
        background: #f5f5f5 !important;
        color: #333 !important;
    }

    .wizard-navigation {
        display: none;
    }
}

/* ========================================
   RESPONSIVE OPTIMIZATIONS - FINAL
======================================== */
@media (max-width: 480px) {
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .form-header,
    .form-body {
        padding: 1.5rem;
    }

    .registration-form {
        margin: 1rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .step-name {
        font-size: 0.7rem;
    }
    
    .step-content {
        padding: 1rem;
    }
    
    .form-section h3 {
        font-size: 1.2rem;
    }
}height: 100vh;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-color);
    margin-bottom: var(--spacing-4);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-sm); }

/* Mobile-first responsive typography */
@media (min-width: 768px) {
    h1 { font-size: var(--font-size-4xl); }
    h2 { font-size: var(--font-size-3xl); }
    h3 { font-size: var(--font-size-2xl); }
}

@media (min-width: 1024px) {
    h1 { font-size: var(--font-size-5xl); }
    h2 { font-size: var(--font-size-4xl); }
    h3 { font-size: var(--font-size-3xl); }
}

p {
    margin-bottom: var(--spacing-4);
    max-width: 65ch; /* Optimal reading width */
    line-height: 1.6;
    color: var(--text-color);
}

small {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--primary-dark);
    text-decoration-thickness: 2px;
}

/* Enhanced focus styles for WCAG compliance */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: var(--border-radius);
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-2) var(--spacing-4);
    text-decoration: none;
    border-radius: var(--border-radius);
    z-index: var(--z-tooltip);
    font-weight: 600;
}

.skip-link:focus {
    top: 6px;
}

/* Screen reader only content */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sr-only-focusable:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: inherit !important;
    margin: inherit !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}

/* ========================================
   LAYOUT COMPONENTS
======================================== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

@media (min-width: 640px) {
    .container {
        padding: 0 var(--spacing-6);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-8);
    }
}

.registration-page-wrapper {
    min-height: calc(100vh - 200px);
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(-1 * var(--spacing-3));
}

.col-md-6 {
    width: 100%;
    padding: 0 var(--spacing-3);
}

@media (min-width: 768px) {
    .col-md-6 {
        width: 50%;
    }
}

/* ========================================
   HEADER & NAVIGATION - FIXED HEIGHT
======================================== */
.header,
.header-enhanced,
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    box-shadow: var(--shadow);
    max-height: 160px; /* FIXED: Enforce maximum height */
    overflow: hidden; /* Prevent content overflow */
}

.navbar,
.navbar-enhanced {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--mobile-header-height);
    max-height: 160px; /* FIXED: Enforce maximum height */
    position: relative;
    padding: var(--spacing-2) 0;
    gap: var(--spacing-8);
}

@media (min-width: 1024px) {
    .navbar,
    .navbar-enhanced {
        min-height: var(--desktop-header-height);
        max-height: 160px; /* FIXED: Enforce maximum height */
        padding: var(--spacing-3) 0;
    }
}

/* Logo Styles - FIXED to 140px height */
.navbar-brand,
.logo,
.logo-enhanced {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: var(--z-dropdown);
    color: var(--text-color);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-image {
    height: 140px !important;  /* FIXED: Exactly 140px */
    width: auto !important;
    max-height: 140px !important; /* FIXED: Enforce maximum */
    max-width: none !important;
    margin-right: var(--spacing-3);
    transition: var(--transition-fast);
    object-fit: contain; /* Ensure proper image scaling */
}

/* Enhanced Logo Text Styling for Multi-line Support */
.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: var(--spacing-3);
}

.logo-text h1 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.3;
    display: block;
    white-space: pre-line; /* Allows line breaks with \n */
}

/* Alternative: Support for multiple taglines */
.logo-taglines {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-taglines .tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.logo-taglines .tagline:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .logo-image {
        height: 100px !important; /* Smaller for mobile */
        max-height: 100px !important;
    }
    
    .header,
    .header-enhanced {
        max-height: 120px; /* Smaller mobile header */
    }
    
    .navbar,
    .navbar-enhanced {
        max-height: 120px;
        min-height: 120px;
    }
    
    .logo-text h1 { 
        font-size: 1.5rem; 
    }

    .logo-taglines .tagline {
        font-size: 0.75rem;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .logo-image {
        height: 120px !important; /* Tablet size */
        max-height: 120px !important;
    }
    
    .header,
    .header-enhanced {
        max-height: 140px; /* Tablet header */
    }
    
    .navbar,
    .navbar-enhanced {
        max-height: 140px;
        min-height: 140px;
    }
}

/* Mobile menu toggle */
.navbar-toggle,
.navbar-toggle-enhanced {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;  /* WCAG minimum touch target */
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: var(--spacing-2);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.navbar-toggle:hover,
.navbar-toggle:focus,
.navbar-toggle-enhanced:hover,
.navbar-toggle-enhanced:focus {
    background-color: var(--gray-100);
}

.navbar-toggle-icon {
    width: 24px;
    height: 2px;
    background-color: var(--gray-700);
    margin: 2px 0;
    transition: var(--transition-fast);
    border-radius: 1px;
}

.navbar-toggle[aria-expanded="true"] .navbar-toggle-icon:nth-child(2),
.navbar-toggle-enhanced[aria-expanded="true"] .navbar-toggle-icon:nth-child(2) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle[aria-expanded="true"] .navbar-toggle-icon:nth-child(3),
.navbar-toggle-enhanced[aria-expanded="true"] .navbar-toggle-icon:nth-child(3) {
    opacity: 0;
}

.navbar-toggle[aria-expanded="true"] .navbar-toggle-icon:nth-child(4),
.navbar-toggle-enhanced[aria-expanded="true"] .navbar-toggle-icon:nth-child(4) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (min-width: 1024px) {
    .navbar-toggle,
    .navbar-toggle-enhanced {
        display: none;
    }
}

/* Navigation Menu - FIXED positioning for new header heights */
.navbar-menu,
.navbar-menu-enhanced {
    position: fixed;
    top: var(--mobile-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: var(--z-fixed);
    border-top: 1px solid var(--border-color);
}

.navbar-menu.active,
.navbar-menu-enhanced.active {
    transform: translateX(0);
}

@media (max-width: 768px) {
    .navbar-menu,
    .navbar-menu-enhanced {
        top: 120px; /* Match mobile header height */
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .navbar-menu,
    .navbar-menu-enhanced {
        top: 140px; /* Match tablet header height */
    }
}

@media (min-width: 1024px) {
    .navbar-menu,
    .navbar-menu-enhanced {
        position: static;
        transform: translateX(0);
        background: transparent;
        display: flex;
        align-items: center;
        gap: var(--spacing-6);
        overflow: visible;
        border: none;
    }
}

.navbar-nav,
.nav-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: var(--spacing-4);
    gap: var(--spacing-2);
    margin: 0;
}

@media (min-width: 1024px) {
    .navbar-nav,
    .nav-links {
        flex-direction: row;
        padding: 0;
        gap: var(--spacing-4);
    }
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-3);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    min-height: 44px; /* WCAG touch target */
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
    font-size: var(--font-size-base);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    background-color: var(--primary-light);
    color: var(--primary-color);
    text-decoration: none;
}

/* Enhanced CTA in navbar */
.navbar-cta {
    padding: var(--spacing-4);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

@media (min-width: 1024px) {
    .navbar-cta {
        padding: 0;
        border: none;
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-4);
    }
}

.btn-cta-header {
    font-size: var(--font-size-sm);
    padding: var(--spacing-2) var(--spacing-4);
    font-weight: 600;
}

.contact-info-mini {
    display: none;
}

@media (min-width: 1024px) {
    .contact-info-mini {
        display: block;
    }
}

.phone-quick {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    color: var(--gray-600);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.phone-quick:hover {
    color: var(--primary-color);
}

/* ========================================
   BUTTONS - ENHANCED CONVERSION
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: var(--font-size-base);
    line-height: 1.5;
    min-height: 44px; /* WCAG minimum touch target */
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn:focus,
.btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Enhanced Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e40af 100%);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--secondary-hover);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
    border-color: var(--success-color);
}

.btn-success:hover,
.btn-success:focus {
    background: var(--success-dark);
    border-color: var(--success-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-warning {
    background: var(--warning-color);
    color: var(--white);
    border-color: var(--warning-color);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
    border-color: var(--danger-color);
}

/* Enhanced CTA Button */
.cta-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #047857 100%);
    color: var(--white);
    border: none;
    font-size: var(--font-size-lg);
    padding: var(--spacing-4) var(--spacing-8);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover,
.cta-primary:focus {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-subtext {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 400;
    opacity: 0.9;
    margin-top: 2px;
}

/* Button Sizes */
.btn-sm {
    padding: var(--spacing-2) var(--spacing-4);
    font-size: var(--font-size-sm);
}

.btn-lg,
.btn-large {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-lg);
    min-height: 52px;
}

/* ========================================
   FORMS & INPUTS
======================================== */
.form-group {
    margin-bottom: var(--spacing-6);
}

.form-label,
.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-2);
    font-size: var(--font-size-base);
}

/* ================================
   TUTOR LINK - COMPLETE STYLESHEET
   All CSS required for the platform including login, registration, dashboard, etc.
   Version 3.1 - Refactored with Enhanced Verification & Logo Styles
   ================================ */

/* CSS Variables for Consistency */
:root {
    	
	/* Primary Colors */
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #dbeafe;
    --primary-dark: #1e40af;
    
    /* Secondary Colors */
    --secondary-color: #64748b;
    --secondary-hover: #475569;
    --secondary-light: #f1f5f9;
    
    /* Status Colors */
    --success-color: #10b981;
    --success-light: #d1fae5;
    --success-dark: #047857;
    --warning-color: #f59e0b;
    --warning-light: #fef3c7;
    --warning-dark: #92400e;
    --danger-color: #ef4444;
    --danger-light: #fecaca;
    --danger-dark: #991b1b;
    --info-color: #3b82f6;
    --info-light: #dbeafe;
    --info-dark: #1e40af;
    
    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --light-bg: #f8fafc;
    --lighter-bg: #f1f5f9;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-dark: #0f172a;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Border Radius */
    --border-radius: 0.375rem;
    --border-radius-sm: 0.25rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
    --border-radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.2s ease-in-out;
    --transition-slow: all 0.3s ease-in-out;
    --transition-fast: all 0.15s ease-in-out;
    
    /* Layout */
    --container-max-width: 1200px;
    --container-padding: 1rem;
    --sidebar-width: 250px;
    
    /* Z-indexes */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
}

/* ================================
   BASE STYLES
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background: var(--light-bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================
   ACCOUNT STATUS PAGE STYLES
   ================================ */

.email-status-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--lighter-bg);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.email-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-label {
    font-weight: 600;
    color: var(--text-color);
}

.email-value {
    font-weight: bold;
    color: var(--text-dark);
}

.verification-badge {
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    color: white;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.verified {
    background-color: var(--success-color);
}

.status-badge.not-verified {
    background-color: var(--danger-color);
}

.status-badge.status-verified {
    background-color: var(--success-color);
}

.status-badge.status-pending-review {
    background-color: #d97706;
    color: white;
}

.status-badge.status-not-completed {
    background-color: var(--danger-color);
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-icon {
    font-size: 1.5rem;
    min-width: 2rem;
}

.checklist-text {
    font-size: 1rem;
    color: var(--text-color);
}

.review-notice {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--info-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--info-color);
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.document-label {
    font-weight: 600;
    color: var(--text-color);
}

.document-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    color: white;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* ================================
   HORIZONTAL PROGRESS BAR STYLES
   ================================ */

.horizontal-progress-bar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem 1rem;
    margin: 2rem 0;
    position: relative;
}

.progress-circles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 1rem;
}

.progress-circles::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #e5e7eb 0%, #e5e7eb 100%);
    z-index: 1;
    transform: translateY(-50%);
}

.progress-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 3px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #6b7280;
}

.progress-circle.completed {
    background: #10b981;
    border-color: #10b981;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.progress-circle.completed::after {
    content: '✓';
    position: absolute;
    font-size: 24px;
    font-weight: bold;
}

.circle-label {
    font-size: 12px;
    font-weight: 600;
    color: inherit;
}

.circle-number {
    font-size: 18px;
    font-weight: bold;
    color: inherit;
}

.progress-circle.completed .circle-label,
.progress-circle.completed .circle-number {
    display: none;
}

/* Step Labels */
.step-labels {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 1.5rem 0;
    padding: 0 1rem;
}

.step-label {
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #f9fafb;
    border-left: 4px solid #e5e7eb;
}

.step-label.completed {
    color: #10b981;
    background: #ecfdf5;
    border-left-color: #10b981;
}

/* ================================
   DASHBOARD STYLES
   ================================ */

.dashboard {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: 2rem;
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.sidebar {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar nav li {
    margin-bottom: 0.5rem;
}

.sidebar nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
}

.sidebar nav a:hover,
.sidebar nav a.active {
    background: var(--primary-light);
    color: var(--primary-color);
}

.main-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.dashboard-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-header h1 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.dashboard-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    overflow: hidden;
}

.card-header {
    background: var(--light-bg);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    margin: 0;
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.count-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    text-align: center;
}

.stat-card h3 {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-state h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.children-grid,
.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.action-buttons {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

/* ================================
   BUTTONS
   ================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--white);
    text-decoration: none;
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:
.btn-secondary:hover {
   background: var(--secondary-hover);
   color: var(--white);
   text-decoration: none;
}

.btn-success {
   background: var(--success-color);
   color: var(--white);
}

.btn-success:hover {
   background: var(--success-dark);
   color: var(--white);
   text-decoration: none;
}

.btn-warning {
   background: var(--warning-color);
   color: var(--white);
}

.btn-warning:hover {
   background: var(--warning-dark);
   color: var(--white);
   text-decoration: none;
}

.btn-danger {
   background: var(--danger-color);
   color: var(--white);
}

.btn-danger:hover {
   background: var(--danger-dark);
   color: var(--white);
   text-decoration: none;
}

.btn-outline {
   background: transparent;
   color: var(--primary-color);
   border: 2px solid var(--primary-color);
}

.btn-outline:hover {
   background: var(--primary-color);
   color: var(--white);
   text-decoration: none;
}

/* ================================
  ALERTS
  ================================ */

.alert {
   padding: 1rem 1.5rem;
   border-radius: var(--border-radius);
   margin-bottom: 1rem;
   border-left: 4px solid;
}

.alert-success {
   background: var(--success-light);
   color: var(--success-dark);
   border-left-color: var(--success-color);
}

.alert-danger {
   background: var(--danger-light);
   color: var(--danger-dark);
   border-left-color: var(--danger-color);
}

.alert-warning {
   background: var(--warning-light);
   color: var(--warning-dark);
   border-left-color: var(--warning-color);
}

.alert-info {
   background: var(--info-light);
   color: var(--info-dark);
   border-left-color: var(--info-color);
}

/* ================================
  TABLES
  ================================ */

.table-responsive {
   overflow-x: auto;
   margin: -1rem;
   padding: 1rem;
}

.table {
   width: 100%;
   border-collapse: collapse;
   margin-bottom: 1rem;
   background: var(--white);
   border-radius: var(--border-radius);
   overflow: hidden;
   box-shadow: var(--shadow-sm);
}

.table th,
.table td {
   padding: 0.75rem;
   text-align: left;
   border-bottom: 1px solid var(--border-color);
}

.table th {
   background: var(--light-bg);
   font-weight: 600;
   color: var(--text-color);
}

.table tr:hover {
   background: var(--light-bg);
}

.table tr:last-child td {
   border-bottom: none;
}

/* ================================
  STATUS BADGES
  ================================ */

.status-badge {
   padding: 0.25rem 0.75rem;
   border-radius: var(--border-radius-full);
   font-size: 0.75rem;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.5px;
}

.status-pending {
   background: var(--warning-light);
   color: var(--warning-dark);
}

.status-accepted,
.status-approved {
   background: var(--success-light);
   color: var(--success-dark);
}

.status-rejected,
.status-cancelled {
   background: var(--danger-light);
   color: var(--danger-dark);
}

.status-completed {
   background: var(--info-light);
   color: var(--info-dark);
}

/* ================================
  FORMS
  ================================ */

.form-group {
   margin-bottom: 1.5rem;
}

.form-group label {
   display: block;
   margin-bottom: 0.5rem;
   font-weight: 600;
   color: var(--text-color);
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
   width: 100%;
   padding: 0.75rem;
   border: 1px solid var(--border-color);
   border-radius: var(--border-radius);
   font-size: 1rem;
   transition: var(--transition);
   background: var(--white);
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
   outline: none;
   border-color: var(--primary-color);
   box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ================================
  RESPONSIVE DESIGN
  ================================ */

@media (max-width: 768px) {
   .dashboard {
       grid-template-columns: 1fr;
       gap: 1rem;
   }
   
   .sidebar {
       position: static;
       margin-bottom: 1rem;
   }
   
   .stats-grid {
       grid-template-columns: 1fr;
   }
   
   .email-status-container {
       flex-direction: column;
       gap: 1rem;
       text-align: center;
   }
   
   .document-grid {
       grid-template-columns: 1fr;
   }
   
   .progress-circles {
       flex-wrap: wrap;
       gap: 1rem;
       justify-content: center;
   }
   
   .progress-circles::before {
       display: none;
   }
   
   .children-grid,
   .action-buttons {
       grid-template-columns: 1fr;
   }
}

@media (max-width: 480px) {
   .container {
       padding: 0 1rem;
   }
   
   .card-header,
   .card-body {
       padding: 1rem;
   }
   
   .btn {
       width: 100%;
       margin-bottom: 0.5rem;
   }
   
   .table-responsive {
       font-size: 0.875rem;
   }
   
   .progress-circle {
       width: 50px;
       height: 50px;
   }
   
   .circle-number {
       font-size: 16px;
   }
}

/* ================================
  CONTAINER AND LAYOUT
  ================================ */

.container {
   max-width: var(--container-max-width);
   margin: 0 auto;
   padding: 0 var(--container-padding);
}

/* ================================
  UTILITIES
  ================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-content-start { justify-content: flex-start; }
.justify-content-center { justify-content: center; }
.justify-content-end { justify-content: flex-end; }
.justify-content-between { justify-content: space-betwES
  ================================ */

.table-responsive {
   overflow-x: auto;
   margin: -1rem;
   padding: 1rem;
}

.table {
   width: 100%;
   border-collapse: collapse;
   margin-bottom: 1rem;
   background: var(--white);
   border-radius: var(--border-radius);
   overflow: hidden;
   box-shadow: var(--shadow-sm);
}

.table th,
.table td {
   padding: 0.75rem;
   text-align: left;
   border-bottom: 1px solid var(--border-color);
}

.table th {
   background: var(--light-bg);
   font-weight: 600;
   color: var(--text-color);
}

.table tr:hover {
   background: var(--light-bg);
}

.table tr:last-child td {
   border-bottom: none;
}

/* ================================
  STATUS BADGES
  ================================ */

.status-badge {
   padding: 0.25rem 0.75rem;
   border-radius: var(--border-radius-full);
   font-size: 0.75rem;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.5px;
}

.status-pending {
   background: var(--warning-light);
   color: var(--warning-dark);
}

.status-accepted,
.status-approved {
   background: var(--success-light);
   color: var(--success-dark);
}

.status-rejected,
.status-cancelled {
   background: var(--danger-light);
   color: var(--danger-dark);
}

.status-completed {
   background: var(--info-light);
   color: var(--info-dark);
}

/* ================================
  FORMS
  ================================ */

.form-group {
   margin-bottom: 1.5rem;
}

.form-group label {
   display: block;
   margin-bottom: 0.5rem;
   font-weight: 600;
   color: var(--text-color);
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
   width: 100%;
   padding: 0.75rem;
   border: 1px solid var(--border-color);
   border-radius: var(--border-radius);
   font-size: 1rem;
   transition: var(--transition);
   background: var(--white);
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
   outline: none;
   border-color: var(--primary-color);
   box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ================================
  RESPONSIVE DESIGN
  ================================ */

@media (max-width: 768px) {
   .dashboard {
       grid-template-columns: 1fr;
       gap: 1rem;
   }
   
   .sidebar {
       position: static;
       margin-bottom: 1rem;
   }
   
   .stats-grid {
       grid-template-columns: 1fr;
   }
   
   .email-status-container {
       flex-direction: column;
       gap: 1rem;
       text-align: center;
   }
   
   .document-grid {
       grid-template-columns: 1fr;
   }
   
   .progress-circles {
       flex-wrap: wrap;
       gap: 1rem;
       justify-content: center;
   }
   
   .progress-circles::before {
       display: none;
   }
   
   .children-grid,
   .action-buttons {
       grid-template-columns: 1fr;
   }
}

@media (max-width: 480px) {
   .container {
       padding: 0 1rem;
   }
   
   .card-header,
   .card-body {
       padding: 1rem;
   }
   
   .btn {
       width: 100%;
       margin-bottom: 0.5rem;
   }
   
   .table-responsive {
       font-size: 0.875rem;
   }
   
   .progress-circle {
       width: 50px;
       height: 50px;
   }
   
   .circle-number {
       font-size: 16px;
   }
}

/* ================================
  CONTAINER AND LAYOUT
  ================================ */

.container {
   max-width: var(--container-max-width);
   margin: 0 auto;
   padding: 0 var(--container-padding);
}

/* ================================
  UTILITIES
  ================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-content-start { justify-content: flex-start; }
.justify-content-center { justify-content: center; }
.justify-content-end { justify-content: flex-end; }
.justify-content-between { justify-content: space-between; }

.align-items-start { align-items: flex-start; }
.align-items-center { align-items: center; }
.align-items-end { align-items: flex-end; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-success { color: var(--success-color); }
.text-warning { color: var(--warning-color); }
.text-danger { color: var(--danger-color); }
.text-muted { color: var(--text-muted); }

.font-weight-normal { font-weight: 400; }
.font-weight-medium { font-weight: 500; }
.font-weight-semibold { font-weight: 600; }
.font-weight-bold { font-weight: 700; }

/* ================================
  HEADER AND NAVIGATION
  ================================ */

header {
   background: var(--white);
   box-shadow: var(--shadow-sm);
   position: sticky;
   top: 0;
   z-index: var(--z-sticky);
}

.header-content {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 1rem 0;
}

.logo {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   text-decoration: none;
}

.logo h1 {
   color: var(--primary-color);
   font-size: 1.5rem;
   margin: 0;
}

.nav-links {
   display: flex;
   gap: 2rem;
   align-items: center;
}

.nav-links a {
   color: var(--text-color);
   text-decoration: none;
   font-weight: 500;
   transition: var(--transition);
}

.nav-links a:hover {
   color: var(--primary-color);
}

/* ================================
  FOOTER
  ================================ */

footer {
   background: var(--text-dark);
   color: var(--white);
   padding: 3rem 0 1rem;
   margin-top: auto;
}

.footer-content {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 2rem;
   margin-bottom: 2rem;
}

.footer-section h4 {
   color: var(--white);
   margin-bottom: 1rem;
}

.footer-section ul {
   list-style: none;
   margin: 0;
   padding: 0;
}

.footer-section ul li {
   margin-bottom: 0.5rem;
}

.footer-section ul li a {
   color: #cbd5e1;
   text-decoration: none;
   transition: var(--transition);
}

.footer-section ul li a:hover {
   color: var(--white);
}

.footer-bottom {
   border-top: 1px solid #374151;
   padding-top: 2rem;
   text-align: center;
   color: #9ca3af;
}

/* ================================
  ANIMATION AND TRANSITIONS
  ================================ */

@keyframes fadeIn {
   from { opacity: 0; transform: translateY(20px); }
   to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
   from { transform: translateX(-100%); }
   to { transform: translateX(0); }
}

@keyframes pulse {
   0%, 100% { transform: scale(1); }
   50% { transform: scale(1.05); }
}

.fade-in {
   animation: fadeIn 0.5s ease-out;
}

.slide-in {
   animation: slideIn 0.3s ease-out;
}

/* ================================
  ACCESSIBILITY
  ================================ */

.sr-only {
   position: absolute;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   border: 0;
}

@media (prefers-reduced-motion: reduce) {
   *,
   *::before,
   *::after {
       animation-duration: 0.01ms !important;
       animation-iteration-count: 1 !important;
       transition-duration: 0.01ms !important;
   }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
   .btn {
       border: 2px solid;
   }
   
   .card {
       border: 1px solid var(--text-color);
   }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
   :root {
       --white: #1f2937;
       --light-bg: #111827;
       --lighter-bg: #1f2937;
       --text-color: #f9fafb;
       --text-muted: #9ca3af;
       --border-color: #374151;
   }
}

/* Print styles */
@media print {
   .sidebar,
   .btn,
   .alert {
       display: none;
   }
   
   .main-content {
       box-shadow: none;
       border: 1px solid #000;
   }
   
   body {
       background: white;
   }
}
/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Accessibility Features
   ========================================================================== */

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Focus indicators */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid #4A90E2;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background: #fff;
        color: #000;
    }
    
    .btn-primary {
        background: #000;
        color: #fff;
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .progress-fill {
        transition: none !important;
    }
}
/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #4A90E2;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #357ABD;
    text-decoration: underline;
}
/* ==========================================================================
   Layout Components
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    flex: 1;
}
/* ==========================================================================
   Header & Navigation
   ========================================================================== */

header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    padding: 1rem 0;
}

.logo h1 {
    color: #4A90E2;
    margin: 0;
    font-size: 1.8rem;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.logo a:hover,
.logo a:focus {
    color: #357ABD;
    text-decoration: none;
}
/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}
/* ==========================================================================
   Progress Bar
   ========================================================================== */

.progress-container {
    margin: 2rem auto 3rem;
    max-width: 500px;
}

.progress-label {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.progress-bar {
    background: rgba(255,255,255,0.3);
    border-radius: 25px;
    height: 20px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    background: linear-gradient(90deg, #4CAF50, #45a049);
    height: 100%;
    border-radius: 25px;
    transition: width 2s ease-in-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}
/* ==========================================================================
   Launch Dates
   ========================================================================== */

.launch-dates {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.date-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    min-width: 200px;
}

.date-item h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.date-item time {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FFD700;
}
/* ==========================================================================
   Call-to-Action
   ========================================================================== */

.cta-container {
    margin-top: 3rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 44px; /* WCAG touch target size */
    line-height: 1.4;
}

.btn-primary {
    background: #4A90E2;
    color: white;
    border: 2px solid #4A90E2;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #357ABD;
    border-color: #357ABD;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: white;
    color: #4A90E2;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
/* ==========================================================================
   Features Section
   ========================================================================== */

.features-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.feature-card h3 {
    color: #4A90E2;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}
/* ==========================================================================
   Early Access Section
   ========================================================================== */

.early-access-section {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.early-access-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.early-access-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
/* ==========================================================================
   Registration Form Styles
   ========================================================================== */

.registration-section {
    padding: 4rem 0;
    background: #f8f9fa;
    min-height: 80vh;
}

.registration-content {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.registration-content h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #4A90E2;
}

.registration-content > p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

/* Form Styles */
.registration-form {
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group label.required::after {
    content: ' *';
    color: #e74c3c;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #4A90E2;
    outline: none;
}

.form-group input:invalid {
    border-color: #e74c3c;
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #666;
}

/* Fieldset and Radio Styles */
fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

fieldset legend {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

fieldset legend.required::after {
    content: ' *';
    color: #e74c3c;
}

.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-item input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
}

.radio-item label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

/* Conditional Fields */
.conditional-fields {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #4A90E2;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.form-actions .btn {
    flex: 1;
    min-width: 140px;
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #e74c3c;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.alert h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.alert ul {
    margin-left: 1rem;
}

.alert li {
    margin-bottom: 0.25rem;
}
/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    text-align: center;
}

.footer-content h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-content p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}
/* ==========================================================================
   Admin Styles (for files starting with 'a')
   ========================================================================== */

.admin-header {
    background: #34495e;
    color: white;
    padding: 1rem 0;
}

.admin-nav {
    background: #2c3e50;
    padding: 0.5rem 0;
}

.admin-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.admin-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.admin-nav a:hover,
.admin-nav a:focus {
    background: rgba(255,255,255,0.1);
    text-decoration: none;
}

.admin-content {
    padding: 2rem 0;
    min-height: 70vh;
}

.admin-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.admin-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.admin-table tr:hover {
    background: #f8f9fa;
}
/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .launch-dates {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .date-item {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .registration-content {
        padding: 2rem 1rem;
        margin: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .admin-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .admin-card {
        padding: 1rem;
    }
    
    .admin-table {
        font-size: 0.875rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .features-section {
        padding: 2rem 0;
    }
    
    .early-access-section {
        padding: 2rem 0;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .progress-container {
        margin: 1.5rem auto 2rem;
    }
}
/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .hero-section,
    .early-access-section,
    footer,
    .btn,
    .cta-container {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .features-grid {
        display: block;
    }
    
    .feature-card {
        break-inside: avoid;
        margin-bottom: 1rem;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
/* ==========================================================================
   Utility Classes
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/*
File: assets/css/styles.css  
Last Updated: 16-08-2025 11:35  
Changes: Added horizontal progress bar styling, circle indicators, tick marks, and step label styling for completed states. 
*/

/* Existing styles preserved... */

/* ================================
   HORIZONTAL PROGRESS BAR STYLES
   ================================ */

.horizontal-progress-bar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem 1rem;
    margin: 2rem 0;
    position: relative;
}

.progress-circles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 1rem;
}

.progress-circles::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #e5e7eb 0%, #e5e7eb 100%);
    z-index: 1;
    transform: translateY(-50%);
}

.progress-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 3px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #6b7280;
}

.progress-circle.completed {
    background: #10b981;
    border-color: #10b981;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.progress-circle.completed::after {
    content: '✓';
    position: absolute;
    font-size: 24px;
    font-weight: bold;
}

.circle-label {
    font-size: 12px;
    font-weight: 600;
    color: inherit;
}

.circle-number {
    font-size: 18px;
    font-weight: bold;
    color: inherit;
}

.progress-circle.completed .circle-label,
.progress-circle.completed .circle-number {
    display: none;
}

/* Step Labels */
.step-labels {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 1.5rem 0;
    padding: 0 1rem;
}

.step-label {
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #f9fafb;
    border-left: 4px solid #e5e7eb;
}

.step-label.completed {
    color: #10b981;
    background: #ecfdf5;
    border-left-color: #10b981;
    font-weight: 600;
}

/* Progress Info */
.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #e2e8f0;
}

.progress-text {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
}

.progress-percentage {
    font-size: 16px;
    font-weight: 700;
    color: #10b981;
}

/* ================================
   NOTIFICATION STYLES
   ================================ */

.notification-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    animation: slideInRight 0.3s ease;
}

.notification-success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.notification-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 20px;
    font-weight: bold;
}

.notification-message {
    font-size: 14px;
    font-weight: 500;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ================================
   FORM CONTAINER STYLES
   ================================ */

.form-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    margin: 2rem 0;
}

.form-actions {
    background: #f8fafc;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 12px 12px;
    margin: 2rem -2rem -2rem -2rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.help-text {
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.help-text a {
    color: #0ea5e9;
    text-decoration: none;
}

.help-text a:hover {
    text-decoration: underline;
}

/* ================================
   BUTTON STYLES
   ================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
}

.btn-primary {
    background: #0ea5e9;
    color: white;
}

.btn-primary:hover {
    background: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
    background: #64748b;
    color: white;
}

.btn-secondary:hover {
    background: #475569;
}

.btn-outline {
    background: transparent;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.btn-outline:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* ================================
   ALERT STYLES
   ================================ */

.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid;
}

.alert-success {
    background: #ecfdf5;
    border-left-color: #10b981;
    color: #065f46;
}

.alert-danger {
    background: #fef2f2;
    border-left-color: #ef4444;
    color: #991b1b;
}

.error-list {
    margin: 0;
    padding-left: 20px;
}

.error-list li {
    margin: 4px 0;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
    .progress-circles {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .progress-circle {
        width: 50px;
        height: 50px;
        font-size: 14px;
    }
    
    .circle-number {
        font-size: 16px;
    }
    
    .circle-label {
        font-size: 10px;
    }
    
    .step-labels {
        font-size: 14px;
    }
    
    .progress-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .notification-overlay {
        left: 10px;
        right: 10px;
        top: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .horizontal-progress-bar {
        padding: 1.5rem 0.5rem;
    }
    
    .progress-circles::before {
        display: none;
    }
    
    .progress-circles {
        flex-direction: column;
        gap: 15px;
    }
    
    .progress-circle {
        width: 40px;
        height: 40px;
    }
    
    .circle-number {
        font-size: 14px;
    }
    
    .form-container {
        padding: 1rem;
    }
    
    .form-actions {
        padding: 1rem;
        margin: 1rem -1rem -1rem -1rem;
    }
}

/* ================================
   EXISTING PROFILE WIZARD STYLES
   ================================ */

.profile-wizard-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
}

.profile-wizard-container .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.profile-wizard-container h1 {
    color: #1e293b;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-align: center;
}

/* Form Elements */
.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    color: #334155;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group small {
    display: block;
    color: #6b7280;
    font-size: 12px;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Input Groups - FIXED OVERLAPPING ISSUE */
.input-group {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
}

.input-prefix,
.input-suffix {
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    padding: 12px 16px;
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.input-prefix {
    border-right: none;
    border-radius: 8px 0 0 8px;
}

.input-suffix {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.input-group input {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    flex: 1;
    min-width: 0;
}

.input-group input:focus {
    z-index: 2;
    position: relative;
}

/* Checkbox Groups */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-label:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Bio Counter */
.bio-counter {
    font-weight: 600;
}

.bio-valid {
    color: #10b981;
}

.bio-invalid {
    color: #ef4444;
}
/* ==========================================================================
   Tutor Link Main Stylesheet
   Version: 3.0
   Last Updated: 17-08-2025 16:45
   ========================================================================== */

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    /* Primary Colors */
    --primary-color: #4A90E2;
    --primary-dark: #357ABD;
    --primary-light: #6BA3E8;
    --secondary-color: #7B68EE;
    --accent-color: #FF6B6B;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #000000;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Status Colors */
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    --info-color: #3B82F6;
    
    /* Text Colors */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --text-light: var(--gray-400);
    
    /* Background Colors */
    --bg-primary: var(--white);
    --bg-secondary: var(--gray-50);
    --bg-muted: var(--gray-100);
    
    /* Typography */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-heading: var(--font-family-base);
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --line-height-tight: 1.25;
    --line-height-base: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Borders */
    --border-width: 1px;
    --border-color: var(--gray-200);
    --border-radius: 0.375rem;
    --border-radius-sm: 0.25rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 0.75rem;
    --border-radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
    
    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
    box-sizing: border-box;
}

html {
    line-height: var(--line-height-base);
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 var(--spacing-md) 0;
    font-family: var(--font-family-heading);
    font-weight: 600;
    line-height: var(--line-height-tight);
    color: var(--text-primary);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin: 0 0 var(--spacing-md) 0;
    line-height: var(--line-height-relaxed);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

main {
    flex: 1;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

header {
    background: var(--bg-primary);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

nav {
    padding: var(--spacing-md) 0;
}

.logo h1 {
    color: var(--primary-color);
    margin: 0;
    font-size: var(--font-size-2xl);
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.logo a:hover,
.logo a:focus {
    color: var(--primary-dark);
    text-decoration: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

.hero-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
    color: var(--white);
}

.hero-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: var(--line-height-relaxed);
}

/* ==========================================================================
   Progress Bar
   ========================================================================== */

.progress-container {
    margin: var(--spacing-xl) auto var(--spacing-2xl);
    max-width: 500px;
}

.progress-label {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.progress-bar {
    background: rgba(255,255,255,0.3);
    border-radius: var(--border-radius-full);
    height: 20px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    background: linear-gradient(90deg, var(--success-color), #45a049);
    height: 100%;
    border-radius: var(--border-radius-full);
    transition: width 2s ease-in-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    animation: progress-shimmer 2s infinite;
}

@keyframes progress-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ==========================================================================
   Profile Wizard Styles
   ========================================================================== */

.profile-wizard {
    background: var(--bg-secondary);
    min-height: 100vh;
    padding: var(--spacing-xl) 0;
}

.step-indicators {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
   flex-wrap: wrap;
}

.step-label {
   padding: var(--spacing-sm) var(--spacing-md);
   background: var(--white);
   border: 2px solid var(--border-color);
   border-radius: var(--border-radius);
   font-size: var(--font-size-sm);
   font-weight: 500;
   color: var(--text-secondary);
   transition: all var(--transition-base);
}

.step-label.completed {
   background: var(--success-color);
   border-color: var(--success-color);
   color: var(--white);
}

.progress-info {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: var(--spacing-xl);
   font-size: var(--font-size-sm);
   color: var(--text-secondary);
}

.form-container {
   background: var(--white);
   border-radius: var(--border-radius-lg);
   box-shadow: var(--shadow-lg);
   padding: var(--spacing-2xl);
   margin-bottom: var(--spacing-xl);
}

.step-content {
   max-width: 800px;
   margin: 0 auto;
}

.step-header {
   text-align: center;
   margin-bottom: var(--spacing-2xl);
}

.step-header h2 {
   color: var(--primary-color);
   margin-bottom: var(--spacing-md);
}

.step-header p {
   color: var(--text-secondary);
   font-size: var(--font-size-lg);
}

/* ==========================================================================
  Form Styles
  ========================================================================== */

.form-section {
   margin-bottom: var(--spacing-2xl);
   padding-bottom: var(--spacing-xl);
   border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
   border-bottom: none;
   margin-bottom: 0;
}

.form-section h3 {
   color: var(--text-primary);
   margin-bottom: var(--spacing-sm);
   display: flex;
   align-items: center;
   gap: var(--spacing-sm);
}

.required {
   color: var(--danger-color);
   font-weight: 600;
}

.section-description {
   color: var(--text-secondary);
   margin-bottom: var(--spacing-lg);
   font-size: var(--font-size-sm);
   line-height: var(--line-height-relaxed);
}

.form-group {
   margin-bottom: var(--spacing-lg);
}

.form-group label {
   display: block;
   font-weight: 500;
   color: var(--text-primary);
   margin-bottom: var(--spacing-sm);
}

.form-group input[type="file"] {
   width: 100%;
   padding: var(--spacing-md);
   border: 2px dashed var(--border-color);
   border-radius: var(--border-radius);
   background: var(--bg-secondary);
   transition: all var(--transition-base);
   cursor: pointer;
}

.form-group input[type="file"]:hover {
   border-color: var(--primary-color);
   background: var(--white);
}

.form-group input[type="file"]:focus {
   outline: none;
   border-color: var(--primary-color);
   box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-text {
   font-size: var(--font-size-xs);
   color: var(--text-muted);
   margin-top: var(--spacing-sm);
   line-height: var(--line-height-base);
}

/* ==========================================================================
  Document Display Styles
  ========================================================================== */

.existing-documents {
   background: var(--bg-secondary);
   border-radius: var(--border-radius);
   padding: var(--spacing-lg);
   margin-bottom: var(--spacing-lg);
}

.existing-documents h4 {
   margin-bottom: var(--spacing-md);
   color: var(--text-primary);
   font-size: var(--font-size-base);
}

.document-item {
   display: flex;
   align-items: center;
   gap: var(--spacing-md);
   padding: var(--spacing-md);
   background: var(--white);
   border-radius: var(--border-radius);
   margin-bottom: var(--spacing-sm);
   box-shadow: var(--shadow-sm);
}

.document-item:last-child {
   margin-bottom: 0;
}

.document-icon {
   font-size: var(--font-size-xl);
   flex-shrink: 0;
}

.document-info {
   flex: 1;
}

.document-name {
   font-weight: 500;
   color: var(--text-primary);
   margin-bottom: var(--spacing-xs);
}

.document-meta {
   font-size: var(--font-size-xs);
   color: var(--text-muted);
   display: flex;
   align-items: center;
   gap: var(--spacing-md);
}

.status-badge {
   display: inline-block;
   padding: var(--spacing-xs) var(--spacing-sm);
   border-radius: var(--border-radius-sm);
   font-size: var(--font-size-xs);
   font-weight: 500;
   text-transform: uppercase;
   letter-spacing: 0.025em;
}

.status-verified {
   background: rgba(16, 185, 129, 0.1);
   color: var(--success-color);
}

.status-pending {
   background: rgba(245, 158, 11, 0.1);
   color: var(--warning-color);
}

.status-rejected {
   background: rgba(239, 68, 68, 0.1);
   color: var(--danger-color);
}

/* ==========================================================================
  Document Requirements Summary
  ========================================================================== */

.document-requirements-summary {
   background: linear-gradient(135deg, var(--info-color), var(--primary-color));
   color: var(--white);
   padding: var(--spacing-xl);
   border-radius: var(--border-radius-lg);
   margin-top: var(--spacing-2xl);
}

.document-requirements-summary h4 {
   color: var(--white);
   margin-bottom: var(--spacing-md);
}

.requirements-list {
   list-style: none;
   padding: 0;
   margin: 0 0 var(--spacing-lg) 0;
}

.requirements-list li {
   padding: var(--spacing-sm) 0;
   font-weight: 500;
}

.verification-note {
   background: rgba(255, 255, 255, 0.1);
   padding: var(--spacing-md);
   border-radius: var(--border-radius);
   margin: 0;
   font-size: var(--font-size-sm);
   line-height: var(--line-height-relaxed);
}

/* ==========================================================================
  Navigation Buttons
  ========================================================================== */

.wizard-navigation {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-top: var(--spacing-2xl);
   padding-top: var(--spacing-xl);
   border-top: 1px solid var(--border-color);
   gap: var(--spacing-md);
}

.nav-left,
.nav-center,
.nav-right {
   flex: 1;
}

.nav-center {
   text-align: center;
}

.nav-right {
   text-align: right;
}

/* ==========================================================================
  Button Styles
  ========================================================================== */

.btn {
   display: inline-block;
   padding: var(--spacing-md) var(--spacing-xl);
   font-size: var(--font-size-base);
   font-weight: 500;
   text-align: center;
   text-decoration: none;
   border: 1px solid transparent;
   border-radius: var(--border-radius);
   cursor: pointer;
   transition: all var(--transition-fast);
   line-height: var(--line-height-tight);
}

.btn:focus {
   outline: none;
   box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.btn-primary {
   background: var(--primary-color);
   border-color: var(--primary-color);
   color: var(--white);
}

.btn-primary:hover {
   background: var(--primary-dark);
   border-color: var(--primary-dark);
   color: var(--white);
   text-decoration: none;
}

.btn-secondary {
   background: var(--gray-500);
   border-color: var(--gray-500);
   color: var(--white);
}

.btn-secondary:hover {
   background: var(--gray-600);
   border-color: var(--gray-600);
   color: var(--white);
   text-decoration: none;
}

.btn-success {
   background: var(--success-color);
   border-color: var(--success-color);
   color: var(--white);
}

.btn-success:hover {
   background: #059669;
   border-color: #059669;
   color: var(--white);
   text-decoration: none;
}

.btn-outline {
   background: transparent;
   border-color: var(--border-color);
   color: var(--text-secondary);
}

.btn-outline:hover {
   background: var(--bg-secondary);
   color: var(--text-primary);
   text-decoration: none;
}

/* ==========================================================================
  Alert Styles
  ========================================================================== */

.alert {
   padding: var(--spacing-md) var(--spacing-lg);
   border-radius: var(--border-radius);
   margin-bottom: var(--spacing-lg);
   border: 1px solid transparent;
}

.alert-success {
   background: rgba(16, 185, 129, 0.1);
   border-color: rgba(16, 185, 129, 0.2);
   color: #047857;
}

.alert-danger {
   background: rgba(239, 68, 68, 0.1);
   border-color: rgba(239, 68, 68, 0.2);
   color: #b91c1c;
}

.alert-warning {
   background: rgba(245, 158, 11, 0.1);
   border-color: rgba(245, 158, 11, 0.2);
   color: #92400e;
}

.alert-info {
   background: rgba(59, 130, 246, 0.1);
   border-color: rgba(59, 130, 246, 0.2);
   color: #1e40af;
}

.error-list {
   list-style: none;
   padding: 0;
   margin: 0;
}

.error-list li {
   padding: var(--spacing-xs) 0;
}

/* ==========================================================================
  Footer Styles
  ========================================================================== */

footer {
   background: var(--gray-800);
   color: var(--white);
   padding: var(--spacing-2xl) 0 var(--spacing-lg);
   margin-top: auto;
}

.footer-content {
   text-align: center;
}

.footer-content h3 {
   color: var(--white);
   margin-bottom: var(--spacing-md);
}

.footer-content p {
   margin-bottom: var(--spacing-sm);
   opacity: 0.9;
}

/* ==========================================================================
  Admin Styles (for files starting with 'a')
  ========================================================================== */

.admin-header {
   background: #34495e;
   color: var(--white);
   padding: var(--spacing-md) 0;
}

.admin-nav {
   background: #2c3e50;
   padding: var(--spacing-sm) 0;
}

.admin-nav ul {
   list-style: none;
   display: flex;
   gap: var(--spacing-xl);
}

.admin-nav a {
   color: var(--white);
   text-decoration: none;
   padding: var(--spacing-sm) var(--spacing-md);
   border-radius: var(--border-radius-sm);
   transition: background var(--transition-fast);
}

.admin-nav a:hover,
.admin-nav a:focus {
   background: rgba(255,255,255,0.1);
   text-decoration: none;
}

.admin-content {
   padding: var(--spacing-xl) 0;
   min-height: 70vh;
}

.admin-card {
   background: var(--white);
   border-radius: var(--border-radius-lg);
   box-shadow: var(--shadow-md);
   padding: var(--spacing-xl);
   margin-bottom: var(--spacing-xl);
}

.admin-table {
   width: 100%;
   border-collapse: collapse;
   margin-top: var(--spacing-md);
}

.admin-table th,
.admin-table td {
   padding: var(--spacing-md);
   text-align: left;
   border-bottom: 1px solid var(--border-color);
}

.admin-table th {
   background: var(--bg-secondary);
   font-weight: 600;
   color: var(--text-primary);
}

.admin-table tr:hover {
   background: var(--bg-secondary);
}

/* ==========================================================================
  Responsive Design
  ========================================================================== */

@media (max-width: 768px) {
   .container {
       padding: 0 var(--spacing-md);
   }
   
   .hero-title {
       font-size: var(--font-size-3xl);
   }
   
   .hero-description {
       font-size: var(--font-size-base);
   }
   
   .step-indicators {
       flex-direction: column;
       gap: var(--spacing-sm);
       align-items: center;
   }
   
   .step-label {
       min-width: 200px;
       text-align: center;
   }
   
   .progress-info {
       flex-direction: column;
       gap: var(--spacing-sm);
       text-align: center;
   }
   
   .form-container {
       padding: var(--spacing-lg);
   }
   
   .wizard-navigation {
       flex-direction: column;
       gap: var(--spacing-md);
   }
   
   .nav-left,
   .nav-center,
   .nav-right {
       width: 100%;
       text-align: center;
   }
   
   .document-item {
       flex-direction: column;
       text-align: center;
       gap: var(--spacing-sm);
   }
   
   .document-meta {
       justify-content: center;
       flex-wrap: wrap;
   }
}

@media (max-width: 480px) {
   .hero-title {
       font-size: var(--font-size-2xl);
   }
   
   .step-header h2 {
       font-size: var(--font-size-xl);
   }
   
   .form-container {
       padding: var(--spacing-md);
   }
   
   .btn {
       width: 100%;
       margin-bottom: var(--spacing-sm);
   }
}

/* ==========================================================================
  Print Styles
  ========================================================================== */

@media print {
   .wizard-navigation,
   .step-indicators,
   .progress-container {
       display: none;
   }
   
   .form-container {
       box-shadow: none;
       border: 1px solid var(--border-color);
   }
}

/* ==========================================================================
  Accessibility Enhancements
  ========================================================================== */

@media (prefers-reduced-motion: reduce) {
   *,
   *::before,
   *::after {
       animation-duration: 0.01ms !important;
       animation-iteration-count: 1 !important;
       transition-duration: 0.01ms !important;
   }
   
   .progress-fill::after {
       animation: none;
   }
}

.sr-only {
   position: absolute;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   border: 0;
}

/* Focus styles for keyboard navigation */
input:focus,
button:focus,
a:focus {
   outline: 2px solid var(--primary-color);
   outline-offset: 2px;
}