/* ============================================
   AcilYanDal.com - Ana Stil Dosyası
   ============================================ */

:root {
    --ayd-primary: #dc3545;
    --ayd-primary-dark: #b02a37;
    --ayd-secondary: #1a1a2e;
    --ayd-accent: #fd7e14;
    --ayd-dark: #0f0c29;
    --ayd-navy: #16213e;
    --ayd-blue: #0a3d62;
    --ayd-success: #00b894;
    --ayd-warning: #fdcb6e;
    --ayd-gradient: linear-gradient(135deg, #dc3545, #fd7e14);
    --ayd-gradient-dark: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --ayd-font: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --ayd-mono: 'JetBrains Mono', monospace;
    --ayd-radius: 16px;
    --ayd-radius-sm: 10px;
    --ayd-shadow: 0 10px 40px rgba(0,0,0,0.08);
    --ayd-shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --ayd-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--ayd-font);
    background: #f8f9fc;
    color: #2d3436;
    overflow-x: hidden;
    line-height: 1.7;
}

/* ============ NAVBAR ============ */
.ayd-navbar {
    background: rgba(15, 12, 41, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 0.6rem 0;
    transition: var(--ayd-transition);
}
.ayd-navbar.scrolled {
    background: rgba(15, 12, 41, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.ayd-brand {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
}
.brand-icon { font-size: 1.8rem; }
.brand-text { color: #fff; }
.brand-highlight { color: var(--ayd-primary); }
.ayd-navbar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--ayd-radius-sm);
    transition: var(--ayd-transition);
}
.ayd-navbar .nav-link:hover { color: #fff !important; background: rgba(255,255,255,0.08); }
.ayd-navbar .nav-link i { margin-right: 4px; font-size: 0.85rem; }
.ayd-dropdown {
    background: var(--ayd-secondary);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--ayd-radius-sm);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    padding: 0.5rem;
}
.ayd-dropdown .dropdown-item {
    color: rgba(255,255,255,0.8);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: var(--ayd-transition);
}
.ayd-dropdown .dropdown-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
.ayd-dropdown .dropdown-item i { width: 20px; margin-right: 8px; }
.ayd-dropdown .dropdown-divider { border-color: rgba(255,255,255,0.08); }
.user-avatar-sm {
    width: 32px; height: 32px;
    background: var(--ayd-gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.8rem; color: #fff;
}
.ayd-btn-glow {
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.4);
    animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
    from { box-shadow: 0 0 10px rgba(220, 53, 69, 0.3); }
    to { box-shadow: 0 0 25px rgba(220, 53, 69, 0.6); }
}

/* ============ MAIN CONTENT ============ */
.ayd-main-content { padding-top: 76px; min-height: 80vh; }

/* ============ HERO ============ */
.ayd-hero {
    background: var(--ayd-gradient-dark);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.ayd-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(220,53,69,0.15), transparent 70%);
    animation: float 8s ease-in-out infinite;
}
.ayd-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(253,126,20,0.1), transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-30px) rotate(5deg); }
}
.ayd-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    position: relative;
}
.ayd-hero .lead { color: rgba(255,255,255,0.75); font-size: 1.2rem; }
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--ayd-radius-sm);
    border: 1px solid rgba(255,255,255,0.08);
}
.hero-stat .number { font-size: 2rem; font-weight: 800; color: var(--ayd-accent); }
.hero-stat .label { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }

/* ============ CARDS ============ */
.ayd-card {
    background: #fff;
    border-radius: var(--ayd-radius);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--ayd-shadow);
    transition: var(--ayd-transition);
    overflow: hidden;
    height: 100%;
}
.ayd-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ayd-shadow-lg);
    border-color: rgba(220,53,69,0.15);
}
.ayd-card .card-img-top {
    height: 180px;
    object-fit: cover;
}
.ayd-card .card-body { padding: 1.5rem; }
.ayd-card .card-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ayd-secondary);
    margin-bottom: 0.5rem;
}
.ayd-card .card-text { color: #636e72; font-size: 0.9rem; }
.ayd-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-free { background: var(--ayd-success); color: #fff; }
.badge-premium { background: var(--ayd-accent); color: #fff; }
.badge-locked { background: rgba(0,0,0,0.5); color: #fff; }

/* ============ EXAM CARD ============ */
.exam-card {
    border-left: 4px solid var(--ayd-primary);
    padding: 1.5rem;
    background: #fff;
    border-radius: 0 var(--ayd-radius) var(--ayd-radius) 0;
    margin-bottom: 1rem;
    box-shadow: var(--ayd-shadow);
    transition: var(--ayd-transition);
}
.exam-card:hover { transform: translateX(4px); box-shadow: var(--ayd-shadow-lg); }
.exam-card .exam-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--ayd-primary);
}
.exam-card .exam-title { font-weight: 700; font-size: 1.1rem; margin: 0.3rem 0; }
.exam-card .exam-meta { display: flex; gap: 1rem; font-size: 0.85rem; color: #636e72; flex-wrap: wrap; }
.exam-card .exam-meta i { color: var(--ayd-primary); }

/* ============ VIDEO CARD ============ */
.video-card { position: relative; }
.video-card .play-overlay {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 180px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: var(--ayd-transition);
}
.video-card:hover .play-overlay { opacity: 1; }
.play-overlay i { font-size: 3rem; color: #fff; }

/* ============ SPOT CARD ============ */
.spot-card {
    background: linear-gradient(135deg, var(--ayd-navy), var(--ayd-secondary));
    color: #fff;
    border-radius: var(--ayd-radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.spot-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 8rem;
    opacity: 0.05;
    font-weight: 800;
}
.spot-card .spot-title { font-weight: 700; margin-bottom: 1rem; }
.spot-card .spot-content { opacity: 0.85; font-size: 0.95rem; }
.spot-card .spot-tag {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    margin: 0.2rem;
}

/* ============ QUIZ / EXAM UI ============ */
.quiz-container { max-width: 900px; margin: 0 auto; }
.question-card {
    background: #fff;
    border-radius: var(--ayd-radius);
    padding: 2rem;
    box-shadow: var(--ayd-shadow);
    margin-bottom: 1.5rem;
}
.question-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: var(--ayd-gradient);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
}
.question-text { font-size: 1.1rem; font-weight: 500; margin: 1rem 0; line-height: 1.6; }
.option-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: var(--ayd-radius-sm);
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--ayd-transition);
    font-size: 0.95rem;
}
.option-label:hover { border-color: var(--ayd-primary); background: rgba(220,53,69,0.03); }
.option-label.selected { border-color: var(--ayd-primary); background: rgba(220,53,69,0.05); }
.option-label.correct { border-color: var(--ayd-success); background: rgba(0,184,148,0.08); }
.option-label.wrong { border-color: #e74c3c; background: rgba(231,76,60,0.08); }
.option-letter {
    width: 28px; height: 28px; min-width: 28px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.8rem;
    color: #636e72;
}
.option-label.selected .option-letter { background: var(--ayd-primary); color: #fff; border-color: var(--ayd-primary); }
.option-label.correct .option-letter { background: var(--ayd-success); color: #fff; border-color: var(--ayd-success); }
.option-label.wrong .option-letter { background: #e74c3c; color: #fff; border-color: #e74c3c; }

.exam-timer {
    position: sticky;
    top: 76px;
    z-index: 100;
    background: var(--ayd-secondary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--ayd-radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    box-shadow: var(--ayd-shadow-lg);
}
.timer-display { font-family: var(--ayd-mono); font-size: 1.8rem; font-weight: 700; color: var(--ayd-accent); }
.question-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 1rem;
}
.q-nav-btn {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ayd-transition);
    background: #fff;
    color: #2d3436;
}
.q-nav-btn.answered { background: var(--ayd-primary); color: #fff; border-color: var(--ayd-primary); }
.q-nav-btn.flagged { background: var(--ayd-warning); color: #000; border-color: var(--ayd-warning); }
.q-nav-btn.current { border-color: var(--ayd-accent); box-shadow: 0 0 0 3px rgba(253,126,20,0.3); }

/* ============ DASHBOARD ============ */
.dashboard-stat {
    background: #fff;
    border-radius: var(--ayd-radius);
    padding: 1.5rem;
    box-shadow: var(--ayd-shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--ayd-transition);
}
.dashboard-stat:hover { transform: translateY(-3px); }
.stat-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}
.stat-icon.red { background: var(--ayd-gradient); }
.stat-icon.blue { background: linear-gradient(135deg, #667eea, #764ba2); }
.stat-icon.green { background: linear-gradient(135deg, #00b894, #00cec9); }
.stat-icon.orange { background: linear-gradient(135deg, #fdcb6e, #e17055); }
.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--ayd-secondary); line-height: 1; }
.stat-label { font-size: 0.85rem; color: #636e72; }

/* ============ PLANS ============ */
.plan-card {
    background: #fff;
    border-radius: var(--ayd-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--ayd-shadow);
    position: relative;
    overflow: hidden;
    transition: var(--ayd-transition);
    height: 100%;
    border: 2px solid transparent;
}
.plan-card:hover { transform: translateY(-8px); box-shadow: var(--ayd-shadow-lg); }
.plan-card.featured {
    border-color: var(--ayd-primary);
    transform: scale(1.02);
}
.plan-card.featured::before {
    content: 'EN POPÜLER';
    position: absolute;
    top: 20px; right: -35px;
    background: var(--ayd-gradient);
    color: #fff;
    padding: 4px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
}
.plan-name { font-size: 1.3rem; font-weight: 700; color: var(--ayd-secondary); }
.plan-price { font-size: 3rem; font-weight: 800; color: var(--ayd-primary); margin: 1rem 0; }
.plan-price small { font-size: 1rem; color: #636e72; font-weight: 400; }
.plan-features { list-style: none; padding: 0; text-align: left; }
.plan-features li { padding: 8px 0; border-bottom: 1px solid #f1f2f6; font-size: 0.9rem; }
.plan-features li i { color: var(--ayd-success); margin-right: 8px; width: 18px; }
.plan-features li.disabled { color: #b2bec3; text-decoration: line-through; }
.plan-features li.disabled i { color: #b2bec3; }

/* ============ SURVEY ============ */
.survey-option {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--ayd-radius-sm);
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: var(--ayd-transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.survey-option:hover { border-color: var(--ayd-primary); }
.survey-option.voted { border-color: var(--ayd-primary); background: rgba(220,53,69,0.03); }
.survey-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 6px;
}
.survey-bar-fill { height: 100%; background: var(--ayd-gradient); border-radius: 4px; transition: width 1s ease; }

/* ============ SECTION TITLES ============ */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ayd-secondary);
    margin-bottom: 0.5rem;
}
.section-subtitle { color: #636e72; font-size: 1rem; margin-bottom: 2rem; }
.section-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(220,53,69,0.08);
    color: var(--ayd-primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* ============ BUTTONS ============ */
.btn-ayd {
    background: var(--ayd-gradient);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--ayd-radius-sm);
    font-weight: 600;
    transition: var(--ayd-transition);
}
.btn-ayd:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(220,53,69,0.35); color: #fff; }
.btn-ayd-outline {
    border: 2px solid var(--ayd-primary);
    color: var(--ayd-primary);
    padding: 10px 24px;
    border-radius: var(--ayd-radius-sm);
    font-weight: 600;
    background: transparent;
    transition: var(--ayd-transition);
}
.btn-ayd-outline:hover { background: var(--ayd-primary); color: #fff; }
.btn-ayd-dark {
    background: var(--ayd-secondary);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--ayd-radius-sm);
    font-weight: 600;
    transition: var(--ayd-transition);
}
.btn-ayd-dark:hover { background: var(--ayd-dark); color: #fff; transform: translateY(-2px); }

/* ============ PROGRESS ============ */
.progress-ring { position: relative; width: 120px; height: 120px; }
.progress-ring svg { transform: rotate(-90deg); }
.progress-ring circle { fill: none; stroke-width: 8; stroke-linecap: round; }
.progress-ring .bg { stroke: #e9ecef; }
.progress-ring .fg { stroke: var(--ayd-primary); transition: stroke-dashoffset 1s ease; }
.progress-ring .value {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem; font-weight: 800; color: var(--ayd-secondary);
}

/* ============ FOOTER ============ */
.ayd-footer {
    background: var(--ayd-dark);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}
.footer-brand { font-size: 1.5rem; font-weight: 800; color: #fff; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 1rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: var(--ayd-transition); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 50%;
    transition: var(--ayd-transition);
    text-decoration: none;
}
.social-links a:hover { background: var(--ayd-primary); transform: translateY(-3px); }

/* ============ POPUP ============ */
.ayd-popup-content {
    background: var(--ayd-gradient-dark);
    color: #fff;
    border: none;
    border-radius: var(--ayd-radius);
}
.popup-image { border-radius: var(--ayd-radius) var(--ayd-radius) 0 0; max-height: 250px; object-fit: cover; width: 100%; }

/* ============ AUTH PAGES ============ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ayd-gradient-dark);
    padding: 2rem;
}
.auth-card {
    background: rgba(255,255,255,0.97);
    border-radius: var(--ayd-radius);
    padding: 3rem;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--ayd-shadow-lg);
}
.auth-card .form-control {
    border-radius: var(--ayd-radius-sm);
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    font-size: 0.95rem;
}
.auth-card .form-control:focus { border-color: var(--ayd-primary); box-shadow: 0 0 0 3px rgba(220,53,69,0.1); }

/* ============ LEADERBOARD ============ */
.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--ayd-radius-sm);
    transition: var(--ayd-transition);
}
.leaderboard-item:hover { background: #f8f9fc; }
.rank-badge {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.9rem;
    background: #e9ecef; color: #636e72;
}
.rank-1 .rank-badge { background: linear-gradient(135deg, #f1c40f, #e67e22); color: #fff; }
.rank-2 .rank-badge { background: linear-gradient(135deg, #bdc3c7, #95a5a6); color: #fff; }
.rank-3 .rank-badge { background: linear-gradient(135deg, #e67e22, #d35400); color: #fff; }

/* ============ CATEGORY BADGES ============ */
.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(220,53,69,0.08);
    color: var(--ayd-primary);
}

/* ============ LOADING ============ */
.ayd-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}
.ayd-loader .spinner {
    width: 40px; height: 40px;
    border: 4px solid #e9ecef;
    border-top-color: var(--ayd-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ ADMIN ============ */
.admin-sidebar {
    background: var(--ayd-dark);
    min-height: 100vh;
    width: 260px;
    position: fixed;
    top: 0; left: 0;
    z-index: 1050;
    overflow-y: auto;
    transition: var(--ayd-transition);
}
.admin-sidebar .sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--ayd-transition);
    border-left: 3px solid transparent;
}
.admin-sidebar .sidebar-link:hover,
.admin-sidebar .sidebar-link.active {
    color: #fff;
    background: rgba(255,255,255,0.05);
    border-left-color: var(--ayd-primary);
}
.admin-sidebar .sidebar-link i { width: 20px; text-align: center; }
.admin-sidebar .sidebar-section {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.3);
    padding: 1.5rem 20px 0.5rem;
    font-weight: 700;
}
.admin-content { margin-left: 260px; padding: 2rem; min-height: 100vh; background: #f8f9fc; }
.admin-header {
    background: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -2rem -2rem 2rem;
}
.admin-card {
    background: #fff;
    border-radius: var(--ayd-radius);
    padding: 1.5rem;
    box-shadow: var(--ayd-shadow);
    margin-bottom: 1.5rem;
}
.admin-table { width: 100%; }
.admin-table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #636e72;
    font-weight: 600;
    padding: 12px;
    border-bottom: 2px solid #e9ecef;
}
.admin-table td { padding: 12px; vertical-align: middle; border-bottom: 1px solid #f1f2f6; }
.admin-table tr:hover td { background: #f8f9fc; }

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .ayd-hero h1 { font-size: 2.2rem; }
    .hero-stats { gap: 1rem; }
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-content { margin-left: 0; }
}
@media (max-width: 576px) {
    .ayd-hero { padding: 4rem 0 3rem; }
    .ayd-hero h1 { font-size: 1.8rem; }
    .plan-card.featured { transform: none; }
    .exam-timer { flex-direction: column; gap: 0.5rem; }
    .auth-card { padding: 2rem; }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f2f6; }
::-webkit-scrollbar-thumb { background: #b2bec3; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #636e72; }

/* ============ SELECTION ============ */
::selection { background: rgba(220,53,69,0.15); color: var(--ayd-primary-dark); }

/* ============ DARK MODE ============ */
[data-bs-theme="dark"] body { background: #1a1a2e; color: #e9ecef; }
[data-bs-theme="dark"] .ayd-card,
[data-bs-theme="dark"] .exam-card,
[data-bs-theme="dark"] .dashboard-stat,
[data-bs-theme="dark"] .question-card,
[data-bs-theme="dark"] .plan-card,
[data-bs-theme="dark"] .admin-card { background: var(--ayd-secondary); border-color: rgba(255,255,255,0.08); }
[data-bs-theme="dark"] .section-title { color: #fff; }
