/* ===================================
   THEME OVERRIDES - ALTODESIGN
   =================================== */

/* Ajustes específicos para el tema oscuro */

/* Mejorar contraste en elementos interactivos */
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Ajustes para accesibilidad */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Ajustes para modo de alto contraste */
@media (prefers-contrast: high) {
  :root {
    --border: #ffffff;
    --border-light: #ffffff;
  }
}

/* Scrollbar personalizado para webkit */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--surface-hover);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--surface-active);
}

/* Selección de texto */
::selection {
  background: var(--primary);
  color: var(--text-inverse);
}

/* Placeholder styling */
::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

/* Ajustes para impresión */
@media print {
  body {
    background: white !important;
    color: black !important;
  }

  .btn,
  .filters-panel,
  .admin-btn {
    display: none !important;
  }
}