/* AdminStyle.css - Extracted inline styles from admin/editor pages */

/* ===== Modal Base ===== */
.admin-modal-content {
  border-radius: 16px;
  overflow: hidden;
  background-color: #f4f6fb;
}
.admin-modal-header {
  background-color: #f4f6fb;
}
.admin-modal-title {
  color: #1a1f5e;
}
.admin-modal-body {
  background-color: #f4f6fb;
}
.admin-modal-header-no-border {
  border-bottom: none;
  padding: 24px 32px 16px;
}
.admin-modal-body-padded {
  padding: 0 32px 24px;
}
.admin-modal-footer-bordered {
  border-top: 1px solid #e2e8f0;
  padding: 16px 32px;
  background: white;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  justify-content: flex-end;
}
.admin-modal-footer-no-border {
  border-top: none;
  padding: 24px 32px;
  background: white;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.admin-modal-close-btn {
  top: 24px;
  right: 32px;
}
.admin-modal-large {
  background-color: #f8f9fc;
  border-radius: 0 !important;
  border: none !important;
  height: 100vh !important;
  max-height: 100vh !important;
  min-height: 100vh !important;
}
.admin-modal-header-large {
  border-bottom: 1px solid #e2e8f0;
  padding: 24px 32px;
  background: white;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  position: relative;
}

/* ===== Question Answer Panels ===== */
.admin-answer-panel {
  background-color: #eff2f7;
  border-left: 1px solid #dde0f0;
}
.admin-answer-panel-padded {
  background-color: #f4f6fb;
  border-left: 1px solid #dde0f0;
  padding: 24px;
}
.admin-answer-footer {
  background-color: #f4f6fb;
}

/* ===== Labels & Text ===== */
.admin-optional-label {
  color: #9ca3af;
  font-weight: 400;
}
.admin-required-label {
  color: #ef4444;
}
.admin-optional-label-sm {
  color: #9ca3af;
  font-weight: 400;
  font-size: 0.8rem;
}
.admin-required-label-green {
  color: #22c55e;
  font-weight: 600;
}
.admin-required-label-green-sm {
  color: #22c55e;
  font-weight: 600;
  font-size: 0.8rem;
}
.admin-question-body-label {
  color: #6b7280;
  font-weight: 400;
  font-size: 0.8rem;
}
.admin-link-blue {
  color: #1a60c5;
  font-weight: 600;
}
.admin-link-blue-sm {
  color: #1a60c5;
  font-size: 0.95rem;
}
.admin-text-success {
  color: #16a34a;
  font-weight: 600;
}
.admin-text-success-bold {
  color: #16a34a;
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.admin-feedback-optional {
  color: #9ca3af;
  font-weight: 400;
}
.admin-math-symbol {
  font-family: serif;
  font-style: italic;
}
.admin-text-indigo {
  color: #6366f1;
  width: 100%;
  font-weight: 500;
  font-size: 14px;
}
.admin-text-primary-dark {
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 4px;
}
.admin-text-title {
  color: #1e1b4b;
  font-weight: 700;
}
.admin-text-label {
  color: #3b82f6;
  font-weight: 600;
}
.admin-text-slate {
  color: #64748b;
  font-size: 14px;
  padding-left: 20px;
}
.admin-text-muted-sm {
  font-size: 12px;
}
.admin-text-error {
  font-size: 13px;
  display: none;
}
.admin-text-orange {
  color: #f97316;
}
.admin-text-purple {
  color: #7C3AED;
}
.admin-text-red {
  color: #ef4444;
}
.admin-text-dark {
  color: #374151;
}
.admin-text-darker {
  color: #111827;
}
.admin-text-gray-light {
  color: #D1D5DB;
}
.admin-text-secondary {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== Buttons ===== */
.admin-btn-primary-dark {
  background-color: #1a3673;
  border-color: #1a3673;
}
.admin-btn-navy {
  background-color: #1e3a8a;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}
.admin-btn-orange {
  background-color: #f97316;
  border-color: #f97316;
}
.admin-btn-orange-plain {
  border-radius: 8px;
  padding: 8px 24px;
  background-color: #f97316;
  color: white;
  font-weight: 600;
  border: none;
}
.admin-btn-purple {
  background-color: #6366f1;
  border: none;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 48px;
}
.admin-btn-outline-indigo {
  border-radius: 8px;
  padding: 8px 24px;
  border-color: #6366f1;
  color: #6366f1;
  font-weight: 600;
}
.admin-btn-outline-gray {
  border-radius: 8px;
  padding: 8px 24px;
  border-color: #cbd5e1;
  color: #475569;
  font-weight: 600;
}
.admin-btn-outline-gray-wide {
  border-radius: 8px;
  padding: 8px 32px;
  border-color: #cbd5e1;
  color: #475569;
  font-weight: 600;
}
.admin-btn-more-options {
  background-color: #adb5bd;
  border: none;
  color: white;
  border-radius: 4px;
  padding: 6px 12px;
  height: 100%;
}
.admin-btn-drag-words {
  background: #3b3580;
  font-size: 0.8rem;
  font-weight: 600;
}
.admin-btn-drag-words-sm {
  background: #3b3580;
  font-size: 0.82rem;
  font-weight: 600;
}
.admin-btn-expand {
  font-size: 0.8rem;
}
.admin-btn-add-section {
  padding: 9px 14px;
}
.admin-btn-resend {
  color: #3b3580;
  font-weight: 700;
  cursor: pointer;
}
.admin-btn-toolbar {
  font-size: 0.7rem;
}
.admin-btn-checkbox {
  width: 22px;
  height: 22px;
  border-width: 2px;
  cursor: pointer;
}
.admin-btn-chevron-arrange {
  font-size: 0.65rem;
}
.admin-btn-icon {
  cursor: pointer;
}

/* ===== Rich Text / Editor ===== */
.admin-rich-text-footer {
  font-size: 0.75rem;
}
.admin-editor-wrapper {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  overflow: hidden;
}
.admin-editor-toolbar {
  border: none;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 24px;
  background-color: #f8f9fc;
}
.admin-editor-area {
  border: none;
  flex-grow: 1;
  min-height: 400px;
  font-size: 16px;
  padding: 16px 24px;
}
.admin-editor-textarea {
  resize: none;
  padding: 16px;
}
.admin-editor-divider {
  width: 1px;
  height: 16px;
  background: #e2e8f0;
}
.admin-textarea-styled {
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 16px;
}
.admin-form-select {
  border-radius: 8px;
  padding: 10px 16px;
  border: 1px solid #e2e8f0;
  color: #64748b;
}
.admin-dnd-category-col {
  background: #fff;
  min-height: 96px;
}
.admin-dnd-category-header {
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #374151;
}
.admin-dnd-category-title {
  width: 90px;
  flex-shrink: 0;
}
.admin-dnd-category-title-sm {
  width: 90px;
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
}
.admin-dnd-input {
  font-size: 0.85rem;
}
.admin-dnd-blank-list {
  padding: 4px 0;
}

/* ===== Preview ===== */
.admin-preview-container {
  background-color: #f1f5f9;
  border-radius: 12px;
  padding: 24px;
  height: 100%;
}
.admin-preview-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.admin-preview-heading {
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.admin-preview-question {
  font-weight: 700;
  color: #111827;
  font-size: 1rem;
  margin-bottom: 14px;
}
.admin-preview-note {
  font-size: 0.8rem;
  color: #9ca3af;
  margin: 0;
}
.admin-preview-stem {
  font-size: 0.9rem;
  color: #374151;
  line-height: 2;
}
.admin-preview-stem-margin {
  margin-top: 10px;
}
.admin-preview-hr {
  margin: 20px 0 12px 0;
  border-top: 1px dashed #e5e7eb;
  opacity: 1;
}
.admin-blank-span {
  display: inline-block;
  min-width: 84px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 4px;
  height: 28px;
  vertical-align: middle;
  margin: 0 4px;
}
.admin-blank-span-lg {
  display: inline-block;
  min-width: 96px;
  border-bottom: 2px solid #94a3b8;
  margin: 0 4px;
  vertical-align: middle;
}
.admin-quick-tips-card {
  margin-top: 24px;
}
.admin-quick-tips-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 12px;
}
.admin-quick-tips-list {
  font-size: 0.85rem;
  color: #6b7280;
  padding-left: 20px;
  line-height: 1.6;
}
.admin-quick-tips-icon {
  color: #f97316;
  margin-right: 6px;
}
.admin-empty-placeholder {
  padding: 14px;
  font-size: 0.82rem;
  color: #9ca3af;
}
.admin-section-desc {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 6px;
}
.admin-section-desc-wide {
  font-size: 0.8rem;
  color: #6b7280;
}

/* ===== HotSpot ===== */
.admin-hs-upload-panel {
  min-height: 180px;
  border-style: dashed !important;
  background: #fff;
}
.admin-hs-upload-prompt {
  cursor: pointer;
  min-height: 160px;
}
.admin-hs-upload-icon {
  font-size: 2rem;
  color: #6b7280;
}
.admin-hs-preview-image {
  max-height: 240px;
  object-fit: contain;
  background: #f8fafc;
}
.admin-hs-preview-stage {
  background: #fff;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-hs-preview-image-lg {
  max-width: 100%;
  max-height: 320px;
  display: none;
}
.admin-hs-placeholder-icon {
  font-size: 4rem;
}

/* ===== Auth Pages ===== */
.admin-auth-container {
  text-align: center;
  margin-bottom: 26px;
}
.admin-auth-icon {
  color: #7c3aed;
}
.admin-auth-icon-lg {
  margin: 0 auto 22px;
  width: 72px;
  height: 72px;
  font-size: 1.8rem;
}
.admin-auth-sub {
  margin-bottom: 20px;
}
.admin-auth-success-icon {
  font-size: 0.9rem;
}

/* ===== Index/Exam Pages ===== */
.admin-question-item {
  background-color: #fbfbfb;
  border: 1px solid #f0f0f0;
}
.admin-question-item-group {
  background-color: white;
  border-radius: 8px;
}
.admin-question-group {
  background: #f8f8ff;
  border: none;
  border-radius: 8px;
  padding: 24px;
}
.admin-group-title {
  color: #1a60c5;
}
.admin-group-subtitle {
  color: #1a60c5;
  font-size: 0.95rem;
}
.admin-chevron-arrange {
  font-size: 0.65rem;
}
.admin-chevron-collapse {
  font-size: 0.9rem;
}
.admin-dropdown-menu {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 10px 0;
}
.admin-search-bar {
  background: #f4f6fb;
  border: 1px solid #e5e7ef;
}
.admin-search-input {
  width: 180px;
  font-size: 0.9rem;
  color: #6b7280;
}
.admin-search-icon {
  font-size: 0.9rem;
}
.admin-search-slash {
  font-size: 0.75rem;
  background: #fff;
}
.admin-instructor-label {
  font-size: 0.95rem;
}
.admin-label-required {
  color: #ef4444;
}
.admin-form-error {
  font-size: 0.73rem;
  color: #9ca3af;
  margin-top: 5px;
}

/* ===== Badges ===== */
.admin-badge-mcq {
  background-color: #cbe3e9;
  color: #1b6378;
}
.admin-badge-tf {
  background-color: #cbe3e9;
  color: #1b6378;
}
.admin-badge-sa {
  background-color: #cbe3e9;
  color: #1b6378;
}
.admin-badge-num {
  background-color: #cbe3e9;
  color: #1b6378;
}
.admin-badge-drag {
  background-color: #cbe3e9;
  color: #1b6378;
}
.admin-badge-comp {
  background-color: #c4ece9;
  color: #186b6a;
  font-weight: 600;
  padding: 0.4rem 1.5rem;
  margin-left: 0.5rem;
}
.admin-badge-level-advanced {
  color: #7C3AED;
}

/* ===== Progress Bars ===== */
.admin-progress-track {
  height: 4px;
  background: #E5E7EB;
  border-radius: 4px;
}
.admin-progress-fill-amber {
  width: 32%;
  background: #F59E0B;
  border-radius: 4px;
}
.admin-progress-fill-blue {
  background: #3B82F6;
  border-radius: 4px;
}
.admin-progress-fill-green {
  background: #10B981;
  border-radius: 4px;
}
.admin-progress-fill-red {
  background: #EF4444;
  border-radius: 4px;
}
.admin-progress-fill-gray {
  width: 0%;
}
.admin-progress-bar-amber {
  width: 32%;
  background: #F59E0B;
  border-radius: 4px;
}
.admin-progress-bar-blue {
  background: #3B82F6;
  border-radius: 4px;
}
.admin-progress-bar-green {
  background: #10B981;
  border-radius: 4px;
}
.admin-progress-bar-gray {
  width: 0%;
}

/* ===== Utility Widths ===== */
.admin-w-32 { width: 32%; }
.admin-w-36 { width: 36px; padding-left: 20px; }
.admin-w-40 { width: 40px; }
.admin-w-60 { width: 60px; }
.admin-w-72 { width: 72%; }
.admin-w-80 { width: 80%; }
.admin-w-90 { width: 90%; }
.admin-w-100 { width: 100px; }
.admin-w-180 { width: 180px; font-size: 0.9rem; color: #6b7280; }
.admin-w-80px { width: 80px; }
.admin-mini-w-80 { width: 80px; }
.admin-bar-w-91 { width: 91%; }
.admin-bar-w-90 { width: 90%; }
.admin-bar-w-92 { width: 92%; }
.admin-bar-w-89 { width: 89%; }
.admin-bar-w-85 { width: 85%; }
.admin-bar-w-78 { width: 78%; }
.admin-bar-w-73 { width: 73%; }
.admin-bar-w-70 { width: 70%; }
.admin-bar-w-76 { width: 76%; }
.admin-bar-w-65 { width: 65%; }
.admin-bar-w-68 { width: 68%; }
.admin-bar-w-22 { width: 22%; }
.admin-bar-w-48 { width: 48%; }
.admin-bar-w-56 { width: 56%; }
.admin-bar-w-80-pct { width: 80%; }
.admin-bar-w-40-pct { width: 40%; }

/* ===== Utility Font Sizes ===== */
.admin-fs-065 { font-size: 0.65rem; }
.admin-fs-07 { font-size: 0.7rem; }
.admin-fs-075 { font-size: 0.75rem; }
.admin-fs-08 { font-size: 0.8rem; }
.admin-fs-085 { font-size: 0.85rem; }
.admin-fs-09 { font-size: 0.9rem; }
.admin-fs-095 { font-size: 0.95rem; }
.admin-fs-1rem { font-size: 1rem; }
.admin-fs-1rem-lg { font-size: 1.1rem; font-weight: 500; color: #0C5FB6; margin-bottom: 28px; }
.admin-fs-125 { font-size: 1.25rem; }
.admin-fs-12px { font-size: 12px; }
.admin-fs-13px { font-size: 13px; display: none; }
.admin-fs-14px { font-size: 14px; }
.admin-fs-16px { font-size: 16px; }
.admin-fs-085-rem { font-size: 0.85rem; color: #6B7280; margin-bottom: 16px; }
.admin-fs-095-rem { font-size: 0.95rem; color: #6b7280; margin-bottom: 16px; }
.admin-fs-1rem-800 { font-size: 1rem; font-weight: 800; color: #111827; margin-bottom: 4px; }
.admin-fs-085-gray { font-size: 0.85rem; color: #9ca3af; margin-top: 5px; }
.admin-fs-078-gray { font-size: 0.78rem; color: #6b7280; margin-bottom: 6px; }
.admin-fs-09-dark { font-size: 0.9rem; color: #374151; line-height: 2; }
.admin-fs-09-gray { font-size: 0.9rem; color: #9ca3af; margin: 0; }
.admin-fs-09-primary { font-size: 0.9rem; font-weight: 700; color: #374151; margin-bottom: 12px; }
.admin-fs-085-gray-list { font-size: 0.85rem; color: #6b7280; padding-left: 20px; line-height: 1.6; }
.admin-fs-09-darker { font-weight: 700; color: #111827; font-size: 1rem; margin-bottom: 14px; }
.admin-fs-2rem { font-size: 2rem; color: #6b7280; }
.admin-fs-4rem { font-size: 4rem; }
.admin-fs-065-badge { font-size: 0.65rem; padding: 2px 10px; }
.admin-fs-09-stat { font-size: 0.9rem; }
.admin-fs-085-sub { font-size: 0.85rem; color: #6B7280; margin-bottom: 16px; }
.admin-fs-065-res { font-size: 0.65rem; padding: 2px 10px; }
.admin-fs-1rem-title { font-size: 1.25rem; }

/* ===== Utility Spacing ===== */
.admin-mb-0 { margin-bottom: 0; }
.admin-mb-4 { margin-bottom: 4px; }
.admin-mb-12 { margin-bottom: 12px; }
.admin-mb-16 { margin-bottom: 16px; }
.admin-mb-20 { margin-bottom: 20px; }
.admin-mb-24 { margin-bottom: 24px; }
.admin-mb-26 { margin-bottom: 26px; }
.admin-mb-28 { margin-bottom: 28px; }
.admin-ml-0 { margin-left: 0; }
.admin-ml-4 { margin-left: 4px; }
.admin-ml-auto { margin-left: auto; }
.admin-ml-05 { margin-left: 0.5rem; }
.admin-mt-0 { margin-top: 0; }
.admin-mt-10 { margin-top: 10px; }
.admin-mt-12 { margin-top: 12px; }
.admin-mt-24 { margin-top: 24px; }
.admin-mt-28 { margin-bottom: 28px; }
.admin-p-0 { padding: 0; }
.admin-p-16 { padding: 16px; }
.admin-p-4-0 { padding: 4px 0; }
.admin-p-14-082 { padding: 14px; font-size: 0.82rem; color: #9ca3af; }
.admin-p-9-14 { padding: 9px 14px; }
.admin-p-10-16 { padding: 10px 16px; }
.admin-p-8-24 { padding: 8px 24px; }
.admin-p-8-32 { padding: 8px 32px; }
.admin-p-8-48 { padding: 8px 48px; }
.admin-p-24 { padding: 24px; }
.admin-p-24-32-16 { padding: 24px 32px 16px; }
.admin-p-0-32-24 { padding: 0 32px 24px; }
.admin-p-16-32 { padding: 16px 32px; }
.admin-p-24-32 { padding: 24px 32px; }
.admin-pt-0 { padding-top: 0; }
.admin-pr-32 { padding-right: 32px; }

/* ===== Layout ===== */
.admin-list-view {
  border-radius: 12px;
  overflow: hidden;
}
.admin-stat-grid {
  grid-template-columns: repeat(4, 1fr);
}
.admin-mini-progress-wrap {
  position: relative;
}
.admin-bar-wrap {
  position: relative;
}
.admin-bar-fill {
  height: 4px;
  background: #E5E7EB;
  border-radius: 4px;
}
.admin-table-prog-bar {
  position: relative;
}
.admin-table-prog-fill-green {
  width: 90%;
}
.admin-table-prog-fill-gray {
  width: 0%;
}
.admin-table-prog-fill-red {
  width: 40%;
}
.admin-table-prog-text-green {
  margin-left: 4px;
}
.admin-table-prog-text-red {
  margin-left: 4px;
}
.admin-table-score-sub {
  /* inherits default */ 
}
.admin-table-score-delta {
  /* inherits default */ 
}
.admin-exam-overview-card {
  margin-bottom: 0;
}
.admin-eoc-title {
  font-size: 1.25rem;
}
.admin-res-badge-active {
  font-size: 0.65rem;
  padding: 2px 10px;
}
.admin-ppc-stat-val {
  font-size: 0.9rem;
}
.admin-sm-badge-latest {
  margin-left: 0;
}
.admin-sm-badge-best {
  margin-left: 0;
}
.admin-sm-badge-earlier {
  background: #F3F4F6;
  color: #6B7280;
  margin-left: 0;
}
.admin-participant-meta {
  color: #6B7280;
}
.admin-address-link {
  color: #3b82f6;
  font-weight: 600;
}
.admin-hr-slaten {
  border-color: #e2e8f0;
  margin: 16px 0;
}
.admin-question-collapse {
  cursor: pointer;
  margin-bottom: 0;
}
.admin-chevron-left {
  font-size: 0.9rem;
}

/* ===== Results Specific ===== */
.admin-attempt-fill-prompt {
  font-size: 1.1rem;
  font-weight: 500;
  color: #0C5FB6;
  margin-bottom: 28px;
}
.admin-toolbar-chevron {
  font-size: 0.7rem;
}
.admin-results-title {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}
.admin-results-subtitle {
  font-size: 0.85rem;
  color: #6B7280;
  margin-bottom: 16px;
}
.admin-mini-progress-fill-green {
  width: 78%;
}
.admin-mini-progress-fill-red {
  width: 22%;
}
.admin-mini-progress-fill-blue {
  width: 73%;
}
.admin-mini-progress-fill-green-65 {
  width: 65%;
}
.admin-mini-progress-fill-green-70 {
  width: 70%;
}
.admin-mini-progress-fill-green-68 {
  width: 68%;
}
.admin-mini-progress-fill-green-76 {
  width: 76%;
}
.admin-mini-progress-fill-gray {
  width: 0%;
}

/* ===== Auth Pages ===== */
.admin-strength-row {
  display: none;
}
.admin-strength-label {
  color: #9ca3af;
}
.admin-step-panel-center {
  text-align: center;
}
.admin-step-icon-success {
  margin: 0 auto 22px;
  width: 72px;
  height: 72px;
  font-size: 1.8rem;
}
.admin-step-sub {
  margin-bottom: 20px;
}
.admin-field-msg {
  display: none;
}
.admin-field-msg-center {
  display: none;
  text-align: center;
}
.admin-match-msg {
  display: none;
}
.admin-btn-mt-10 {
  margin-top: 10px;
}

/* ===== Search & Table ===== */
.admin-th-w-36 {
  width: 36px;
  padding-left: 20px;
}
.admin-th-w-100 {
  width: 100px;
}
.admin-th-w-40 {
  width: 40px;
}
.admin-dt-empty {
  display: none;
}

/* ===== Form Elements ===== */
.admin-form-select-sm {
  width: 60px;
}

/* ===== Question Specific ===== */
.admin-fib-preview-stem {
  display: inline-block;
  min-width: 96px;
  border-bottom: 2px solid #94a3b8;
  margin: 0 4px;
  vertical-align: middle;
}
.admin-correct-badge {
  color: #16a34a;
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.admin-choice-checkbox {
  width: 22px;
  height: 22px;
  border-width: 2px;
  cursor: pointer;
}
.admin-dnd-empty-msg {
  padding: 14px;
  font-size: 0.82rem;
  color: #9ca3af;
}
.admin-distractor-input {
  font-size: 0.85rem;
}
.admin-distractor-btn {
  flex-shrink: 0;
}
.admin-model-answer-section {
  display: none;
  margin-top: 12px;
}

/* ===== StudentExamSuite Shared ===== */
.student-logo {
  width: 128px;
}
.student-progress-bar {
  width: 8.33%;
}
.student-progress-bar-w-6 {
  width: 6.67%;
}
.student-progress-bar-w-13 {
  width: 13.33%;
}
.student-progress-bar-w-20 {
  width: 20%;
}
.student-progress-bar-w-33 {
  width: 33.33%;
}
.student-progress-bar-w-46 {
  width: 46.67%;
}
.student-send-icon {
  font-size: 2.2rem;
  color: var(--blue-mid);
  margin-bottom: 14px;
  display: block;
}
.student-btn {
  border-radius: 10px;
}
.student-btn-padded {
  border-radius: 10px;
  padding: 12px 32px;
  margin-top: 8px;
}
.student-radio-inline {
  flex-direction: column;
  align-items: flex-start;
}
.student-radio-inline-gap {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.student-radio-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.student-option-img {
  max-height: 200px;
  border: 1px solid #e2e8f0;
}
.student-success-icon {
  font-size: 4rem;
  color: #22c55e;
}
.student-submitted-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a1f5e;
}
.student-submitted-text {
  color: #6b7280;
  font-size: 1rem;
}
.student-submitted-text-sm {
  color: #6b7280;
  font-size: 0.875rem;
}
.student-submitted-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 16px;
  text-align: center;
}
.student-completion-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.student-completion-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.student-completion-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-dark);
  white-space: nowrap;
}
.student-completion-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  background: #fdfdfd;
  font-size: 1.1rem;
  color: var(--text-primary);
  text-align: center;
  outline: none;
}
.student-completion-input-sm {
  flex: 1;
  min-width: 250px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  background: #fdfdfd;
  font-size: 1.1rem;
  color: var(--text-primary);
  text-align: center;
  outline: none;
}
.student-completion-row-font {
  font-size: 1.5rem;
}
.student-completion-input-xs {
  min-width: 80px;
  width: 120px;
}
.student-textarea-sm {
  min-height: 120px;
  max-width: 400px;
}
.student-textarea-md {
  min-height: 220px;
}
.student-textarea-xs {
  min-height: 100px;
  font-size: 0.85rem;
}
.student-explanation-icon {
  color: #334155;
  font-size: 1.05rem;
}
.student-explanation-label {
  color: #334155;
  font-size: 0.95rem;
  font-weight: 500;
}
.student-required-badge {
  background-color: #FECACA;
  color: #DC2626;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}
.student-char-count {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.student-drag-words-blank {
  display: inline-block;
  width: 140px;
  height: 60px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  vertical-align: middle;
  margin: 0 10px;
  background-color: white;
}
.student-drag-words-text {
  font-size: 0.8rem;
  display: block;
  text-align: center;
  line-height: 60px;
}
.student-drag-word-bold {
  font-weight: 600;
  font-size: 1.25rem;
  color: #1a1f5e;
}
.student-drag-item {
  cursor: grab;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}
.student-drag-item-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
}
.student-question-text-bold {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1f5e;
  margin-bottom: 12px;
}
.student-question-text-primary {
  font-weight: 500;
  font-size: 0.95rem;
}
.student-ordering-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0;
  margin-bottom: 15px;
  overflow: hidden;
}
.student-drag-handle-area {
  width: 60px;
  height: 160px;
  border-right: 1px solid #e2e8f0;
  background: #fbfbfb;
}
.student-drag-handle-icon {
  font-size: 1.2rem;
}
.student-image-area {
  height: 160px;
}
.student-ordering-img {
  height: 140px;
  object-fit: contain;
}
.student-matching-target {
  height: 120px;
}
.student-matching-target-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.student-attachment-img {
  max-height: 280px;
}
.student-hotspot-point {
  top: 45%;
  left: 48%;
}
.student-hotspot-point-2 {
  top: 60%;
  left: 50%;
}
.student-hotspot-point-3 {
  top: 42%;
  left: 40%;
}
.student-question-bg {
  background: #fdfaf6;
  border-radius: var(--radius-sm);
  padding: 15px;
  display: inline-flex;
}
.student-explanation-textarea {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 16px;
  font-size: 0.95rem;
  resize: none;
  background: #fff;
}
.student-answer-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  background: #fdfdfd;
  font-size: 1.1rem;
  color: var(--text-primary);
  text-align: center;
  outline: none;
}
.student-answer-input-lg {
  flex: 1;
  min-width: 250px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  background: #fdfdfd;
  font-size: 1.1rem;
  color: var(--text-primary);
  text-align: center;
  outline: none;
}
.student-pencil-icon {
  color: var(--blue-mid);
}
.student-explanation-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}
.student-dots {
  font-size: 0.8rem;
}
.student-categorization-dots {
  font-size: 0.8rem;
}
.student-result-modal {
  padding: 30px 10px;
}
.student-result-modal-lg {
  padding: 40px 10px;
}
.student-result-top-icon {
  margin-bottom: 25px;
}
.student-result-top-icon-blue {
  margin-bottom: 25px;
  color: #1e3a8a;
}
.student-result-title-fail {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.student-result-title-pass {
  font-size: 1.6rem;
  margin-bottom: 30px;
  color: #1e1b4b;
}
.student-result-title-congrats {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.student-result-text {
  font-size: 1.05rem;
  color: #374151;
  font-weight: 500;
  margin-bottom: 12px;
}
.student-result-text-blue {
  font-size: 1.05rem;
  color: #0284c7;
  font-weight: 500;
}
.student-result-svg {
  display: inline-block;
}
.student-grade-btn-c {
  background: #b45309;
  border: none;
}
.student-grade-btn-d {
  background: #ea580c;
  border: none;
}
.student-confetti-bg {
  padding: 40px 10px;
}
.student-icon-success {
  margin-bottom: 25px;
}
.student-form-points {
  color: #1a60c5;
  font-weight: 600;
}
.student-form-feedback {
  min-height: 64px;
}
.student-form-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.student-form-icon {
  color: var(--accent-orange);
}
.student-progress-bar-w-6-nospace {
  width: 6.67%;
}
.student-explanation-title-novar {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}
.student-heart-img {
  max-width: 140px;
  display: block;
}
.student-drag-word-bold-novar {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue-dark);
}
.student-ordering-question-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1f5e;
  margin-bottom: 12px;
}
.student-result-text-nomargin {
  font-size: 1.05rem;
  color: #374151;
  font-weight: 500;
}
.rich-text-container {
            border: 1px solid var(--border-color, #e5e7ef);
            border-radius: 8px;
            background-color: #fff;
            overflow: hidden;
            transition: all 0.2s ease;
        }
        .rich-text-container:focus-within {
            border-color: #1a60c5;
            box-shadow: 0 0 0 3px rgba(26,96,197,0.12);
        }
        .answer-row .rich-text-container.is-correct {
            border-color: #1a60c5;
            background-color: #f9fcff;
        }
        .answer-radio-custom:checked {
            background-color: #fff;
            border-color: #1a60c5;
            position: relative;
        }
        .answer-radio-custom:checked::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 10px;
            height: 10px;
            background-color: #1a60c5;
            border-radius: 50%;
        }
/* ===== Extracted Inline Styles ===== */
#view-cards.admin-view-panel.active { display: grid; }
*, *::before, *::after { box-sizing: border-box; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.admin-answer-radio-custom:checked { background-color: #fff; border-color: #1a60c5; position: relative; }
.admin-answer-radio-custom:checked::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; background-color: #1a60c5; border-radius: 50%; }
.admin-answer-row .admin-rich-text-container.is-correct { border-color: #1a3a8f; background-color: #f0f4ff; }
.admin-answer-row .admin-rich-text-container.is-correct { border-color: #1a60c5; background-color: #f9fcff; }
.admin-assigned-block { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.admin-assigned-fraction { font-size: 0.78rem; font-weight: 700; color: var(--text); }
.admin-back-link:hover { text-decoration: underline; }
.admin-badge-assigned { background: #D1FAE5; color: #065F46; }
.admin-badge-draft .admin-dot { background: #D97706; }
.admin-badge-draft { background: #FEF3C7; color: #92400E; }
.admin-badge-level { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.admin-badge-level { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; }
.admin-badge-not-assigned { background: #FFE4E6; color: #BE123C; }
.admin-badge-published .admin-dot { background: #10B981; }
.admin-badge-published { background: #D1FAE5; color: #065F46; }
.admin-badge-scheduled .admin-dot { background: #3B82F6; }
.admin-badge-scheduled { background: #DBEAFE; color: #1E40AF; }
.admin-badge-status .admin-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.admin-badge-type { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 0.73rem; font-weight: 600; background: #F3F4F6; color: #374151; }
.admin-btn-assign { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; border: 1.5px solid var(--border); background: var(--card-bg); font-size: 0.8rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .15s; white-space: nowrap; }
.admin-btn-assign:hover { border-color: var(--purple); color: var(--purple); }
.admin-btn-continue { display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 8px; border: 1.5px solid var(--border); background: var(--card-bg); font-size: 0.8rem; font-weight: 600; color: var(--text); cursor: pointer; transition: all .15s; white-space: nowrap; }
.admin-btn-continue:hover { border-color: var(--purple); color: var(--purple); }
.admin-btn-create:active { transform: translateY(1px); }
.admin-btn-create:hover { background: #2d2868; }
.admin-btn-edit { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; background: #F3F4F6; font-size: 0.8rem; font-weight: 600; color: var(--text); border: none; cursor: pointer; transition: all .15s; }
.admin-btn-edit:hover { background: #E5E7EB; }
.admin-btn-go-signin { background: #3b3580; color: #fff; border: none; border-radius: 30px; padding: 12px 32px; font-size: 0.94rem; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; text-decoration: none; transition: background 0.2s; }
.admin-btn-go-signin { background: #3b3580; color: #fff; border: none; border-radius: 30px; padding: 12px 32px; font-size: 0.94rem; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; transition: background 0.2s; }
.admin-btn-go-signin:hover { background: #2d2868; }
.admin-btn-go-signin:hover { background: #2d2868; color: #fff; }
.admin-btn-more { width: 32px; height: 32px; border-radius: 8px; background: var(--purple); color: #fff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.1rem; flex-shrink: 0; }
.admin-btn-more:hover { background: #6D28D9; }
.admin-btn-primary-action:active { transform: translateY(1px); }
.admin-btn-primary-action:hover { background: #2d2868; }
.admin-btn-result:hover { border-color: var(--purple); color: var(--purple); }
.admin-btn-signin { background: #474389; /* Matches the dark purple-slate in the screenshot */ color: #fff; border: none; border-radius: 12px; padding: 14px; width: 100%; font-size: 0.95rem; font-weight: 600; display: flex; justify-content: center; align-items: center; gap: 8px; transition: background 0.2s, transform 0.1s; margin-bottom: 25px; }
.admin-btn-signin:active { transform: translateY(1px); }
.admin-btn-signin:hover { background: #36326e; color: #fff; }
.admin-card-actions { display: flex; align-items: center; gap: 8px; }
.admin-card-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-card-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.admin-card-date { font-size: 0.8rem; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.admin-card-date i { color: var(--purple); font-size: 0.9rem; }
.admin-card-date-row { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.admin-card-days-left { font-size: 0.75rem; font-weight: 700; color: #F59E0B; }
.admin-card-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }
.admin-card-footer-row { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 12px; margin-top: auto; }
.admin-card-footer-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.admin-card-footer-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.admin-card-heading { font-size: 1.4rem; font-weight: 800; color: #111827; margin-bottom: 4px; }
.admin-card-stat { display: flex; align-items: center; gap: 5px; font-size: 0.79rem; color: var(--muted); }
.admin-card-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.admin-card-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: auto;}
.admin-card-sub { font-size: 0.875rem; color: #9ca3af; font-weight: 500; margin-bottom: 28px; }
.admin-card-title { font-weight: 700; font-size: 0.97rem; color: var(--text); line-height: 1.35; }
.admin-card-updated { font-size: 0.76rem; color: var(--muted); }
.admin-dd-divider { height: 1px; background: var(--border); margin: 4px 0; }
.admin-dd-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 0.85rem; font-weight: 500; color: var(--text); cursor: pointer; border: none; background: transparent; width: 100%; text-align: left; transition: background .12s; }
.admin-dd-item i { font-size: 0.95rem; color: var(--muted); }
.admin-dd-item.admin-dd-delete { color: #DC2626; }
.admin-dd-item.admin-dd-delete i { color: #DC2626; }
.admin-dd-item.admin-dd-delete:hover { background: #FEF2F2; }
.admin-dd-item.dd-delete { color: #DC2626; }
.admin-dd-item.dd-delete i { color: #DC2626; }
.admin-dd-item.dd-delete:hover { background: #FEF2F2; }
.admin-dd-item:hover { background: #F5F6FA; }
.admin-dd-item:hover i { color: var(--purple); }
.admin-error-message { display: none; color: #ef4444; font-size: 0.8rem; margin-top: -16px; margin-bottom: 22px; font-weight: 500; }
.admin-exam-card .admin-card-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }
.admin-exam-card .admin-card-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.55; flex-grow: 1;}
.admin-exam-card .admin-card-title { font-weight: 700; font-size: 0.97rem; color: var(--text); line-height: 1.35; }
.admin-exam-card .admin-card-title { font-weight: 700; font-size: 0.97rem; color: var(--text); line-height: 1.35; margin-bottom: 2px;}
.admin-exam-card { background: var(--card-bg); border-radius: 14px; border: 1.5px solid var(--border); padding: 20px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .2s, transform .15s; }
.admin-exam-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-2px); }
.admin-exam-dropdown-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 1050; background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07); border: 1px solid var(--border); min-width: 180px; padding: 6px; display: none; flex-direction: column; }
.admin-exam-dropdown-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 1050; background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.13); border: 1px solid var(--border); min-width: 180px; padding: 6px; display: none; flex-direction: column; }
.admin-exam-dropdown-menu.open { display: flex; animation: ddFade .15s ease; }
.admin-exam-dropdown-menu.open { display: flex; animation: ddFadeIn .15s ease; }
.admin-exam-table { width: 100%; border-collapse: collapse; }
.admin-exam-table tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; }
.admin-exam-table tbody tr:hover { background: #FAFBFF; }
.admin-exam-table tbody tr:last-child { border-bottom: none; }
.admin-exam-table td { padding: 14px 16px; font-size: 0.875rem; vertical-align: middle; }
.admin-exam-table td.date-cell { color: var(--muted); white-space: nowrap; }
.admin-exam-table td.name-cell { font-weight: 600; color: var(--text); }
.admin-exam-table td.num-cell { color: var(--muted); font-weight: 500; }
.admin-exam-table td.num-cell { font-weight: 600; color: var(--text); }
.admin-exam-table th .admin-si { font-size: 0.7rem; margin-left: 3px; color: #CBD5E1; }
.admin-exam-table th .admin-sort-icon { font-size: 0.7rem; margin-left: 4px; color: #CBD5E1; }
.admin-exam-table th { padding: 12px 16px; font-size: 0.78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.admin-exam-table th { padding: 12px 16px; font-size: 0.78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; user-select: none; }
.admin-exam-table th.sortable { cursor: pointer; }
.admin-exam-table th.sortable:hover { color: var(--purple); }
.admin-exam-table thead tr { background: #F9FAFB; border-bottom: 1.5px solid var(--border); }
.admin-eye-btn { background: none; border: none; padding: 0 14px; color: #9ca3af; cursor: pointer; font-size: 1rem; flex-shrink: 0; }
.admin-eye-btn { background: transparent; border: none; color: #9ca3af; padding: 0 18px; display: flex; align-items: center; }
.admin-field-group:last-of-type { margin-bottom: 0; }
.admin-field-msg.err { color: #ef4444; }
.admin-field-msg.ok { color: #059669; }
.admin-footer-links { text-align: center; font-size: 0.83rem; }
.admin-footer-links { text-align: center; font-size: 0.85rem; }
.admin-footer-links { text-align:center; font-size:0.83rem; }
.admin-footer-links a { color: #8b5cf6; text-decoration: none; font-weight: 600; }
.admin-footer-links a { color:#8b5cf6; text-decoration:none; font-weight:600; }
.admin-footer-links a:hover { text-decoration: underline; }
.admin-footer-links a:hover { text-decoration:underline; }
.admin-footer-links span { color: #8b5cf6; margin: 0 5px; }
.admin-footer-links span { color: #8b5cf6; margin: 0 6px; }
.admin-footer-links span{ color:#8b5cf6; margin:0 5px; }
.admin-footer-text { text-align: center; font-size: 0.85rem; color: #8b929e; margin-bottom: 8px; font-weight: 500; }
.admin-forgot-link { color: #7c3aed; text-decoration: none; font-weight: 700; }
.admin-forgot-link:hover { text-decoration: underline; }
.admin-form-check-input { width: 1.1em; height: 1.1em; margin-top: 0.15em; border-color: #d1d5db; }
.admin-form-check-input:checked { background-color: #7c3aed; border-color: #7c3aed; }
.admin-form-check-label { color: #4b5563; font-weight: 600; }
.admin-form-control { border: none; padding: 14px 15px; font-size: 0.95rem; color: #1f2937; background: transparent; font-weight: 500; }
.admin-form-control::placeholder { color: #9ca3af; font-weight: 400; }
.admin-form-control:focus { box-shadow: none; background: transparent; }
.admin-form-label .admin-req { color: #ef4444; }
.admin-form-label { font-size: 0.85rem; font-weight: 700; color: #374151; margin-bottom: 8px; }
.admin-input-group { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; margin-bottom: 22px; }
.admin-input-group.is-invalid .admin-form-control { color: #ef4444; }
.admin-input-group.is-invalid .admin-input-group-text { color: #ef4444; }
.admin-input-group.is-invalid + .admin-error-message { display: block; }
.admin-input-group.is-invalid:focus-within { box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1); border-color: #ef4444; }
.admin-input-group:focus-within { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1); }
.admin-input-group-text { background: transparent; border: none; color: #9ca3af; padding-right: 0; padding-left: 18px; }
.admin-input-wrap .admin-eye-btn { background: none; border: none; padding: 0 14px; color: #9ca3af; cursor: pointer; font-size: 1rem; }
.admin-input-wrap .admin-iw-icon { padding: 0 13px; color: #9ca3af; font-size: 0.95rem; flex-shrink: 0; }
.admin-input-wrap .admin-iw-icon { padding: 0 14px; color: #9ca3af; font-size: 1rem; }
.admin-input-wrap { display: flex; align-items: center; border: 1.5px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; margin-bottom: 6px; }
.admin-input-wrap input { flex: 1; border: none; outline: none; padding: 13px 10px 13px 0; font-size: 0.93rem; font-family: 'Plus Jakarta Sans', sans-serif; color: #1f2937; font-weight: 500; background: transparent; min-width: 0; }
.admin-input-wrap input { flex: 1; border: none; outline: none; padding: 13px 10px; font-size: 0.94rem; font-family: 'Plus Jakarta Sans', sans-serif; color: #1f2937; font-weight: 500; background: transparent; }
.admin-input-wrap input::placeholder { color: #9ca3af; font-weight: 400; }
.admin-input-wrap.error { border-color: #fca5a5; background: #fff1f2; }
.admin-input-wrap.error:focus-within { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }
.admin-input-wrap.success-border { border-color: #34d399; }
.admin-input-wrap:focus-within { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,0.10); }
.admin-level-advanced { background: #EDE9FE; color: #5B21B6; }
.admin-level-beginner { background: #D1FAE5; color: #065F46; }
.admin-level-essay { background: #F3E8FF; color: #9333EA; }
.admin-level-intermediate { background: #DBEAFE; color: #1E40AF; }
.admin-list-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.admin-list-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; width: 160px; justify-content: flex-end; }
.admin-list-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; width: 200px; justify-content: flex-end; }
.admin-list-assigned-col .admin-assigned-num { font-size: 0.75rem; font-weight: 700; color: var(--text); }
.admin-list-assigned-col .admin-assigned-num { font-size: 0.85rem; font-weight: 800; color: #111827; }
.admin-list-assigned-col { width: 90px; display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.admin-list-col-name-scheduled { min-width: 35%; display: flex; flex-direction: column; gap: 2px; }
.admin-list-col-time .admin-time-tag { font-size: 0.75rem; font-weight: 700; }
.admin-list-col-time .admin-time-tag.blue { color: #3B82F6; }
.admin-list-col-time .admin-time-tag.yellow { color: #F59E0B; }
.admin-list-col-time .admin-time-text { font-size: 0.8rem; color: var(--text); font-weight: 600; }
.admin-list-col-time { width: 180px; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.admin-list-date-box .admin-dd { font-size: 0.95rem; font-weight: 800; color: var(--text); }
.admin-list-date-box .admin-dd { font-size: 1rem; font-weight: 800; color: #7C3AED; }
.admin-list-date-box .admin-mm { font-size: 0.65rem; font-weight: 800; color: #7C3AED; text-transform: uppercase; margin-top: 1px; }
.admin-list-date-box .admin-mm { font-size: 0.65rem; font-weight: 800; color: var(--purple); text-transform: uppercase; margin-top: 1px; }
.admin-list-date-box { width: 42px; height: 42px; border-radius: 8px; border: 1.5px solid var(--border); background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; flex-shrink: 0; margin-right: 6px; }
.admin-list-date-box.yellow .admin-dd { color: #111827; }
.admin-list-date-box.yellow .admin-mm { color: #D97706; }
.admin-list-date-box.yellow .admin-mm { color: #F59E0B; }
.admin-list-date-box.yellow { border-color: #FDE68A; background: #FEF3C7; }
.admin-list-done-col .admin-done-num { font-weight: 800; font-size: 0.95rem; color: #10B981; line-height: 1.1; }
.admin-list-done-col .admin-done-total { font-size: 0.75rem; color: var(--muted); }
.admin-list-done-col { width: 60px; display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.admin-list-exam-name { font-weight: 600; font-size: 0.92rem; color: var(--text); flex: 1; min-width: 0; }
.admin-list-exam-name { font-weight: 600; font-size: 0.92rem; color: var(--text); flex: 1; min-width: 160px; }
.admin-list-exam-name small { font-weight: 400; color: var(--muted); font-size: 0.78rem; }
.admin-list-exam-name small { font-weight: 400; color: var(--muted); font-size: 0.78rem; display: block; margin-top: 2px; }
.admin-list-exam-sub { font-size: 0.75rem; color: var(--muted); }
.admin-list-item .admin-btn-edit i, .admin-list-item .admin-btn-assign i { color: #4B5563; }
.admin-list-item .admin-btn-edit:hover, .admin-list-item .admin-btn-assign:hover { background: #E5E7EB; }
.admin-list-item .admin-btn-more { width: 36px; height: 36px; border-radius: 8px; background: #8B5CF6; color: white; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.admin-list-item .admin-btn-more i { font-size: 1.1rem; }
.admin-list-item .admin-btn-more:hover { background: #7C3AED; }
.admin-list-item .admin-form-check-input { cursor: pointer; width: 16px; height: 16px; flex-shrink: 0; }
.admin-list-item { background: var(--card-bg); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 14px; padding: 14px 20px; transition: background .15s; }
.admin-list-item { background: var(--card-bg); border-radius: 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; padding: 14px 20px; transition: background .15s; }
.admin-list-item { padding: 12px 16px; border: 1px solid #F3F4F6; margin-bottom: 8px; border-radius: 12px; background: #FFFFFF; display: flex; align-items: center; box-shadow: 0 1px 3px rgba(0,0,0,0.02); }
.admin-list-item:first-child { border-radius: 12px 12px 0 0; border-top: 1px solid var(--border); }
.admin-list-item:first-child { border-top: 1px solid var(--border); }
.admin-list-item:hover { background: #FAFBFF; }
.admin-list-item:last-child { border-radius: 0 0 12px 12px; }
.admin-list-meta { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 0.82rem; }
.admin-list-meta span { white-space: nowrap; }
.admin-list-progress { display: flex; align-items: center; gap: 8px; width: 140px; margin-right: 20px; margin-left: 20px; }
.admin-list-progress-label { font-size: 0.75rem; color: var(--muted); font-weight: 500;}
.admin-list-progress-val { font-size: 0.75rem; font-weight: 600;}
.admin-list-progress-val.blue { color: #3B82F6; }
.admin-list-progress-val.green { color: #10B981; }
.admin-list-progress-val.yellow { color: #F59E0B; }
.admin-list-rate-col .admin-bar-fill { height: 100%; background: #10B981; border-radius: 999px; }
.admin-list-rate-col .admin-bar-wrap { height: 5px; background: #E5E7EB; border-radius: 999px; overflow: hidden; }
.admin-list-rate-col { width: 110px; display: flex; flex-direction: column; gap: 5px; flex-shrink: 0; margin-left: 10px; }
.admin-login-card h3 { color: #1a1f5e; font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.admin-login-card p.text-muted { font-size: 0.9rem; color: #9ca3af; margin-bottom: 30px; }
.admin-login-wrapper { position: relative; z-index: 1; width: 100%; max-width: 480px; padding: 20px; display: flex; flex-direction: column; align-items: center; }
.admin-logo-img { width: 130px; margin-bottom: 2px; }
.admin-logo-section img { width: 120px; margin-bottom: 0; }
.admin-logo-subtitle { color: #3b82f6; font-size: 0.92rem; font-weight: 500; }
.admin-logo-subtitle { color: #3b82f6; font-size: 0.95rem; font-weight: 500; }
.admin-logo-suite { color: #f97316; font-size: 1.35rem; font-weight: 700; margin: -4px 0 12px; }
.admin-logo-suite { color: #f97316; font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; margin-top: -5px; letter-spacing: -0.01em; }
.admin-logo-title { color: #1a1f5e; font-size: 1.45rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.admin-logo-title { color: #1a1f5e; font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.02em; }
.admin-logo-title { color: #1a1f5e; font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; letter-spacing:-0.02em; }
.admin-match-msg.err { color: #ef4444; }
.admin-match-msg.ok { color: #059669; }
.admin-mini-progress .admin-bar-fill { height: 100%; background: #10B981; border-radius: 999px; }
.admin-mini-progress .admin-bar-label { font-size: 0.72rem; color: var(--muted); display: flex; justify-content: space-between; }
.admin-mini-progress .admin-bar-wrap { height: 5px; background: #E5E7EB; border-radius: 999px; overflow: hidden; }
.admin-next-up-label { font-size: 0.75rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; flex-shrink: 0; margin-right: 4px; }
.admin-next-up-row { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; overflow-x: auto; padding-bottom: 6px; }
.admin-nu-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; border: 1.5px solid; cursor: pointer; }
.admin-nu-pill.blue .admin-dot { width: 6px; height: 6px; border-radius: 50%; background: #3B82F6; }
.admin-nu-pill.blue { background: #EFF6FF; color: #1E40AF; border-color: #BFDBFE; }
.admin-nu-pill.yellow .admin-dot { width: 6px; height: 6px; border-radius: 50%; background: #F59E0B; }
.admin-nu-pill.yellow { background: #FEF3C7; color: #92400E; border-color: #FDE68A; }
.admin-otp-box { width: 66px; height: 66px; border: 1.5px solid #e5e7eb; border-radius: 14px; font-size: 1.5rem; font-weight: 800; color: #3b3580; text-align: center; outline: none; font-family: 'Plus Jakarta Sans', sans-serif; transition: border-color 0.2s, box-shadow 0.2s; caret-color: #7c3aed; }
.admin-otp-box:focus { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,0.12); }
.admin-page-btn { width: 32px; height: 32px; border-radius: 8px; border: 1.5px solid var(--border); background: var(--card-bg); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--muted); transition: all .15s; }
.admin-page-btn.active { background: var(--purple); border-color: var(--purple); color: #fff; }
.admin-page-btn:hover { border-color: var(--purple); color: var(--purple); }
.admin-page-info { font-size: 0.82rem; color: var(--muted); }
.admin-page-nav { display: flex; align-items: center; gap: 6px; }
.admin-progress-bar-wrap .admin-progress { flex: 1; height: 4px; background: #E5E7EB; border-radius: 4px; overflow: visible; /* To allow indicator if needed */ }
.admin-progress-bar-wrap .admin-progress-bar { height: 100%; border-radius: 4px; }
.admin-progress-bar-wrap .admin-progress-label { color: var(--muted); font-weight: 500; }
.admin-progress-bar-wrap .admin-progress-val { font-weight: 600; }
.admin-progress-bar-wrap.blue .admin-progress-bar { background: #3B82F6; }
.admin-progress-bar-wrap.blue .admin-progress-val { color: #3B82F6; }
.admin-progress-bar-wrap.green .admin-progress-bar { background: #10B981; }
.admin-progress-bar-wrap.green .admin-progress-val { color: #10B981; }
.admin-progress-bar-wrap.yellow .admin-progress-bar { background: #F59E0B; }
.admin-progress-bar-wrap.yellow .admin-progress-val { color: #F59E0B; }
.admin-rate-header { display: flex; justify-content: space-between; font-size: 0.75rem; }
.admin-rate-lbl { color: var(--muted); }
.admin-rate-pct { font-weight: 700; color: #10B981; }
.admin-redirect-bar-bg { height: 6px; background: #e5e7eb; border-radius: 99px; overflow: hidden; }
.admin-redirect-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #3b3580, #7c3aed); border-radius: 99px; transition: width 1s linear; }
.admin-redirect-text { text-align: center; font-size: 0.78rem; color: #9ca3af; margin-top: 8px; margin-bottom: 24px; font-weight: 500; }
.admin-remember-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; font-size: 0.85rem; }
.admin-resend-link { color: #3b3580; font-weight: 700; cursor: pointer; }
.admin-resend-link:hover { text-decoration: underline; }
.admin-result-count { color: var(--muted); font-size: 0.875rem; margin-left: auto; white-space: nowrap; }
.admin-rich-text-container { border: 1px solid var(--border-color, #e5e7ef); border-radius: 8px; background-color: #fff; overflow: hidden; transition: all 0.2s ease; }
.admin-rich-text-container:focus-within { border-color: #1a60c5; box-shadow: 0 0 0 3px rgba(26,96,197,0.12); }
.admin-rows-select { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--muted); }
.admin-rows-select select { padding: 4px 8px; border-radius: 7px; border: 1.5px solid var(--border); background: var(--card-bg); font-size: 0.82rem; color: var(--text); outline: none; cursor: pointer; }
.admin-search-input-wrap { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px; background: var(--card-bg); border: 1.5px solid var(--border); border-radius: 10px; padding: 8px 14px; }
.admin-search-input-wrap i { color: #9CA3AF; }
.admin-search-input-wrap input { border: none; outline: none; flex: 1; font-size: 0.875rem; color: var(--text); background: transparent; }
.admin-search-input-wrap input::placeholder { color: #9CA3AF; }
.admin-signin-row a { color: #7c3aed; font-weight: 700; text-decoration: none; margin-left: 4px; }
.admin-signin-row a:hover { text-decoration: underline; }
.admin-signup-link { color: #7c3aed; text-decoration: none; font-weight: 700; margin-left: 5px; }
.admin-signup-link:hover { text-decoration: underline; }
.admin-signup-row { text-align: center; font-size: 0.85rem; color: #9ca3af; position: relative; }
.admin-signup-text-wrap { position: relative; z-index: 1; background: #fff; padding: 0 15px; display: inline-block; font-weight: 500; }
.admin-stat-card { border-radius: 12px; padding: 16px; display: flex; flex-direction: column; justify-content: center; }
.admin-stat-card { border-radius: 14px; padding: 18px 20px; }
.admin-stat-card { border-radius: 14px; padding: 20px 22px; display: flex; align-items: center; gap: 14px; }
.admin-stat-card.blue .admin-stat-header { color: #2563EB; }
.admin-stat-card.blue .admin-stat-icon { background: #DBEAFE; color: var(--blue); }
.admin-stat-card.blue .admin-stat-label, .admin-stat-card.blue .admin-stat-icon, .admin-stat-card.blue .admin-stat-value { color: #1D4ED8; }
.admin-stat-card.blue .admin-stat-value { color: #1D4ED8; }
.admin-stat-card.blue .admin-stat-value { color: #2563EB; }
.admin-stat-card.blue { background: #DBEAFE; }
.admin-stat-card.blue { background: #EFF6FF; }
.admin-stat-card.blue { background: #EFF6FF; border: 1.5px solid #BFDBFE; }
.admin-stat-card.green .admin-stat-header { color: #059669; }
.admin-stat-card.green .admin-stat-icon { background: #D1FAE5; color: var(--green); }
.admin-stat-card.green .admin-stat-label, .admin-stat-card.green .admin-stat-icon, .admin-stat-card.green .admin-stat-value { color: #059669; }
.admin-stat-card.green .admin-stat-value { color: #059669; }
.admin-stat-card.green { background: #D1FAE5; }
.admin-stat-card.green { background: #F0FDF4; }
.admin-stat-card.green { background: #F0FFF8; border: 1.5px solid #A7F3D0; }
.admin-stat-card.light-blue .admin-stat-desc { font-size: 0.95rem; color: #3B82F6; font-weight: 600; margin-left: 6px; }
.admin-stat-card.light-blue .admin-stat-header { color: #1E40AF; }
.admin-stat-card.light-blue .admin-stat-value { color: #1E40AF; }
.admin-stat-card.purple .admin-stat-header { color: #6D28D9; }
.admin-stat-card.purple .admin-stat-label, .admin-stat-card.purple .admin-stat-icon, .admin-stat-card.purple .admin-stat-value { color: #9333EA; }
.admin-stat-card.purple .admin-stat-value { color: #6D28D9; }
.admin-stat-card.purple { background: #F3E8FF; }
.admin-stat-card.purple { background: #F5F3FF; border: 1.5px solid #DDD6FE; }
.admin-stat-card.red .admin-stat-header { color: #E11D48; }
.admin-stat-card.red .admin-stat-icon { background: #FEE2E2; color: var(--red); }
.admin-stat-card.red .admin-stat-label, .admin-stat-card.red .admin-stat-icon, .admin-stat-card.red .admin-stat-value { color: #DC2626; }
.admin-stat-card.red .admin-stat-value { color: #DC2626; }
.admin-stat-card.red .admin-stat-value { color: #E11D48; }
.admin-stat-card.red { background: #FEE2E2; }
.admin-stat-card.red { background: #FEF2F2; }
.admin-stat-card.red { background: #FFF1F2; border: 1.5px solid #FECDD3; }
.admin-stat-card.teal .admin-stat-header { color: #047857; }
.admin-stat-card.teal .admin-stat-value { color: #047857; }
.admin-stat-card.teal { background: #F0FDF4; border: 1.5px solid #BBF7D0; }
.admin-stat-card.yellow .admin-stat-icon { background: #FEF3C7; color: var(--amber); }
.admin-stat-card.yellow .admin-stat-label, .admin-stat-card.yellow .admin-stat-icon, .admin-stat-card.yellow .admin-stat-value { color: #D97706; }
.admin-stat-card.yellow .admin-stat-value { color: #D97706; }
.admin-stat-card.yellow { background: #FEF3C7; }
.admin-stat-card.yellow { background: #FFFBEB; }
.admin-stat-card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.admin-stat-header { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; margin-bottom: 10px; }
.admin-stat-icon { font-size: 1.1rem; }
.admin-stat-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.admin-stat-label { font-size: 0.85rem; font-weight: 600; }
.admin-stat-label { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.admin-stat-progress .admin-progress { height: 6px; border-radius: 999px; background: rgba(0,0,0,0.08); }
.admin-stat-progress .admin-progress-bar { background: #059669; border-radius: 999px; }
.admin-stat-progress { margin-top: 10px; }
.admin-stat-rate { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }
.admin-stat-value { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.admin-stat-value { font-size: 1.9rem; font-weight: 800; line-height: 1.1; margin-top: 2px; }
.admin-stat-value { font-size: 2rem; font-weight: 800; line-height: 1; }
.admin-step-circle { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #e5e7eb; background: #fff; color: #9ca3af; font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; transition: all 0.3s; }
.admin-step-icon-wrap.success { background: #d1fae5; color: #059669; }
.admin-step-item { display: flex; flex-direction: column; align-items: center; position: relative; }
.admin-step-item.active .admin-step-circle { border-color: #3b3580; background: #3b3580; color: #fff; }
.admin-step-item.active .admin-step-label { color: #3b3580; }
.admin-step-item.completed .admin-step-circle { border-color: #3b3580; background: #3b3580; color: #fff; }
.admin-step-item.completed .admin-step-label { color: #3b3580; }
.admin-step-item.completed:not(:last-child)::after { background: #3b3580; }
.admin-step-label { font-size: 0.72rem; font-weight: 600; color: #9ca3af; margin-top: 6px; letter-spacing: 0.01em; }
.admin-step-panel.active { animation: fadeInUp 0.3s ease; }
.admin-step-panel.active { display: block; }
.admin-step-spacer.done { background: #3b3580; }
.admin-step-sub { text-align: center; font-size: 0.875rem; color: #9ca3af; margin-bottom: 28px; font-weight: 500; }
.admin-strength-checks .admin-chk { display: flex; align-items: center; gap: 2px; }
.admin-strength-checks .admin-chk { display: flex; align-items: center; gap: 3px; }
.admin-strength-checks .admin-chk.done { color: #059669; }
.admin-strength-checks { display: flex; gap: 10px; font-size: 0.72rem; color: #9ca3af; }
.admin-strength-checks { display: flex; gap: 8px; font-size: 0.7rem; color: #9ca3af; }
.admin-strength-label { font-size: 0.77rem; font-weight: 700; }
.admin-strength-label { font-size: 0.78rem; font-weight: 700; }
.admin-student-gb-a .admin-student-grade-letter-sm { color: #16a34a; }
.admin-student-gb-a { background: #dcfce7; }
.admin-student-gb-b .admin-student-grade-letter-sm { color: #2563eb; }
.admin-student-gb-b { background: #dbeafe; }
.admin-student-gb-c .admin-student-grade-letter-sm { color: #b45309; }
.admin-student-gb-c { background: #fef3c7; }
.admin-student-gb-d .admin-student-grade-letter-sm { color: #ea580c; }
.admin-student-gb-d { background: #ffedd5; }
.admin-student-gb-f .admin-student-grade-letter-sm { color: #dc2626; }
.admin-student-gb-f { background: #fee2e2; }
.admin-student-grade-a .admin-student-grade-letter, .admin-student-title-a { color: #16a34a; }
.admin-student-grade-b .admin-student-grade-letter, .admin-student-title-b { color: #2563eb; }
.admin-student-grade-b { background-color: #dbeafe; }
.admin-student-grade-boxes-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.admin-student-grade-box-sm .admin-student-grade-letter-sm { font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; }
.admin-student-grade-box-sm .admin-student-grade-range-sm { font-size: 0.9rem; color: #374151; font-weight: 500; }
.admin-student-grade-box-sm { flex: 1; padding: 16px 4px; border-radius: 10px; text-align: center; }
.admin-student-grade-c .admin-student-grade-letter, .admin-student-title-c { color: #b45309; }
.admin-student-grade-c { background-color: #fef3c7; }
.admin-student-grade-d .admin-student-grade-letter, .admin-student-title-d { color: #ea580c; }
.admin-student-grade-d { background-color: #ffedd5; }
.admin-student-grade-f .admin-student-grade-letter, .admin-student-title-f { color: #dc2626; }
.admin-student-grade-f { background-color: #fee2e2; }
.admin-student-grade-label { font-size: 1.1rem; color: #111827; margin-bottom: 10px; font-weight: 500; }
.admin-student-grade-letter { font-size: 4rem; font-weight: 800; margin: 0; line-height: 1; }
.admin-student-grade-percent { font-size: 1.25rem; font-weight: 700; color: #111827; margin: 10px 0 0 0; }
.admin-student-performance-analysis { background: #fdfdfd; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; margin-top: 30px; text-align: left; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.admin-student-performance-stats-row { display: flex; justify-content: space-between; font-size: 0.95rem; color: #111827; margin-bottom: 16px; }
.admin-student-performance-stats-row span { color: #084298; font-weight: 700; }
.admin-student-performance-stats-row:last-child { margin-bottom: 0; justify-content: flex-start; gap: 40px; }
.admin-student-performance-text { font-size: 0.95rem; color: #374151; margin-bottom: 24px; line-height: 1.5; }
.admin-student-performance-title { font-size: 1.15rem; font-weight: 800; color: #084298; margin-bottom: 12px; }
.admin-student-stat-box { border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px 10px; background: #ffffff; display: flex; flex-direction: column; align-items: center; }
.admin-student-stat-icon { font-size: 2rem; margin-bottom: 10px; }
.admin-student-stat-label { font-size: 0.85rem; font-weight: 600; color: #4b5563; }
.admin-student-stat-num { font-size: 1.7rem; font-weight: 800; margin-bottom: 5px; line-height: 1; }
.admin-student-swal2-html-container { margin: 0 !important; overflow: hidden !important; }
.admin-student-swal2-title { display: none !important; }
.admin-student-top-icon.fail { color: #ef4444; }
.admin-student-top-icon.success { color: #16a34a; }
.admin-success-icon-wrap { width: 80px; height: 80px; border-radius: 50%; background: #d1fae5; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: #059669; margin-bottom: 22px; }
.admin-success-overlay.show { display: flex; }
.admin-success-sub { font-size: 0.9rem; color: #6b7280; margin-bottom: 26px; font-weight: 500; }
.admin-success-title { font-size: 1.5rem; font-weight: 800; color: #111827; margin-bottom: 10px; }
.admin-table-progress .admin-bar-fill { height: 100%; background: #10B981; border-radius: 999px; }
.admin-table-progress .admin-bar-text { font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.admin-table-progress .admin-bar-wrap { flex: 1; height: 5px; background: #E5E7EB; border-radius: 999px; overflow: hidden; }
.admin-table-progress { display: flex; align-items: center; gap: 8px; min-width: 130px; }
.admin-terms-err { font-size: 0.77rem; color: #ef4444; font-weight: 600; display: none; margin-top: -16px; margin-bottom: 16px; }
.admin-terms-row a { color: #7c3aed; font-weight: 700; text-decoration: none; }
.admin-terms-row a:hover { text-decoration: underline; }
.admin-terms-row input[type="checkbox"] { width: 17px; height: 17px; margin-top: 2px; border: 1.5px solid #d1d5db; border-radius: 4px; accent-color: #7c3aed; flex-shrink: 0; cursor: pointer; }
.admin-terms-row label { font-size: 0.855rem; color: #4b5563; font-weight: 500; cursor: pointer; line-height: 1.5; }
.admin-toolbar-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--card-bg); font-size: 0.85rem; font-weight: 500; color: var(--text); cursor: pointer; white-space: nowrap; transition: all .15s; }
.admin-toolbar-btn:hover { border-color: var(--purple); color: var(--purple); }
.admin-view-btn { width: 32px; height: 32px; border-radius: 7px; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--muted); transition: all .15s; }
.admin-view-btn.active { background: var(--purple); color: #fff; }
.admin-view-panel.active { display: block; }
.list-item .btn-edit, .admin-list-item .admin-btn-assign { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; background: #F3F4F6; font-size: 0.8rem; font-weight: 600; color: #111827; border: none; cursor: pointer; transition: background .15s; }
/* ------------------------------------------- Performance & Grade Boxes ------------------------------------------- */ .admin-student-confetti-bg { background-image: url("assets/Images/successBack.png"); background-size: cover; background-position: center; }
/* ------------------------------------------- Result Content Styles ------------------------------------------- */ .admin-student-result-modal-content { text-align: center; }
/* ------------------------------------------- SweetAlert Overrides for Custom Look ------------------------------------------- */ .admin-student-swal2-popup.custom-result-modal { border-radius: 16px !important; padding: 40px 30px !important; width: 750px !important; max-width: 95% !important; box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important; }
/* â”€â”€ Card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-signup-card { background: #fff; border-radius: 20px; padding: 36px 40px 32px; box-shadow: 0 10px 40px rgba(0,0,0,0.04); margin-bottom: 20px; }
/* â”€â”€ Confirm match â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-match-msg { font-size: 0.77rem; font-weight: 600; display: none; margin-top: 4px; }
/* â”€â”€ Create Account button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-btn-create { background: #3b3580; color: #fff; border: none; border-radius: 12px; padding: 14px; width: 100%; font-size: 0.94rem; font-weight: 700; display: flex; justify-content: center; align-items: center; gap: 8px; cursor: pointer; transition: background 0.2s, transform 0.1s; font-family: 'Plus Jakarta Sans', sans-serif; margin-bottom: 18px; }
/* â”€â”€ Essay word-count hint â”€â”€ */ .admin-essay-footer-hint { display: flex; align-items: center; justify-content: flex-end; margin-top: 8px; font-size: 0.78rem; color: var(--text-muted); gap: 6px; }
/* â”€â”€ Essay word-count hint â”€â”€ */ .admin-student-essay-footer-hint { display: flex; align-items: center; justify-content: flex-end; margin-top: 8px; font-size: 0.78rem; color: var(--text-muted); gap: 6px; }
/* â”€â”€ Field error message â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-field-err { font-size: 0.77rem; color: #ef4444; font-weight: 600; display: none; margin-top: 4px; }
/* â”€â”€ Field spacing â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-field-group { margin-bottom: 20px; }
/* â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-footer-text { text-align: center; font-size: 0.83rem; color: #8b929e; margin-bottom: 6px; font-weight: 500; }
/* â”€â”€ Input wrap â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-input-wrap { display: flex; align-items: center; border: 1.5px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; margin-bottom: 6px; }
/* â”€â”€ Labels â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-form-label { font-size: 0.82rem; font-weight: 700; color: #374151; margin-bottom: 7px; display: flex; align-items: center; gap: 5px; }
/* â”€â”€ Logo / header â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-logo-section { text-align: center; margin-bottom: 26px; }
/* â”€â”€ MR hint badge â”€â”€ */ .admin-mr-hint { display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem; font-weight: 600; color: #6d28d9; background: #ede9fe; border-radius: 20px; padding: 3px 10px; margin-bottom: 20px; }
/* â”€â”€ MR hint badge â”€â”€ */ .admin-student-mr-hint { display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem; font-weight: 600; color: #6d28d9; background: #ede9fe; border-radius: 20px; padding: 3px 10px; margin-bottom: 20px; }
/* â”€â”€ Page wrapper â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-page-wrapper { position: relative; z-index: 1; width: 100%; max-width: 520px; padding: 30px 20px 24px; display: flex; flex-direction: column; align-items: center; }
/* â”€â”€ Password strength â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-strength-row { display: flex; justify-content: space-between; align-items: center; margin-top: 5px; margin-bottom: 0; }
/* â”€â”€ Sign in row â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-signin-row { text-align: center; font-size: 0.85rem; color: #9ca3af; font-weight: 500; }
/* â”€â”€ Success overlay â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-success-overlay { display: none; position: fixed; inset: 0; background: rgba(255,255,255,0.92); z-index: 100; align-items: center; justify-content: center; flex-direction: column; text-align: center; animation: fadeInUp 0.4s ease; }
/* â”€â”€ Terms checkbox â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-terms-row { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 24px; }
/* â”€â”€ Two-column row â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
/* â”€â”€â”€ CARDS VIEW â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-cards-view { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* â”€â”€â”€ Change email link â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-back-link { display: block; text-align: center; font-size: 0.83rem; color: #7c3aed; font-weight: 700; text-decoration: none; margin-top: 6px; }
/* â”€â”€â”€ Design Tokens â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ :root { --purple: #7C3AED; --purple-lt: #ede9fe; --amber: #F59E0B; --amber-lt: #fef3c7; --blue: #3B82F6; --blue-lt: #dbeafe; --green: #10B981; --green-lt: #d1fae5; --red: #EF4444; --red-lt: #fee2e2; --bg: #F5F6FA; --card-bg: #FFFFFF; --text: #111827; --muted: #6B7280; --border: #E5E7EB; --sidebar-bg: #1e1b4b; }
/* â”€â”€â”€ Done step â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-redirect-bar-wrap { margin: 22px 0 6px; }
/* â”€â”€â”€ Ellipsis Dropdown â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-exam-dropdown { position: relative; }
/* â”€â”€â”€ Field messages â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-field-msg { font-size: 0.78rem; font-weight: 600; margin-bottom: 16px; }
/* â”€â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-footer-text { text-align:center; font-size:0.83rem; color:#8b929e; margin-bottom:6px; font-weight:500; }
/* â”€â”€â”€ Hidden helpers â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-view-panel { display: none; }
/* â”€â”€â”€ Input group â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-form-label { font-size: 0.82rem; font-weight: 700; color: #374151; margin-bottom: 7px; }
/* â”€â”€â”€ LIST VIEW â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-list-view { display: flex; flex-direction: column; gap: 0; }
/* â”€â”€â”€ Logo/header â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-logo-section { text-align: center; margin-bottom: 28px; }
/* â”€â”€â”€ OTP boxes â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-otp-row { display: flex; gap: 14px; justify-content: center; margin-bottom: 28px; }
/* â”€â”€â”€ Page wrapper â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-page-wrapper { position: relative; z-index: 1; width: 100%; max-width: 520px; padding: 20px; display: flex; flex-direction: column; align-items: center; }
/* â”€â”€â”€ Pagination â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-pagination-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; flex-wrap: wrap; gap: 12px; }
/* â”€â”€â”€ Password strength row â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-strength-row { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; margin-bottom: 16px; }
/* â”€â”€â”€ Primary button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-btn-primary-action { background: #3b3580; color: #fff; border: none; border-radius: 12px; padding: 14px; width: 100%; font-size: 0.94rem; font-weight: 700; display: flex; justify-content: center; align-items: center; gap: 8px; cursor: pointer; transition: background 0.2s, transform 0.1s; font-family: 'Plus Jakarta Sans', sans-serif; margin-bottom: 16px; }
/* â”€â”€â”€ Published Stat Cards â”€â”€â”€â”€â”€ */ .admin-stat-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 22px 0; }
/* â”€â”€â”€ Resend row â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-resend-row { text-align: center; font-size: 0.83rem; color: #9ca3af; margin-bottom: 12px; font-weight: 500; }
/* â”€â”€â”€ Stat Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
/* â”€â”€â”€ Stat Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-stat-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 24px 0; }
/* â”€â”€â”€ Status Badges â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-badge-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; }
/* â”€â”€â”€ Step content icon circle â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-step-icon-wrap { width: 64px; height: 64px; border-radius: 50%; background: #ede9fe; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.5rem; color: #4c3aad; }
/* â”€â”€â”€ Step headings â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-step-heading { text-align: center; font-size: 1.35rem; font-weight: 800; color: #111827; margin-bottom: 8px; }
/* â”€â”€â”€ Step Progress Bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-step-bar { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin-bottom: 36px; }
/* â”€â”€â”€ TABLE VIEW â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-table-view { background: var(--card-bg); border-radius: 12px; border: 1.5px solid var(--border); overflow: hidden; }
/* â”€â”€â”€ Toolbar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-exams-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
/* â”€â”€â”€ View Toggle â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-view-toggle { display: flex; gap: 4px; padding: 4px; background: var(--bg); border-radius: 10px; border: 1.5px solid var(--border); }
/* â”€â”€â”€ Wizard card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */ .admin-wizard-card { background: #fff; border-radius: 20px; padding: 38px 44px 34px; width: 100%; box-shadow: 0 10px 40px rgba(0,0,0,0.04); margin-bottom: 20px; }
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â• CARDS VIEW â•â•â•â•â•â•â•â•â•â•â•â•â•â• */ .admin-cards-view { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â• LIST VIEW â•â•â•â•â•â•â•â•â•â•â•â•â•â• */ .admin-list-view { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; }
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â• TABLE VIEW â•â•â•â•â•â•â•â•â•â•â•â•â•â• */ .admin-table-view { background: var(--card-bg); border-radius: 12px; border: 1.5px solid var(--border); overflow: hidden; }
/* Assigned column */ .admin-list-assigned-col { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100px; flex-shrink: 0; }
/* Badges */ .admin-badge-assign { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
/* Bottom-left wave lines */ .admin-wave-lines { position: fixed; bottom: -15%; left: -15%; width: 80%; height: 80%; background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 500 C 300 300,500 700,800 500 C 1100 300,1300 700,1600 500' fill='none' stroke='rgba(255,255,255,0.55)' stroke-width='1.5'/%3E%3Cpath d='M 0 540 C 320 340,520 740,820 540 C 1120 340,1320 740,1620 540' fill='none' stroke='rgba(255,255,255,0.25)' stroke-width='1'/%3E%3C/svg%3E"); background-size: cover; pointer-events: none; z-index: 0; transform: rotate(-10deg); }
/* Buttons */ .admin-btn-result { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; border: 1.5px solid var(--border); background: var(--card-bg); font-size: 0.8rem; font-weight: 600; color: var(--text); cursor: pointer; transition: all .15s; white-space: nowrap; }
/* connecting line */ .admin-step-item:not(:last-child)::after { content: ''; position: absolute; top: 18px; left: calc(50% + 18px); width: calc(100% - 4px); height: 2px; background: #e5e7eb; z-index: 0; transition: background 0.4s; }
/* Date box refined styling */ .admin-list-date-box { width: 44px; height: 44px; border-radius: 8px; border: 1.5px solid #E5E7EB; background: #FFFFFF; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; flex-shrink: 0; margin-right: 6px; }
/* Decorative background top lines */ .admin-wave-lines-top { position: absolute; top: -20%; right: -10%; width: 60%; height: 60%; background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='80%25' cy='20%25' r='300' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='1.5'/%3E%3Ccircle cx='80%25' cy='20%25' r='330' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='1'/%3E%3Ccircle cx='80%25' cy='20%25' r='360' fill='none' stroke='rgba(255,255,255,0.15)' stroke-width='0.5'/%3E%3C/svg%3E"); background-size: cover; pointer-events: none; z-index: 0; }
/* Decorative background wave lines */ .admin-wave-lines { position: absolute; bottom: -15%; left: -15%; width: 80%; height: 80%; background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 500 C 300 300, 500 700, 800 500 C 1100 300, 1300 700, 1600 500' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='1.5'/%3E%3Cpath d='M 0 530 C 320 330, 520 730, 820 530 C 1120 330, 1320 730, 1620 530' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='1'/%3E%3Cpath d='M 0 560 C 340 360, 540 760, 840 560 C 1140 360, 1340 760, 1640 560' fill='none' stroke='rgba(255,255,255,0.15)' stroke-width='0.5'/%3E%3C/svg%3E"); background-size: cover; pointer-events: none; z-index: 0; transform: rotate(-10deg); }
/* Decorative star at bottom right */ .admin-bg-star { position: absolute; bottom: 8%; right: 8%; width: 140px; height: 140px; z-index: 0; pointer-events: none; opacity: 0.35; }
/* Decorative star outline bottom-right */ .admin-bg-star { position: fixed; bottom: 8%; right: 8%; width: 140px; height: 140px; z-index: 0; pointer-events: none; opacity: 0.3; }
/* Decorative SVG wave bottom-left */ .admin-wave-lines { position: fixed; bottom: -15%; left: -15%; width: 80%; height: 80%; background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 500 C 300 300,500 700,800 500 C 1100 300,1300 700,1600 500' fill='none' stroke='rgba(255,255,255,0.55)' stroke-width='1.5'/%3E%3Cpath d='M 0 540 C 320 340,520 740,820 540 C 1120 340,1320 740,1620 540' fill='none' stroke='rgba(255,255,255,0.25)' stroke-width='1'/%3E%3C/svg%3E"); background-size: cover; pointer-events: none; z-index: 0; transform: rotate(-10deg); }
/* Draw faint line behind text */ .admin-signup-row::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #f3f4f6; z-index: 0; }
/* Ellipsis Dropdown */ .admin-exam-dropdown { position: relative; }
/* email badge in step 2 */ .admin-email-badge { display: inline-flex; align-items: center; gap: 6px; background: #f3f4f6; border-radius: 30px; padding: 5px 14px; font-size: 0.82rem; font-weight: 600; color: #374151; margin-bottom: 26px; }
/* Error state styling (like in screenshot 3) */ .admin-input-group.is-invalid { border-color: #fca5a5; background-color: #fff1f2; }
/* Fade transition */ @keyframes fadeInUp { from { opacity:0; transform:translateY(14px); } to { opacity: 1; transform: translateY(0); } }
/* Grade Box */ .admin-student-grade-box { border-radius: 12px; padding: 24px; margin-bottom: 35px; }
/* Grade Colors */ .admin-student-grade-a { background-color: #dcfce7; }
/* Hidden panels */ .admin-view-panel { display: none; }
/* Hide Default SweetAlert elements */ .admin-student-swal2-icon { display: none !important; }
/* Hide/show steps */ .admin-step-panel { display: none; }
/* Hover ring for the clickable checkbox square */ [id^="chk-box-"]:hover { box-shadow: 0 0 0 3px rgba(26,58,143,0.18); }
/* List item action buttons override */ .admin-list-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
/* Logo and Header Section */ .admin-logo-section { text-align: center; margin-bottom: 30px; }
/* Main Login Card */ .admin-login-card { background: #ffffff; border-radius: 20px; padding: 40px; width: 100%; box-shadow: 0 10px 40px rgba(0,0,0,0.03); margin-bottom: 20px; }
/* Pagination */ .admin-pagination-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; flex-wrap: wrap; gap: 12px; }
/* Progress bar */ .admin-progress-bar-wrap { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 0.75rem; }
/* Progress mini */ .admin-mini-progress { display: flex; flex-direction: column; gap: 3px; min-width: 90px; }
/* Scheduled specific CSS */ .admin-stat-card.light-blue { background: #EBF5FF; border: 1.5px solid #BFDBFE; }
/* spacer between steps */ .admin-step-spacer { width: 72px; height: 2px; background: #e5e7eb; margin-top: 18px; transition: background 0.4s; flex-shrink: 0; }
/* Star outline bottom-right */ .admin-bg-star { position: fixed; bottom: 7%; right: 7%; width: 140px; height: 140px; z-index: 0; pointer-events: none; opacity: 0.3; }
/* Stats Grid */ .admin-student-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
/* Subtle dark overlay so text on the card remains readable */ body::before { content: ''; position: fixed; inset: 0;  z-index: 0; pointer-events: none; }
/* Title */ .admin-student-result-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 30px; }
/* Toolbar */ .admin-exams-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
/* Top Status Icon */ .admin-student-top-icon { font-size: 5rem; line-height: 1; margin-bottom: 20px; }
/* View Toggle */ .admin-view-toggle { display: flex; gap: 4px; padding: 4px; background: var(--bg); border-radius: 10px; border: 1.5px solid var(--border); }


:root {
    --purple: #7C3AED;
    --purple-lt: #ede9fe;
    --amber: #F59E0B;
    --blue: #3B82F6;
    --green: #10B981;
    --green-lt: #d1fae5;
    --red: #EF4444;
    --red-lt: #fee2e2;
    --bg: #F5F6FA;
    --card-bg: #FFFFFF;
    --text: #111827;
    --muted: #6B7280;
    --border: #E5E7EB;
    --sidebar-bg: #1e1b4b;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--bg);
    border-radius: 10px;
    border: 1.5px solid var(--border);
}

.view-btn {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--muted);
    transition: all .15s;
}

    .view-btn.active {
        background: var(--purple);
        color: #fff;
    }

/* ─── Published Stat Cards ───── */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: 22px 0;
}

.stat-card {
    border-radius: 14px;
    padding: 18px 20px;
}

    .stat-card.green {
        background: #F0FFF8;
        border: 1.5px solid #A7F3D0;
    }

    .stat-card.purple {
        background: #F5F3FF;
        border: 1.5px solid #DDD6FE;
    }

    .stat-card.red {
        background: #FFF1F2;
        border: 1.5px solid #FECDD3;
    }

    .stat-card.blue {
        background: #EFF6FF;
        border: 1.5px solid #BFDBFE;
    }

    .stat-card.teal {
        background: #F0FDF4;
        border: 1.5px solid #BBF7D0;
    }

.stat-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.stat-card.green .stat-header {
    color: #059669;
}

.stat-card.purple .stat-header {
    color: #6D28D9;
}

.stat-card.red .stat-header {
    color: #E11D48;
}

.stat-card.blue .stat-header {
    color: #2563EB;
}

.stat-card.teal .stat-header {
    color: #047857;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-card.green .stat-value {
    color: #059669;
}

.stat-card.purple .stat-value {
    color: #6D28D9;
}

.stat-card.red .stat-value {
    color: #E11D48;
}

.stat-card.blue .stat-value {
    color: #2563EB;
}

.stat-card.teal .stat-value {
    color: #047857;
}

.stat-progress {
    margin-top: 10px;
}

    .stat-progress .progress {
        height: 6px;
        border-radius: 999px;
        background: rgba(0,0,0,0.08);
    }

    .stat-progress .progress-bar {
        background: #059669;
        border-radius: 999px;
    }

.stat-rate {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 4px;
}

/* Toolbar */
.exams-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.search-input-wrap {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 8px 14px;
}

    .search-input-wrap input {
        border: none;
        outline: none;
        flex: 1;
        font-size: 0.875rem;
        color: var(--text);
        background: transparent;
    }

        .search-input-wrap input::placeholder {
            color: #9CA3AF;
        }

    .search-input-wrap i {
        color: #9CA3AF;
    }

.toolbar-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
}

    .toolbar-btn:hover {
        border-color: var(--purple);
        color: var(--purple);
    }

.result-count {
    color: var(--muted);
    font-size: 0.875rem;
    margin-left: auto;
    white-space: nowrap;
}

/* Badges */
.badge-assign {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-assigned {
    background: #D1FAE5;
    color: #065F46;
}

.badge-not-assigned {
    background: #FFE4E6;
    color: #BE123C;
}

.badge-level {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.level-beginner {
    background: #D1FAE5;
    color: #065F46;
}

.level-intermediate {
    background: #DBEAFE;
    color: #1E40AF;
}

.level-advanced {
    background: #EDE9FE;
    color: #5B21B6;
}

.badge-type {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 6px;
    font-size: 0.73rem;
    font-weight: 600;
    background: #F3F4F6;
    color: #374151;
}

/* Progress mini */
.mini-progress {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 90px;
}

    .mini-progress .bar-wrap {
        height: 5px;
        background: #E5E7EB;
        border-radius: 999px;
        overflow: hidden;
    }

    .mini-progress .bar-fill {
        height: 100%;
        background: #10B981;
        border-radius: 999px;
    }

    .mini-progress .bar-label {
        font-size: 0.72rem;
        color: var(--muted);
        display: flex;
        justify-content: space-between;
    }

/* Buttons */
.btn-result {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}

    .btn-result:hover {
        border-color: var(--purple);
        color: var(--purple);
    }

.btn-assign {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}

    .btn-assign:hover {
        border-color: var(--purple);
        color: var(--purple);
    }

.btn-more {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--purple);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    flex-shrink: 0;
}

    .btn-more:hover {
        background: #6D28D9;
    }

/* Ellipsis Dropdown */
.exam-dropdown {
    position: relative;
}

.exam-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 1050;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.13);
    border: 1px solid var(--border);
    min-width: 180px;
    padding: 6px;
    display: none;
    flex-direction: column;
}

    .exam-dropdown-menu.open {
        display: flex;
        animation: ddFade .15s ease;
    }

@keyframes ddFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

.dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    transition: background .12s;
}

    .dd-item i {
        font-size: 0.95rem;
        color: var(--muted);
    }

    .dd-item:hover {
        background: #F5F6FA;
    }

        .dd-item:hover i {
            color: var(--purple);
        }

.dd-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

.dd-item.dd-delete {
    color: #DC2626;
}

    .dd-item.dd-delete i {
        color: #DC2626;
    }

    .dd-item.dd-delete:hover {
        background: #FEF2F2;
    }

/* ══════════════ CARDS VIEW ══════════════ */
.cards-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.exam-card {
    background: var(--card-bg);
    border-radius: 14px;
    border: 1.5px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow .2s, transform .15s;
}

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

.card-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.card-title {
    font-weight: 700;
    font-size: 0.97rem;
    color: var(--text);
    line-height: 1.35;
}

.card-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.55;
}

.card-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.card-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.79rem;
    color: var(--muted);
}

.card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: auto;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-updated {
    font-size: 0.76rem;
    color: var(--muted);
}

/* ══════════════ LIST VIEW ══════════════ */
.list-view {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
}

.list-item {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    transition: background .15s;
}

    .list-item:first-child {
        border-top: 1px solid var(--border);
    }

    .list-item:hover {
        background: #FAFBFF;
    }

    .list-item .form-check-input {
        cursor: pointer;
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

.list-exam-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    flex: 1;
    min-width: 160px;
}

.list-assigned-col {
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

    .list-assigned-col .assigned-num {
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--text);
    }

.list-done-col {
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

    .list-done-col .done-num {
        font-weight: 800;
        font-size: 0.95rem;
        color: #10B981;
        line-height: 1.1;
    }

    .list-done-col .done-total {
        font-size: 0.75rem;
        color: var(--muted);
    }

.list-rate-col {
    width: 110px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    margin-left: 10px;
}

.rate-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

.rate-lbl {
    color: var(--muted);
}

.rate-pct {
    font-weight: 700;
    color: #10B981;
}

.list-rate-col .bar-wrap {
    height: 5px;
    background: #E5E7EB;
    border-radius: 999px;
    overflow: hidden;
}

.list-rate-col .bar-fill {
    height: 100%;
    background: #10B981;
    border-radius: 999px;
}

.list-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
    width: 200px;
    justify-content: flex-end;
}

/* ══════════════ TABLE VIEW ══════════════ */
.table-view {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1.5px solid var(--border);
    overflow: hidden;
}

.exam-table {
    width: 100%;
    border-collapse: collapse;
}

    .exam-table thead tr {
        background: #F9FAFB;
        border-bottom: 1.5px solid var(--border);
    }

    .exam-table th {
        padding: 12px 16px;
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        white-space: nowrap;
    }

        .exam-table th.sortable {
            cursor: pointer;
        }

            .exam-table th.sortable:hover {
                color: var(--purple);
            }

        .exam-table th .si {
            font-size: 0.7rem;
            margin-left: 3px;
            color: #CBD5E1;
        }

    .exam-table tbody tr {
        border-bottom: 1px solid var(--border);
        transition: background .15s;
    }

        .exam-table tbody tr:last-child {
            border-bottom: none;
        }

        .exam-table tbody tr:hover {
            background: #FAFBFF;
        }

    .exam-table td {
        padding: 14px 16px;
        font-size: 0.875rem;
        vertical-align: middle;
    }

        .exam-table td.name-cell {
            font-weight: 600;
            color: var(--text);
        }

        .exam-table td.num-cell {
            color: var(--muted);
            font-weight: 500;
        }

        .exam-table td.date-cell {
            color: var(--muted);
            white-space: nowrap;
        }

.assigned-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.assigned-fraction {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
}

.table-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 130px;
}

    .table-progress .bar-wrap {
        flex: 1;
        height: 5px;
        background: #E5E7EB;
        border-radius: 999px;
        overflow: hidden;
    }

    .table-progress .bar-fill {
        height: 100%;
        background: #10B981;
        border-radius: 999px;
    }

    .table-progress .bar-text {
        font-size: 0.72rem;
        color: var(--muted);
        white-space: nowrap;
    }

/* Pagination */
.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-info {
    font-size: 0.82rem;
    color: var(--muted);
}

.page-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    transition: all .15s;
}

    .page-btn:hover {
        border-color: var(--purple);
        color: var(--purple);
    }

    .page-btn.active {
        background: var(--purple);
        border-color: var(--purple);
        color: #fff;
    }

.rows-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--muted);
}

    .rows-select select {
        padding: 4px 8px;
        border-radius: 7px;
        border: 1.5px solid var(--border);
        background: var(--card-bg);
        font-size: 0.82rem;
        color: var(--text);
        outline: none;
        cursor: pointer;
    }

/* Hidden panels */
.view-panel {
    display: none;
}

    .view-panel.active {
        display: block;
    }

#view-cards.view-panel.active {
    display: grid;
}

/* Scheduled specific CSS */
.stat-card.light-blue {
    background: #EBF5FF;
    border: 1.5px solid #BFDBFE;
}

    .stat-card.light-blue .stat-header {
        color: #1E40AF;
    }

    .stat-card.light-blue .stat-value {
        color: #1E40AF;
    }

    .stat-card.light-blue .stat-desc {
        font-size: 0.95rem;
        color: #3B82F6;
        font-weight: 600;
        margin-left: 6px;
    }

.next-up-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.next-up-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    margin-right: 4px;
}

.nu-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1.5px solid;
    cursor: pointer;
}

    .nu-pill.yellow {
        background: #FEF3C7;
        color: #92400E;
        border-color: #FDE68A;
    }

        .nu-pill.yellow .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #F59E0B;
        }

    .nu-pill.blue {
        background: #EFF6FF;
        color: #1E40AF;
        border-color: #BFDBFE;
    }

        .nu-pill.blue .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #3B82F6;
        }

.list-date-box {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    flex-shrink: 0;
    margin-right: 6px;
}

    .list-date-box .dd {
        font-size: 0.95rem;
        font-weight: 800;
        color: var(--text);
    }

    .list-date-box .mm {
        font-size: 0.65rem;
        font-weight: 800;
        color: var(--purple);
        text-transform: uppercase;
        margin-top: 1px;
    }

    .list-date-box.yellow .mm {
        color: #F59E0B;
    }

.list-col-name-scheduled {
    min-width: 35%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.list-exam-sub {
    font-size: 0.75rem;
    color: var(--muted);
}

.list-col-time {
    width: 180px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

    .list-col-time .time-text {
        font-size: 0.8rem;
        color: var(--text);
        font-weight: 600;
    }

    .list-col-time .time-tag {
        font-size: 0.75rem;
        font-weight: 700;
    }

        .list-col-time .time-tag.blue {
            color: #3B82F6;
        }

        .list-col-time .time-tag.yellow {
            color: #F59E0B;
        }

.card-date-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
}

.card-date {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .card-date i {
        color: var(--purple);
        font-size: 0.9rem;
    }

.card-days-left {
    font-size: 0.75rem;
    font-weight: 700;
    color: #F59E0B;
}

.btn-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    background: #F3F4F6;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    border: none;
    cursor: pointer;
    transition: all .15s;
}

    .btn-edit:hover {
        background: #E5E7EB;
    }

/* List item action buttons override */
.list-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.list-item .btn-edit,
.list-item .btn-assign {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    background: #F3F4F6;
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    border: none;
    cursor: pointer;
    transition: background .15s;
}

    .list-item .btn-edit:hover, .list-item .btn-assign:hover {
        background: #E5E7EB;
    }

    .list-item .btn-edit i, .list-item .btn-assign i {
        color: #4B5563;
    }

.list-item .btn-more {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #8B5CF6;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .list-item .btn-more:hover {
        background: #7C3AED;
    }

    .list-item .btn-more i {
        font-size: 1.1rem;
    }

/* Date box refined styling */
.list-date-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1.5px solid #E5E7EB;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    flex-shrink: 0;
    margin-right: 6px;
}

    .list-date-box .dd {
        font-size: 1rem;
        font-weight: 800;
        color: #7C3AED;
    }

    .list-date-box .mm {
        font-size: 0.65rem;
        font-weight: 800;
        color: #7C3AED;
        text-transform: uppercase;
        margin-top: 1px;
    }

    .list-date-box.yellow {
        border-color: #FDE68A;
        background: #FEF3C7;
    }

        .list-date-box.yellow .dd {
            color: #111827;
        }

        .list-date-box.yellow .mm {
            color: #D97706;
        }

/* Assigned column */
.list-assigned-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100px;
    flex-shrink: 0;
}

    .list-assigned-col .assigned-num {
        font-size: 0.85rem;
        font-weight: 800;
        color: #111827;
    }

.list-item {
    padding: 12px 16px;
    border: 1px solid #F3F4F6;
    margin-bottom: 8px;
    border-radius: 12px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}



/* ─── Published Stat Cards ───── */
.stat-cards.PublishState {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: 22px 0;
}

.PublishState .stat-card {
    border-radius: 14px;
    padding: 18px 20px;
}

    .PublishState  .stat-card.green {
        background: #F0FFF8;
        border: 1.5px solid #A7F3D0;
    }

    .PublishState  .stat-card.purple {
        background: #F5F3FF;
        border: 1.5px solid #DDD6FE;
    }

    .PublishState  .stat-card.red {
        background: #FFF1F2;
        border: 1.5px solid #FECDD3;
    }

    .PublishState  .stat-card.blue {
        background: #EFF6FF;
        border: 1.5px solid #BFDBFE;
    }

    .PublishState  .stat-card.teal {
        background: #F0FDF4;
        border: 1.5px solid #BBF7D0;
    }

.PublishState .stat-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.PublishState .stat-card.green .stat-header {
    color: #059669;
}

.PublishState .stat-card.purple .stat-header {
    color: #6D28D9;
}

.PublishState .stat-card.red .stat-header {
    color: #E11D48;
}

.PublishState .stat-card.blue .stat-header {
    color: #2563EB;
}

.PublishState .stat-card.teal .stat-header {
    color: #047857;
}

.PublishState .stat-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.PublishState .stat-card.green .stat-value {
    color: #059669;
}

.PublishState .stat-card.purple .stat-value {
    color: #6D28D9;
}

.PublishState .stat-card.red .stat-value {
    color: #E11D48;
}

.PublishState .stat-card.blue .stat-value {
    color: #2563EB;
}

.PublishState .stat-card.teal .stat-value {
    color: #047857;
}

.PublishState .stat-progress {
    margin-top: 10px;
}

    .PublishState  .stat-progress .progress {
        height: 6px;
        border-radius: 999px;
        background: rgba(0,0,0,0.08);
    }

    .PublishState  .stat-progress .progress-bar {
        background: #059669;
        border-radius: 999px;
    }

.PublishState .stat-rate {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 4px;
}

/* Toolbar */
.exams-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.search-input-wrap {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 8px 14px;
}

    .search-input-wrap input {
        border: none;
        outline: none;
        flex: 1;
        font-size: 0.875rem;
        color: var(--text);
        background: transparent;
    }

        .search-input-wrap input::placeholder {
            color: #9CA3AF;
        }

    .search-input-wrap i {
        color: #9CA3AF;
    }

.toolbar-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
}

    .toolbar-btn:hover {
        border-color: var(--purple);
        color: var(--purple);
    }

.result-count {
    color: var(--muted);
    font-size: 0.875rem;
    margin-left: auto;
    white-space: nowrap;
}

/* Badges */
.badge-assign {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-assigned {
    background: #D1FAE5;
    color: #065F46;
}

.badge-not-assigned {
    background: #FFE4E6;
    color: #BE123C;
}

.badge-level {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.level-beginner {
    background: #D1FAE5;
    color: #065F46;
}

.level-intermediate {
    background: #DBEAFE;
    color: #1E40AF;
}

.level-advanced {
    background: #EDE9FE;
    color: #5B21B6;
}

.badge-type {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 6px;
    font-size: 0.73rem;
    font-weight: 600;
    background: #F3F4F6;
    color: #374151;
}

/* Progress mini */
.mini-progress {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 90px;
}

    .mini-progress .bar-wrap {
        height: 5px;
        background: #E5E7EB;
        border-radius: 999px;
        overflow: hidden;
    }

    .mini-progress .bar-fill {
        height: 100%;
        background: #10B981;
        border-radius: 999px;
    }

    .mini-progress .bar-label {
        font-size: 0.72rem;
        color: var(--muted);
        display: flex;
        justify-content: space-between;
    }

/* Buttons */
.btn-result {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}

    .btn-result:hover {
        border-color: var(--purple);
        color: var(--purple);
    }

.btn-assign {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}

    .btn-assign:hover {
        border-color: var(--purple);
        color: var(--purple);
    }

.btn-more {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--purple);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    flex-shrink: 0;
}

    .btn-more:hover {
        background: #6D28D9;
    }

/* Ellipsis Dropdown */
.exam-dropdown {
    position: relative;
}

.exam-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 1050;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.13);
    border: 1px solid var(--border);
    min-width: 180px;
    padding: 6px;
    display: none;
    flex-direction: column;
}

    .exam-dropdown-menu.open {
        display: flex;
        animation: ddFade .15s ease;
    }

@keyframes ddFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

.dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    transition: background .12s;
}

    .dd-item i {
        font-size: 0.95rem;
        color: var(--muted);
    }

    .dd-item:hover {
        background: #F5F6FA;
    }

        .dd-item:hover i {
            color: var(--purple);
        }

.dd-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

.dd-item.dd-delete {
    color: #DC2626;
}

    .dd-item.dd-delete i {
        color: #DC2626;
    }

    .dd-item.dd-delete:hover {
        background: #FEF2F2;
    }

/* ══════════════ CARDS VIEW ══════════════ */
.cards-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.exam-card {
    background: var(--card-bg);
    border-radius: 14px;
    border: 1.5px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow .2s, transform .15s;
}

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

.card-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.card-title {
    font-weight: 700;
    font-size: 0.97rem;
    color: var(--text);
    line-height: 1.35;
}

.card-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.55;
}

.card-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.card-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.79rem;
    color: var(--muted);
}

.card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: auto;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-updated {
    font-size: 0.76rem;
    color: var(--muted);
}

/* ══════════════ LIST VIEW ══════════════ */
.list-view {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
}

.list-item {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    transition: background .15s;
}

    .list-item:first-child {
        border-top: 1px solid var(--border);
    }

    .list-item:hover {
        background: #FAFBFF;
    }

    .list-item .form-check-input {
        cursor: pointer;
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

.list-exam-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    flex: 1;
    min-width: 160px;
}

.list-assigned-col {
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

    .list-assigned-col .assigned-num {
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--text);
    }

.list-done-col {
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

    .list-done-col .done-num {
        font-weight: 800;
        font-size: 0.95rem;
        color: #10B981;
        line-height: 1.1;
    }

    .list-done-col .done-total {
        font-size: 0.75rem;
        color: var(--muted);
    }

.list-rate-col {
    width: 110px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    margin-left: 10px;
}

.rate-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

.rate-lbl {
    color: var(--muted);
}

.rate-pct {
    font-weight: 700;
    color: #10B981;
}

.list-rate-col .bar-wrap {
    height: 5px;
    background: #E5E7EB;
    border-radius: 999px;
    overflow: hidden;
}

.list-rate-col .bar-fill {
    height: 100%;
    background: #10B981;
    border-radius: 999px;
}

.list-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
    width: 160px;
    justify-content: flex-end;
}

/* ══════════════ TABLE VIEW ══════════════ */
.table-view {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1.5px solid var(--border);
    overflow: hidden;
}

.exam-table {
    width: 100%;
    border-collapse: collapse;
}

    .exam-table thead tr {
        background: #F9FAFB;
        border-bottom: 1.5px solid var(--border);
    }

    .exam-table th {
        padding: 12px 16px;
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        white-space: nowrap;
    }

        .exam-table th.sortable {
            cursor: pointer;
        }

            .exam-table th.sortable:hover {
                color: var(--purple);
            }

        .exam-table th .si {
            font-size: 0.7rem;
            margin-left: 3px;
            color: #CBD5E1;
        }

    .exam-table tbody tr {
        border-bottom: 1px solid var(--border);
        transition: background .15s;
    }

        .exam-table tbody tr:last-child {
            border-bottom: none;
        }

        .exam-table tbody tr:hover {
            background: #FAFBFF;
        }

    .exam-table td {
        padding: 14px 16px;
        font-size: 0.875rem;
        vertical-align: middle;
    }

        .exam-table td.name-cell {
            font-weight: 600;
            color: var(--text);
        }

        .exam-table td.num-cell {
            color: var(--muted);
            font-weight: 500;
        }

        .exam-table td.date-cell {
            color: var(--muted);
            white-space: nowrap;
        }

.assigned-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.assigned-fraction {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
}

.table-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 130px;
}

    .table-progress .bar-wrap {
        flex: 1;
        height: 5px;
        background: #E5E7EB;
        border-radius: 999px;
        overflow: hidden;
    }

    .table-progress .bar-fill {
        height: 100%;
        background: #10B981;
        border-radius: 999px;
    }

    .table-progress .bar-text {
        font-size: 0.72rem;
        color: var(--muted);
        white-space: nowrap;
    }

/* Pagination */
.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-info {
    font-size: 0.82rem;
    color: var(--muted);
}

.page-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    transition: all .15s;
}

    .page-btn:hover {
        border-color: var(--purple);
        color: var(--purple);
    }

    .page-btn.active {
        background: var(--purple);
        border-color: var(--purple);
        color: #fff;
    }

.rows-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--muted);
}

    .rows-select select {
        padding: 4px 8px;
        border-radius: 7px;
        border: 1.5px solid var(--border);
        background: var(--card-bg);
        font-size: 0.82rem;
        color: var(--text);
        outline: none;
        cursor: pointer;
    }

/* Hidden panels */
.view-panel {
    display: none;
}

    .view-panel.active {
        display: block;
    }

#view-cards.view-panel.active {
    display: grid;
}



/*drafts*/

/* ─── Stat Cards ──────────────────────────────────── */
.stat-cards.stateDraft {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.stateDraft .stat-card {
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .stateDraft .stat-card.purple {
        background: #F3E8FF;
    }

        .stateDraft .stat-card.purple .stat-label, .stat-card.purple .stat-icon, .stat-card.purple .stat-value {
            color: #9333EA;
        }

    .stateDraft .stat-card.yellow {
        background: #FEF3C7;
    }

        .stateDraft .stat-card.yellow .stat-label, .stat-card.yellow .stat-icon, .stat-card.yellow .stat-value {
            color: #D97706;
        }

    .stateDraft .stat-card.green {
        background: #D1FAE5;
    }

        .stateDraft .stat-card.green .stat-label, .stat-card.green .stat-icon, .stat-card.green .stat-value {
            color: #059669;
        }

    .stateDraft .stat-card.red {
        background: #FEE2E2;
    }

        .stateDraft .stat-card.red .stat-label, .stat-card.red .stat-icon, .stat-card.red .stat-value {
            color: #DC2626;
        }

    .stateDraft .stat-card.blue {
        background: #DBEAFE;
    }

        .stateDraft .stat-card.blue .stat-label, .stat-card.blue .stat-icon, .stat-card.blue .stat-value {
            color: #1D4ED8;
        }

.stateDraft .stat-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.stateDraft .stat-icon {
    font-size: 1.1rem;
}

.stateDraft .stat-label {
    font-size: 0.85rem;
    font-weight: 600;
}

.stateDraft .stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

/* ─── Toolbar ─────────────────────────────────────── */
.exams-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.search-input-wrap {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 8px 14px;
}

    .search-input-wrap input {
        border: none;
        outline: none;
        flex: 1;
        font-size: 0.875rem;
        color: var(--text);
        background: transparent;
    }

        .search-input-wrap input::placeholder {
            color: #9CA3AF;
        }

    .search-input-wrap i {
        color: #9CA3AF;
    }

.toolbar-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
}

    .toolbar-btn:hover {
        border-color: var(--purple);
        color: var(--purple);
    }

.result-count {
    color: var(--muted);
    font-size: 0.875rem;
    margin-left: auto;
    white-space: nowrap;
}

/* ─── View Toggle ─────────────────────────────────── */
.view-toggle {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--bg);
    border-radius: 10px;
    border: 1.5px solid var(--border);
}

.view-btn {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--muted);
    transition: all .15s;
}

    .view-btn.active {
        background: var(--purple);
        color: #fff;
    }

/* ─── Status Badges ───────────────────────────────── */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
}

    .badge-status .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        display: inline-block;
    }

.badge-draft {
    background: #FEF3C7;
    color: #92400E;
}

    .badge-draft .dot {
        background: #D97706;
    }

.badge-level {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
}

.level-beginner {
    background: #D1FAE5;
    color: #065F46;
}

.level-intermediate {
    background: #DBEAFE;
    color: #1E40AF;
}

.level-advanced {
    background: #EDE9FE;
    color: #5B21B6;
}

.level-essay {
    background: #F3E8FF;
    color: #9333EA;
}

.badge-type {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 6px;
    font-size: 0.73rem;
    font-weight: 600;
    background: #F3F4F6;
    color: #374151;
}

/* ─── LIST VIEW ───────────────────────────────────── */
.list-view {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.list-item {
    background: var(--card-bg);
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    transition: background .15s;
}

    .list-item:first-child {
        border-radius: 12px 12px 0 0;
        border-top: 1px solid var(--border);
    }

    .list-item:last-child {
        border-radius: 0 0 12px 12px;
    }

    .list-item:hover {
        background: #FAFBFF;
    }

    .list-item .form-check-input {
        cursor: pointer;
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

.list-exam-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    flex: 1;
    min-width: 0;
}

    .list-exam-name small {
        font-weight: 400;
        color: var(--muted);
        font-size: 0.78rem;
        display: block;
        margin-top: 2px;
    }

.list-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 0.82rem;
}

    .list-meta span {
        white-space: nowrap;
    }

.list-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 140px;
    margin-right: 20px;
    margin-left: 20px;
}

.list-progress-label {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 500;
}

.list-progress-val {
    font-size: 0.75rem;
    font-weight: 600;
}

    .list-progress-val.yellow {
        color: #F59E0B;
    }

    .list-progress-val.blue {
        color: #3B82F6;
    }

    .list-progress-val.green {
        color: #10B981;
    }

.list-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-continue {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}

    .btn-continue:hover {
        border-color: var(--purple);
        color: var(--purple);
    }

.btn-more {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--purple);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    flex-shrink: 0;
}

    .btn-more:hover {
        background: #6D28D9;
    }

/* ─── Ellipsis Dropdown ──────────────────────────── */
.exam-dropdown {
    position: relative;
}

.exam-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 1050;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
    border: 1px solid var(--border);
    min-width: 180px;
    padding: 6px;
    display: none;
    flex-direction: column;
}

    .exam-dropdown-menu.open {
        display: flex;
        animation: ddFadeIn .15s ease;
    }

@keyframes ddFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

.dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    transition: background .12s;
}

    .dd-item i {
        font-size: 0.95rem;
        color: var(--muted);
    }

    .dd-item:hover {
        background: #F5F6FA;
    }

        .dd-item:hover i {
            color: var(--purple);
        }

.dd-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

.dd-item.dd-delete {
    color: #DC2626;
}

    .dd-item.dd-delete i {
        color: #DC2626;
    }

    .dd-item.dd-delete:hover {
        background: #FEF2F2;
    }

/* ─── TABLE VIEW ──────────────────────────────────── */
.table-view {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1.5px solid var(--border);
    overflow: hidden;
}

.exam-table {
    width: 100%;
    border-collapse: collapse;
}

    .exam-table thead tr {
        background: #F9FAFB;
        border-bottom: 1.5px solid var(--border);
    }

    .exam-table th {
        padding: 12px 16px;
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        white-space: nowrap;
        user-select: none;
    }

        .exam-table th.sortable {
            cursor: pointer;
        }

            .exam-table th.sortable:hover {
                color: var(--purple);
            }

        .exam-table th .sort-icon {
            font-size: 0.7rem;
            margin-left: 4px;
            color: #CBD5E1;
        }

    .exam-table tbody tr {
        border-bottom: 1px solid var(--border);
        transition: background .15s;
    }

        .exam-table tbody tr:last-child {
            border-bottom: none;
        }

        .exam-table tbody tr:hover {
            background: #FAFBFF;
        }

    .exam-table td {
        padding: 14px 16px;
        font-size: 0.875rem;
        vertical-align: middle;
    }

        .exam-table td.name-cell {
            font-weight: 600;
            color: var(--text);
        }

        .exam-table td.num-cell {
            font-weight: 600;
            color: var(--text);
        }

        .exam-table td.date-cell {
            color: var(--muted);
            white-space: nowrap;
        }

/* ─── CARDS VIEW ──────────────────────────────────── */
.cards-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.exam-card {
    background: var(--card-bg);
    border-radius: 14px;
    border: 1.5px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow .2s, transform .15s;
}

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

.card-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.exam-card .card-title {
    font-weight: 700;
    font-size: 0.97rem;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 2px;
}

.exam-card .card-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.55;
    flex-grow: 1;
}

.card-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: auto;
}

.card-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.79rem;
    color: var(--muted);
}

.card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.card-footer-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.card-updated {
    font-size: 0.76rem;
    color: var(--muted);
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Progress bar */
.progress-bar-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    font-size: 0.75rem;
}

    .progress-bar-wrap .progress-label {
        color: var(--muted);
        font-weight: 500;
    }

    .progress-bar-wrap .progress {
        flex: 1;
        height: 4px;
        background: #E5E7EB;
        border-radius: 4px;
        overflow: visible; /* To allow indicator if needed */
    }

    .progress-bar-wrap .progress-bar {
        height: 100%;
        border-radius: 4px;
    }

    .progress-bar-wrap .progress-val {
        font-weight: 600;
    }

    .progress-bar-wrap.yellow .progress-bar {
        background: #F59E0B;
    }

    .progress-bar-wrap.yellow .progress-val {
        color: #F59E0B;
    }

    .progress-bar-wrap.blue .progress-bar {
        background: #3B82F6;
    }

    .progress-bar-wrap.blue .progress-val {
        color: #3B82F6;
    }

    .progress-bar-wrap.green .progress-bar {
        background: #10B981;
    }

    .progress-bar-wrap.green .progress-val {
        color: #10B981;
    }

/* ─── Pagination ──────────────────────────────────── */
.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-info {
    font-size: 0.82rem;
    color: var(--muted);
}

.page-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    transition: all .15s;
}

    .page-btn:hover {
        border-color: var(--purple);
        color: var(--purple);
    }

    .page-btn.active {
        background: var(--purple);
        border-color: var(--purple);
        color: #fff;
    }

.rows-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--muted);
}

    .rows-select select {
        padding: 4px 8px;
        border-radius: 7px;
        border: 1.5px solid var(--border);
        background: var(--card-bg);
        font-size: 0.82rem;
        color: var(--text);
        outline: none;
        cursor: pointer;
    }

/* ─── Hidden helpers ──────────────────────────────── */
.view-panel {
    display: none;
}

    .view-panel.active {
        display: block;
    }

#view-cards.view-panel.active {
    display: grid;
}

.list-col-name {
    width: 30%;
}

/* ─── Fill-in-the-Blanks Modal ──────────────────────────── */
/* Insert Blank button */
.fib-insert-btn {
    background: #1e1b4b;
    color: #fff;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    border: none;
    white-space: nowrap;
    transition: background 0.18s;
}
.fib-insert-btn:hover {
    background: #312e81;
    color: #fff;
}

/* Answers table inside FIB modal */
.fib-answers-table-wrap {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}
.fib-answers-table thead tr {
    background: #f8f9fc;
}
.fib-answers-table thead th {
    font-size: 0.78rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 10px 14px;
    border-bottom: 1.5px solid #e5e7eb;
}
.fib-answers-table tbody tr {
    border-bottom: 1px solid #f0f1f3;
}
.fib-answers-table tbody tr:last-child {
    border-bottom: none;
}
.fib-answers-table tbody td {
    padding: 10px 14px;
    vertical-align: top;
    font-size: 0.88rem;
    color: #374151;
}
.fib-answers-table td:first-child {
    font-weight: 700;
    color: #111827;
    width: 90px;
}
.fib-answers-table textarea.setting-input {
    font-size: 0.82rem;
    border-radius: 8px;
}

/* Preview stem area */
.fib-preview-stem-area {
    font-size: 0.9rem;
    color: #374151;
    line-height: 2.1;
}

/* Footer buttons */
.btn-fib-cancel {
    background: #fff;
    color: #374151;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.15s, border-color 0.15s;
}
.btn-fib-cancel:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #111827;
}
.btn-fib-save {
    background: #fff;
    color: #7c3aed;
    border: 1.5px solid #7c3aed;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.15s;
}
.btn-fib-save:hover {
    background: #f5f0ff;
    color: #5b21b6;
    border-color: #5b21b6;
}
.btn-fib-save-another {
    background: #F59E0B;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.15s;
}
.btn-fib-save-another:hover {
    background: #d97706;
    color: #fff;
}

/* Thick blue color for sub-labels */
.setting-label.blue {
    color: #7c3aed;
    font-weight: 700;
}

/* Model answer section — hidden until checkbox triggered */
.model-answer-section {
    display: none;
    margin-top: 12px;
    padding: 14px;
    background: #f8f9fc;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
}

.section-accordion-btn::after {
    display: none !important; /* hide native bootstrap chevron */
}

.section-accordion-btn .chevron-icon {
    transition: transform 0.2s ease;
}

.section-accordion-btn:not(.collapsed) .chevron-icon {
    transform: rotate(-90deg);
}

.section-accordion-btn.collapsed .chevron-icon {
    transform: rotate(0deg);
}

.add-q-section-btn:hover {
    background-color: rgba(124, 58, 237, 0.05) !important;
}

.instructions-accordion-btn::after {
    display: none !important;
}

.instructions-accordion-btn .instr-chevron {
    transition: transform 0.25s ease;
}

.instructions-accordion-btn:not(.collapsed) .instr-chevron {
    transform: rotate(-90deg);
}

.instructions-accordion-btn.collapsed .instr-chevron {
    transform: rotate(0deg);
}

.instructions-card {
    border: 1px solid #eef0f4 !important;
    border-right: 4px solid #312783 !important;
    border-radius: 10px !important;
    overflow: hidden;
    background-color: #f8f9fb;
}

    .instructions-card .accordion-body {
        background-color: #f8f9fb;
        border-top: 1px solid #eef0f4;
        padding: 14px 20px 14px 52px;
    }

.instr-line {
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.9;
}