/* Kingdom System Discovery - Styles */

/* CSS Variables */
:root {
  --primary: #1e3a5f;
  --primary-light: #2d5a8a;
  --primary-dark: #152a45;
  --secondary: #c9a227;
  --secondary-light: #dbb84a;
  --accent: #4a7c59;
  --background: #f8f9fa;
  --surface: #ffffff;
  --text: #1a1a2e;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --error: #dc2626;
  --success: #16a34a;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-light);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-light);
  color: white;
}

.btn-secondary {
  background: var(--secondary);
  color: var(--primary-dark);
}

.btn-secondary:hover {
  background: var(--secondary-light);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-error {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Cards */
.card {
  background: var(--surface);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.card-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

.hero h1 {
  color: white;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Hero Split (Two-Column) Layout */
.hero.hero-split {
  padding: 4rem 0 5rem;
  text-align: left;
  min-height: 500px;
}

.hero-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-content p {
  margin: 0;
  max-width: none;
  font-size: 1.2rem;
  line-height: 1.8;
  opacity: 0.95;
}

/* Hero Form Card */
.hero-form-wrapper {
  display: flex;
  justify-content: flex-end;
}

.hero-form-card {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 420px;
}

.hero-form-card h2 {
  color: var(--primary-dark);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  text-align: center;
  font-weight: 700;
}

.hero-form-card > p {
  color: var(--text-light);
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.hero-form .form-input {
  text-align: left;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-form .form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
  outline: none;
}

.hero-form .form-group {
  margin-bottom: 1.25rem;
}

.hero-form .btn {
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.hero-form-footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.hero-form-footer a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.hero-form-footer a:hover {
  color: var(--primary-light);
}

/* Hero Split Responsive */
@media (max-width: 900px) {
  .hero.hero-split {
    padding: 3rem 0 4rem;
    text-align: center;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content p {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .hero-form-wrapper {
    justify-content: center;
  }

  .hero-form-card {
    max-width: 100%;
    padding: 2rem;
  }

  .hero-form-card h2 {
    font-size: 1.5rem;
  }
}

/* Landing Page */
.landing-section {
  padding: 4rem 0;
}

.landing-section:nth-child(even) {
  background: var(--surface);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

/* Email Capture Form */
.capture-form {
  max-width: 400px;
  margin: 0 auto;
}

.capture-form .form-input {
  text-align: center;
}

/* Chat Interface */
.chat-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 70px);
  max-width: 800px;
  margin: 0 auto;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message {
  max-width: 80%;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  line-height: 1.5;
}

.message-user {
  align-self: flex-end;
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 0.25rem;
}

.message-assistant {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom-left-radius: 0.25rem;
}

.message-assistant p {
  margin-bottom: 0.75rem;
}

.message-assistant p:last-child {
  margin-bottom: 0;
}

.chat-input-container {
  padding: 1rem 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.chat-input-wrapper {
  display: flex;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.chat-input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  font-size: 1rem;
  resize: none;
  min-height: 48px;
  max-height: 120px;
}

.chat-input:focus {
  outline: none;
  border-color: var(--primary);
}

.chat-send-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.chat-send-btn:hover {
  background: var(--primary-light);
}

.chat-send-btn:disabled {
  background: var(--border);
  cursor: not-allowed;
}

/* Turn Counter */
.turn-counter {
  text-align: center;
  padding: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
  background: var(--background);
}

.turn-counter-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.turn-counter-progress {
  height: 100%;
  background: var(--primary);
  transition: width 0.3s ease;
}

/* Offer Cards */
.offers-container {
  padding: 1.5rem;
  background: var(--background);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.offer-card {
  background: var(--surface);
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 2px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}

.offer-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.offer-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.offer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.offer-description {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.offer-cta {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: white;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.offer-cta:hover {
  background: var(--primary-light);
  color: white;
}

/* Trilogy Offer Card (Special styling for complete set) */
.trilogy-offer-card {
  background: linear-gradient(135deg, var(--surface) 0%, #f8f4e8 100%);
  border: 2px solid var(--secondary);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.15);
}

.trilogy-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trilogy-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.trilogy-tagline {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.trilogy-progression {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.trilogy-book {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  min-width: 160px;
}

.trilogy-book-number {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.trilogy-book-info {
  text-align: left;
}

.trilogy-book-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.2;
}

.trilogy-book-subtitle {
  font-size: 0.7rem;
  color: var(--text-light);
  font-style: italic;
}

.trilogy-arrow {
  color: var(--secondary);
  font-size: 1.25rem;
  font-weight: bold;
}

.trilogy-description {
  font-size: 0.9rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.trilogy-cta {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--secondary);
  color: var(--primary-dark);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.3);
}

.trilogy-cta:hover {
  background: var(--secondary-light);
  color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.4);
}

/* Trilogy card responsive */
@media (max-width: 600px) {
  .trilogy-progression {
    flex-direction: column;
    gap: 0.5rem;
  }

  .trilogy-arrow {
    transform: rotate(90deg);
  }

  .trilogy-book {
    width: 100%;
    justify-content: flex-start;
  }

  .trilogy-offer-card {
    padding: 1.5rem 1rem;
  }

  .trilogy-title {
    font-size: 1.25rem;
  }
}

/* Session Complete Banner */
.session-complete {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  margin: 1rem;
  border-radius: 0.75rem;
}

.session-complete h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.session-complete p {
  opacity: 0.9;
}

/* Session Complete Inline (inside chat) */
.session-complete-inline {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 0.75rem;
  margin-top: 1rem;
}

.session-complete-inline h3 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.session-complete-inline p {
  opacity: 0.9;
  margin: 0;
  font-size: 0.95rem;
}

/* Offers Inline (inside chat) */
.offers-inline {
  margin-top: 1rem;
  padding-bottom: 1rem;
}

.offers-grid-inline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* New Session Prompt */
.new-session-prompt {
  text-align: center;
  padding: 1.5rem;
  margin-top: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.new-session-prompt p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Dashboard */
.dashboard-header {
  padding: 2rem 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.sessions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
}

.session-item {
  background: var(--surface);
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s;
}

.session-item:hover {
  border-color: var(--primary);
}

.session-info h4 {
  margin-bottom: 0.25rem;
}

.session-meta {
  font-size: 0.875rem;
  color: var(--text-light);
}

.session-status {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.session-status.active {
  background: #dcfce7;
  color: #166534;
}

.session-status.completed {
  background: #dbeafe;
  color: #1e40af;
}

/* Login/Register Page */
.auth-container {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-divider {
  text-align: center;
  margin: 1.5rem 0;
  color: var(--text-light);
  font-size: 0.875rem;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Loading States */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 1rem;
  align-self: flex-start;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: var(--text-light);
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.alert-error {
  background: #fef2f2;
  color: var(--error);
  border: 1px solid #fecaca;
}

.alert-success {
  background: #f0fdf4;
  color: var(--success);
  border: 1px solid #bbf7d0;
}

/* Utilities */
.text-center { text-align: center; }
.text-light { color: var(--text-light); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none; }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero {
    padding: 3rem 0;
  }

  .hero p {
    font-size: 1rem;
  }

  .message {
    max-width: 90%;
  }

  .nav-links {
    gap: 1rem;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   ADMIN DASHBOARD STYLES
   ============================================================================= */

/* Admin Login */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--background);
}

/* Admin Badge */
.admin-badge {
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Admin Section */
.admin-section {
  padding: 2rem 0;
}

.admin-section h2,
.admin-section h3 {
  margin-bottom: 1.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header h3 {
  margin-bottom: 0;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: var(--surface);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Sources Grid */
.sources-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.source-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.source-name {
  font-weight: 600;
  color: var(--primary);
}

.source-count {
  font-size: 0.875rem;
  color: var(--text-light);
}

.source-badge {
  background: var(--background);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Admin Table */
.table-container {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.admin-table th,
.admin-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  background: var(--background);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: var(--background);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem 0;
}

.page-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-info {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Questions List */
.questions-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.question-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--background);
  border-radius: 0.5rem;
}

.question-rank {
  background: var(--primary);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.question-text {
  flex: 1;
  font-size: 0.9rem;
}

.question-count {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Admin Responsive */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.875rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
