/* quiz-hiv-aids/theme.css — Unified design system matching historia-cantada */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body.clickup-chrome-ext_installed {
    background: #bcbcbc;
}

/* Color Scheme - Matching "A História Cantada da AIDS" */
:root {
  --bg: #bcbcbc;
  --bg-2: #f4f4f4;
  --text: #5d5d5d;
  --muted: #5d5d5d;
  --panel: #f4f4f4;
  --panel-strong: #f4f4f4;
  --border: rgba(0,0,0,0.08);
  --glow: 0 10px 30px rgba(0,0,0,0.1);
  --primary: #ff0000;
  --primary-2: #ff0000;
  --green: #10b981;
  --purple: #8b5cf6;
  --font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;

  /* Legacy vars for compatibility */
  --text-primary: #5d5d5d;
  --text-secondary: #6b7280;
  --text-dim: #6b7280;
  --background: #bcbcbc;
  --surface: rgba(255, 255, 255, 0.95);
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-border: rgba(0,0,0,0.08);
  --card-radius: 16px;
  --border-soft: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.12);

  /* Button colors */
  --btn-radius: 0.5rem;
  --btn-font-weight: 600;
  --btn-blue-bg: #3b82f6;
  --btn-blue-bg-hover: #2563eb;
  --btn-blue-text: #fff;
  --btn-green-bg: #10b981;
  --btn-green-bg-hover: #059669;
  --btn-green-text: #fff;
  --btn-purple-bg: #8b5cf6;

  /* Badges */
  --badge-green: #10b981;
  --badge-purple: #8b5cf6;
  --badge-blue: #3b82f6;
}

/* Dark theme overrides */
:root[data-theme="dark"] {
  --bg: #0f172a;
  --panel: rgba(30,41,59,0.6);
  --panel-strong: rgba(30,41,59,0.8);
  --border: rgba(148,163,184,0.2);
  --glow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-dim: #94a3b8;
  --background: #0f172a;
  --surface: rgba(30,41,59,0.6);
  --card-bg: rgba(30,41,59,0.8);
  --card-border: rgba(148,163,184,0.2);
  --border-soft: rgba(148,163,184,0.2);
  --border-strong: rgba(148,163,184,0.3);
}

:root[data-theme="dark"] .choice-desc {
  color: #ffffff !important;
}
:root[data-theme="dark"] .choice-title {
  color: #ffffff !important;
}

/* Light theme overrides */
:root[data-theme="light"] {
  --bg: #bcbcbc;
  --panel: rgba(255, 255, 255, 0.95);
  --panel-strong: rgba(255, 255, 255, 1);
  --border: rgba(0, 0, 0, 0.08);
  --glow: 0 10px 30px rgba(0,0,0,0.1);
  --text: #5d5d5d;
  --muted: #6b7280;
  --text-primary: #5d5d5d;
  --text-secondary: #6b7280;
  --text-dim: #6b7280;
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-border: rgba(0,0,0,0.08);
}

*{box-sizing:border-box}
html,body{height:100%;min-height:100vh}
html,body{
  background-color: var(--bg);
  color: var(--text);
  margin:0;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
  line-height: 1.5;
}

:root[data-theme="dark"] html,
:root[data-theme="dark"] body {
  background-color: #0f172a;
  color: #e2e8f0;
}

:root[data-theme="light"] html,
:root[data-theme="light"] body {
  background-color: #bcbcbc;
  color: #5d5d5d;
}

.page{max-width:1120px;margin:48px auto;padding:0 24px}
.fade-in{animation:fade .25s ease-out}
@keyframes fade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* Theme toggle button - Fixed position top-right */
.theme-toggle-btn {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
}
.theme-toggle-btn:hover {
  background: rgba(30, 41, 59, 0.8);
  transform: scale(1.1);
}
.theme-toggle-btn:active {
  transform: scale(1.05);
}

:root[data-theme="light"] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #1a1a1a;
}

:root[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

/* Language toggle button - Fixed position top-right */
.language-toggle-btn {
  position: fixed;
  top: 1.5rem;
  right: calc(1.5rem + 48px + 20px);
  height: 48px;
  padding: 0 0.75rem;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
}

.language-toggle-btn:hover {
  background: rgba(30, 41, 59, 0.8);
  transform: scale(1.05);
}

.language-toggle-btn:active {
  transform: scale(1.02);
}

:root[data-theme="light"] .language-toggle-btn {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
}

:root[data-theme="light"] .language-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.05);
}

.glass-card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  border-color: rgba(0, 0, 0, 0.12);
}

:root[data-theme="dark"] .glass-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .glass-card:hover {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(148, 163, 184, 0.2);
}

/* HERO (top of /#home) */
.hero{padding:28px;border-radius:16px;margin-bottom:16px}
.hero-gradient{
  background: var(--panel);
  border:1px solid var(--border);
}

:root[data-theme="dark"] .hero-gradient {
  background:
    radial-gradient(1000px 400px at 20% -10%, rgba(93,209,255,0.10), transparent 60%),
    radial-gradient(1000px 400px at 80% -10%, rgba(125,92,255,0.10), transparent 60%),
    rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.hero-title {
  font-family: var(--font-heading, system-ui);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ff0000 !important;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
}

:root[data-theme="dark"] .hero-title {
  color: #ffffff !important;
}

.hero-lede,
.hero-desc {
  margin: 0 0 12px;
  color: #6b0300 !important;
  font-size: 17px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

:root[data-theme="dark"] .hero-lede,
:root[data-theme="dark"] .hero-desc {
  color: #e2e8f0 !important;
}

/* HOME choice cards (2-up grid) */
.home-cards{margin-top:28px}
.cards-2col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media (max-width:900px){ .cards-2col{grid-template-columns:1fr} }

.choice-card{padding:24px;display:flex;flex-direction:column;gap:8px;cursor:pointer}
.choice-card:hover{outline:1px solid rgba(125,92,255,.35); background:var(--panel-strong)}
.card-hover:hover {
  transform: translateY(-4px);
}

/* Icon container - LAVENDER background like reference */
.choice-icon{
  width:48px;
  height:48px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background: #e8e4f3;
  border:1px solid var(--border);
  font-size:22px;
}

:root[data-theme="dark"] .choice-icon {
  background: rgba(99,138,255,.18);
}

.choice-title{margin:2px 0 0;font-weight:700;font-size:22px;color:#ff0000 !important;}
.choice-desc{margin:2px 0 10px;color:#6b0300 !important;flex-grow:1;}

/* Buttons */
.btn{
  width: 100%;
  border-radius: var(--btn-radius);
  min-height: 2.5rem;
  border: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  color: #fff;
  text-align: center;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
}
.btn-primary{
  background: linear-gradient(to right, #3b82f6, #6366f1);
}
.btn-green{
  background: linear-gradient(to right, #10b981, #14b8a6);
}
.btn-purple{
  background: linear-gradient(to right, #6366f1, #8b5cf6);
}
.btn-blue {
  background-color: var(--btn-blue-bg);
  color: var(--btn-blue-text);
}
.btn-blue:hover {
  background-color: var(--btn-blue-bg-hover);
}

.actions{display:flex; gap:10px; margin-top:12px}

/* Page headers / panels */
.page-header{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.page-header-content{flex:1; text-align: center;}
.page-subtle{margin:0;color:#6B0305;text-align:center;}
:root[data-theme="dark"] .page-subtle{color:#94a3b8;}
.page-title{
  font-size:28px;
  font-weight:800;
  margin:0;
  color:#ff0000 !important;
  text-align: center;
  flex: 1;
}
.page-subtitle {
  color: #f59e0b !important;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin: 0.25rem 0 0;
  width: 100%;
}

:root[data-theme="dark"] .page-subtitle {
  color: #fbbf24 !important;
}

:root[data-theme="dark"] .page-title {
  color: #ffffff !important;
}

.back-link{
  background:rgba(255,255,255,.9);
  border:1px solid var(--border);
  color:var(--text);
  padding:8px 16px;
  border-radius:10px;
  cursor:pointer;
  text-decoration: none;
  display: inline-block;
  position: absolute;
  left: 0;
}
.back-link:hover{background:rgba(255,255,255,1)}

:root[data-theme="dark"] .back-link {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
}

:root[data-theme="dark"] .back-link:hover {
  background: rgba(30, 41, 59, 1);
}

h2 {
    color: #ff0000;
}

:root[data-theme="dark"] h2 {
  color: #ffffff;
}

/* Theme transitions */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* LIGHT THEME OVERRIDES */
:root[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

:root[data-theme="light"] .glass-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.12);
}

:root[data-theme="light"] .choice-card {
  background: rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .choice-card:hover {
  background: rgba(255, 255, 255, 1);
}

:root[data-theme="light"] .hero-gradient {
  background:
    radial-gradient(1000px 400px at 20% -10%, rgba(255,0,0,0.08), transparent 60%),
    rgba(255, 255, 255, 0.9);
}

/* Presentation page styles */
.presentation-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.presentation-heroimg-wrapper {
  background-color: #E31E24;
  border-radius: 0.75rem;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  aspect-ratio: 16/6;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.presentation-heroimg-wrapper img,
.hero-image {
  max-width: 60%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.presentation-textblock {
  color: var(--text);
  line-height: 1.7;
}

.presentation-textblock p {
  margin: 0 0 1rem;
}

.audio-row {
  margin-top: 1.5rem;
  text-align: left;
}

.audio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.audio-btn:hover {
  background: #2563eb;
}

/* Quiz question text styling */
.quiz-question-text {
  color: #ff0000 !important;
}

:root[data-theme="light"] .quiz-question-text {
  color: #ff0000 !important;
}

:root[data-theme="dark"] .quiz-question-text {
  color: #ffffff !important;
}

/* Quiz answer buttons - light mode text color */
button.w-full.block.text-left.px-4.py-3.rounded-lg.border.transition-colors.border-gray-600.hover\:bg-gray-700\/60.text-gray-200 {
  color: #5d5d5d;
}

:root[data-theme="light"] button.w-full.block.text-left.px-4.py-3.rounded-lg.border.transition-colors {
  color: #5d5d5d;
}

/* Quiz specific styles */
.glass-effect {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

:root[data-theme="dark"] .glass-effect {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.button-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.gradient-primary {
  background: linear-gradient(to right, #3b82f6, #6366f1);
  color: white;
}

.gradient-accent {
  background: linear-gradient(to right, #6366f1, #8b5cf6);
  color: white;
}

.gradient-secondary {
  background: linear-gradient(to right, #10b981, #14b8a6);
  color: white;
}

/* Utility classes */
.min-h-screen {
  min-height: 100vh;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-start {
  justify-content: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-base {
  font-size: 1rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.text-white {
  color: white;
}

.text-gray-200 {
  color: #e5e7eb;
}

.text-gray-300 {
  color: #d1d5db;
}

.text-gray-400 {
  color: #9ca3af;
}

.text-gray-500 {
  color: #6b7280;
}

.text-green-500 {
  color: #22c55e;
}

.border {
  border-width: 1px;
  border-style: solid;
}

.border-gray-500 {
  border-color: #6b7280;
}

.border-gray-600 {
  border-color: #4b5563;
}

.border-gray-700 {
  border-color: #374151;
}

.border-blue-500 {
  border-color: #3b82f6;
}

.border-green-500 {
  border-color: #22c55e;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.w-full {
  width: 100%;
}

.max-w-3xl {
  max-width: 48rem;
}

.flex-1 {
  flex: 1;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.line-through {
  text-decoration: line-through;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.block {
  display: block;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-duration: 0.2s;
}

@media (min-width: 768px) {
  .md\:p-8 {
    padding: 2rem;
  }
  .md\:p-10 {
    padding: 2.5rem;
  }
  .md\:text-4xl {
    font-size: 2.25rem;
  }
}

.relative {
  position: relative;
}

/* Quiz answer button enhancements */
button.w-full.block.text-left.px-4.py-3.rounded-lg.border.transition-colors {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Hover states */
.hover\:bg-gray-700\/60:hover {
  background-color: rgba(55, 65, 81, 0.6);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Light theme hover - better contrast */
:root[data-theme="light"] .hover\:bg-gray-700\/60:hover {
  background-color: rgba(229, 231, 235, 0.8);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Active/touch state */
button.w-full.block.text-left.px-4.py-3.rounded-lg.border.transition-colors:active {
  transform: translateX(2px) scale(0.98);
  transition: all 0.1s ease;
}

/* Ripple effect on click */
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 0.6;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

button.w-full.block.text-left.px-4.py-3.rounded-lg.border.transition-colors::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

:root[data-theme="light"] button.w-full.block.text-left.px-4.py-3.rounded-lg.border.transition-colors::before {
  background: rgba(0, 0, 0, 0.1);
}

/* Focus state for accessibility */
button.w-full.block.text-left.px-4.py-3.rounded-lg.border.transition-colors:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Selected state enhancement */
button.border-blue-500 {
  border-width: 2px;
  background: rgba(59, 130, 246, 0.25);
  color: #ffffff !important;
  font-weight: 500;
}

:root[data-theme="light"] button.border-blue-500 {
  background: rgba(59, 130, 246, 0.15);
  color: #1e40af !important;
  font-weight: 500;
}

/* Badges */
.badge-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
  display: inline-block;
  margin-right: 0.625rem;
}
.dot-green  { background-color: var(--badge-green);}
.dot-blue   { background-color: var(--badge-blue);}
.dot-purple { background-color: var(--badge-purple);}

/* Quiz wrapper */
.quiz-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
  color: var(--text-primary);
}

.quiz-choice-btn {
  width: 100%;
  text-align: left;
  border-radius: .5rem;
  border: 1px solid var(--border-strong);
  background-color: transparent;
  padding: .9rem 1rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  cursor: pointer;
}
.quiz-choice-btn.correct {
  background-color: rgba(16,185,129,.1);
  border-color: rgba(16,185,129,.5);
}
.quiz-choice-btn.wrong {
  background-color: rgba(239,68,68,.1);
  border-color: rgba(239,68,68,.5);
}
.quiz-choice-btn.selected {
  background-color: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.6);
  border-width: 2px;
}
.quiz-choice-btn:hover:not(.correct):not(.wrong):not(.selected) {
  background-color: rgba(0,0,0,.05);
  border-color: rgba(0,0,0,.2);
}

:root[data-theme="dark"] .quiz-choice-btn:hover:not(.correct):not(.wrong):not(.selected) {
  background-color: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.2);
}

.quiz-audio-btn {
  background: linear-gradient(to right, #6366f1, #8b5cf6);
  color: #fff;
  border-radius: var(--btn-radius);
  border: none;
  padding: .6rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}

.btn-audio {
  background: linear-gradient(to right, #6366f1, #8b5cf6);
  color: #fff;
  border-radius: var(--btn-radius);
  border: none;
  padding: .6rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

/* Quiz Result Page Styles */
.quiz-result-title {
  color: #ff0000;
}

:root[data-theme="dark"] .quiz-result-title {
  color: #ffffff;
}

.quiz-result-message {
  color: #1f2937;
}

:root[data-theme="dark"] .quiz-result-message {
  color: #d1d5db;
}

.quiz-result-thanks {
  color: #6b7280;
}

:root[data-theme="dark"] .quiz-result-thanks {
  color: #9ca3af;
}

/* Footer */
.app-footer-line {
  border-top: 1px solid var(--color-border-card);
  padding: 1rem;
  color: var(--color-text-secondary);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 2rem;
}
