/* ============================================
   Atechabad Academy Authentication Styles
   Matched with main site design system
   ============================================ */

:root {
    /* Emerald Green Palette - Matching main site */
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --emerald-300: #6ee7b7;
    --emerald-200: #a7f3d0;
    --emerald-100: #d1fae5;
    --emerald-50: #ecfdf5;

    /* Neutrals */
    --white: #ffffff;
    --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;

    /* Accents */
    --accent-coral: #f97316;
    --accent-blue: #3b82f6;
    --accent-red: #ef4444;

    /* Semantic */
    --primary-color: var(--emerald-800);
    --secondary-color: var(--emerald-700);
    --success-color: #059669;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;

    /* Shadows - Matching main site */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);

    /* Border Radius - Matching main site */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions - Matching main site */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================
   Background Pattern
   ============================================ */
body {
    background-color: var(--gray-50);
    background-image: url("../img/aabg.jpeg");
    background-repeat: repeat;
    background-size: 70%;
}

/* ============================================
   Flash Messages
   ============================================ */
.flash-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
}

.flash-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease-out;
    background: var(--white);
    backdrop-filter: blur(12px);
    border: 1px solid var(--gray-100);
}

.flash-success {
    border-left: 4px solid var(--success-color);
}

.flash-danger {
    border-left: 4px solid var(--danger-color);
}

.flash-warning {
    border-left: 4px solid var(--warning-color);
}

.flash-info {
    border-left: 4px solid var(--info-color);
}

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

.flash-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.flash-success .flash-icon {
    background: var(--emerald-100);
    color: var(--success-color);
}

.flash-danger .flash-icon {
    background: #fef2f2;
    color: var(--danger-color);
}

.flash-warning .flash-icon {
    background: #fffbeb;
    color: var(--warning-color);
}

.flash-info .flash-icon {
    background: #eff6ff;
    color: var(--info-color);
}

.flash-text {
    flex: 1;
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}

.flash-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--gray-400);
    transition: color var(--transition-fast);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
}

.flash-close:hover {
    color: var(--gray-700);
    background: var(--gray-100);
}

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

/* ============================================
   Auth Container
   ============================================ */
.auth-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* ============================================
   Visual Panel (Left Side)
   ============================================ */
.visual-panel {
    flex: 1;
    background: linear-gradient(160deg, #022c22 0%, #065f46 25%, #047857 60%, #10b981 100%);
    padding: 60px 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.visual-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 211, 153, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.visual-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 59px,
        rgba(255, 255, 255, 0.02) 59px,
        rgba(255, 255, 255, 0.02) 60px
    ),
    repeating-linear-gradient(
        90deg,
        transparent,
        transparent 59px,
        rgba(255, 255, 255, 0.02) 59px,
        rgba(255, 255, 255, 0.02) 60px
    );
    pointer-events: none;
}

.visual-content {
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.brand-logo {
    margin-bottom: 40px;
}

.brand-logo img {
    width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

.visual-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, var(--emerald-200), var(--emerald-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.visual-description {
    font-size: 1.05rem;
    margin-bottom: 40px;
    opacity: 0.85;
    line-height: 1.8;
    font-weight: 400;
}

/* Features */
.features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-base);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateX(6px);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    color: white;
}

.feature-text h3 {
    font-size: 1rem;
    margin-bottom: 3px;
    font-weight: 600;
}

.feature-text p {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Testimonial */
.testimonial {
    background: rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-icon {
    font-size: 2.5rem;
    opacity: 0.3;
    margin-bottom: 8px;
}

.quote-text {
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
    opacity: 0.9;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 46px;
    height: 46px;
    background: var(--accent-coral);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.author-role {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    padding: 18px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-base);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-3px);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Visual Links */
.visual-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.visual-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: all var(--transition-base);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    font-weight: 500;
}

.visual-link:hover {
    opacity: 1;
    border-bottom-color: var(--emerald-300);
}

/* Verification Illustration */
.verification-illustration {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

/* ============================================
   Form Panel (Right Side)
   ============================================ */
.form-panel {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

.form-content {
    width: 100%;
    max-width: 480px;
}

.form-header {
    text-align: center;
    margin-bottom: 36px;
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--emerald-800);
    margin-bottom: 8px;
    font-weight: 800;
}

.form-subtitle {
    font-size: 0.95rem;
    color: var(--gray-500);
    font-weight: 400;
}

/* ============================================
   Form Styles
   ============================================ */
.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--gray-400);
    pointer-events: none;
    z-index: 2;
    transition: color var(--transition-fast);
}

.input-wrapper.focused .input-icon {
    color: var(--emerald-600);
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all var(--transition-base);
    background: var(--white);
    color: var(--gray-800);
}

.form-input:focus {
    outline: none;
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--gray-400);
    transition: color var(--transition-fast);
    z-index: 2;
    border-radius: var(--radius-sm);
}

.password-toggle:hover {
    color: var(--emerald-600);
    background: var(--emerald-50);
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all var(--transition-base);
    border-radius: var(--radius-full);
}

.strength-text {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 10px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    margin-right: 10px;
    transition: all var(--transition-fast);
    position: relative;
    flex-shrink: 0;
}

.checkbox-input:checked + .checkbox-box {
    background: var(--emerald-600);
    border-color: var(--emerald-600);
}

.checkbox-input:checked + .checkbox-box::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 13px;
    font-weight: bold;
}

.checkbox-label {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.forgot-link,
.terms-link {
    color: var(--emerald-700);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.forgot-link:hover,
.terms-link:hover {
    color: var(--emerald-800);
    text-decoration: underline;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    margin-top: 10px;
}

.btn-secondary:hover {
    background: var(--gray-200);
    transform: translateY(-1px);
}

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

.btn-accent:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled .btn-text {
    display: none;
}

.btn:disabled .btn-loader {
    display: block;
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 28px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gray-200);
}

.divider span {
    position: relative;
    background: white;
    padding: 0 16px;
    color: var(--gray-400);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Social Login */
.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    background: var(--white);
    color: var(--gray-700);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: inherit;
    font-size: 0.9rem;
}

.btn-social:hover {
    border-color: var(--emerald-300);
    background: var(--emerald-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 20px;
}

.form-footer p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.form-footer p + p {
    margin-top: 8px;
}

.switch-form-link {
    color: var(--emerald-700);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.switch-form-link:hover {
    color: var(--emerald-800);
    text-decoration: underline;
}

/* Info Box */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--emerald-50);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--emerald-500);
    margin-bottom: 22px;
}

.info-box svg {
    color: var(--emerald-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-box p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

/* Resend Section */
.resend-section {
    text-align: center;
    margin-top: 20px;
}

.resend-section p {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* OTP Input */
.otp-input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 8px;
    font-weight: 700;
    font-family: 'Inter', monospace;
}

/* ============================================
   Dashboard Styles
   ============================================ */
.dashboard-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    background: linear-gradient(135deg, var(--emerald-900), var(--emerald-700));
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.2);
}

.dashboard-header .header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-logo {
    width: 150px;
    height: auto;
    filter: brightness(0) invert(1);
}

.user-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.user-name {
    font-weight: 600;
    font-size: 1rem;
}

.user-email {
    font-size: 0.85rem;
    opacity: 0.8;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.dashboard-main {
    flex: 1;
    padding: 40px 0;
}

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

.welcome-section {
    text-align: center;
    margin-bottom: 50px;
}

.welcome-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--emerald-800);
    margin-bottom: 10px;
    font-weight: 800;
}

.welcome-section p {
    font-size: 1.1rem;
    color: var(--gray-500);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.stat-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--emerald-200);
}

.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.stat-card .stat-content h3 {
    color: var(--gray-500);
    font-size: 0.8rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-card .stat-content p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-800);
}

.actions-section {
    margin-bottom: 50px;
}

.actions-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--emerald-800);
    margin-bottom: 28px;
    font-weight: 800;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.action-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: var(--gray-800);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--gray-100);
}

.action-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--emerald-200);
}

.action-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: white;
}

.action-card h3 {
    color: var(--emerald-800);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.action-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.info-banner {
    background: linear-gradient(135deg, var(--emerald-50), #e6f5f0);
    padding: 24px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--emerald-500);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-banner svg {
    color: var(--emerald-600);
    flex-shrink: 0;
    margin-top: 4px;
}

.info-banner h3 {
    color: var(--emerald-800);
    margin-bottom: 6px;
    font-weight: 700;
}

.info-banner p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.dashboard-footer {
    background: var(--gray-900);
    color: white;
    padding: 28px 0;
    margin-top: auto;
}

.dashboard-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-footer p {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--emerald-400);
}

/* ============================================
   Email Verification Styles
   ============================================ */
.verification-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    padding: 0 10px;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-400);
    font-weight: 500;
}

.step.active {
    color: var(--emerald-700);
}

.step.completed {
    color: var(--emerald-600);
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    border: 2px solid var(--gray-300);
    background: var(--white);
    flex-shrink: 0;
}

.step.active .step-number {
    background: var(--emerald-600);
    border-color: var(--emerald-600);
    color: white;
}

.step.completed .step-number {
    background: var(--emerald-600);
    border-color: var(--emerald-600);
    color: white;
}

.step-connector {
    width: 40px;
    height: 2px;
    background: var(--gray-200);
    flex-shrink: 0;
}

.step-connector.active {
    background: var(--emerald-500);
}

/* Timer display */
.otp-timer {
    text-align: center;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.otp-timer .timer-value {
    font-weight: 700;
    color: var(--emerald-700);
    font-variant-numeric: tabular-nums;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Large Desktop */
@media (min-width: 1400px) {
    .visual-panel {
        padding: 60px 60px;
    }
    .form-panel {
        padding: 60px 60px;
    }
    .visual-title {
        font-size: 2.8rem;
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .auth-container {
        flex-direction: column-reverse;
    }

    .visual-panel {
        min-height: auto;
        padding: 40px 30px;
    }

    .visual-title {
        font-size: 2rem;
    }

    .stats-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .visual-panel {
        padding: 30px 20px;
    }

    .brand-logo img {
        width: 150px;
    }

    .visual-title {
        font-size: 1.75rem;
    }

    .visual-description {
        font-size: 0.95rem;
    }

    .stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat-item {
        padding: 14px 8px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .form-panel {
        padding: 32px 20px;
    }

    .form-title {
        font-size: 1.6rem;
    }

    .social-login {
        grid-template-columns: 1fr;
    }

    .flash-container {
        max-width: calc(100% - 20px);
        left: 10px;
        right: 10px;
        top: 10px;
    }

    .dashboard-header .header-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .user-section {
        flex-direction: column;
        gap: 12px;
    }

    .user-info {
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-footer .container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }

    .info-banner {
        flex-direction: column;
        gap: 12px;
    }

    /* Verification steps */
    .verification-steps {
        gap: 8px;
    }
    .step-connector {
        width: 24px;
    }
    .step span:not(.step-number) {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .visual-title {
        font-size: 1.5rem;
    }

    .form-title {
        font-size: 1.4rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .welcome-section h1 {
        font-size: 1.6rem;
    }

    .actions-grid {
        grid-template-columns: 1fr;
    }

    .form-input {
        padding: 12px 14px 12px 44px;
        font-size: 0.9rem;
    }

    .btn {
        padding: 13px 24px;
        font-size: 0.9rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .visual-links {
        flex-direction: column;
        gap: 10px;
    }

    .verification-steps {
        gap: 6px;
    }
    .step-connector {
        width: 16px;
    }
}

/* Landscape Phone */
@media (max-height: 500px) and (orientation: landscape) {
    .auth-container {
        flex-direction: row;
    }
    .visual-panel {
        padding: 20px;
        min-height: auto;
    }
    .form-panel {
        padding: 20px;
    }
    .visual-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    .visual-description {
        display: none;
    }
    .features {
        margin-bottom: 15px;
    }
    .feature-item {
        padding: 8px;
        margin-bottom: 8px;
    }
    .testimonial {
        display: none;
    }
    .form-group {
        margin-bottom: 14px;
    }
    .form-header {
        margin-bottom: 16px;
    }
}
