:root {
  --brand-50: #f0f7ff;
  --brand-100: #e0effe;
  --brand-500: #0284c7;
  --brand-600: #0369a1;
  --brand-700: #075985;
  --brand-900: #0c4a6e;
}
.bg-brand-900 { background-color: var(--brand-900); }
.bg-brand-600 { background-color: var(--brand-600); }
.bg-brand-500 { background-color: var(--brand-500); }
.text-brand-600 { color: var(--brand-600); }

/* Estilos que estaban dentro de index.html */
:root {
      --brand-50: #f0f7ff;
      --brand-100: #e0effe;
      --brand-500: #0284c7;
      --brand-600: #0369a1;
      --brand-700: #075985;
      --brand-900: #0c4a6e;
    }
    .bg-brand-900 { background-color: var(--brand-900); }
    .bg-brand-600 { background-color: var(--brand-600); }
    .bg-brand-500 { background-color: var(--brand-500); }
    .text-brand-600 { color: var(--brand-600); }

/* Ajustes de compatibilidad para móviles (iOS, Android y pantallas pequeñas). */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea {
  font: inherit;
}
button, [role="button"] {
  touch-action: manipulation;
}
input, select, textarea {
  max-width: 100%;
  font-size: 16px;
}
@media (max-width: 760px) {
  header > div {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 1rem;
  }
  header > div > div:last-child {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
  }
  header button {
    min-height: 42px;
    max-width: 100%;
    white-space: normal;
  }
  #mainContainer {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  #mainContainer .p-6 {
    padding: 1rem;
  }
  #mainContainer .p-5 {
    padding: 1rem;
  }
  #modalCatalogo, #modalRegistro, #modalLogin {
    padding: .5rem !important;
    overflow-y: auto;
    align-items: flex-start !important;
  }
  #modalCatalogo > div, #modalRegistro > div, #modalLogin > div {
    margin: auto 0;
    max-height: calc(100dvh - 1rem);
    overflow-y: auto;
    padding: 1rem;
    border-radius: 1rem;
  }
  table {
    min-width: 560px;
  }
  input, select, textarea, button {
    min-height: 42px;
  }
}
@supports (padding: env(safe-area-inset-bottom)) {
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }
}
