    .exam-card {
        transition: all 0.2s ease;
    }

    .exam-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .period-badge {
        font-size: 10px;
        padding: 2px 8px;
        border-radius: 9999px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .period-badge.pts {
        background: #dbeafe;
        color: #1e40af;
    }

    .period-badge.pas {
        background: #dcfce7;
        color: #166534;
    }

    .period-badge.us {
        background: #fef3c7;
        color: #92400e;
    }

    .period-badge.susulan {
        background: #fce7f3;
        color: #9d174d;
    }

    .period-badge.other {
        background: #f3f4f6;
        color: #374151;
    }

    .period-badge.psaj {
        background: #f3e8ff;
        color: #6b21a8;
    }

    .period-badge.anbk {
        background: #cffafe;
        color: #155e75;
    }

    /* Session dropdown styles */
    select option:disabled {
        color: #9ca3af;
        background-color: #f3f4f6;
    }

    select option:not(:disabled) {
        color: #059669;
        font-weight: 600;
    }

    .session-info {
        font-size: 11px;
        color: #6b7280;
        font-weight: 500;
    }

    .period-badge.tka {
        background: #e0e7ff;
        color: #3730a3;
    }

    .period-badge.ukk {
        background: #ffe4e6;
        color: #9f1239;
    }

    .period-badge.ujian_praktik {
        background: #ccfbf1;
        color: #0f766e;
    }

    .period-badge.remidial {
        background: #ffedd5;
        color: #9a3412;
    }

    .session-row {
        border-left: 4px solid transparent;
    }

    .session-row.session-1 {
        border-left-color: #3b82f6;
    }

    .session-row.session-2 {
        border-left-color: #10b981;
    }

    .session-row.session-3 {
        border-left-color: #f59e0b;
    }

    .session-row.session-4 {
        border-left-color: #ef4444;
    }

    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.6);
        /* Slightly more premium slate overlay */
        backdrop-filter: blur(4px);
        /* Premium blur effect */
        z-index: 9999;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        transition: opacity 0.3s ease;
    }

    .modal.active {
        display: flex;
    }

    .modal-content {
        background: white;
        border-radius: 1.25rem;
        max-width: 650px;
        width: 95%;
        max-height: 85vh;
        overflow-y: auto;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        /* Premium shadow */
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: column;
        animation: modal-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes modal-pop {
        from {
            opacity: 0;
            transform: scale(0.95) translateY(10px);
        }

        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }

    .bulk-action-bar {
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%) translateY(100px);
        background: #1e293b;
        color: white;
        padding: 0.75rem 1.5rem;
        border-radius: 9999px;
        display: flex;
        align-items: center;
        gap: 1.5rem;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 50;
    }

    .bulk-action-bar.active {
        transform: translateX(-50%) translateY(0);
    }

    .session-details {
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        opacity: 0;
    }

    .session-row.expanded .session-details {
        max-height: 500px;
        opacity: 1;
        padding-top: 0.75rem;
        border-top: 1px dashed #e2e8f0;
        margin-top: 0.75rem;
    }

    .expand-icon {
        transition: transform 0.3s ease;
    }

    .session-row.expanded .expand-icon {
        transform: rotate(180deg);
    }

    .date-content {
        max-height: 2000px;
        /* Large enough for many sessions */
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 1;
    }

    .date-group.collapsed .date-content {
        max-height: 0;
        opacity: 0;
        margin-top: 0 !important;
    }

    .date-group.collapsed .expand-icon-date {
        transform: rotate(-90deg);
    }

    .expand-icon-date {
        transition: transform 0.3s ease;
    }

    .status-badge {
        font-size: 10px;
        padding: 2px 8px;
        border-radius: 9999px;
        font-weight: 700;
        text-transform: uppercase;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .status-upcoming {
        background: #eff6ff;
        color: #2563eb;
        border: 1px solid #dbeafe;
    }

    .status-ongoing {
        background: #ecfdf5;
        color: #059669;
        border: 1px solid #d1fae5;
        animation: pulse shadow 2s infinite;
    }

    .status-finished {
        background: #f8fafc;
        color: #64748b;
        border: 1px solid #f1f5f9;
    }

    @keyframes pulse-shadow {
        0% {
            box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4);
        }

        70% {
            box-shadow: 0 0 0 6px rgba(5, 150, 105, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
        }
    }

    /* DARK MODE OVERRIDES */
    .dark .modal-content {
        background: var(--bg-card) !important;
        border-color: var(--border-color) !important;
        color: var(--text-main) !important;
    }

    .dark .session-row {
        background-color: #1e293b !important;
    }

    .dark .session-row:hover {
        background-color: #334155 !important;
    }

    .dark .session-row.expanded .session-details {
        border-top-color: #334155;
    }

    .dark .sticky {
        background-color: #1e293b !important;
        border-bottom-color: #334155 !important;
    }

    .dark .period-badge.pts {
        background: rgba(30, 64, 175, 0.3) !important;
        color: #93c5fd !important;
    }

    .dark .period-badge.pas {
        background: rgba(22, 101, 52, 0.3) !important;
        color: #86efac !important;
    }

    .dark .period-badge.us {
        background: rgba(146, 64, 14, 0.3) !important;
        color: #fcd34d !important;
    }

    .dark .period-badge.suspulan {
        background: rgba(157, 23, 77, 0.3) !important;
        color: #f9a8d4 !important;
    }

    .dark .period-badge.ukk {
        background: rgba(159, 18, 57, 0.3) !important;
        color: #fda4af !important;
    }

    .dark .status-upcoming {
        background: rgba(37, 99, 235, 0.1) !important;
        color: #60a5fa !important;
        border-color: rgba(37, 99, 235, 0.3) !important;
    }

    .dark .status-ongoing {
        background: rgba(5, 150, 105, 0.1) !important;
        color: #34d399 !important;
        border-color: rgba(5, 150, 105, 0.3) !important;
    }

    .dark .status-finished {
        background: rgba(100, 116, 139, 0.1) !important;
        color: #94a3b8 !important;
        border-color: rgba(100, 116, 139, 0.3) !important;
    }