@import url("https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap");
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: #f4f2e8;
  color: #111111;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.animate-up {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-in {
  animation: fadeIn 0.5s ease both;
}

.animate-left {
  animation: slideInLeft 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

.delay-4 {
  animation-delay: 0.32s;
}

.delay-5 {
  animation-delay: 0.4s;
}

.delay-6 {
  animation-delay: 0.48s;
}

.msg-box {
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-align: center;
}
.msg-box--success {
  background: #e8faf0;
  color: #1a7a45;
  border: 1px solid #b2dfca;
}
.msg-box--error {
  background: #fdecea;
  color: #9c2519;
  border: 1px solid #f5c0bc;
}
.msg-box--info {
  background: #fffbe6;
  color: #7a5c00;
  border: 1px solid #f5e07a;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  padding: 14px 32px;
  background: #D4F000;
  color: #0e0e0e;
}
.btn--primary:hover {
  background: rgb(184.97, 209.4, 0);
  box-shadow: 0 8px 28px rgba(212, 240, 0, 0.45);
}
.btn--dark {
  padding: 14px 32px;
  background: #0e0e0e;
  color: #ffffff;
}
.btn--dark:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}
.btn--ghost {
  padding: 11px 26px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.26);
}
.btn--outline {
  padding: 12px 28px;
  background: transparent;
  color: #111111;
  border: 1.5px solid #e4e2d8;
}
.btn--outline:hover {
  border-color: #0e0e0e;
  background: #0e0e0e;
  color: #ffffff;
}
.btn--block {
  width: 100%;
}
.btn--sm {
  padding: 9px 20px;
  font-size: 0.85rem;
}
.btn--lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #0e0e0e 0%, #1a1a2e 50%, #0e0e0e 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 240, 0, 0.12) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  border-radius: 50%;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 240, 0, 0.08) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
  border-radius: 50%;
  z-index: 0;
}
.hero__nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 64px;
}
.hero__logo {
  font-family: "Syne", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.4px;
}
.hero__logo span {
  color: #D4F000;
}
.hero__nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 760px;
  width: 100%;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 240, 0, 0.12);
  border: 1px solid rgba(212, 240, 0, 0.3);
  color: #D4F000;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.hero__title {
  font-family: "Syne", sans-serif;
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 800;
  line-height: 1.04;
  color: #ffffff;
  letter-spacing: -2.5px;
  margin-bottom: 24px;
}
.hero__title .accent {
  position: relative;
  display: inline-block;
  color: #D4F000;
}
.hero__title .accent::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 4px;
  background: #D4F000;
  border-radius: 3px;
  opacity: 0.4;
}
.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 44px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero__stats {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  padding-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}
.hero__stat {
  text-align: center;
}
.hero__stat .stat-number {
  font-family: "Syne", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #D4F000;
  display: block;
}
.hero__stat .stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  display: block;
}
.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
}

.tag-pill {
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 100px;
  color: #ffffff;
  font-size: 0.8rem;
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.tag-pill:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.6);
}

.login-page {
  min-height: 100vh;
  background: #f4f2e8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}
.login-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(212, 240, 0, 0.06) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(212, 240, 0, 0.04) 0%, transparent 50%);
  z-index: 0;
}

.login-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 32px;
  padding: 52px 48px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
  border: 1px solid #e4e2d8;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.login-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 48px;
  right: 48px;
  height: 3px;
  background: #D4F000;
  border-radius: 0 0 100px 100px;
}
.login-card__logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-card__logo a {
  font-family: "Syne", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.5px;
}
.login-card__logo a span {
  color: #D4F000;
}
.login-card__title {
  text-align: center;
  margin-bottom: 32px;
}
.login-card__title h1 {
  font-family: "Syne", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #111111;
}
.login-card__title p {
  color: #888888;
  font-size: 0.92rem;
  margin-top: 8px;
  line-height: 1.5;
}
.login-card__msg {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-align: center;
  background: #fdecea;
  color: #9c2519;
  border: 1px solid #f5c0bc;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.login-form .field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.login-form .field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #444444;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.login-form .field input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #e4e2d8;
  border-radius: 12px;
  background: #f4f2e8;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  color: #111111;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.login-form .field input::-moz-placeholder {
  color: #bbb;
}
.login-form .field input::placeholder {
  color: #bbb;
}
.login-form .field input:focus {
  border-color: #0e0e0e;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(212, 240, 0, 0.3);
}
.login-form .btn--primary {
  margin-top: 6px;
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

.login-bottom {
  margin-top: 24px;
  text-align: center;
  font-size: 0.88rem;
  color: #888888;
}
.login-bottom a {
  color: #111111;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.login-bottom a:hover {
  color: #0e0e0e;
}

.signup-page {
  min-height: 100vh;
  background: #f4f2e8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}
.signup-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 240, 0, 0.06) 0%, transparent 50%), radial-gradient(circle at 20% 80%, rgba(212, 240, 0, 0.04) 0%, transparent 50%);
  z-index: 0;
}

.signup-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 32px;
  padding: 52px 48px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
  border: 1px solid #e4e2d8;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.signup-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 48px;
  right: 48px;
  height: 3px;
  background: #D4F000;
  border-radius: 0 0 100px 100px;
}
.signup-card__logo {
  text-align: center;
  margin-bottom: 32px;
}
.signup-card__logo a {
  font-family: "Syne", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.5px;
}
.signup-card__logo a span {
  color: #D4F000;
}
.signup-card__title {
  text-align: center;
  margin-bottom: 32px;
}
.signup-card__title h1 {
  font-family: "Syne", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #111111;
}
.signup-card__title p {
  color: #888888;
  font-size: 0.92rem;
  margin-top: 8px;
  line-height: 1.5;
}
.signup-card__msg {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-align: center;
  background: #fdecea;
  color: #9c2519;
  border: 1px solid #f5c0bc;
}
.signup-card__msg--success {
  background: #e8faf0;
  color: #1a7a45;
  border-color: #b2dfca;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.signup-form .field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.signup-form .field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #444444;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.signup-form .field input,
.signup-form .field select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #e4e2d8;
  border-radius: 12px;
  background: #f4f2e8;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  color: #111111;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.signup-form .field input::-moz-placeholder, .signup-form .field select::-moz-placeholder {
  color: #bbb;
}
.signup-form .field input::placeholder,
.signup-form .field select::placeholder {
  color: #bbb;
}
.signup-form .field input:focus,
.signup-form .field select:focus {
  border-color: #0e0e0e;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(212, 240, 0, 0.3);
}
.signup-form .field select {
  cursor: pointer;
}
.signup-form .role-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.signup-form .role-group .role-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 1.5px solid #e4e2d8;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
}
.signup-form .role-group .role-option input[type=radio] {
  display: none;
}
.signup-form .role-group .role-option .role-icon {
  font-size: 1.5rem;
}
.signup-form .role-group .role-option .role-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #444444;
}
.signup-form .role-group .role-option:has(input:checked) {
  border-color: #0e0e0e;
  background: #0e0e0e;
}
.signup-form .role-group .role-option:has(input:checked) .role-label {
  color: #ffffff;
}
.signup-form .role-group .role-option:hover:not(:has(input:checked)) {
  border-color: #aaa;
  background: #fafaf5;
}
.signup-form .btn--primary {
  margin-top: 6px;
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

.signup-bottom {
  margin-top: 24px;
  text-align: center;
  font-size: 0.88rem;
  color: #888888;
}
.signup-bottom a {
  color: #111111;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.signup-bottom a:hover {
  color: #0e0e0e;
}

.admin-page {
  background: #f4f2e8;
  min-height: 100vh;
}
.admin-page .page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.admin-page .page-header h1 {
  font-family: "Syne", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.admin-page .page-header h1 span {
  color: #D4F000;
  background: #0e0e0e;
  padding: 2px 10px;
  border-radius: 6px;
}

.admin-welcome {
  background: #0e0e0e;
  color: #ffffff;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-welcome p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}
.admin-welcome h2 {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #D4F000;
  text-transform: capitalize;
}

.admin-dashboard-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 56px);
  padding: 40px 24px;
}
.admin-dashboard-wrap .page-header {
  justify-content: center;
  margin-bottom: 40px;
}

.dashboard-btn-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 900px;
}

.dashboard-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid #e4e2d8;
  border-radius: 20px;
  padding: 40px 24px;
  text-decoration: none;
  color: #111111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.dashboard-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  border-color: #0e0e0e;
  background: #0e0e0e;
  color: #ffffff;
}
.dashboard-btn:hover .dashboard-btn__title {
  color: #ffffff;
}
.dashboard-btn:hover .dashboard-btn__desc {
  color: rgba(255, 255, 255, 0.55);
}
.dashboard-btn:hover .dashboard-btn__arrow {
  background: #D4F000;
  color: #0e0e0e;
}
.dashboard-btn__title {
  font-family: "Syne", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #111111;
  transition: color 0.2s ease;
}
.dashboard-btn__desc {
  font-size: 0.82rem;
  color: #888888;
  line-height: 1.5;
  transition: color 0.2s ease;
}
.dashboard-btn__arrow {
  margin-top: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f4f2e8;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.admin-content {
  padding: 32px 48px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  border: 1px solid #e4e2d8;
}
.card h2 {
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #e4e2d8;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.admin-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #444444;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}
.admin-form input, .admin-form select {
  width: 100%;
  padding: 12px 18px;
  border: 1.5px solid #e4e2d8;
  border-radius: 12px;
  background: #f4f2e8;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  color: #111111;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.admin-form input:focus, .admin-form select:focus {
  border-color: #0e0e0e;
  box-shadow: 0 0 0 3px rgba(212, 240, 0, 0.3);
  background: #ffffff;
}
.admin-form .options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.data-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.data-table thead tr {
  background: #0e0e0e;
  color: #ffffff;
}
.data-table thead tr th {
  padding: 12px 16px;
  font-weight: 600;
  text-align: left;
  font-family: "Syne", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.data-table thead tr th:first-child {
  border-radius: 12px 0 0 0;
}
.data-table thead tr th:last-child {
  border-radius: 0 12px 0 0;
}
.data-table tbody tr {
  border-bottom: 1px solid #e4e2d8;
  transition: background 0.15s;
}
.data-table tbody tr:hover {
  background: #f9f8f1;
}
.data-table tbody tr:last-child {
  border-bottom: none;
}
.data-table tbody tr td {
  padding: 12px 16px;
  color: #444444;
  vertical-align: middle;
}
.data-table .correct-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #D4F000;
  color: #0e0e0e;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.8rem;
}

.student-page {
  background: #f4f2e8;
  min-height: 100vh;
  padding: 32px 48px;
}
.student-page .page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.student-page .page-header h1 {
  font-family: "Syne", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.subject-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  border: 1px solid #e4e2d8;
  max-width: 560px;
  margin-bottom: 28px;
}
.subject-card h2 {
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #e4e2d8;
}
.subject-card select {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid #e4e2d8;
  border-radius: 12px;
  background: #f4f2e8;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  color: #111111;
  outline: none;
  margin-bottom: 14px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.subject-card select:focus {
  border-color: #0e0e0e;
}

.questions-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  border: 1px solid #e4e2d8;
}
.questions-card h2 {
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #e4e2d8;
}

.question-box {
  border: 1.5px solid #e4e2d8;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
  background: #f4f2e8;
  transition: border-color 0.2s;
}
.question-box:hover {
  border-color: #ccc;
}
.question-box h3 {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}
.question-box .option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #444444;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.15s;
}
.question-box .option:hover {
  background: rgba(212, 240, 0, 0.15);
}
.question-box .option input[type=radio] {
  accent-color: #0e0e0e;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.quiz-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}

.result-page {
  background: #f4f2e8;
  min-height: 100vh;
  padding: 32px 48px;
}
.result-page .page-header {
  margin-bottom: 28px;
}
.result-page .page-header h1 {
  font-family: "Syne", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.score-banner {
  background: #0e0e0e;
  color: #ffffff;
  border-radius: 20px;
  padding: 28px 36px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.score-banner .score-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #D4F000;
  color: #0e0e0e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Syne", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  flex-shrink: 0;
}
.score-banner .score-text h2 {
  font-family: "Syne", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
}
.score-banner .score-text p {
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
  font-size: 0.9rem;
}

.result-item {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 28px;
  margin-bottom: 16px;
  border: 1.5px solid #e4e2d8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  animation: fadeUp 0.5s ease both;
}
.result-item .result-question {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.5;
}
.result-item .result-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.result-item .result-options .opt {
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.87rem;
  background: #f5f4ee;
  color: #444444;
}
.result-item .result-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid #e4e2d8;
  font-size: 0.88rem;
}
.result-item .result-meta span {
  font-weight: 600;
  color: #111111;
}
.result-item .badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
}
.result-item .badge--correct {
  background: #e8faf0;
  color: #1a7a45;
}
.result-item .badge--wrong {
  background: #fdecea;
  color: #9c2519;
}

.logout-splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 24px;
}
.logout-splash h2 {
  font-family: "Syne", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.logout-splash p {
  color: #888888;
  font-size: 0.95rem;
}

html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
}

*, *::before, *::after {
  max-width: 100%;
  box-sizing: border-box;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

@media (max-width: 879px) {
  .admin-page,
  .student-page,
  .result-page {
    padding: 16px 14px;
    width: 100%;
    overflow-x: hidden;
  }
  .page-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
    overflow: hidden;
  }
  .page-header h1 {
    font-size: 1.4rem !important;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.3px !important;
    white-space: normal !important;
    word-break: break-word;
    width: 100%;
  }
  .page-header h1 span {
    display: inline-block;
    font-size: inherit !important;
    padding: 2px 8px;
    border-radius: 6px;
  }
  .page-header a.btn, .page-header .btn {
    font-size: 0.8rem !important;
    padding: 8px 14px !important;
    white-space: nowrap;
    align-self: flex-start;
  }
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
  }
  .card {
    padding: 18px 14px;
    border-radius: 14px;
    width: 100%;
    overflow: hidden;
  }
  .card h2 {
    font-size: 1rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
  .admin-form {
    gap: 12px;
    width: 100%;
  }
  .admin-form label {
    font-size: 0.75rem;
  }
  .admin-form input, .admin-form select {
    width: 100% !important;
    padding: 11px 14px;
    font-size: 0.9rem;
    border-radius: 10px;
  }
  .admin-form .options-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .admin-welcome {
    padding: 10px 14px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .admin-welcome p {
    font-size: 0.82rem;
  }
  .admin-welcome h2 {
    font-size: 0.92rem;
  }
  .admin-dashboard-wrap {
    padding: 24px 14px;
    min-height: calc(100vh - 44px);
    align-items: stretch;
  }
  .dashboard-btn-group {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }
  .dashboard-btn {
    flex-direction: row;
    text-align: left;
    padding: 16px 18px;
    gap: 12px;
    width: 100%;
  }
  .dashboard-btn__title {
    font-size: 0.95rem;
  }
  .dashboard-btn__desc {
    font-size: 0.78rem;
  }
  .dashboard-btn__arrow {
    margin-top: 0;
    margin-left: auto;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
  .data-table-wrap {
    width: 100%;
    overflow-x: hidden;
  }
  .data-table {
    width: 100%;
    table-layout: fixed;
    font-size: 0.78rem;
    word-break: break-word;
  }
  .data-table thead th,
  .data-table tbody td {
    padding: 8px 6px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .data-table th:nth-child(4),
  .data-table td:nth-child(4),
  .data-table th:nth-child(5),
  .data-table td:nth-child(5),
  .data-table th:nth-child(6),
  .data-table td:nth-child(6),
  .data-table th:nth-child(7),
  .data-table td:nth-child(7) {
    display: none;
  }
  .hero {
    text-align: center;
  }
  .hero__nav {
    padding: 14px 16px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .hero__logo {
    font-size: 1rem;
  }
  .hero__nav-actions {
    gap: 6px;
  }
  .hero__nav-actions .btn {
    padding: 8px 12px;
    font-size: 0.78rem;
  }
  .hero__content {
    padding: 0 16px;
    margin-top: 90px;
    width: 100%;
  }
  .hero__badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    margin-bottom: 20px;
  }
  .hero__title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    letter-spacing: -1px;
    margin-bottom: 16px;
  }
  .hero__subtitle {
    font-size: 0.92rem;
    margin-bottom: 28px;
    max-width: 100%;
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 32px;
    width: 100%;
  }
  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__stats {
    flex-direction: column;
    gap: 16px;
    padding-top: 24px;
    align-items: center;
  }
  .hero__stat-divider {
    width: 40px;
    height: 1px;
  }
  .login-page,
  .signup-page {
    padding: 16px;
    align-items: flex-start;
    padding-top: 28px;
  }
  .login-card,
  .signup-card {
    padding: 32px 20px;
    border-radius: 18px;
    max-width: 100%;
    width: 100%;
  }
  .login-card::before,
  .signup-card::before {
    left: 20px;
    right: 20px;
  }
  .login-card__title h1,
  .signup-card__title h1 {
    font-size: 1.6rem;
  }
  .login-card__title p,
  .signup-card__title p {
    font-size: 0.88rem;
  }
  .login-form .field input,
  .signup-form .field input,
  .signup-form .field select {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
  .signup-form .role-group {
    grid-template-columns: 1fr 1fr;
  }
  .subject-card {
    max-width: 100%;
    padding: 16px 14px;
  }
  .subject-card select {
    font-size: 0.88rem;
    padding: 10px 12px;
  }
  .questions-card {
    padding: 16px 14px;
  }
  .question-box {
    padding: 14px 12px;
  }
  .question-box h3 {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }
  .question-box .option {
    font-size: 0.85rem;
    padding: 7px 10px;
  }
  .quiz-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .quiz-actions a, .quiz-actions button {
    width: 100%;
    justify-content: center;
  }
  .score-banner {
    flex-direction: column;
    text-align: center;
    padding: 18px 14px;
    gap: 14px;
  }
  .score-banner .score-circle {
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }
  .score-banner .score-text h2 {
    font-size: 1.1rem;
  }
  .score-banner .score-text p {
    font-size: 0.82rem;
  }
  .result-item {
    padding: 14px 12px;
  }
  .result-item .result-question {
    font-size: 0.88rem;
  }
  .result-item .result-options {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .result-item .opt {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
  .result-item .result-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.82rem;
  }
  .result-item .badge {
    font-size: 0.76rem;
    padding: 4px 10px;
  }
  .logout-splash {
    padding: 20px 16px;
  }
  .logout-splash h2 {
    font-size: 1.3rem;
  }
  .logout-splash p {
    font-size: 0.88rem;
  }
  .btn--lg {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  .btn--sm {
    padding: 7px 10px;
    font-size: 0.76rem;
  }
  .btn--block {
    font-size: 0.9rem;
    padding: 12px 16px;
  }
}
@media (max-width: 320px) {
  .admin-page,
  .student-page,
  .result-page {
    padding: 10px 8px;
  }
  .page-header h1 {
    font-size: 0.75rem !important;
  }
  .page-header h1 span {
    font-size: inherit !important;
    padding: 0.5px 3px;
  }
  .page-header a.btn {
    font-size: 0.72rem !important;
    padding: 3px 5px !important;
  }
  .card {
    padding: 6px 5px;
    border-radius: 5px;
  }
  .admin-form {
    gap: 4px;
  }
  .admin-form label {
    font-size: 0.35rem;
  }
  .admin-form input, .admin-form select {
    padding: 4.5px 5px;
    font-size: 0.41rem;
    border-radius: 4px;
  }
  .login-card,
  .signup-card {
    padding: 10px 6px;
    border-radius: 7px;
  }
  .login-card::before,
  .signup-card::before {
    left: 6px;
    right: 6px;
  }
  .login-card__title h1,
  .signup-card__title h1 {
    font-size: 1.35rem;
  }
  .hero__title {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
  }
  .hero__subtitle {
    font-size: 0.82rem;
  }
  .hero__nav {
    padding: 10px 12px;
  }
  .hero__nav .btn {
    padding: 6px 10px;
    font-size: 0.72rem;
  }
  .hero__logo {
    font-size: 0.88rem;
  }
  .dashboard-btn {
    padding: 12px 12px;
    gap: 8px;
  }
  .dashboard-btn__title {
    font-size: 0.85rem;
  }
  .dashboard-btn__desc {
    display: none;
  }
  .dashboard-btn__arrow {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }
  .admin-welcome {
    padding: 8px 10px;
  }
  .admin-welcome p {
    font-size: 0.75rem;
  }
  .admin-welcome h2 {
    font-size: 0.82rem;
  }
  .question-box {
    padding: 10px 10px;
  }
  .question-box h3 {
    font-size: 0.82rem;
  }
  .question-box .option {
    font-size: 0.78rem;
    padding: 6px 8px;
  }
  .score-banner {
    padding: 14px 10px;
  }
  .score-banner .score-circle {
    width: 50px;
    height: 50px;
    font-size: 0.88rem;
  }
  .score-banner .score-text h2 {
    font-size: 1rem;
  }
  .result-item {
    padding: 10px 10px;
  }
  .result-item .result-question {
    font-size: 0.82rem;
  }
  .result-item .opt {
    font-size: 0.74rem;
  }
  .btn--lg {
    padding: 10px 18px;
    font-size: 0.82rem;
  }
  .btn--sm {
    padding: 5px 8px;
    font-size: 0.7rem;
  }
  .btn--block {
    padding: 10px 12px;
    font-size: 0.82rem;
  }
  .data-table {
    font-size: 0.68rem;
  }
  .data-table thead th, .data-table tbody td {
    padding: 5px 4px;
  }
  .subject-card select {
    font-size: 0.82rem;
    padding: 8px 10px;
  }
  .quiz-actions .btn {
    font-size: 0.82rem;
  }
  .logout-splash h2 {
    font-size: 1.1rem;
  }
  .logout-splash p {
    font-size: 0.82rem;
  }
}

/* ================================================================
   MISSING COMPILED STYLES — modal, checkbox groups, quiz builder,
   badges, topic-tag, assign-badge, btn--warn (were in SCSS but
   never compiled into this CSS file)
================================================================ */

/* ── Topic & assign badges ──────────────────────────────────── */
.topic-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(212,240,0,0.22);
  color: #5a6200;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-right: 4px;
}

.assign-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #0e0e0e;
  color: #ffffff;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ── Warn button ────────────────────────────────────────────── */
.btn--warn {
  background: #fffbe6;
  color: #7a5c00;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 0.85rem;
}

/* ── Checkbox groups (topic picker, student picker) ─────────── */
.topic-checkbox-group,
.student-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 220px;
  overflow-y: auto;
  padding: 12px 14px;
  background: #f4f2e8;
  border: 1.5px solid #e4e2d8;
  border-radius: 12px;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}
.topic-checkbox-group label,
.student-checkbox-group label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #444444;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.15s;
}
.topic-checkbox-group label:hover,
.student-checkbox-group label:hover {
  background: rgba(212,240,0,0.18);
}
.topic-checkbox-group input[type="checkbox"],
.student-checkbox-group input[type="checkbox"] {
  width: 15px !important;
  height: 15px !important;
  accent-color: #0e0e0e;
  flex-shrink: 0;
  cursor: pointer;
}

.select-all-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-bottom: 1px solid #e4e2d8;
  margin-bottom: 4px;
}
.select-all-row label {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #111111 !important;
  cursor: pointer;
  padding: 0 !important;
  background: transparent !important;
}
.select-all-row input[type="checkbox"] {
  width: 15px !important;
  height: 15px !important;
  accent-color: #0e0e0e;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-empty {
  color: #aaa;
  font-size: 0.85rem;
  padding: 4px;
  margin: 0;
}

/* ── Quiz builder helpers ───────────────────────────────────── */
.topic-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888888;
  margin: 12px 0 6px;
}

.question-box--compact {
  margin-bottom: 8px;
  padding: 14px 16px !important;
}

.option--top {
  align-items: flex-start !important;
}
.option--top input[type="checkbox"] {
  accent-color: #0e0e0e;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── 12. MODAL (manage assignments) ─────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay--open {
  display: flex;
}

.modal-box {
  position: relative;
  background: #ffffff;
  border-radius: 32px;
  padding: 36px 32px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
  animation: fadeUp 0.25s cubic-bezier(0.16,1,0.3,1) both;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f4f2e8;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  transition: background 0.15s;
}
.modal-close:hover { background: #e4e2d8; }

.modal-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: #888888;
  margin-bottom: 20px;
}

.modal-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.modal-list-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #444444;
}

.modal-select-all-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #111111;
  cursor: pointer;
}
.modal-select-all-label input[type="checkbox"] {
  accent-color: #0e0e0e;
  width: 14px;
  height: 14px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* ── Responsive: modal & checkbox groups ────────────────────── */
@media (max-width: 879px) {
  .modal-box {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .modal-actions {
    flex-direction: column;
    gap: 8px;
  }
  .topic-checkbox-group,
  .student-checkbox-group {
    max-height: 160px;
    padding: 10px;
  }
  .topic-checkbox-group label,
  .student-checkbox-group label {
    font-size: 0.85rem !important;
    padding: 5px 6px;
  }
}

@media (max-width: 320px) {
  .modal-box {
    padding: 16px 12px;
  }
  .modal-title    { font-size: 0.9rem; }
  .modal-subtitle { font-size: 0.72rem; }
  .topic-checkbox-group,
  .student-checkbox-group {
    max-height: 120px;
    padding: 6px 8px;
  }
  .topic-checkbox-group label,
  .student-checkbox-group label {
    font-size: 0.72rem !important;
  }
}

/*# sourceMappingURL=view.css.map */