/* Student and authentication surfaces. Loaded only outside the admin area. */
:root {
  --student-ink: #15243a;
  --student-muted: #718096;
  --student-blue: #315ce8;
  --student-blue-dark: #2348c7;
  --student-line: #e6ebf3;
  --student-paper: #ffffff;
  --student-canvas: #f4f7fc;
}

body:has(.student-dashboard),
body:has(.student-quiz-layout),
body:has(.signin-section) {
  background: var(--student-canvas);
  color: var(--student-ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body:has(.student-dashboard) .sidebar-nav-wrapper {
  background: #fff;
  border-right: 1px solid var(--student-line);
  box-shadow: 8px 0 30px rgba(26, 46, 82, .035);
}

body:has(.student-dashboard) .sidebar-nav-wrapper .navbar-logo {
  padding: 26px 24px;
  border-bottom: 1px solid #f0f2f7;
}

body:has(.student-dashboard) .sidebar-nav-wrapper .navbar-logo img {
  max-height: 38px;
}

body:has(.student-dashboard) .sidebar-nav-wrapper .sidebar-nav ul .nav-item a {
  margin: 4px 12px;
  padding: 12px 15px;
  border-radius: 12px;
  color: #68778d;
  font-weight: 600;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

body:has(.student-dashboard) .sidebar-nav-wrapper .sidebar-nav ul .nav-item a .icon,
body:has(.student-dashboard) .sidebar-nav-wrapper .sidebar-nav ul .nav-item a .icon svg {
  color: #8493a8;
  fill: currentColor;
}

body:has(.student-dashboard) .sidebar-nav-wrapper .sidebar-nav ul .nav-item a:hover {
  background: #f2f5ff;
  color: var(--student-blue);
  transform: translateX(2px);
}

body:has(.student-dashboard) .main-wrapper {
  background: transparent;
}

body:has(.student-dashboard) .main-wrapper > .header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 76px;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(226, 232, 242, .9);
  backdrop-filter: blur(14px);
}

body:has(.student-dashboard) .main-wrapper > .header .container-fluid {
  padding-top: 13px;
  padding-bottom: 13px;
}

body:has(.student-dashboard) .main-wrapper > .header .menu-toggle-btn button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #e4e9f2 !important;
  border-radius: 12px;
  background: #fff !important;
  box-shadow: 0 3px 10px rgba(28, 47, 83, .04);
  color: #43536b !important;
  font-size: .88rem;
  font-weight: 650;
}

body:has(.student-dashboard) .main-wrapper > .header .menu-toggle-btn button i {
  display: none;
}

body:has(.student-dashboard) .main-wrapper > .header .menu-toggle-btn button::before {
  width: 16px;
  height: 12px;
  background: linear-gradient(#64748b, #64748b) 0 1px / 16px 2px no-repeat,
              linear-gradient(#64748b, #64748b) 0 5px / 16px 2px no-repeat,
              linear-gradient(#64748b, #64748b) 0 9px / 16px 2px no-repeat;
  content: "";
}

body:has(.student-dashboard) .main-wrapper > .header .menu-toggle-btn button:hover {
  border-color: #cfd9f4 !important;
  background: #f7f9ff !important;
}

body:has(.student-dashboard) .main-wrapper > .header .header-right {
  display: flex;
  justify-content: flex-end;
}

body:has(.student-dashboard) .main-wrapper > .header .profile-box button {
  padding: 8px 14px;
  border: 1px solid var(--student-line) !important;
  border-radius: 14px;
  background: #fff !important;
  text-align: left;
}

body:has(.student-dashboard) .main-wrapper > .header .profile-box h6 {
  margin: 0;
  color: var(--student-ink);
  font-size: .92rem;
}

body:has(.student-dashboard) .main-wrapper > .header .profile-box p {
  margin: 2px 0 0;
  color: var(--student-muted);
  font-size: .76rem;
}

.student-dashboard {
  padding: 28px clamp(16px, 3vw, 42px) 54px;
}

.student-dashboard .title {
  margin-top: 6px !important;
  margin-bottom: 25px !important;
}

.student-dashboard .title h2 {
  margin: 0;
  color: var(--student-ink);
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  font-weight: 760;
  letter-spacing: -.045em;
}

.student-dashboard .title::before {
  display: block;
  margin-bottom: 7px;
  color: #8794a8;
  content: "STUDENT PORTAL";
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .14em;
}

.student-dashboard .card {
  overflow: hidden;
  border: 1px solid var(--student-line) !important;
  border-radius: 20px !important;
  background: var(--student-paper);
  box-shadow: 0 8px 28px rgba(31, 52, 89, .055) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.student-dashboard .card:hover {
  transform: translateY(-4px);
  border-color: #d5defb !important;
  box-shadow: 0 18px 42px rgba(31, 52, 89, .105) !important;
}

.student-dashboard .student-quiz-card {
  position: relative;
  isolation: isolate;
}

.student-dashboard .student-quiz-card::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #5275f4, #92a8ff);
  content: "";
}

.student-dashboard .quiz-card-upcoming::before {
  background: linear-gradient(90deg, #e7a83d, #f6d693);
}

.student-dashboard .quiz-card-ended::before {
  background: linear-gradient(90deg, #aab4c3, #d9dee6);
}

.student-dashboard .student-quiz-card .card-body > .d-flex > .small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #e3e8f0;
  border-radius: 999px;
  background: #f7f9fc;
  color: #65748a !important;
  font-weight: 650;
}

.student-dashboard .quiz-card-live .card-body > .d-flex > .small::before,
.student-dashboard .quiz-card-upcoming .card-body > .d-flex > .small::before,
.student-dashboard .quiz-card-ended .card-body > .d-flex > .small::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aab4c3;
  content: "";
}

.student-dashboard .quiz-card-live .card-body > .d-flex > .small::before {
  background: #21a67a;
  box-shadow: 0 0 0 3px rgba(33, 166, 122, .12);
}

.student-dashboard .quiz-card-upcoming .card-body > .d-flex > .small::before {
  background: #e3a02f;
}

.student-dashboard .quiz-card-live .card-body > .d-flex > .small {
  border-color: #d6eee4;
  background: #f1fbf6;
  color: #187953 !important;
}

.student-dashboard .quiz-card-upcoming .card-body > .d-flex > .small {
  border-color: #f2e6cc;
  background: #fffaf0;
  color: #93651c !important;
}

.student-dashboard .card-body {
  padding: clamp(20px, 2.4vw, 30px) !important;
}

.student-dashboard .card-body h3 {
  color: var(--student-ink);
  font-size: 1.25rem;
  letter-spacing: -.025em;
}

.student-dashboard .card-body p {
  color: #65748a !important;
  line-height: 1.65;
}

.student-dashboard .card-body .bg-light {
  border: 1px solid #edf0f6;
  background: #f8faff !important;
}

.student-dashboard .student-quiz-card .card-body .row.text-center {
  padding: 14px 0 10px;
  border-top: 1px solid #f0f2f7;
  border-bottom: 1px solid #f0f2f7;
}

.student-dashboard .student-quiz-card .card-body .row.text-center .fw-bold {
  color: var(--student-ink);
}

.student-dashboard .badge.bg-primary-subtle {
  background: #edf2ff !important;
  color: var(--student-blue) !important;
  font-weight: 700;
}

.student-dashboard .btn {
  min-height: 45px;
  border-radius: 12px !important;
  font-weight: 650;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.student-dashboard .btn-primary,
.student-dashboard .btn-success,
.signin-section .primary-btn,
.student-quiz-layout .btn-primary {
  border-color: var(--student-blue) !important;
  background: var(--student-blue) !important;
  box-shadow: 0 7px 16px rgba(49, 92, 232, .18);
}

.student-dashboard .btn-primary:hover,
.student-dashboard .btn-success:hover,
.signin-section .primary-btn:hover,
.student-quiz-layout .btn-primary:hover {
  border-color: var(--student-blue-dark) !important;
  background: var(--student-blue-dark) !important;
  box-shadow: 0 10px 20px rgba(49, 92, 232, .25);
  transform: translateY(-1px);
}

.student-dashboard .btn-light {
  color: #53647c;
  background: #f5f7fb !important;
}

/* Authentication */
.signin-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(18px, 5vw, 64px) 0;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(97, 135, 255, .10), transparent 38%),
    radial-gradient(ellipse at 90% 85%, rgba(92, 116, 220, .10), transparent 34%),
    #f4f7fc;
}

.signin-section > .container-fluid {
  width: min(1240px, calc(100% - 36px));
  padding: 0;
}

.signin-section .auth-row {
  overflow: hidden;
  min-height: 630px;
  border: 1px solid rgba(226, 232, 242, .85);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(30, 48, 82, .13);
}

.signin-section .auth-cover-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 60px 44px;
  background:
    radial-gradient(circle at 78% 18%, rgba(145, 173, 255, .45), transparent 29%),
    radial-gradient(circle at 16% 86%, rgba(48, 83, 184, .64), transparent 38%),
    linear-gradient(145deg, #14274c, #203e79 60%, #3159a4);
}

.signin-section .auth-cover-wrapper::before,
.signin-section .auth-cover-wrapper::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  pointer-events: none;
}

.signin-section .auth-cover-wrapper::before {
  width: 390px;
  height: 390px;
  right: -125px;
  bottom: -165px;
}

.signin-section .auth-cover-wrapper::after {
  width: 270px;
  height: 270px;
  right: -65px;
  bottom: -105px;
}

.signin-section .auth-cover {
  position: relative;
  z-index: 1;
  width: 100%;
}

.signin-section .auth-cover .title h1 {
  color: #fff !important;
  font-size: clamp(2.5rem, 4vw, 3.7rem);
  font-weight: 780;
  letter-spacing: -.06em;
}

.signin-section .auth-cover .title p {
  color: rgba(239, 244, 255, .78);
  font-size: 1.02rem;
}

.signin-section .auth-cover .cover-image {
  margin-top: 45px;
}

.signin-section .auth-cover .cover-image img {
  display: block;
  width: min(100%, 420px);
  max-height: 270px;
  margin: 0 auto;
  filter: drop-shadow(0 24px 35px rgba(4, 15, 42, .2));
}

.signin-section .auth-cover .shape-image {
  display: none;
}

.signin-section .signin-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: clamp(28px, 6vw, 76px);
  background: #fff;
}

.signin-section .signin-wrapper .form-wrapper {
  width: min(100%, 420px);
}

.signin-section .form-wrapper h5 {
  margin-bottom: 30px !important;
  color: var(--student-ink);
  font-size: 1.65rem;
  font-weight: 750;
  letter-spacing: -.04em;
}

.signin-section .input-style-1 {
  margin-bottom: 20px;
}

.signin-section .input-style-1 label {
  margin-bottom: 8px;
  color: #41516a;
  font-size: .88rem;
  font-weight: 650;
}

.signin-section .input-style-1 input {
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid #e0e6ef;
  border-radius: 12px;
  background: #fbfcfe;
  color: var(--student-ink);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.signin-section .input-style-1 input:focus {
  border-color: #7893f1;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(49, 92, 232, .11);
  outline: 0;
}

.signin-section .hover-underline {
  color: var(--student-blue);
  font-weight: 600;
}

.signin-section .main-btn {
  min-height: 50px;
  border-radius: 12px;
  font-size: .96rem;
  font-weight: 700;
}

/* Quiz workspace */
.quiz-header {
  position: sticky;
  top: 0;
  z-index: 500;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(110deg, #172b50, #24477f);
  box-shadow: 0 10px 28px rgba(19, 39, 75, .18);
}

.quiz-header h4 {
  font-weight: 700;
  letter-spacing: -.02em;
}

.quiz-header small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .7);
}

.quiz-header .timer {
  min-width: 116px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .11);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 750;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.scientific-calculator {
  position: sticky;
  top: 100px;
  z-index: 2600;
  width: 100%;
  padding: 15px;
  border: 1px solid #263342;
  border-radius: 24px 24px 32px 32px;
  background: linear-gradient(145deg, #354455, #202b38 72%);
  box-shadow: 0 14px 32px rgba(15, 28, 45, .26), inset 0 1px rgba(255,255,255,.18);
  color: #f4f7fb;
}

.scientific-calculator__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.scientific-calculator__brand { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 8px; }
.scientific-calculator__brand strong { font-size: .83rem; letter-spacing: .11em; }
.scientific-calculator__brand small { grid-column: 1; color: #b9c6d3; font-size: .55rem; letter-spacing: .13em; }
.scientific-calculator__solar { grid-column: 2; grid-row: 1 / span 2; width: 42px; height: 17px; border: 1px solid #18232d; border-radius: 3px; background: repeating-linear-gradient(90deg,#384a55 0 9px,#23323d 9px 11px); }

.scientific-calculator__mode {
  min-width: 50px;
  padding: 7px 9px;
  border: 1px solid #17222e;
  border-radius: 8px;
  background: linear-gradient(#f4c95d, #dfa92e);
  color: #342b15;
  font-size: .75rem;
  font-weight: 800;
  box-shadow: 0 2px 0 #9d7520;
}

.scientific-calculator__display {
  min-height: 78px;
  margin: 0 1px 12px;
  padding: 8px 12px;
  overflow: hidden;
  border: 4px solid #111c25;
  border-radius: 8px;
  background: linear-gradient(180deg, #d9e4c8, #cbd8b7);
  box-shadow: inset 0 2px 6px rgba(28, 43, 31, .22);
  text-align: right;
}

.scientific-calculator__expression {
  min-height: 20px;
  overflow: hidden;
  color: #667458;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scientific-calculator__result {
  display: block;
  overflow: hidden;
  color: #243328;
  font-size: 1.55rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scientific-calculator__keys {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.scientific-calculator__keys button {
  min-width: 0;
  min-height: 42px;
  border: 1px solid #bbc4ce;
  border-bottom-width: 3px;
  border-radius: 9px;
  background: linear-gradient(#fff, #e9edf1);
  color: #253240;
  font-size: .92rem;
  font-weight: 750;
  box-shadow: 0 1px 1px rgba(0,0,0,.15);
  transition: transform .08s ease, filter .12s ease;
}

.scientific-calculator__keys button:hover { filter: brightness(1.06); }
.scientific-calculator__keys button:active { transform: translateY(2px); border-bottom-width: 1px; }
.scientific-calculator__keys .scientific-calculator__function { background: linear-gradient(#dfe7ef, #c9d3df); color: #233c59; font-size: .78rem; }
.scientific-calculator__keys .scientific-calculator__utility { background: linear-gradient(#d8e0e8, #c3ceda); }
.scientific-calculator__keys .scientific-calculator__operator { background: linear-gradient(#c7d6eb, #aebfd7); color: #183b6f; }
.scientific-calculator__keys .scientific-calculator__equals { background: linear-gradient(#ee8d42, #d66b29); border-color: #a84d1f; color: #fff; font-size: 1.2rem; }
.scientific-calculator__hint { margin: 10px 2px 0; color: #c7d1dc; font-size: .68rem; text-align: center; }

@media (max-width: 991.98px) {
  .scientific-calculator { position: relative; top: auto; margin-bottom: 16px; }
}

.student-quiz-layout {
  min-height: calc(100vh - 84px);
  padding: clamp(16px, 3vw, 34px) clamp(14px, 3vw, 40px) 50px !important;
}

.student-quiz-layout > .row {
  max-width: 1500px;
  margin-right: auto;
  margin-left: auto;
}

.student-quiz-layout .palette-card,
.student-quiz-layout .question-card,
.student-quiz-layout #apiQuestion > .alert,
.student-quiz-layout #apiQuestion > .card {
  border: 1px solid var(--student-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(30, 50, 85, .06);
}

.student-quiz-layout .palette-card {
  position: sticky;
  top: 105px;
  padding: 22px;
}

.student-quiz-layout .palette-card h5,
.student-quiz-layout .palette-card h6 {
  color: var(--student-ink);
  font-weight: 720;
}

.student-quiz-layout .palette-card hr {
  border-color: var(--student-line);
}

.student-quiz-layout .palette-btn {
  width: 42px;
  height: 42px;
  margin: 0 5px 8px 0;
  border: 1px solid #e6eaf1;
  border-radius: 12px;
  font-weight: 700;
}

.student-quiz-layout .question-card {
  min-height: 450px;
  padding: clamp(22px, 4vw, 42px);
}

.student-quiz-layout .question-card h5 {
  color: var(--student-ink);
  font-weight: 700;
  line-height: 1.5;
}

.student-quiz-layout .question-card hr {
  margin: 25px 0;
  border-color: var(--student-line);
}

.student-quiz-layout .option-card {
  margin-bottom: 12px;
  padding: 15px 17px;
  border: 1px solid #e5eaf2;
  border-radius: 13px;
  background: #fbfcfe;
  color: #33435a;
  line-height: 1.55;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.student-quiz-layout .option-card:has(input:checked) {
  border-color: #8ea5f5;
  background: #f2f5ff;
  box-shadow: 0 0 0 3px rgba(49, 92, 232, .08);
}

.student-quiz-layout .option-card input {
  accent-color: var(--student-blue);
}

.student-quiz-layout .form-control {
  border-color: #dfe6f0;
  border-radius: 12px;
  background-color: #fcfdff;
}

.student-quiz-layout .form-control:focus {
  border-color: #7893f1;
  box-shadow: 0 0 0 4px rgba(49, 92, 232, .1);
}

.student-quiz-layout .btn {
  min-height: 42px;
  border-radius: 11px;
  font-weight: 650;
}

.student-quiz-layout .btn-danger {
  border-color: #f0d8dc;
  color: #a33c4b;
  background: #fff5f6;
}

.student-quiz-layout .btn-warning {
  border-color: #f2dfb0;
  color: #785719;
  background: #fff9e9;
}

@media (max-width: 991.98px) {
  .student-dashboard {
    padding: 20px 14px 38px;
  }

  .student-quiz-layout .palette-card {
    position: static;
  }

  .signin-section .auth-row {
    min-height: 0;
  }

  .signin-section .auth-cover-wrapper {
    min-height: 245px;
    padding: 25px 26px;
  }

  .signin-section .auth-cover .cover-image {
    margin-top: 14px;
  }

  .signin-section .auth-cover .cover-image img {
    width: min(44%, 190px);
    max-height: 88px;
  }

  .signin-section .signin-wrapper {
    padding: 38px 28px;
  }
}

@media (max-width: 575.98px) {
  .signin-section > .container-fluid {
    width: calc(100% - 24px);
  }

  .signin-section .auth-row {
    border-radius: 20px;
  }

  .signin-section .auth-cover-wrapper {
    min-height: 170px;
    padding: 20px;
  }

  .signin-section .auth-cover .title h1 {
    font-size: 2rem;
  }

  .signin-section .auth-cover .cover-image {
    display: none;
  }

  .signin-section .signin-wrapper {
    padding: 30px 22px;
  }

  .quiz-header {
    padding: 12px 0;
  }

  .quiz-header h4 {
    max-width: 58vw;
    font-size: 1rem;
  }

  .quiz-header .timer {
    min-width: 90px;
    padding: 8px 10px;
    font-size: .92rem;
  }

  .student-quiz-layout .question-card {
    min-height: 0;
    padding: 20px 16px;
  }
}

.student-proctor-setup {
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid #e7ecf4;
  border-radius: 16px;
  background: linear-gradient(145deg, #f8faff, #f4f7fc);
}

.student-proctor-setup > p {
  max-width: 850px;
  line-height: 1.6;
}

.student-proctor-setup video,
.student-proctor-gate video {
  display: block;
  width: 100% !important;
  max-height: 270px !important;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px !important;
  background: #101827 !important;
  object-fit: cover;
}

.student-proctor-setup ul,
.student-proctor-gate ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.student-proctor-setup li,
.student-proctor-gate li {
  padding: 9px 11px;
  border: 1px solid #e7ecf4;
  border-radius: 10px;
  background: #fff;
  color: #52627a;
}

.student-proctor-setup li strong,
.student-proctor-gate li strong {
  color: var(--student-ink);
}

.student-proctor-setup .btn,
.student-proctor-gate .btn,
.student-proctor-dialog .btn {
  min-height: 44px;
  border-radius: 11px;
  font-weight: 700;
}

.student-proctor-gate {
  background: rgba(14, 25, 45, .82) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.student-proctor-dialog {
  overflow: hidden;
  border: 1px solid rgba(224, 231, 242, .8) !important;
  border-radius: 20px !important;
  box-shadow: 0 30px 90px rgba(4, 13, 32, .32) !important;
}

.student-proctor-dialog h3,
.student-proctor-dialog h4 {
  color: var(--student-ink);
  font-weight: 750;
}

.student-proctor-dialog p {
  line-height: 1.6;
}

@media (max-width: 575.98px) {
  .student-dashboard {
    padding: 18px 12px 36px;
  }

  .student-dashboard > .container-fluid {
    padding-right: 0;
    padding-left: 0;
  }

  .student-dashboard .card-body {
    padding: 20px !important;
  }

  .student-dashboard .title {
    margin-bottom: 18px !important;
  }

  .student-dashboard .title h2 {
    font-size: 1.8rem;
  }

  .student-dashboard .student-quiz-card .card-body .row.text-center {
    margin-right: 0;
    margin-left: 0;
  }

  .student-dashboard .student-quiz-card .card-body .row.text-center > div {
    padding-right: 5px;
    padding-left: 5px;
  }

  .student-dashboard .student-quiz-card .card-body .row.text-center small {
    font-size: .68rem;
  }

  body:has(.student-dashboard) .main-wrapper > .header .container-fluid {
    padding-right: 14px;
    padding-left: 14px;
  }

  body:has(.student-dashboard) .main-wrapper > .header .profile-box button {
    padding: 7px 10px;
  }

  .student-proctor-setup ul,
  .student-proctor-gate ul {
    grid-template-columns: 1fr;
  }

  .student-proctor-setup .row > div {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .student-dashboard *,
  .student-quiz-layout *,
  .signin-section * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
