/* ECAE — ajustes de la pantalla de login (y demás páginas auth: signup, reset)
   Scoped al contenedor raíz de auth (div.min-h-screen.py-20) para no tocar el dashboard. */

/* ===== Tipografía: DM Sans (variable, auto-hospedada) en toda la app ===== */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(/brand-ecae/fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(/brand-ecae/fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Chatwoot aplica Inter/InterDisplay con !important vía .font-inter/.font-interDisplay;
   el prefijo html les gana en especificidad. */
html body,
html .font-inter,
html .font-interDisplay {
  font-family: 'DM Sans', -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Tahoma, Arial, sans-serif !important;
}

/* ===== Color de marca en el login: #184ed9 (azul del logo) ===== */
/* Botón "Iniciar sesión" (bg-n-brand) */
.min-h-screen.py-20 .bg-n-brand {
  background-color: #184ed9 !important;
}
/* Links: "¿Olvidaste tu contraseña?", "crea una nueva cuenta" */
.min-h-screen.py-20 .text-link,
.min-h-screen.py-20 .text-n-brand {
  color: #184ed9 !important;
}

/* Logo más grande (por defecto h-8 = 32px) */
.min-h-screen.py-20 section.max-w-5xl img.h-8 {
  height: 4.5rem; /* 72px */
}

/* Título "Iniciar sesión en ECAE": más pequeño y pegado al logo */
.min-h-screen.py-20 section.max-w-5xl h2 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  margin-top: 0.75rem;
}

/* Box del login más cerca del título (por defecto mt-11 = 44px) */
.min-h-screen.py-20 > div.mt-11,
.min-h-screen.py-20 > section.mt-11 {
  margin-top: 1rem;
}

/* Box estilo bento: esquinas bien redondeadas */
.min-h-screen.py-20 div.p-11,
.min-h-screen.py-20 > div.mt-11,
.min-h-screen.py-20 > section.mt-11 {
  border-radius: 2.5rem !important; /* 40px */
}

/* Inputs y botón a juego con el box */
.min-h-screen.py-20 input,
.min-h-screen.py-20 button[type='submit'] {
  border-radius: 0.75rem; /* 12px */
}
