/* ====== RESET BÁSICO ====== */


body {
  background: url('img/texturas/papel-reciclado.jpg') repeat;
  font-family: 'Segoe UI', sans-serif;
  color: #2e3d49;
  line-height: 1.6;
  padding-bottom: 40px;
}

/* ====== ENCABEZADOS GENERALES ====== */
h1, h2, h3 {
  color: #2e3d49;
  margin-bottom: 10px;
}

/* ====== BOTONES GENERALES ====== */
a.button, button {
  padding: 12px 20px;
  font-size: 15px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

button:hover,
a.button:hover {
  opacity: 0.9;
}

/* ====== BOTONES POR TIPO ====== */
.btn-principal {
  background-color: #4a6572;
  color: white;
}

.btn-login {
  background-color: #3b78c1;
  color: white;
}

.btn-registro {
  background-color: #53a653;
  color: white;
}

.btn-danger {
  background-color: #c0392b;
  color: white;
}

/* ====== FONDO DE BIENVENIDA ====== */
.fondo-bienvenida {
  background: url('img/texturas/fondo-vegetal.jpg') center/cover no-repeat;
  text-align: center;
  padding: 80px 20px;
}

.fondo-bienvenida h1 {
  font-size: 36px;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.fondo-bienvenida .subtitulo {
  font-size: 18px;
  color: #f0f0f0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/* ====== SECCIÓN PRESENTACIÓN ====== */
.presentacion {
  max-width: 700px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  text-align: center;
  color: #2e3d49;
  border: 1px solid #ddd;
}

.presentacion h2,
.presentacion p,
.presentacion li {
  color: #2e3d49;
}

.presentacion ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.presentacion li {
  margin: 10px 0;
  font-size: 16px;
}

.presentacion li::before {
  content: "✔️";
  color: #1a8f1a;
  font-size: 16px;
  margin-right: 6px;
}

/* ====== BOTONES DE ACCESO ====== */
.botones-acceso {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.nota-acceso {
  margin-top: 15px;
  font-size: 14px;
  color: #666;
}

/* ====== LINKS ====== */
a {
  color: #4a6572;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
/* Solo si no están ya en estilos.css */

.contenedor {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px 20px;
}

.centrado {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  flex-direction: column;
}

.formulario-caja {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.formulario-caja input,
.formulario-caja button {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.formulario-caja button {
  background-color: #4a6572;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.formulario-caja button:hover {
  background-color: #39505d;
}

.texto-secundario {
  text-align: center;
  margin-top: 10px;
}
.btn-principal, .btn-secundario {
  display: inline-block;
  padding: 10px 18px;
  margin: 10px 5px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-principal {
  background-color: #6a9f58;
  color: white;
}

.btn-principal:hover {
  background-color: #558746;
}

.btn-secundario {
  background-color: #e0e0e0;
  color: #333;
}

.btn-secundario:hover {
  background-color: #cfcfcf;
}

.mensaje-usuario {
  background-color: #e0f7fa;
  padding: 8px;
  margin: 6px 0;
  border-radius: 6px;
  text-align: right;
}

.mensaje-lia {
  background-color: #f3e5f5;
  padding: 8px;
  margin: 6px 0;
  border-radius: 6px;
  text-align: left;
}
.mensaje-lia {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}
.avatar-lia {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 10px;
}
.texto-lia {
  background: #eef3f8;
  padding: 10px;
  border-radius: 10px;
  max-width: 70%;
}
/* Botones generales */
button,
.acciones a,
.botones-acceso a {
  display: inline-block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Botón primario (ej: Cambiar a Premium) */
.btn-principal {
  background-color: #e87e70;
  color: white;
  border: none;
}

.btn-principal:hover {
  background-color: #d6685a;
  transform: scale(1.02);
}

/* Botones secundarios (Cerrar sesión, Mi perfil, Ver favoritos) */
.btn-secundario {
  background-color: #ded3cb;
  color: #2e3d49;
  border: none;
}

.btn-secundario:hover {
  background-color: #c5b6ad;
  transform: scale(1.02);
}

/* Botones de acceso (login, registro) */
.btn-login {
  background-color: #3b78c1;
  color: white;
  border: none;
}

.btn-login:hover {
  background-color: #3368aa;
  transform: scale(1.02);
}

.btn-registro {
  background-color: #53a653;
  color: white;
  border: none;
}

.btn-registro:hover {
  background-color: #459445;
  transform: scale(1.02);
}

/* Botón "Guardar en Bitácora" activo */
.acciones button.activo {
  background-color: #4a6572;
  color: white;
  border: none;
}

.acciones button.activo:hover {
  background-color: #3b505c;
  transform: scale(1.02);
}

/* Desactivado */
.acciones button:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}

