/* =====  GLOBAL RESETS AND BASE STYLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #374151;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Remove Focus Outline */
* {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* ===== BIBLE EXAM PLATFORM VARIABLES ===== */
:root {
    --bep-primary-color: #8BC34A;
    --bep-primary-hover: #7CB342;
    --bep-text-primary: #333333;
    --bep-text-secondary: #666666;
    --bep-accent-color: #3b82f6;
    --bep-accent-hover: #2563eb;
    --bep-success-color: #10b981;
    --bep-danger-color: #dc3545;
}

/* ===== ACCESSIBILITY SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 4px;
    font-size: 14px;
    transition: top 0.3s;
}

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

/* ===== SIDEBAR NAVIGATION ===== */
.sidebar {
    position: fixed;
    left: -280px;
    top: 53px;
    width: 280px;
    height: calc(100vh - 53px - 44px);
    background: #ffffff;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.08);
    transition: left 0.15s ease-out;
    border-right: 1px solid #e5e7eb;
    z-index: 2000;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

.sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 53px;
    left: 0;
    width: 100%;
    height: calc(100vh - 53px - 44px);
    background: transparent;
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-content {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 0;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color 0.3s ease;
}

.sidebar-content:hover {
    scrollbar-color: #cbd5e1 transparent;
}

.sidebar-content::-webkit-scrollbar {
    width: 4px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.sidebar-content:hover::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

.sidebar-content:hover::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.sidebar-section {
    padding: 0;
    margin-bottom: 8px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 0.5px;
    margin: 18px 20px 10px 20px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-transform: capitalize;
}

.sidebar-divider {
    width: calc(100% - 40px);
    height: 1px;
    background: linear-gradient(90deg, #e5e7eb 0%, #f3f4f6 50%, #e5e7eb 100%);
    margin: 10px 20px 14px 20px;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 15px;
    color: #374151;
    user-select: none;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    font-weight: 500;
    min-height: 48px;
    border-radius: 0;
    position: relative;
}

.menu-item:hover,
.menu-item:focus {
    background: linear-gradient(90deg, #f8fafc 0%, #eff6ff 100%);
    color: #1f2937;
    transform: translateX(3px);
    outline: none;
}

.menu-item > div {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

/* ===== COLORFUL SIDEBAR ICONS ===== */
.menu-item i {
    width: 20px;
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    text-align: center;
}

/* Dashboard Icons */
.fa-home { color: #10b981; }
.fa-tachometer-alt { color: #3b82f6; }
.fa-user { color: #8b5cf6; }
.fa-book { color: #f59e0b; }
.fa-users { color: #06b6d4; }
.fa-hand-holding-heart { color: #ef4444; }
.fa-chart-line { color: #84cc16; }

/* Bible Education Icons */
.fa-bible { color: #7c3aed; }
.fa-university { color: #dc2626; }
.fa-book-reader { color: #059669; }
.fa-chalkboard-teacher { color: #ea580c; }
.fa-video { color: #e11d48; }
.fa-question-circle { color: #0891b2; }
.fa-book-open { color: #65a30d; }
.fa-archive { color: #7c2d12; }
.fa-headphones { color: #9333ea; }
.fa-graduation-cap { color: #0369a1; }
.fa-certificate { color: #be123c; }
.fa-cross { color: #166534; }

/* Church Network Icons */
.fa-church { color: #b45309; }
.fa-edit { color: #4338ca; }
.fa-user-plus { color: #047857; }
.fa-address-book { color: #c2410c; }
.fa-globe { color: #0369a1; }
.fa-calendar-alt { color: #be123c; }
.fa-user-tie { color: #166534; }
.fa-newspaper { color: #7e22ce; }
.fa-handshake { color: #10b981; }
.fa-map-marker-alt { color: #ef4444; }

/* Other Icons */
.fa-folder-open { color: #059669; }
.fa-download { color: #10b981; }
.fa-cog { color: #6b7280; }
.fa-user-edit { color: #7e22ce; }
.fa-shield-alt { color: #dc2626; }
.fa-bell { color: #7c3aed; }
.fa-info-circle { color: #0891b2; }
.fa-comment { color: #ea580c; }
.fa-language { color: #8b5cf6; }
.fa-envelope { color: #dc2626; }
.fa-praying-hands { color: #7c3aed; }

/* Hover Effects for Colored Icons */
.menu-item:hover i,
.menu-item:focus i {
    transform: scale(1.1);
    filter: brightness(1.2) saturate(1.3);
}

.menu-item .arrow {
    font-size: 14px;
    color: #9ca3af;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.menu-item.active .arrow {
    transform: rotate(90deg);
    color: #0066cc;
}

.submenu {
    display: none;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    animation: slideDown 0.25s ease;
    border-left: 3px solid #0066cc;
    margin: 0 8px;
    border-radius: 0 8px 8px 0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.submenu.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 300px;
    }
}

.submenu .menu-item {
    padding-left: 44px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    min-height: 42px;
}

.submenu .menu-item:hover,
.submenu .menu-item:focus {
    background: linear-gradient(90deg, #ffffff 0%, #f0f9ff 100%);
    color: #1f2937;
    padding-left: 46px;
    outline: none;
}

.submenu .menu-item i {
    width: 18px;
    font-size: 16px;
}

.submenu .menu-item:hover i,
.submenu .menu-item:focus i {
    transform: scale(1.1);
    filter: brightness(1.2) saturate(1.3);
}

/* ===== FIXED HEADER ===== */
.header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    padding: 4px 24px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 53px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.menu-button {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.3s ease;
    font-size: 16px;
}

.menu-button:hover {
    background: #f3f4f6;
    color: #374151;
    transform: scale(1.05);
}

.menu-button.active {
    background: #e5e7eb;
    color: #1f2937;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    padding: 4px;
}

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

.logo-container {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.logo-icon i {
    color: #7AC943;
    font-size: 28px;
    transition: all 0.3s ease;
}

.header-logo:hover .logo-icon i {
    color: #5a9632;
    transform: scale(1.1);
}

.brand-name {
    font-size: 23px !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    margin-left: -2px !important;
    font-family: 'Georgia', serif !important;
    color: #1f2937 !important;
}

.brand-name:hover {
    color: #1e40af !important;
    transform: scale(1.02) !important;
}

/* Navigation Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 20px;
    position: relative;
}

.profile-button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    background: transparent;
    color: #6b7280;
    font-size: 16px;
    overflow: hidden;
    position: relative;
}

.nav-button:hover {
    background: transparent;
    transform: scale(1.02);
    box-shadow: none;
}

.nav-button.create-btn:hover {
    color: #ef4444;
}

.nav-button.login-btn:hover {
    color: #3b82f6;
}

.nav-button.notification-btn:hover {
    color: #10b981;
}

.nav-button.grid-btn:hover {
    color: #8b5cf6;
}

.profile-button:hover {
    border-color: #d1d5db;
    transform: scale(1.02);
    box-shadow: none;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-dot {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: #10b981;
    animation: pulse 2s infinite;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid #ffffff;
    animation: pulse 2s infinite;
}

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

/* ===== ENHANCED DROPDOWN STYLES ===== */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4001;
    border: 1px solid #e5e7eb;
    backdrop-filter: blur(20px);
    min-width: 280px;
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: none;
}

.dropdown-menu::-webkit-scrollbar {
    display: none;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-arrow {
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ffffff;
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.1));
}

.dropdown-item {
    padding: 16px 20px;
    color: #374151;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #374151;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 16px 16px;
}

.dropdown-item i {
    width: 20px;
    font-size: 16px;
    text-align: center;
}

.dropdown-item .fa-sign-in-alt { color: #10b981; }
.dropdown-item .fa-user-plus { color: #3b82f6; }
.dropdown-item .fa-google { color: #ea4335; }
.dropdown-item .fa-facebook-f { color: #1877f2; }
.dropdown-item .fa-heart { color: #ef4444; }
.dropdown-item .fa-praying-hands { color: #7c3aed; }
.dropdown-item .fa-church { color: #b45309; }
.dropdown-item .fa-key { color: #f59e0b; }
.dropdown-item .fa-eye { color: #8b5cf6; }
.dropdown-item .fa-question-circle { color: #06b6d4; }
.dropdown-item .fa-broadcast-tower { color: #ef4444; }
.dropdown-item .fa-dove { color: #06b6d4; }
.dropdown-item .fa-handshake { color: #10b981; }

/* ===== DROPDOWN DIVIDER ===== */
.dropdown-divider {
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    margin: 6px 0;
    flex-shrink: 0;
}

/* ===== ENHANCED NOTIFICATION DROPDOWN ===== */
.nav-notif-hdr {
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 700;
    color: #1a202c;
    font-size: 17px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-notif-actions {
    display: flex;
    gap: 8px;
}

.nav-notif-action {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 102, 204, 0.1);
    color: #0066cc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.nav-notif-action:hover {
    background: rgba(0, 102, 204, 0.2);
    transform: scale(1.1);
}

.nav-notif-item {
    padding: 14px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    overflow: hidden;
    min-height: 75px;
    border-bottom: 1px solid #f8fafc;
}

.nav-notif-item:hover,
.nav-notif-item:focus {
    background: linear-gradient(90deg, #f0f9ff 0%, #fef3f2 100%);
    transform: translateX(3px);
}

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

.nav-notif-item.unseen {
    background: linear-gradient(90deg, #fef2f2 0%, #fff7ed 100%);
    border-left: 4px solid #dc2626;
}

.nav-notif-item.seen {
    background: linear-gradient(90deg, #f0fdf4 0%, #ecfdf5 100%);
    border-left: 4px solid #16a34a;
}

.nav-notif-icon-wrap {
    flex-shrink: 0;
    position: relative;
}

.nav-notif-icon-bg {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-comment {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.nav-like {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.nav-follower {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.nav-event {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.nav-notif-content {
    flex-grow: 1;
    min-width: 0;
}

.nav-notif-title {
    font-weight: 600;
    color: #1a202c;
    font-size: 14px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.nav-notif-text {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

.nav-notif-badge-dot {
    width: 8px;
    height: 8px;
    background-color: #dc2626;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.nav-notif-footer {
    padding: 12px 20px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border-radius: 0 0 16px 16px;
}

.nav-view-all {
    color: #0066cc;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
}

.nav-view-all:hover,
.nav-view-all:focus {
    color: #004499;
    background-color: #eff6ff;
    transform: translateY(-2px);
}

/* ===== ENHANCED GRID DROPDOWN ===== */
.grid-dropdown {
    min-width: 380px;
    max-width: 450px;
    padding: 16px;
}

.nav-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-height: 400px;
}

.nav-grid-item {
    background-color: transparent;
    padding: 12px 8px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: #374151;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 85px;
    width: 100%;
    box-sizing: border-box;
}

.nav-grid-item:hover,
.nav-grid-item:focus {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.12);
    border-color: #bfdbfe;
}

.nav-grid-item i {
    font-size: 24px;
    transition: all 0.25s ease;
    z-index: 1;
    position: relative;
    line-height: 1;
    flex-shrink: 0;
}

.nav-grid-item:hover i,
.nav-grid-item:focus i {
    transform: scale(1.15);
    filter: brightness(1.2) saturate(1.3);
}

.nav-grid-item span {
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
    position: relative;
    line-height: 1.2;
    text-align: center;
}

/* ===== ENHANCED PROFILE DROPDOWN ===== */
.enhanced-profile-dropdown {
    min-width: 320px;
    max-width: 360px;
    right: 0;
    border-radius: 18px;
    padding: 0;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0f2fe;
    scrollbar-width: none;
}

.enhanced-profile-dropdown::-webkit-scrollbar {
    display: none;
}

.new-profile-header {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-avatar-large {
    position: relative;
    flex-shrink: 0;
}

.profile-img-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-details {
    flex: 1;
    min-width: 0;
}

.profile-name-large {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.profile-email-large {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 12px 0;
    font-weight: 500;
}

.profile-menu-new {
    padding: 8px 0;
    background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
}

.profile-menu-item-new {
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    min-height: 44px;
    border-bottom: 1px solid #f8fafc;
    font-weight: 500;
}

.profile-menu-item-new::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6, #1e40af);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.profile-menu-item-new:hover::before,
.profile-menu-item-new:focus::before {
    transform: scaleY(1);
}

.profile-menu-item-new:hover,
.profile-menu-item-new:focus {
    background: linear-gradient(90deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #1e40af;
    transform: translateX(3px);
}

.profile-menu-item-new:last-child {
    border-bottom: none;
    border-radius: 0 0 18px 18px;
}

.profile-menu-item-new i {
    width: 18px;
    font-size: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    text-align: center;
}

.profile-menu-item-new .fa-user-circle { color: #3b82f6; }
.profile-menu-item-new .fa-cog { color: #6b7280; }
.profile-menu-item-new .fa-share-alt { color: #10b981; }
.profile-menu-item-new .fa-chart-bar { color: #f59e0b; }
.profile-menu-item-new .fa-wallet { color: #8b5cf6; }
.profile-menu-item-new .fa-shield-alt { color: #ef4444; }
.profile-menu-item-new .fa-bell { color: #06b6d4; }
.profile-menu-item-new .fa-question-circle { color: #84cc16; }
.profile-menu-item-new .fa-sign-out-alt { color: #dc2626; }

.profile-menu-item-new:hover i,
.profile-menu-item-new:focus i {
    transform: scale(1.1);
    filter: brightness(1.2) saturate(1.3);
}

.profile-menu-item-new .menu-text {
    flex: 1;
}

.profile-menu-item-new .menu-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-top: 53px;
    margin-bottom: 44px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: calc(100vh - 97px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
}

/* ===== BIBLE EXAM PLATFORM STYLES ===== */
.bep-reset * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bep-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: var(--bep-text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.bep-header {
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
    padding: 2.5rem 1.5rem 2rem;
    text-align: center;
    border-bottom: 1px solid #dddddd;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
}

.bep-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: bep-float 20s ease-in-out infinite;
}

@keyframes bep-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -30px) rotate(180deg); }
}

.bep-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bep-text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.bep-header h1 i {
    color: var(--bep-primary-color);
    font-size: 1.8rem;
}

.bep-header p {
    font-size: 1rem;
    color: var(--bep-text-secondary);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.bep-container {
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Modal Styles */
.bep-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    overflow-y: auto;
}

.bep-modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    pointer-events: none;
    max-width: 500px;
}

.bep-modal-dialog.bep-large {
    max-width: 800px;
}

.bep-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    animation: bep-modal-slide-in 0.3s ease-out;
}

@keyframes bep-modal-slide-in {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.bep-modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    background: linear-gradient(135deg, var(--bep-primary-color), var(--bep-primary-hover));
}

.bep-modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bep-modal-close {
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    background: transparent;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.8;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bep-modal-close:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.bep-modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1.5rem;
    text-align: left;
    max-height: 70vh;
    overflow-y: auto;
}

.bep-modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem 1.5rem;
    border-top: 1px solid #e9ecef;
    border-bottom-right-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
    gap: 0.5rem;
}

/* Auth Buttons */
.bep-auth-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.bep-auth-button {
    background: linear-gradient(135deg, var(--bep-accent-color), var(--bep-accent-hover));
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.bep-auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.bep-auth-button.bep-secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.bep-auth-button.bep-secondary:hover {
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.4);
}

/* Form Styles */
.bep-form-group {
    margin-bottom: 1rem;
}

.bep-form-label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #212529;
    font-size: 0.875rem;
    display: inline-block;
}

.bep-form-input, .bep-form-select {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.bep-form-input:focus, .bep-form-select:focus {
    color: #212529;
    background-color: #fff;
    border-color: rgba(139, 195, 74, 0.5);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(139, 195, 74, 0.25);
}

.bep-form-input.bep-error, .bep-form-select.bep-error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.bep-error-message {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
    display: none;
}

.bep-required {
    color: #dc3545;
}

/* Button Styles */
.bep-btn {
    display: inline-block;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: all 0.15s ease-in-out;
}

.bep-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.bep-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--bep-success-color), #059669);
    border-color: var(--bep-success-color);
}

.bep-btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    border-color: #047857;
}

.bep-btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.bep-btn-secondary:hover {
    background-color: #5c636a;
    border-color: #565e64;
}

.bep-btn:disabled {
    pointer-events: none;
    opacity: 0.65;
    transform: none;
    box-shadow: none;
}

/* Grid System */
.bep-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.bep-col {
    flex: 1 0 0%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.bep-col-md-6 {
    flex: 0 0 auto;
    width: 50%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Section Headers */
.bep-section-header {
    border-bottom: 2px solid var(--bep-primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--bep-primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Welcome Screen Styles */
.bep-welcome-screen {
    background-color: transparent;
    padding: 40px 20px;
    text-align: left;
    border: none;
    box-shadow: none;
}

.bep-welcome-header-section {
    text-align: center;
    margin-bottom: 30px;
}

.bep-welcome-header {
    margin-bottom: 40px;
}

.bep-welcome-title {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.bep-welcome-title i {
    color: var(--bep-primary-color);
}

.bep-welcome-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 20px;
}

.bep-exam-info {
    background-color: transparent;
    border-radius: 0;
    padding: 25px 0;
    margin-bottom: 30px;
    border-left: 4px solid var(--bep-primary-color);
    padding-left: 20px;
    box-shadow: none;
}

.bep-info-title {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 600;
}

.bep-info-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.bep-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bep-info-icon {
    background-color: rgba(139, 195, 74, 0.1);
    color: var(--bep-primary-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.bep-info-text {
    color: #334155;
    font-size: 1rem;
}

.bep-instructions {
    margin-bottom: 30px;
    background-color: transparent;
    border-radius: 0;
    padding: 25px 0;
    box-shadow: none;
}

.bep-instructions-title {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 600;
}

.bep-instruction-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
}

.bep-instruction-number {
    background-color: var(--bep-primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.bep-instruction-text {
    color: #475569;
    font-size: 1rem;
}

.bep-start-button {
    background: linear-gradient(135deg, var(--bep-primary-color), var(--bep-primary-hover));
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(139, 195, 74, 0.35);
    letter-spacing: 0.3px;
}

.bep-start-button i {
    font-size: 1.4rem;
}

.bep-start-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 195, 74, 0.45);
    background: linear-gradient(135deg, var(--bep-primary-hover), var(--bep-primary-color));
}

.bep-start-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* User Info Display */
.bep-user-info-display {
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.1), rgba(123, 179, 66, 0.1));
    border: 2px solid var(--bep-primary-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.bep-user-welcome {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.bep-user-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 15px;
    text-align: left;
}

.bep-user-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    font-size: 0.9rem;
}

.bep-user-detail-label {
    font-weight: 600;
    color: #6b7280;
}

.bep-user-detail-value {
    font-weight: 700;
    color: #1f2937;
}

.bep-logout-button {
    background: var(--bep-danger-color);
    color: white;
    border: none;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.bep-logout-button:hover {
    background: #b91c1c;
}

/* Exam Interface Styles */
.bep-exam-interface {
    display: none;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 30px 20px;
    margin-top: 0;
}

.bep-exam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.bep-exam-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bep-exam-title i {
    color: var(--bep-primary-color);
}

.bep-progress-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bep-question-counter {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

.bep-timer-display {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #fee2e2;
    color: #b91c1c;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
}

.bep-score-display {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(139, 195, 74, 0.1);
    color: var(--bep-primary-hover);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
}

.bep-question-section {
    margin-bottom: 30px;
    background: #ffffff;
    padding: 28px 30px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
}

.bep-question-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bep-primary-color);
    margin-bottom: 10px;
}

.bep-question-text {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #1e293b;
    line-height: 1.5;
}

.bep-options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bep-option {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.bep-option:hover {
    background-color: rgba(139, 195, 74, 0.05);
    border-color: var(--bep-primary-color);
}

.bep-option.bep-selected {
    background-color: rgba(139, 195, 74, 0.1);
    border-color: var(--bep-primary-color);
}

.bep-option-marker {
    width: 24px;
    height: 24px;
    border: 2px solid #94a3b8;
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.bep-option.bep-selected .bep-option-marker {
    border-color: var(--bep-primary-color);
    background-color: var(--bep-primary-color);
    color: white;
}

.bep-option-text {
    color: #334155;
    font-size: 1.1rem;
}

.bep-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.bep-nav-button {
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.bep-prev-button {
    background-color: #f1f5f9;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.bep-prev-button:hover:not(:disabled) {
    background-color: #e2e8f0;
}

.bep-prev-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bep-next-button {
    background: linear-gradient(135deg, var(--bep-primary-color), var(--bep-primary-hover));
    color: white;
    border: none;
}

.bep-next-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 195, 74, 0.3);
}

.bep-submit-button {
    background: linear-gradient(135deg, var(--bep-success-color), #059669);
    color: white;
    border: none;
}

.bep-submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.bep-progress-bar-container {
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 30px;
}

.bep-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bep-primary-color), var(--bep-primary-hover));
    width: 0%;
    transition: width 0.3s ease;
}

/* Results Screen Styles */
.bep-results-screen {
    display: none;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 20px;
    margin-top: 0;
}

.bep-results-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.bep-results-section:last-child {
    border-bottom: none;
}

.bep-section-title {
    background: transparent;
    padding: 0 0 15px 0;
    margin: 0 0 20px 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #495057;
    text-align: left;
}

.bep-section-content {
    padding: 0;
}

.bep-student-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bep-student-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.1), rgba(123, 179, 66, 0.1));
    border-radius: 10px;
    border: 2px solid var(--bep-primary-color);
}

.bep-student-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    text-align: left;
}

.bep-info-item-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--bep-primary-color);
}

.bep-info-label {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.bep-info-value {
    color: #212529;
    font-weight: 700;
    font-size: 1rem;
}

.bep-performance-overview {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.bep-user-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(70, 130, 180, 0.3);
}

.bep-result-cards {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.bep-result-card {
    text-align: center;
    min-width: 90px;
}

.bep-result-card-title {
    color: #6c757d;
    font-size: 0.8rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.bep-result-card-value {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 4px;
    line-height: 1;
}

.bep-result-card-subtitle {
    color: #6c757d;
    font-size: 0.7rem;
    font-weight: 400;
}

.bep-score-value-main {
    color: #2563eb;
}

.bep-status-value {
    color: #059669;
}

.bep-status-value.bep-fail {
    color: #dc2626;
}

.bep-time-value {
    color: #7c3aed;
}

.bep-statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.bep-stat-card {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.bep-stat-label {
    font-size: 0.85rem;
    color: #495057;
    font-weight: 500;
    margin-bottom: 6px;
}

.bep-stat-value {
    font-weight: 700;
    font-size: 1.3rem;
}

.bep-incorrect-stat {
    color: #dc3545;
}

.bep-correct-stat {
    color: #28a745;
}

.bep-fail-stat {
    color: #dc3545;
}

.bep-pass-stat {
    color: #28a745;
}

.bep-performance-summary {
    text-align: left;
}

.bep-summary-text {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

.bep-category-breakdown {
    margin: 0;
}

.bep-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.bep-category-card-enhanced {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 60px;
}

.bep-category-card-enhanced:hover {
    border-color: #4285f4;
    box-shadow: 0 2px 6px rgba(66, 133, 244, 0.15);
    transform: translateY(-1px);
}

.bep-category-card-icon {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.bep-category-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bep-category-card-name {
    font-weight: 700;
    color: #1f2937;
    font-size: 13px;
    line-height: 1.2;
}

.bep-category-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bep-category-card-label {
    color: #6b7280;
    font-size: 10px;
    font-weight: 600;
}

.bep-category-card-score {
    font-size: 14px;
    font-weight: 800;
}

.bep-action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
}

.bep-action-button {
    padding: 8px 10px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 32px;
    text-transform: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.bep-action-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bep-action-button i {
    font-size: 9px;
}

.bep-download-results {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #93c5fd;
}

.bep-download-results:hover {
    background: #bfdbfe;
    border-color: #60a5fa;
}

.bep-review-answers {
    background: #ede9fe;
    color: #7c3aed;
    border-color: #c4b5fd;
}

.bep-review-answers:hover {
    background: #ddd6fe;
    border-color: #a78bfa;
}

.bep-correct-answers {
    background: #dcfce7;
    color: #059669;
    border-color: #86efac;
}

.bep-correct-answers:hover {
    background: #bbf7d0;
    border-color: #4ade80;
}

.bep-download-certificate {
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #333;
    border-color: #fcd34d;
    font-weight: 700;
}

.bep-download-certificate:hover {
    background: linear-gradient(135deg, #ffed4a, #ffd700);
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.bep-detailed-results {
    background: #e0e7ff;
    color: #4338ca;
    border-color: #a5b4fc;
}

.bep-detailed-results:hover {
    background: #c7d2fe;
    border-color: #818cf8;
}

.bep-take-another {
    background: #ccfbf1;
    color: #0f766e;
    border-color: #5eead4;
}

.bep-take-another:hover {
    background: #a7f3d0;
    border-color: #2dd4bf;
}

.bep-close-exam {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.bep-close-exam:hover {
    background: #fecaca;
    border-color: #f87171;
}

.bep-success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    padding: 15px 25px;
    border-radius: 10px;
    margin: 15px 0;
    border: 1px solid #c3e6cb;
    display: none;
    font-size: 14px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    animation: bep-slide-in-right 0.5s ease;
}

@keyframes bep-slide-in-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.bep-modal-text {
    color: #475569;
    line-height: 1.6;
    text-align: left;
}

.bep-question-review {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: left;
}

.bep-answer-option {
    padding: 8px 12px;
    margin: 5px 0;
    border-radius: 5px;
}

.bep-answer-option.bep-correct {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.bep-answer-option.bep-incorrect {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.bep-answer-option.bep-user-selected {
    font-weight: 600;
}

.bep-time-alert {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.bep-alert-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.bep-alert-icon {
    color: #f43f5e;
    font-size: 40px;
    margin-bottom: 15px;
}

.bep-alert-title {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}

.bep-alert-message {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 25px;
}

.bep-alert-button {
    background: linear-gradient(135deg, var(--bep-primary-color), var(--bep-primary-hover));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.bep-alert-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 195, 74, 0.3);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #374151;
    padding: 6px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-top: 1px solid #e5e7eb;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 44px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.footer-left,
.footer-right {
    display: flex;
    gap: 14px;
    align-items: center;
}

.footer-link {
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 7px;
    position: relative;
}

.footer-link:hover {
    color: #1e40af;
    transform: none;
}

/* ===== FLOATING SOCIAL ICONS ===== */
.floating-social {
    position: fixed;
    bottom: 54px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1500;
}

.social-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6b7280;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    backdrop-filter: blur(12px);
    background: #ffffff;
    cursor: pointer;
}

.social-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-color: #d1d5db;
}

.social-icon:nth-child(1) i {
    color: #f59e0b;
}

.social-icon:nth-child(1):hover i {
    color: #d97706;
}

.social-icon:nth-child(2) i {
    color: #0084ff;
}

.social-icon:nth-child(2):hover i {
    color: #0066cc;
}

.social-icon:nth-child(3) i {
    color: #25d366;
}

.social-icon:nth-child(3):hover i {
    color: #1da851;
}

.social-icon:nth-child(4) i {
    color: #8b5cf6;
}

.social-icon:nth-child(4):hover i {
    color: #7c3aed;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 10003;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    width: 100%;
}

.toast {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast.warning {
    border-left: 4px solid #f59e0b;
}

.toast.info {
    border-left: 4px solid #3b82f6;
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #10b981;
}

.toast.error .toast-icon {
    color: #ef4444;
}

.toast.warning .toast-icon {
    color: #f59e0b;
}

.toast.info .toast-icon {
    color: #3b82f6;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.toast-message {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 16px;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 4px;
    border-radius: 4px;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #374151;
    background: #f3f4f6;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    transition: width 0.1s linear;
}

/* ===== NOTIFICATION MODAL ===== */
.notification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.notification-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    max-width: 600px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalAppear 0.4s ease;
    border: 1px solid #e5e7eb;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.notification-modal-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.notification-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
}

.notification-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-modal-close:hover {
    color: #0066cc;
    background: #f3f4f6;
    transform: scale(1.1);
}

.notification-modal-body {
    padding: 24px;
    max-height: 400px;
    overflow-y: auto;
    line-height: 1.6;
    color: #374151;
}

.notification-modal-footer {
    padding: 24px;
    border-top: 1px solid #e5e7eb;
    text-align: right;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.notification-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-modal-close-btn {
    background: #6b7280;
    color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    body {
        padding-top: 56px;
        padding-bottom: 80px;
    }

    .header {
        height: 56px;
        padding: 6px 16px;
    }

    .sidebar {
        width: 260px;
        left: -260px;
        top: 56px;
        height: calc(100vh - 56px - 80px);
        transition: left 0.12s ease-out;
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar-overlay {
        top: 56px;
        height: calc(100vh - 56px - 80px);
    }

    .main-content {
        margin-top: 56px;
        margin-bottom: 80px;
        padding: 0;
        min-height: calc(100vh - 136px);
    }

    .brand-name {
        font-size: 24px !important;
        margin-left: 8px !important;
    }

    .logo-container {
        width: 32px;
        height: 32px;
    }

    .logo-icon i {
        font-size: 28px;
    }

    .menu-button {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .nav-button {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .profile-button {
        width: 36px;
        height: 36px;
    }

    .footer {
        height: 80px;
        padding: 12px 16px;
        flex-direction: column;
        gap: 8px;
    }

    .footer-left,
    .footer-right {
        gap: 16px;
    }

    .footer-link {
        font-size: 14px;
        padding: 8px 12px;
    }

    .floating-social {
        bottom: 90px;
        right: 16px;
        gap: 12px;
    }

    .social-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    /* Mobile Dropdown Positioning */
    .dropdown-menu {
        position: fixed !important;
        top: 60px !important;
        left: 16px !important;
        right: 16px !important;
        min-width: auto !important;
        max-width: none !important;
        margin-top: 0 !important;
        transform: translateY(0) scale(1) !important;
        border-radius: 12px !important;
        width: auto !important;
    }

    .dropdown-arrow {
        display: none !important;
    }

    .toast-container {
        left: 16px;
        right: 16px;
        top: 70px;
        max-width: none;
    }

    .toast {
        margin: 0;
    }

    .bep-header {
        padding: 1.5rem 1rem;
    }
    
    .bep-header h1 {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 0.3rem;
    }

    .bep-auth-buttons {
        flex-direction: column;
        align-items: center;
    }

    .bep-col-md-6 {
        width: 100%;
    }

    .bep-exam-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .bep-progress-info {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
    }

    .bep-performance-overview {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .bep-result-cards {
        flex-direction: row;
        gap: 15px;
        width: 100%;
        justify-content: space-around;
    }

    .bep-student-info {
        grid-template-columns: 1fr;
    }

    .bep-statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .bep-action-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .bep-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 42px;
        padding-bottom: 70px;
    }

    .header {
        height: 42px;
        padding: 3px 12px;
    }

    .sidebar {
        width: 240px;
        left: -240px;
        top: 42px;
        height: calc(100vh - 42px - 70px);
        transition: left 0.1s ease-out;
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar-overlay {
        top: 42px;
        height: calc(100vh - 42px - 70px);
    }

    .main-content {
        margin-top: 42px;
        padding: 0;
        min-height: calc(100vh - 112px);
        align-items: flex-start;
    }

    .brand-name {
        font-size: 20px !important;
        margin-left: 2px !important;
    }

    .logo-container {
        width: 26px;
        height: 26px;
    }

    .logo-icon i {
        font-size: 22px;
    }

    .menu-button {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .nav-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .profile-button {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .footer {
        height: 70px;
        padding: 8px 8px;
        gap: 4px;
        flex-direction: column;
        justify-content: center;
    }

    .footer-left,
    .footer-right {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-link {
        font-size: 10px;
        padding: 2px 4px;
    }

    .floating-social {
        bottom: 80px;
        right: 8px;
        gap: 4px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .toast-container {
        left: 12px;
        right: 12px;
        top: 50px;
    }

    .toast {
        padding: 12px 16px;
    }

    .notification-modal-content {
        margin: 0 12px;
        width: calc(100% - 24px);
    }

    /* Small Mobile Dropdown Positioning */
    .dropdown-menu {
        position: fixed !important;
        top: 46px !important;
        left: 12px !important;
        right: 12px !important;
        min-width: auto !important;
        max-width: none !important;
        margin-top: 0 !important;
        transform: translateY(0) scale(1) !important;
        border-radius: 12px !important;
        width: auto !important;
    }

    .bep-container {
        width: 100%;
        padding: 10px;
    }
    
    .bep-welcome-screen,
    .bep-exam-interface,
    .bep-results-screen {
        padding: 15px;
    }
    
    .bep-welcome-title {
        font-size: 1.8rem;
    }
    
    .bep-question-text {
        font-size: 1.2rem;
    }
    
    .bep-option {
        padding: 12px;
    }
    
    .bep-option-text {
        font-size: 1rem;
    }
    
    .bep-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .bep-nav-button {
        width: 100%;
    }

    .bep-action-buttons {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .bep-categories-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ===== EXAM PRIZE SECTION STYLES (COMPACT - NATURAL) ===== */
.exam-prize-section {
    padding: 50px 15px 35px;
    background: transparent;
    margin: 0 auto 15px;
    border-radius: 0;
    max-width: 1200px;
    border: none;
    box-shadow: none;
}

.exam-prize-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

.exam-prize-main-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.exam-prize-main-title i {
    color: #ffd700;
    font-size: clamp(1.2rem, 2.3vw, 1.7rem);
    filter: drop-shadow(0 3px 6px rgba(255, 215, 0, 0.4));
    animation: pulse 2s ease-in-out infinite;
}

.exam-prize-subtitle {
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.exam-prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto 35px;
    padding: 0 10px;
}

.exam-prize-card {
    background: white;
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.exam-prize-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.exam-prize-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.exam-prize-card:hover::before {
    opacity: 1;
}

/* First Place - Gold (Compact) */
.exam-first-place {
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 50%, #fff5cc 100%);
    border-color: #ffd700;
}

.exam-first-place::before {
    color: #ffd700;
}

.exam-first-place .exam-prize-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.35);
}

.exam-first-place .exam-prize-amount {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.exam-first-place:hover {
    background: linear-gradient(135deg, #fff5cc 0%, #ffffff 50%, #ffed4e 100%);
    border-color: #ffed4e;
}

/* Second Place - Silver (Compact) */
.exam-second-place {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #e8e8e8 100%);
    border-color: #c0c0c0;
}

.exam-second-place::before {
    color: #c0c0c0;
}

.exam-second-place .exam-prize-badge {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    box-shadow: 0 6px 15px rgba(192, 192, 192, 0.35);
}

.exam-second-place .exam-prize-amount {
    background: linear-gradient(135deg, #8b8b8b, #c0c0c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.exam-second-place:hover {
    background: linear-gradient(135deg, #e8e8e8 0%, #ffffff 50%, #d5d5d5 100%);
    border-color: #a8a8a8;
}

/* Third Place - Bronze (Compact) */
.exam-third-place {
    background: linear-gradient(135deg, #fff4e6 0%, #ffffff 50%, #ffe8cc 100%);
    border-color: #cd7f32;
}

.exam-third-place::before {
    color: #cd7f32;
}

.exam-third-place .exam-prize-badge {
    background: linear-gradient(135deg, #cd7f32, #e89f5e);
    box-shadow: 0 6px 15px rgba(205, 127, 50, 0.35);
}

.exam-third-place .exam-prize-amount {
    background: linear-gradient(135deg, #cd7f32, #e89f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.exam-third-place:hover {
    background: linear-gradient(135deg, #ffe8cc 0%, #ffffff 50%, #ffd9b3 100%);
    border-color: #b8722e;
}

.exam-prize-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: all 0.35s ease;
}

.exam-prize-card:hover .exam-prize-badge {
    transform: rotate(360deg) scale(1.1);
}

.exam-prize-badge i {
    font-size: 1.5rem;
    color: white;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.exam-prize-rank-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.exam-prize-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.exam-prize-amount {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    letter-spacing: -0.5px;
}

.exam-prize-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    margin: 0 auto 15px;
    border-radius: 1px;
}

.exam-prize-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.exam-prize-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.82rem;
    color: #495057;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.exam-prize-benefits li:last-child {
    border-bottom: none;
}

.exam-prize-card:hover .exam-prize-benefits li {
    padding-left: 4px;
}

.exam-prize-benefits li i {
    color: #667eea;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Additional Recognition (Natural) */
.exam-additional-prizes {
    background: transparent;
    border-radius: 0;
    padding: 30px 20px 25px;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: none;
    border: none;
    border-top: 2px solid #e9ecef;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.exam-additional-title {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.exam-additional-title i {
    color: #667eea;
    font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.exam-additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.exam-additional-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 8px;
    background: transparent;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.25s ease;
    cursor: default;
}

.exam-additional-item:hover {
    transform: translateX(4px);
    background: rgba(102, 126, 234, 0.03);
    border-bottom-color: #667eea;
}

.exam-additional-item i {
    font-size: 1.2rem;
    color: #667eea;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.exam-additional-item:hover i {
    transform: scale(1.15);
}

.exam-additional-item span {
    font-size: 0.82rem;
    color: #495057;
    font-weight: 500;
    line-height: 1.3;
}

/* Responsive Exam Prize Section (Natural) */
@media (max-width: 768px) {
    .exam-prize-section {
        padding: 35px 10px 25px;
        margin: 0 auto 10px;
    }

    .exam-prize-header {
        margin-bottom: 30px;
    }

    .exam-prizes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 5px;
        margin-bottom: 25px;
    }

    .exam-prize-card {
        padding: 18px 12px;
    }

    .exam-prize-badge {
        width: 45px;
        height: 45px;
    }

    .exam-prize-badge i {
        font-size: 1.3rem;
    }

    .exam-prize-amount {
        font-size: 1.6rem;
    }

    .exam-additional-prizes {
        padding: 25px 10px 20px;
    }

    .exam-additional-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .exam-additional-item {
        border-bottom: 1px solid #e9ecef;
    }

    .bep-start-section {
        padding: 30px 15px 35px;
    }

    .bep-start-button {
        padding: 18px 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .exam-prize-section {
        padding: 30px 8px 20px;
        margin: 0 auto 8px;
    }

    .exam-prize-header {
        margin-bottom: 25px;
    }

    .exam-prizes-grid {
        padding: 0;
        gap: 15px;
        margin-bottom: 20px;
    }

    .exam-prize-card {
        padding: 15px 8px;
    }

    .exam-prize-badge {
        width: 40px;
        height: 40px;
    }

    .exam-prize-badge i {
        font-size: 1.2rem;
    }

    .exam-prize-rank-number {
        font-size: 0.8rem;
    }

    .exam-prize-card-title {
        font-size: 1.1rem;
    }

    .exam-prize-amount {
        font-size: 1.5rem;
    }

    .exam-prize-benefits li {
        font-size: 0.78rem;
        padding: 5px 0;
    }

    .exam-additional-prizes {
        padding: 20px 8px 15px;
    }

    .exam-additional-item {
        padding: 10px 5px;
        border-bottom: 1px solid #e9ecef;
    }

    .exam-additional-item i {
        font-size: 1.1rem;
    }

    .exam-additional-item span {
        font-size: 0.78rem;
    }

    .bep-start-section {
        padding: 25px 10px 30px;
    }

    .bep-start-button {
        padding: 16px 35px;
        font-size: 1.1rem;
    }

    .bep-start-button i {
        font-size: 1.2rem;
    }
}

/* ===== EXAM NAVIGATION MENU ===== */
.exam-navbar {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 60px;
    z-index: 998;
    border-bottom: 2px solid #e9ecef;
}

.exam-nav-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

.exam-nav-list {
    display: flex;
    list-style: none;
    justify-content: space-evenly;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
}

.exam-nav-list > li {
    position: relative;
    flex: 1;
}

.exam-nav-list > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 18px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    width: 100%;
}

.exam-nav-list > li > a i {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.exam-nav-list > li > a:hover {
    background: linear-gradient(to bottom, rgba(102, 126, 234, 0.05), rgba(102, 126, 234, 0.1));
    color: #667eea;
    border-bottom-color: #667eea;
}

.exam-nav-list > li > a:hover i {
    transform: translateY(-2px);
}

/* Dropdown Submenu */
.exam-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 0 0 10px 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 3px solid #667eea;
}

.exam-nav-list > li:hover .exam-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.exam-dropdown li {
    list-style: none;
}

.exam-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    text-decoration: none;
    color: #495057;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.exam-dropdown li a i {
    font-size: 0.9rem;
    width: 18px;
    color: #667eea;
}

.exam-dropdown li a:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), transparent);
    color: #667eea;
    border-left-color: #667eea;
    padding-left: 22px;
}

.exam-dropdown li:last-child a {
    border-radius: 0 0 10px 0;
}

/* Mobile Toggle */
.exam-mobile-toggle {
    display: none;
    padding: 14px 20px;
    background: white;
    border: none;
    cursor: pointer;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #667eea;
    width: 100%;
    justify-content: center;
    border-bottom: 1px solid #e9ecef;
}

.exam-mobile-toggle i {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .exam-nav-list > li > a {
        padding: 12px 14px;
        font-size: 0.85rem;
        gap: 5px;
    }

    .exam-nav-list > li > a i {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .exam-nav-list > li > a {
        padding: 12px 12px;
        font-size: 0.82rem;
    }
}

@media (max-width: 768px) {
    .exam-mobile-toggle {
        display: flex;
    }

    .exam-nav-list {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .exam-nav-list.active {
        max-height: 1200px;
    }

    .exam-nav-list > li {
        width: 100%;
        border-bottom: 1px solid #e9ecef;
    }

    .exam-nav-list > li > a {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.92rem;
        justify-content: space-between;
    }

    .exam-nav-list > li > a::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .exam-nav-list > li.dropdown-open > a::after {
        transform: rotate(180deg);
    }

    .exam-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        background: #f8f9fa;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .exam-nav-list > li.dropdown-open .exam-dropdown {
        max-height: 600px;
    }

    .exam-dropdown li a {
        padding-left: 40px;
        font-size: 0.88rem;
    }

    .exam-dropdown li a:hover {
        padding-left: 44px;
    }
}

/* ===== START SECTION STYLING ===== */
.bep-start-section {
    text-align: center;
    padding: 35px 20px 40px;
    margin: 0 auto;
    border-top: 2px solid #e9ecef;
}
