/*
  TEMA GLOBAL DE PRUEBA - Materialize override
  Referencia visual: Tailwind / Flowbite
  Propósito: modernizar botones y componentes base sin tocar las páginas .php.
  Rollback: comentar este bloque completo o eliminar la inclusión desde libreria01.php.
  Fecha: 2026-09-01
*/

:root {
  --theme-primary: #2563eb;
  --theme-primary-dark: #1d4ed8;
  --theme-primary-soft: rgba(37, 99, 235, 0.12);
  --theme-on-primary: #ffffff;
  --theme-surface: #f8fafc;
  --theme-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

/* Botones base - cambio de prueba */
.btn,
.btn-large,
.btn-small,
.btn-floating,
button.btn,
a.btn {
  border-radius: 0.375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  /* Se evita fijar background/color para no anular las utilidades de color de Materialize */
}

.btn:hover,
.btn-large:hover,
.btn-small:hover,
button.btn:hover,
a.btn:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.62);
}

.btn:focus,
.btn-large:focus,
.btn-small:focus,
.btn-floating:focus,
button.btn:focus,
a.btn:focus {
  outline: 3px solid rgba(15, 23, 42, 0.18);
}

.btn-flat,
.btn-flat:hover {
  box-shadow: none;
}

.btn-floating {
  border-radius: 50%;
}

/* Estado secundario, útil para pruebas rápidas */
.btn-secondary,
button.btn-secondary,
a.btn-secondary {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  color: #ffffff;
}

/* Cards - ajuste sutil de redondeo */
.card,
.card-panel,
.card-content,
.card-image,
.card-action,
.card .card-content,
.card .card-action,
.card .card-image {
  border-radius: 0.75rem;
}

/*
  FIN TEMA GLOBAL DE PRUEBA
*/
