/* ==========================================================================
   DECLARACIÓN DE FUENTES LOCALES
   ========================================================================== */

/* --- Familia 'Visby' --- */

@font-face {
  font-family: 'Visby';
  src: url('fonts/VisbyThin.otf') format('opentype');
  font-weight: 100; /* Thin */
}
@font-face {
  font-family: 'Visby';
  src: url('fonts/VisbyLight.otf') format('opentype');
  font-weight: 300; /* Light */
}
@font-face {
  font-family: 'Visby';
  src: url('fonts/VisbyRegular.otf') format('opentype');
  font-weight: 400; /* Regular */
}
@font-face {
  font-family: 'Visby';
  src: url('fonts/VisbyMedium.otf') format('opentype');
  font-weight: 500; /* Medium */
}
@font-face {
  font-family: 'Visby';
  src: url('fonts/VisbySemibold.otf') format('opentype');
  font-weight: 600; /* Semibold */
}
@font-face {
  font-family: 'Visby';
  src: url('fonts/VisbyBold.otf') format('opentype');
  font-weight: 700; /* Bold */
}
@font-face {
  font-family: 'Visby';
  src: url('fonts/VisbyExtrabold.otf') format('opentype');
  font-weight: 800; /* Extrabold */
}

/* --- Familia 'Lazydog' --- */
@font-face {
  font-family: 'Lazydog';
  src: url('fonts/Lazydog.otf') format('opentype');
}

/* ==========================================================================
   ESTILOS GENERALES
   ========================================================================== */

body {
  background-color: #0b0c10;
  color: #e1e1e1;
  font-family: 'Visby', sans-serif; /* Por defecto, usamos Visby Regular */
  font-weight: 400;
  margin: 0;
}

/* ==========================================================================
   ESTILOS PARA CONTENEDORES Y TEXTOS
   ========================================================================== */

.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box; /* Buena práctica para que el padding no afecte el ancho total */
}

h1 {
  font-family: 'Visby', sans-serif;
  font-weight: 800; /* Usamos Extrabold para el título principal */
  font-size: 3rem;
  text-align: center;
}

.subtitle {
  font-family: 'Lazydog', sans-serif;
  font-size: 2.5rem;
  color: #e1e1e1;
  margin-top: -10px;
  text-align: center;
}

.results-wrapper {
  margin-top: 40px;
  text-align: center;
  width: 100%;
  max-width: 600px;
}

.subtitle-results {
  font-family: 'Visby', sans-serif;
  font-weight: 700; /* Bold para los subtítulos de resultados */
  font-size: 1.2rem;
  margin-top: 30px;
}

/* ==========================================================================
   ESTILOS PARA FORMULARIO
   ========================================================================== */

.form-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 500px;
}

.text-area-style, .select-style, .button-style {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #444;
  border-radius: 8px;
  background-color: #333;
  color: #e1e1e1;
  font-family: 'Visby', sans-serif; /* Todos los inputs usan Visby Regular */
  font-weight: 400;
  font-size: 1rem;
  box-sizing: border-box; /* Muy importante para que el padding no los haga más anchos */
}

.button-style {
  font-family: 'Lazydog', sans-serif; /* AHORA SÍ: El botón usa Lazydog */
  cursor: pointer;
  background-color: #e1e1e1;
  color: #0b0c10;
  font-weight: normal; /* Lazydog no tiene pesos, así que usamos normal */
  font-size: 1.2rem;
  transition: background-color 0.2s; /* Pequeña transición suave */
}

.button-style:hover {
  background-color: #d6ff55;
  color: #0b0c10;
}
.results-text {
  white-space: pre-wrap; /* La propiedad mágica */
  text-align: left; /* Alineamos el texto a la izquierda para que se lea mejor */
  padding: 20px;
  background-color: #222; /* Un fondo ligeramente diferente para destacar */
  border-radius: 8px;
  margin-bottom: 20px; /* Añadimos espacio por debajo de cada cuadro */
    font-size: 1.1rem; /* Hacemos la fuente un poco más grande */
    line-height: 1.6; /* Aumentamos el espacio entre líneas para que respire */
  }
}