*{margin:0}.table-scroll-wrapper{overflow-x:auto;overflow-y:hidden;max-width:100%}.main-table{width:100%;min-width:max-content}.dark-mode-toggle{position:fixed;bottom:25px;left:25px;width:50px;height:50px;border-radius:50%;background:#fd7900;color:#fff;border:none;box-shadow:0 4px 15px #fd79004d;font-size:20px;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:9999;transition:all .3s cubic-bezier(.4,0,.2,1)}.dark-mode-toggle:hover{transform:scale(1.1) rotate(-15deg);background:#e66a00}.logout-btn-sidebar{margin-top:10px;padding:10px 12px;background:#dc3f451a;color:#fc8181;border:1px solid rgba(220,63,69,.2);border-radius:9px;font:700 12px Cairo,sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:.2s ease}.logout-btn-sidebar:hover{background:#dc3f45;color:#fff}.sidebar-collapsed .logout-btn-sidebar span{display:none}.sidebar-collapsed .logout-btn-sidebar{grid-template-columns:1fr;justify-items:center;padding-inline:8px}.role-tabs{position:relative;display:flex;overflow:hidden;z-index:1}.role-tabs:before{content:"";position:absolute;top:0;bottom:0;right:0;width:33.3333%;background:var(--primary-orange, #FD7900)!important;border-radius:inherit;transition:transform .5s cubic-bezier(.4,0,.2,1);z-index:-1}.role-tabs[data-active=All]:before{transform:translate(0)}.role-tabs[data-active=Student]:before{transform:translate(-100%)}.role-tabs[data-active=Admin]:before{transform:translate(-200%)}.role-tabs button{flex:1;background:transparent!important;border-color:transparent!important;transition:color .5s ease!important}.role-tabs button.active{color:#fff!important}.dark-theme{--primary-orange: #FD7900;background:#111827!important;color:#f3f4f6!important}.dark-theme [style*="color: #172033"],.dark-theme [style*="color:#172033"],.dark-theme [style*="color: #334155"],.dark-theme [style*="color:#334155"],.dark-theme [style*="color: #25334a"],.dark-theme [style*="color:#25334a"],.dark-theme [style*="color: #475569"],.dark-theme [style*="color:#475569"],.dark-theme [style*="color: #1e293b"],.dark-theme [style*="color:#1e293b"]{color:#f3f4f6!important}.dark-theme *::-webkit-scrollbar{background-color:transparent!important}.dark-theme *::-webkit-scrollbar-track{background:transparent!important;border:none!important;box-shadow:none!important}.dark-theme *::-webkit-scrollbar-thumb{background:#4b5563!important;border-radius:6px;border:none!important}.dark-theme *::-webkit-scrollbar-thumb:hover{background:#6b7280!important}.dark-theme.page-container{background:#111827!important}.dark-theme .users-workspace{background:transparent!important}.dark-theme .users-sidebar{background:#1f2937f2!important;border-color:#ffffff0d!important}.dark-theme .users-sidebar-toggle{background:#1f2937!important;border-color:#4b5563!important;color:#f3f4f6!important}.dark-theme .users-sidebar-toggle:hover{background:var(--primary-orange)!important;color:#fff!important;border-color:var(--primary-orange)!important}.dark-theme .users-side-link{color:#d1d5db!important}.dark-theme .users-side-link:hover{background:#ffffff0d!important;color:#fff!important}.dark-theme .users-side-link.active,.dark-theme .users-side-link.active-parent{background:var(--primary-orange)!important;color:#fff!important}.dark-theme .users-side-link.active i,.dark-theme .users-side-link.active-parent i{color:#fff!important}.dark-theme .users-sidebar-note{background:#0003!important;border-color:#ffffff0d!important}.dark-theme .submenu .sub-link{background:transparent!important;border-left:2px solid #374151!important;color:#9ca3af!important}.dark-theme .submenu .sub-link:hover{color:#fff!important;border-left-color:var(--primary-orange)!important;background:#ffffff05!important}.dark-theme .submenu .sub-link.active{color:var(--primary-orange)!important;border-left-color:var(--primary-orange)!important;background:#fd79001a!important;box-shadow:none!important}.dark-theme .main-header{background:#1f2937f2!important;border-bottom-color:#ffffff0d!important}.dark-theme .brand strong{color:#fff!important}.dark-theme .brand span{color:var(--primary-orange)!important}.dark-theme .back-btn{background:#ffffff0d!important;border-color:#ffffff1a!important;color:#f3f4f6!important}.dark-theme .back-btn:hover{background:#fd79001a!important;color:var(--primary-orange)!important;border-color:var(--primary-orange)!important}.dark-theme .dashboard-intro h2,.dark-theme .section-title h2,.dark-theme .filters-title strong,.dark-theme .users-list-meta h2{color:#fff!important}.dark-theme .users-count-badge{background:#10b9811a!important;color:#10b981!important;border:1px solid rgba(16,185,129,.2)!important}.dark-theme .results-range{color:#9ca3af!important}.dark-theme .stat-card,.dark-theme .analytics-card,.dark-theme .course-card{background:#1f2937!important;border-color:#ffffff0d!important;box-shadow:0 4px 15px #0003!important}.dark-theme .stat-number,.dark-theme .analytics-card h3,.dark-theme .course-card-header h3{color:#fff!important}.dark-theme .stat-label{color:#d1d5db!important}.dark-theme .circular-chart:before{background:#1f2937!important}.dark-theme .chart-content .percent{color:#fff!important}.dark-theme .maintenance-toggle{background:#1f2937!important;border-color:#ffffff0d!important}.dark-theme .maintenance-toggle .toggle-label{color:#f3f4f6!important}.dark-theme .maintenance-toggle.active{background:#ef44441a!important;border-color:#ef44444d!important}.dark-theme .maintenance-toggle.active .toggle-label{color:#ef4444!important}.dark-theme .extremum-item{background:#111827!important;border-color:#ffffff0d!important}.dark-theme .ex-name{color:#fff!important}.dark-theme .ex-label{color:#d1d5db!important}.dark-theme .leaderboard-kpi{background:#1f2937!important;border-color:#ffffff0d!important}.dark-theme .leaderboard-kpi strong{color:#fff!important}.dark-theme .leaderboard-stage{background:#1f2937!important;border-color:#ffffff0d!important}.dark-theme .podium-card{background:#111827!important;border-color:#ffffff0d!important}.dark-theme .podium-first{background:linear-gradient(180deg,#fd79001a,#111827)!important;border-color:#fd79004d!important}.dark-theme .podium-second{background:linear-gradient(180deg,#ffffff0d,#111827)!important;border-color:#ffffff0d!important}.dark-theme .podium-third{background:linear-gradient(180deg,#d977061a,#111827)!important;border-color:#ffffff0d!important}.dark-theme .podium-card h3{color:#fff!important}.dark-theme .runner-row{background:#111827!important;border-color:#ffffff0d!important}.dark-theme .runner-row:hover{background:#ffffff08!important;border-color:var(--primary-orange)!important}.dark-theme .runner-name strong{color:#fff!important}.dark-theme .runner-rank{background:#ffffff0d!important;color:#d1d5db!important}.dark-theme .runner-list-heading span{color:#fff!important}.dark-theme .course-showcase-card{background:#1f2937!important;border-color:#ffffff0d!important}.dark-theme .course-featured{background:#111827!important;border-color:#fd790033!important}.dark-theme .featured-main strong{color:#fff!important}.dark-theme .rail-row{border-color:#ffffff0d!important}.dark-theme .rail-name{color:#d1d5db!important}.dark-theme .admin-stats-bar{background:#111827!important;border-bottom-color:#ffffff0d!important}.dark-theme .admin-stat-item span{color:#d1d5db!important}.dark-theme .admin-logs-rail{background:#1f2937!important;border-top:1px solid rgba(255,255,255,.05)!important}.dark-theme .admin-log-row{background:#111827!important;border-color:#ffffff0d!important}.dark-theme .log-action{color:#fff!important}.dark-theme .risk-card .runner-row{background:#111827!important;border-color:#ef444433!important}.dark-theme .risk-card .runner-row:hover{background:#ef44440d!important}.dark-theme .filters-container{background:#1f2937!important;border-color:#ffffff0d!important}.dark-theme .filters-topline{border-bottom-color:#ffffff14!important}.dark-theme .filters-title strong{color:#fff!important}.dark-theme .filter-control{background:#111827!important;border-color:#ffffff12!important}.dark-theme .filter-control label{color:#f3f4f6!important}.dark-theme .filter-select,.dark-theme .search-input{background:#111827!important;border-color:#4b5563!important;color:#fff!important}.dark-theme .filter-select:focus,.dark-theme .search-input:focus{border-color:var(--primary-orange)!important}.dark-theme .filter-control-label{color:#f3f4f6!important}.dark-theme .date-range-input{background:#111827!important;border-color:#4b5563!important;color:#f3f4f6!important}.dark-theme .date-range-input:hover,.dark-theme .date-range-input[aria-expanded=true]{border-color:var(--primary-orange)!important;box-shadow:0 0 0 3px #fd790029}.dark-theme .date-range-input .placeholder{color:#94a3b8!important}.dark-theme .date-range-popover{background:#1f2937!important;border-color:#4b5563!important;box-shadow:0 18px 40px #00000061}.dark-theme .date-range-popover-head{color:#f3f4f6!important}.dark-theme .calendar-nav-btn{background:#111827!important;border-color:#4b5563!important;color:#cbd5e1!important}.dark-theme .calendar-nav-btn:hover{color:var(--primary-orange)!important;border-color:var(--primary-orange)!important}.dark-theme .date-range-weekdays{color:#94a3b8!important}.dark-theme .date-range-day{color:#e5e7eb!important}.dark-theme .date-range-day:hover,.dark-theme .date-range-day.in-range{background:#fd790029!important;color:#ffad76!important}.dark-theme .date-range-day.start,.dark-theme .date-range-day.end{background:var(--primary-orange)!important;color:#fff!important}.dark-theme .date-range-popover-footer{border-top-color:#94a3b829!important;color:#94a3b8!important}.dark-theme .date-range-popover-footer button{color:#ffad76!important}.dark-theme .reset-filters-btn{background:#111827!important;border-color:#4b5563!important;color:#f3f4f6!important}.dark-theme .reset-filters-btn:hover{background:#fd79001a!important;color:var(--primary-orange)!important;border-color:var(--primary-orange)!important}.dark-theme .role-tabs{background:#111827!important;border:1px solid #374151!important}.dark-theme .role-tabs button{color:#fff!important}.dark-theme .table-container,.dark-theme .main-table{background:transparent!important;border-color:transparent!important;box-shadow:none!important}.dark-theme .table-wrapper{background:#1f2937!important;border:1px solid rgba(255,255,255,.05)!important;border-radius:12px;overflow:hidden}.dark-theme .table-header-row{background:linear-gradient(90deg,#1f2937,#2d3748)!important;border-bottom:2px solid var(--primary-orange)!important;border-radius:12px 12px 0 0}.dark-theme .header-cell{color:#f3f4f6!important;border-color:#ffffff0d!important;background:transparent!important}.dark-theme .table-row{background:#1f2937!important;border-bottom:1px solid rgba(255,255,255,.03)!important}.dark-theme .table-row:hover{background:#ffffff08!important}.dark-theme .table-container{background:#1f2937!important;border-color:#ffffff0d!important}.dark-theme .table-body{background:#1f2937!important}.dark-theme .table-row{border-bottom-color:#ffffff0f!important}.dark-theme .table-row:hover{box-shadow:inset 3px 0 0 var(--primary-orange)}.dark-theme .date-cell{color:#9ca3af!important}.dark-theme .table-cell,.dark-theme .actions-cell,.dark-theme .code-cell,.dark-theme .phone-code-cell,.dark-theme .user-name-cell,.dark-theme .exam-cell{background-color:transparent!important;color:#f3f4f6!important;border-color:#ffffff08!important}.dark-theme .font-weight-bold{color:#f3f4f6!important}.dark-theme .score-value{color:#fff!important}.dark-theme .score-type-cell .badge-primary{background:#3b82f629!important;color:#60a5fa!important;border-color:#60a5fa4d!important}.dark-theme .score-type-cell .badge-secondary{background:#94a3b81f!important;color:#cbd5e1!important;border-color:#94a3b840!important}.dark-theme .name-cell strong{color:#fff!important}.dark-theme .user-name-cell span{color:#fff!important;font-weight:700!important}.dark-theme .code-cell span,.dark-theme .login-code{background:#111827!important;color:var(--primary-orange)!important;border:1px solid #374151!important}.dark-theme .copy-code-btn{background:transparent!important;color:#f3f4f6!important;border:1px solid #374151!important}.dark-theme .copy-code-btn:hover{background:var(--primary-orange)!important;color:#fff!important;border-color:var(--primary-orange)!important}.dark-theme .sticky-col{background-color:#1f2937!important;box-shadow:-2px 0 4px #0000001a!important}.dark-theme .table-header-row .sticky-col{background-color:#1f2937!important;border-bottom:2px solid var(--primary-orange)!important}.dark-theme .table-row:hover .sticky-col{background-color:#283344!important}.dark-theme .pagination-controls{background:transparent!important;border-color:transparent!important}.dark-theme .page-btn,.dark-theme .leaderboard-page-btn{background:#111827!important;border-color:#374151!important;color:#fff!important}.dark-theme .leaderboard-pagination{background:#1f2937!important;border-color:#ffffff0d!important;box-shadow:0 10px 26px #0000002e!important}.dark-theme .page-btn:hover:not(:disabled),.dark-theme .leaderboard-page-btn:hover:not(:disabled){border-color:var(--primary-orange)!important;color:var(--primary-orange)!important;background:#fd79001a!important}.dark-theme .page-btn:disabled,.dark-theme .leaderboard-page-btn:disabled{background:#1f2937!important;color:#4b5563!important}.dark-theme .number-btn.active,.dark-theme .leaderboard-page-btn.active{background:var(--primary-orange)!important;color:#fff!important;border-color:var(--primary-orange)!important;box-shadow:0 4px 10px #fd79004d!important}.dark-theme .no-data{background:transparent!important;border:1px solid rgba(255,255,255,.05)!important;color:#d1d5db!important;box-shadow:none!important}.dark-theme .no-data i{color:#4b5563!important}.dark-theme .loading-state{background:transparent!important;border:none!important;box-shadow:none!important}.dark-theme .modal-content,.dark-theme .message-modal-content{background:#1f2937!important;border-color:#374151!important;color:#fff!important}.dark-theme .msg-modal-title{color:#fff!important}.dark-theme .msg-modal-text{color:#d1d5db!important}.dark-theme .modal-header h2{color:#fff!important}.dark-theme .modal-header{border-color:#ffffff0d!important}.dark-theme .close-btn{color:#d1d5db!important}.dark-theme .close-btn:hover{background:#ef44441a!important;color:#ef4444!important}.dark-theme .info-box{background:#111827!important;border-color:#ffffff14!important;color:#d1d5db!important}.dark-theme .action-btn{color:#fff!important}.dark-theme .modal-content .checkbox-group label{color:#f3f4f6!important}.dark-theme .upload-progress{color:#fed7aa!important;background:#9a341247!important;border-color:#fb923c73!important}.dark-theme .upload-progress span{color:#fed7aa!important}.dark-theme .icon-btn{background:#ffffff0d!important;color:#d1d5db!important;border:1px solid rgba(255,255,255,.1)!important}.dark-theme .icon-btn:hover{filter:brightness(1.2)!important;background:var(--primary-orange)!important;color:#fff!important}.dark-theme .delete-btn{background:#ef44441a!important;color:#ef4444!important;border-color:#ef444433!important}.dark-theme .delete-btn:hover{background:#ef4444!important;color:#fff!important}.dark-theme .action-btn.add-btn{background:var(--primary-orange)!important;color:#fff!important;border:none!important}.dark-theme .action-btn.upload-btn{background:#10b981!important;color:#fff!important;border:none!important}.dark-theme .actions-menu-panel{background:#1f2937!important;border:1px solid #374151!important;box-shadow:0 10px 25px #00000080!important}.dark-theme .actions-menu-panel button{color:#f3f4f6!important;border-bottom:1px solid rgba(255,255,255,.05)!important}.dark-theme .actions-menu-panel button:hover{background:#ffffff0d!important;color:#fff!important}.dark-theme .form-group label{color:#f3f4f6!important}.dark-theme input,.dark-theme select,.dark-theme textarea,.dark-theme .role-select{background-color:#111827!important;border-color:#4b5563!important;color:#fff!important}.dark-theme option{background-color:#111827!important;color:#fff!important}.dark-theme input:focus,.dark-theme select:focus,.dark-theme textarea:focus,.dark-theme .role-select:focus{border-color:var(--primary-orange)!important;box-shadow:0 0 0 2px #fd790033!important}.dark-theme .score-box{background:#111827!important;border-color:#374151!important;color:#fff!important}.dark-theme .score-box:hover{background:#fd79001a!important;border-color:var(--primary-orange)!important;color:var(--primary-orange)!important}.dark-theme .score-box.restricted-grading{background:#ffffff0d!important;color:#9ca3af!important}.dark-theme .mini-btn{background:#ffffff0d!important;color:#d1d5db!important;border-color:#374151!important}.dark-theme .mini-btn:hover{color:#fff!important}.dark-theme .mini-btn.edit:hover{background:#3b82f6!important;border-color:#3b82f6!important}.dark-theme .mini-btn.delete:hover{background:#dc3f45!important;border-color:#dc3f45!important}.dark-theme .mini-btn.upload:hover{background:#10b981!important;border-color:#10b981!important}.dark-theme .mini-btn.warning:hover{background:#f59e0b!important;border-color:#f59e0b!important}.dark-theme .exam-date-row{background:#ffffff0d!important;color:#d1d5db!important}.dark-theme .exam-sub-headers span{background:#0003!important;color:#f3f4f6!important}.dark-theme .table-scroll-wrapper.top-scrollbar{background:transparent!important}@keyframes rowStagger{0%{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}.table-row,.runner-row,.podium-card,.course-showcase-card{opacity:0;animation:rowStagger .4s cubic-bezier(.4,0,.2,1) forwards}.table-row:nth-child(1){animation-delay:.05s}.table-row:nth-child(2){animation-delay:.1s}.table-row:nth-child(3){animation-delay:.15s}.table-row:nth-child(4){animation-delay:.2s}.table-row:nth-child(5){animation-delay:.25s}.table-row:nth-child(6){animation-delay:.3s}.table-row:nth-child(7){animation-delay:.35s}.table-row:nth-child(8){animation-delay:.4s}.table-row:nth-child(9){animation-delay:.45s}.table-row:nth-child(10){animation-delay:.5s}.table-row:nth-child(n+11){animation-delay:.55s}.runner-row:nth-child(1){animation-delay:.1s}.runner-row:nth-child(2){animation-delay:.15s}.runner-row:nth-child(3){animation-delay:.2s}.runner-row:nth-child(4){animation-delay:.25s}.runner-row:nth-child(5){animation-delay:.3s}.runner-row:nth-child(n+6){animation-delay:.35s}.podium-first{animation-delay:.1s}.podium-second{animation-delay:.2s}.podium-third{animation-delay:.3s}.course-showcase-card:nth-child(1){animation-delay:.1s}.course-showcase-card:nth-child(2){animation-delay:.2s}.course-showcase-card:nth-child(3){animation-delay:.3s}.course-showcase-card:nth-child(4){animation-delay:.4s}.course-showcase-card:nth-child(n+5){animation-delay:.5s}
