:root {
  --color-principal: #1E3A8A;
  --color-secundario: #FBBF24;
  --color-beige: #FDF6EC;
  --color-gris-hielo: #E5E7EB;
  --fuente: 'Courier New', Courier, monospace;
}

/* Fuente base */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  color: #212529;
  background: linear-gradient(to bottom right, #e3f2fd, #77a8d0);
  min-height: 100vh;
}


/* Encabezado */
header {
  text-align: center;
  padding: 2rem 1rem;
}

header h1 {
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

header h1 span {
  color: #0d6efd;
}

header p {
  font-weight: 300;
  font-size: 1rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* Chat container */
.chat-container {
  /* background-color: #ffffff; */
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  padding: 1rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

/* Mensajes */
.chat-messages {
  height: 300px;
  overflow-y: auto;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background-color: #f1f3f5;
}

/* Área de entrada */
.input-area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-area textarea {
  resize: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #ced4da;
  width: 100%;
  font-size: 1rem;
}

/* Controles */
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.controls button {
  background-color: #0d6efd;
  border: none;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.controls button:hover {
  background-color: #0b5ed7;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

/* Selectores */
.selectors {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.selectors select {
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #ced4da;
  font-size: 0.9rem;
}

/* Botón siguiente */
.btn-primary {
  margin: 0 auto;
  display: block;
  max-width: 200px;
}

/* 🦶 Pie de página */
footer {
  background: var(--color-gris-hielo);
  color: var(--color-principal);
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
}

/* Responsivo */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.5rem;
  }

  .chat-messages {
    height: 250px;
  }

  .controls,
  .selectors {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary {
    display: block;
    margin: 2rem auto;
    max-width: 200px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .chat-messages {
    height: 200px;
  }

  .input-area textarea {
    font-size: 0.9rem;
  }

  .selectors select {
    font-size: 0.8rem;
  }
}