* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #f1efe8;
  display: flex;
  justify-content: center;
  padding: 40px 16px;
  margin: 0;
}

.panel {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border: 1px solid #e4e2d9;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 600px;
}

.header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #1c2b3a;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #2e4459;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7fd4c1;
  font-size: 19px;
}

.titulo {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  margin: 0;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.subtitulo {
  font-size: 12px;
  color: #9fb3c2;
  margin: 0;
}

.mensajes {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mensaje {
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 80%;
  font-size: 14px;
  line-height: 1.4;
}

.mensaje.bot {
  align-self: flex-start;
  background: #f1efe8;
}

.mensaje.usuario {
  align-self: flex-end;
  background: #1c2b3a;
  color: #ffffff;
}

.opciones-cita {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: stretch;
  width: 100%;
}

.boton-opcion {
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: 1px solid #1c2b3a;
  background: #ffffff;
  color: #1c2b3a;
}

.boton-opcion-si {
  background: #1c2b3a;
  color: #ffffff;
}

.boton-opcion:hover {
  opacity: 0.85;
}

.formulario-cita {
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid #e4e2d9;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 85%;
  width: 260px;
}

.formulario-cita label {
  font-size: 12px;
  color: #6b6a63;
  margin-bottom: -4px;
}

.formulario-cita input {
  padding: 8px 10px;
  border: 1px solid #d3d1c7;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
}

.formulario-cita button {
  margin-top: 4px;
  padding: 9px;
  border: none;
  border-radius: 8px;
  background: #1c2b3a;
  color: white;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.formulario-cita button:hover {
  background: #2e4459;
}

.entrada {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e4e2d9;
}

.entrada input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d3d1c7;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

.entrada button {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: #1c2b3a;
  color: white;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.entrada button:hover {
  background: #2e4459;
}
