/* Big Five test — complements Tailwind utilities */
.bf-page {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 40%, #eef2ff 100%);
  min-height: 100vh;
}

/* Test sayfaları — koyu tema yerine açık panel (dashboard ile uyum) */
body.landing-site-body.bf-page,
body.landing-site-body.ca-page,
html[data-theme="dark"] body.landing-site-body.bf-page,
html[data-theme="dark"] body.landing-site-body.ca-page {
  background: #f8fafc !important;
  color: #0f172a !important;
}

html[data-theme="dark"] body.landing-site-body.bf-page::before,
html[data-theme="dark"] body.landing-site-body.ca-page::before {
  display: none !important;
}
.bf-hero-mesh {
  background:
    radial-gradient(900px 400px at 10% -10%, rgba(59, 130, 246, 0.12), transparent 55%),
    radial-gradient(700px 320px at 90% 0%, rgba(99, 102, 241, 0.1), transparent 50%);
}
.bf-glass {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.bf-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid #e2e8f0;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: bf-spin 0.75s linear infinite;
}
@keyframes bf-spin {
  to {
    transform: rotate(360deg);
  }
}

/* —— Report document —— */
.bf-report {
  --bf-indigo: #4f46e5;
  --bf-slate: #0f172a;
  font-feature-settings: 'tnum' 1;
}
.bf-report-cover {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #312e81 100%);
  color: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.bf-report-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 280px at 100% 0%, rgba(99, 102, 241, 0.35), transparent 55%),
    radial-gradient(400px 200px at 0% 100%, rgba(59, 130, 246, 0.2), transparent 50%);
  pointer-events: none;
}
.bf-report-cover-inner {
  position: relative;
  z-index: 1;
}
.bf-report-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bf-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.bf-report-actions .bf-btn-primary {
  background: #4f46e5;
  color: #fff;
  border: none;
}
.bf-report-actions .bf-btn-primary:hover {
  background: #4338ca;
}
.bf-report-actions .bf-btn-secondary {
  background: #fff;
  color: #334155;
  border: 1px solid #e2e8f0;
}
.bf-report-actions .bf-btn-secondary:hover {
  background: #f8fafc;
}
.bf-report-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.bf-report-actions button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.bf-report-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.5rem;
  background: #f8fafc;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
}
.bf-report-nav a {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
.bf-report-nav a:hover {
  background: #e0e7ff;
  color: #3730a3;
}
.bf-stat-card {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}
.bf-stat-card .bf-stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}
.bf-stat-card .bf-stat-value {
  margin-top: 0.25rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}
.bf-stat-card.accent {
  border-color: #c7d2fe;
  background: linear-gradient(145deg, #eef2ff 0%, #fff 100%);
}
.bf-stat-card.accent .bf-stat-value {
  color: #3730a3;
}
.bf-radar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.bf-radar-svg {
  max-width: 100%;
  height: auto;
}
.bf-radar-label {
  font-size: 9px;
  font-weight: 600;
  fill: #475569;
}
.bf-score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}
.bf-score-table th {
  text-align: left;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid #e2e8f0;
  background: #f8fafc;
}
.bf-score-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.bf-score-table tr:last-child td {
  border-bottom: none;
}
.bf-band {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
}
.bf-band--low {
  background: #fef3c7;
  color: #92400e;
}
.bf-band--mid {
  background: #e0e7ff;
  color: #3730a3;
}
.bf-band--high {
  background: #d1fae5;
  color: #065f46;
}
.bf-dim-detail {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  overflow: hidden;
}
.bf-dim-detail-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}
.bf-dim-detail-body {
  padding: 1rem 1.25rem 1.25rem;
}
.bf-dim-detail-body p + p {
  margin-top: 0.75rem;
}
.bf-mini-bar {
  height: 6px;
  border-radius: 9999px;
  background: #f1f5f9;
  overflow: hidden;
  min-width: 80px;
  flex: 1;
  max-width: 140px;
}
.bf-mini-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.4s ease;
}
.bf-action-card {
  border-radius: 0.875rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1rem 1.1rem;
}
.bf-action-card .bf-action-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: #4f46e5;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}
.bf-report details.bf-tech-details summary {
  cursor: pointer;
  font-weight: 700;
  color: #334155;
  list-style: none;
}
.bf-report details.bf-tech-details summary::-webkit-details-marker {
  display: none;
}
.bf-report details.bf-tech-details[open] summary {
  margin-bottom: 0.75rem;
}
.bf-progress-bar {
  transition: width 0.5s ease;
}

@media print {
  body.bf-page {
    background: #fff !important;
  }
  header,
  #viewResults > .flex:not(.bf-report-print-hide),
  .bf-no-print {
    display: none !important;
  }
  main {
    padding-top: 0 !important;
    max-width: 100% !important;
  }
  #viewResults {
    display: block !important;
  }
  #viewResults[hidden] {
    display: block !important;
  }
  .bf-report-cover {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .bf-report-nav,
  .bf-report-actions {
    display: none !important;
  }
  .bf-report {
    box-shadow: none !important;
  }
  .bf-dim-detail,
  .bf-stat-card,
  .bf-action-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
