/* === NEPTUNO VIAJES – ESTILOS EXCLUSIVOS ENCAPSULADOS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/* VARIABLES LOCALES */
#nv-validacion {
  --azul-neptuno: #1e5aa8;
  --verde-neptuno: #4bb7a9;
  --gris-suave: #f4f7f9;
  --gris-borde: #ddd;
  --blanco: #ffffff;
  --gris-fondo: #f0f8ff;

  font-family: "Montserrat", sans-serif;
  background: var(--blanco);
  border-radius: 16px;
  padding: 25px;
  max-width: 720px;
  margin: 40px auto;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  animation: fadeInNV .4s ease-in;
}

/* ENCABEZADO */
#nv-validacion h3 {
  color: var(--azul-neptuno);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

/* TEXTOS */
#nv-validacion p {
  color: #333;
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 12px;
}

/* CHAT BOX */
#nv-box {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: 12px;
  padding: 15px;
  height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* MENSAJES DE VERA */
.nv-vera-msg {
  background: #e1f6f3;
  border-left: 4px solid var(--verde-neptuno);
  padding: 12px 16px;
  border-radius: 10px;
  max-width: 80%;
  font-size: 15px;
  align-self: flex-start;
  line-height: 1.45;
}

/* MENSAJES DEL USUARIO */
.nv-user-msg {
  background: #f0f4ff;
  border-left: 4px solid var(--azul-neptuno);
  padding: 12px 16px;
  border-radius: 10px;
  max-width: 80%;
  align-self: flex-end;
  font-size: 15px;
  line-height: 1.45;
}

/* INPUT */
#nv-input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  resize: none;
  font-size: 15px;
  margin-top: 12px;
}

#nv-input:disabled {
  background: #eee;
  cursor: not-allowed;
}

/* BOTÓN */
.nv-btn {
  background-color: var(--azul-neptuno);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  margin: 10px auto 0 auto;
  display: block;
  transition: .2s;
}

.nv-btn:hover {
  background-color: #154a8a;
}

.nv-btn:disabled {
  background-color: #a0a0a0;
  cursor: not-allowed;
}

/* ANIMACIÓN */
@keyframes fadeInNV {
  from {opacity: 0; transform: translateY(10px);}
  to   {opacity: 1; transform: translateY(0);}
}

/* MOBILE */
@media (max-width: 600px) {
  #nv-validacion {
    padding: 15px;
  }
  #nv-box {
    height: 300px;
  }
  .nv-vera-msg,
  .nv-user-msg {
    max-width: 95%;
  }
}