/* styles.css */

/* ------------------------------------- */
/* --- Reseteo Básico y Box Sizing --- */
/* ------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  /* ------------------------------------- */
  /* --- Estilos Globales (Body) --- */
  /* ------------------------------------- */
  html {
    font-size: 16px;
  }
  
  body {
    /* FUENTE ACTUALIZADA: Kumbh Sans */
    font-family: "Kumbh Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: #444444;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* ------------------------------------- */
  /* --- Tipografía (Cabeceras y Párrafos) --- */
  /* ------------------------------------- */
  h1, h2, h3, h4, h5, h6 {
    /* Kumbh Sans tiende a ser un poco más 'bold' por defecto,
       puedes ajustar el font-weight si lo ves necesario.
       Probamos con 600 o 700 según el peso importado. */
    font-weight: 600; /* Ajusta si importas diferentes pesos */
    margin-bottom: 0.75em;
    color: #333333;
    line-height: 1.3;
  }
  
  /* Ajusta los tamaños si Kumbh Sans se ve diferente a Plus Jakarta Sans */
  h1 { font-size: 2.25rem; }   /* ~36px */
  h2 { font-size: 1.875rem; }  /* ~30px */
  h3 { font-size: 1.5rem; }    /* ~24px */
  h4 { font-size: 1.25rem; }   /* ~20px */
  
  p {
    margin-bottom: 1em;
  }
  
  /* ------------------------------------- */
  /* --- Enlaces --- */
  /* ------------------------------------- */
  a {
    color: #3B82F6; /* Azul Kreadu */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
  }
  
  a:hover,
  a:focus {
    color: #2563EB; /* Azul más oscuro */
    text-decoration: underline;
  }
  
  /* ------------------------------------- */
  /* --- Botones (Estilo Base Primario) --- */
  /* ------------------------------------- */
  .button-primary,
  button,
  input[type="submit"],
  input[type="button"],
  input[type="reset"] {
    display: inline-block;
    padding: 0.6em 1.2em;
    /* Asegúrate de que el tamaño de fuente del botón se vea bien con Kumbh Sans */
    font-size: 0.95rem;
    font-weight: 500; /* Ajusta si importas diferentes pesos */
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 0.375rem;
  
    /* Colores primarios */
    background-color: #3B82F6; /* Azul Kreadu */
    color: #ffffff;
  
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
  }
  
  .button-primary:hover,
  button:hover,
  input[type="submit"]:hover,
  input[type="button"]:hover,
  input[type="reset"]:hover {
    background-color: #2563EB; /* Azul más oscuro */
    color: #ffffff;
  }
  
  /* ------------------------------------- */
  /* --- Contenedor Básico (Opcional) --- */
  /* ------------------------------------- */
  .container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* --- Puedes añadir más estilos base aquí --- */

  /* Responsive adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }

  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .button-primary {
    width: 100%;
    padding: 1em;
    font-size: 1rem;
  }
}

.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #f8fafc; /* Gris muy claro */
  padding: 1rem;
}

.login-card {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.login-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: #1e3a8a; /* Azul oscuro Kreadu */
}

.login-subtitle {
  font-size: 1rem;
  color: #6b7280; /* Gris medio */
  margin-bottom: 2rem;
}

.login-form {
  text-align: left;
}

.login-form p {
  margin-bottom: 1rem;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.login-footer {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #6b7280;
}
