/* Test page – uses ssc-landing.css variables */
.test-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--text);
  font-family: var(--font-sans, system-ui, -apple-system, "Segoe UI", sans-serif);
}

.test-page * {
  box-sizing: border-box;
}

.test-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(61, 133, 198, 0.08);
}

.test-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.test-back {
  color: var(--brand-600);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.test-back:hover {
  color: var(--brand-700);
  text-decoration: underline;
}

.test-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  flex: 1;
  text-align: center;
}

.test-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #3d85c6;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 4.5ch;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.85);
}

.test-timer::before {
  content: "\23F1";
  /* stopwatch icon */
  font-size: 1.05rem;
  opacity: 0.9;
}

.test-timer.warning {
  background: #7f1d1d;
  box-shadow: 0 0 0 1px rgba(254, 242, 242, 0.9);
  animation: test-timer-pulse 1s infinite alternate;
}

@keyframes test-timer-pulse {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-1px);
    opacity: 0.9;
  }
}

.test-main {
  flex: 1;
  padding: 1.75rem 1.5rem 2.5rem;
}

.test-container {
  max-width: 720px;
  margin: 0 auto;
}

.test-container-exam {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.test-mode-info {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}

.test-progress {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.test-progress-inner {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.test-question {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(61, 133, 198, 0.06);
  border: 1px solid var(--border);
}

.test-q-number {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-600);
}

.test-q-text {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.test-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.test-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: var(--brand-50);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: left;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--text);
}

.test-option:hover {
  background: var(--brand-100);
  border-color: var(--brand-200);
  box-shadow: 0 2px 8px rgba(61, 133, 198, 0.08);
}

.test-option.selected {
  border-color: var(--brand-500);
  background: var(--brand-100);
  box-shadow: 0 2px 12px rgba(61, 133, 198, 0.12);
}

.test-option input {
  margin-top: 2px;
  accent-color: var(--brand-600);
}

.test-nav {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.test-nav .btn {
  min-width: 120px;
}

.btn-outline {
  background: transparent;
  color: var(--brand-600);
  border: 2px solid var(--brand-500);
}

.btn-outline:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

.btn-outline:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ========== Exam-style UI (Quick Practice / Daily Practice Test) ========== */
.test-container-exam .test-progress { display: none; }
.test-container-exam .test-mode-info { margin-bottom: 0.5rem; }

/* Section tabs */
.test-section-tabs {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(219, 234, 254, 0.9);
  padding: 0.6rem 1.1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.test-section-tab {
  flex-shrink: 0;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand-button);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.test-section-tab-unanswered {
  padding-left: 0.9rem;
  padding-right: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gradient-brand-button-hover);
}

.test-section-tab-unanswered .test-unanswered-badge {
  background: #ea580c;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
}

/* Question nav bar */
.test-nav-bar {
  background: var(--gradient-brand);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0.35rem auto 1.5rem;
  border-radius: 18px;
  box-shadow:
    0 14px 40px rgba(15, 23, 42, 0.25),
    0 0 0 1px rgba(15, 23, 42, 0.08);
}

.test-nav-arrow {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.test-nav-arrow:hover { background: rgba(255,255,255,0.25); }
.test-nav-arrow:disabled { opacity: 0.5; cursor: not-allowed; }

.test-nav-btn {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.test-nav-btn:hover { background: rgba(255,255,255,0.2); }
.test-nav-next { background: var(--green-500); border-color: var(--green-600); color: #fff; }
.test-nav-next:hover { background: var(--green-600); }

.test-nav-numbers {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.test-nav-num {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.test-nav-num:hover { background: rgba(255,255,255,0.3); }
.test-nav-num.current { background: var(--green-500); border-color: var(--green-600); color: #fff; }
.test-nav-num.answered { background: var(--green-600); border-color: var(--green-600); }
.test-nav-num.not-answered { background: var(--blue-500); border-color: var(--blue-600); }
.test-nav-num.marked { background: #ea580c; border-color: #c2410c; }
.test-nav-num.not-visited { background: #9ca3af; border-color: #6b7280; color: #fff; }

.test-nav-timer {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #fd6f2a;
  color: #f9fafb;
  font-weight: 700;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  border: 1px solid rgba(254, 215, 170, 0.95);
  box-shadow:
    0 0 0 1px rgba(124, 45, 18, 0.45),
    0 3px 8px rgba(234, 88, 12, 0.45);
}

.test-nav-timer-icon { font-size: 1.1rem; }

.test-nav-timer.warning {
  background: #7f1d1d;
  border-color: rgba(254, 242, 242, 0.9);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
}

/* Two-column layout – contained, modern */
.test-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .test-layout { grid-template-columns: 1fr 300px; gap: 1.75rem; }
}

/* Question card (left) – modern card */
.test-question-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.18),
    0 1px 3px rgba(15, 23, 42, 0.08);
  min-width: 0;
  overflow: visible;
}

.test-question-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.test-question-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-600);
}

.test-question-marks {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.test-question-card .test-q-text {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text);
}

/* Options 2x2 grid – modern option blocks */
.test-options-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
  min-width: 0;
}

.test-option {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Report Question link */
.report-container {
  margin-top: 10px;
  margin-bottom: 12px;
  text-align: right;
}

.report-link {
  font-size: 12px;
  color: #d32f2f;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}

.report-link:hover {
  text-decoration: underline;
  color: #b71c1c;
}

@media (max-width: 600px) {
  .test-options-grid { grid-template-columns: 1fr; }
}

/* ========== Mobile-friendly (tablet and below) ========== */
@media (max-width: 768px) {
  .test-header-inner {
    padding: 0.75rem 1rem;
    max-width: none;
  }
  .test-title {
    font-size: 1rem;
    flex: 1;
    text-align: center;
  }
  .test-back {
    font-size: 0.85rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .test-timer {
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .test-main {
    padding: 1rem;
  }
  .test-container-exam {
    padding: 0 0.75rem;
  }
  .test-section-tabs {
    padding: 0.6rem 1rem;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    max-width: none;
  }
  .test-section-tab {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    min-height: 40px;
  }
  .test-nav-bar {
    padding: 0.6rem 0.75rem;
    margin: 0;
    max-width: none;
    gap: 0.5rem;
  }
  .test-nav-arrow {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
  .test-nav-btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
    min-height: 40px;
  }
  .test-nav-numbers {
    max-height: 140px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 0.3rem;
    padding: 0.25rem 0;
  }
  .test-nav-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    font-size: 0.8rem;
  }
  .test-layout {
    gap: 1.25rem;
    margin: 0;
    max-width: none;
  }
  .test-question-card {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }
  .test-question-card .test-q-text {
    font-size: 1.05rem;
  }
  .test-question-head {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .test-option {
    min-height: 48px;
    padding: 0.85rem 1rem;
  }
  .test-question-actions {
    gap: 0.5rem;
  }
  .test-btn-clear,
  .test-btn-mark {
    min-height: 44px;
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
  }
  .test-question-card .btn {
    min-height: 44px;
  }
  .test-legend-card {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }
  .test-legend-submit {
    min-height: 48px;
  }
  .test-mode-info {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }
}

/* ========== Mobile (small phones) ========== */
@media (max-width: 480px) {
  .test-header-inner {
    padding: 0.6rem 0.75rem;
  }
  .test-title {
    font-size: 0.95rem;
  }
  .test-main {
    padding: 0.75rem;
  }
  .test-nav-numbers {
    max-height: 120px;
  }
  .test-nav-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: 0.75rem;
  }
  .test-question-card {
    padding: 1rem 0.85rem;
  }
  .test-question-label {
    font-size: 0.9rem;
  }
  .test-question-card .test-q-text {
    font-size: 1rem;
  }
  .test-options-grid {
    gap: 0.6rem;
  }
  .test-option {
    min-height: 44px;
    padding: 0.75rem 0.9rem;
    font-size: 0.9rem;
  }
  .test-question-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .test-question-actions .btn,
  .test-btn-clear,
  .test-btn-mark,
  .test-question-card .test-btn-submit {
    width: 100%;
    justify-content: center;
  }
  .test-question-actions .test-btn-submit {
    margin-left: 0;
  }
}

.test-question-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-start;
}

.test-btn-clear {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #dc2626;
  background: #fff;
  color: #dc2626;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.test-btn-clear:hover { background: #fef2f2; }

.test-btn-mark {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #ea580c;
  background: #fff;
  color: #ea580c;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.test-btn-mark:hover { background: #fff7ed; }

.test-btn-submit {
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  border: none;
  background: #dc2626;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: auto; /* push Submit Test away from Next */
}

.test-btn-submit:hover { background: #b91c1c; }

/* Legend card (right) – modern card */
.test-legend-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.16),
    0 1px 3px rgba(15, 23, 42, 0.08);
  height: fit-content;
}

.test-legend-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-600);
}

.test-legend-total {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.test-legend-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.test-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.test-legend-sq {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
}

.test-legend-not-visited .test-legend-sq { background: #9ca3af; }
.test-legend-not-answered .test-legend-sq { background: #fff; border: 2px solid var(--blue-500); }
.test-legend-answered .test-legend-sq { background: var(--green-500); }
.test-legend-marked .test-legend-sq { background: #ea580c; }

.test-legend-submit {
  width: 100%;
  display: block;
  text-align: center;
  padding: 0.75rem;
  background: #dc2626 !important;
  color: #ffffff !important;
  border: 1px solid #dc2626 !important;
  box-shadow: none !important;
}

.test-legend-submit:hover {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
}

/* Submit confirmation popup */
.test-submit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.test-submit-overlay.is-open {
  display: flex;
}

.test-submit-modal {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.test-submit-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.test-submit-message {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.test-submit-unanswered {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ea580c;
}

.test-submit-unanswered:empty {
  display: none;
}

.test-submit-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.test-submit-actions .btn {
  min-width: 100px;
}

/* Full Mock Test – instructions screen – modern UI v2 */
.full-mock-instructions {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  padding: 2.5rem 1.25rem;
  margin: -0.5rem;
  position: relative;
  overflow: hidden;
  background: 
    var(--gradient-brand-mesh),
    var(--gradient-brand-soft);
}

.full-mock-instructions-inner {
  max-width: 560px;
  width: 100%;
  text-align: center;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 0 0 1px rgba(61, 133, 198, 0.04),
    0 24px 48px -12px rgba(61, 133, 198, 0.12),
    0 8px 24px -8px rgba(0, 0, 0, 0.06);
  animation: full-mock-fade-in 0.5s ease-out;
}

@keyframes full-mock-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.full-mock-org {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.full-mock-title {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.full-mock-subtitle {
  margin: 0 0 2.5rem;
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.full-mock-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.full-mock-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 1.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 8px 24px -4px rgba(61, 133, 198, 0.08);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.full-mock-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
}

.full-mock-card-1::before { background: linear-gradient(90deg, #3d85c6, #5fa0d9); }
.full-mock-card-2::before { background: linear-gradient(90deg, #2c6aa0, #3d85c6); }
.full-mock-card-3::before { background: linear-gradient(90deg, #5fa0d9, #3d85c6); }
.full-mock-card-4::before { background: linear-gradient(90deg, #2c6aa0, #5fa0d9); }

.full-mock-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px -8px rgba(61, 133, 198, 0.18), 0 4px 12px -2px rgba(0, 0, 0, 0.06);
  border-color: rgba(255, 255, 255, 1);
}

.full-mock-card-value {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.full-mock-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn-full-mock-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-width: 260px;
  padding: 1.05rem 2rem;
  font-size: 1.0625rem;
  font-weight: 700;
  background: var(--gradient-brand-button);
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 
    0 0 0 0 rgba(61, 133, 198, 0.4),
    0 8px 24px -4px rgba(61, 133, 198, 0.45);
  transition: transform 0.2s ease, box-shadow 0.3s ease, gap 0.2s ease;
}

.btn-full-mock-start:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 0 0 4px rgba(61, 133, 198, 0.2),
    0 12px 32px -4px rgba(61, 133, 198, 0.5);
  gap: 0.75rem;
}

.btn-full-mock-start:active {
  transform: translateY(0);
}

.btn-full-mock-arrow {
  font-size: 1.2em;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.btn-full-mock-start:hover .btn-full-mock-arrow {
  transform: translateX(3px);
}

@media (max-width: 560px) {
  .full-mock-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
    margin-bottom: 2rem;
  }
  .full-mock-title {
    font-size: 1.4rem;
  }
  .full-mock-instructions {
    padding: 1.5rem 1rem;
  }
  .full-mock-instructions-inner {
    padding: 1.75rem 1.25rem;
  }
  .btn-full-mock-start {
    min-width: 100%;
  }
}

/* Test Instructions screen (after intro, before Begin Test) */
.test-instructions-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem 1rem;
}

.test-instructions-inner {
  max-width: 520px;
  width: 100%;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
}

.test-instructions-title {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #c2410c;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.test-instructions-section {
  margin-bottom: 1.5rem;
}

.test-instructions-heading {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.test-instructions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.test-instructions-table th,
.test-instructions-table td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border: 1px solid var(--border);
}

.test-instructions-table thead {
  background: #f1f5f9;
}

.test-instructions-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.test-instructions-table tbody tr:nth-child(odd) {
  background: var(--card-bg);
}

.test-instructions-list {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.7;
  font-size: 0.9rem;
  color: var(--text);
}

.test-instructions-list li {
  margin-bottom: 0.35rem;
}

.btn-begin-test {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 1rem auto 0;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  background: var(--gradient-brand-button);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(61, 133, 198, 0.35);
}

.btn-begin-test:hover {
  background: var(--gradient-brand-button-hover);
  box-shadow: 0 6px 18px rgba(61, 133, 198, 0.4);
}
