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

body {
    font-family: 'Arial', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

/* --- HEADER & NAVIGATION --- */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-image {
    height: 80px;
    width: auto;
    border-radius: 6px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #007cba;
    text-decoration: underline;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 1px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(0,0,0,0.1);
}

/* --- BUTTONS --- */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}

.btn-primary {
    background: #007cba;
    color: white;
    box-shadow: 0 4px 15px rgba(0,124,186,0.3);
}

.btn-primary:hover {
    background: #005a87;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,124,186,0.4);
    text-decoration: none;
}

.btn-secondary {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(108,92,231,0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5f3dc4, #845ec2);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108,92,231,0.4);
    text-decoration: none;
}

.btn-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ff5252, #e53935);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    text-decoration: none;
}

.btn-warning {
    background: #f6ad55;
    color: white;
}

.btn-warning:hover {
    background: #f687b3;
    color: white;
    text-decoration: none;
}

/* /* --- NAVIGATION BUTTONS IN HEADER (FIXED) /* --- NAVIGATION BUTTONS IN HEADER (FIXED) --- */
.nav-links .btn {
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    white-space: nowrap !important;
    width: auto !important; /* Override global width: 100% */
    min-width: auto !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    text-align: center !important;
}

.nav-links .btn-primary {
    background: linear-gradient(135deg, #007cba, #005a87) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(0,124,186,0.3) !important;
    border: none !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    width: auto !important;
    letter-spacing: normal !important;
}

.nav-links .btn-primary:hover {
    background: linear-gradient(135deg, #005a87, #004066) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0,124,186,0.4) !important;
    text-decoration: none !important;
}

.nav-links .btn-secondary {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 8px rgba(108,92,231,0.3) !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    width: auto !important;
}

.nav-links .btn-secondary:hover {
    background: linear-gradient(135deg, #5f3dc4, #845ec2) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(108,92,231,0.4) !important;
    text-decoration: none !important;
}

.nav-links .btn-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3) !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    width: auto !important;
}

.nav-links .btn-danger:hover {
    background: linear-gradient(135deg, #ff5252, #e53935) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4) !important;
    text-decoration: none !important;
}

/* Override login page styles specifically for header buttons */
.login-page .nav-links .btn-primary {
    width: auto !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    background: linear-gradient(135deg, #007cba, #005a87) !important;
    border-radius: 20px !important;
    margin-top: 0 !important;
    letter-spacing: normal !important;
}

.login-page .nav-links .btn-primary:hover {
    background: linear-gradient(135deg, #005a87, #004066) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0,124,186,0.4) !important;
}

.login-page .nav-links .btn-secondary {
    width: auto !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe) !important;
    border-radius: 20px !important;
    margin-top: 0 !important;
}

.login-page .nav-links .btn-secondary:hover {
    background: linear-gradient(135deg, #5f3dc4, #845ec2) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(108,92,231,0.4) !important;
}

.login-page .nav-links .btn-danger {
    width: auto !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52) !important;
    border-radius: 20px !important;
    margin-top: 0 !important;
}

.login-page .nav-links .btn-danger:hover {
    background: linear-gradient(135deg, #ff5252, #e53935) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4) !important;
}--- */
.nav-links .btn {
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    white-space: nowrap !important;
    width: auto !important; /* Override global width: 100% */
    min-width: auto !important;
    line-height: 1.4 !important;
}

.nav-links .btn-primary {
    background: linear-gradient(135deg, #007cba, #005a87) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(0,124,186,0.3) !important;
    border: none !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    width: auto !important;
}

.nav-links .btn-primary:hover {
    background: linear-gradient(135deg, #005a87, #004066) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0,124,186,0.4) !important;
    text-decoration: none !important;
}

.nav-links .btn-secondary {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 8px rgba(108,92,231,0.3) !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    width: auto !important;
}

.nav-links .btn-secondary:hover {
    background: linear-gradient(135deg, #5f3dc4, #845ec2) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(108,92,231,0.4) !important;
    text-decoration: none !important;
}

.nav-links .btn-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3) !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    width: auto !important;
}

.nav-links .btn-danger:hover {
    background: linear-gradient(135deg, #ff5252, #e53935) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4) !important;
    text-decoration: none !important;
} */
.nav-links .btn {
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
}

/* --- CONTAINERS --- */
.container {
    max-width: 1000px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* --- LOGIN PAGE STYLES --- */
.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-header p {
    color: #666;
    font-size: 1rem;
}

/* --- FORM STYLES --- */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

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

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

/* --- MESSAGES --- */
.message,
.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
    border-width: 2px;
    border-style: solid;
}

.message.success,
.alert.success {
    background: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
    color: #155724;
}

.message.error,
.alert.error {
    background: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    color: #721c24;
}

.message.info,
.alert.info {
    background: rgba(23, 162, 184, 0.1);
    border-color: #17a2b8;
    color: #0c5460;
}

.message.warning,
.alert.warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
    color: #856404;
}

/* --- LOGIN/REGISTER SPECIFIC --- */
.switch-link {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.switch-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.switch-link a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

/* --- HOMEPAGE STYLES --- */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    color: white;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.user-welcome {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.user-welcome h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* --- FEATURES SECTION --- */
.features {
    background: white !important;
    padding: 4rem 2rem !important;
    color: #333 !important;
}

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

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333 !important;
}

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

.feature-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #007cba !important;
}

.feature-card p {
    color: #666 !important;
    line-height: 1.6;
}

/* --- PROEFEXAMEN SECTION --- */
.proefexamen-section {
    background: #f4f6f7;
    padding: 4rem 2rem !important;
    position: relative;
    overflow: hidden;
}

.proefexamen-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.proefexamen-header {
    margin-bottom: 3rem;
}

.hero-emoji {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: carBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
}

.proefexamen-header h2 {
    color: #2c3e50 !important;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: none;
    background: linear-gradient(45deg, #e74c3c, #f39c12, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.proefexamen-header p {
    color: #34495e !important;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 500;
}

.proefexamen-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #feca57) !important;
    color: white !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid white;
}

.proefexamen-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
    color: white !important;
    text-decoration: none;
}

.proefexamen-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.benefit-card {
    background: linear-gradient(135deg, #74b9ff, #0984e3) !important;
    color: white !important;
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(116, 185, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.benefit-card:hover::before {
    animation: shimmer 0.6s ease-in-out;
}

.benefit-card:hover {
    transform: translateY(-8px) rotate(2deg);
    box-shadow: 0 15px 40px rgba(116, 185, 255, 0.5);
}

.benefit-card:nth-child(2) {
    background: linear-gradient(135deg, #fd79a8, #e84393) !important;
    box-shadow: 0 8px 25px rgba(253, 121, 168, 0.3);
}

.benefit-card:nth-child(2):hover {
    box-shadow: 0 15px 40px rgba(253, 121, 168, 0.5);
    transform: translateY(-8px) rotate(-2deg);
}

.benefit-card:nth-child(3) {
    background: linear-gradient(135deg, #00b894, #00cec9) !important;
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.3);
}

.benefit-card:nth-child(3):hover {
    box-shadow: 0 15px 40px rgba(0, 184, 148, 0.5);
    transform: translateY(-8px) rotate(2deg);
}

.benefit-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

.benefit-card:nth-child(1) .benefit-emoji { animation-delay: 0s; }
.benefit-card:nth-child(2) .benefit-emoji { animation-delay: 0.3s; }
.benefit-card:nth-child(3) .benefit-emoji { animation-delay: 0.6s; }

.benefit-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: white !important;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.5;
    font-weight: 500;
}

.urgency-box {
    background: linear-gradient(135deg, #fdcb6e, #e17055) !important;
    color: white !important;
    padding: 2.5rem;
    border-radius: 25px;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(253, 203, 110, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.urgency-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: swing 2s ease-in-out infinite;
}

.urgency-box h3 {
    color: white !important;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.urgency-box p {
    color: white !important;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 500;
}

.cta-buttons {
    margin: 3rem 0;
}

.main-cta-section {
    margin-bottom: 2rem;
}

.main-cta-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid white;
}

.main-cta-btn.primary {
    background: linear-gradient(135deg, #00b894, #00cec9) !important;
    color: white !important;
}

.main-cta-btn.secondary {
    background: linear-gradient(135deg, #e17055, #d63031) !important;
    color: white !important;
}

.main-cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: white !important;
}

.user-status {
    margin-top: 1rem;
    color: #2c3e50 !important;
    font-weight: 600;
}

.login-section {
    margin: 1.5rem 0;
}

.login-link {
    color: #2c3e50 !important;
    text-decoration: underline;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-link:hover {
    color: #e74c3c !important;
    text-decoration: none;
}

.benefits-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: #2c3e50 !important;
    background: rgba(116, 185, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    border: 2px solid #74b9ff;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(116, 185, 255, 0.3);
    transform: translateY(-2px);
}

.benefit-item span:not(.checkmark) {
    color: #2c3e50 !important;
}

.checkmark {
    font-size: 1.3rem;
    color: #00b894 !important;
    font-weight: bold;
}

.pro-tip {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7) !important;
    color: white !important;
    padding: 2rem;
    border-radius: 20px;
    margin-top: 3rem;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}

.pro-tip p {
    color: white !important;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

.pro-tip strong {
    color: #fdcb6e !important;
    font-weight: 700;
}

/* --- ABOUT SECTION --- */
.about {
    background: white !important;
    padding: 4rem 2rem !important;
    color: #333 !important;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #333 !important;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-intro {
    font-size: 1.2rem;
    color: #666 !important;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.point-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.point-content h4 {
    font-size: 1.3rem;
    color: #333 !important;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.point-content p {
    color: #666 !important;
    line-height: 1.5;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #dee2e6;
}

.placeholder-content {
    text-align: center;
    color: #6c757d !important;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.mission, .vision {
    background: linear-gradient(135deg, #f8f9ff, #ffffff);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.mission h3, .vision h3 {
    color: #667eea !important;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.mission p, .vision p {
    color: #555 !important;
    line-height: 1.6;
}

/* --- PACKAGES SECTION --- */
.packages {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    padding: 4rem 2rem !important;
    color: #333 !important;
}

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

.packages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333 !important;
}

.packages-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666 !important;
    margin-bottom: 3rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.package-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid transparent;
}

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

.package-card.popular {
    border-color: #667eea;
    transform: scale(1.05);
}

.package-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.package-header h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
}

.period {
    font-size: 1.2rem;
    color: #666;
}

.package-features ul {
    list-style: none;
    padding: 0;
}

.package-features li {
    padding: 0.5rem 0;
    color: #666;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.package-btn {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* --- FAQ SECTION --- */
.faq-section {
    background: white !important;
    padding: 4rem 2rem !important;
    color: #333 !important;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h1,
.faq-header h2 {
    font-size: 2.5rem;
    color: #333 !important;
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-header p {
    font-size: 1.2rem;
    color: #666 !important;
    max-width: 600px;
    margin: 0 auto;
}

.faq-container {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.faq-question {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    margin: 0;
    color: #333 !important;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    padding-right: 1rem;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.8rem;
    font-weight: bold;
    color: #667eea;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #fff;
    padding: 0 2rem;
}

.faq-answer.active {
    max-height: 300px;
    padding: 1.5rem 2rem;
}

.faq-answer p {
    margin: 0;
    color: #555 !important;
    line-height: 1.6;
    font-size: 1rem;
}

.faq-contact {
    text-align: center;
    background: rgba(102, 126, 234, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.faq-contact h3 {
    color: #333 !important;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.faq-contact p {
    color: #666 !important;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* --- STATS SECTION --- */
.stats {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%) !important;
    color: white !important;
    padding: 3rem 2rem;
    text-align: center;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.stats .stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: white !important;
}

.stats .stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* --- CTA SECTION --- */
.cta {
    background: #f8f9fa !important;
    color: #333 !important;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333 !important;
}

.cta p {
    font-size: 1.2rem;
    color: #666 !important;
    margin-bottom: 2rem;
}

/* --- DASHBOARD STYLES --- */
.dashboard-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.dashboard-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    margin: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.dashboard-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.dashboard-header p {
    color: #666;
    font-size: 1.1rem;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.tab-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    margin: 0 2rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    min-height: 500px;
}

/* Overview Grid */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.overview-card {
    background: linear-gradient(135deg, #f8f9ff, #ffffff);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #667eea;
}

.overview-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

/* User Info Grid */
.user-info-card {
    grid-column: span 2;
}

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

.info-item {
    background: rgba(102, 126, 234, 0.1);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.info-item strong {
    display: block;
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Exam Stats Section */
.exam-stats-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e8f0fe, #f3e5f5);
    border-radius: 15px;
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.exam-stats-section h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

.exam-stats-section p {
    color: #666;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1rem;
}

/* Exam Center */
.exam-center-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.exam-card {
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.exam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: #667eea;
}

.exam-card.featured {
    border-color: #667eea;
    position: relative;
}


.exam-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.exam-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
    font-weight: 600;
}

.exam-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.exam-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.feature {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.exam-btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-container {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-container h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.danger-zone {
    grid-column: span 2;
    background: rgba(220, 53, 69, 0.05);
    border: 2px solid rgba(220, 53, 69, 0.2);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.danger-zone h4 {
    color: #dc3545;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.danger-zone p {
    color: #721c24;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.logout-section {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

/* --- CONTACT STYLES --- */
.contact-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.description {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* --- SAMPLE EXAM STYLES --- */
.sample-exam-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.sample-exam-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.sample-exam-container.results-view {
    max-width: 1200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 20px;
}

/* CBR-STYLE EXAM HEADER */
.exam-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.exam-header h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: none;
}

.exam-header p {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 0;
}

.welcome-message {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* CBR-STYLE EXAM INTRODUCTION */
.exam-intro {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.exam-intro h2 {
    color: #333;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.intro-content {
    margin-bottom: 3rem;
}

.intro-list h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.intro-list ul {
    list-style: none;
    padding: 0;
}

.intro-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.intro-list li i {
    color: #667eea;
    font-size: 1.3rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.intro-list li span {
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
}

.timer-info {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.timer-info h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.timer-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.start-exam-section {
    text-align: center;
    margin-top: 3rem;
}

/* CBR-STYLE EXAM TIMER */
.exam-timer {
    position: fixed;
    top: 90px;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    z-index: 1000;
    border: 2px solid #28a745;
}

.exam-timer.warning {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
}

.exam-timer.danger {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
    animation: pulse 1s infinite;
}

/* CBR-STYLE FIXED EXAM HEADER */
.exam-header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 3px solid #667eea;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem 2rem;
}

.exam-header-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.exam-progress-section {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
}

.exam-progress-text {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
}

.exam-overview-section {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.exam-overview-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.question-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(35px, 1fr));
    gap: 0.5rem;
    max-width: 500px;
}

.question-dot {
    width: 35px;
    height: 35px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    background: white;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.question-dot:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transform: scale(1.05);
}

.question-dot.answered {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.question-dot.current {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #28a745;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: #666;
}

.progress-percentage {
    font-weight: 700;
    color: #667eea;
}

/* Adjust main content to account for fixed header */
.sample-exam-page .exam-content {
    margin-top: 140px; /* Space for fixed header */
    margin-bottom: 100px; /* Space for footer */
}



/* CBR-STYLE QUESTION CONTAINER */
.question-container {
    padding: 2rem;
    min-height: 500px;
}

.question {
    background: white;
    padding: 0;
    border-radius: 0;
    border: none;
    display: flex;
    flex-direction: column;
}

.question-number {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.question-text {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.5;
    font-weight: 600;
}

.question-image {
    text-align: center;
    margin: 2rem 0;
}

.question-image img {
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid #e9ecef;
}

.placeholder {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    color: #6c757d;
    border: 2px dashed #dee2e6;
    max-width: 250px;
    margin: 0 auto;
    text-align: center;
    font-size: 1rem;
}

.placeholder small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #999;
}

/* CBR-STYLE OPTIONS */
.options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
    justify-content: center;
    margin-top: 1rem;
}

.option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.option:hover {
    background: rgba(102, 126, 234, 0.05);
    border-color: #667eea;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.option.selected {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.option input/* filepath: /home/lazor/shop/zielaan/assets/css/desktop.css */
/* --- BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

/* --- HEADER & NAVIGATION --- */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-image {
    height: 80px;
    width: auto;
    border-radius: 6px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #007cba;
    text-decoration: underline;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 1px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(0,0,0,0.1);
}

/* --- BUTTONS --- */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}

.btn-primary {
    background: #007cba;
    color: white;
    box-shadow: 0 4px 15px rgba(0,124,186,0.3);
}

.btn-primary:hover {
    background: #005a87;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,124,186,0.4);
    text-decoration: none;
}

.btn-secondary {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(108,92,231,0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5f3dc4, #845ec2);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108,92,231,0.4);
    text-decoration: none;
}

.btn-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ff5252, #e53935);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    text-decoration: none;
}

.btn-warning {
    background: #f6ad55;
    color: white;
}

.btn-warning:hover {
    background: #f687b3;
    color: white;
    text-decoration: none;
}

/* Navigation buttons in header */
.nav-links .btn {
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
}

/* --- CONTAINERS --- */
.container {
    max-width: 1000px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* --- LOGIN PAGE STYLES --- */
.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-header p {
    color: #666;
    font-size: 1rem;
}

/* --- FORM STYLES --- */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

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

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

/* --- MESSAGES --- */
.message,
.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
    border-width: 2px;
    border-style: solid;
}

.message.success,
.alert.success {
    background: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
    color: #155724;
}

.message.error,
.alert.error {
    background: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    color: #721c24;
}

.message.info,
.alert.info {
    background: rgba(23, 162, 184, 0.1);
    border-color: #17a2b8;
    color: #0c5460;
}

.message.warning,
.alert.warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
    color: #856404;
}

/* --- LOGIN/REGISTER SPECIFIC --- */
.switch-link {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.switch-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.switch-link a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

/* --- HOMEPAGE STYLES --- */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    color: white;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.user-welcome {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.user-welcome h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* --- FEATURES SECTION --- */
.features {
    background: white !important;
    padding: 4rem 2rem !important;
    color: #333 !important;
}

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

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333 !important;
}

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

.feature-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #007cba !important;
}

.feature-card p {
    color: #666 !important;
    line-height: 1.6;
}

/* --- PROEFEXAMEN SECTION --- */
.proefexamen-section {
    background: #f4f6f7;
    padding: 4rem 2rem !important;
    position: relative;
    overflow: hidden;
}

.proefexamen-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.proefexamen-header {
    margin-bottom: 3rem;
}

.hero-emoji {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: carBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
}

.proefexamen-header h2 {
    color: #2c3e50 !important;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: none;
    background: linear-gradient(45deg, #e74c3c, #f39c12, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.proefexamen-header p {
    color: #34495e !important;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 500;
}

.proefexamen-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #feca57) !important;
    color: white !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid white;
}

.proefexamen-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
    color: white !important;
    text-decoration: none;
}

.proefexamen-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.benefit-card {
    background: linear-gradient(135deg, #74b9ff, #0984e3) !important;
    color: white !important;
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(116, 185, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.benefit-card:hover::before {
    animation: shimmer 0.6s ease-in-out;
}

.benefit-card:hover {
    transform: translateY(-8px) rotate(2deg);
    box-shadow: 0 15px 40px rgba(116, 185, 255, 0.5);
}

.benefit-card:nth-child(2) {
    background: linear-gradient(135deg, #fd79a8, #e84393) !important;
    box-shadow: 0 8px 25px rgba(253, 121, 168, 0.3);
}

.benefit-card:nth-child(2):hover {
    box-shadow: 0 15px 40px rgba(253, 121, 168, 0.5);
    transform: translateY(-8px) rotate(-2deg);
}

.benefit-card:nth-child(3) {
    background: linear-gradient(135deg, #00b894, #00cec9) !important;
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.3);
}

.benefit-card:nth-child(3):hover {
    box-shadow: 0 15px 40px rgba(0, 184, 148, 0.5);
    transform: translateY(-8px) rotate(2deg);
}

.benefit-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

.benefit-card:nth-child(1) .benefit-emoji { animation-delay: 0s; }
.benefit-card:nth-child(2) .benefit-emoji { animation-delay: 0.3s; }
.benefit-card:nth-child(3) .benefit-emoji { animation-delay: 0.6s; }

.benefit-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: white !important;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.5;
    font-weight: 500;
}

.urgency-box {
    background: linear-gradient(135deg, #fdcb6e, #e17055) !important;
    color: white !important;
    padding: 2.5rem;
    border-radius: 25px;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(253, 203, 110, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.urgency-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: swing 2s ease-in-out infinite;
}

.urgency-box h3 {
    color: white !important;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.urgency-box p {
    color: white !important;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 500;
}

.cta-buttons {
    margin: 3rem 0;
}

.main-cta-section {
    margin-bottom: 2rem;
}

.main-cta-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid white;
}

.main-cta-btn.primary {
    background: linear-gradient(135deg, #00b894, #00cec9) !important;
    color: white !important;
}

.main-cta-btn.secondary {
    background: linear-gradient(135deg, #e17055, #d63031) !important;
    color: white !important;
}

.main-cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: white !important;
}

.user-status {
    margin-top: 1rem;
    color: #2c3e50 !important;
    font-weight: 600;
}

.login-section {
    margin: 1.5rem 0;
}

.login-link {
    color: #2c3e50 !important;
    text-decoration: underline;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-link:hover {
    color: #e74c3c !important;
    text-decoration: none;
}

.benefits-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: #2c3e50 !important;
    background: rgba(116, 185, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    border: 2px solid #74b9ff;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(116, 185, 255, 0.3);
    transform: translateY(-2px);
}

.benefit-item span:not(.checkmark) {
    color: #2c3e50 !important;
}

.checkmark {
    font-size: 1.3rem;
    color: #00b894 !important;
    font-weight: bold;
}

.pro-tip {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7) !important;
    color: white !important;
    padding: 2rem;
    border-radius: 20px;
    margin-top: 3rem;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}

.pro-tip p {
    color: white !important;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

.pro-tip strong {
    color: #fdcb6e !important;
    font-weight: 700;
}

/* --- ABOUT SECTION --- */
.about {
    background: white !important;
    padding: 4rem 2rem !important;
    color: #333 !important;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #333 !important;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-intro {
    font-size: 1.2rem;
    color: #666 !important;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.point-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.point-content h4 {
    font-size: 1.3rem;
    color: #333 !important;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.point-content p {
    color: #666 !important;
    line-height: 1.5;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #dee2e6;
}

.placeholder-content {
    text-align: center;
    color: #6c757d !important;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.mission, .vision {
    background: linear-gradient(135deg, #f8f9ff, #ffffff);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.mission h3, .vision h3 {
    color: #667eea !important;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.mission p, .vision p {
    color: #555 !important;
    line-height: 1.6;
}

/* --- PACKAGES SECTION --- */
.packages {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    padding: 4rem 2rem !important;
    color: #333 !important;
}

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

.packages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333 !important;
}

.packages-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666 !important;
    margin-bottom: 3rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.package-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid transparent;
}

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

.package-card.popular {
    border-color: #667eea;
    transform: scale(1.05);
}

.package-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.package-header h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
}

.period {
    font-size: 1.2rem;
    color: #666;
}

.package-features ul {
    list-style: none;
    padding: 0;
}

.package-features li {
    padding: 0.5rem 0;
    color: #666;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.package-btn {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* --- FAQ SECTION --- */
.faq-section {
    background: white !important;
    padding: 4rem 2rem !important;
    color: #333 !important;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h1,
.faq-header h2 {
    font-size: 2.5rem;
    color: #333 !important;
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-header p {
    font-size: 1.2rem;
    color: #666 !important;
    max-width: 600px;
    margin: 0 auto;
}

.faq-container {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.faq-question {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    margin: 0;
    color: #333 !important;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    padding-right: 1rem;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.8rem;
    font-weight: bold;
    color: #667eea;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #fff;
    padding: 0 2rem;
}

.faq-answer.active {
    max-height: 300px;
    padding: 1.5rem 2rem;
}

.faq-answer p {
    margin: 0;
    color: #555 !important;
    line-height: 1.6;
    font-size: 1rem;
}

.faq-contact {
    text-align: center;
    background: rgba(102, 126, 234, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.faq-contact h3 {
    color: #333 !important;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.faq-contact p {
    color: #666 !important;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* --- STATS SECTION --- */
.stats {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%) !important;
    color: white !important;
    padding: 3rem 2rem;
    text-align: center;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.stats .stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: white !important;
}

.stats .stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* --- CTA SECTION --- */
.cta {
    background: #f8f9fa !important;
    color: #333 !important;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333 !important;
}

.cta p {
    font-size: 1.2rem;
    color: #666 !important;
    margin-bottom: 2rem;
}

/* --- DASHBOARD STYLES --- */
.dashboard-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.dashboard-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    margin: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.dashboard-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.dashboard-header p {
    color: #666;
    font-size: 1.1rem;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: #404077;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.tab-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    margin: 0 2rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    min-height: 500px;
}

/* Overview Grid */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.overview-card {
    background: linear-gradient(135deg, #f8f9ff, #ffffff);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #667eea;
}

.overview-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

/* User Info Grid */
.user-info-card {
    grid-column: span 2;
}

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

.info-item {
    background: rgba(102, 126, 234, 0.1);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.info-item strong {
    display: block;
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Exam Stats Section */
.exam-stats-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e8f0fe, #f3e5f5);
    border-radius: 15px;
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.exam-stats-section h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

.exam-stats-section p {
    color: #666;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1rem;
}

/* Exam Center */
.exam-center-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.exam-card {
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.exam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: #667eea;
}

.exam-card.featured {
    border-color: #667eea;
    position: relative;
}



.exam-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.exam-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
    font-weight: 600;
}

.exam-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.exam-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.feature {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.exam-btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-container {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-container h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.danger-zone {
    grid-column: span 2;
    background: rgba(220, 53, 69, 0.05);
    border: 2px solid rgba(220, 53, 69, 0.2);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.danger-zone h4 {
    color: #dc3545;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.danger-zone p {
    color: #721c24;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.logout-section {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

/* --- CONTACT STYLES --- */
.contact-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.description {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* --- SAMPLE EXAM STYLES --- */
.sample-exam-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.sample-exam-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.sample-exam-container.results-view {
    max-width: 1200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 20px;
}

/* CBR-STYLE EXAM HEADER */
.exam-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.exam-header h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: none;
}

.exam-header p {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 0;
}

.welcome-message {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* CBR-STYLE EXAM INTRODUCTION */
.exam-intro {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.exam-intro h2 {
    color: #333;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.intro-content {
    margin-bottom: 3rem;
}

.intro-list h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.intro-list ul {
    list-style: none;
    padding: 0;
}

.intro-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.intro-list li i {
    color: #667eea;
    font-size: 1.3rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.intro-list li span {
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
}

.timer-info {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.timer-info h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.timer-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.start-exam-section {
    text-align: center;
    margin-top: 3rem;
}

/* CBR-STYLE EXAM TIMER */
.exam-timer {
    position: fixed;
    top: 9px;
    right: 2rem;
    background: rgb(40, 167, 69);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    z-index: 1000;
    border: 2px solid #28a745;
}

.exam-timer.warning {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
}

.exam-timer.danger {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
    animation: pulse 1s infinite;
}

/* CBR-STYLE FIXED EXAM HEADER */
.exam-header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 3px solid #667eea;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem 2rem;
}

.exam-header-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.exam-progress-section {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
}

.exam-progress-text {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
}

.exam-overview-section {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.exam-overview-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.question-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(35px, 1fr));
    gap: 0.5rem;
    max-width: 500px;
}

.question-dot {
    width: 35px;
    height: 35px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    background: white;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.question-dot:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transform: scale(1.05);
}

.question-dot.answered {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.question-dot.current {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #28a745;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: #666;
}

.progress-percentage {
    font-weight: 700;
    color: #667eea;
}

/* Adjust main content to account for fixed header */
.sample-exam-page .exam-content {
    margin-top: 140px; /* Space for fixed header */
    margin-bottom: 100px; /* Space for footer */
}

/* Remove old question overview and counter from content */
.exam-content .question-overview,
.exam-content .question-counter {
    display: none;
}

/* CBR-STYLE QUESTION CONTAINER */
.question-container {
    padding: 2rem;
    min-height: 500px;
}

.question {
    background: white;
    padding: 0;
    border-radius: 0;
    border: none;
    display: flex;
    flex-direction: column;
}

.question-number {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.question-text {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.5;
    font-weight: 600;
}

.question-image {
    text-align: center;
    margin: 2rem 0;
}

.question-image img {
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid #e9ecef;
}

.placeholder {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    color: #6c757d;
    border: 2px dashed #dee2e6;
    max-width: 250px;
    margin: 0 auto;
    text-align: center;
    font-size: 1rem;
}

.placeholder small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #999;
}

/* CBR-STYLE OPTIONS */
.options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
    justify-content: center;
    margin-top: 1rem;
}

.option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.option:hover {
    background: rgba(102, 126, 234, 0.05);
    border-color: #667eea;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.option.selected {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.option input   {
    display: none;
}
.option input + label {
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}                   

.option input[type="radio"] {
    margin: 0;
    transform: scale(1.1);
    accent-color: #667eea;
}

.option label {
    cursor: pointer;
    font-size: 1rem;
    color: #2c3e50;
    line-height: 1.5;
    flex: 1;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.option-letter {
    background: #667eea;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 2rem;
    text-align: center;
    flex-shrink: 0;
}

/* --- FIXED FOOTER NAVIGATION --- */
.exam-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem 2rem;
    border-top: 3px solid #667eea;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    z-index: 1000;
    height: 80px;
    box-sizing: border-box;
}

.footer-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
    text-decoration: none;
    min-height: 45px;
}

.footer-btn.prev-btn {
    background: #6c757d;
    color: white;
    justify-self: start;
}

.footer-btn.prev-btn:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.footer-btn.prev-btn:not(:disabled):hover {
    background: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.footer-btn.next-btn {
    background: #28a745;
    color: white;
    justify-self: end;
}

.footer-btn.next-btn:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.footer-indicator {
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 15px;
    text-align: center;
    white-space: nowrap;
    border: 2px solid #667eea;
    justify-self: center;
}

/* --- CBR-STYLE SUBMIT SECTION --- */
.submit-section {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 0;
    border: none;
    margin-bottom: 100px; /* Space for footer */
}

.final-check h3 {
    color: #2c3e50;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.final-check p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.summary {
    margin: 2rem 0;
}

.summary-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-size: 1rem;
    color: #2c3e50;
    border: 2px solid #e9ecef;
    font-weight: 600;
}

.warning {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #ffc107;
    color: #856404;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-weight: 600;
}

/* --- CBR-STYLE EXAM BUTTONS --- */
.exam-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
    font-size: 0.9rem;
    margin: 0.5rem;
}

.exam-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    text-decoration: none;
}

.exam-btn:not(.secondary) {
    background: #28a745;
    color: white;
}

.exam-btn:not(.secondary):hover {
    background: #218838;
    color: white;
}

.exam-btn.secondary {
    background: #6c757d;
    color: white;
}

.exam-btn.secondary:hover {
    background: #5a6268;
    color: white;
}

/* Hide footer during submit section */
.submit-section[style*="display: block"] ~ .exam-footer {
    display: none;
}

/* --- CBR-STYLE RESULTS SECTION --- */
.results {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.score {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.score.passed {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.score.failed {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.score-text {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    font-weight: 600;
    color: #2c3e50;
}

.results-container {
    text-align: left;
    margin: 3rem 0;
}

.question-result {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 6px solid;
}

.question-result.correct {
    border-left-color: #28a745;
    background: rgba(40, 167, 69, 0.02);
}

.question-result.incorrect {
    border-left-color: #dc3545;
    background: rgba(220, 53, 69, 0.02);
}

.question-result strong {
    color: #2c3e50;
    font-size: 1.1rem;
}

.question-result p {
    margin: 1rem 0;
    line-height: 1.6;
    color: #555;
}

.explanation {
    background: rgba(102, 126, 234, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid #667eea;
}

.explanation strong {
    color: #667eea;
}

.cta-box {
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-box.success {
    background: rgba(40, 167, 69, 0.1);
    border: 2px solid #28a745;
    color: #155724;
}

.cta-box.warning {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #ffc107;
    color: #856404;
}

/* --- CBR-STYLE BACK BUTTON --- */
.back-to-dashboard {
    position: fixed;
    top: 5px;
    left: 10px;
    background: rgba(73, 80, 87, 0.9);
    color: white;
    border: none;
    border-radius: 4px;
    width: 40px;
    height: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.back-to-dashboard:hover {
    background: rgba(52, 58, 64, 0.9);
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

/* Hide back button on results page */
.sample-exam-page.results-view .back-to-dashboard {
    display: none;
}

/* --- SCROLL TO TOP --- */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* --- ANIMATIONS --- */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

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

@keyframes carBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@keyframes swing {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.question {
    animation: fadeIn 0.2s ease;
}

/* --- FOOTER --- */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

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

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

.footer-section h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: #666;
    text-decoration: none;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: #667eea;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 2rem;
    color: #666;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
    text-decoration: underline;
}

/* --- RESPONSIVE UTILITY CLASSES --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

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

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

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

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* --- PRINT STYLES --- */
@media print {
    .header,
    .footer,
    .scroll-to-top,
    .exam-timer,
    .back-to-dashboard,
    .exam-footer,
    .exam-header-fixed {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .container,
    .exam-content,
    .question {
        background: white !important;
        box-shadow: none !important;
        border: none !important;
    }
    
    .question {
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
    
    .option {
        border: 1px solid #ccc !important;
        background: white !important;
    }
}

/* --- HIGH CONTRAST MODE --- */
@media (prefers-contrast: high) {
    .btn,
    .exam-btn,
    .footer-btn {
        border: 2px solid currentColor;
    }
    
    .question-dot {
        border-width: 3px;
    }
    
    .option {
        border-width: 3px;
    }
    
    .progress-bar {
        border: 2px solid #333;
    }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .question {
        animation: none;
    }
    
    .hero-emoji,
    .benefit-emoji,
    .urgency-emoji {
        animation: none;
    }
}

/* --- DARK MODE SUPPORT (if needed in future) --- */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1a1a1a;
        --bg-secondary: #2d2d2d;
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
        --border-color: #444444;
    }
    
    /* Dark mode styles would go here if implemented */
}

/* --- COMPLETE BUTTON STYLES --- */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary {
    background: linear-gradient(135deg, #007cba, #005a87);
    color: white;
    box-shadow: 0 4px 15px rgba(0,124,186,0.3);
    border: 2px solid transparent;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #005a87, #004066);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,124,186,0.4);
    text-decoration: none;
    border-color: transparent;
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,124,186,0.3);
}

/* Login page specific button styling */
.login-page .btn-primary {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.login-page .btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a42a0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.login-page .btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.login-page .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Secondary button styles */
.btn-secondary {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(108,92,231,0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5f3dc4, #845ec2);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108,92,231,0.4);
    text-decoration: none;
}

/* Danger button styles */
.btn-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ff5252, #e53935);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    text-decoration: none;
}

/* Warning button styles */
.btn-warning {
    background: linear-gradient(135deg, #f6ad55, #f687b3);
    color: white;
    box-shadow: 0 4px 15px rgba(246, 173, 85, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #f687b3, #ed64a6);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 173, 85, 0.4);
    text-decoration: none;
}

/* Success button styles */
.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    text-decoration: none;
}

/* Form submit buttons */
input[type="submit"].btn-primary,
button[type="submit"].btn-primary {
    width: 100%;
    cursor: pointer;
    font-family: inherit;
}

/* Disabled button states */
.btn:disabled,
.btn-primary:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    border-color: #e9ecef;
}

.btn:disabled:hover,
.btn-primary:disabled:hover {
    background: #e9ecef;
    color: #6c757d;
    transform: none;
    box-shadow: none;
}

/* Button loading state */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Small button variant */
.btn.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 20px;
}

/* Large button variant */
.btn.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.25rem;
    border-radius: 30px;
}

/* Block button (full width) */
.btn.btn-block {
    width: 100%;
    display: block;
}

/* Button group styles */
.btn-group {
    display: inline-flex;
    gap: 0.5rem;
}

.btn-group .btn {
    flex: 1;
}

/* Responsive button adjustments */
@media (max-width: 768px) {
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
    
    .login-page .btn-primary {
        padding: 1.125rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .btn.btn-sm {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .btn.btn-lg {
        padding: 1.125rem 1.75rem;
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .login-page .btn-primary {
        padding: 1.25rem 1.5rem;
        font-size: 1.1rem;
        border-radius: 10px;
    }
}

/* --- TEXT LOGO STYLES --- */
.logo.text-logo {
    font-size: 2rem;
    font-weight: 800;
    color: #667eea;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: -0.5px;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.logo.text-logo:hover {
    color: #5a6fd8;
    text-decoration: none;
    transform: scale(1.05);
    text-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Remove any existing logo image styles */
.logo-image {
    display: none;
}

/* Override any existing logo styles that might add squares/borders */
.logo {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* --- HERO SECTION BUTTON FIXES --- */
.hero-buttons .btn {
    padding: 0.8rem 2rem !important;
    border-radius: 25px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    white-space: nowrap !important;
    width: auto !important;
    min-width: 200px !important;
    line-height: 1.5 !important;
    margin: 0.5rem !important;
    text-align: center !important;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #007cba, #005a87) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(0,124,186,0.3) !important;
    border: 2px solid transparent !important;
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #005a87, #004066) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0,124,186,0.4) !important;
    text-decoration: none !important;
}

.hero-buttons .btn-secondary {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe) !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 15px rgba(108,92,231,0.3) !important;
}

.hero-buttons .btn-secondary:hover {
    background: linear-gradient(135deg, #5f3dc4, #845ec2) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(108,92,231,0.4) !important;
    text-decoration: none !important;
}

/* Override for user welcome section buttons */
.user-welcome .hero-buttons .btn {
    padding: 0.8rem 2rem !important;
    font-size: 1rem !important;
    min-width: 180px !important;
    border-radius: 25px !important;
}

/* Make sure hero buttons display properly */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* --- SECTION BACKGROUND COLOR VARIANTS --- */
.packages-white,
.faq-white,
.stats-white {
    background: #ffffff;
    color: #333333;
}

.about-gray,
.cta-gray {
    background: #f8f9fa;
    color: #333333;
}

/* Override existing background colors */
.packages.packages-white {
    background: #ffffff !important;
}

.about.about-gray {
    background: #f8f9fa !important;
}

.faq-section.faq-white {
    background: #ffffff !important;
}

.cta.cta-gray {
    background: #f8f9fa !important;
}

.stats.stats-white {
    background: #ffffff !important;
}

/* --- EXAM PROGRESS ELEMENTS (KEEP THESE) --- */
.question-overview {
    background: #f8f9fa !important;
    padding: 1.5rem 2rem !important;
    border-bottom: 2px solid #e9ecef !important;
    display: block !important;
    visibility: visible !important;
}

.question-counter {
    background: white !important;
    padding: 1.5rem 2rem !important;
    border-bottom: 2px solid #e9ecef !important;
    text-align: center !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    display: block !important;
    visibility: visible !important;
}

.question-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)) !important;
    gap: 0.6rem !important;
    max-width: 100% !important;
    justify-content: center !important;
    visibility: visible !important;
}

.progress-bar {
    width: 100% !important;
    height: 12px !important;
    background: #e9ecef !important;
    border-radius: 6px !important;
    margin: 1rem 0 !important;
    overflow: hidden !important;
    display: block !important;
}

.progress-fill {
    height: 100% !important;
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    border-radius: 6px !important;
    transition: width 0.3s ease !important;
    display: block !important;
}

.progress-text {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 0.8rem !important;
    font-size: 0.9rem !important;
    color: #666 !important;
    visibility: visible !important;
}

/* --- EXAM PROGRESS ELEMENTS (KEEP THESE) --- */
.question-overview {
    background: #f8f9fa !important;
    padding: 1.5rem 2rem !important;
    border-bottom: 2px solid #e9ecef !important;
    display: block !important;
    visibility: visible !important;
}

.question-counter {
    background: white !important;
    padding: 1.5rem 2rem !important;
    border-bottom: 2px solid #e9ecef !important;
    text-align: center !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    display: block !important;
    visibility: visible !important;
}

.question-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)) !important;
    gap: 0.6rem !important;
    max-width: 100% !important;
    justify-content: center !important;
    visibility: visible !important;
}

.progress-bar {
    width: 100% !important;
    height: 12px !important;
    background: #e9ecef !important;
    border-radius: 6px !important;
    margin: 1rem 0 !important;
    overflow: hidden !important;
    display: block !important;
}

.progress-fill {
    height: 100% !important;
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    border-radius: 6px !important;
    transition: width 0.3s ease !important;
    display: block !important;
}

.progress-text {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 0.8rem !important;
    font-size: 0.9rem !important;
    color: #666 !important;
    visibility: visible !important;
}

/* --- EXAM CONTENT LAYOUT ORDER --- */
.exam-content {
    background: white;
    border-radius: 15px;
    padding: 0;
    margin: 0 2rem 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
}

/* --- QUESTION OVERVIEW AT THE TOP --- */
.question-overview {
    background: #f8f9fa !important;
    padding: 1rem 2rem !important;
    border-bottom: 2px solid #e9ecef !important;
    display: block !important;
    visibility: visible !important;
    order: 1 !important;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.question-overview h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.8rem 0;
}

/* --- PROGRESS COUNTER SECOND --- */
.question-counter {
    background: white !important;
    padding: 1rem 2rem !important;
    border-bottom: 2px solid #e9ecef !important;
    text-align: center !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    display: block !important;
    visibility: visible !important;
    order: 2 !important;
}

/* --- QUESTION CONTAINER LAST --- */
.question-container {
    padding: 2rem !important;
    min-height: 400px !important;
    background: white !important;
    display: block !important;
    order: 3 !important;
    flex: 1;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* --- MAKE QUESTION GRID MORE COMPACT --- */
.question-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(32px, 1fr)) !important;
    gap: 0.4rem !important;
    max-width: 100% !important;
    justify-content: center !important;
    visibility: visible !important;
}

.question-dot {
    width: 32px !important;
    height: 32px !important;
    border: 2px solid #dee2e6 !important;
    border-radius: 4px !important;
    background: white !important;
    color: #666 !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.75rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

.question-dot:hover {
    border-color: #667eea !important;
    background: rgba(102, 126, 234, 0.1) !important;
    color: #667eea !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2) !important;
}

.question-dot.answered {
    background: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3) !important;
}

.question-dot.current {
    background: #667eea !important;
    border-color: #667eea !important;
    color: white !important;
    transform: scale(1.08) !important;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4) !important;
    animation: pulse 2s ease-in-out infinite !important;
}

/* --- COMPACT PROGRESS BAR --- */
.progress-bar {
    width: 100% !important;
    height: 8px !important;
    background: #e9ecef !important;
    border-radius: 4px !important;
    margin: 0.8rem 0 !important;
    overflow: hidden !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1) !important;
    display: block !important;
}

.progress-fill {
    height: 100% !important;
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    border-radius: 4px !important;
    transition: width 0.3s ease !important;
    box-shadow: 0 1px 3px rgba(40, 167, 69, 0.3) !important;
    display: block !important;
}

.progress-text {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 0.6rem !important;
    font-size: 0.8rem !important;
    color: #666 !important;
    visibility: visible !important;
}

.progress-percentage {
    font-weight: 700 !important;
    color: #667eea !important;
    font-size: 0.85rem !important;
}

/* Smaller button variant for dashboard settings */
.btn-small {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    width: auto !important;
    min-width: 120px;
    display: inline-block;
    margin-top: 0.5rem;
}

/* Make buttons not full width in dashboard settings */
.form-container .btn-primary {
    width: auto;
    display: inline-block;
}

/* Free banner for exam cards */
.exam-card {
    position: relative;
    overflow: hidden;
}

.free-banner {
    position: absolute;
    top: 15px;
    right: -30px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 6px 40px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    z-index: 10;
    border: 2px solid #ffffff;
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% {
        box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    }
    50% {
        box-shadow: 0 5px 20px rgba(40, 167, 69, 0.6);
    }
    100% {
        box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    }
}

/* Enhanced featured card styling */
.exam-card.featured {
    border: 2px solid #28a745;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), rgba(32, 201, 151, 0.05));
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.15);
}

.exam-card.featured:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.25);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .free-banner {
        top: 10px;
        right: -25px;
        padding: 4px 30px;
        font-size: 10px;
    }
    
    .exam-card.featured {
        transform: scale(1);
    }
    
    .exam-card.featured:hover {
        transform: scale(1.02);
    }
}

/* Active Subscriptions */
.active-subscriptions {
    margin-bottom: 3rem;
}

.subscription-card {
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 2px solid #28a745;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.subscription-card.paused {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fff9e6, #ffffff);
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.1);
}

.subscription-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
}

.subscription-card.paused::before {
    background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.subscription-header h4 {
    color: #333;
    font-size: 1.3rem;
    margin: 0;
    font-weight: 700;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
    border: 2px solid rgba(40, 167, 69, 0.3);
}

.status-badge.paused {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    border: 2px solid rgba(255, 193, 7, 0.3);
}

.subscription-details {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.time-left {
    text-align: center;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.time-left strong {
    display: block;
    font-size: 2rem;
    color: #667eea;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.time-left span {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.package-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.package-features span {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.subscription-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Package Cards Enhanced */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.package-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid transparent;
    overflow: hidden;
}

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

.package-card.popular {
    border-color: #667eea;
    transform: scale(1.05);
    background: linear-gradient(135deg, #f8f9ff, #ffffff);
}

.package-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-card.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.package-header {
    margin-bottom: 2rem;
}

.package-header h4 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
}

.period {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}

.package-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.package-features li {
    padding: 0.8rem 0;
    color: #666;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
}

.package-actions {
    margin-top: auto;
}

.package-actions .btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
}

/* Countdown Animation */
@keyframes countdown {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.time-left.urgent {
    animation: countdown 2s ease-in-out infinite;
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.time-left.urgent strong {
    color: #dc3545;
}

/* Payment Result Page */
.payment-result-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
}

.result-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-width: 500px;
    width: 100%;
}

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

.result-card h1 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.result-card p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Info Messages */
.info-message {
    background: rgba(23, 162, 184, 0.1);
    border: 2px solid rgba(23, 162, 184, 0.3);
    color: #0c5460;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .package-card.popular {
        transform: none;
    }
    
    .package-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .subscription-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .subscription-actions {
        flex-direction: column;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .popular-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
}

@media (max-width: 480px) {
    .package-card {
        padding: 1.5rem;
    }
    
    .subscription-card {
        padding: 1.5rem;
    }
    
    .result-card {
        padding: 2rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .package-header h4 {
        font-size: 1.5rem;
    }
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}