/* Gaya Khusus Simulasi CAT CPNS BKN */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-mono-cat {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}
::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.4);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.7);
}

/* Kotak Nomor CAT Standar BKN */
.q-btn {
  width: 38px;
  height: 38px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.15s ease;
  user-select: none;
  cursor: pointer;
  position: relative;
}

/* Status Warna CAT */
.q-unanswered {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}
.q-unanswered:hover {
  background-color: #e2e8f0;
}

.q-answered {
  background-color: #10b981;
  color: #ffffff;
  border: 1px solid #059669;
}
.q-answered:hover {
  background-color: #059669;
}

.q-doubtful {
  background-color: #f59e0b;
  color: #ffffff;
  border: 1px solid #d97706;
}
.q-doubtful:hover {
  background-color: #d97706;
}

.q-active {
  box-shadow: 0 0 0 3px #2563eb !important;
  transform: scale(1.08);
  z-index: 10;
}

/* Print styling for score certificate */
@media print {
  header, footer, .no-print, button {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
}

/* Pulse animation for timer warning */
@keyframes pulse-timer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.timer-warning {
  animation: pulse-timer 1s infinite;
  color: #ef4444 !important;
}

/* Radio button option styling */
.cat-option-card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.cat-option-card:hover {
  border-color: #3b82f6;
  background-color: #f8faff;
}
.cat-option-card.selected {
  border-color: #2563eb;
  background-color: #eff6ff;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2);
}
.cat-option-card.selected .opt-circle {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}
