/* =====================================================================
   ESTILOS GLOBAIS — TEMA CLARO DEFINITIVO (WHITE PREMIUM)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #059669;
  --danger: #e11d48;
  --warning: #d97706;
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
}

html, body {
  background-color: #ffffff !important;
  color: #0f172a !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Forçar todos os cards e painéis para Fundo Branco e Texto Escuro */
.glass-panel, .glass-card {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd !important;
  box-shadow: 0 20px 35px -5px rgba(37, 99, 235, 0.12), 0 8px 10px -4px rgba(37, 99, 235, 0.04) !important;
}

/* Badge Glow */
.glow-badge {
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.2);
}

/* Quiz Option Card States */
.quiz-option-btn {
  background-color: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #1e293b !important;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.quiz-option-btn:hover:not(.disabled) {
  transform: scale(1.01);
  border-color: #2563eb !important;
  background-color: #eff6ff !important;
  color: #1d4ed8 !important;
}

.quiz-option-btn.selected {
  border-color: #2563eb !important;
  background-color: #dbeafe !important;
  color: #1e40af !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2) !important;
}

.quiz-option-btn.correct {
  border-color: #059669 !important;
  background-color: #d1fae5 !important;
  color: #065f46 !important;
}

.quiz-option-btn.wrong {
  border-color: #e11d48 !important;
  background-color: #ffe4e6 !important;
  color: #9f1239 !important;
}

/* Mobile Bottom Navigation Bar */
.mobile-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 50;
  background-color: #ffffff !important;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.03);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Shimmer Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
