@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');

body {
  margin: 0;
  padding: 0;
  background-color: #0f172a;
  color: #f8fafc;
  font-family: 'Roboto', sans-serif;
}

.test-navbar {
  background: #1e293b;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #334155;
}

.brand-title {
  font-weight: 900;
  font-size: 1.2rem;
  color: #22c55e;
}

.brand-sub {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-left: 8px;
}

.btn-return-hub {
  color: #22c55e;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 16px;
  border: 1px solid #22c55e;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-return-hub:hover {
  background: #22c55e;
  color: #ffffff;
}

.test-container {
  max-width: 850px;
  margin: 30px auto;
  padding: 0 20px;
}

.test-header {
  text-align: center;
  margin-bottom: 30px;
}

.test-header h1 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #f8fafc;
}

.test-subtitle {
  color: #94a3b8;
  font-size: 1rem;
}

.test-card {
  background: #1e293b;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid #334155;
}

.instructions-box {
  background: #0f172a;
  padding: 18px;
  border-radius: 8px;
  border-left: 4px solid #22c55e;
  margin-bottom: 25px;
}

.instructions-box h3 {
  margin: 0 0 6px 0;
  color: #22c55e;
}

.question-card {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.question-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: #38bdf8;
  margin-top: 0;
  margin-bottom: 14px;
  line-height: 1.4;
}

.options-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #1e293b;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.option-item:hover {
  border-color: #22c55e;
}

.option-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.3;
}

.btn-primary-action {
  width: 100%;
  background: #22c55e;
  color: #ffffff;
  font-weight: 900;
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary-action:hover {
  background: #16a34a;
}

.pdf-card {
  background: #1e293b;
  border-radius: 12px;
  padding: 35px;
  border: 1px solid #334155;
  margin-top: 30px;
}

.report-header-badge {
  background: #334155;
  color: #22c55e;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 10px;
}

.score-display-box {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 25px 0;
}

.main-score-circle.green-theme {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #0f172a;
  border: 4px solid #22c55e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pct-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: #22c55e;
}

.pct-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #94a3b8;
}

.category-badge.green-badge {
  background: #22c55e;
  color: #ffffff;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.points-subtext {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-top: 8px;
}

.interp-card {
  background: #0f172a;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #22c55e;
  margin-bottom: 25px;
}

.interp-card h3 {
  margin-top: 0;
  color: #f8fafc;
}

.interp-text {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.5;
}

.chart-container-donut {
  position: relative;
  height: 220px;
  width: 100%;
}

.donut-center-text.green-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.6rem;
  font-weight: 900;
  color: #22c55e;
}

.report-actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.btn-pdf-action.green-btn {
  flex: 1;
  background: #22c55e;
  color: #ffffff;
  font-weight: 800;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

.btn-secondary-action {
  flex: 1;
  background: #334155;
  color: #f8fafc;
  font-weight: 800;
  padding: 14px;
  border: 1px solid #475569;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .test-navbar, .test-header, #form-persuasion, .report-actions {
    display: none !important;
  }
  .pdf-card {
    background: #ffffff !important;
    color: #000000 !important;
    border: none !important;
  }
}