/* ==========================================
   CHATCITO 2026 - LOGIN COMPACTO V4
   ========================================== */

/* Solo aplicar mientras exista el formulario de inicio */
body:has(.kiwi-welcome-simple-form) .kiwi-wrap,
body:has(.kiwi-welcome-simple-form) .kiwi-startup-common,
body:has(.kiwi-welcome-simple-form) .kiwi-welcome-simple-start {
  background: transparent !important;
  background-image: none !important;
}

/* Centrar el conjunto y eliminar distribución a dos columnas */
.kiwi-startup-common:has(.kiwi-welcome-simple-form) {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 100dvh !important;
  height: 100dvh !important;
  padding: 12px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  gap: 0 !important;
  overflow: hidden !important;
}

/* Quitar por completo la columna vacía */
.kiwi-startup-common:has(.kiwi-welcome-simple-form)
.kiwi-startup-common-section-info {
  display: none !important;
}

/* Tarjeta central */
.kiwi-startup-common:has(.kiwi-welcome-simple-form)
.kiwi-startup-common-section-connection {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex: 0 1 auto !important;
  width: min(100%, 410px) !important;
  min-width: 0 !important;
  max-width: 410px !important;
  max-height: calc(100dvh - 24px) !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 22px 25px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;

  background: #19283d !important;
  color: #f4f6fc !important;
  border: 1px solid #364b66 !important;
  border-top: 3px solid #e978b2 !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.24) !important;
}

/* Formulario */
.kiwi-welcome-simple-form {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background: transparent !important;
}

/* Título pequeño */
.kiwi-startup-common:has(.kiwi-welcome-simple-form)
.kiwi-startup-common-section-connection h1,
.kiwi-startup-common:has(.kiwi-welcome-simple-form)
.kiwi-startup-common-section-connection h2 {
  color: #f2a0cc !important;
  background: transparent !important;
  text-align: center !important;
  font-size: 25px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  margin: 0 0 17px !important;
  padding: 0 !important;
}

/* Eliminar bloques blancos en las etiquetas */
.kiwi-welcome-simple-form label,
.kiwi-welcome-simple-form .u-form-label,
.kiwi-welcome-simple-form .kiwi-welcome-simple-input-container,
.kiwi-welcome-simple-form .u-form-row,
.kiwi-welcome-simple-form .u-form-field {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #e4ecf7 !important;
}

/* Etiquetas */
.kiwi-welcome-simple-form label,
.kiwi-welcome-simple-form .u-form-label {
  color: #e4ecf7 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
}

/* Entradas */
.kiwi-welcome-simple-form
input:not([type="checkbox"]):not([type="submit"]):not([type="hidden"]) {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 41px !important;
  min-height: 41px !important;
  padding: 8px 12px !important;
  margin: 4px 0 10px !important;
  box-sizing: border-box !important;

  background: #101b2c !important;
  color: #f5f7fb !important;
  border: 1px solid #ae83aa !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-size: 14px !important;
}

.kiwi-welcome-simple-form
input:not([type="checkbox"]):focus {
  outline: 2px solid rgba(233,120,178,.28) !important;
  border-color: #e978b2 !important;
}

.kiwi-welcome-simple-form input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  accent-color: #e978b2 !important;
}

/* Botón original de KiwiIRC */
.kiwi-welcome-simple-form button[type="submit"],
.kiwi-welcome-simple-form input[type="submit"],
.kiwi-welcome-simple-form .u-button-primary {
  width: 100% !important;
  height: 43px !important;
  min-height: 43px !important;
  margin: 10px 0 0 !important;
  padding: 8px 12px !important;
  background: #79d94d !important;
  border: 1px solid #58bb3a !important;
  border-radius: 8px !important;
  color: #142514 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.kiwi-welcome-simple-form button:disabled {
  opacity: .75 !important;
  cursor: wait !important;
}

/* Texto informativo añadido mediante CSS, sin alterar Vue */
.kiwi-welcome-simple-form::after {
  content: "🔒 Sitio seguro";
  display: block;
  text-align: center;
  color: #aebfd5;
  font-size: 12px;
  margin-top: 12px;
}

/* Pantallas pequeñas */
@media (max-width: 600px) {
  .kiwi-startup-common:has(.kiwi-welcome-simple-form)
  .kiwi-startup-common-section-connection {
    width: min(100%, 410px) !important;
    padding: 18px 17px !important;
  }

  .kiwi-welcome-simple-form
  input:not([type="checkbox"]):not([type="submit"]) {
    font-size: 16px !important;
  }
}

/* Pantallas bajas, incluida contraseña visible */
@media (max-height: 680px) {
  .kiwi-startup-common:has(.kiwi-welcome-simple-form)
  .kiwi-startup-common-section-connection {
    padding: 12px 17px !important;
  }

  .kiwi-startup-common:has(.kiwi-welcome-simple-form)
  .kiwi-startup-common-section-connection h1,
  .kiwi-startup-common:has(.kiwi-welcome-simple-form)
  .kiwi-startup-common-section-connection h2 {
    font-size: 20px !important;
    margin-bottom: 8px !important;
  }

  .kiwi-welcome-simple-form
  input:not([type="checkbox"]):not([type="submit"]) {
    height: 35px !important;
    min-height: 35px !important;
    margin-bottom: 5px !important;
  }

  .kiwi-welcome-simple-form::after {
    margin-top: 6px;
  }
}

/* ===== AJUSTE ROSA EN BLOQUES DEL LOGIN ===== */

/* Quitar los bloques blancos de alrededor */
.kiwi-welcome-simple-form .kiwi-welcome-simple-input-container {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 12px 0 !important;
}

/* El bloque que tú marcaste: ponerlo rosa */
.kiwi-welcome-simple-form .u-input-text {
  background: #f2a0cc !important;
  border: 1px solid #e978b2 !important;
  border-radius: 12px !important;
  padding: 3px !important;
  box-shadow: none !important;
}

/* El input interior sigue oscuro para que contraste bien */
.kiwi-welcome-simple-form .u-input-text input {
  background: #0f1c2f !important;
  color: #f5f7fb !important;
  border: 0 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}

/* Placeholder y textos suaves */
.kiwi-welcome-simple-form .u-input-text input::placeholder {
  color: #cfd7e6 !important;
  opacity: 1 !important;
}

/* Etiquetas en rosa suave */
.kiwi-welcome-simple-form label,
.kiwi-welcome-simple-form .u-form-label,
.kiwi-welcome-simple-form .kiwi-welcome-simple-have-password {
  color: #f2a0cc !important;
}

/* Checkbox visible y acorde */
.kiwi-welcome-simple-form input[type="checkbox"] {
  accent-color: #e978b2 !important;
}


/* ==========================================
   CHATCITO LOGIN V6 - FONDO Y TEXTOS
   ========================================== */

/* Fondo exterior completamente blanco */
body:has(.kiwi-welcome-simple-form),
body:has(.kiwi-welcome-simple-form) #app,
body:has(.kiwi-welcome-simple-form) .kiwi-wrap,
body:has(.kiwi-welcome-simple-form) .kiwi-startup-common,
body:has(.kiwi-welcome-simple-form) .kiwi-welcome-simple {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
}

/* La tarjeta conserva su fondo azul marino */
.kiwi-startup-common:has(.kiwi-welcome-simple-form)
.kiwi-startup-common-section-connection {
  background: #19283d !important;
}

/* Contenedores rosas */
.kiwi-welcome-simple-form .u-input-text {
  background: #f2a0cc !important;
  color: #151515 !important;
}

/* Letras y etiquetas dentro de las zonas rosas */
.kiwi-welcome-simple-form .u-input-text label,
.kiwi-welcome-simple-form .u-input-text span,
.kiwi-welcome-simple-form .u-input-text .u-input-text-label,
.kiwi-welcome-simple-form .kiwi-welcome-simple-input-container label {
  color: #171717 !important;
}

/* Etiquetas sobre fondo rosa */
.kiwi-welcome-simple-form .kiwi-welcome-simple-input-container {
  color: #171717 !important;
}

/* El texto que se escribe dentro del campo sigue blanco */
.kiwi-welcome-simple-form .u-input-text input {
  background: #101b2c !important;
  color: #ffffff !important;
}

/* Checkbox Contraseña sobre fondo azul marino */
.kiwi-welcome-simple-form .kiwi-welcome-simple-have-password {
  color: #f2a0cc !important;
}


/* ==========================================
   CHATCITO LOGIN V7 - NEGRO, AZUL Y ARCOIRIS
   ========================================== */

/* Tarjeta central negra */
.kiwi-startup-common:has(.kiwi-welcome-simple-form)
.kiwi-startup-common-section-connection {
  background: #080a0f !important;
  background-color: #080a0f !important;
  border-color: #303845 !important;
  border-top: 3px solid #e978b2 !important;
}

/* El formulario y sus espacios también negros */
.kiwi-welcome-simple-form {
  background: transparent !important;
  color: #79bcec !important;
}

/* Título y texto sobre negro: azul bonito */
.kiwi-startup-common:has(.kiwi-welcome-simple-form)
.kiwi-startup-common-section-connection h1,
.kiwi-startup-common:has(.kiwi-welcome-simple-form)
.kiwi-startup-common-section-connection h2 {
  color: #79bcec !important;
}

/* Los recuadros rosas se mantienen */
.kiwi-welcome-simple-form .u-input-text {
  background: #f2a0cc !important;
  background-color: #f2a0cc !important;
  border-color: #e978b2 !important;
}

/* Letras sobre rosa: verde ChatCito */
.kiwi-welcome-simple-form .u-input-text label,
.kiwi-welcome-simple-form .u-input-text span,
.kiwi-welcome-simple-form .u-input-text .u-input-text-label,
.kiwi-welcome-simple-form .kiwi-welcome-simple-input-container label {
  color: #168c56 !important;
  font-weight: 800 !important;
}

/* Campo interior negro y texto azul */
.kiwi-welcome-simple-form
.u-input-text input:not([type="checkbox"]),
.kiwi-welcome-simple-form
input:not([type="checkbox"]):not([type="submit"]):not([type="hidden"]) {
  background: #080a0f !important;
  background-color: #080a0f !important;
  color: #79bcec !important;
  caret-color: #79bcec !important;
  border-color: #b677a0 !important;
}

/* Placeholder azul suave */
.kiwi-welcome-simple-form input::placeholder {
  color: #8bbde3 !important;
  opacity: .8 !important;
}

/* Contraseña sobre fondo negro */
.kiwi-welcome-simple-form
.kiwi-welcome-simple-have-password {
  color: #79bcec !important;
}

.kiwi-welcome-simple-form input[type="checkbox"] {
  accent-color: #79d94d !important;
}

/* Sitio seguro sobre negro */
.kiwi-welcome-simple-form::after {
  color: #79bcec !important;
}

/* BOTON CONECTAR: ARCOIRIS ANIMADO */
.kiwi-welcome-simple-form button[type="submit"],
.kiwi-welcome-simple-form input[type="submit"],
.kiwi-welcome-simple-form .u-button-primary {
  background-image: linear-gradient(
    110deg,
    #ff6392 0%,
    #ffc64c 16%,
    #8bea59 33%,
    #60c9ef 50%,
    #b18af8 67%,
    #ff6392 84%,
    #ffc64c 100%
  ) !important;
  background-color: #79d94d !important;
  background-size: 300% 100% !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  color: #11131a !important;
  font-weight: 900 !important;

  animation: cc-login-arcoiris 6s linear infinite !important;

  box-shadow:
    0 3px 13px rgba(255,99,146,.20) !important;

  transition:
    filter .2s ease,
    box-shadow .2s ease,
    transform .2s ease !important;
}

/* Movimiento del degradado */
@keyframes cc-login-arcoiris {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Efecto al pasar el raton */
.kiwi-welcome-simple-form button[type="submit"]:hover,
.kiwi-welcome-simple-form input[type="submit"]:hover,
.kiwi-welcome-simple-form .u-button-primary:hover {
  filter: saturate(1.18) brightness(1.06) !important;
  box-shadow:
    0 5px 19px rgba(233,120,178,.35) !important;
  transform: translateY(-1px);
}

/* Al pulsarlo */
.kiwi-welcome-simple-form button[type="submit"]:active,
.kiwi-welcome-simple-form .u-button-primary:active {
  transform: translateY(0) scale(.99);
}

/* Mientras conecta */
.kiwi-welcome-simple-form button:disabled,
.kiwi-welcome-simple-form input[type="submit"]:disabled {
  opacity: .75 !important;
  cursor: wait !important;
  animation-play-state: paused !important;
}

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

/* ==========================================
   CHATCITO LOGIN V8 - AZUL Y VERDE INVERTIDOS
   ========================================== */

/* Titular: antes azul, ahora verde */
.kiwi-startup-common:has(.kiwi-welcome-simple-form)
.kiwi-startup-common-section-connection h1,
.kiwi-startup-common:has(.kiwi-welcome-simple-form)
.kiwi-startup-common-section-connection h2 {
  color: #79d94d !important;
}

/* Etiquetas sobre rosa: antes verde, ahora azul */
.kiwi-welcome-simple-form .u-input-text label,
.kiwi-welcome-simple-form .u-input-text span,
.kiwi-welcome-simple-form .u-input-text .u-input-text-label,
.kiwi-welcome-simple-form .kiwi-welcome-simple-input-container label {
  color: #79bcec !important;
}

/* Texto de los campos negros: antes azul, ahora verde */
.kiwi-welcome-simple-form
.u-input-text input:not([type="checkbox"]),
.kiwi-welcome-simple-form
input:not([type="checkbox"]):not([type="submit"]):not([type="hidden"]) {
  color: #79d94d !important;
  caret-color: #79d94d !important;
}

/* Placeholder */
.kiwi-welcome-simple-form input::placeholder {
  color: #a6e98b !important;
}

/* Contraseña y checkbox */
.kiwi-welcome-simple-form
.kiwi-welcome-simple-have-password {
  color: #79d94d !important;
}

.kiwi-welcome-simple-form input[type="checkbox"] {
  accent-color: #79bcec !important;
}

/* Sitio seguro */
.kiwi-welcome-simple-form::after {
  color: #79d94d !important;
}


/* ==========================================
   CHATCITO LOGIN V9 - OJITO DE CONTRASEÑA
   ========================================== */

/* Botón e icono de mostrar/ocultar contraseña */
.kiwi-welcome-simple-form
.u-input-text :is(
  button,
  .u-input-text-password-toggle,
  .u-input-text-show-password,
  .fa-eye,
  .fa-eye-slash
) {
  color: #79bcec !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Iconos SVG y FontAwesome */
.kiwi-welcome-simple-form
.u-input-text :is(button, .u-input-text-password-toggle) svg,
.kiwi-welcome-simple-form
.u-input-text :is(button, .u-input-text-password-toggle) i {
  color: #79bcec !important;
  fill: currentColor !important;
  stroke: currentColor !important;
  opacity: 1 !important;
}

/* El control del ojo debe permanecer sobre el campo */
.kiwi-welcome-simple-form
.u-input-text button {
  cursor: pointer !important;
  z-index: 2 !important;
}

/* Al pasar el ratón */
.kiwi-welcome-simple-form
.u-input-text button:hover {
  color: #a9dcff !important;
  background: rgba(121,188,236,.13) !important;
  border-radius: 7px !important;
}

/* CHATCITO LOGIN V10 - AZUL ELECTRICO LEGIBLE */

/* Etiquetas sobre los bloques rosas */
.kiwi-welcome-simple-form .u-input-text label,
.kiwi-welcome-simple-form .u-input-text span,
.kiwi-welcome-simple-form .u-input-text .u-input-text-label,
.kiwi-welcome-simple-form .kiwi-welcome-simple-input-container label {
  color: #0066cc !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}

/* Contraseña: azul más visible sobre negro */
.kiwi-welcome-simple-form .kiwi-welcome-simple-have-password {
  color: #59b5ff !important;
  font-weight: 700 !important;
}

/* CHATCITO LOGIN V11 - BOTON ARCOIRIS TIPO CAMPEON DEL MUNDO */

.kiwi-welcome-simple-form .u-button,
.kiwi-welcome-simple-form .u-button-primary,
.kiwi-welcome-simple-form button[type="submit"],
.kiwi-welcome-simple-start {
  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 8%,
      #2b2b2b 8%,
      #2b2b2b 20%,
      #1e90ff 20%,
      #1e90ff 32%,
      #ff4fa3 32%,
      #ff4fa3 44%,
      #f4d03f 44%,
      #f4d03f 56%,
      #57d163 56%,
      #57d163 68%,
      #ffffff 68%,
      #ffffff 100%
    ) !important;
  color: #111 !important;
  border: 2px solid rgba(255,255,255,0.85) !important;
  border-radius: 16px !important;
  font-weight: 900 !important;
  font-size: 30px !important;
  letter-spacing: 0.4px !important;
  text-transform: none !important;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.18) inset,
    0 10px 28px rgba(0,0,0,0.18),
    0 0 18px rgba(255,255,255,0.18) !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease !important;
  background-size: 160% 100% !important;
  animation: ccRainbowMove 4s linear infinite !important;
}

.kiwi-welcome-simple-form .u-button:hover,
.kiwi-welcome-simple-form .u-button-primary:hover,
.kiwi-welcome-simple-form button[type="submit"]:hover,
.kiwi-welcome-simple-start:hover {
  transform: translateY(-1px) scale(1.01) !important;
  filter: saturate(1.08) brightness(1.02) !important;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.18) inset,
    0 14px 34px rgba(0,0,0,0.24),
    0 0 22px rgba(255,255,255,0.22) !important;
}

.kiwi-welcome-simple-form .u-button:active,
.kiwi-welcome-simple-form .u-button-primary:active,
.kiwi-welcome-simple-form button[type="submit"]:active,
.kiwi-welcome-simple-start:active {
  transform: translateY(0) scale(0.995) !important;
}

@keyframes ccRainbowMove {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* CHATCITO LOGIN V12 - BOTON CONECTAR ARCOIRIS BONITO */

.kiwi-welcome-simple-form .u-button,
.kiwi-welcome-simple-form .u-button-primary,
.kiwi-welcome-simple-form button[type="submit"],
.kiwi-welcome-simple-start {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 74px !important;
  border: 2px solid rgba(255,255,255,0.88) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      #f7f7f7 8%,
      #2f2f32 18%,
      #26292f 28%,
      #3ea2ff 42%,
      #ff67b3 58%,
      #f6d94d 74%,
      #72dc63 88%,
      #57cf5d 100%
    ) !important;
  background-size: 180% 180% !important;
  color: #111 !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  letter-spacing: 0.4px !important;
  text-transform: none !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25) inset,
    0 12px 28px rgba(0,0,0,0.22),
    0 0 18px rgba(255,255,255,0.18) !important;
  animation: ccRainbowFlow 6s ease infinite !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease !important;
}

.kiwi-welcome-simple-form .u-button::before,
.kiwi-welcome-simple-form .u-button-primary::before,
.kiwi-welcome-simple-form button[type="submit"]::before,
.kiwi-welcome-simple-start::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.34) 0%,
      rgba(255,255,255,0.10) 34%,
      rgba(255,255,255,0.00) 60%,
      rgba(0,0,0,0.08) 100%
    ) !important;
  pointer-events: none !important;
}

.kiwi-welcome-simple-form .u-button span,
.kiwi-welcome-simple-form .u-button-primary span,
.kiwi-welcome-simple-form button[type="submit"] span,
.kiwi-welcome-simple-start span {
  position: relative !important;
  z-index: 2 !important;
}

.kiwi-welcome-simple-form .u-button:hover,
.kiwi-welcome-simple-form .u-button-primary:hover,
.kiwi-welcome-simple-form button[type="submit"]:hover,
.kiwi-welcome-simple-start:hover {
  transform: translateY(-1px) scale(1.01) !important;
  filter: brightness(1.03) saturate(1.08) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.28) inset,
    0 16px 34px rgba(0,0,0,0.26),
    0 0 22px rgba(255,255,255,0.20) !important;
}

.kiwi-welcome-simple-form .u-button:active,
.kiwi-welcome-simple-form .u-button-primary:active,
.kiwi-welcome-simple-form button[type="submit"]:active,
.kiwi-welcome-simple-start:active {
  transform: scale(0.99) !important;
}

@keyframes ccRainbowFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================
   CHATCITO LOGIN V13 - ARCOIRIS COMPLETO
   ========================================== */

/* Solo el boton de conectar, nunca la pantalla */
.kiwi-welcome-simple-form button[type="submit"],
.kiwi-welcome-simple-form input[type="submit"],
.kiwi-welcome-simple-form .u-button-primary {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  height: 49px !important;
  min-height: 49px !important;
  max-height: 49px !important;
  padding: 8px 15px !important;

  /* Cinco colores completos, visibles simultaneamente */
  background-image: linear-gradient(
    90deg,
    #1677ed 0%,
    #1677ed 20%,
    #ef344b 20%,
    #ef344b 40%,
    #252a32 40%,
    #252a32 60%,
    #ffd43b 60%,
    #ffd43b 80%,
    #32bc59 80%,
    #32bc59 100%
  ) !important;

  background-size: 100% 100% !important;
  background-position: center !important;

  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 900 !important;

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

  box-shadow: 0 5px 15px rgba(0,0,0,.24) !important;

  /* No desplazar ni ampliar los colores */
  animation: cc-boton-latido 2.8s ease-in-out infinite !important;
  transform: none !important;
}

/* Evitar que el brillo tape los colores */
.kiwi-welcome-simple-form button[type="submit"]::before,
.kiwi-welcome-simple-form .u-button-primary::before {
  display: none !important;
  content: none !important;
}

@keyframes cc-boton-latido {
  0%, 100% {
    filter: brightness(1);
    box-shadow: 0 5px 15px rgba(0,0,0,.24);
  }
  50% {
    filter: brightness(1.12);
    box-shadow: 0 5px 20px rgba(255,255,255,.36);
  }
}

/* Hover */
.kiwi-welcome-simple-form button[type="submit"]:hover,
.kiwi-welcome-simple-form .u-button-primary:hover {
  filter: brightness(1.16) !important;
  transform: translateY(-1px) !important;
}

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

/* ==========================================
   CHATCITO LOGIN V14 - BOTON ARCOIRIS FLUIDO
   ========================================== */

.kiwi-welcome-simple-form button[type="submit"],
.kiwi-welcome-simple-form input[type="submit"],
.kiwi-welcome-simple-form .u-button-primary {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  padding: 10px 18px !important;
  border: 2px solid rgba(255,255,255,.88) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  cursor: pointer !important;

  color: #ffffff !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  letter-spacing: .2px !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.35) !important;

  background: linear-gradient(
    115deg,
    #2f7cf6 0%,
    #46a7ff 12%,
    #ff4e7a 28%,
    #ff7a45 44%,
    #ffd84d 60%,
    #7ee35b 77%,
    #3fcf6b 90%,
    #2f7cf6 100%
  ) !important;

  background-size: 260% 260% !important;
  background-position: 0% 50% !important;

  box-shadow:
    0 10px 28px rgba(0,0,0,.32),
    0 0 18px rgba(255,255,255,.15) !important;

  animation:
    cc-rainbow-flow 5s ease-in-out infinite,
    cc-button-breath 2.6s ease-in-out infinite !important;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease !important;
}

/* brillo superior elegante */
.kiwi-welcome-simple-form button[type="submit"]::before,
.kiwi-welcome-simple-form .u-button-primary::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  pointer-events: none !important;

  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,.34) 0%,
      rgba(255,255,255,.14) 18%,
      rgba(255,255,255,0) 42%
    ) !important;

  mix-blend-mode: screen !important;
}

/* destello deslizante */
.kiwi-welcome-simple-form button[type="submit"]::after,
.kiwi-welcome-simple-form .u-button-primary::after {
  content: "" !important;
  position: absolute !important;
  top: -20% !important;
  left: -28% !important;
  width: 32% !important;
  height: 140% !important;
  pointer-events: none !important;
  border-radius: 30px !important;
  transform: rotate(14deg) !important;

  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.34) 48%,
    rgba(255,255,255,0) 100%
  ) !important;

  animation: cc-shine-sweep 3.8s ease-in-out infinite !important;
}

.kiwi-welcome-simple-form button[type="submit"]:hover,
.kiwi-welcome-simple-form .u-button-primary:hover {
  transform: translateY(-1px) scale(1.01) !important;
  filter: brightness(1.08) saturate(1.1) !important;
  box-shadow:
    0 14px 34px rgba(0,0,0,.36),
    0 0 22px rgba(255,255,255,.22) !important;
}

.kiwi-welcome-simple-form button[type="submit"]:active,
.kiwi-welcome-simple-form .u-button-primary:active {
  transform: translateY(0) scale(.995) !important;
}

@keyframes cc-rainbow-flow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes cc-button-breath {
  0%, 100% {
    box-shadow:
      0 10px 28px rgba(0,0,0,.32),
      0 0 18px rgba(255,255,255,.15);
  }
  50% {
    box-shadow:
      0 12px 32px rgba(0,0,0,.36),
      0 0 28px rgba(255,255,255,.24);
  }
}

@keyframes cc-shine-sweep {
  0%   { left: -32%; opacity: 0; }
  10%  { opacity: .9; }
  45%  { opacity: .9; }
  60%  { left: 108%; opacity: 0; }
  100% { left: 108%; opacity: 0; }
}

@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;
  }
}
