/*BODY*/
:root {
  --primary-celeste: #1d71b8;
  --primary-morado: #959be0;
  --gradient-pro: linear-gradient(
    135deg,
    var(--primary-celeste),
    var(--primary-morado)
  );
  --transition-speed: 0.4s;
}

[data-bs-theme="dark"] {
  --primary-celeste: #1d71b8;
  --primary-morado: #6167ad;
}

body {
  transition:
    background-color var(--transition-speed),
    color var(--transition-speed);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
}

.btn-custom {
  background: var(--gradient-pro);
  color: white;
  border: none;
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.btn-custom:hover {
  color: white;
  transform: scale(1.05);
  opacity: 0.9;
}

.project-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed)
    cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  background: var(--bs-body-bg);
}

.project-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary-celeste);
  box-shadow: 0 20px 40px rgba(138, 43, 226, 0.15);
}

.text-celeste {
  color: var(--primary-celeste) !important;
}
.text-morado {
  color: var(--primary-morado) !important;
}

.badge-tech {
  font-weight: 500;
  padding: 0.5em 1em;
  border-radius: 50px;
  background: rgba(0, 207, 238, 0.1);
  color: var(--primary-celeste);
  border: 1px solid rgba(0, 207, 238, 0.3);
}

.badge-tech.alt {
  background: rgba(138, 43, 226, 0.1);
  color: var(--primary-morado);
  border: 1px solid rgba(138, 43, 226, 0.3);
}

.theme-switch {
  cursor: pointer;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bs-body-tertiary);
  transition: 0.3s;
}

.hero-title {
  background: var(--gradient-pro);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/*NAV*/

.main-nav {
  background: rgba(var(--bs-body-bg-rgb), 0.8) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 207, 238, 0.1) !important;
}

.text-gradient-nav {
  background: linear-gradient(135deg, #00cfee, #8a2be2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1.2rem !important;
  color: var(--bs-body-color);
  transition: color 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #00cfee;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 30px;
}

.btn-contact {
  background: linear-gradient(135deg, #00cfee, #8a2be2);
  color: white;
  border: none;
  font-weight: 600;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-contact:hover {
  color: white;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 207, 238, 0.3);
}

.toggler-icon {
  width: 25px;
  height: 2px;
  background-color: var(--primary-morado);
  display: block;
  position: relative;
  transition: 0.3s;
}
.toggler-icon::before,
.toggler-icon::after {
  content: "";
  width: 25px;
  height: 2px;
  background-color: var(--primary-morado);
  position: absolute;
  left: 0;
  transition: 0.3s;
}
.toggler-icon::before {
  top: -8px;
}
.toggler-icon::after {
  top: 8px;
}

.navbar-toggler:not(.collapsed) .toggler-icon {
  background: transparent;
}
.navbar-toggler:not(.collapsed) .toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}
.navbar-toggler:not(.collapsed) .toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--bs-body-bg);
    margin-top: 15px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.1);
  }

  .nav-link {
    font-size: 1.2rem;
    margin: 10px 0;
  }
}

/*HERO*/

.hero-reveal-container {
  min-height: 75vh;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: none;
  transition: background-color 0.2s ease;
}

.hero-bg-base,
.hero-image-reveal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/hero_img.webp");
  background-size: cover;
  background-position: center;
}

@keyframes moveBackground {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

.moving-background {
  animation: moveBackground 120s linear infinite;
}

.hero-bg-base {
  z-index: 1;
  opacity: 0.4;
  filter: blur(1px);
}

.hero-image-reveal {
  z-index: 2;
  opacity: 1;
  -webkit-mask-image: radial-gradient(
    circle 180px at var(--x, -100px) var(--y, -100px),
    black 20%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle 180px at var(--x, -100px) var(--y, -100px),
    black 20%,
    transparent 100%
  );
  transition:
    -webkit-mask-image 0.1s ease,
    mask-image 0.1s ease;
}

.hero-light-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(
    circle 200px at var(--x, -100px) var(--y, -100px),
    rgba(0, 207, 238, 0.2) 0%,
    rgba(138, 43, 226, 0.15) 50%,
    transparent 100%
  );
}

.hero-title {
  background: linear-gradient(135deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/*SERVICIOS*/
.welcome-section-master {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    circle at 50% 0%,
    var(--bs-tertiary-bg),
    var(--bs-body-bg)
  );
  padding: 100px 0;
}

.bg-symbol-master {
  position: absolute;
  font-family: "Courier New", Courier, monospace;
  font-weight: 900;
  user-select: none;
  pointer-events: none;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: -2px;
  filter: blur(2px);
  transition: transform 0.2s ease-out;
}

.bg-symbol-master.celeste {
  color: rgba(0, 207, 238, 0.1);
}
.bg-symbol-master.morado {
  color: rgba(138, 43, 226, 0.08);
}

[data-bs-theme="dark"] .bg-symbol-master.celeste {
  color: rgba(0, 207, 238, 0.15);
  text-shadow: 0 0 20px rgba(0, 207, 238, 0.2);
}
[data-bs-theme="dark"] .bg-symbol-master.morado {
  color: rgba(138, 43, 226, 0.12);
  text-shadow: 0 0 20px rgba(138, 43, 226, 0.1);
}

.service-card-premium {
  background: rgba(var(--bs-body-bg-rgb), 0.6);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid rgba(var(--bs-border-color-rgb), 0.1);
  border-radius: 2rem;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card-premium:hover {
  transform: translateY(-12px);
  background: rgba(var(--bs-body-bg-rgb), 0.8);
  border-color: var(--primary-celeste);
}

/*PORTFOLIO*/
.list-group-item.active {
  background: linear-gradient(135deg, #00cfee, #8a2be2) !important;
  border-color: transparent !important;
}

.list-group-item {
  transition: all 0.3s ease;
  border: none;
  padding: 1rem 1.25rem;
  background: var(--bs-body-bg);
}

.list-group-item:hover:not(.active) {
  background-color: rgba(0, 207, 238, 0.05);
  color: var(--primary-celeste);
  padding-left: 1.5rem;
}

.project-item {
  transition: all 0.4s ease;
}

.project-item.hidden {
  display: none;
  opacity: 0;
  transform: scale(0.9);
}

.portfolio-title {
  letter-spacing: -1px;
}

.text-gradient {
  background: linear-gradient(135deg, #00cfee, #8a2be2, #00cfee);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 5s linear infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.badge-tech {
  background: rgba(0, 207, 238, 0.1);
  color: #00cfee;
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid rgba(0, 207, 238, 0.2);
}

.badge-tech.alt {
  background: rgba(138, 43, 226, 0.1);
  color: #8a2be2;
  border: 1px solid rgba(138, 43, 226, 0.2);
}

.cta-whatsapp-container {
  position: relative;
  padding: 2px;
  background: linear-gradient(135deg, #00cfee, #8a2be2);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.cta-whatsapp-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(138, 43, 226, 0.3);
}

.cta-whatsapp-card {
  background: #0b0b0b;
  position: relative;
  border-radius: 20px;
}

.btn-cta-wa {
  background: white;
  color: #000 !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-cta-wa:hover {
  background: transparent;
  color: white !important;
  border-color: white;
  letter-spacing: 0.5px;
}
.cta-whatsapp-card .text-gradient {
  background: linear-gradient(135deg, #00cfee, #8a2be2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/*STATS*/

.stats-section {
  background: radial-gradient(circle at center, #274781 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    rgba(0, 207, 238, 0.1) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  opacity: 0.3;
  z-index: 0;
}

.stat-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  padding: 2rem 1rem;
  border-radius: 20px;
  transition: all 0.4s ease;
  z-index: 1;
  overflow: hidden;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-5px);
  border-color: rgba(0, 207, 238, 0.3);
}

.stat-card::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 207, 238, 0.1),
    transparent
  );
  animation: scanline 4s linear infinite;
}

@keyframes scanline {
  0% {
    top: -100%;
  }
  100% {
    top: 200%;
  }
}

.tracking-wider {
  letter-spacing: 0.15em;
}

.counter {
  text-shadow: 0 0 15px rgba(0, 207, 238, 0.4);
}
.text-morado.counter {
  text-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
}

/*CTA*/
.cta-box-premium {
  position: relative;
  background: transparent;
  border-radius: 40px;
  z-index: 2;
  overflow: hidden;
  border: none;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.3);
}

.cta-box-premium::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    var(--primary-celeste),
    var(--primary-morado),
    transparent 40%
  );
  animation: rotate-border 4s linear infinite;
  z-index: -1;
}

.cta-box-inner {
  position: relative;
  background: var(--bs-body-bg);
  margin: 3px;
  border-radius: 37px;
  padding: 5rem 2rem;
  z-index: 1;
  transition: background 0.4s ease;
}

.cta-content h2,
.cta-content p,
.cta-content div span {
  color: var(--bs-body-color) !important;
}

.btn-master-pro {
  position: relative;
  padding: 18px 45px;
  background: #000;
  color: #fff !important;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 800;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 207, 238, 0.2);
}

.btn-master-pro:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 20px 40px rgba(138, 43, 226, 0.4);
}

.dot-grid-animated {
  background-image: radial-gradient(
    var(--primary-celeste) 1px,
    transparent 1px
  );
  background-size: 40px 40px;
  opacity: 0.1;
  animation: pulse-grid 8s ease-in-out infinite;
}

[data-bs-theme="dark"] .cta-box-inner {
  background: #080a0f;
}

[data-bs-theme="dark"] .btn-master-pro {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/*TESTIMONIOS*/

.section-testimonials {
  background: radial-gradient(circle at 20% 30%, #2d5a8a 0%, #0a192f 100%);
  position: relative;
  overflow: hidden;
}

.section-testimonials::before,
.section-testimonials::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.4;
  animation: float-lights 20s infinite alternate;
}

.section-testimonials::before {
  background: rgba(0, 207, 238, 0.3);
  top: -200px;
  left: -100px;
}

.section-testimonials::after {
  background: rgba(138, 43, 226, 0.2);
  bottom: -200px;
  right: -100px;
  animation-delay: -10s;
}

@keyframes float-lights {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(100px, 50px) scale(1.2);
  }
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: white;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 1;
  display: flex !important;
  flex-direction: column;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-15px) scale(1.03);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 207, 238, 0.5) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 7rem;
  color: #00cfee;
  opacity: 0.2;
  font-family: "serif";
  line-height: 1;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.1rem;
  line-height: 1.7;
  flex-grow: 1;
}

.client-name {
  color: #fff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.client-sub {
  color: rgba(255, 255, 255, 0.6) !important;
}

.avatar-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.bg-morado {
  background-color: #8a2be2 !important;
}
.bg-celeste {
  background-color: #00cfee !important;
}

.carousel-control-custom-icon {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.4s;
}

.carousel-control-custom-icon:hover {
  background: #00cfee;
  box-shadow: 0 0 20px #00cfee;
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
  .testimonial-card {
    margin-bottom: 20px;
  }
}
#testimonialCarousel .testimonial-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 20px;
  background: var(--bg-main);
  transition: transform 0.3s ease;
}

#testimonialCarousel .carousel-inner {
  padding: 20px 0;
}
/*BOT*/

.section-contact-master {
  position: relative;
  overflow: hidden;
}

.data-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-celeste),
    var(--primary-morado),
    transparent
  );
  width: 200px;
  filter: blur(1px);
  opacity: 0.3;
  animation: travel 4s infinite linear;
}

@keyframes travel {
  0% {
    left: -250px;
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    left: 110%;
    opacity: 0;
  }
}

.btn-whatsapp-master {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--primary-celeste) 0%,
    var(--primary-morado) 100%
  );
  color: white !important;
  border: none;
  padding: 18px 30px;
  font-weight: 700;
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
  width: 100%;
}

.btn-whatsapp-master:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 207, 238, 0.4);
}

.form-custom {
  background-color: var(--bs-body-bg) !important;
  color: var(--bs-body-color) !important;
  border: 2px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 15px !important;
  transition: 0.3s;
}

[data-bs-theme="dark"] .form-custom {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.form-custom:focus {
  border-color: var(--primary-celeste) !important;
  box-shadow: 0 0 15px rgba(0, 207, 238, 0.2) !important;
}

.ws-icon-bg {
  background: #25d366;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

/*FOOTER*/

.main-footer {
  background-color: #2d5a8a;
  color: white !important;
  border-top: 2px solid transparent;
  border-image: linear-gradient(
      90deg,
      transparent,
      var(--primary-celeste),
      var(--primary-morado),
      transparent
    )
    1;
  transition: all 0.4s ease;
}

.main-footer {
  color: rgba(255, 255, 255, 0.7) !important;
}

.main-footer .footer-quote {
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.footer-glow-1,
.footer-glow-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.footer-glow-1 {
  background: var(--primary-celeste);
  bottom: -150px;
  left: -50px;
}
.footer-glow-2 {
  background: var(--primary-morado);
  bottom: -150px;
  right: -50px;
}

.social-icon-btn {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon-btn:hover {
  transform: translateY(-8px) rotate(8deg);
  color: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-icon-btn.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}
.social-icon-btn.globe:hover {
  background: var(--primary-celeste);
  border-color: var(--primary-celeste);
}
.social-icon-btn.linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
}

[data-bs-theme="dark"] .main-footer {
  background-color: #0a0c10;
}

[data-bs-theme="dark"] .social-icon-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .footer-quote {
  background: rgba(0, 0, 0, 0.3) !important;
}

/*CHATBOT*/

.chatbot-launcher {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99999;
}

.btn-chatbot-toggle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00cfee, #8a2be2);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-chatbot-confirm {
  width: 100%;
  height: 35px;
  border-radius: 20px;
  background: linear-gradient(135deg, #025872, #3e0375);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #eee;
}

.chatbot-window.active {
  display: flex;
}

.chatbot-header {
  background: linear-gradient(135deg, #8a2be2, #00cfee);
  color: white;
  padding: 15px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.btn-header {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.9rem;
}

.btn-header:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(20deg);
}

.chatbot-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background: #f9f9f9;
}

.msg {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 12px;
  font-size: 0.9rem;
  max-width: 85%;
}
.msg-bot {
  background: #8a2be2;
  color: #fff;
  align-self: flex-start;
}
.msg-user {
  background: #00cfee;
  color: white;
  align-self: flex-end;
  margin-left: auto;
}

#chatOptions {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  background: #fff;
  border-top: 1px solid #eee;
}

.btn-chat-opt {
  border: 1px solid #00cfee;
  background: white;
  color: #00cfee;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
}
.btn-chat-opt:hover {
  background: #00cfee;
  color: white;
}

.btn-finish-chat {
  display: none;
  background: #25d366;
  color: white;
  border: none;
  width: 90%;
  margin: 10px auto;
  padding: 10px;
  border-radius: 10px;
  font-weight: bold;
}
