/* Estilos visuales sobrios y adaptables para Inglés - Repaso e Integración */
:root {
  --saavedra-primary: #1e3a8a;
  --saavedra-secondary: #0d9488;
  --saavedra-dark: #0f172a;
  --saavedra-light: #f8fafc;
  --saavedra-accent: #f59e0b;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f1f5f9;
  color: #1e293b;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
  background-color: #0f172a;
  color: #94a3b8;
}

/* Barra de navegación superior */
.navbar-brand-title {
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* Tarjetas de bloques y lecciones */
.block-card {
  transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
}

.block-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.badge-block {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
}

/* Caja de lectura bilingüe y ejemplos */
.example-box {
  background-color: #f8fafc;
  border-left: 4px solid var(--saavedra-primary);
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 1.25rem 0;
}

.example-box .en-text {
  font-weight: 600;
  color: #1e3a8a;
}

.example-box .es-text {
  color: #475569;
  font-style: italic;
}

.source-badge {
  background-color: #e0e7ff;
  color: #3730a3;
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}

/* Opciones de examen */
.option-item {
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
}

.option-item:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
}

.option-item.selected {
  background-color: #eff6ff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6;
}

.option-input {
  margin-right: 0.75rem;
  transform: scale(1.2);
}

/* Responsive tipografía */
@media (max-width: 576px) {
  .display-title {
    font-size: 1.5rem;
  }
}
