/* Importamos las variables root */
@import "../../css/root_main.css";

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: var(--font-family-primary);
        background: linear-gradient(135deg, var(--background-primary), var(--background-secondary));
        color: var(--text-primary);
        min-height: 100vh;
        overflow-x: hidden;
    }


li {
  list-style: none;
}

/* ================================================================================
   🏗️ ESTRUCTURA PRINCIPAL DEL LAYOUT
================================================================================*/

.col_1_main_header {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.main-column-login {
  display: grid;
  grid-template-columns: 2fr 3fr 1fr;
  gap: 40px;
  width: 100%;
  max-width: 1400px;
  align-items: start;
  margin: 0 auto;
}

.col_2_login {
  background: var(--background-secondary);
  border-radius: 25px;
  padding: 40px;
  margin-left: 60px;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(239, 165, 5, 0.1);
  backdrop-filter: blur(20px);
  position: relative;
  animation: slideInLeft 0.8s ease;
}

.col_2_login::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 25px 25px 0 0;
}

.col_3_login {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 0.8s ease 0.2s both;
}


/* ================================================================================
   📋 TÍTULOS PRINCIPALES
================================================================================*/

.col_2_login h1 {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--primary-color);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 35px;
  text-align: center;
  justify-content: center;
  text-shadow: 0 0 30px rgba(239, 165, 5, 0.3);
}

.col_2_login h1 i {
  width: 32px;
  height: 32px;
  animation: headphonesPulse 2s ease-in-out infinite;
}

.form_login h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--primary-color);
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 35px;
  text-align: center;
}

.form_login h2 i {
  width: 30px;
  height: 30px;
  animation: ticketSpin 6s ease-in-out infinite;
}

/* ================================================================================
   📊 INFORMACIÓN Y RECOVERY BOXES
================================================================================*/

.recovery-info {
  background: var(--background-tertiary);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 25px;
  border: 1px solid var(--border-color-light);
  position: relative;
  transition: all 0.3s ease;
}

.recovery-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(239, 165, 5, 0.15);
  border-color: var(--primary-color);
}

.recovery-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 18px 18px 0 0;
}

.recovery-info h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-color);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.recovery-info h4 i {
  width: 22px;
  height: 22px;
  animation: iconGlow 3s ease-in-out infinite;
}

.recovery-info ol,
.recovery-info ul {
  margin-left: 25px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.recovery-info li {
  margin-bottom: 12px;
  padding: 8px 0;
  transition: all 0.2s ease;
}

.recovery-info li:hover {
  color: var(--text-primary);
  transform: translateX(5px);
}

.recovery-info strong {
  color: var(--text-primary);
  font-weight: 600;
}

.recovery-info p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 12px 0;
}

/* ================================================================================
   🛡️ NOTA DE SEGURIDAD
================================================================================*/

.security-note {
  background: var(--background-info-light);
  border: 2px solid var(--border-color);
  border-radius: 18px;
  padding: 25px;
  margin: 25px 0;
  position: relative;
  overflow: hidden;
}

.security-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-scanner);
  opacity: 0.1;
  transition: left 0.8s ease;
  pointer-events: none;
}

.security-note:hover::before {
  left: 100%;
}

.security-note strong {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.security-note strong i {
  width: 20px;
  height: 20px;
  animation: shieldRotate 4s ease-in-out infinite;
}

.security-note ul {
  margin-left: 20px;
  color: var(--text-secondary);
}

.security-note li {
  margin-bottom: 8px;
  padding: 4px 0;
  transition: all 0.2s ease;
}

.security-note li:hover {
  color: var(--text-primary);
  transform: translateX(3px);
}

/* ================================================================================
   🆘 SECCIÓN DE AYUDA
================================================================================*/

.help-section {
  background: var(--background-tertiary);
  border-radius: 18px;
  padding: 28px;
  margin: 25px 0;
  border: 1px solid var(--border-color-light);
  position: relative;
}

.help-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--color-info));
  border-radius: 18px 18px 0 0;
}

.help-section h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-color);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.help-section h4 i {
  width: 22px;
  height: 22px;
  animation: zapFlash 2s ease-in-out infinite;
}

.help-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.help-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--background-link);
  border: 2px solid var(--border-color-link);
  border-radius: 12px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.help-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-link-shine);
  transition: left 0.5s ease;
}

.help-link:hover {
  background: var(--background-link-hover);
  border-color: var(--primary-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(239, 165, 5, 0.25);
}

.help-link:hover::before {
  left: 100%;
}

.help-link i {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
}

/* ================================================================================
   📝 CONTENEDOR DEL FORMULARIO
================================================================================*/

.container_login {
  background: var(--background-secondary);
  border-radius: 25px;
  padding: 45px;
  border: 1px solid var(--border-color);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(239, 165, 5, 0.1);
  backdrop-filter: blur(20px);
  position: relative;
  max-width: 600px;
  width: 100%;
  transition: all 0.4s ease;
}

.container_login::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 25px 25px 0 0;
}

.container_login:hover {
  transform: translateY(-3px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(239, 165, 5, 0.2),
    0 0 60px rgba(239, 165, 5, 0.1);
}

.form_login {
  position: relative;
}

.form_login::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 27px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.container_login:hover .form_login::before {
  opacity: 0.1;
  animation: borderGlow 2s ease-in-out infinite alternate;
}

/* ================================================================================
   🎯 CAMPOS DEL FORMULARIO BASE
================================================================================*/

.field {
  margin-bottom: 25px;
  position: relative;
}

.field.input {
  position: relative;
}

.input-icon {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon input,
.input-icon select {
  width: 100%;
  padding: 18px 55px 18px 55px;
  border: 2px solid var(--border-color-input);
  border-radius: 15px;
  background: var(--background-tertiary);
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  appearance: none;
}

.input-icon select {
  cursor: pointer;
  background-image: var(--bg-image-select);
  background-position: right 20px center;
  background-size: 16px;
  background-repeat: no-repeat;
}

.input-icon input::placeholder {
  color: var(--text-tertiary);
  transition: all 0.3s ease;
}

.input-icon input:focus,
.input-icon select:focus {
  border-color: var(--primary-color);
  background: var(--background-input-focus);
  box-shadow: 0 0 0 4px var(--primary-color-alpha-20),
    0 10px 30px rgba(239, 165, 5, 0.15);
  transform: translateY(-2px);
}

.input-icon input:focus::placeholder {
  color: var(--primary-color);
  opacity: 0.7;
}

/* ================================================================================
   🎨 ICONOS DE CAMPOS
================================================================================*/
/* ================================================================================
   🎯 CSS PARA ICONOS DE INPUTS - SOLUCIÓN DE VISIBILIDAD
================================================================================*/

/* Contenedor base del input con icono */
.input-icon {
  position: relative;
  display: block;
  width: 100%;
}

/* Input base con padding para los iconos */
.input-icon input,
.input-icon select {
  width: 100%;
  padding: 18px 55px 18px 55px;
  /* Espacio para iconos izq/der */
  border: 2px solid var(--border-color-input);
  border-radius: 15px;
  background: var(--background-tertiary);
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  position: relative;
  z-index: 1;
}

/* ICONO PRINCIPAL (lado izquierdo) */
.input-icon > i[data-lucide]:not(.validation-icon):not(.dropdown-arrow) {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color: var(--color-yellow);
  pointer-events: none;
  z-index: 2;
  transition: all 0.4s ease;
  display: block;
  opacity: 1;
}

/* ICONO DE VALIDACIÓN (lado derecho) */
.input-icon .validation-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  width: 20px;
  height: 20px;
  color: var(--color-success);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: all 0.4s ease;
  display: block;
}

/* ICONO DROPDOWN (lado derecho para selects) */
.input-icon .dropdown-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--color-yellow);
  pointer-events: none;
  z-index: 2;
  transition: all 0.4s ease;
  display: block;
  opacity: 1;
}

/* PARA CUSTOM SELECTS */
.custom-select-container .icon-custom {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color: var(--color-yellow);
  pointer-events: none;
  z-index: 3;
  transition: all 0.4s ease;
  display: block;
  opacity: 1;
}

.custom-select-container .dropdown-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--color-yellow);
  pointer-events: none;
  z-index: 3;
  transition: all 0.4s ease;
  display: block;
  opacity: 1;
}

/* Estados de hover */
.input-icon:hover > i[data-lucide]:not(.validation-icon) {
  color: var(--primary-color-light);
  transform: translateY(-50%) scale(1.05);
}

/* Estados de focus */
.input-icon input:focus + i[data-lucide]:not(.validation-icon),
.input-icon select:focus + i[data-lucide]:not(.validation-icon) {
  color: var(--primary-color-light);
  transform: translateY(-50%) scale(1.1);
  filter: drop-shadow(0 0 5px var(--color-yellow));
}

.field.input:focus-within .input-icon > i[data-lucide]:not(.validation-icon) {
  color: var(--primary-color-light);
  transform: translateY(-50%) scale(1.1);
  animation: iconFocusPulse 0.3s ease;
}

/* Estados de validación - MOSTRAR icono */
.field.input.valid .validation-icon {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  color: var(--color-success);
  animation: validIconBounce 0.5s ease;
}

.field.input.error .validation-icon {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  color: var(--color-error);
  animation: errorIconShake 0.5s ease;
}

/* Custom select hover states */
.selected-option:hover + * .icon-custom,
.selected-option.active + * .icon-custom {
  transform: translateY(-50%) scale(1.1);
  color: var(--primary-color-light);
  filter: drop-shadow(0 0 8px var(--color-yellow));
}

.selected-option.active ~ .dropdown-arrow {
  transform: translateY(-50%) rotate(180deg);
  color: var(--primary-color-light);
}

/* Animaciones específicas para iconos */
@keyframes iconFocusPulse {
  0%,
  100% {
    transform: translateY(-50%) scale(1.1);
  }

  50% {
    transform: translateY(-50%) scale(1.3);
    filter: drop-shadow(0 0 10px var(--color-yellow));
  }
}

@keyframes validIconBounce {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }

  50% {
    transform: translateY(-50%) scale(1.2);
  }
}

@keyframes errorIconShake {
  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }

  25% {
    transform: translateY(-50%) translateX(-3px);
  }

  75% {
    transform: translateY(-50%) translateX(3px);
  }
}

/* Iconos específicos por tipo de campo */
.input-icon input[type="text"] + i[data-lucide="folder-pen"],
.input-icon input[type="text"] + i[data-lucide="user"],
.input-icon input[name="name"] + i[data-lucide="folder-pen"] {
  color: var(--color-yellow);
  opacity: 1;
}

.input-icon input[type="email"] + i[data-lucide="at-sign"],
.input-icon input[type="email"] + i[data-lucide="mail"] {
  color: var(--color-yellow);
  opacity: 1;
}

.input-icon input[name="subject"] + i[data-lucide="folder"] {
  color: var(--color-yellow);
  opacity: 1;
}

/* Forzar visibilidad de iconos */
.input-icon i[data-lucide] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.input-icon .validation-icon {
  display: block !important;
  visibility: visible !important;
  /* La opacidad se controla por estados */
}

/* Responsive - Ajustar tamaños en móviles */
@media (max-width: 768px) {
  .input-icon input,
  .input-icon select {
    padding: 16px 50px 16px 50px;
  }

  .input-icon > i[data-lucide]:not(.validation-icon):not(.dropdown-arrow) {
    left: 18px;
    width: 20px;
    height: 20px;
  }

  .input-icon .validation-icon,
  .input-icon .dropdown-arrow {
    right: 18px;
    width: 18px;
    height: 18px;
  }

  .custom-select-container .icon-custom {
    left: 18px;
    width: 20px;
    height: 20px;
  }

  .custom-select-container .dropdown-arrow {
    right: 18px;
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .input-icon input,
  .input-icon select {
    padding: 15px 45px 15px 45px;
    font-size: 0.95rem;
  }

  .input-icon > i[data-lucide]:not(.validation-icon):not(.dropdown-arrow) {
    left: 16px;
    width: 18px;
    height: 18px;
  }

  .input-icon .validation-icon,
  .input-icon .dropdown-arrow {
    right: 16px;
    width: 16px;
    height: 16px;
  }
}

/* Debug - Para verificar que los iconos están ahí */
.debug-icons .input-icon i[data-lucide] {
  background: rgba(255, 0, 0, 0.2) !important;
  border: 1px solid red !important;
}

/* Fallback si Lucide no carga */
.input-icon i[data-lucide]:before {
  content: "📋";
  font-style: normal;
  color: var(--color-yellow);
}

/* ================================================================================
   📝 TEXTAREA PERSONALIZADA
================================================================================*/
/* Ocultar scroll del textarea */
textarea {
  overflow: hidden;
}

/* O si quieres ocultar solo la barra de scroll pero mantener funcionalidad */
textarea {
  overflow-y: scroll;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
}

textarea::-webkit-scrollbar {
  display: none;
  /* Safari y Chrome */
}

/* Si quieres scroll personalizado en lugar de oculto completamente */
textarea::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

textarea {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid var(--border-color-input);
  border-radius: 15px;
  background: var(--background-tertiary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  min-height: 140px;
  transition: all 0.4s ease;
  outline: none;
}

textarea::placeholder {
  color: var(--text-tertiary);
  line-height: 1.5;
}

textarea:focus {
  border-color: var(--primary-color);
  background: var(--background-input-focus);
  box-shadow: 0 0 0 4px var(--primary-color-alpha-20),
    0 8px 25px rgba(239, 165, 5, 0.15);
  transform: translateY(-1px);
}

.message-counter {
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 8px;
  padding: 0 5px;
  transition: color 0.3s ease;
}

.message-counter.warning {
  color: var(--color-warning);
  font-weight: 600;
}

.message-counter.danger {
  color: var(--color-error);
  font-weight: 600;
  animation: counterPulse 1s ease infinite;
}

/* ================================================================================
   🤖 RECAPTCHA CONTAINER
================================================================================*/
/* ================================================================================
   🤖 PERSONALIZACIÓN DE RECAPTCHA
================================================================================*/

/* Contenedor base del reCAPTCHA */
.captcha-container {
  text-align: center;
  margin: 25px 0;
  padding: 20px;
  background: var(--background-tertiary);
  border-radius: 15px;
  border: 1px solid var(--border-color-light);
  position: relative;
  overflow: hidden;
}

/* Efecto de brillo superior */
.captcha-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 15px 15px 0 0;
}

/* Personalización del iframe de reCAPTCHA */
.captcha-container .g-recaptcha {
  transform: scale(0.95);
  transform-origin: center;
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.captcha-container .g-recaptcha:hover {
  transform: scale(1);
  box-shadow: 0 6px 20px rgba(239, 165, 5, 0.2);
}

/* Personalizar el iframe interno (limitado por CORS) */
.captcha-container iframe {
  border-radius: 8px !important;
  border: 2px solid var(--border-color) !important;
  transition: border-color 0.3s ease !important;
}

.captcha-container:hover iframe {
  border-color: var(--primary-color) !important;
}

/* Texto informativo personalizado */
.captcha-container small {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--text-tertiary);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.captcha-container:hover small {
  color: var(--primary-color);
  opacity: 1;
}

.captcha-container small i {
  width: 16px;
  height: 16px;
  animation: shieldPulse 2s ease-in-out infinite;
}

/* Animación del icono de escudo */
@keyframes shieldPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px var(--primary-color));
  }
}

/* Estado de loading/verificando */
.captcha-container.verifying {
  background: var(--primary-color-alpha-10);
  border-color: var(--primary-color);
}

.captcha-container.verifying::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(239, 165, 5, 0.2),
    transparent
  );
  animation: verifyingScan 2s linear infinite;
}

@keyframes verifyingScan {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

/* Estado verificado/éxito */
.captcha-container.verified {
  background: var(--background-success-light);
  border-color: var(--color-success);
  transform: scale(1.02);
}

.captcha-container.verified small {
  color: var(--color-success);
}

.captcha-container.verified small::after {
  content: " ✓";
  font-weight: bold;
  margin-left: 4px;
}

/* Estado de error */
.captcha-container.error {
  background: var(--background-error-light);
  border-color: var(--color-error);
  animation: errorShake 0.5s ease;
}

.captcha-container.error small {
  color: var(--color-error);
}

@keyframes errorShake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

/* Personalización del tema oscuro */
.captcha-container[data-theme="dark"] {
  background: var(--background-secondary);
  border-color: var(--border-color-dark);
}

/* Responsive */
@media (max-width: 768px) {
  .captcha-container {
    padding: 15px;
    margin: 20px 0;
  }

  .captcha-container .g-recaptcha {
    transform: scale(0.9);
  }

  .captcha-container .g-recaptcha:hover {
    transform: scale(0.95);
  }
}

@media (max-width: 480px) {
  .captcha-container {
    padding: 12px;
    border-radius: 12px;
  }

  .captcha-container .g-recaptcha {
    transform: scale(0.85);
  }

  .captcha-container small {
    font-size: 0.8rem;
    flex-direction: column;
    gap: 4px;
  }
}

/* ================================================================================
   🔘 BOTÓN FUTURISTA
================================================================================*/

.btn-futuristic.btn-small {
  width: 100%;
  padding: 20px 30px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 15px;
  color: var(--background-primary);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px var(--primary-color-alpha-30),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 30px 0;
}

.btn-futuristic::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-btn-shine);
  transition: left 0.6s ease;
  z-index: 1;
}

.btn-futuristic::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  z-index: 2;
}

.btn-futuristic:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px var(--primary-color-alpha-50),
    inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 60px rgba(239, 165, 5, 0.3);
  background: var(--primary-color-hover);
}

.btn-futuristic:hover::before {
  left: 100%;
}

.btn-futuristic:hover::after {
  width: 200%;
  height: 200%;
}

.btn-futuristic:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 5px 20px var(--primary-color-alpha-30);
}

.btn-futuristic:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  background: var(--color-gray);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-futuristic i,
.btn-futuristic span {
  position: relative;
  z-index: 3;
}

.btn-futuristic i {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ================================================================================
   🎨 CUSTOM SELECT FUTURISTA
================================================================================*/

.custom-select-container {
  position: relative;
  width: 100%;
}

.selected-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--spacing-md);
  padding-left: 50px;
  padding-right: 50px;
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-family: var(--font-family-primary);
  cursor: pointer;
  transition: var(--transition-all);
  outline: none;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.selected-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color-alpha-10),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 1;
}

.selected-option:hover::before {
  transform: translateX(100%);
}

.selected-option:hover {
  border-color: var(--color-yellow);
  box-shadow: var(--box-shadow-form-focus);
  background: var(--background-input-focus);
}

.selected-option.active {
  border-color: var(--color-yellow);
  box-shadow: var(--box-shadow-form-focus);
}

.selected-option.placeholder {
  color: var(--placeholder-color);
  opacity: 0.7;
}

.custom-select-container .icon-custom {
  position: absolute;
  left: var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--color-yellow);
  pointer-events: none;
  z-index: 3;
  transition: var(--transition-all);
}

.options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background-tertiary);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
  box-shadow: var(--box-shadow-enhanced-sidebar);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
  backdrop-filter: var(--backdrop-filter-blur-sm);
}

.custom-select-container.active .options {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
  border-color: var(--color-yellow);
}

.options li {
  position: relative;
  overflow: hidden;
}

.options li input[type="radio"] {
  display: none;
}

.options li label.op {
  display: flex;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-all);
  position: relative;
  font-size: var(--font-size-base);
  border-bottom: 1px solid var(--border-color);
  user-select: none;
}

.options li:last-child label.op {
  border-bottom: none;
}

.options li label.op::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(
    90deg,
    var(--primary-color-alpha-20),
    var(--primary-color-alpha-10)
  );
  transition: width 0.3s ease;
  z-index: 1;
}

.options li label.op:hover::before {
  width: 100%;
}

.options li label.op:hover {
  color: var(--color-yellow);
  background: var(--primary-color-alpha-10);
  transform: translateX(5px);
  border-left: 3px solid var(--color-yellow);
}

.options li input[type="radio"]:checked + label.op {
  background: var(--primary-color-alpha-20);
  color: var(--color-yellow);
  border-left: 3px solid var(--color-yellow);
  font-weight: var(--font-weight-medium);
}

.options li input[type="radio"]:checked + label.op::after {
  content: "✓";
  position: absolute;
  right: var(--spacing-md);
  color: var(--color-yellow);
  font-weight: bold;
}

.options li {
  opacity: 0;
  transform: translateX(-20px);
  animation: none;
}

.custom-select-container.active .options li {
  animation: optionSlideIn 0.3s ease-out forwards;
}

.custom-select-container.active .options li:nth-child(1) {
  animation-delay: 0.05s;
}

.custom-select-container.active .options li:nth-child(2) {
  animation-delay: 0.1s;
}

.custom-select-container.active .options li:nth-child(3) {
  animation-delay: 0.15s;
}

.custom-select-container.active .options li:nth-child(4) {
  animation-delay: 0.2s;
}

.custom-select-container.active .options li:nth-child(5) {
  animation-delay: 0.25s;
}

/* ================================================================================
   🎯 ESTADOS DE PRIORIDAD Y CATEGORÍA
================================================================================*/

/* Estados de prioridad */
.priority-low {
  color: #10b981;
}

.priority-normal {
  color: #3b82f6;
}

.priority-high {
  color: #f59e0b;
}

.priority-urgent {
  color: #ef4444;
  animation: var(--animation-pulse-icon);
}

/* Estados de categoría */
.category-technical {
  color: #ef4444;
  border-left-color: #ef4444 !important;
}

.category-account {
  color: #3b82f6;
  border-left-color: #3b82f6 !important;
}

.category-billing {
  color: #f59e0b;
  border-left-color: #f59e0b !important;
}

.category-general {
  color: #10b981;
  border-left-color: #10b981 !important;
}

/* Efectos especiales para opciones seleccionadas */
.options li input[value="urgent"]:checked + label.op::before {
  background: linear-gradient(
    90deg,
    rgba(239, 68, 68, 0.2),
    rgba(239, 68, 68, 0.1)
  );
  animation: var(--animation-pulse-icon);
}

.options li input[value="technical"]:checked + label.op::before {
  background: linear-gradient(
    90deg,
    rgba(239, 68, 68, 0.2),
    rgba(239, 68, 68, 0.1)
  );
}

.options li input[value="account"]:checked + label.op::before {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.2),
    rgba(59, 130, 246, 0.1)
  );
}

.options li input[value="billing"]:checked + label.op::before {
  background: linear-gradient(
    90deg,
    rgba(245, 158, 11, 0.2),
    rgba(245, 158, 11, 0.1)
  );
}

.options li input[value="general"]:checked + label.op::before {
  background: linear-gradient(
    90deg,
    rgba(16, 185, 129, 0.2),
    rgba(16, 185, 129, 0.1)
  );
}

/* Hover effects para categorías */
.category-technical:hover {
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.category-account:hover {
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.category-billing:hover {
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.category-general:hover {
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

/* ================================================================================
   💬 HELP TEXT DINÁMICO
================================================================================*/

.priority-help,
.category-help {
  margin-top: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--primary-color-alpha-10);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition-all);
  max-height: 0;
  overflow: hidden;
}

.priority-help.show,
.category-help.show {
  opacity: 1;
  transform: translateY(0);
  max-height: 120px;
}

/* Colores específicos para help text de prioridad */
.priority-help.low {
  border-left: 4px solid #10b981;
}

.priority-help.normal {
  border-left: 4px solid #3b82f6;
}

.priority-help.high {
  border-left: 4px solid #f59e0b;
}

.priority-help.urgent {
  border-left: 4px solid #ef4444;
  animation: var(--animation-alert-scan);
}

/* Colores específicos para help text de categoría */
.category-help.technical {
  border-left: 4px solid #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.category-help.account {
  border-left: 4px solid #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.category-help.billing {
  border-left: 4px solid #f59e0b;
  background: rgba(245, 158, 11, 0.05);
}

.category-help.general {
  border-left: 4px solid #10b981;
  background: rgba(16, 185, 129, 0.05);
}

/* ================================================================================
   🔒 OVERLAY Y VALIDACIONES
================================================================================*/

.dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: transparent;
  display: none;
}

.dropdown-overlay.active {
  display: block;
}

.field.input.error .selected-option {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.field.input.success .selected-option {
  border-color: var(--color-success);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* ================================================================================
   🎬 ANIMACIONES
================================================================================*/

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headphonesPulse {
  0%,
  100% {
    transform: scale(1);
    color: var(--primary-color);
  }

  50% {
    transform: scale(1.1);
    color: var(--primary-color-hover);
    filter: drop-shadow(0 0 10px rgba(239, 165, 5, 0.5));
  }
}

@keyframes ticketSpin {
  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(5deg);
  }

  50% {
    transform: rotate(0deg);
  }

  75% {
    transform: rotate(-5deg);
  }
}

@keyframes iconGlow {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
    filter: drop-shadow(0 0 8px currentColor);
  }
}

@keyframes shieldRotate {
  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(5deg);
  }

  75% {
    transform: rotate(-5deg);
  }
}

@keyframes zapFlash {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px currentColor);
  }
}

@keyframes validBounce {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }

  50% {
    transform: translateY(-50%) scale(1.2);
  }
}

@keyframes errorShake {
  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }

  25% {
    transform: translateY(-50%) translateX(-3px);
  }

  75% {
    transform: translateY(-50%) translateX(3px);
  }
}

@keyframes iconFocus {
  0%,
  100% {
    transform: translateY(-50%) scale(1.1);
  }

  50% {
    transform: translateY(-50%) scale(1.3);
  }
}

@keyframes counterPulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes borderGlow {
  0% {
    opacity: 0.05;
  }

  100% {
    opacity: 0.15;
  }
}

@keyframes optionSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================================================================================
   🎯 ANIMACIONES DE ENTRADA ESCALONADAS
================================================================================*/

.recovery-info:nth-child(1) {
  animation: fadeInUp 0.8s ease 0.3s both;
}

.recovery-info:nth-child(2) {
  animation: fadeInUp 0.8s ease 0.5s both;
}

.security-note {
  animation: fadeInUp 0.8s ease 0.7s both;
}

.help-section {
  animation: fadeInUp 0.8s ease 0.9s both;
}

.field:nth-child(1) {
  animation: fadeInUp 0.8s ease 0.4s both;
}

.field:nth-child(2) {
  animation: fadeInUp 0.8s ease 0.5s both;
}

.field:nth-child(3) {
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* ================================================================================
   📱 RESPONSIVE DESIGN
================================================================================*/

@media (max-width: 1200px) {
  .main-column-login {
    grid-template-columns: 1fr 2.5fr;
    gap: 30px;
  }

  .col_4_login {
    display: none;
  }
}

@media (max-width: 900px) {
  .main-column-login {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .col_2_login {
    order: 2;
    padding: 35px 30px;
  }

  .col_3_login {
    order: 1;
  }

  .container_login {
    max-width: 100%;
    padding: 40px 30px;
  }

  .help-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .col_1_main_header {
    padding: 15px;
  }

  .col_2_login,
  .container_login {
    padding: 30px 25px;
  }

  .col_2_login h1 {
    font-size: 1.9rem;
    flex-direction: column;
    gap: 12px;
  }

  .form_login h2 {
    font-size: 1.6rem;
    flex-direction: column;
    gap: 12px;
  }

  .recovery-info,
  .help-section,
  .security-note {
    padding: 25px 20px;
  }

  .input-icon input,
  .input-icon select {
    padding: 16px 50px 16px 50px;
    font-size: 1rem;
  }

  .selected-option {
    padding: var(--spacing-sm) var(--spacing-md);
    padding-left: 45px;
    padding-right: 45px;
    font-size: var(--font-size-sm);
  }

  .btn-futuristic {
    padding: 18px 25px;
    font-size: 1rem;
  }

  textarea {
    padding: 16px 18px;
    min-height: 120px;
    font-size: 0.95rem;
  }

  .captcha-container {
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .col_2_login,
  .container_login {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .col_2_login h1 {
    font-size: 1.7rem;
  }

  .form_login h2 {
    font-size: 1.4rem;
  }

  .recovery-info,
  .help-section,
  .security-note {
    padding: 20px 18px;
  }

  .input-icon input,
  .input-icon select {
    padding: 15px 45px 15px 45px;
    font-size: 0.95rem;
  }

  .input-icon i:first-of-type {
    left: 18px;
    width: 20px;
    height: 20px;
  }

  .input-icon .validation-icon {
    right: 18px;
    width: 18px;
    height: 18px;
  }

  .custom-select-container .icon-custom,
  .dropdown-arrow {
    width: 18px;
    height: 18px;
  }

  .custom-select-container .icon-custom {
    left: var(--spacing-sm);
  }

  .dropdown-arrow {
    right: var(--spacing-sm);
  }

  .options li label.op {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
  }

  .btn-futuristic {
    padding: 16px 22px;
    font-size: 0.95rem;
  }

  textarea {
    padding: 15px 16px;
    min-height: 110px;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .col_2_login,
  .container_login {
    padding: 20px 15px;
  }

  .col_2_login h1 {
    font-size: 1.5rem;
  }

  .form_login h2 {
    font-size: 1.3rem;
  }

  .recovery-info,
  .help-section,
  .security-note {
    padding: 18px 15px;
  }

  .input-icon input,
  .input-icon select {
    padding: 14px 42px 14px 42px;
    font-size: 0.9rem;
  }

  .input-icon i:first-of-type {
    left: 16px;
    width: 18px;
    height: 18px;
  }

  .btn-futuristic {
    padding: 15px 20px;
    font-size: 0.9rem;
  }

  textarea {
    padding: 14px 15px;
    min-height: 100px;
    font-size: 0.85rem;
  }

  .captcha-container {
    padding: 15px 12px;
  }

  .message-counter {
    font-size: 0.8rem;
  }
}

/* ================================================================================
   🌙 MODO OSCURO
================================================================================*/

@media (prefers-color-scheme: dark) {
  body {
    --background-primary: #0a0a0a;
    --background-secondary: #111111;
    --background-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.9);
    --text-tertiary: rgba(255, 255, 255, 0.6);
  }

  .col_2_login,
  .container_login {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6),
      0 0 0 1px rgba(239, 165, 5, 0.15);
  }

  .col_2_login:hover,
  .container_login:hover {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7),
      0 0 0 1px rgba(239, 165, 5, 0.25), 0 0 60px rgba(239, 165, 5, 0.15);
  }
}

/* ================================================================================
   🖨️ PRINT STYLES
================================================================================*/

@media print {
  body {
    background: white !important;
    color: black !important;
  }

  .col_2_login,
  .container_login {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    background: white !important;
  }

  .btn-futuristic,
  .help-links,
  .captcha-container {
    display: none !important;
  }

  .col_2_login h1,
  .form_login h2 {
    color: #333 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
  }

  .recovery-info,
  .security-note,
  .help-section {
    border: 1px solid #ddd !important;
    background: #f9f9f9 !important;
  }
}
