#chatbot-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(135deg, #0054a0, #007bff);
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  cursor: pointer;
  z-index: 9999;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

#chatbot-toggle:hover {
  transform: scale(1.1) rotate(5deg);
}

#chatbot-container {
  position: fixed;
  bottom: 90px;
  left: 20px;
  width: 340px;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 9999;
}

#chatbot-container.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

#chatbot-header {
  background: linear-gradient(135deg, #0054a0, #007bff);
  color: white;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

#close-chat {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
  border-radius: 50%;
  padding: 5px 8px;
  transition: 0.2s;
}

#close-chat:hover {
  background: rgba(255,255,255,0.4);
}

#chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  background: linear-gradient(to top, #f5f7fa, #c3cfe2);
  scroll-behavior: smooth;
}

#chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

#chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
}

.welcome-screen {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: fadeIn 0.6s ease;
}

.welcome-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.welcome-icon {
  font-size: 50px;
  animation: bounce 1.5s infinite;
}

.welcome-content h2 {
  margin: 0;
}

.welcome-content p {
  font-weight: bold;
  color: #0054a0;
}

.quick-btn {
  background: white;
  border: none;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.quick-btn:hover {
  background: #0054a0;
  color: white;
  transform: scale(1.05);
}

/* INPUT */
#chatbot-input {
  display: flex;
  padding: 10px;
  background: white;
}

#chatbot-input input {
  flex: 1;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid #ddd;
  outline: none;
}

#chatbot-input button {
  margin-left: 5px;
  background: #0054a0;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.2s;
}

#chatbot-input button:hover {
  background: #003f7a;
}

/* BURBUJAS */
.user-message {
  background: linear-gradient(135deg, #007bff, #0054a0);
  color: white;
  padding: 10px;
  border-radius: 15px 15px 0 15px;
  margin: 5px 0;
  max-width: 80%;
  margin-left: auto;
  animation: slideInRight 0.3s ease;
}

.bot-message {
  background: white;
  padding: 10px;
  border-radius: 15px 15px 15px 0;
  margin: 5px 0;
  max-width: 80%;
  animation: slideInLeft 0.3s ease;
}

/* HORA */
.time {
  display: block;
  font-size: 10px;
  opacity: 0.5;
  margin-top: 3px;
}

/* ANIMACIONES */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideInLeft {
  from {transform: translateX(-10px); opacity:0;}
  to {transform: translateX(0); opacity:1;}
}

@keyframes slideInRight {
  from {transform: translateX(10px); opacity:0;}
  to {transform: translateX(0); opacity:1;}
}

@keyframes bounce {
  0%,100% {transform: translateY(0);}
  50% {transform: translateY(-8px);}
}

.message-content p {
  margin: 0;
}

.message-content strong {
  color: #0054a0;
}

.message-content ul {
  padding-left: 18px;
  margin: 5px 0;
}

.message-content li {
  margin-bottom: 3px;
}

/*** About Simple Start ***/
.about-simple {
    background-color: #fcfcfc; /* Un fondo muy sutil para resaltar la sección */
}

/* Color moderno para el título basado en tu paleta */
.about-simple .title-color {
    color: rgb(20, 85, 160);
}

.about-simple p {
    line-height: 1.8;
}

/* Contenedores de los íconos tipo tarjeta moderna */
.about-simple .about-icon-box {
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Sombra suave y elegante */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 400px;
    width: 100%;
    border: 1px solid rgba(0,0,0,0.02);
}

.about-simple .about-icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(20, 85, 160, 0.1);
}

/* Estilo estricto para los íconos (sin afectar la cabecera) */
.about-simple .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background-color: rgba(30, 83, 160, 0.08); /* Fondo azul translúcido */
    border-radius: 50%;
    color: rgb(30, 83, 160); /* Color principal */
    flex-shrink: 0;
}

.about-simple .about-icon-box h4 {
    color: #333333;
    font-weight: 600;
}

/* Ajustes responsivos para móviles */
@media (max-width: 768px) {
    .about-simple .title-color {
        font-size: 2.2rem;
    }
    .about-simple p {
        text-align: left !important;
        text-align-last: left !important;
    }
}
/*** About Simple End ***/