:root {
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #f8f9fa;
}
.admin-layout {
  background: #f1f5f9;
}
.admin-shell {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 260px;
  background: #0f172a;
  color: #e2e8f0;
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 24px;
}
.admin-nav a {
  display: block;
  color: #cbd5f5;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 6px;
}
.admin-nav a:hover {
  background: rgba(148, 163, 184, 0.2);
  color: #fff;
}
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-topbar-title {
  font-weight: 600;
  color: #0f172a;
}
.admin-content {
  padding: 24px;
}
.admin-toggle {
  display: none;
}
.admin-overlay {
  display: none;
}
@media (max-width: 991px) {
  .admin-shell {
    position: relative;
  }
  .admin-sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    height: 100vh;
    transition: left 0.2s ease;
    z-index: 1040;
  }
  .admin-toggle {
    display: inline-flex;
  }
  .admin-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 1030;
  }
  .admin-layout.admin-sidebar-open .admin-sidebar {
    left: 0;
  }
  .admin-layout.admin-sidebar-open .admin-overlay {
    display: block;
  }
}
.page-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.muted {
  color: #64748b;
}
.card-link {
  text-decoration: none;
}
.timer-badge {
  font-variant-numeric: tabular-nums;
}
.cursor-pointer {
  cursor: pointer;
}
.card{
  outline: none;
  border: none;
  border-radius: 15px;
}
.btn-pill {
  border-radius: 50rem;
}

.exam-checked{
  border-top: 1px solid !important; 
  border-bottom: 1px solid !important; 
  border-right: 1px solid !important;  
  border-color: #cfe3ff !important;
}