/* CHATCITO - BOTON ARCOIRIS PREMIUM V15 */

.kiwi-welcome-simple-form button[type="submit"],
.kiwi-welcome-simple-form .u-button-primary {
  position: relative !important;
  isolation: isolate !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  padding: 9px 16px !important;
  overflow: hidden !important;
  cursor: pointer !important;

  border: 2px solid rgba(255,255,255,.95) !important;
  border-radius: 14px !important;

  background-color: #ff247c !important;
  background-image: linear-gradient(
    100deg,
    #076bff 0%,
    #9b35ff 19%,
    #ff247c 38%,
    #ff801b 56%,
    #ffe72a 76%,
    #35ed63 100%
  ) !important;

  /* Clave: todos los colores visibles a la vez */
  background-size: 100% 100% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  animation: cc-rainbow-glow 2.8s ease-in-out infinite !important;

  color: #fff !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  text-shadow:
    0 1px 2px rgba(0,0,0,.85),
    0 2px 5px rgba(0,0,0,.6) !important;

  box-shadow:
    0 5px 17px rgba(0,0,0,.4),
    0 0 13px rgba(255,36,124,.35) !important;
}

/* Reflejo brillante animado */
.kiwi-welcome-simple-form button[type="submit"]::after,
.kiwi-welcome-simple-form .u-button-primary::after {
  content: "" !important;
  position: absolute !important;
  top: -50% !important;
  left: -38% !important;
  width: 26% !important;
  height: 200% !important;
  pointer-events: none !important;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.55),
    transparent
  ) !important;
  transform: skewX(-25deg) !important;
  animation: cc-rainbow-shine 3.6s ease-in-out infinite !important;
}

/* Reflejo superior discreto */
.kiwi-welcome-simple-form button[type="submit"]::before,
.kiwi-welcome-simple-form .u-button-primary::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.25),
    transparent 48%
  ) !important;
}

/* Movimiento de brillo, no de los colores */
@keyframes cc-rainbow-glow {
  0%, 100% {
    filter: brightness(1) saturate(1.2);
  }
  50% {
    filter: brightness(1.13) saturate(1.35);
  }
}

@keyframes cc-rainbow-shine {
  0%, 15% { left: -38%; opacity: 0; }
  25% { opacity: 1; }
  58%, 100% { left: 125%; opacity: 0; }
}

.kiwi-welcome-simple-form button[type="submit"]:hover,
.kiwi-welcome-simple-form .u-button-primary:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.18) saturate(1.4) !important;
}

.kiwi-welcome-simple-form button[type="submit"]:disabled,
.kiwi-welcome-simple-form .u-button-primary:disabled {
  animation: none !important;
  opacity: .7 !important;
  cursor: wait !important;
}

@media (prefers-reduced-motion: reduce) {
  .kiwi-welcome-simple-form button[type="submit"],
  .kiwi-welcome-simple-form .u-button-primary,
  .kiwi-welcome-simple-form button[type="submit"]::after,
  .kiwi-welcome-simple-form .u-button-primary::after {
    animation: none !important;
  }
}
