@import url(https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap);
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* ============================================
   PERCIVAL SHOP REGISTRO - ULTRA PROFESSIONAL
   Mobile-First Design 2025
   ============================================ */

:root {
  --bg: #0a0a0a;
  --bg-card: rgba(15, 15, 15, 0.95);
  --text: #e9ecef;
  --muted: #b7bcc4;
  --stroke: rgba(255, 255, 255, 0.12);
  --red: #e50914;
  --red-2: #ff1a25;
  --red-3: #a20810;
  --gold: #d4af37;
  --gold-2: #f0d574;
  --gold-3: #b8860b;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
  
  --blur-sm: 8px;
  --blur-md: 16px;
  --blur-lg: 24px;
  
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   RESET & BASE
   ============================================ */

.registro-container * {
  box-sizing: border-box;
}

.registro-container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  color: #e9ecef;
  color: var(--text);
  background: #0a0a0a;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   BACKGROUND ANIMADO
   ============================================ */

.registro-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(229, 9, 20, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #151515 50%, #0a0a0a 100%);
  animation: registroBackgroundPulse 15s ease-in-out infinite;
}

@keyframes registroBackgroundPulse {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.95; 
    transform: scale(1.02);
  }
}

.registro-bg-gradient {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg at 50% 50%, 
    transparent 0deg, 
    rgba(212, 175, 55, 0.06) 90deg, 
    transparent 180deg,
    rgba(229, 9, 20, 0.04) 270deg,
    transparent 360deg
  );
  animation: registroRotateGradient 40s linear infinite;
  will-change: transform;
}

@keyframes registroRotateGradient {
  to { transform: rotate(360deg); }
}

/* ============================================
   CONTENT PRINCIPAL
   ============================================ */

.registro-content {
  position: relative;
  z-index: 1;
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  width: 100%;
}

.registro-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

/* ============================================
   MOBILE HEADER - ÚNICO PARA MÓVIL
   ============================================ */

.registro-mobile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem 1.5rem;
  animation: registroMobileHeaderSlide 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  animation: registroMobileHeaderSlide 0.8s var(--ease-smooth);
}

@keyframes registroMobileHeaderSlide {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.registro-mobile-logo {
  width: 80px;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: registroMobileLogoFloat 3s ease-in-out infinite;
}

@keyframes registroMobileLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.registro-mobile-logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  animation: registroMobileLogoSpin 8s linear infinite;
  opacity: 0.9;
}

@keyframes registroMobileLogoSpin {
  to { transform: rotate(360deg); }
}

.registro-mobile-logo-ring::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #0a0a0a;
  background: var(--bg);
}

.registro-mobile-logo-ring::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  opacity: 0.2;
  filter: blur(15px);
  animation: registroMobileLogoPulse 2s ease-in-out infinite;
}

@keyframes registroMobileLogoPulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.1); }
}

.registro-mobile-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
}

.registro-mobile-logo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.registro-mobile-title {
  font-size: 2rem;
  font-weight: 900;
  margin: 0;
  background: linear-gradient(135deg, #d4af37 0%, #f0d574 50%, #d4af37 100%);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 50%, var(--gold) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: registroGoldShimmer 3s ease-in-out infinite;
  letter-spacing: -0.02em;
}

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

.registro-mobile-subtitle {
  font-size: 0.95rem;
  color: #b7bcc4;
  color: var(--muted);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: registroFadeIn 0.6s ease-out 0.3s forwards;
}

@keyframes registroFadeIn {
  to { opacity: 1; }
}

/* ============================================
   PANEL IZQUIERDO - SOLO DESKTOP
   ============================================ */

.registro-welcome {
  display: none;
}

/* ============================================
   CARD DE REGISTRO
   ============================================ */

.registro-card {
  background: rgba(15, 15, 15, 0.95);
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  backdrop-filter: blur(var(--blur-lg));
  -webkit-backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(var(--blur-lg));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 0;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  box-shadow: 
    var(--shadow-xl),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  animation: registroCardSlideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
  animation: registroCardSlideUp 0.6s var(--ease-smooth) 0.2s both;
}

@keyframes registroCardSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.registro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    #d4af37 30%, 
    #f0d574 50%,
    #d4af37 70%,
    transparent);
  background: linear-gradient(90deg, 
    transparent, 
    var(--gold) 30%, 
    var(--gold-2) 50%,
    var(--gold) 70%,
    transparent);
  animation: registroScanLine 3s ease-in-out infinite;
}

@keyframes registroScanLine {
  0%, 100% { opacity: 0; transform: translateX(-100%); }
  50% { opacity: 1; transform: translateX(100%); }
}

.registro-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    #d4af37, 
    transparent);
  background: linear-gradient(90deg, 
    transparent, 
    var(--gold), 
    transparent);
  transform: translateX(-50%);
  opacity: 0.3;
}

.registro-card-header {
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  position: relative;
}

.registro-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, #e9ecef 0%, #b7bcc4 100%);
  background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.registro-card-description {
  color: #b7bcc4;
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

/* ============================================
   FORMULARIO
   ============================================ */

.registro-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0 1.5rem;
}

.registro-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: registroFieldSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
  animation: registroFieldSlide 0.4s var(--ease-smooth) backwards;
}

.registro-field:nth-child(1) { animation-delay: 0.3s; }
.registro-field:nth-child(2) { animation-delay: 0.35s; }
.registro-field:nth-child(3) { animation-delay: 0.4s; }
.registro-field:nth-child(4) { animation-delay: 0.45s; }
.registro-field:nth-child(5) { animation-delay: 0.5s; }
.registro-field:nth-child(6) { animation-delay: 0.55s; }

@keyframes registroFieldSlide {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.registro-field-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e9ecef;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.registro-field-icon {
  font-size: 1rem;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
}

.registro-field-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border: 1.5px solid var(--stroke);
  border-radius: 14px;
  color: #e9ecef;
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s var(--ease-smooth);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.registro-field-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #d4af37;
  border-color: var(--gold);
  box-shadow: 
    0 0 0 4px rgba(212, 175, 55, 0.12),
    0 4px 16px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.registro-field-input::placeholder {
  color: #b7bcc4;
  color: var(--muted);
  opacity: 0.5;
}

.registro-field-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.registro-field-input-error {
  border-color: #e50914;
  border-color: var(--red);
  animation: registroShake 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: registroShake 0.4s var(--ease-smooth);
}

@keyframes registroShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(10px); }
  60% { transform: translateX(-10px); }
  80% { transform: translateX(10px); }
}

.registro-field-hint {
  font-size: 0.75rem;
  color: #b7bcc4;
  color: var(--muted);
  opacity: 0.7;
  margin-top: -0.25rem;
}

/* ============================================
   PASSWORD FIELD
   ============================================ */

.registro-field-password {
  position: relative;
  display: flex;
  align-items: center;
}

.registro-field-password .registro-field-input {
  padding-right: 3.5rem;
}

.registro-field-toggle {
  position: absolute;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: all 0.3s var(--ease-bounce);
  opacity: 0.6;
  border-radius: 8px;
}

.registro-field-toggle:hover {
  opacity: 1;
  background: rgba(212, 175, 55, 0.1);
  transform: scale(1.1);
}

.registro-field-toggle:active {
  transform: scale(0.95);
}

/* ============================================
   PHONE SELECTOR
   ============================================ */

.registro-field-phone {
  display: flex;
  gap: 0.5rem;
  position: relative;
}

.registro-phone-selector {
  position: relative;
  flex-shrink: 0;
}

.registro-phone-toggle {
  min-width: 90px;
  height: 54px;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border: 1.5px solid var(--stroke);
  border-radius: 14px;
  color: #e9ecef;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s var(--ease-smooth);
  outline: none;
}

.registro-phone-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #d4af37;
  border-color: var(--gold);
}

.registro-phone-toggle:focus {
  border-color: #d4af37;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.registro-phone-flag {
  font-size: 1.25rem;
}

.registro-phone-code {
  font-weight: 600;
}

.registro-phone-arrow {
  font-size: 0.7rem;
  opacity: 0.6;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.3s var(--ease-smooth);
}

.registro-phone-toggle:hover .registro-phone-arrow {
  transform: translateY(2px);
}

.registro-phone-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  width: 280px;
  max-height: 300px;
  background: rgba(15, 15, 15, 0.95);
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  backdrop-filter: blur(var(--blur-lg));
  -webkit-backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(var(--blur-lg));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  z-index: 100;
  animation: registroDropdownSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: registroDropdownSlide 0.3s var(--ease-smooth);
}

@keyframes registroDropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.registro-phone-dropdown-scroll {
  max-height: 300px;
  overflow-y: auto;
  padding: 0.5rem;
}

.registro-phone-dropdown-scroll::-webkit-scrollbar {
  width: 8px;
}

.registro-phone-dropdown-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.registro-phone-dropdown-scroll::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--gold);
  border-radius: 4px;
}

.registro-phone-dropdown-scroll::-webkit-scrollbar-thumb:hover {
  background: #f0d574;
  background: var(--gold-2);
}

.registro-phone-option {
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: #e9ecef;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.2s var(--ease-smooth);
  text-align: left;
}

.registro-phone-option:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateX(4px);
}

.registro-phone-option-selected {
  background: rgba(212, 175, 55, 0.15);
  border-left: 3px solid #d4af37;
  border-left: 3px solid var(--gold);
}

.registro-phone-option-flag {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.registro-phone-option-code {
  font-weight: 600;
  min-width: 50px;
}

.registro-phone-option-name {
  color: #b7bcc4;
  color: var(--muted);
  font-size: 0.85rem;
}

.registro-phone-input {
  flex: 1 1;
}

/* ============================================
   CHECKBOX (TÉRMINOS)
   ============================================ */

.registro-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  animation: registroFieldSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.6s backwards;
  animation: registroFieldSlide 0.4s var(--ease-smooth) 0.6s backwards;
}

.registro-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  width: 100%;
}

.registro-checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.registro-checkbox-custom {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--stroke);
  border-radius: 6px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.registro-checkbox-input:checked + .registro-checkbox-custom {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-color: #d4af37;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.registro-checkbox-input:checked + .registro-checkbox-custom::after {
  content: '✓';
  color: #0a0a0a;
  font-size: 1rem;
  font-weight: 900;
  position: absolute;
}

.registro-checkbox-input:focus + .registro-checkbox-custom {
  border-color: #d4af37;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.registro-checkbox-text {
  font-size: 0.9rem;
  color: #b7bcc4;
  color: var(--muted);
  line-height: 1.5;
}

.registro-checkbox-link {
  color: #d4af37;
  color: var(--gold);
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: color 0.3s var(--ease-smooth);
}

.registro-checkbox-link:hover {
  color: #f0d574;
  color: var(--gold-2);
}

/* ============================================
   ALERTS
   ============================================ */

.registro-alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
  animation: registroAlertSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: registroAlertSlide 0.4s var(--ease-smooth);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(var(--blur-sm));
          backdrop-filter: blur(var(--blur-sm));
}

@keyframes registroAlertSlide {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.registro-alert-error {
  background: rgba(229, 9, 20, 0.12);
  border: 1.5px solid rgba(229, 9, 20, 0.4);
  color: #ff1a25;
  color: var(--red-2);
}

.registro-alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1.5px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.registro-alert-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.registro-alert-message {
  flex: 1 1;
  font-weight: 500;
}

/* ============================================
   SUBMIT BUTTON
   ============================================ */

.registro-submit {
  width: 100%;
  min-height: 56px;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #d4af37 0%, #f0d574 100%);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  border: none;
  border-radius: 14px;
  color: #0a0a0a;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 
    0 4px 20px rgba(212, 175, 55, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: registroSubmitAppear 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.7s both;
  animation: registroSubmitAppear 0.5s var(--ease-bounce) 0.7s both;
}

@keyframes registroSubmitAppear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.registro-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.6s var(--ease-smooth);
}

.registro-submit:hover:not(:disabled)::before {
  transform: translateX(100%);
}

.registro-submit:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 30px rgba(212, 175, 55, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.registro-submit:active:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 
    0 4px 15px rgba(212, 175, 55, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.registro-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.registro-submit-loading {
  pointer-events: none;
}

.registro-submit-icon {
  font-size: 1.3rem;
}

.registro-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, 0.2);
  border-top-color: #0a0a0a;
  border-radius: 50%;
  animation: registroSpinRotate 0.7s linear infinite;
}

@keyframes registroSpinRotate {
  to { transform: rotate(360deg); }
}

/* ============================================
   DIVIDER
   ============================================ */

.registro-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  opacity: 0;
  animation: registroFadeIn 0.5s ease-out 0.8s forwards;
}

.registro-divider-line {
  flex: 1 1;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.12) 50%, 
    transparent);
  background: linear-gradient(90deg, 
    transparent, 
    var(--stroke) 50%, 
    transparent);
}

.registro-divider-text {
  color: #b7bcc4;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   CARD FOOTER
   ============================================ */

.registro-card-footer {
  padding: 0 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: registroFadeIn 0.5s ease-out 0.9s both;
}

.registro-back {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 2rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--stroke);
  border-radius: 14px;
  color: #e9ecef;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.registro-back::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(212, 175, 55, 0.05), 
    rgba(212, 175, 55, 0.15),
    rgba(212, 175, 55, 0.05));
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: opacity 0.3s var(--ease-smooth);
}

.registro-back:hover {
  border-color: #d4af37;
  border-color: var(--gold);
  color: #d4af37;
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 
    0 4px 20px rgba(212, 175, 55, 0.3),
    inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.registro-back:hover::before {
  opacity: 1;
}

.registro-back:active {
  transform: translateY(0);
}

.registro-back-icon {
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.3s var(--ease-smooth);
}

.registro-back:hover .registro-back-icon {
  transform: translateX(-4px);
}

/* ============================================
   PLATAFORMAS MOBILE
   ============================================ */

.registro-mobile-platforms {
  padding: 1.5rem 1.5rem 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--stroke);
  animation: registroFadeIn 0.5s ease-out 1s both;
}

.registro-mobile-platforms-title {
  text-align: center;
  color: #b7bcc4;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.registro-mobile-platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 0.75rem;
  gap: 0.75rem;
  padding: 0 0.5rem;
}

.registro-mobile-platforms-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: brightness(0.8) saturate(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s var(--ease-smooth);
  border-radius: 8px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
}

.registro-mobile-platforms-grid img:hover {
  filter: brightness(1) saturate(1);
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   FOOTER
   ============================================ */

.registro-footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--stroke);
  background: rgba(10, 10, 10, 0.9);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(var(--blur-sm));
          backdrop-filter: blur(var(--blur-sm));
}

.registro-footer p {
  margin: 0;
  color: #b7bcc4;
  color: var(--muted);
  font-size: 0.85rem;
}

.registro-footer-sub {
  margin-top: 0.25rem !important;
  font-size: 0.75rem !important;
  opacity: 0.7;
}

/* ============================================
   DESKTOP - MEDIA QUERY (min-width: 1024px)
   ============================================ */

@media (min-width: 1024px) {
  .registro-content {
    padding: 2rem;
  }

  .registro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 4rem;
    gap: 4rem;
    max-width: 1200px;
  }

  /* Ocultar header mobile en desktop */
  .registro-mobile-header {
    display: none;
  }

  /* Mostrar welcome panel en desktop */
  .registro-welcome {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    animation: registroSlideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: registroSlideInLeft 0.8s var(--ease-smooth);
  }

  @keyframes registroSlideInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .registro-brand {
    position: relative;
  }

  .registro-brand::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #d4af37 0%, #f0d574 50%, #d4af37 100%);
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 50%, var(--gold) 100%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    animation: registroGlowPulse 2s ease-in-out infinite;
  }

  @keyframes registroGlowPulse {
    0%, 100% {
      opacity: 1;
      box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    }
    50% {
      opacity: 0.6;
      box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
    }
  }

  .registro-logo-glow {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #d4af37 0%, transparent 70%);
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(20px);
    animation: registroLogoGlowPulse 3s ease-in-out infinite;
  }

  @keyframes registroLogoGlowPulse {
    0%, 100% { opacity: 0.3; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateY(-50%) scale(1.2); }
  }

  .registro-brand-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .registro-brand-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
    animation: registroLogoFloat 3s ease-in-out infinite;
  }

  @keyframes registroLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  .registro-brand-logo-fallback {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: linear-gradient(135deg, #d4af37, #f0d574);
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    border-radius: 50%;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
  }

  .registro-brand-text {
    flex: 1 1;
  }

  .registro-brand-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 0.5rem 0;
  }

  .registro-brand-subtitle {
    font-size: 1.1rem;
  }

  .registro-platforms {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
  }

  .registro-platform-item {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(var(--blur-sm));
            backdrop-filter: blur(var(--blur-sm));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    animation: registroScaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
    animation: registroScaleIn 0.5s var(--ease-bounce) backwards;
  }

  .registro-platform-item:nth-child(1) { animation-delay: 0.1s; }
  .registro-platform-item:nth-child(2) { animation-delay: 0.2s; }
  .registro-platform-item:nth-child(3) { animation-delay: 0.3s; }
  .registro-platform-item:nth-child(4) { animation-delay: 0.4s; }
  .registro-platform-item:nth-child(5) { animation-delay: 0.5s; }

  @keyframes registroScaleIn {
    from {
      opacity: 0;
      transform: scale(0.7);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .registro-platform-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.1));
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: opacity 0.4s var(--ease-smooth);
  }

  .registro-platform-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: #d4af37;
    border-color: var(--gold);
    box-shadow: 
      0 10px 35px rgba(212, 175, 55, 0.3),
      0 0 0 1px rgba(212, 175, 55, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .registro-platform-item:hover::before {
    opacity: 1;
  }

  .registro-platform-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: filter 0.3s var(--ease-smooth);
    position: relative;
    z-index: 1;
  }

  .registro-platform-item:hover img {
    filter: brightness(1.1);
  }

  .registro-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .registro-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    animation: registroSlideInLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    animation: registroSlideInLeft 0.5s var(--ease-smooth) backwards;
  }

  .registro-feature:nth-child(1) { animation-delay: 0.6s; }
  .registro-feature:nth-child(2) { animation-delay: 0.7s; }
  .registro-feature:nth-child(3) { animation-delay: 0.8s; }

  .registro-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #d4af37, #f0d574);
    background: linear-gradient(180deg, var(--gold), var(--gold-2));
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.3s var(--ease-smooth);
  }

  .registro-feature:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(8px);
  }

  .registro-feature:hover::before {
    transform: translateX(0);
  }

  .registro-feature-icon {
    font-size: 1.5rem;
  }

  .registro-feature-text {
    font-size: 1rem;
    font-weight: 500;
  }

  /* Card en desktop */
  .registro-card {
    padding: 0;
    animation: registroSlideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: registroSlideInRight 0.8s var(--ease-smooth);
  }

  @keyframes registroSlideInRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .registro-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 
      0 25px 80px rgba(0, 0, 0, 0.7),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .registro-card-header {
    padding: 3rem 2.5rem 1.5rem;
  }

  .registro-card-title {
    font-size: 2rem;
  }

  .registro-form {
    padding: 0 2.5rem;
  }

  .registro-divider {
    padding: 1.5rem 2.5rem 1rem;
  }

  .registro-card-footer {
    padding: 0 2.5rem 3rem;
  }

  /* Ocultar plataformas mobile */
  .registro-mobile-platforms {
    display: none;
  }

  .registro-footer {
    padding: 2rem 1rem;
  }

  .registro-footer p {
    font-size: 0.9rem;
  }
}

/* ============================================
   ACCESIBILIDAD - PREFERS REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .registro-bg-gradient,
  .registro-mobile-logo,
  .registro-mobile-logo-ring {
    animation: none !important;
  }
}

/* ============================================
   MEJORAS TÁCTILES PARA MOBILE
   ============================================ */

@media (hover: none) and (pointer: coarse) {
  .registro-field-input,
  .registro-submit,
  .registro-back,
  .registro-field-toggle,
  .registro-phone-toggle {
    min-height: 48px;
  }
}

/* ============================================
   PERCIVAL SHOP LOGIN - ULTRA PROFESSIONAL
   Mobile-First Design 2025
   ============================================ */

:root {
  --bg: #0a0a0a;
  --bg-card: rgba(15, 15, 15, 0.95);
  --text: #e9ecef;
  --muted: #b7bcc4;
  --stroke: rgba(255, 255, 255, 0.12);
  --red: #e50914;
  --red-2: #ff1a25;
  --red-3: #a20810;
  --gold: #d4af37;
  --gold-2: #f0d574;
  --gold-3: #b8860b;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
  
  --blur-sm: 8px;
  --blur-md: 16px;
  --blur-lg: 24px;
  
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   RESET & BASE
   ============================================ */

.login-container * {
  box-sizing: border-box;
}

.login-container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  color: #e9ecef;
  color: var(--text);
  background: #0a0a0a;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   BACKGROUND ANIMADO
   ============================================ */

.login-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(229, 9, 20, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #151515 50%, #0a0a0a 100%);
  animation: loginBackgroundPulse 15s ease-in-out infinite;
}

@keyframes loginBackgroundPulse {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.95; 
    transform: scale(1.02);
  }
}

.login-bg-gradient {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg at 50% 50%, 
    transparent 0deg, 
    rgba(212, 175, 55, 0.06) 90deg, 
    transparent 180deg,
    rgba(229, 9, 20, 0.04) 270deg,
    transparent 360deg
  );
  animation: loginRotateGradient 40s linear infinite;
  will-change: transform;
}

@keyframes loginRotateGradient {
  to { transform: rotate(360deg); }
}

/* ============================================
   CONTENT PRINCIPAL
   ============================================ */

.login-content {
  position: relative;
  z-index: 1;
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  width: 100%;
}

.login-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

/* ============================================
   MOBILE HEADER - ÚNICO PARA MÓVIL
   ============================================ */

.login-mobile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem 1.5rem;
  animation: loginMobileHeaderSlide 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  animation: loginMobileHeaderSlide 0.8s var(--ease-smooth);
}

@keyframes loginMobileHeaderSlide {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-mobile-logo {
  width: 80px;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loginMobileLogoFloat 3s ease-in-out infinite;
}

@keyframes loginMobileLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.login-mobile-logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  animation: loginMobileLogoSpin 8s linear infinite;
  opacity: 0.9;
}

@keyframes loginMobileLogoSpin {
  to { transform: rotate(360deg); }
}

.login-mobile-logo-ring::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #0a0a0a;
  background: var(--bg);
}

.login-mobile-logo-ring::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  opacity: 0.2;
  filter: blur(15px);
  animation: loginMobileLogoPulse 2s ease-in-out infinite;
}

@keyframes loginMobileLogoPulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.1); }
}

.login-mobile-logo-text {
  position: relative;
  z-index: 2;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.login-mobile-title {
  font-size: 2rem;
  font-weight: 900;
  margin: 0;
  background: linear-gradient(135deg, #d4af37 0%, #f0d574 50%, #d4af37 100%);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 50%, var(--gold) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: loginGoldShimmer 3s ease-in-out infinite;
  letter-spacing: -0.02em;
}

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

.login-mobile-subtitle {
  font-size: 0.95rem;
  color: #b7bcc4;
  color: var(--muted);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: loginFadeIn 0.6s ease-out 0.3s forwards;
}

@keyframes loginFadeIn {
  to { opacity: 1; }
}

/* ============================================
   PANEL IZQUIERDO - SOLO DESKTOP
   ============================================ */

.login-welcome {
  display: none;
}

/* ============================================
   CARD DE LOGIN
   ============================================ */

.login-card {
  background: rgba(15, 15, 15, 0.95);
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  backdrop-filter: blur(var(--blur-lg));
  -webkit-backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(var(--blur-lg));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 0;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  box-shadow: 
    var(--shadow-xl),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  animation: loginCardSlideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
  animation: loginCardSlideUp 0.6s var(--ease-smooth) 0.2s both;
}

@keyframes loginCardSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    #d4af37 30%, 
    #f0d574 50%,
    #d4af37 70%,
    transparent);
  background: linear-gradient(90deg, 
    transparent, 
    var(--gold) 30%, 
    var(--gold-2) 50%,
    var(--gold) 70%,
    transparent);
  animation: loginScanLine 3s ease-in-out infinite;
}

@keyframes loginScanLine {
  0%, 100% { opacity: 0; transform: translateX(-100%); }
  50% { opacity: 1; transform: translateX(100%); }
}

.login-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    #d4af37, 
    transparent);
  background: linear-gradient(90deg, 
    transparent, 
    var(--gold), 
    transparent);
  transform: translateX(-50%);
  opacity: 0.3;
}

.login-card-header {
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  position: relative;
}

.login-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, #e9ecef 0%, #b7bcc4 100%);
  background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-card-description {
  color: #b7bcc4;
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

/* ============================================
   FORMULARIO
   ============================================ */

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0 1.5rem;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: loginFieldSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
  animation: loginFieldSlide 0.4s var(--ease-smooth) backwards;
}

.login-field:nth-child(1) { animation-delay: 0.3s; }
.login-field:nth-child(2) { animation-delay: 0.4s; }

@keyframes loginFieldSlide {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.login-field-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e9ecef;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.login-field-icon {
  font-size: 1rem;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
}

.login-field-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border: 1.5px solid var(--stroke);
  border-radius: 14px;
  color: #e9ecef;
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s var(--ease-smooth);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.login-field-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #d4af37;
  border-color: var(--gold);
  box-shadow: 
    0 0 0 4px rgba(212, 175, 55, 0.12),
    0 4px 16px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.login-field-input::placeholder {
  color: #b7bcc4;
  color: var(--muted);
  opacity: 0.5;
}

.login-field-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.login-field-input-error {
  border-color: #e50914;
  border-color: var(--red);
  animation: loginShake 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: loginShake 0.4s var(--ease-smooth);
}

@keyframes loginShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(10px); }
  60% { transform: translateX(-10px); }
  80% { transform: translateX(10px); }
}

/* ============================================
   PASSWORD FIELD
   ============================================ */

.login-field-password {
  position: relative;
  display: flex;
  align-items: center;
}

.login-field-password .login-field-input {
  padding-right: 3.5rem;
}

.login-field-toggle {
  position: absolute;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: all 0.3s var(--ease-bounce);
  opacity: 0.6;
  border-radius: 8px;
}

.login-field-toggle:hover {
  opacity: 1;
  background: rgba(212, 175, 55, 0.1);
  transform: scale(1.1);
}

.login-field-toggle:active {
  transform: scale(0.95);
}

/* ============================================
   FORGOT PASSWORD
   ============================================ */

.login-forgot {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #d4af37;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.75rem 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  text-decoration: none;
}

.login-forgot::after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, #f0d574);
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: width 0.3s var(--ease-smooth);
}

.login-forgot:hover {
  color: #f0d574;
  color: var(--gold-2);
  transform: translateX(4px);
}

.login-forgot:hover::after {
  width: 100%;
}

/* ============================================
   ALERTS
   ============================================ */

.login-alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
  animation: loginAlertSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: loginAlertSlide 0.4s var(--ease-smooth);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(var(--blur-sm));
          backdrop-filter: blur(var(--blur-sm));
}

@keyframes loginAlertSlide {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-alert-error {
  background: rgba(229, 9, 20, 0.12);
  border: 1.5px solid rgba(229, 9, 20, 0.4);
  color: #ff1a25;
  color: var(--red-2);
}

.login-alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1.5px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.login-alert-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.login-alert-message {
  flex: 1 1;
  font-weight: 500;
}

/* ============================================
   BLOCKED STATE
   ============================================ */

.login-blocked {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(229, 9, 20, 0.15);
  border: 2px solid rgba(229, 9, 20, 0.5);
  border-radius: 12px;
  animation: loginBlockedPulse 1.5s ease-in-out infinite;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(var(--blur-sm));
          backdrop-filter: blur(var(--blur-sm));
}

@keyframes loginBlockedPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.5);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(229, 9, 20, 0);
  }
}

.login-blocked-icon {
  font-size: 1.75rem;
  animation: loginLockShake 0.6s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes loginLockShake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

.login-blocked-title {
  font-weight: 700;
  color: #ff1a25;
  color: var(--red-2);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.login-blocked-timer {
  font-size: 1.4rem;
  font-weight: 800;
  color: #e9ecef;
  color: var(--text);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.05em;
}

/* ============================================
   SUBMIT BUTTON
   ============================================ */

.login-submit {
  width: 100%;
  min-height: 56px;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #d4af37 0%, #f0d574 100%);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  border: none;
  border-radius: 14px;
  color: #0a0a0a;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 
    0 4px 20px rgba(212, 175, 55, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: loginSubmitAppear 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.6s both;
  animation: loginSubmitAppear 0.5s var(--ease-bounce) 0.6s both;
}

@keyframes loginSubmitAppear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.6s var(--ease-smooth);
}

.login-submit:hover:not(:disabled)::before {
  transform: translateX(100%);
}

.login-submit:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 30px rgba(212, 175, 55, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.login-submit:active:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 
    0 4px 15px rgba(212, 175, 55, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.login-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.login-submit-blocked {
  background: linear-gradient(135deg, #555 0%, #777 100%);
  box-shadow: none;
}

.login-submit-loading {
  pointer-events: none;
}

.login-submit-icon {
  font-size: 1.3rem;
}

.login-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, 0.2);
  border-top-color: #0a0a0a;
  border-radius: 50%;
  animation: loginSpinRotate 0.7s linear infinite;
}

@keyframes loginSpinRotate {
  to { transform: rotate(360deg); }
}

/* ============================================
   DIVIDER
   ============================================ */

.login-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  opacity: 0;
  animation: loginFadeIn 0.5s ease-out 0.7s forwards;
}

.login-divider-line {
  flex: 1 1;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.12) 50%, 
    transparent);
  background: linear-gradient(90deg, 
    transparent, 
    var(--stroke) 50%, 
    transparent);
}

.login-divider-text {
  color: #b7bcc4;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   CARD FOOTER
   ============================================ */

.login-card-footer {
  padding: 0 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: loginFadeIn 0.5s ease-out 0.8s both;
}

.login-register {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 2rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--stroke);
  border-radius: 14px;
  color: #e9ecef;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.login-register::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(212, 175, 55, 0.05), 
    rgba(212, 175, 55, 0.15),
    rgba(212, 175, 55, 0.05));
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: opacity 0.3s var(--ease-smooth);
}

.login-register:hover {
  border-color: #d4af37;
  border-color: var(--gold);
  color: #d4af37;
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 
    0 4px 20px rgba(212, 175, 55, 0.3),
    inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.login-register:hover::before {
  opacity: 1;
}

.login-register:active {
  transform: translateY(0);
}

.login-register-icon {
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

.login-attempts {
  text-align: center;
  font-size: 0.8rem;
  color: #b7bcc4;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.login-attempts-icon {
  font-size: 1rem;
  opacity: 0.6;
}

/* ============================================
   PLATAFORMAS MOBILE
   ============================================ */

.login-mobile-platforms {
  padding: 1.5rem 1.5rem 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--stroke);
  animation: loginFadeIn 0.5s ease-out 0.9s both;
}

.login-mobile-platforms-title {
  text-align: center;
  color: #b7bcc4;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.login-mobile-platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 0.75rem;
  gap: 0.75rem;
  padding: 0 0.5rem;
}

.login-mobile-platforms-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: brightness(0.8) saturate(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s var(--ease-smooth);
  border-radius: 8px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
}

.login-mobile-platforms-grid img:hover {
  filter: brightness(1) saturate(1);
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   SOPORTE MOBILE - BOTONES FLOTANTES
   ============================================ */

.login-mobile-support {
  position: fixed;
  bottom: 2rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 100;
  animation: loginFloatIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1s both;
  animation: loginFloatIn 0.6s var(--ease-bounce) 1s both;
}

@keyframes loginFloatIn {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.login-mobile-support-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 0 0 0 currentColor;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: all 0.3s var(--ease-bounce);
  position: relative;
  overflow: hidden;
}

.login-mobile-support-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2));
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: opacity 0.3s var(--ease-smooth);
}

.login-mobile-support-btn:hover::before {
  opacity: 1;
}

.login-mobile-support-btn:active {
  transform: scale(0.9);
}

.login-mobile-support-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.login-mobile-support-whatsapp:hover {
  box-shadow: 
    0 6px 30px rgba(37, 211, 102, 0.5),
    0 0 0 8px rgba(37, 211, 102, 0.2);
  transform: scale(1.1);
}

.login-mobile-support-telegram {
  background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
}

.login-mobile-support-telegram:hover {
  box-shadow: 
    0 6px 30px rgba(34, 158, 217, 0.5),
    0 0 0 8px rgba(34, 158, 217, 0.2);
  transform: scale(1.1);
}

/* ============================================
   SOPORTE DESKTOP - OCULTO EN MOBILE
   ============================================ */

.login-support-widget {
  display: none;
}

/* ============================================
   MODAL DE RECUPERACIÓN
   ============================================ */

.login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(var(--blur-md));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  animation: loginModalOverlayFade 0.3s ease-out;
}

@keyframes loginModalOverlayFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.login-modal {
  width: 100%;
  max-width: 440px;
  background: rgba(15, 15, 15, 0.95);
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  backdrop-filter: blur(var(--blur-lg));
  -webkit-backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(var(--blur-lg));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  box-shadow: 
    var(--shadow-xl),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: loginModalSlideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  animation: loginModalSlideUp 0.4s var(--ease-bounce);
}

@keyframes loginModalSlideUp {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-modal-header {
  padding: 1.75rem 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
}

.login-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #d4af37 0%, #f0d574 100%);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-modal-close {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s var(--ease-smooth);
  line-height: 1;
}

.login-modal-close:hover {
  background: rgba(229, 9, 20, 0.2);
  border-color: #e50914;
  border-color: var(--red);
  color: #ff1a25;
  color: var(--red-2);
  transform: rotate(90deg);
}

.login-modal-close:active {
  transform: rotate(90deg) scale(0.9);
}

.login-modal-content {
  padding: 1.75rem 1.5rem;
}

.login-modal-description {
  color: #b7bcc4;
  color: var(--muted);
  margin: 0 0 1.75rem 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.login-modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ============================================
   FOOTER
   ============================================ */

.login-footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--stroke);
  background: rgba(10, 10, 10, 0.9);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(var(--blur-sm));
          backdrop-filter: blur(var(--blur-sm));
}

.login-footer p {
  margin: 0;
  color: #b7bcc4;
  color: var(--muted);
  font-size: 0.85rem;
}

.login-footer-sub {
  margin-top: 0.25rem !important;
  font-size: 0.75rem !important;
  opacity: 0.7;
}

/* ============================================
   DESKTOP - MEDIA QUERY (min-width: 1024px)
   ============================================ */

@media (min-width: 1024px) {
  .login-content {
    padding: 2rem;
  }

  .login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 4rem;
    gap: 4rem;
    max-width: 1200px;
  }

  /* Ocultar header mobile en desktop */
  .login-mobile-header {
    display: none;
  }

  /* Mostrar welcome panel en desktop */
  .login-welcome {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    animation: loginSlideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: loginSlideInLeft 0.8s var(--ease-smooth);
  }

  @keyframes loginSlideInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .login-brand {
    position: relative;
  }

  .login-brand::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #d4af37 0%, #f0d574 50%, #d4af37 100%);
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 50%, var(--gold) 100%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    animation: loginGlowPulse 2s ease-in-out infinite;
  }

  @keyframes loginGlowPulse {
    0%, 100% {
      opacity: 1;
      box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    }
    50% {
      opacity: 0.6;
      box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
    }
  }

  .login-logo-glow {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #d4af37 0%, transparent 70%);
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(20px);
    animation: loginLogoGlowPulse 3s ease-in-out infinite;
  }

  @keyframes loginLogoGlowPulse {
    0%, 100% { opacity: 0.3; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateY(-50%) scale(1.2); }
  }

  .login-brand-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 0.5rem 0;
  }

  .login-brand-subtitle {
    font-size: 1.1rem;
  }

  .login-platforms {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
  }

  .login-platform-item {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(var(--blur-sm));
            backdrop-filter: blur(var(--blur-sm));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    animation: loginScaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
    animation: loginScaleIn 0.5s var(--ease-bounce) backwards;
  }

  .login-platform-item:nth-child(1) { animation-delay: 0.1s; }
  .login-platform-item:nth-child(2) { animation-delay: 0.2s; }
  .login-platform-item:nth-child(3) { animation-delay: 0.3s; }
  .login-platform-item:nth-child(4) { animation-delay: 0.4s; }
  .login-platform-item:nth-child(5) { animation-delay: 0.5s; }

  @keyframes loginScaleIn {
    from {
      opacity: 0;
      transform: scale(0.7);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .login-platform-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.1));
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: opacity 0.4s var(--ease-smooth);
  }

  .login-platform-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: #d4af37;
    border-color: var(--gold);
    box-shadow: 
      0 10px 35px rgba(212, 175, 55, 0.3),
      0 0 0 1px rgba(212, 175, 55, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .login-platform-item:hover::before {
    opacity: 1;
  }

  .login-platform-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: filter 0.3s var(--ease-smooth);
    position: relative;
    z-index: 1;
  }

  .login-platform-item:hover img {
    filter: brightness(1.1);
  }

  .login-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .login-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    animation: loginSlideInLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    animation: loginSlideInLeft 0.5s var(--ease-smooth) backwards;
  }

  .login-feature:nth-child(1) { animation-delay: 0.6s; }
  .login-feature:nth-child(2) { animation-delay: 0.7s; }
  .login-feature:nth-child(3) { animation-delay: 0.8s; }

  .login-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #d4af37, #f0d574);
    background: linear-gradient(180deg, var(--gold), var(--gold-2));
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.3s var(--ease-smooth);
  }

  .login-feature:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(8px);
  }

  .login-feature:hover::before {
    transform: translateX(0);
  }

  .login-feature-icon {
    font-size: 1.5rem;
  }

  .login-feature-text {
    font-size: 1rem;
    font-weight: 500;
  }

  /* Card en desktop */
  .login-card {
    padding: 0;
    animation: loginSlideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: loginSlideInRight 0.8s var(--ease-smooth);
  }

  @keyframes loginSlideInRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .login-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 
      0 25px 80px rgba(0, 0, 0, 0.7),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .login-card-header {
    padding: 3rem 2.5rem 1.5rem;
  }

  .login-card-title {
    font-size: 2rem;
  }

  .login-form {
    padding: 0 2.5rem;
  }

  .login-divider {
    padding: 1.5rem 2.5rem 1rem;
  }

  .login-card-footer {
    padding: 0 2.5rem 3rem;
  }

  /* Ocultar plataformas mobile */
  .login-mobile-platforms {
    display: none;
  }

  /* Ocultar soporte mobile */
  .login-mobile-support {
    display: none;
  }

  /* Mostrar widget soporte desktop */
  .login-support-widget {
    display: block;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 200px;
    background: rgba(15, 15, 15, 0.95);
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    backdrop-filter: blur(var(--blur-lg));
    -webkit-backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(var(--blur-lg));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    box-shadow: 
      var(--shadow-lg),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 100;
    animation: loginFloatIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s both;
    animation: loginFloatIn 0.8s var(--ease-bounce) 0.5s both;
  }

  .login-support-header {
    background: linear-gradient(135deg, #d4af37 0%, #f0d574 100%);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
    padding: 0.75rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0a0a0a;
  }

  .login-support-icon {
    font-size: 1.1rem;
  }

  .login-support-mascot {
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
  }

  .login-support-mascot img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.3));
    animation: loginBounce 2s ease-in-out infinite;
  }

  @keyframes loginBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  .login-support-buttons {
    display: flex;
    gap: 0.5rem;
    padding: 0 1rem 1rem 1rem;
  }

  .login-support-btn {
    flex: 1 1;
    padding: 0.75rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
  }

  .login-support-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2));
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: opacity 0.3s var(--ease-smooth);
  }

  .login-support-btn:hover::before {
    opacity: 1;
  }

  .login-support-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  }

  .login-support-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }

  .login-support-telegram {
    background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
  }

  .login-support-telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 158, 217, 0.4);
  }

  .login-footer {
    padding: 2rem 1rem;
  }

  .login-footer p {
    font-size: 0.9rem;
  }
}

/* ============================================
   ACCESIBILIDAD - PREFERS REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .login-bg-gradient,
  .login-mobile-logo,
  .login-mobile-logo-ring,
  .login-support-mascot img {
    animation: none !important;
  }
}

/* ============================================
   MEJORAS TÁCTILES PARA MOBILE
   ============================================ */

@media (hover: none) and (pointer: coarse) {
  .login-field-input,
  .login-submit,
  .login-register,
  .login-field-toggle {
    min-height: 48px;
  }

  .login-mobile-support-btn {
    width: 60px;
    height: 60px;
  }
}

.login-brand-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.login-brand-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
  animation: loginLogoFloat 3s ease-in-out infinite;
}

.login-brand-logo-fallback {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-radius: 50%;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
}

.login-brand-text {
  flex: 1 1;
}

@keyframes loginLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   LOGO STYLES - MOBILE
   ============================================ */

.login-mobile-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
}

.login-mobile-logo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  z-index: 2;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 1024px) {
  .login-brand-header {
    flex-direction: column;
    text-align: center;
  }
  
  .login-brand-logo {
    width: 100px;
    height: 100px;
  }
}
/* ═══════════════════════════════════════════════════════════
   🏰 DISNEY+ - MAGICAL STREAMING THEME
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   🎨 VARIABLES DE TEMA DISNEY+
   ═══════════════════════════════════════════════════════════ */
.disney-platform {
  --disney-primary: #113CCF;
  --disney-primary-dark: #0D2EA0;
  --disney-primary-light: #2B52E8;
  --disney-secondary: #0A1E4D;
  --disney-accent: #1E4FD9;
  --disney-bg-dark: #040911;
  --disney-bg-card: #0E1420;
  --disney-bg-elevated: #131B2E;
  --disney-text-primary: #ffffff;
  --disney-text-secondary: #C5D3E8;
  --disney-text-muted: #6B7A99;
  --disney-border: rgba(17, 60, 207, 0.15);
  --disney-border-bright: rgba(17, 60, 207, 0.4);
  --disney-glow: rgba(17, 60, 207, 0.3);
  --disney-success: #46d369;
  --disney-warning: #fbbf24;
  --disney-error: #ef4444;
  --disney-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --disney-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* ═══════════════════════════════════════════════════════════
   🎯 CONTENEDOR PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.disney-platform {
  font-family: 'Space Grotesk', 'Rajdhani', sans-serif;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--disney-bg-dark) 0%, #060d1a 100%);
  border-radius: 24px;
  border: 1px solid var(--disney-border);
  box-shadow: var(--disney-shadow-lg), 
              0 0 0 1px rgba(17, 60, 207, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  animation: platformEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.disney-platform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--disney-primary) 30%, 
    var(--disney-primary-light) 50%, 
    var(--disney-primary) 70%, 
    transparent 100%
  );
  animation: topBarScan 3s ease-in-out infinite;
}

.disney-platform::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(17, 60, 207, 0.08) 0%, transparent 70%);
  animation: ambientGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes platformEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes topBarScan {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

@keyframes ambientGlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
  50% { transform: translate(10%, 10%) rotate(180deg); opacity: 0.8; }
}

/* ═══════════════════════════════════════════════════════════
   🎯 HEADER CON BRANDING
   ═══════════════════════════════════════════════════════════ */
.disney-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--disney-border);
  animation: headerSlideIn 0.5s ease-out 0.1s backwards;
}

@keyframes headerSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.disney-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.disney-logo {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(135deg, var(--disney-bg-elevated) 0%, var(--disney-bg-card) 100%);
  border: 2px solid var(--disney-border-bright);
  box-shadow: 0 8px 24px rgba(17, 60, 207, 0.25),
              0 0 20px rgba(17, 60, 207, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: logoPulse 3s ease-in-out infinite;
}

.disney-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(17, 60, 207, 0.4),
              0 0 40px rgba(17, 60, 207, 0.3);
  border-color: var(--disney-primary);
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(17, 60, 207, 0.25), 0 0 20px rgba(17, 60, 207, 0.15); }
  50% { box-shadow: 0 8px 24px rgba(17, 60, 207, 0.4), 0 0 30px rgba(17, 60, 207, 0.25); }
}

.disney-info h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--disney-primary) 0%, var(--disney-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-shadow: 0 0 30px rgba(17, 60, 207, 0.3);
  animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.disney-correos-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, rgba(17, 60, 207, 0.15) 0%, rgba(17, 60, 207, 0.05) 100%);
  border: 1px solid var(--disney-border-bright);
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--disney-primary-light);
  letter-spacing: 0.5px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.disney-correos-count:hover {
  background: linear-gradient(135deg, rgba(17, 60, 207, 0.25) 0%, rgba(17, 60, 207, 0.1) 100%);
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   📝 FORMULARIO PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.disney-form {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  animation: formFadeIn 0.5s ease-out 0.2s backwards;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.disney-form-group {
  margin-bottom: 1.5rem;
}

.disney-form-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--disney-text-secondary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.disney-input-container {
  position: relative;
}

.disney-form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--disney-text-primary);
  background: var(--disney-bg-card);
  border: 2px solid var(--disney-border);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.disney-form-input::placeholder {
  color: var(--disney-text-muted);
  font-weight: 400;
}

.disney-form-input:focus {
  background: var(--disney-bg-elevated);
  border-color: var(--disney-primary);
  box-shadow: 0 0 0 3px rgba(17, 60, 207, 0.15),
              inset 0 2px 8px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(17, 60, 207, 0.1);
  transform: translateY(-2px);
}

.disney-form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.disney-input-help {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--disney-text-muted);
  font-family: 'Rajdhani', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   🚀 BOTÓN DE CONSULTA
   ═══════════════════════════════════════════════════════════ */
.disney-btn-consultar {
  width: 100%;
  padding: 1.2rem 2rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--disney-primary) 0%, var(--disney-accent) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(17, 60, 207, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.disney-btn-consultar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.disney-btn-consultar:hover::before {
  left: 100%;
}

.disney-btn-consultar:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(17, 60, 207, 0.5),
              0 0 40px rgba(17, 60, 207, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.2);
}

.disney-btn-consultar:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

.disney-btn-consultar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.disney-btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.disney-btn-icon {
  font-size: 1.3rem;
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.disney-btn-text {
  font-weight: 700;
}

.disney-btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.disney-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   ⚠️ ALERTAS Y NOTIFICACIONES
   ═══════════════════════════════════════════════════════════ */
.disney-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  animation: alertSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.disney-alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.disney-alert-icon {
  font-size: 1.3rem;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.disney-alert-message {
  flex: 1 1;
}

/* ═══════════════════════════════════════════════════════════
   📊 CONTENEDOR DE RESULTADOS
   ═══════════════════════════════════════════════════════════ */
.disney-result-container {
  background: linear-gradient(135deg, var(--disney-bg-elevated) 0%, var(--disney-bg-card) 100%);
  border: 1px solid var(--disney-border-bright);
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: resultExpand 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.disney-result-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--disney-primary), transparent);
  animation: resultGlow 2s ease-in-out infinite;
}

@keyframes resultExpand {
  from {
    opacity: 0;
    transform: scale(0.95);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: scale(1);
    max-height: 1000px;
  }
}

@keyframes resultGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.disney-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--disney-border);
}

.disney-result-header h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--disney-text-primary);
  letter-spacing: 0.5px;
}

.disney-result-icon {
  font-size: 1.5rem;
  animation: iconBounce 2s ease-in-out infinite;
}

.disney-result-title {
  font-weight: 700;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ═══════════════════════════════════════════════════════════
   🔑 DISPLAY DE CÓDIGO
   ═══════════════════════════════════════════════════════════ */
.disney-result-code {
  background: var(--disney-bg-dark);
  border: 1px solid var(--disney-border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.disney-result-code:hover {
  border-color: var(--disney-border-bright);
  box-shadow: 0 4px 16px rgba(17, 60, 207, 0.15);
}

.disney-code-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border-left: 4px solid var(--disney-primary);
  margin-bottom: 1rem;
}

.disney-code-value {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--disney-primary-light);
  letter-spacing: 8px;
  text-shadow: 0 0 20px rgba(17, 60, 207, 0.5);
  animation: codeGlow 2s ease-in-out infinite;
}

@keyframes codeGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(17, 60, 207, 0.5); }
  50% { text-shadow: 0 0 30px rgba(17, 60, 207, 0.8); }
}

.disney-code-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.disney-validez-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.disney-status-valid {
  background: linear-gradient(135deg, rgba(70, 211, 105, 0.2) 0%, rgba(70, 211, 105, 0.05) 100%);
  border: 1px solid rgba(70, 211, 105, 0.4);
  color: #86efac;
  box-shadow: 0 0 20px rgba(70, 211, 105, 0.2);
}

.disney-status-expiring {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.05) 100%);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.disney-status-expired {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.disney-status-unknown {
  background: linear-gradient(135deg, rgba(107, 122, 153, 0.2) 0%, rgba(107, 122, 153, 0.05) 100%);
  border: 1px solid rgba(107, 122, 153, 0.4);
  color: #9ca3af;
  box-shadow: 0 0 20px rgba(107, 122, 153, 0.2);
}

.disney-fecha-email {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--disney-text-muted);
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.disney-btn-copy {
  padding: 0.875rem 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--disney-primary);
  background: linear-gradient(135deg, var(--disney-bg-elevated) 0%, var(--disney-bg-card) 100%);
  border: 2px solid var(--disney-border-bright);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.disney-btn-copy:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--disney-bg-card) 0%, var(--disney-bg-dark) 100%);
  border-color: var(--disney-primary);
  box-shadow: 0 6px 24px rgba(17, 60, 207, 0.3);
}

.disney-btn-copy:active {
  transform: translateY(-1px) scale(0.98);
}

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE - MOBILE FIRST
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .disney-platform {
    padding: 1.25rem;
    border-radius: 16px;
    margin: 0 0.75rem;
    max-width: calc(100% - 1.5rem);
  }

  .disney-header {
    margin-bottom: 1.5rem;
  }

  .disney-brand {
    gap: 1rem;
  }

  .disney-logo {
    width: 55px;
    height: 55px;
  }

  .disney-info h1 {
    font-size: 1.75rem;
  }

  .disney-correos-count {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
  }

  .disney-form-label {
    font-size: 0.85rem;
  }

  .disney-form-input {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
  }

  .disney-btn-consultar {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .disney-result-container {
    padding: 1.25rem;
  }

  .disney-result-header h3 {
    font-size: 1.1rem;
  }

  .disney-code-value {
    font-size: 1.5rem;
    letter-spacing: 4px;
  }

  .disney-code-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .disney-platform {
    padding: 1rem;
    margin: 0 0.5rem;
    max-width: calc(100% - 1rem);
    border-radius: 12px;
  }

  .disney-logo {
    width: 50px;
    height: 50px;
  }

  .disney-info h1 {
    font-size: 1.5rem;
  }

  .disney-btn-consultar {
    font-size: 0.95rem;
  }

  .disney-btn-icon {
    font-size: 1.1rem;
  }

  .disney-form-input {
    font-size: 0.9rem;
  }

  .disney-code-value {
    font-size: 1.25rem;
    letter-spacing: 3px;
  }

  .disney-btn-copy {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ✨ EFECTOS ESPECIALES Y ACABADOS
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Efecto de escaneo futurista */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ═══════════════════════════════════════════════════════════
   📱 AGREGAR ESTAS CORRECCIONES AL RESPONSIVE DE DISNEY+
   ═══════════════════════════════════════════════════════════ */

/* ✅ AÑADE ESTO AL .disney-info EN TODAS LAS RESOLUCIONES */
.disney-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

/* ✅ CORRIGE EL RESPONSIVE MÓVIL - Reemplaza todo el @media (max-width: 768px) */
@media (max-width: 768px) {
  .disney-platform {
    padding: 1.25rem;
    border-radius: 16px;
    margin: 0 0.75rem;
    max-width: calc(100% - 1.5rem);
    overflow-x: hidden; /* ✅ IMPORTANTE: evita scroll horizontal */
  }

  .disney-header {
    margin-bottom: 1.5rem;
  }

  .disney-brand {
    gap: 1rem;
  }

  .disney-logo {
    width: 55px;
    height: 55px;
  }

  .disney-info h1 {
    font-size: 1.75rem;
    margin: 0;
  }

  .disney-correos-count {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    margin-top: 0;
    margin-left: -10px; /* ✅ Mueve a la izquierda */
  }

  .disney-form-label {
    font-size: 0.85rem;
  }

  .disney-form-input {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    max-width: 100%; /* ✅ IMPORTANTE */
    box-sizing: border-box;
  }

  .disney-btn-consultar {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    width: 100%;
  }

  /* ✅ ESTOS SON LOS QUE FALTAN PARA LOS RESULTADOS */
  .disney-result-container {
    padding: 1rem; /* ✅ Reduce padding */
    max-width: 100%;
    box-sizing: border-box;
  }

  .disney-result-header h3 {
    font-size: 1rem;
    flex-wrap: wrap;
  }

  .disney-result-icon {
    font-size: 1.2rem;
  }

  .disney-result-title {
    font-size: 0.95rem;
  }

  /* ✅ ARREGLA EL CÓDIGO DISPLAY */
  .disney-code-display {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }

  .disney-code-value {
    font-size: 1.5rem;
    letter-spacing: 4px;
    word-break: break-all; /* ✅ IMPORTANTE: corta el código si es muy largo */
    text-align: center;
  }

  .disney-btn-copy {
    width: 100%; /* ✅ Botón a ancho completo */
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }

  /* ✅ ARREGLA LOS BADGES */
  .disney-code-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .disney-validez-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
  }

  .disney-fecha-email {
    font-size: 0.8rem;
  }
}

/* ✅ TAMBIÉN AÑADE ESTO PARA MÓVILES MUY PEQUEÑOS */
@media (max-width: 480px) {
  .disney-platform {
    padding: 1rem;
    margin: 0 0.5rem;
    max-width: calc(100% - 1rem);
    border-radius: 12px;
  }

  .disney-logo {
    width: 50px;
    height: 50px;
  }

  .disney-info h1 {
    font-size: 1.5rem;
  }

  .disney-correos-count {
    margin-left: -10px;
  }

  .disney-btn-consultar {
    font-size: 0.95rem;
    padding: 0.9rem 1.25rem;
  }

  .disney-code-value {
    font-size: 1.25rem;
    letter-spacing: 3px;
  }

  .disney-result-container {
    padding: 0.875rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   🎬 NETFLIX - PREMIUM STREAMING THEME
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   🎨 VARIABLES DE TEMA NETFLIX
   ═══════════════════════════════════════════════════════════ */
.netflix-platform {
  --netflix-primary: #E50914;
  --netflix-primary-dark: #B20710;
  --netflix-primary-light: #F40612;
  --netflix-secondary: #221F1F;
  --netflix-accent: #E50914;
  --netflix-bg-dark: #000000;
  --netflix-bg-card: #141414;
  --netflix-bg-elevated: #1F1F1F;
  --netflix-text-primary: #ffffff;
  --netflix-text-secondary: #B3B3B3;
  --netflix-text-muted: #808080;
  --netflix-border: rgba(229, 9, 20, 0.15);
  --netflix-border-bright: rgba(229, 9, 20, 0.4);
  --netflix-glow: rgba(229, 9, 20, 0.3);
  --netflix-success: #46d369;
  --netflix-warning: #fbbf24;
  --netflix-error: #ef4444;
  --netflix-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --netflix-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* ═══════════════════════════════════════════════════════════
   🎯 CONTENEDOR PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.netflix-platform {
  font-family: 'Space Grotesk', 'Rajdhani', sans-serif;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--netflix-bg-dark) 0%, #0a0a0a 100%);
  border-radius: 24px;
  border: 1px solid var(--netflix-border);
  box-shadow: var(--netflix-shadow-lg), 
              0 0 0 1px rgba(229, 9, 20, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: visible;
  animation: platformEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.netflix-platform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--netflix-primary) 30%, 
    var(--netflix-primary-light) 50%, 
    var(--netflix-primary) 70%, 
    transparent 100%
  );
  animation: topBarScan 3s ease-in-out infinite;
}

.netflix-platform::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.08) 0%, transparent 70%);
  animation: ambientGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes platformEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes topBarScan {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

@keyframes ambientGlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
  50% { transform: translate(10%, 10%) rotate(180deg); opacity: 0.8; }
}

/* ═══════════════════════════════════════════════════════════
   🎯 HEADER CON BRANDING
   ═══════════════════════════════════════════════════════════ */
.netflix-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--netflix-border);
  animation: headerSlideIn 0.5s ease-out 0.1s backwards;
}

@keyframes headerSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.netflix-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.netflix-logo {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(135deg, var(--netflix-bg-elevated) 0%, var(--netflix-bg-card) 100%);
  border: 2px solid var(--netflix-border-bright);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.25),
              0 0 20px rgba(229, 9, 20, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: logoPulse 3s ease-in-out infinite;
}

.netflix-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(229, 9, 20, 0.4),
              0 0 40px rgba(229, 9, 20, 0.3);
  border-color: var(--netflix-primary);
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(229, 9, 20, 0.25), 0 0 20px rgba(229, 9, 20, 0.15); }
  50% { box-shadow: 0 8px 24px rgba(229, 9, 20, 0.4), 0 0 30px rgba(229, 9, 20, 0.25); }
}

.netflix-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.netflix-info h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--netflix-primary) 0%, var(--netflix-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-shadow: 0 0 30px rgba(229, 9, 20, 0.3);
  animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.netflix-correos-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  margin-top: 0;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.15) 0%, rgba(229, 9, 20, 0.05) 100%);
  border: 1px solid var(--netflix-border-bright);
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--netflix-primary-light);
  letter-spacing: 0.5px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.netflix-correos-count:hover {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.25) 0%, rgba(229, 9, 20, 0.1) 100%);
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   📝 FORMULARIO PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.netflix-form {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  animation: formFadeIn 0.5s ease-out 0.2s backwards;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.netflix-form-group {
  margin-bottom: 1.5rem;
}

.netflix-form-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--netflix-text-secondary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.netflix-input-container {
  position: relative;
}

.netflix-form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--netflix-text-primary);
  background: var(--netflix-bg-card);
  border: 2px solid var(--netflix-border);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.netflix-form-input::placeholder {
  color: var(--netflix-text-muted);
  font-weight: 400;
}

.netflix-form-input:focus {
  background: var(--netflix-bg-elevated);
  border-color: var(--netflix-primary);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.15),
              inset 0 2px 8px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(229, 9, 20, 0.1);
  transform: translateY(-2px);
}

.netflix-form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.netflix-input-help {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--netflix-text-muted);
  font-family: 'Rajdhani', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   🎛️ CUSTOM SELECT DROPDOWN
   ═══════════════════════════════════════════════════════════ */
.netflix-custom-select {
  position: relative;
}

.netflix-select-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--netflix-bg-card);
  border: 2px solid var(--netflix-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.netflix-select-display:hover {
  background: var(--netflix-bg-elevated);
  border-color: var(--netflix-border-bright);
  transform: translateY(-2px);
}



.netflix-option-icon {
  font-size: 1.5rem;
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.netflix-option-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.netflix-option-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--netflix-text-primary);
}

.netflix-option-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--netflix-text-muted);
}

.netflix-selected-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1;
  min-width: 0; /* Permite que el contenido se comprima */
}

.netflix-option-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1 1;
  min-width: 0; /* Previene overflow */
}

.netflix-option-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--netflix-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.netflix-option-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--netflix-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.netflix-dropdown-arrow {
  font-size: 0.8rem;
  color: var(--netflix-text-secondary);
  transition: transform 0.3s ease;
  margin-left: auto;
  padding-left: 1rem;
  flex-shrink: 0; /* Evita que se comprima */
}

/* ═══════════════════════════════════════════════════════════
   📱 AJUSTES RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .netflix-selected-option {
    gap: 0.75rem;
  }

  .netflix-dropdown-arrow {
    padding-left: 0.75rem;
    font-size: 0.75rem;
  }

  .netflix-option-title {
    font-size: 0.9rem;
  }

  .netflix-option-desc {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .netflix-selected-option {
    gap: 0.5rem;
  }

  .netflix-dropdown-arrow {
    padding-left: 0.5rem;
  }

  .netflix-option-icon {
    font-size: 1.1rem;
  }
}

.netflix-dropdown-arrow.active {
  transform: rotate(180deg);
}

.netflix-select-options {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--netflix-bg-elevated);
  border: 2px solid var(--netflix-border-bright);
  border-radius: 12px;
  overflow: hidden;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: dropdownExpand 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 100%;
  box-sizing: border-box;
}

@keyframes dropdownExpand {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.netflix-select-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid var(--netflix-border);
}

.netflix-select-option:last-child {
  border-bottom: none;
}

.netflix-select-option:hover {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.15) 0%, rgba(229, 9, 20, 0.05) 100%);
}

.netflix-select-option.selected {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2) 0%, rgba(229, 9, 20, 0.1) 100%);
  border-left: 3px solid var(--netflix-primary);
}

/* ═══════════════════════════════════════════════════════════
   🚀 BOTÓN DE CONSULTA
   ═══════════════════════════════════════════════════════════ */
.netflix-btn-consultar {
  width: 100%;
  padding: 1.2rem 2rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--netflix-primary) 0%, var(--netflix-accent) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.netflix-btn-consultar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.netflix-btn-consultar:hover::before {
  left: 100%;
}

.netflix-btn-consultar:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(229, 9, 20, 0.5),
              0 0 40px rgba(229, 9, 20, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.2);
}

.netflix-btn-consultar:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

.netflix-btn-consultar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.netflix-btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.netflix-btn-icon {
  font-size: 1.3rem;
}

.netflix-btn-text {
  font-weight: 700;
}

.netflix-btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.netflix-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   ⚠️ ALERTAS Y NOTIFICACIONES
   ═══════════════════════════════════════════════════════════ */
.netflix-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  animation: alertSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.netflix-alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.netflix-alert-icon {
  font-size: 1.3rem;
  animation: iconPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.netflix-alert-message {
  flex: 1 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ═══════════════════════════════════════════════════════════
   📊 CONTENEDOR DE RESULTADOS
   ═══════════════════════════════════════════════════════════ */
.netflix-result-container {
  background: linear-gradient(135deg, var(--netflix-bg-elevated) 0%, var(--netflix-bg-card) 100%);
  border: 1px solid var(--netflix-border-bright);
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: resultExpand 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.netflix-result-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--netflix-primary), transparent);
  animation: resultGlow 2s ease-in-out infinite;
}

@keyframes resultExpand {
  from {
    opacity: 0;
    transform: scale(0.95);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: scale(1);
    max-height: 1000px;
  }
}

@keyframes resultGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.netflix-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--netflix-border);
}

.netflix-result-header h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--netflix-text-primary);
  letter-spacing: 0.5px;
}

.netflix-result-icon {
  font-size: 1.5rem;
  animation: iconBounce 2s ease-in-out infinite;
  flex-shrink: 0;
}

.netflix-result-title {
  font-weight: 700;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ═══════════════════════════════════════════════════════════
   🔑 DISPLAY DE CÓDIGO
   ═══════════════════════════════════════════════════════════ */
.netflix-result-code {
  background: var(--netflix-bg-dark);
  border: 1px solid var(--netflix-border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
}

.netflix-result-code:hover {
  border-color: var(--netflix-border-bright);
  box-shadow: 0 4px 16px rgba(229, 9, 20, 0.15);
}

.netflix-code-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border-left: 4px solid var(--netflix-primary);
  margin-bottom: 1rem;
  max-width: 100%;
  box-sizing: border-box;
}

.netflix-code-value {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--netflix-primary-light);
  letter-spacing: 8px;
  text-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
  animation: codeGlow 2s ease-in-out infinite;
  word-break: break-all;
  overflow-wrap: break-word;
}

@keyframes codeGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(229, 9, 20, 0.5); }
  50% { text-shadow: 0 0 30px rgba(229, 9, 20, 0.8); }
}

.netflix-code-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.netflix-validez-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.netflix-status-valid {
  background: linear-gradient(135deg, rgba(70, 211, 105, 0.2) 0%, rgba(70, 211, 105, 0.05) 100%);
  border: 1px solid rgba(70, 211, 105, 0.4);
  color: #86efac;
  box-shadow: 0 0 20px rgba(70, 211, 105, 0.2);
}

.netflix-status-expiring {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.05) 100%);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.netflix-status-expired {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.netflix-status-unknown {
  background: linear-gradient(135deg, rgba(128, 128, 128, 0.2) 0%, rgba(128, 128, 128, 0.05) 100%);
  border: 1px solid rgba(128, 128, 128, 0.4);
  color: #9ca3af;
  box-shadow: 0 0 20px rgba(128, 128, 128, 0.2);
}

.netflix-fecha-email {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--netflix-text-muted);
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   🔗 PREVIEW Y ACCIONES DE LINK
   ═══════════════════════════════════════════════════════════ */
.netflix-result-link {
  background: var(--netflix-bg-dark);
  border: 1px solid var(--netflix-border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
}

.netflix-result-link:hover {
  border-color: var(--netflix-border-bright);
  box-shadow: 0 4px 16px rgba(229, 9, 20, 0.15);
}

.netflix-link-preview {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--netflix-primary);
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.netflix-link-text {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.9rem;
  color: var(--netflix-text-secondary);
  word-break: break-all;
  overflow-wrap: break-word;
  line-height: 1.6;
}

.netflix-link-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.netflix-link-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.netflix-btn-open,
.netflix-btn-copy {
  flex: 1 1;
  padding: 0.875rem 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.netflix-btn-open {
  background: linear-gradient(135deg, var(--netflix-primary) 0%, var(--netflix-accent) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(229, 9, 20, 0.3);
}

.netflix-btn-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(229, 9, 20, 0.5);
}

.netflix-btn-copy {
  background: linear-gradient(135deg, var(--netflix-bg-elevated) 0%, var(--netflix-bg-card) 100%);
  color: var(--netflix-primary);
  border: 2px solid var(--netflix-border-bright);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.netflix-btn-copy:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--netflix-bg-card) 0%, var(--netflix-bg-dark) 100%);
  border-color: var(--netflix-primary);
  box-shadow: 0 6px 24px rgba(229, 9, 20, 0.3);
}

.netflix-btn-open:active,
.netflix-btn-copy:active {
  transform: translateY(-1px) scale(0.98);
}

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE - MOBILE FIRST
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .netflix-platform {
    padding: 1.25rem;
    border-radius: 16px;
    margin: 0 0.75rem;
    max-width: calc(100% - 1.5rem);
    overflow-x: hidden;
  }

  .netflix-header {
    margin-bottom: 1.5rem;
  }

  .netflix-brand {
    gap: 1rem;
  }

  .netflix-logo {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
  }

  .netflix-info h1 {
    font-size: 1.75rem;
  }

  .netflix-correos-count {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    margin-left: -10px;
  }

  .netflix-form-label {
    font-size: 0.85rem;
  }

  .netflix-form-input {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }

  .netflix-custom-select {
    width: 100%;
  }

  .netflix-select-display {
    padding: 0.875rem 1rem;
  }

  .netflix-option-icon {
    font-size: 1.2rem;
  }

  .netflix-option-title {
    font-size: 0.95rem;
  }

  .netflix-option-desc {
    font-size: 0.8rem;
  }

  .netflix-btn-consultar {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .netflix-result-container {
    padding: 1rem;
    margin-top: 1.5rem;
  }

  .netflix-result-header h3 {
    font-size: 1rem;
    flex-wrap: wrap;
  }

  .netflix-result-icon {
    font-size: 1.2rem;
  }

  .netflix-result-title {
    font-size: 0.95rem;
  }

  .netflix-result-code,
  .netflix-result-link {
    padding: 1rem;
  }

  .netflix-code-display {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
  }

  .netflix-code-value {
    font-size: 1.5rem;
    letter-spacing: 4px;
    text-align: center;
  }

  .netflix-btn-copy {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }

  .netflix-code-status,
  .netflix-link-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .netflix-validez-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
  }

  .netflix-fecha-email {
    font-size: 0.8rem;
  }

  .netflix-link-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .netflix-btn-open,
  .netflix-btn-copy {
    width: 100%;
  }

  .netflix-link-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .netflix-platform {
    padding: 1rem;
    margin: 0 0.5rem;
    max-width: calc(100% - 1rem);
    border-radius: 12px;
  }

  .netflix-logo {
    width: 50px;
    height: 50px;
  }

  .netflix-info h1 {
    font-size: 1.5rem;
  }

  .netflix-correos-count {
    margin-left: -10px;
  }

  .netflix-btn-consultar {
    font-size: 0.95rem;
  }

  .netflix-btn-icon {
    font-size: 1.1rem;
  }

  .netflix-form-input {
    font-size: 0.9rem;
  }

  .netflix-code-value {
    font-size: 1.25rem;
    letter-spacing: 3px;
  }

  .netflix-result-container {
    padding: 0.875rem;
  }

  .netflix-code-display {
    padding: 0.875rem;
  }

  .netflix-link-text {
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ✨ EFECTOS ESPECIALES Y ACABADOS
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


.netflix-fecha-email {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--netflix-text-muted);
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  white-space: nowrap;
}

/* ✅ RESPONSIVE PARA MÓVIL */
@media (max-width: 768px) {
  .netflix-fecha-email {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
  }
}

@media (max-width: 480px) {
  .netflix-fecha-email {
    font-size: 0.75rem;
    white-space: normal;
  }
}



.netflix-iframe-container {
  width: 100%;
  height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  background: #141414;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
}

.netflix-iframe-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #1a1a1a;
  border-bottom: 2px solid #e50914;
}

.netflix-iframe-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.netflix-iframe-icon {
  font-size: 22px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.netflix-iframe-close {
  background: #e50914;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.netflix-iframe-close:hover {
  background: #f40612;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.4);
}

.netflix-iframe-close:active {
  transform: scale(0.98);
}

.netflix-iframe {
  flex: 1 1;
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
  .netflix-iframe-container {
    height: calc(100vh - 80px);
  }
  
  .netflix-iframe-header {
    padding: 12px 15px;
  }
  
  .netflix-iframe-title {
    font-size: 14px;
  }
  
  .netflix-iframe-icon {
    font-size: 18px;
  }
  
  .netflix-iframe-close {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* Loading state para iframe */
.netflix-iframe-container::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border: 4px solid rgba(229, 9, 20, 0.1);
  border-top-color: #e50914;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
}

@keyframes spin {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

.netflix-iframe-container iframe {
  position: relative;
  z-index: 2;
}
/* ═══════════════════════════════════════════════════════════
   📦 AMAZON PRIME VIDEO - PREMIUM STREAMING THEME
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   🎨 VARIABLES DE TEMA AMAZON PRIME VIDEO
   ═══════════════════════════════════════════════════════════ */
.amazonprime-platform {
  --amazon-primary: #00A8E1;
  --amazon-primary-dark: #0088B8;
  --amazon-primary-light: #1EBFEF;
  --amazon-secondary: #0C1E2E;
  --amazon-accent: #08AAE3;
  --amazon-bg-dark: #050A0F;
  --amazon-bg-card: #0D1419;
  --amazon-bg-elevated: #141B23;
  --amazon-text-primary: #ffffff;
  --amazon-text-secondary: #C5D5E3;
  --amazon-text-muted: #6B7E91;
  --amazon-border: rgba(0, 168, 225, 0.15);
  --amazon-border-bright: rgba(0, 168, 225, 0.4);
  --amazon-glow: rgba(0, 168, 225, 0.3);
  --amazon-success: #46d369;
  --amazon-warning: #fbbf24;
  --amazon-error: #ef4444;
  --amazon-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --amazon-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* ═══════════════════════════════════════════════════════════
   🎯 CONTENEDOR PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.amazonprime-platform {
  font-family: 'Space Grotesk', 'Rajdhani', sans-serif;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--amazon-bg-dark) 0%, #070d13 100%);
  border-radius: 24px;
  border: 1px solid var(--amazon-border);
  box-shadow: var(--amazon-shadow-lg), 
              0 0 0 1px rgba(0, 168, 225, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  animation: platformEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.amazonprime-platform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--amazon-primary) 30%, 
    var(--amazon-primary-light) 50%, 
    var(--amazon-primary) 70%, 
    transparent 100%
  );
  animation: topBarScan 3s ease-in-out infinite;
}

.amazonprime-platform::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 168, 225, 0.08) 0%, transparent 70%);
  animation: ambientGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes platformEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes topBarScan {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

@keyframes ambientGlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
  50% { transform: translate(10%, 10%) rotate(180deg); opacity: 0.8; }
}

/* ═══════════════════════════════════════════════════════════
   🎯 HEADER CON BRANDING
   ═══════════════════════════════════════════════════════════ */
.amazonprime-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--amazon-border);
  animation: headerSlideIn 0.5s ease-out 0.1s backwards;
}

@keyframes headerSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.amazonprime-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.amazonprime-logo {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(135deg, var(--amazon-bg-elevated) 0%, var(--amazon-bg-card) 100%);
  border: 2px solid var(--amazon-border-bright);
  box-shadow: 0 8px 24px rgba(0, 168, 225, 0.25),
              0 0 20px rgba(0, 168, 225, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: logoPulse 3s ease-in-out infinite;
}

.amazonprime-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 168, 225, 0.4),
              0 0 40px rgba(0, 168, 225, 0.3);
  border-color: var(--amazon-primary);
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0, 168, 225, 0.25), 0 0 20px rgba(0, 168, 225, 0.15); }
  50% { box-shadow: 0 8px 24px rgba(0, 168, 225, 0.4), 0 0 30px rgba(0, 168, 225, 0.25); }
}

.amazonprime-info h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--amazon-primary) 0%, var(--amazon-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-shadow: 0 0 30px rgba(0, 168, 225, 0.3);
  animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.amazonprime-correos-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, rgba(0, 168, 225, 0.15) 0%, rgba(0, 168, 225, 0.05) 100%);
  border: 1px solid var(--amazon-border-bright);
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--amazon-primary-light);
  letter-spacing: 0.5px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.amazonprime-correos-count:hover {
  background: linear-gradient(135deg, rgba(0, 168, 225, 0.25) 0%, rgba(0, 168, 225, 0.1) 100%);
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   📝 FORMULARIO PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.amazonprime-form {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  animation: formFadeIn 0.5s ease-out 0.2s backwards;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.amazonprime-form-group {
  margin-bottom: 1.5rem;
}

.amazonprime-form-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--amazon-text-secondary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.amazonprime-input-container {
  position: relative;
}

.amazonprime-form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--amazon-text-primary);
  background: var(--amazon-bg-card);
  border: 2px solid var(--amazon-border);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.amazonprime-form-input::placeholder {
  color: var(--amazon-text-muted);
  font-weight: 400;
}

.amazonprime-form-input:focus {
  background: var(--amazon-bg-elevated);
  border-color: var(--amazon-primary);
  box-shadow: 0 0 0 3px rgba(0, 168, 225, 0.15),
              inset 0 2px 8px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(0, 168, 225, 0.1);
  transform: translateY(-2px);
}

.amazonprime-form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.amazonprime-input-help {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--amazon-text-muted);
  font-family: 'Rajdhani', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   🎛️ CUSTOM SELECT DROPDOWN
   ═══════════════════════════════════════════════════════════ */
.amazonprime-custom-select {
  position: relative;
}

.amazonprime-select-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--amazon-bg-card);
  border: 2px solid var(--amazon-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.amazonprime-select-display:hover {
  background: var(--amazon-bg-elevated);
  border-color: var(--amazon-border-bright);
  transform: translateY(-2px);
}

.amazonprime-selected-option {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.amazonprime-option-icon {
  font-size: 1.5rem;
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.amazonprime-option-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.amazonprime-option-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--amazon-text-primary);
}

.amazonprime-option-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--amazon-text-muted);
}

.amazonprime-dropdown-arrow {
  font-size: 0.8rem;
  color: var(--amazon-text-secondary);
  transition: transform 0.3s ease;
}

.amazonprime-dropdown-arrow.active {
  transform: rotate(180deg);
}

.amazonprime-select-options {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--amazon-bg-elevated);
  border: 2px solid var(--amazon-border-bright);
  border-radius: 12px;
  overflow: hidden;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: dropdownExpand 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes dropdownExpand {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.amazonprime-select-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid var(--amazon-border);
}

.amazonprime-select-option:last-child {
  border-bottom: none;
}

.amazonprime-select-option:hover {
  background: linear-gradient(135deg, rgba(0, 168, 225, 0.15) 0%, rgba(0, 168, 225, 0.05) 100%);
}

.amazonprime-select-option.selected {
  background: linear-gradient(135deg, rgba(0, 168, 225, 0.2) 0%, rgba(0, 168, 225, 0.1) 100%);
  border-left: 3px solid var(--amazon-primary);
}

/* ═══════════════════════════════════════════════════════════
   🚀 BOTÓN DE CONSULTA
   ═══════════════════════════════════════════════════════════ */
.amazonprime-btn-consultar {
  width: 100%;
  padding: 1.2rem 2rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amazon-primary) 0%, var(--amazon-accent) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 168, 225, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.amazonprime-btn-consultar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.amazonprime-btn-consultar:hover::before {
  left: 100%;
}

.amazonprime-btn-consultar:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 168, 225, 0.5),
              0 0 40px rgba(0, 168, 225, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.2);
}

.amazonprime-btn-consultar:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

.amazonprime-btn-consultar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.amazonprime-btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.amazonprime-btn-icon {
  font-size: 1.3rem;
  animation: iconFloat 2s ease-in-out infinite;
}

.amazonprime-btn-text {
  font-weight: 700;
}

.amazonprime-btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.amazonprime-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   ⚠️ ALERTAS Y NOTIFICACIONES
   ═══════════════════════════════════════════════════════════ */
.amazonprime-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  animation: alertSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.amazonprime-alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.amazonprime-alert-icon {
  font-size: 1.3rem;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.amazonprime-alert-message {
  flex: 1 1;
}

/* ═══════════════════════════════════════════════════════════
   📊 CONTENEDOR DE RESULTADOS
   ═══════════════════════════════════════════════════════════ */
.amazonprime-result-container {
  background: linear-gradient(135deg, var(--amazon-bg-elevated) 0%, var(--amazon-bg-card) 100%);
  border: 1px solid var(--amazon-border-bright);
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: resultExpand 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.amazonprime-result-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amazon-primary), transparent);
  animation: resultGlow 2s ease-in-out infinite;
}

@keyframes resultExpand {
  from {
    opacity: 0;
    transform: scale(0.95);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: scale(1);
    max-height: 1000px;
  }
}

@keyframes resultGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.amazonprime-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--amazon-border);
}

.amazonprime-result-header h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--amazon-text-primary);
  letter-spacing: 0.5px;
}

.amazonprime-result-icon {
  font-size: 1.5rem;
  animation: iconBounce 2s ease-in-out infinite;
}

.amazonprime-result-title {
  font-weight: 700;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ═══════════════════════════════════════════════════════════
   🔑 DISPLAY DE CÓDIGO
   ═══════════════════════════════════════════════════════════ */
.amazonprime-result-code {
  background: var(--amazon-bg-dark);
  border: 1px solid var(--amazon-border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.amazonprime-result-code:hover {
  border-color: var(--amazon-border-bright);
  box-shadow: 0 4px 16px rgba(0, 168, 225, 0.15);
}

.amazonprime-code-display {
  display: flex;
  flex-direction: column;  /* ← CAMBIADO: de horizontal a vertical */
  align-items: center;     /* ← CAMBIADO: centrar elementos */
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border-left: 4px solid var(--amazon-primary);
  margin-bottom: 1rem;
}

.amazonprime-code-value {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--amazon-primary-light);
  letter-spacing: 8px;
  text-shadow: 0 0 20px rgba(0, 168, 225, 0.5);
  animation: codeGlow 2s ease-in-out infinite;
  text-align: center;  /* ← AÑADIDO: centrar el código */
}

@keyframes codeGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(0, 168, 225, 0.5); }
  50% { text-shadow: 0 0 30px rgba(0, 168, 225, 0.8); }
}

.amazonprime-btn-copy {
  width: 100%;  /* ← AÑADIDO: botón ocupa todo el ancho */
  padding: 0.875rem 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--amazon-primary);
  background: linear-gradient(135deg, var(--amazon-bg-elevated) 0%, var(--amazon-bg-card) 100%);
  border: 2px solid var(--amazon-border-bright);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.amazonprime-btn-copy:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--amazon-bg-card) 0%, var(--amazon-bg-dark) 100%);
  border-color: var(--amazon-primary);
  box-shadow: 0 6px 24px rgba(0, 168, 225, 0.3);
}

.amazonprime-btn-copy:active {
  transform: translateY(-1px) scale(0.98);
}

.amazonprime-code-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.amazonprime-validez-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.amazonprime-status-valid {
  background: linear-gradient(135deg, rgba(70, 211, 105, 0.2) 0%, rgba(70, 211, 105, 0.05) 100%);
  border: 1px solid rgba(70, 211, 105, 0.4);
  color: #86efac;
  box-shadow: 0 0 20px rgba(70, 211, 105, 0.2);
}

.amazonprime-status-expiring {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.05) 100%);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.amazonprime-status-expired {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.amazonprime-status-unknown {
  background: linear-gradient(135deg, rgba(107, 126, 145, 0.2) 0%, rgba(107, 126, 145, 0.05) 100%);
  border: 1px solid rgba(107, 126, 145, 0.4);
  color: #9ca3af;
  box-shadow: 0 0 20px rgba(107, 126, 145, 0.2);
}

.amazonprime-fecha-email {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--amazon-text-muted);
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE - MOBILE FIRST
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .amazonprime-platform {
    padding: 1.25rem;
    border-radius: 16px;
    margin: 0 0.75rem;
    max-width: calc(100% - 1.5rem);
  }

  .amazonprime-header {
    margin-bottom: 1.5rem;
  }

  .amazonprime-brand {
    gap: 1rem;
  }

  .amazonprime-logo {
    width: 55px;
    height: 55px;
  }

  .amazonprime-info h1 {
    font-size: 1.75rem;
  }

  .amazonprime-correos-count {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
  }

  .amazonprime-form-label {
    font-size: 0.85rem;
  }

  .amazonprime-form-input {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
  }

  .amazonprime-btn-consultar {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .amazonprime-result-container {
    padding: 1.25rem;
  }

  .amazonprime-result-header h3 {
    font-size: 1.1rem;
  }

  .amazonprime-code-value {
    font-size: 1.5rem;
    letter-spacing: 4px;
  }

  .amazonprime-code-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .amazonprime-platform {
    padding: 1rem;
    margin: 0 0.5rem;
    max-width: calc(100% - 1rem);
    border-radius: 12px;
  }

  .amazonprime-logo {
    width: 50px;
    height: 50px;
  }

  .amazonprime-info h1 {
    font-size: 1.5rem;
  }

  .amazonprime-btn-consultar {
    font-size: 0.95rem;
  }

  .amazonprime-btn-icon {
    font-size: 1.1rem;
  }

  .amazonprime-form-input {
    font-size: 0.9rem;
  }

  .amazonprime-code-value {
    font-size: 1.25rem;
    letter-spacing: 3px;
  }

  .amazonprime-btn-copy {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ✨ EFECTOS ESPECIALES Y ACABADOS
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Efecto de escaneo futurista */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ═══════════════════════════════════════════════════════════
   🎬 HBO MAX - PREMIUM STREAMING THEME
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   🎨 VARIABLES DE TEMA HBO MAX
   ═══════════════════════════════════════════════════════════ */
.hbomax-platform {
  --hbo-primary: #0073FF;
  --hbo-primary-dark: #0052CC;
  --hbo-primary-light: #3399FF;
  --hbo-secondary: #120C1D;
  --hbo-accent: #00A8FF;
  --hbo-bg-dark: #0A0A0F;
  --hbo-bg-card: #0F0F17;
  --hbo-bg-elevated: #14141F;
  --hbo-text-primary: #ffffff;
  --hbo-text-secondary: #B8BCC8;
  --hbo-text-muted: #6B7280;
  --hbo-border: rgba(0, 115, 255, 0.15);
  --hbo-border-bright: rgba(0, 115, 255, 0.4);
  --hbo-glow: rgba(0, 115, 255, 0.3);
  --hbo-success: #10B981;
  --hbo-warning: #FBBF24;
  --hbo-error: #EF4444;
  --hbo-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --hbo-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* ═══════════════════════════════════════════════════════════
   🎯 CONTENEDOR PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.hbomax-platform {
  font-family: 'Space Grotesk', 'Rajdhani', sans-serif;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--hbo-bg-dark) 0%, #0D0D15 100%);
  border-radius: 24px;
  border: 1px solid var(--hbo-border);
  box-shadow: var(--hbo-shadow-lg), 
              0 0 0 1px rgba(0, 115, 255, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  animation: platformEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.hbomax-platform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--hbo-primary) 30%, 
    var(--hbo-primary-light) 50%, 
    var(--hbo-primary) 70%, 
    transparent 100%
  );
  animation: topBarScan 3s ease-in-out infinite;
}

.hbomax-platform::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 115, 255, 0.08) 0%, transparent 70%);
  animation: ambientGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes platformEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes topBarScan {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

@keyframes ambientGlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
  50% { transform: translate(10%, 10%) rotate(180deg); opacity: 0.8; }
}

/* ═══════════════════════════════════════════════════════════
   🎯 HEADER CON BRANDING
   ═══════════════════════════════════════════════════════════ */
.hbomax-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--hbo-border);
  animation: headerSlideIn 0.5s ease-out 0.1s backwards;
}

@keyframes headerSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hbomax-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hbomax-logo {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(135deg, var(--hbo-bg-elevated) 0%, var(--hbo-bg-card) 100%);
  border: 2px solid var(--hbo-border-bright);
  box-shadow: 0 8px 24px rgba(0, 115, 255, 0.25),
              0 0 20px rgba(0, 115, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: logoPulse 3s ease-in-out infinite;
}

.hbomax-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 115, 255, 0.4),
              0 0 40px rgba(0, 115, 255, 0.3);
  border-color: var(--hbo-primary);
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0, 115, 255, 0.25), 0 0 20px rgba(0, 115, 255, 0.15); }
  50% { box-shadow: 0 8px 24px rgba(0, 115, 255, 0.4), 0 0 30px rgba(0, 115, 255, 0.25); }
}

.hbomax-info h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--hbo-primary) 0%, var(--hbo-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-shadow: 0 0 30px rgba(0, 115, 255, 0.3);
  animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.hbomax-correos-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, rgba(0, 115, 255, 0.15) 0%, rgba(0, 115, 255, 0.05) 100%);
  border: 1px solid var(--hbo-border-bright);
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hbo-primary-light);
  letter-spacing: 0.5px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hbomax-correos-count:hover {
  background: linear-gradient(135deg, rgba(0, 115, 255, 0.25) 0%, rgba(0, 115, 255, 0.1) 100%);
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   📝 FORMULARIO PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.hbomax-form {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  animation: formFadeIn 0.5s ease-out 0.2s backwards;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hbomax-form-group {
  margin-bottom: 1.5rem;
}

.hbomax-form-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hbo-text-secondary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hbomax-input-container {
  position: relative;
}

.hbomax-form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--hbo-text-primary);
  background: var(--hbo-bg-card);
  border: 2px solid var(--hbo-border);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.hbomax-form-input::placeholder {
  color: var(--hbo-text-muted);
  font-weight: 400;
}

.hbomax-form-input:focus {
  background: var(--hbo-bg-elevated);
  border-color: var(--hbo-primary);
  box-shadow: 0 0 0 3px rgba(0, 115, 255, 0.15),
              inset 0 2px 8px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(0, 115, 255, 0.1);
  transform: translateY(-2px);
}

.hbomax-form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hbomax-input-help {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--hbo-text-muted);
  font-family: 'Rajdhani', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   🎛️ CUSTOM SELECT DROPDOWN
   ═══════════════════════════════════════════════════════════ */
.hbomax-custom-select {
  position: relative;
}

.hbomax-select-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--hbo-bg-card);
  border: 2px solid var(--hbo-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hbomax-select-display:hover {
  background: var(--hbo-bg-elevated);
  border-color: var(--hbo-border-bright);
  transform: translateY(-2px);
}

.hbomax-selected-option {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hbomax-option-icon {
  font-size: 1.5rem;
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.hbomax-option-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hbomax-option-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--hbo-text-primary);
}

.hbomax-option-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--hbo-text-muted);
}

.hbomax-dropdown-arrow {
  font-size: 0.8rem;
  color: var(--hbo-text-secondary);
  transition: transform 0.3s ease;
}

.hbomax-dropdown-arrow.active {
  transform: rotate(180deg);
}

.hbomax-select-options {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--hbo-bg-elevated);
  border: 2px solid var(--hbo-border-bright);
  border-radius: 12px;
  overflow: hidden;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: dropdownExpand 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes dropdownExpand {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hbomax-select-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid var(--hbo-border);
}

.hbomax-select-option:last-child {
  border-bottom: none;
}

.hbomax-select-option:hover {
  background: linear-gradient(135deg, rgba(0, 115, 255, 0.15) 0%, rgba(0, 115, 255, 0.05) 100%);
}

.hbomax-select-option.selected {
  background: linear-gradient(135deg, rgba(0, 115, 255, 0.2) 0%, rgba(0, 115, 255, 0.1) 100%);
  border-left: 3px solid var(--hbo-primary);
}

/* ═══════════════════════════════════════════════════════════
   🚀 BOTÓN DE CONSULTA
   ═══════════════════════════════════════════════════════════ */
.hbomax-btn-consultar {
  width: 100%;
  padding: 1.2rem 2rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--hbo-primary) 0%, var(--hbo-accent) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 115, 255, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hbomax-btn-consultar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.hbomax-btn-consultar:hover::before {
  left: 100%;
}

.hbomax-btn-consultar:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 115, 255, 0.5),
              0 0 40px rgba(0, 115, 255, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.2);
}

.hbomax-btn-consultar:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

.hbomax-btn-consultar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.hbomax-btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.hbomax-btn-icon {
  font-size: 1.3rem;
  animation: iconFloat 2s ease-in-out infinite;
}

.hbomax-btn-text {
  font-weight: 700;
}

.hbomax-btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hbomax-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   ⚠️ ALERTAS Y NOTIFICACIONES
   ═══════════════════════════════════════════════════════════ */
.hbomax-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  animation: alertSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hbomax-alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
}

.hbomax-alert-icon {
  font-size: 1.3rem;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.hbomax-alert-message {
  flex: 1 1;
}

/* ═══════════════════════════════════════════════════════════
   📊 CONTENEDOR DE RESULTADOS
   ═══════════════════════════════════════════════════════════ */
.hbomax-result-container {
  background: linear-gradient(135deg, var(--hbo-bg-elevated) 0%, var(--hbo-bg-card) 100%);
  border: 1px solid var(--hbo-border-bright);
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: resultExpand 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.hbomax-result-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hbo-primary), transparent);
  animation: resultGlow 2s ease-in-out infinite;
}

@keyframes resultExpand {
  from {
    opacity: 0;
    transform: scale(0.95);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: scale(1);
    max-height: 1000px;
  }
}

@keyframes resultGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.hbomax-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hbo-border);
}

.hbomax-result-header h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--hbo-text-primary);
  letter-spacing: 0.5px;
}

.hbomax-result-icon {
  font-size: 1.5rem;
  animation: iconBounce 2s ease-in-out infinite;
}

.hbomax-result-title {
  font-weight: 700;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ═══════════════════════════════════════════════════════════
   🔑 DISPLAY DE CÓDIGO
   ═══════════════════════════════════════════════════════════ */
.hbomax-result-code {
  background: var(--hbo-bg-dark);
  border: 1px solid var(--hbo-border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.hbomax-result-code:hover {
  border-color: var(--hbo-border-bright);
  box-shadow: 0 4px 16px rgba(0, 115, 255, 0.15);
}

.hbomax-code-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border-left: 4px solid var(--hbo-primary);
  margin-bottom: 1rem;
}

.hbomax-code-value {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--hbo-primary-light);
  letter-spacing: 8px;
  text-shadow: 0 0 20px rgba(0, 115, 255, 0.5);
  animation: codeGlow 2s ease-in-out infinite;
  text-align: center;
}

@keyframes codeGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(0, 115, 255, 0.5); }
  50% { text-shadow: 0 0 30px rgba(0, 115, 255, 0.8); }
}

.hbomax-btn-copy {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--hbo-primary);
  background: linear-gradient(135deg, var(--hbo-bg-elevated) 0%, var(--hbo-bg-card) 100%);
  border: 2px solid var(--hbo-border-bright);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hbomax-btn-copy:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--hbo-bg-card) 0%, var(--hbo-bg-dark) 100%);
  border-color: var(--hbo-primary);
  box-shadow: 0 6px 24px rgba(0, 115, 255, 0.3);
}

.hbomax-btn-copy:active {
  transform: translateY(-1px) scale(0.98);
}

.hbomax-code-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.hbomax-validez-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hbomax-status-valid {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6EE7B7;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.hbomax-status-expiring {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.05) 100%);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #FDE68A;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.hbomax-status-expired {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.hbomax-status-unknown {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.2) 0%, rgba(107, 114, 128, 0.05) 100%);
  border: 1px solid rgba(107, 114, 128, 0.4);
  color: #9CA3AF;
  box-shadow: 0 0 20px rgba(107, 114, 128, 0.2);
}

.hbomax-fecha-email {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--hbo-text-muted);
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}


/* ═══════════════════════════════════════════════════════════
   🔗 PREVIEW Y ACCIONES DE LINK
   ═══════════════════════════════════════════════════════════ */
.hbomax-result-link {
  background: var(--hbo-bg-dark);
  border: 1px solid var(--hbo-border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.hbomax-result-link:hover {
  border-color: var(--hbo-border-bright);
  box-shadow: 0 4px 16px rgba(0, 115, 255, 0.15);
}

.hbomax-link-preview {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--hbo-primary);
}

.hbomax-link-text {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.9rem;
  color: var(--hbo-text-secondary);
  word-break: break-all;
  line-height: 1.6;
}

.hbomax-link-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.hbomax-validez-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hbomax-status-valid {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6EE7B7;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.hbomax-status-expiring {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.05) 100%);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #FDE68A;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.hbomax-status-expired {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.hbomax-status-unknown {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.2) 0%, rgba(107, 114, 128, 0.05) 100%);
  border: 1px solid rgba(107, 114, 128, 0.4);
  color: #9CA3AF;
  box-shadow: 0 0 20px rgba(107, 114, 128, 0.2);
}

.hbomax-fecha-email {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--hbo-text-muted);
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.hbomax-link-actions {
  display: flex;
flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hbomax-btn-open,
.hbomax-btn-copy {
  flex: 1 1;
  padding: 0.875rem 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.hbomax-btn-open {
  background: linear-gradient(135deg, var(--hbo-primary) 0%, var(--hbo-accent) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 115, 255, 0.3);
}

.hbomax-btn-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 115, 255, 0.5);
}

.hbomax-btn-copy {
  background: linear-gradient(135deg, var(--hbo-bg-elevated) 0%, var(--hbo-bg-card) 100%);
  color: var(--hbo-primary);
  border: 2px solid var(--hbo-border-bright);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hbomax-btn-copy:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--hbo-bg-card) 0%, var(--hbo-bg-dark) 100%);
  border-color: var(--hbo-primary);
  box-shadow: 0 6px 24px rgba(0, 115, 255, 0.3);
}

.hbomax-btn-open:active,
.hbomax-btn-copy:active {
  transform: translateY(-1px) scale(0.98);
}

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE - MOBILE FIRST
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hbomax-platform {
    padding: 1.25rem;
    border-radius: 16px;
    margin: 0 0.75rem;
    max-width: calc(100% - 1.5rem);
  }

  .hbomax-header {
    margin-bottom: 1.5rem;
  }

  .hbomax-brand {
    gap: 1rem;
  }

  .hbomax-logo {
    width: 55px;
    height: 55px;
  }

  .hbomax-info h1 {
    font-size: 1.75rem;
  }

  .hbomax-correos-count {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
  }

  .hbomax-form-label {
    font-size: 0.85rem;
  }

  .hbomax-form-input {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
  }

  .hbomax-btn-consultar {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .hbomax-result-container {
    padding: 1.25rem;
  }

  .hbomax-result-header h3 {
    font-size: 1.1rem;
  }

  .hbomax-code-value {
    font-size: 1.5rem;
    letter-spacing: 4px;
  }

  .hbomax-link-actions {
    flex-direction: column;
  }

  .hbomax-btn-open,
  .hbomax-btn-copy {
    width: 100%;
  }

  .hbomax-link-status,
  .hbomax-code-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hbomax-platform {
    padding: 1rem;
    margin: 0 0.5rem;
    max-width: calc(100% - 1rem);
    border-radius: 12px;
  }

  .hbomax-logo {
    width: 50px;
    height: 50px;
  }

  .hbomax-info h1 {
    font-size: 1.5rem;
  }

  .hbomax-btn-consultar {
    font-size: 0.95rem;
  }

  .hbomax-btn-icon {
    font-size: 1.1rem;
  }

  .hbomax-form-input {
    font-size: 0.9rem;
  }

  .hbomax-code-value {
    font-size: 1.25rem;
    letter-spacing: 3px;
  }

  .hbomax-link-text {
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ✨ EFECTOS ESPECIALES Y ACABADOS
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Efecto de escaneo futurista */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ═══════════════════════════════════════════════════════════
   🎌 CRUNCHYROLL PREMIUM - FUTURISTIC ANIME THEME
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   🎨 VARIABLES DE TEMA CRUNCHYROLL
   ═══════════════════════════════════════════════════════════ */
.crunchyroll-platform {
  --cr-primary: #f47521;
  --cr-primary-dark: #d86518;
  --cr-primary-light: #ff8c3a;
  --cr-secondary: #23252b;
  --cr-accent: #ff6b35;
  --cr-bg-dark: #0a0b0e;
  --cr-bg-card: #141519;
  --cr-bg-elevated: #1a1c23;
  --cr-text-primary: #ffffff;
  --cr-text-secondary: #b4b8c5;
  --cr-text-muted: #6b7280;
  --cr-border: rgba(244, 117, 33, 0.15);
  --cr-border-bright: rgba(244, 117, 33, 0.4);
  --cr-glow: rgba(244, 117, 33, 0.3);
  --cr-success: #10b981;
  --cr-warning: #fbbf24;
  --cr-error: #ef4444;
  --cr-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --cr-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* ═══════════════════════════════════════════════════════════
   🎯 CONTENEDOR PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.crunchyroll-platform {
  font-family: 'Space Grotesk', 'Rajdhani', sans-serif;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--cr-bg-dark) 0%, #0f1117 100%);
  border-radius: 24px;
  border: 1px solid var(--cr-border);
  box-shadow: var(--cr-shadow-lg), 
              0 0 0 1px rgba(244, 117, 33, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  animation: platformEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.crunchyroll-platform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--cr-primary) 30%, 
    var(--cr-primary-light) 50%, 
    var(--cr-primary) 70%, 
    transparent 100%
  );
  animation: topBarScan 3s ease-in-out infinite;
}

.crunchyroll-platform::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(244, 117, 33, 0.08) 0%, transparent 70%);
  animation: ambientGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes platformEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes topBarScan {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

@keyframes ambientGlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
  50% { transform: translate(10%, 10%) rotate(180deg); opacity: 0.8; }
}

/* ═══════════════════════════════════════════════════════════
   🎯 HEADER CON BRANDING
   ═══════════════════════════════════════════════════════════ */
.crunchyroll-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--cr-border);
  animation: headerSlideIn 0.5s ease-out 0.1s backwards;
}

@keyframes headerSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.crunchyroll-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.crunchyroll-logo {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(135deg, var(--cr-bg-elevated) 0%, var(--cr-bg-card) 100%);
  border: 2px solid var(--cr-border-bright);
  box-shadow: 0 8px 24px rgba(244, 117, 33, 0.25),
              0 0 20px rgba(244, 117, 33, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: logoPulse 3s ease-in-out infinite;
}

.crunchyroll-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(244, 117, 33, 0.4),
              0 0 40px rgba(244, 117, 33, 0.3);
  border-color: var(--cr-primary);
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(244, 117, 33, 0.25), 0 0 20px rgba(244, 117, 33, 0.15); }
  50% { box-shadow: 0 8px 24px rgba(244, 117, 33, 0.4), 0 0 30px rgba(244, 117, 33, 0.25); }
}

/* ✅ Info siempre en columna (PC y móvil) */
.crunchyroll-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.crunchyroll-info h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--cr-primary) 0%, var(--cr-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-shadow: 0 0 30px rgba(244, 117, 33, 0.3);
  animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.crunchyroll-correos-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  margin-top: 0;
  background: linear-gradient(135deg, rgba(244, 117, 33, 0.15) 0%, rgba(244, 117, 33, 0.05) 100%);
  border: 1px solid var(--cr-border-bright);
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cr-primary-light);
  letter-spacing: 0.5px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.crunchyroll-correos-count:hover {
  background: linear-gradient(135deg, rgba(244, 117, 33, 0.25) 0%, rgba(244, 117, 33, 0.1) 100%);
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   📝 FORMULARIO PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.crunchyroll-form {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  animation: formFadeIn 0.5s ease-out 0.2s backwards;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.crunchyroll-form-group {
  margin-bottom: 1.5rem;
}

.crunchyroll-form-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cr-text-secondary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.crunchyroll-input-container {
  position: relative;
}

.crunchyroll-form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--cr-text-primary);
  background: var(--cr-bg-card);
  border: 2px solid var(--cr-border);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.crunchyroll-form-input::placeholder {
  color: var(--cr-text-muted);
  font-weight: 400;
}

.crunchyroll-form-input:focus {
  background: var(--cr-bg-elevated);
  border-color: var(--cr-primary);
  box-shadow: 0 0 0 3px rgba(244, 117, 33, 0.15),
              inset 0 2px 8px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(244, 117, 33, 0.1);
  transform: translateY(-2px);
}

.crunchyroll-form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.crunchyroll-input-help {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--cr-text-muted);
  font-family: 'Rajdhani', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   🚀 BOTÓN DE CONSULTA
   ═══════════════════════════════════════════════════════════ */
.crunchyroll-btn-consultar {
  width: 100%;
  padding: 1.2rem 2rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cr-primary) 0%, var(--cr-accent) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(244, 117, 33, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.crunchyroll-btn-consultar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.crunchyroll-btn-consultar:hover::before {
  left: 100%;
}

.crunchyroll-btn-consultar:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(244, 117, 33, 0.5),
              0 0 40px rgba(244, 117, 33, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.2);
}

.crunchyroll-btn-consultar:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

.crunchyroll-btn-consultar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.crunchyroll-btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.crunchyroll-btn-icon {
  font-size: 1.3rem;
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.crunchyroll-btn-text {
  font-weight: 700;
}

.crunchyroll-btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.crunchyroll-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   ⚠️ ALERTAS Y NOTIFICACIONES
   ═══════════════════════════════════════════════════════════ */
.crunchyroll-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  animation: alertSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.crunchyroll-alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.crunchyroll-alert-icon {
  font-size: 1.3rem;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.crunchyroll-alert-message {
  flex: 1 1;
}

/* ═══════════════════════════════════════════════════════════
   📊 CONTENEDOR DE RESULTADOS
   ═══════════════════════════════════════════════════════════ */
.crunchyroll-result-container {
  background: linear-gradient(135deg, var(--cr-bg-elevated) 0%, var(--cr-bg-card) 100%);
  border: 1px solid var(--cr-border-bright);
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: resultExpand 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.crunchyroll-result-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cr-primary), transparent);
  animation: resultGlow 2s ease-in-out infinite;
}

@keyframes resultExpand {
  from {
    opacity: 0;
    transform: scale(0.95);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: scale(1);
    max-height: 1000px;
  }
}

@keyframes resultGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.crunchyroll-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--cr-border);
}

.crunchyroll-result-header h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cr-text-primary);
  letter-spacing: 0.5px;
}

.crunchyroll-result-icon {
  font-size: 1.5rem;
  animation: iconBounce 2s ease-in-out infinite;
}

.crunchyroll-result-title {
  font-weight: 700;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ═══════════════════════════════════════════════════════════
   🔗 PREVIEW Y ACCIONES DE LINK
   ═══════════════════════════════════════════════════════════ */
.crunchyroll-result-link {
  background: var(--cr-bg-dark);
  border: 1px solid var(--cr-border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.crunchyroll-result-link:hover {
  border-color: var(--cr-border-bright);
  box-shadow: 0 4px 16px rgba(244, 117, 33, 0.15);
}

.crunchyroll-link-preview {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--cr-primary);
}

.crunchyroll-link-text {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.9rem;
  color: var(--cr-text-secondary);
  word-break: break-all;
  line-height: 1.6;
}

.crunchyroll-link-actions {
  display: flex;
  flex-direction: column;  /* ← CAMBIADO: botones verticales */
  gap: 0.75rem;
  margin-top: 1rem;
}

.crunchyroll-btn-open,
.crunchyroll-btn-copy {
  width: 100%;  /* ← CAMBIADO: de flex: 1 a width: 100% */
  padding: 0.875rem 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.crunchyroll-btn-open {
  background: linear-gradient(135deg, var(--cr-primary) 0%, var(--cr-accent) 100%);
  color: #ffffff;
  border: 2px solid transparent;  /* ← AÑADIDO: para consistencia */
  box-shadow: 0 4px 16px rgba(244, 117, 33, 0.3);
}

.crunchyroll-btn-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(244, 117, 33, 0.5);
}

.crunchyroll-btn-copy {
  background: linear-gradient(135deg, var(--cr-bg-elevated) 0%, var(--cr-bg-card) 100%);
  color: var(--cr-primary);
  border: 2px solid var(--cr-border-bright);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.crunchyroll-btn-copy:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--cr-bg-card) 0%, var(--cr-bg-dark) 100%);
  border-color: var(--cr-primary);
  box-shadow: 0 6px 24px rgba(244, 117, 33, 0.3);
}

.crunchyroll-btn-open:active,
.crunchyroll-btn-copy:active {
  transform: translateY(-1px) scale(0.98);
}

.crunchyroll-link-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.crunchyroll-validez-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.crunchyroll-status-valid {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.crunchyroll-status-expiring {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.05) 100%);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.crunchyroll-status-expired {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.crunchyroll-status-unknown {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.2) 0%, rgba(107, 114, 128, 0.05) 100%);
  border: 1px solid rgba(107, 114, 128, 0.4);
  color: #9ca3af;
  box-shadow: 0 0 20px rgba(107, 114, 128, 0.2);
}

.crunchyroll-fecha-email {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--cr-text-muted);
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE - MOBILE FIRST
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .crunchyroll-platform {
    padding: 1.25rem;
    border-radius: 16px;
    margin: 0 0.75rem;
    max-width: calc(100% - 1.5rem);
  }

  .crunchyroll-header {
    margin-bottom: 1.5rem;
  }

  .crunchyroll-brand {
    gap: 1rem;
  }

  .crunchyroll-logo {
    width: 55px;
    height: 55px;
  }

  .crunchyroll-info h1 {
    font-size: 1.75rem;
  }

  .crunchyroll-correos-count {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    margin-left: -10px; /* ✅ Ajusta más a la izquierda en móvil */
  }

  .crunchyroll-form-label {
    font-size: 0.85rem;
  }

  .crunchyroll-form-input {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }

  .crunchyroll-btn-consultar {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .crunchyroll-result-container {
    padding: 1.25rem;
  }

  .crunchyroll-result-header h3 {
    font-size: 1.1rem;
  }

  .crunchyroll-link-actions {
    flex-direction: column;
  }

  .crunchyroll-btn-open,
  .crunchyroll-btn-copy {
    width: 100%;
  }

  .crunchyroll-link-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .crunchyroll-platform {
    padding: 1rem;
    margin: 0 0.5rem;
    max-width: calc(100% - 1rem);
    border-radius: 12px;
  }

  .crunchyroll-logo {
    width: 50px;
    height: 50px;
  }

  .crunchyroll-info h1 {
    font-size: 1.5rem;
  }

  .crunchyroll-correos-count {
    margin-left: -10px; /* ✅ Mismo ajuste para móviles pequeños */
  }

  .crunchyroll-btn-consultar {
    font-size: 0.95rem;
  }

  .crunchyroll-btn-icon {
    font-size: 1.1rem;
  }

  .crunchyroll-form-input {
    font-size: 0.9rem;
  }

  .crunchyroll-link-text {
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ✨ EFECTOS ESPECIALES Y ACABADOS
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Efecto de escaneo futurista */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ═══════════════════════════════════════════════════════════
   🏔️ PARAMOUNT+ - PREMIUM MOUNTAIN THEME
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   🎨 VARIABLES DE TEMA PARAMOUNT+
   ═══════════════════════════════════════════════════════════ */
.paramount-platform {
  --paramount-primary: #2864f0;
  --paramount-primary-dark: #2050dc;
  --paramount-primary-light: #4080ff;
  --paramount-secondary: #000a3b;
  --paramount-accent: #3070ff;
  --paramount-bg-dark: #000510;
  --paramount-bg-card: #0a0d1a;
  --paramount-bg-elevated: #0f1222;
  --paramount-text-primary: #ffffff;
  --paramount-text-secondary: #b8c0d8;
  --paramount-text-muted: #6b7593;
  --paramount-border: rgba(40, 100, 240, 0.15);
  --paramount-border-bright: rgba(40, 100, 240, 0.4);
  --paramount-glow: rgba(40, 100, 240, 0.3);
  --paramount-success: #10b981;
  --paramount-warning: #fbbf24;
  --paramount-error: #ef4444;
  --paramount-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --paramount-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* ═══════════════════════════════════════════════════════════
   🎯 CONTENEDOR PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.paramount-platform {
  font-family: 'Space Grotesk', 'Rajdhani', sans-serif;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--paramount-bg-dark) 0%, #0a0d18 100%);
  border-radius: 24px;
  border: 1px solid var(--paramount-border);
  box-shadow: var(--paramount-shadow-lg), 
              0 0 0 1px rgba(40, 100, 240, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  animation: platformEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.paramount-platform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--paramount-primary) 30%, 
    var(--paramount-primary-light) 50%, 
    var(--paramount-primary) 70%, 
    transparent 100%
  );
  animation: topBarScan 3s ease-in-out infinite;
}

.paramount-platform::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(40, 100, 240, 0.08) 0%, transparent 70%);
  animation: ambientGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes platformEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes topBarScan {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

@keyframes ambientGlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
  50% { transform: translate(10%, 10%) rotate(180deg); opacity: 0.8; }
}

/* ═══════════════════════════════════════════════════════════
   🎯 HEADER CON BRANDING
   ═══════════════════════════════════════════════════════════ */
.paramount-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--paramount-border);
  animation: headerSlideIn 0.5s ease-out 0.1s backwards;
}

@keyframes headerSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.paramount-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.paramount-logo {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(135deg, var(--paramount-bg-elevated) 0%, var(--paramount-bg-card) 100%);
  border: 2px solid var(--paramount-border-bright);
  box-shadow: 0 8px 24px rgba(40, 100, 240, 0.25),
              0 0 20px rgba(40, 100, 240, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: logoPulse 3s ease-in-out infinite;
}

.paramount-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(40, 100, 240, 0.4),
              0 0 40px rgba(40, 100, 240, 0.3);
  border-color: var(--paramount-primary);
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(40, 100, 240, 0.25), 0 0 20px rgba(40, 100, 240, 0.15); }
  50% { box-shadow: 0 8px 24px rgba(40, 100, 240, 0.4), 0 0 30px rgba(40, 100, 240, 0.25); }
}

.paramount-info h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--paramount-primary) 0%, var(--paramount-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-shadow: 0 0 30px rgba(40, 100, 240, 0.3);
  animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.paramount-correos-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, rgba(40, 100, 240, 0.15) 0%, rgba(40, 100, 240, 0.05) 100%);
  border: 1px solid var(--paramount-border-bright);
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--paramount-primary-light);
  letter-spacing: 0.5px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.paramount-correos-count:hover {
  background: linear-gradient(135deg, rgba(40, 100, 240, 0.25) 0%, rgba(40, 100, 240, 0.1) 100%);
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   📝 FORMULARIO PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.paramount-form {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  animation: formFadeIn 0.5s ease-out 0.2s backwards;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.paramount-form-group {
  margin-bottom: 1.5rem;
}

.paramount-form-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--paramount-text-secondary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.paramount-input-container {
  position: relative;
}

.paramount-form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--paramount-text-primary);
  background: var(--paramount-bg-card);
  border: 2px solid var(--paramount-border);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.paramount-form-input::placeholder {
  color: var(--paramount-text-muted);
  font-weight: 400;
}

.paramount-form-input:focus {
  background: var(--paramount-bg-elevated);
  border-color: var(--paramount-primary);
  box-shadow: 0 0 0 3px rgba(40, 100, 240, 0.15),
              inset 0 2px 8px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(40, 100, 240, 0.1);
  transform: translateY(-2px);
}

.paramount-form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.paramount-input-help {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--paramount-text-muted);
  font-family: 'Rajdhani', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   🚀 BOTÓN DE CONSULTA
   ═══════════════════════════════════════════════════════════ */
.paramount-btn-consultar {
  width: 100%;
  padding: 1.2rem 2rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--paramount-primary) 0%, var(--paramount-accent) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(40, 100, 240, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.paramount-btn-consultar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.paramount-btn-consultar:hover::before {
  left: 100%;
}

.paramount-btn-consultar:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(40, 100, 240, 0.5),
              0 0 40px rgba(40, 100, 240, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.2);
}

.paramount-btn-consultar:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

.paramount-btn-consultar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.paramount-btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.paramount-btn-icon {
  font-size: 1.3rem;
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.paramount-btn-text {
  font-weight: 700;
}

.paramount-btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.paramount-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   ⚠️ ALERTAS Y NOTIFICACIONES
   ═══════════════════════════════════════════════════════════ */
.paramount-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  animation: alertSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.paramount-alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.paramount-alert-icon {
  font-size: 1.3rem;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.paramount-alert-message {
  flex: 1 1;
}

/* ═══════════════════════════════════════════════════════════
   📊 CONTENEDOR DE RESULTADOS
   ═══════════════════════════════════════════════════════════ */
.paramount-result-container {
  background: linear-gradient(135deg, var(--paramount-bg-elevated) 0%, var(--paramount-bg-card) 100%);
  border: 1px solid var(--paramount-border-bright);
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: resultExpand 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.paramount-result-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--paramount-primary), transparent);
  animation: resultGlow 2s ease-in-out infinite;
}

@keyframes resultExpand {
  from {
    opacity: 0;
    transform: scale(0.95);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: scale(1);
    max-height: 1000px;
  }
}

@keyframes resultGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.paramount-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--paramount-border);
}

.paramount-result-header h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--paramount-text-primary);
  letter-spacing: 0.5px;
}

.paramount-result-icon {
  font-size: 1.5rem;
  animation: iconBounce 2s ease-in-out infinite;
}

.paramount-result-title {
  font-weight: 700;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ═══════════════════════════════════════════════════════════
   🔗 PREVIEW Y ACCIONES DE LINK
   ═══════════════════════════════════════════════════════════ */
.paramount-result-link {
  background: var(--paramount-bg-dark);
  border: 1px solid var(--paramount-border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.paramount-result-link:hover {
  border-color: var(--paramount-border-bright);
  box-shadow: 0 4px 16px rgba(40, 100, 240, 0.15);
}

.paramount-link-preview {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--paramount-primary);
}

.paramount-link-text {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.9rem;
  color: var(--paramount-text-secondary);
  word-break: break-all;
  line-height: 1.6;
}

.paramount-link-actions {
  display: flex;
  flex-direction: column;  /* ← CAMBIADO: botones verticales */
  gap: 0.75rem;
  margin-top: 1rem;
}

.paramount-btn-open,
.paramount-btn-copy {
  width: 100%;  /* ← CAMBIADO: de flex: 1 a width: 100% */
  padding: 0.875rem 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.paramount-btn-open {
  background: linear-gradient(135deg, var(--paramount-primary) 0%, var(--paramount-accent) 100%);
  color: #ffffff;
  border: 2px solid transparent;  /* ← AÑADIDO: para consistencia */
  box-shadow: 0 4px 16px rgba(40, 100, 240, 0.3);
}

.paramount-btn-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(40, 100, 240, 0.5);
}

.paramount-btn-copy {
  background: linear-gradient(135deg, var(--paramount-bg-elevated) 0%, var(--paramount-bg-card) 100%);
  color: var(--paramount-primary);
  border: 2px solid var(--paramount-border-bright);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.paramount-btn-copy:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--paramount-bg-card) 0%, var(--paramount-bg-dark) 100%);
  border-color: var(--paramount-primary);
  box-shadow: 0 6px 24px rgba(40, 100, 240, 0.3);
}

.paramount-btn-open:active,
.paramount-btn-copy:active {
  transform: translateY(-1px) scale(0.98);
}

.paramount-link-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.paramount-validez-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.paramount-status-valid {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.paramount-status-expiring {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.05) 100%);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.paramount-status-expired {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.paramount-status-unknown {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.2) 0%, rgba(107, 114, 128, 0.05) 100%);
  border: 1px solid rgba(107, 114, 128, 0.4);
  color: #9ca3af;
  box-shadow: 0 0 20px rgba(107, 114, 128, 0.2);
}

.paramount-fecha-email {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--paramount-text-muted);
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE - MOBILE FIRST
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .paramount-platform {
    padding: 1.25rem;
    border-radius: 16px;
    margin: 0 0.75rem;
    max-width: calc(100% - 1.5rem);
  }

  .paramount-header {
    margin-bottom: 1.5rem;
  }

  .paramount-brand {
    gap: 1rem;
  }

  .paramount-logo {
    width: 55px;
    height: 55px;
  }

  .paramount-info h1 {
    font-size: 1.75rem;
  }

  .paramount-correos-count {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
  }

  .paramount-form-label {
    font-size: 0.85rem;
  }

  .paramount-form-input {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
  }

  .paramount-btn-consultar {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .paramount-result-container {
    padding: 1.25rem;
  }

  .paramount-result-header h3 {
    font-size: 1.1rem;
  }

  .paramount-link-actions {
    flex-direction: column;
  }

  .paramount-btn-open,
  .paramount-btn-copy {
    width: 100%;
  }

  .paramount-link-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .paramount-platform {
    padding: 1rem;
    margin: 0 0.5rem;
    max-width: calc(100% - 1rem);
    border-radius: 12px;
  }

  .paramount-logo {
    width: 50px;
    height: 50px;
  }

  .paramount-info h1 {
    font-size: 1.5rem;
  }

  .paramount-btn-consultar {
    font-size: 0.95rem;
  }

  .paramount-btn-icon {
    font-size: 1.1rem;
  }

  .paramount-form-input {
    font-size: 0.9rem;
  }

  .paramount-link-text {
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ✨ EFECTOS ESPECIALES Y ACABADOS
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Efecto de escaneo futurista */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ═══════════════════════════════════════════════════════════
   📺 VIX - PREMIUM STREAMING THEME
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   🎨 VARIABLES DE TEMA VIX
   ═══════════════════════════════════════════════════════════ */
.vix-platform {
  --vix-primary: #FF5900;
  --vix-primary-dark: #E24B00;
  --vix-primary-light: #FF7020;
  --vix-secondary: #090D18;
  --vix-accent: #F52D1F;
  --vix-bg-dark: #050608;
  --vix-bg-card: #0D0F14;
  --vix-bg-elevated: #13151C;
  --vix-text-primary: #F2F2F2;
  --vix-text-secondary: #C5C8D0;
  --vix-text-muted: #6B7280;
  --vix-border: rgba(255, 89, 0, 0.15);
  --vix-border-bright: rgba(255, 89, 0, 0.4);
  --vix-glow: rgba(255, 89, 0, 0.3);
  --vix-success: #46d369;
  --vix-warning: #fbbf24;
  --vix-error: #ef4444;
  --vix-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --vix-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* ═══════════════════════════════════════════════════════════
   🎯 CONTENEDOR PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.vix-platform {
  font-family: 'Space Grotesk', 'Rajdhani', sans-serif;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--vix-bg-dark) 0%, var(--vix-secondary) 100%);
  border-radius: 24px;
  border: 1px solid var(--vix-border);
  box-shadow: var(--vix-shadow-lg), 
              0 0 0 1px rgba(255, 89, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  animation: platformEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.vix-platform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--vix-primary) 30%, 
    var(--vix-primary-light) 50%, 
    var(--vix-primary) 70%, 
    transparent 100%
  );
  animation: topBarScan 3s ease-in-out infinite;
}

.vix-platform::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 89, 0, 0.08) 0%, transparent 70%);
  animation: ambientGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes platformEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes topBarScan {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

@keyframes ambientGlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
  50% { transform: translate(10%, 10%) rotate(180deg); opacity: 0.8; }
}

/* ═══════════════════════════════════════════════════════════
   🎯 HEADER CON BRANDING
   ═══════════════════════════════════════════════════════════ */
.vix-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--vix-border);
  animation: headerSlideIn 0.5s ease-out 0.1s backwards;
}

@keyframes headerSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.vix-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.vix-logo {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(135deg, var(--vix-bg-elevated) 0%, var(--vix-bg-card) 100%);
  border: 2px solid var(--vix-border-bright);
  box-shadow: 0 8px 24px rgba(255, 89, 0, 0.25),
              0 0 20px rgba(255, 89, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: logoPulse 3s ease-in-out infinite;
}

.vix-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(255, 89, 0, 0.4),
              0 0 40px rgba(255, 89, 0, 0.3);
  border-color: var(--vix-primary);
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(255, 89, 0, 0.25), 0 0 20px rgba(255, 89, 0, 0.15); }
  50% { box-shadow: 0 8px 24px rgba(255, 89, 0, 0.4), 0 0 30px rgba(255, 89, 0, 0.25); }
}

.vix-info h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--vix-primary) 0%, var(--vix-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-shadow: 0 0 30px rgba(255, 89, 0, 0.3);
  animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.vix-correos-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, rgba(255, 89, 0, 0.15) 0%, rgba(255, 89, 0, 0.05) 100%);
  border: 1px solid var(--vix-border-bright);
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--vix-primary-light);
  letter-spacing: 0.5px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.vix-correos-count:hover {
  background: linear-gradient(135deg, rgba(255, 89, 0, 0.25) 0%, rgba(255, 89, 0, 0.1) 100%);
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   📝 FORMULARIO PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.vix-form {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  animation: formFadeIn 0.5s ease-out 0.2s backwards;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vix-form-group {
  margin-bottom: 1.5rem;
}

.vix-form-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--vix-text-secondary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.vix-input-container {
  position: relative;
}

.vix-form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--vix-text-primary);
  background: var(--vix-bg-card);
  border: 2px solid var(--vix-border);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.vix-form-input::placeholder {
  color: var(--vix-text-muted);
  font-weight: 400;
}

.vix-form-input:focus {
  background: var(--vix-bg-elevated);
  border-color: var(--vix-primary);
  box-shadow: 0 0 0 3px rgba(255, 89, 0, 0.15),
              inset 0 2px 8px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(255, 89, 0, 0.1);
  transform: translateY(-2px);
}

.vix-form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.vix-input-help {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--vix-text-muted);
  font-family: 'Rajdhani', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   🚀 BOTÓN DE CONSULTA
   ═══════════════════════════════════════════════════════════ */
.vix-btn-consultar {
  width: 100%;
  padding: 1.2rem 2rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--vix-primary) 0%, var(--vix-accent) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(255, 89, 0, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.vix-btn-consultar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.vix-btn-consultar:hover::before {
  left: 100%;
}

.vix-btn-consultar:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(255, 89, 0, 0.5),
              0 0 40px rgba(255, 89, 0, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.2);
}

.vix-btn-consultar:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

.vix-btn-consultar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.vix-btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.vix-btn-icon {
  font-size: 1.3rem;
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.vix-btn-text {
  font-weight: 700;
}

.vix-btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.vix-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   ⚠️ ALERTAS Y NOTIFICACIONES
   ═══════════════════════════════════════════════════════════ */
.vix-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  animation: alertSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.vix-alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.vix-alert-icon {
  font-size: 1.3rem;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.vix-alert-message {
  flex: 1 1;
}

/* ═══════════════════════════════════════════════════════════
   📊 CONTENEDOR DE RESULTADOS
   ═══════════════════════════════════════════════════════════ */
.vix-result-container {
  background: linear-gradient(135deg, var(--vix-bg-elevated) 0%, var(--vix-bg-card) 100%);
  border: 1px solid var(--vix-border-bright);
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: resultExpand 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.vix-result-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--vix-primary), transparent);
  animation: resultGlow 2s ease-in-out infinite;
}

@keyframes resultExpand {
  from {
    opacity: 0;
    transform: scale(0.95);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: scale(1);
    max-height: 1000px;
  }
}

@keyframes resultGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.vix-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--vix-border);
}

.vix-result-header h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--vix-text-primary);
  letter-spacing: 0.5px;
}

.vix-result-icon {
  font-size: 1.5rem;
  animation: iconBounce 2s ease-in-out infinite;
}

.vix-result-title {
  font-weight: 700;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ═══════════════════════════════════════════════════════════
   🔗 PREVIEW Y ACCIONES DE LINK
   ═══════════════════════════════════════════════════════════ */
.vix-result-link {
  background: var(--vix-bg-dark);
  border: 1px solid var(--vix-border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.vix-result-link:hover {
  border-color: var(--vix-border-bright);
  box-shadow: 0 4px 16px rgba(255, 89, 0, 0.15);
}

.vix-link-preview {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--vix-primary);
}

.vix-link-text {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.9rem;
  color: var(--vix-text-secondary);
  word-break: break-all;
  line-height: 1.6;
}

.vix-link-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.vix-btn-open,
.vix-btn-copy {
  width: 100%;  /* ← CAMBIADO: Quité flex: 1 y puse width: 100% */
  padding: 0.875rem 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.vix-btn-open {
  background: linear-gradient(135deg, var(--vix-primary) 0%, var(--vix-accent) 100%);
  color: #ffffff;
  border: 2px solid transparent;  /* ← AÑADIDO: Para consistencia */
  box-shadow: 0 4px 16px rgba(255, 89, 0, 0.3);
}

.vix-btn-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(255, 89, 0, 0.5);
}

.vix-btn-copy {
  background: linear-gradient(135deg, var(--vix-bg-elevated) 0%, var(--vix-bg-card) 100%);
  color: var(--vix-primary);
  border: 2px solid var(--vix-border-bright);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.vix-btn-copy:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--vix-bg-card) 0%, var(--vix-bg-dark) 100%);
  border-color: var(--vix-primary);
  box-shadow: 0 6px 24px rgba(255, 89, 0, 0.3);
}

.vix-btn-open:active,
.vix-btn-copy:active {
  transform: translateY(-1px) scale(0.98);
}

.vix-link-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.vix-validez-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.vix-status-valid {
  background: linear-gradient(135deg, rgba(70, 211, 105, 0.2) 0%, rgba(70, 211, 105, 0.05) 100%);
  border: 1px solid rgba(70, 211, 105, 0.4);
  color: #86efac;
  box-shadow: 0 0 20px rgba(70, 211, 105, 0.2);
}

.vix-status-expiring {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.05) 100%);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.vix-status-expired {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.vix-status-unknown {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.2) 0%, rgba(107, 114, 128, 0.05) 100%);
  border: 1px solid rgba(107, 114, 128, 0.4);
  color: #9ca3af;
  box-shadow: 0 0 20px rgba(107, 114, 128, 0.2);
}

.vix-fecha-email {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--vix-text-muted);
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE - MOBILE FIRST
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .vix-platform {
    padding: 1.25rem;
    border-radius: 16px;
    margin: 0 0.75rem;
    max-width: calc(100% - 1.5rem);
  }

  .vix-header {
    margin-bottom: 1.5rem;
  }

  .vix-brand {
    gap: 1rem;
  }

  .vix-logo {
    width: 55px;
    height: 55px;
  }

  .vix-info h1 {
    font-size: 1.75rem;
  }

  .vix-correos-count {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
  }

  .vix-form-label {
    font-size: 0.85rem;
  }

  .vix-form-input {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
  }

  .vix-btn-consultar {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .vix-result-container {
    padding: 1.25rem;
  }

  .vix-result-header h3 {
    font-size: 1.1rem;
  }

  .vix-link-actions {
    flex-direction: column;
  }

  .vix-btn-open,
  .vix-btn-copy {
    width: 100%;
  }

  .vix-link-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .vix-platform {
    padding: 1rem;
    margin: 0 0.5rem;
    max-width: calc(100% - 1rem);
    border-radius: 12px;
  }

  .vix-logo {
    width: 50px;
    height: 50px;
  }

  .vix-info h1 {
    font-size: 1.5rem;
  }

  .vix-btn-consultar {
    font-size: 0.95rem;
  }

  .vix-btn-icon {
    font-size: 1.1rem;
  }

  .vix-form-input {
    font-size: 0.9rem;
  }

  .vix-link-text {
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ✨ EFECTOS ESPECIALES Y ACABADOS
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Efecto de escaneo futurista */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ═══════════════════════════════════════════════════════════
   ⚽ LIGA1 MAX - PREMIUM SPORTS STREAMING THEME
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   🎨 VARIABLES DE TEMA LIGA1 MAX
   ═══════════════════════════════════════════════════════════ */
.liga1max-platform {
  --liga1-primary: #E82C43;
  --liga1-primary-dark: #C31F36;
  --liga1-primary-light: #F24458;
  --liga1-secondary: #1A0A0E;
  --liga1-accent: #F90F18;
  --liga1-bg-dark: #0D0507;
  --liga1-bg-card: #150A0D;
  --liga1-bg-elevated: #1D1014;
  --liga1-text-primary: #F8F8F8;
  --liga1-text-secondary: #D8BFC5;
  --liga1-text-muted: #7A6169;
  --liga1-border: rgba(232, 44, 67, 0.15);
  --liga1-border-bright: rgba(232, 44, 67, 0.4);
  --liga1-glow: rgba(232, 44, 67, 0.3);
  --liga1-success: #46d369;
  --liga1-warning: #fbbf24;
  --liga1-error: #ef4444;
  --liga1-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --liga1-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* ═══════════════════════════════════════════════════════════
   🎯 CONTENEDOR PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.liga1max-platform {
  font-family: 'Space Grotesk', 'Rajdhani', sans-serif;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--liga1-bg-dark) 0%, #0f0608 100%);
  border-radius: 24px;
  border: 1px solid var(--liga1-border);
  box-shadow: var(--liga1-shadow-lg), 
              0 0 0 1px rgba(232, 44, 67, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  animation: platformEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.liga1max-platform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--liga1-primary) 30%, 
    var(--liga1-primary-light) 50%, 
    var(--liga1-primary) 70%, 
    transparent 100%
  );
  animation: topBarScan 3s ease-in-out infinite;
}

.liga1max-platform::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(232, 44, 67, 0.08) 0%, transparent 70%);
  animation: ambientGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes platformEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes topBarScan {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

@keyframes ambientGlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
  50% { transform: translate(10%, 10%) rotate(180deg); opacity: 0.8; }
}

/* ═══════════════════════════════════════════════════════════
   🎯 HEADER CON BRANDING
   ═══════════════════════════════════════════════════════════ */
.liga1max-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--liga1-border);
  animation: headerSlideIn 0.5s ease-out 0.1s backwards;
}

@keyframes headerSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.liga1max-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.liga1max-logo {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(135deg, var(--liga1-bg-elevated) 0%, var(--liga1-bg-card) 100%);
  border: 2px solid var(--liga1-border-bright);
  box-shadow: 0 8px 24px rgba(232, 44, 67, 0.25),
              0 0 20px rgba(232, 44, 67, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: logoPulse 3s ease-in-out infinite;
}

.liga1max-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(232, 44, 67, 0.4),
              0 0 40px rgba(232, 44, 67, 0.3);
  border-color: var(--liga1-primary);
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(232, 44, 67, 0.25), 0 0 20px rgba(232, 44, 67, 0.15); }
  50% { box-shadow: 0 8px 24px rgba(232, 44, 67, 0.4), 0 0 30px rgba(232, 44, 67, 0.25); }
}

.liga1max-info h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--liga1-primary) 0%, var(--liga1-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-shadow: 0 0 30px rgba(232, 44, 67, 0.3);
  animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.liga1max-correos-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, rgba(232, 44, 67, 0.15) 0%, rgba(232, 44, 67, 0.05) 100%);
  border: 1px solid var(--liga1-border-bright);
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--liga1-primary-light);
  letter-spacing: 0.5px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.liga1max-correos-count:hover {
  background: linear-gradient(135deg, rgba(232, 44, 67, 0.25) 0%, rgba(232, 44, 67, 0.1) 100%);
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   📝 FORMULARIO PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.liga1max-form {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  animation: formFadeIn 0.5s ease-out 0.2s backwards;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.liga1max-form-group {
  margin-bottom: 1.5rem;
}

.liga1max-form-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--liga1-text-secondary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.liga1max-input-container {
  position: relative;
}

.liga1max-form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--liga1-text-primary);
  background: var(--liga1-bg-card);
  border: 2px solid var(--liga1-border);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.liga1max-form-input::placeholder {
  color: var(--liga1-text-muted);
  font-weight: 400;
}

.liga1max-form-input:focus {
  background: var(--liga1-bg-elevated);
  border-color: var(--liga1-primary);
  box-shadow: 0 0 0 3px rgba(232, 44, 67, 0.15),
              inset 0 2px 8px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(232, 44, 67, 0.1);
  transform: translateY(-2px);
}

.liga1max-form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.liga1max-input-help {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--liga1-text-muted);
  font-family: 'Rajdhani', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   🚀 BOTÓN DE CONSULTA
   ═══════════════════════════════════════════════════════════ */
.liga1max-btn-consultar {
  width: 100%;
  padding: 1.2rem 2rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--liga1-primary) 0%, var(--liga1-accent) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(232, 44, 67, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.liga1max-btn-consultar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.liga1max-btn-consultar:hover::before {
  left: 100%;
}

.liga1max-btn-consultar:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(232, 44, 67, 0.5),
              0 0 40px rgba(232, 44, 67, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.2);
}

.liga1max-btn-consultar:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

.liga1max-btn-consultar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.liga1max-btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.liga1max-btn-icon {
  font-size: 1.3rem;
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.liga1max-btn-text {
  font-weight: 700;
}

.liga1max-btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.liga1max-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   ⚠️ ALERTAS Y NOTIFICACIONES
   ═══════════════════════════════════════════════════════════ */
.liga1max-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  animation: alertSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.liga1max-alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.liga1max-alert-icon {
  font-size: 1.3rem;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.liga1max-alert-message {
  flex: 1 1;
}

/* ═══════════════════════════════════════════════════════════
   📊 CONTENEDOR DE RESULTADOS
   ═══════════════════════════════════════════════════════════ */
.liga1max-result-container {
  background: linear-gradient(135deg, var(--liga1-bg-elevated) 0%, var(--liga1-bg-card) 100%);
  border: 1px solid var(--liga1-border-bright);
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: resultExpand 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.liga1max-result-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--liga1-primary), transparent);
  animation: resultGlow 2s ease-in-out infinite;
}

@keyframes resultExpand {
  from {
    opacity: 0;
    transform: scale(0.95);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: scale(1);
    max-height: 1000px;
  }
}

@keyframes resultGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.liga1max-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--liga1-border);
}

.liga1max-result-header h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--liga1-text-primary);
  letter-spacing: 0.5px;
}

.liga1max-result-icon {
  font-size: 1.5rem;
  animation: iconBounce 2s ease-in-out infinite;
}

.liga1max-result-title {
  font-weight: 700;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ═══════════════════════════════════════════════════════════
   🔗 PREVIEW Y ACCIONES DE LINK
   ═══════════════════════════════════════════════════════════ */
.liga1max-result-link {
  background: var(--liga1-bg-dark);
  border: 1px solid var(--liga1-border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.liga1max-result-link:hover {
  border-color: var(--liga1-border-bright);
  box-shadow: 0 4px 16px rgba(232, 44, 67, 0.15);
}

.liga1max-link-preview {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--liga1-primary);
}

.liga1max-link-text {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.9rem;
  color: var(--liga1-text-secondary);
  word-break: break-all;
  line-height: 1.6;
}

.liga1max-link-actions {
  display: flex;
  flex-direction: column;  /* ← CAMBIADO: botones verticales */
  gap: 0.75rem;
  margin-top: 1rem;
}

.liga1max-btn-open,
.liga1max-btn-copy {
  width: 100%;  /* ← CAMBIADO: de flex: 1 a width: 100% */
  padding: 0.875rem 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.liga1max-btn-open {
  background: linear-gradient(135deg, var(--liga1-primary) 0%, var(--liga1-accent) 100%);
  color: #ffffff;
  border: 2px solid transparent;  /* ← AÑADIDO: para consistencia de tamaño */
  box-shadow: 0 4px 16px rgba(232, 44, 67, 0.3);
}

.liga1max-btn-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(232, 44, 67, 0.5);
}

.liga1max-btn-copy {
  background: linear-gradient(135deg, var(--liga1-bg-elevated) 0%, var(--liga1-bg-card) 100%);
  color: var(--liga1-primary);
  border: 2px solid var(--liga1-border-bright);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.liga1max-btn-copy:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--liga1-bg-card) 0%, var(--liga1-bg-dark) 100%);
  border-color: var(--liga1-primary);
  box-shadow: 0 6px 24px rgba(232, 44, 67, 0.3);
}

.liga1max-btn-open:active,
.liga1max-btn-copy:active {
  transform: translateY(-1px) scale(0.98);
}

.liga1max-link-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.liga1max-validez-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.liga1max-status-valid {
  background: linear-gradient(135deg, rgba(70, 211, 105, 0.2) 0%, rgba(70, 211, 105, 0.05) 100%);
  border: 1px solid rgba(70, 211, 105, 0.4);
  color: #86efac;
  box-shadow: 0 0 20px rgba(70, 211, 105, 0.2);
}

.liga1max-status-expiring {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.05) 100%);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.liga1max-status-expired {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.liga1max-status-unknown {
  background: linear-gradient(135deg, rgba(122, 97, 105, 0.2) 0%, rgba(122, 97, 105, 0.05) 100%);
  border: 1px solid rgba(122, 97, 105, 0.4);
  color: #9ca3af;
  box-shadow: 0 0 20px rgba(122, 97, 105, 0.2);
}

.liga1max-fecha-email {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--liga1-text-muted);
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE - MOBILE FIRST
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .liga1max-platform {
    padding: 1.25rem;
    border-radius: 16px;
    margin: 0 0.75rem;
    max-width: calc(100% - 1.5rem);
  }

  .liga1max-header {
    margin-bottom: 1.5rem;
  }

  .liga1max-brand {
    gap: 1rem;
  }

  .liga1max-logo {
    width: 55px;
    height: 55px;
  }

  .liga1max-info h1 {
    font-size: 1.75rem;
  }

  .liga1max-correos-count {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
  }

  .liga1max-form-label {
    font-size: 0.85rem;
  }

  .liga1max-form-input {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
  }

  .liga1max-btn-consultar {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .liga1max-result-container {
    padding: 1.25rem;
  }

  .liga1max-result-header h3 {
    font-size: 1.1rem;
  }

  .liga1max-link-actions {
    flex-direction: column;
  }

  .liga1max-btn-open,
  .liga1max-btn-copy {
    width: 100%;
  }

  .liga1max-link-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .liga1max-platform {
    padding: 1rem;
    margin: 0 0.5rem;
    max-width: calc(100% - 1rem);
    border-radius: 12px;
  }

  .liga1max-logo {
    width: 50px;
    height: 50px;
  }

  .liga1max-info h1 {
    font-size: 1.5rem;
  }

  .liga1max-btn-consultar {
    font-size: 0.95rem;
  }

  .liga1max-btn-icon {
    font-size: 1.1rem;
  }

  .liga1max-form-input {
    font-size: 0.9rem;
  }

  .liga1max-link-text {
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ✨ EFECTOS ESPECIALES Y ACABADOS
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Efecto de escaneo futurista */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ═══════════════════════════════════════════════════════════
   📱 MOVISTAR PLAY - PREMIUM STREAMING THEME
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   🎨 VARIABLES DE TEMA MOVISTAR PLAY
   ═══════════════════════════════════════════════════════════ */
.movistarplay-platform {
  --movistar-primary: #019BF3;
  --movistar-primary-dark: #0179C2;
  --movistar-primary-light: #1EAEFF;
  --movistar-secondary: #0B1824;
  --movistar-accent: #009EF7;
  --movistar-bg-dark: #050A10;
  --movistar-bg-card: #0C1319;
  --movistar-bg-elevated: #121A24;
  --movistar-text-primary: #F5F5F5;
  --movistar-text-secondary: #C5D5E5;
  --movistar-text-muted: #6B7E92;
  --movistar-border: rgba(1, 155, 243, 0.15);
  --movistar-border-bright: rgba(1, 155, 243, 0.4);
  --movistar-glow: rgba(1, 155, 243, 0.3);
  --movistar-success: #46d369;
  --movistar-warning: #fbbf24;
  --movistar-error: #ef4444;
  --movistar-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --movistar-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* ═══════════════════════════════════════════════════════════
   🎯 CONTENEDOR PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.movistarplay-platform {
  font-family: 'Space Grotesk', 'Rajdhani', sans-serif;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--movistar-bg-dark) 0%, #070d15 100%);
  border-radius: 24px;
  border: 1px solid var(--movistar-border);
  box-shadow: var(--movistar-shadow-lg), 
              0 0 0 1px rgba(1, 155, 243, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  animation: platformEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.movistarplay-platform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--movistar-primary) 30%, 
    var(--movistar-primary-light) 50%, 
    var(--movistar-primary) 70%, 
    transparent 100%
  );
  animation: topBarScan 3s ease-in-out infinite;
}

.movistarplay-platform::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(1, 155, 243, 0.08) 0%, transparent 70%);
  animation: ambientGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes platformEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes topBarScan {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

@keyframes ambientGlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
  50% { transform: translate(10%, 10%) rotate(180deg); opacity: 0.8; }
}

/* ═══════════════════════════════════════════════════════════
   🎯 HEADER CON BRANDING
   ═══════════════════════════════════════════════════════════ */
.movistarplay-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--movistar-border);
  animation: headerSlideIn 0.5s ease-out 0.1s backwards;
}

@keyframes headerSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.movistarplay-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.movistarplay-logo {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(135deg, var(--movistar-bg-elevated) 0%, var(--movistar-bg-card) 100%);
  border: 2px solid var(--movistar-border-bright);
  box-shadow: 0 8px 24px rgba(1, 155, 243, 0.25),
              0 0 20px rgba(1, 155, 243, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: logoPulse 3s ease-in-out infinite;
}

.movistarplay-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(1, 155, 243, 0.4),
              0 0 40px rgba(1, 155, 243, 0.3);
  border-color: var(--movistar-primary);
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(1, 155, 243, 0.25), 0 0 20px rgba(1, 155, 243, 0.15); }
  50% { box-shadow: 0 8px 24px rgba(1, 155, 243, 0.4), 0 0 30px rgba(1, 155, 243, 0.25); }
}

.movistarplay-info h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--movistar-primary) 0%, var(--movistar-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-shadow: 0 0 30px rgba(1, 155, 243, 0.3);
  animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.movistarplay-correos-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, rgba(1, 155, 243, 0.15) 0%, rgba(1, 155, 243, 0.05) 100%);
  border: 1px solid var(--movistar-border-bright);
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--movistar-primary-light);
  letter-spacing: 0.5px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.movistarplay-correos-count:hover {
  background: linear-gradient(135deg, rgba(1, 155, 243, 0.25) 0%, rgba(1, 155, 243, 0.1) 100%);
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   📝 FORMULARIO PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.movistarplay-form {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  animation: formFadeIn 0.5s ease-out 0.2s backwards;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.movistarplay-form-group {
  margin-bottom: 1.5rem;
}

.movistarplay-form-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--movistar-text-secondary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.movistarplay-input-container {
  position: relative;
}

.movistarplay-form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--movistar-text-primary);
  background: var(--movistar-bg-card);
  border: 2px solid var(--movistar-border);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.movistarplay-form-input::placeholder {
  color: var(--movistar-text-muted);
  font-weight: 400;
}

.movistarplay-form-input:focus {
  background: var(--movistar-bg-elevated);
  border-color: var(--movistar-primary);
  box-shadow: 0 0 0 3px rgba(1, 155, 243, 0.15),
              inset 0 2px 8px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(1, 155, 243, 0.1);
  transform: translateY(-2px);
}

.movistarplay-form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.movistarplay-input-help {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--movistar-text-muted);
  font-family: 'Rajdhani', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   🚀 BOTÓN DE CONSULTA
   ═══════════════════════════════════════════════════════════ */
.movistarplay-btn-consultar {
  width: 100%;
  padding: 1.2rem 2rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--movistar-primary) 0%, var(--movistar-accent) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(1, 155, 243, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.movistarplay-btn-consultar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.movistarplay-btn-consultar:hover::before {
  left: 100%;
}

.movistarplay-btn-consultar:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(1, 155, 243, 0.5),
              0 0 40px rgba(1, 155, 243, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.2);
}

.movistarplay-btn-consultar:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

.movistarplay-btn-consultar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.movistarplay-btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.movistarplay-btn-icon {
  font-size: 1.3rem;
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.movistarplay-btn-text {
  font-weight: 700;
}

.movistarplay-btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.movistarplay-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   ⚠️ ALERTAS Y NOTIFICACIONES
   ═══════════════════════════════════════════════════════════ */
.movistarplay-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  animation: alertSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.movistarplay-alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.movistarplay-alert-icon {
  font-size: 1.3rem;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.movistarplay-alert-message {
  flex: 1 1;
}

/* ═══════════════════════════════════════════════════════════
   📊 CONTENEDOR DE RESULTADOS
   ═══════════════════════════════════════════════════════════ */
.movistarplay-result-container {
  background: linear-gradient(135deg, var(--movistar-bg-elevated) 0%, var(--movistar-bg-card) 100%);
  border: 1px solid var(--movistar-border-bright);
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: resultExpand 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.movistarplay-result-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--movistar-primary), transparent);
  animation: resultGlow 2s ease-in-out infinite;
}

@keyframes resultExpand {
  from {
    opacity: 0;
    transform: scale(0.95);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: scale(1);
    max-height: 1000px;
  }
}

@keyframes resultGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.movistarplay-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--movistar-border);
}

.movistarplay-result-header h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--movistar-text-primary);
  letter-spacing: 0.5px;
}

.movistarplay-result-icon {
  font-size: 1.5rem;
  animation: iconBounce 2s ease-in-out infinite;
}

.movistarplay-result-title {
  font-weight: 700;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ═══════════════════════════════════════════════════════════
   🔗 PREVIEW Y ACCIONES DE LINK
   ═══════════════════════════════════════════════════════════ */
.movistarplay-result-link {
  background: var(--movistar-bg-dark);
  border: 1px solid var(--movistar-border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.movistarplay-result-link:hover {
  border-color: var(--movistar-border-bright);
  box-shadow: 0 4px 16px rgba(1, 155, 243, 0.15);
}

.movistarplay-link-preview {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--movistar-primary);
}

.movistarplay-link-text {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.9rem;
  color: var(--movistar-text-secondary);
  word-break: break-all;
  line-height: 1.6;
}

.movistarplay-link-actions {
  display: flex;
  flex-direction: column;  /* ← CAMBIADO: botones verticales */
  gap: 0.75rem;
  margin-top: 1rem;
}

.movistarplay-btn-open,
.movistarplay-btn-copy {
  width: 100%;  /* ← CAMBIADO: de flex: 1 a width: 100% */
  padding: 0.875rem 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.movistarplay-btn-open {
  background: linear-gradient(135deg, var(--movistar-primary) 0%, var(--movistar-accent) 100%);
  color: #ffffff;
  border: 2px solid transparent;  /* ← AÑADIDO: para consistencia */
  box-shadow: 0 4px 16px rgba(1, 155, 243, 0.3);
}

.movistarplay-btn-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(1, 155, 243, 0.5);
}

.movistarplay-btn-copy {
  background: linear-gradient(135deg, var(--movistar-bg-elevated) 0%, var(--movistar-bg-card) 100%);
  color: var(--movistar-primary);
  border: 2px solid var(--movistar-border-bright);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.movistarplay-btn-copy:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--movistar-bg-card) 0%, var(--movistar-bg-dark) 100%);
  border-color: var(--movistar-primary);
  box-shadow: 0 6px 24px rgba(1, 155, 243, 0.3);
}

.movistarplay-btn-open:active,
.movistarplay-btn-copy:active {
  transform: translateY(-1px) scale(0.98);
}

.movistarplay-link-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.movistarplay-validez-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.movistarplay-status-valid {
  background: linear-gradient(135deg, rgba(70, 211, 105, 0.2) 0%, rgba(70, 211, 105, 0.05) 100%);
  border: 1px solid rgba(70, 211, 105, 0.4);
  color: #86efac;
  box-shadow: 0 0 20px rgba(70, 211, 105, 0.2);
}

.movistarplay-status-expiring {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.05) 100%);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.movistarplay-status-expired {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.movistarplay-status-unknown {
  background: linear-gradient(135deg, rgba(107, 126, 146, 0.2) 0%, rgba(107, 126, 146, 0.05) 100%);
  border: 1px solid rgba(107, 126, 146, 0.4);
  color: #9ca3af;
  box-shadow: 0 0 20px rgba(107, 126, 146, 0.2);
}

.movistarplay-fecha-email {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--movistar-text-muted);
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}


/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE - MOBILE FIRST
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .movistarplay-platform {
    padding: 1.25rem;
    border-radius: 16px;
    margin: 0 0.75rem;
    max-width: calc(100% - 1.5rem);
  }

  .movistarplay-header {
    margin-bottom: 1.5rem;
  }

  .movistarplay-brand {
    gap: 1rem;
  }

  .movistarplay-logo {
    width: 55px;
    height: 55px;
  }

  .movistarplay-info h1 {
    font-size: 1.75rem;
  }

  .movistarplay-correos-count {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
  }

  .movistarplay-form-label {
    font-size: 0.85rem;
  }

  .movistarplay-form-input {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
  }

  .movistarplay-btn-consultar {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .movistarplay-result-container {
    padding: 1.25rem;
  }

  .movistarplay-result-header h3 {
    font-size: 1.1rem;
  }

  .movistarplay-link-actions {
    flex-direction: column;
  }

  .movistarplay-btn-open,
  .movistarplay-btn-copy {
    width: 100%;
  }

  .movistarplay-link-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .movistarplay-platform {
    padding: 1rem;
    margin: 0 0.5rem;
    max-width: calc(100% - 1rem);
    border-radius: 12px;
  }

  .movistarplay-logo {
    width: 50px;
    height: 50px;
  }

  .movistarplay-info h1 {
    font-size: 1.5rem;
  }

  .movistarplay-btn-consultar {
    font-size: 0.95rem;
  }

  .movistarplay-btn-icon {
    font-size: 1.1rem;
  }

  .movistarplay-form-input {
    font-size: 0.9rem;
  }

  .movistarplay-link-text {
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ✨ EFECTOS ESPECIALES Y ACABADOS
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Efecto de escaneo futurista */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ═══════════════════════════════════════════════════════════
   👤 MIS CUENTAS - PERFIL Y ASIGNACIONES
   ═══════════════════════════════════════════════════════════ */

.miscuentas-main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════
   🎯 LOADING STATE
   ═══════════════════════════════════════════════════════════ */
.miscuentas-loading-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 1.5rem;
}

.miscuentas-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(76, 175, 80, 0.2);
  border-top-color: #4CAF50;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.miscuentas-loading-text {
  font-size: 1.1rem;
  color: #b3b3b3;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   📋 HEADER CON INFO DEL USUARIO
   ═══════════════════════════════════════════════════════════ */
.miscuentas-header-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.miscuentas-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.miscuentas-info-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.miscuentas-info-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #4CAF50;
  transform: translateY(-2px);
}

.miscuentas-info-label {
  font-size: 0.85rem;
  color: #808080;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.miscuentas-info-value {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 700;
  word-break: break-word;
}

.miscuentas-info-value-highlight {
  font-size: 1.3rem;
  color: #4CAF50;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

/* ═══════════════════════════════════════════════════════════
   🟢 ESTADO DE LA CUENTA
   ═══════════════════════════════════════════════════════════ */
.miscuentas-status-section {
  margin-bottom: 2rem;
}

.miscuentas-status-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 12px;
  flex-wrap: wrap;
  gap: 1rem;
}

.miscuentas-status-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.miscuentas-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.miscuentas-status-active {
  background: #4CAF50;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.miscuentas-status-inactive {
  background: #FF9800;
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.miscuentas-status-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.miscuentas-status-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.miscuentas-date-label {
  font-size: 0.9rem;
  color: #808080;
  font-weight: 600;
}

.miscuentas-date-value {
  font-size: 0.95rem;
  color: #b3b3b3;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   📺 PLATAFORMAS CON CORREOS
   ═══════════════════════════════════════════════════════════ */
.miscuentas-platforms-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.miscuentas-platform-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.miscuentas-platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--miscuentas-platform-color);
  opacity: 0.5;
}

.miscuentas-platform-card:hover {
  border-color: var(--miscuentas-platform-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4),
              0 0 20px var(--miscuentas-platform-color);
  transform: translateY(-2px);
}

.miscuentas-platform-expanded {
  border-color: var(--miscuentas-platform-color);
}

/* ═══════════════════════════════════════════════════════════
   🎯 HEADER DE PLATAFORMA (CLICKEABLE)
   ═══════════════════════════════════════════════════════════ */
.miscuentas-platform-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 1rem;
}

.miscuentas-platform-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.miscuentas-platform-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1 1;
  min-width: 0;
}

.miscuentas-platform-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: contain;
  padding: 5px;
  background: rgba(255, 18, 18, 0.05);
  border: 3px solid var(--miscuentas-platform-color);
  box-shadow: 0 0 15px var(--miscuentas-platform-color);
  flex-shrink: 0;
}

.miscuentas-platform-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.miscuentas-platform-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.miscuentas-platform-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.miscuentas-platform-subtitle {
  font-size: 0.9rem;
  color: var(--miscuentas-platform-color);
  font-weight: 600;
}

.miscuentas-platform-date {
  font-size: 0.8rem;
  color: #808080;
}

.miscuentas-platform-right {
  flex-shrink: 0;
}

.miscuentas-expand-arrow {
  font-size: 1.2rem;
  color: #808080;
  transition: transform 0.3s ease;
  display: inline-block;
}

.miscuentas-expand-rotated {
  transform: rotate(180deg);
  color: var(--miscuentas-platform-color);
}

/* ═══════════════════════════════════════════════════════════
   📧 CUERPO EXPANDIBLE CON CORREOS
   ═══════════════════════════════════════════════════════════ */
.miscuentas-platform-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.miscuentas-email-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.miscuentas-email-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--miscuentas-platform-color);
  transform: translateX(5px);
}

.miscuentas-email-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.miscuentas-email-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: #808080;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
}

.miscuentas-email-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.miscuentas-email-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.miscuentas-email-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1;
  min-width: 0;
}

.miscuentas-email-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.miscuentas-email-address {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  word-break: break-all;
}

.miscuentas-copy-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--miscuentas-platform-color) 0%, var(--miscuentas-platform-color) 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.miscuentas-copy-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3),
              0 0 20px var(--miscuentas-platform-color);
}

.miscuentas-copy-btn:active {
  transform: translateY(0) scale(0.98);
}

.miscuentas-copy-success {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  animation: successPulse 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.miscuentas-copy-icon {
  font-size: 1.1rem;
}

.miscuentas-copy-text {
  font-weight: 700;
}

.miscuentas-email-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.miscuentas-footer-label {
  font-size: 0.8rem;
  color: #808080;
  font-weight: 600;
}

.miscuentas-footer-value {
  font-size: 0.85rem;
  color: #b3b3b3;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   📊 HISTORIAL DE CONSULTAS
   ═══════════════════════════════════════════════════════════ */
.miscuentas-historial-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.miscuentas-historial-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
}

.miscuentas-historial-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.miscuentas-historial-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
  gap: 1rem;
  flex-wrap: wrap;
}

.miscuentas-historial-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

.miscuentas-historial-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1 1;
  min-width: 0;
}

.miscuentas-historial-platform {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.miscuentas-historial-email {
  font-size: 0.85rem;
  color: #808080;
  word-break: break-all;
}

.miscuentas-historial-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.miscuentas-historial-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  white-space: nowrap;
}

.miscuentas-historial-success {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.05) 100%);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #4CAF50;
}

.miscuentas-historial-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.miscuentas-historial-timestamp {
  font-size: 0.75rem;
  color: #666666;
}

/* ═══════════════════════════════════════════════════════════
   📭 ESTADO VACÍO
   ═══════════════════════════════════════════════════════════ */
.miscuentas-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  animation: fadeInUp 0.5s ease-out;
}

.miscuentas-empty-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.miscuentas-empty-title {
  font-size: 1.8rem;
  color: #ffffff;
  margin: 0 0 1rem 0;
}

.miscuentas-empty-text {
  font-size: 1.1rem;
  color: #808080;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   📝 FOOTER
   ═══════════════════════════════════════════════════════════ */
.miscuentas-footer-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.miscuentas-footer-note {
  font-size: 0.95rem;
  color: #b3b3b3;
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.miscuentas-footer-uid {
  font-size: 0.85rem;
  color: #666666;
  margin: 0;
  word-break: break-all;
}

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE - MÓVIL
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .miscuentas-main-container {
    padding: 1rem;
  }

  .miscuentas-header-section {
    padding: 1.25rem;
  }

  .miscuentas-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .miscuentas-info-box {
    padding: 0.75rem;
  }

  .miscuentas-info-value {
    font-size: 1rem;
  }

  .miscuentas-info-value-highlight {
    font-size: 1.1rem;
  }

  .miscuentas-status-card {
    padding: 1rem;
  }

  .miscuentas-platform-header {
    padding: 1rem;
  }

  .miscuentas-platform-logo {
    width: 40px;
    height: 40px;
  }

  .miscuentas-platform-name {
    font-size: 1.2rem;
  }

  .miscuentas-platform-body {
    padding: 0 1rem 1rem 1rem;
  }

  .miscuentas-email-content {
    flex-direction: column;
    align-items: stretch;
  }

  .miscuentas-copy-btn {
    width: 100%;
    justify-content: center;
  }

  .miscuentas-historial-section {
    padding: 1.25rem;
  }

  .miscuentas-historial-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .miscuentas-historial-right {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .miscuentas-main-container {
    padding: 0.75rem;
  }

  .miscuentas-info-grid {
    grid-template-columns: 1fr;
  }

  .miscuentas-platform-name {
    font-size: 1.1rem;
  }

  .miscuentas-email-address {
    font-size: 0.9rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ⚙️ CONFIGURACIÓN - GESTIÓN DE CUENTA Y SEGURIDAD
   ═══════════════════════════════════════════════════════════ */

.config-main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════
   🔄 LOADING STATE
   ═══════════════════════════════════════════════════════════ */
.config-loading-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 1.5rem;
}

.config-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 152, 0, 0.2);
  border-top-color: #FF9800;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.config-loading-text {
  font-size: 1.1rem;
  color: #b3b3b3;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   🎯 HEADER
   ═══════════════════════════════════════════════════════════ */
.config-header-section {
  margin-bottom: 2rem;
}

.config-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.config-header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.config-icon-wrapper {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 152, 0, 0.05) 100%);
  border: 2px solid rgba(255, 152, 0, 0.3);
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 152, 0, 0.2);
}

.config-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.config-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.config-subtitle {
  font-size: 1rem;
  color: #808080;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   📑 TABS
   ═══════════════════════════════════════════════════════════ */
.config-tabs-wrapper {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.config-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #808080;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  bottom: -2px;
}

.config-tab-btn:hover {
  color: #FF9800;
  background: rgba(255, 152, 0, 0.05);
}

.config-tab-active {
  color: #FF9800;
  border-bottom-color: #FF9800;
}

.config-tab-icon {
  font-size: 1.3rem;
}

.config-tab-text {
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   📄 CARDS
   ═══════════════════════════════════════════════════════════ */
.config-content-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.config-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: cardSlideIn 0.4s ease-out backwards;
}

@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.config-card:hover {
  border-color: rgba(255, 152, 0, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.config-card-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.config-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.config-card-body {
  padding: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════
   📊 DATOS PERSONALES
   ═══════════════════════════════════════════════════════════ */
.config-data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.config-data-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.config-data-label {
  font-size: 0.85rem;
  color: #808080;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.config-data-value-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.config-data-value-wrapper:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 152, 0, 0.3);
}

.config-data-value {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
  flex: 1 1;
  word-break: break-word;
}

.config-data-badge {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 152, 0, 0.05) 100%);
  border: 1px solid rgba(255, 152, 0, 0.4);
  color: #FF9800;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.config-status-badge {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.config-status-active {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.05) 100%);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #4CAF50;
}

.config-status-inactive {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 152, 0, 0.05) 100%);
  border: 1px solid rgba(255, 152, 0, 0.4);
  color: #FF9800;
}

/* ═══════════════════════════════════════════════════════════
   📋 BOTÓN DE COPIAR
   ═══════════════════════════════════════════════════════════ */
.config-copy-btn {
  padding: 0.5rem 0.75rem;
  background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.config-copy-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.config-copy-success {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  animation: successPulse 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ═══════════════════════════════════════════════════════════
   🔑 UID BOX
   ═══════════════════════════════════════════════════════════ */
.config-uid-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 152, 0, 0.2);
  border-radius: 10px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.config-uid-code {
  flex: 1 1;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  color: #FF9800;
  background: rgba(255, 152, 0, 0.1);
  padding: 0.75rem;
  border-radius: 6px;
  word-break: break-all;
}

.config-copy-btn-large {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.config-copy-btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.config-copy-icon {
  font-size: 1.1rem;
}

.config-uid-note {
  font-size: 0.9rem;
  color: #808080;
  margin: 0;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   📺 PLATAFORMAS
   ═══════════════════════════════════════════════════════════ */
.config-platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.config-platform-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.config-platform-chip:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #FF9800;
  transform: translateY(-2px);
}

.config-platform-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.config-platform-status {
  font-size: 1.2rem;
}

.config-empty-text {
  font-size: 1rem;
  color: #808080;
  text-align: center;
  padding: 2rem;
}

/* ═══════════════════════════════════════════════════════════
   🔐 FORMULARIO DE CONTRASEÑA
   ═══════════════════════════════════════════════════════════ */
.config-password-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.config-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.config-form-label {
  font-size: 0.9rem;
  color: #b3b3b3;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.config-input-wrapper {
  position: relative;
}

.config-form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.config-form-input::placeholder {
  color: #666666;
}

.config-form-input:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: #FF9800;
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.15);
}

.config-form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.config-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.config-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #FF9800;
}

.config-checkbox-label {
  font-size: 0.95rem;
  color: #b3b3b3;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   ⚠️ ALERTAS
   ═══════════════════════════════════════════════════════════ */
.config-alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  animation: alertSlideIn 0.3s ease-out;
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.config-alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.config-alert-success {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.05) 100%);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #81c784;
}

/* ═══════════════════════════════════════════════════════════
   🚀 BOTONES DE ACCIÓN
   ═══════════════════════════════════════════════════════════ */
.config-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.config-submit-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 152, 0, 0.4);
}

.config-submit-btn:active:not(:disabled) {
  transform: translateY(-1px);
}

.config-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.config-btn-spinner {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.config-btn-icon {
  font-size: 1.2rem;
}

/* ═══════════════════════════════════════════════════════════
   🚪 BOTÓN CERRAR SESIÓN
   ═══════════════════════════════════════════════════════════ */
.config-logout-text {
  font-size: 1rem;
  color: #b3b3b3;
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}

.config-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #f44336 0%, #e53935 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.config-logout-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(244, 67, 54, 0.4);
}

.config-logout-icon {
  font-size: 1.2rem;
}

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE - MÓVIL
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .config-main-container {
    padding: 1rem;
  }

  .config-title {
    font-size: 1.75rem;
  }

  .config-icon-wrapper {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }

  .config-tabs-wrapper {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .config-tabs-wrapper::-webkit-scrollbar {
    display: none;
  }

  .config-tab-btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .config-data-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .config-uid-box {
    flex-direction: column;
    align-items: stretch;
  }

  .config-copy-btn-large {
    width: 100%;
    justify-content: center;
  }

  .config-platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .config-card-header {
    padding: 1.25rem;
  }

  .config-card-body {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .config-main-container {
    padding: 0.75rem;
  }

  .config-title {
    font-size: 1.5rem;
  }

  .config-subtitle {
    font-size: 0.9rem;
  }

  .config-platforms-grid {
    grid-template-columns: 1fr;
  }

  .config-submit-btn,
  .config-logout-btn {
    font-size: 0.95rem;
    padding: 1rem 1.5rem;
  }
}

/* ============================================
   PERCIVAL SHOP DASHBOARD - ULTRA PROFESSIONAL
   Inspired by Cosmic/Nebula Design System
   ============================================ */

:root {
  /* Colores Base - Dark Theme Premium */
  --bg-dark: #0a0a0a;
  --bg-card: #141416;
  --bg-sidebar: #121218;
  --bg-hover: #1a1a23;
  
  /* Colores Percival Brand */
  --gold: #d4af37;
  --gold-light: #f0d574;
  --gold-dark: #b8860b;
  
  /* Colores Funcionales */
  --text-primary: #ffffff;
  --text-secondary: #8892b0;
  --text-muted: #64748b;
  
  /* Estados */
  --success: #00ff88;
  --warning: #ffaa00;
  --error: #ff4444;
  --info: #00d4ff;
  
  /* Gradientes */
  --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  --gradient-dark: linear-gradient(135deg, #0a0a0b 0%, #1a1a23 50%, #2d1b69 100%);
  --gradient-blue: linear-gradient(45deg, #0066ff, #00d4ff);
  
  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.3);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   RESET & BASE
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  background: var(--bg-dark);
  color: #ffffff;
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.dashboard-loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0b 0%, #1a1a23 50%, #2d1b69 100%);
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.dashboard-loading::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  animation: pulse 3s ease-in-out infinite;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 3px solid transparent;
  border-top: 3px solid #d4af37;
  border-top: 3px solid var(--gold);
  border-right: 3px solid #f0d574;
  border-right: 3px solid var(--gold-light);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1.5rem;
  margin-bottom: var(--space-lg);
  position: relative;
}

.loading-spinner::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 2px solid transparent;
  border-bottom: 2px solid #d4af37;
  border-bottom: 2px solid var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite reverse;
}

.dashboard-loading h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  margin-bottom: var(--space-sm);
}

.dashboard-loading p {
  font-size: 0.9rem;
  color: #8892b0;
  color: var(--text-secondary);
}

/* ============================================
   CONTAINER PRINCIPAL
   ============================================ */

.dashboard-container {
  display: flex;
  min-height: 100vh;
  background: #0a0a0a;
  background: var(--bg-dark);
  position: relative;
}

/* ============================================
   OVERLAY MOBILE
   ============================================ */

.dashboard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  z-index: 998;
  animation: fadeIn 0.3s ease-out;
}

/* ============================================
   SIDEBAR
   ============================================ */

.dashboard-sidebar {
  width: 280px;
  background: #121218;
  background: var(--bg-sidebar);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 999;
  transform: translateX(-100%);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: var(--transition-slow);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d4af37 transparent;
  scrollbar-color: var(--gold) transparent;
}

.dashboard-sidebar::-webkit-scrollbar {
  width: 4px;
}

.dashboard-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--gold);
  border-radius: 2px;
}

.sidebar-open {
  transform: translateX(0);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   SIDEBAR HEADER
   ============================================ */

.sidebar-header {
  padding: 1.5rem;
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #121218 0%, #1a1a23 100%);
  background: linear-gradient(135deg, var(--bg-sidebar) 0%, var(--bg-hover) 100%);
  position: relative;
}

.sidebar-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(135deg, #d4af37 0%, #f0d574 100%);
  background: var(--gradient-gold);
  opacity: 0.3;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  gap: var(--space-md);
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  color: var(--text-primary);
  line-height: 1.2;
  background: linear-gradient(135deg, #d4af37 0%, #f0d574 100%);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-text p {
  font-size: 0.75rem;
  color: #8892b0;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-close {
  background: none;
  border: none;
  color: #8892b0;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  padding: var(--space-sm);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--transition-base);
}

.sidebar-close:hover {
  color: #ffffff;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

/* ============================================
   ESTADO DE CONEXIÓN
   ============================================ */

.sidebar-status {
  padding: 1rem 1.5rem;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  gap: var(--space-sm);
  padding: 0.5rem 1rem;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}

.status-icon {
  font-size: 1rem;
}

.status-text {
  flex: 1 1;
  font-weight: 500;
}

.status-retry {
  background: none;
  border: none;
  color: #8892b0;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25rem;
  padding: var(--space-xs);
  transition: all 0.2s ease;
  transition: var(--transition-fast);
}

.status-retry:hover {
  color: #ffffff;
  color: var(--text-primary);
  transform: rotate(180deg);
}

.status-connected {
  color: #00ff88;
  color: var(--success);
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.3);
}

.status-disconnected {
  color: #ff4444;
  color: var(--error);
  background: rgba(255, 68, 68, 0.1);
  border-color: rgba(255, 68, 68, 0.3);
}

.status-connecting {
  color: #ffaa00;
  color: var(--warning);
  background: rgba(255, 170, 0, 0.1);
  border-color: rgba(255, 170, 0, 0.3);
}

/* ============================================
   NAVEGACIÓN
   ============================================ */

.sidebar-nav {
  padding: 1.5rem;
  padding: var(--space-lg);
  flex: 1 1;
}

.nav-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #8892b0;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 1.5rem;
  margin-bottom: var(--space-lg);
  padding-left: 0.5rem;
  padding-left: var(--space-sm);
  position: relative;
}

.nav-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(135deg, #d4af37 0%, #f0d574 100%);
  background: var(--gradient-gold);
  border-radius: 2px;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  gap: var(--space-sm);
}

.nav-item {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border-radius: var(--radius-md);
  padding: 1rem;
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  gap: var(--space-md);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--transition-base);
  text-align: left;
  color: #ffffff;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #d4af37;
  background: var(--gold);
  transform: scaleY(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--transition-base);
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateX(4px);
}

.nav-item:hover::before {
  transform: scaleY(1);
}

.nav-item-active {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  border-color: var(--gold);
}

.nav-item-active::before {
  transform: scaleY(1);
}

.nav-item-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.nav-item-disabled:hover {
  background: transparent;
  transform: none;
}

.nav-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--transition-base);
}

.nav-item:hover .nav-icon {
  transform: scale(1.1);
}

.nav-info {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  gap: var(--space-xs);
}

.nav-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  color: var(--text-primary);
}

.nav-status {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  align-self: flex-start;
  font-weight: 500;
}

.status-active {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
  color: var(--success);
}

.status-locked {
  background: rgba(136, 136, 136, 0.2);
  color: #64748b;
  color: var(--text-muted);
}

.status-maintenance {
  background: rgba(255, 170, 0, 0.2);
  color: #ffaa00;
  color: var(--warning);
}

/* ============================================
   SIDEBAR FOOTER
   ============================================ */

.sidebar-footer {
  padding: 1.5rem;
  padding: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  gap: var(--space-lg);
}

.btn-whatsapp {
  width: 100%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: none;
  border-radius: 12px;
  border-radius: var(--radius-md);
  padding: 1rem;
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  gap: var(--space-sm);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--transition-base);
  color: white;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.btn-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: var(--transition-slow);
}

.btn-whatsapp:hover::before {
  transform: translateX(100%);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.user-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border-radius: var(--radius-md);
  padding: 1rem;
  padding: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  gap: var(--space-xs);
}

.user-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffffff;
  color: var(--text-primary);
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-type {
  font-size: 0.7rem;
  color: #d4af37;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  padding: 2px 6px;
  border-radius: 8px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-logout {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  padding: var(--space-sm);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  gap: var(--space-xs);
  color: #8892b0;
  color: var(--text-secondary);
}

.btn-logout:hover {
  border-color: #ff4444;
  border-color: var(--error);
  background: rgba(255, 68, 68, 0.1);
  color: #ff4444;
  color: var(--error);
  transform: scale(1.05);
}

.logout-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.dashboard-main {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-left: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: var(--transition-slow);
}

/* ============================================
   HEADER
   ============================================ */

.dashboard-header {
  background: #121218;
  background: var(--bg-sidebar);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.dashboard-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(135deg, #d4af37 0%, #f0d574 100%);
  background: var(--gradient-gold);
  opacity: 0.3;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  gap: var(--space-md);
}

.btn-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--transition-base);
}

.btn-menu:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.btn-menu span {
  width: 24px;
  height: 3px;
  background: #ffffff;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--transition-base);
}

.header-title-mobile h1 {
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #d4af37 0%, #f0d574 100%);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-title {
  flex: 1 1;
  text-align: center;
  padding: 0 1rem;
  padding: 0 var(--space-md);
}

.header-title h1 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  margin-bottom: var(--space-xs);
  background: linear-gradient(135deg, #d4af37 0%, #f0d574 100%);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-title p {
  font-size: 0.75rem;
  color: #8892b0;
  color: var(--text-secondary);
}

.header-right {
  display: flex;
  gap: 0.5rem;
  gap: var(--space-sm);
  align-items: center;
}

.header-status {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.btn-logout-header {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  gap: var(--space-xs);
  color: #8892b0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.btn-logout-header:hover {
  border-color: #ff4444;
  border-color: var(--error);
  background: rgba(255, 68, 68, 0.1);
  color: #ff4444;
  color: var(--error);
}

/* ============================================
   ERROR MESSAGE
   ============================================ */

.dashboard-error {
  margin: 1.5rem;
  margin: var(--space-lg);
  animation: slideDown 0.4s ease-out;
}

.error-content {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.4);
  border-radius: 12px;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  gap: var(--space-md);
}

.error-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.error-text {
  flex: 1 1;
}

.error-text h4 {
  color: #ff4444;
  color: var(--error);
  margin-bottom: 0.25rem;
  margin-bottom: var(--space-xs);
}

.error-text p {
  color: #8892b0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.btn-retry {
  background: linear-gradient(135deg, #d4af37 0%, #f0d574 100%);
  background: var(--gradient-gold);
  border: none;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  padding: var(--space-sm) var(--space-md);
  color: #0a0a0a;
  color: var(--bg-dark);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--transition-base);
}

.btn-retry:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3);
  box-shadow: var(--shadow-gold);
}

/* ============================================
   CONTENT AREA
   ============================================ */

.dashboard-content {
  flex: 1 1;
  padding: 1.5rem;
  padding: var(--space-lg);
}

/* ============================================
   MAINTENANCE SCREEN
   ============================================ */

.dashboard-maintenance {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 20px;
}

.maintenance-card {
  text-align: center;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  box-shadow: var(--shadow-lg);
  animation: fadeInScale 0.6s ease-out;
}

.maintenance-icon {
  font-size: 80px;
  margin-bottom: 30px;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

.maintenance-card h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ffffff;
  color: var(--text-primary);
}

.maintenance-card p {
  font-size: 1.1rem;
  color: #8892b0;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.maintenance-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.btn-support {
  background: linear-gradient(135deg, #d4af37 0%, #f0d574 100%);
  background: var(--gradient-gold);
  border: none;
  border-radius: 12px;
  border-radius: var(--radius-md);
  padding: 1rem 2rem;
  padding: var(--space-md) var(--space-xl);
  color: #0a0a0a;
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--transition-base);
}

.btn-support:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3);
  box-shadow: var(--shadow-gold);
}

/* ============================================
   FOOTER
   ============================================ */

.dashboard-footer {
  padding: 1.5rem;
  padding: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #121218;
  background: var(--bg-sidebar);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-content p {
  color: #8892b0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: #8892b0;
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}

.status-dot.status-connected {
  background: #00ff88;
  background: var(--success);
  box-shadow: 0 0 10px #00ff88;
  box-shadow: 0 0 10px var(--success);
}

.status-dot.status-connected::before {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px solid #00ff88;
  border: 1px solid var(--success);
  border-radius: 50%;
  animation: pulse-ring 2s ease-in-out infinite;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ============================================
   RESPONSIVE - DESKTOP
   ============================================ */

@media (min-width: 1024px) {
  .dashboard-sidebar {
    transform: translateX(0);
  }
  
  .dashboard-main {
    margin-left: 280px;
  }
  
  .btn-menu,
  .sidebar-close {
    display: none;
  }
  
  .header-title-mobile {
    display: none;
  }
  
  .header-title {
    text-align: left;
  }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
  .header-title h1 {
    font-size: 1rem;
  }
  
  .header-title p {
    font-size: 0.7rem;
  }
  
  .btn-logout-header span {
    display: none;
  }
  
  .dashboard-content {
    padding: 1rem;
    padding: var(--space-md);
  }
  
  .footer-content {
    flex-direction: column;
    gap: 0.5rem;
    gap: var(--space-sm);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .dashboard-sidebar {
    width: 280px;
  }
  
  .dashboard-header {
    padding: 0.5rem 1rem;
    padding: var(--space-sm) var(--space-md);
  }
  
  .header-title {
    padding: 0 0.5rem;
    padding: 0 var(--space-sm);
  }
  
  .maintenance-card {
    padding: 40px 20px;
  }
  
  .maintenance-icon {
    font-size: 60px;
  }
  
  .maintenance-card h2 {
    font-size: 1.5rem;
  }
}

/* ✅ ADMINPANEL.CSS - ARCHIVO COMPLETO */

/* ============================================
   VARIABLES CSS Y TEMAS
   ============================================ */

:root {
  /* Colores Light Mode */
  --admin-bg-primary: #f8f9fa;
  --admin-bg-secondary: #ffffff;
  --admin-bg-sidebar: #2c3e50;
  --admin-text-primary: #2c3e50;
  --admin-text-secondary: #6c757d;
  --admin-text-light: #ffffff;
  --admin-border: #dee2e6;
  --admin-shadow: rgba(0, 0, 0, 0.1);
  --admin-accent: #667eea;
  --admin-success: #28a745;
  --admin-warning: #ffc107;
  --admin-danger: #dc3545;
  --admin-info: #17a2b8;
  
  /* Transiciones */
  --admin-transition: all 0.3s ease;
  --admin-transition-fast: all 0.2s ease;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --admin-bg-primary: #1a1a1a;
  --admin-bg-secondary: #2d2d2d;
  --admin-bg-sidebar: #121212;
  --admin-text-primary: #ffffff;
  --admin-text-secondary: #b0b0b0;
  --admin-text-light: #ffffff;
  --admin-border: #404040;
  --admin-shadow: rgba(0, 0, 0, 0.3);
  --admin-accent: #667eea;
  --admin-success: #4caf50;
  --admin-warning: #ff9800;
  --admin-danger: #f44336;
  --admin-info: #2196f3;
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */

.servicios-admin-panel {
  display: flex;
  min-height: 100vh;
  background-color: #f8f9fa;
  background-color: var(--admin-bg-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  transition: all 0.3s ease;
  transition: var(--admin-transition);
}

.servicios-admin-sidebar-collapsed .servicios-admin-sidebar {
  width: 80px;
}

.servicios-admin-sidebar-collapsed .servicios-admin-main {
  margin-left: 80px;
}

/* ============================================
   SIDEBAR
   ============================================ */

.servicios-admin-sidebar {
  width: 280px;
  background: #2c3e50;
  background: var(--admin-bg-sidebar);
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  transition: all 0.3s ease;
  transition: var(--admin-transition);
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

/* HEADER DEL SIDEBAR */
.servicios-admin-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.servicios-admin-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.servicios-admin-logo-icon {
  font-size: 28px;
  color: #667eea;
  color: var(--admin-accent);
}

.servicios-admin-logo-text h3 {
  margin: 0;
  color: #ffffff;
  color: var(--admin-text-light);
  font-size: 18px;
  font-weight: 700;
}

.servicios-admin-logo-text p {
  margin: 0;
  color: #6c757d;
  color: var(--admin-text-secondary);
  font-size: 12px;
  opacity: 0.8;
}

.servicios-admin-sidebar-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  color: var(--admin-text-light);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  transition: var(--admin-transition-fast);
}

.servicios-admin-sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* NAVEGACIÓN */
.servicios-admin-sidebar-nav {
  flex: 1 1;
  padding: 20px 0;
}

.servicios-admin-nav-item {
  width: 100%;
  background: none;
  border: none;
  color: #ffffff;
  color: var(--admin-text-light);
  padding: 15px 20px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  transition: var(--admin-transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  font-size: 14px;
}

.servicios-admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.servicios-admin-nav-active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background: linear-gradient(135deg, var(--admin-accent) 0%, #764ba2 100%);
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.servicios-admin-nav-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #667eea;
  background: var(--admin-accent);
}

.servicios-admin-nav-icon {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.servicios-admin-nav-badge {
  background: #667eea;
  background: var(--admin-accent);
  color: white;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: auto;
  font-weight: 600;
}

.servicios-admin-nav-badge-warning {
  background: #ffc107;
  background: var(--admin-warning);
  color: #000;
}

/* FOOTER DEL SIDEBAR */
.servicios-admin-sidebar-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
}

.servicios-admin-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.servicios-admin-profile-avatar {
  width: 40px;
  height: 40px;
  background: #667eea;
  background: var(--admin-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.servicios-admin-profile-info {
  flex: 1 1;
}

.servicios-admin-profile-name {
  margin: 0;
  color: #ffffff;
  color: var(--admin-text-light);
  font-size: 14px;
  font-weight: 600;
}

.servicios-admin-profile-role {
  margin: 0;
  color: #6c757d;
  color: var(--admin-text-secondary);
  font-size: 12px;
  opacity: 0.8;
}

.servicios-admin-profile-email {
  margin: 0;
  color: #6c757d;
  color: var(--admin-text-secondary);
  font-size: 11px;
  opacity: 0.7;
}

.servicios-admin-sidebar-controls {
  display: flex;
  gap: 8px;
}

.servicios-admin-control-btn,
.servicios-admin-logout-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  color: var(--admin-text-light);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  transition: var(--admin-transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.servicios-admin-control-btn:hover,
.servicios-admin-logout-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.servicios-admin-logout-btn {
  background: rgba(220, 53, 69, 0.2);
}

.servicios-admin-logout-btn:hover {
  background: rgba(220, 53, 69, 0.3);
}

/* ============================================
   CONTENIDO PRINCIPAL
   ============================================ */

.servicios-admin-main {
  flex: 1 1;
  margin-left: 280px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: all 0.3s ease;
  transition: var(--admin-transition);
}

/* HEADER PRINCIPAL */
.servicios-admin-header {
  background: #ffffff;
  background: var(--admin-bg-secondary);
  border-bottom: 1px solid #dee2e6;
  border-bottom: 1px solid var(--admin-border);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px var(--admin-shadow);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 999;
}

.servicios-admin-header-left {
  flex: 1 1;
}

.servicios-admin-section-title {
  margin: 0 0 4px 0;
  color: #2c3e50;
  color: var(--admin-text-primary);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.servicios-admin-section-icon {
  font-size: 28px;
}

.servicios-admin-section-breadcrumb {
  margin: 0;
  color: #6c757d;
  color: var(--admin-text-secondary);
  font-size: 14px;
}

.servicios-admin-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.servicios-admin-header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.servicios-admin-btn {
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  transition: var(--admin-transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
}

.servicios-admin-btn-secondary {
  background: #f8f9fa;
  background: var(--admin-bg-primary);
  color: #2c3e50;
  color: var(--admin-text-primary);
  border: 1px solid #dee2e6;
  border: 1px solid var(--admin-border);
}

.servicios-admin-btn-secondary:hover:not(:disabled) {
  background: #6c757d;
  background: var(--admin-text-secondary);
  color: white;
  transform: translateY(-1px);
}

.servicios-admin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.servicios-admin-refresh-icon {
  font-size: 16px;
}

.servicios-admin-spinning {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* NOTIFICACIONES DROPDOWN */
.servicios-admin-notifications-dropdown {
  position: relative;
}

.servicios-admin-notification-btn {
  background: #f8f9fa;
  background: var(--admin-bg-primary);
  border: 1px solid #dee2e6;
  border: 1px solid var(--admin-border);
  color: #2c3e50;
  color: var(--admin-text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  position: relative;
  transition: all 0.2s ease;
  transition: var(--admin-transition-fast);
}

.servicios-admin-notification-btn:hover {
  background: #667eea;
  background: var(--admin-accent);
  color: white;
}

.servicios-admin-notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #dc3545;
  background: var(--admin-danger);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

/* INFO DEL ADMIN */
.servicios-admin-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.servicios-admin-details {
  text-align: right;
}

.servicios-admin-name {
  display: block;
  color: #2c3e50;
  color: var(--admin-text-primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.servicios-admin-badge {
  background: #667eea;
  background: var(--admin-accent);
  color: white;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.servicios-admin-system-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.servicios-admin-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28a745;
  background: var(--admin-success);
}

.servicios-admin-status-online {
  background: #28a745;
  background: var(--admin-success);
}

.servicios-admin-status-error {
  background: #dc3545;
  background: var(--admin-danger);
}

.servicios-admin-status-text {
  font-size: 12px;
  color: #6c757d;
  color: var(--admin-text-secondary);
}

/* ============================================
   ÁREA DE CONTENIDO
   ============================================ */

.servicios-admin-content {
  flex: 1 1;
  padding: 30px;
  background: #f8f9fa;
  background: var(--admin-bg-primary);
}

/* ============================================
   SISTEMA DE NOTIFICACIONES TOAST
   ============================================ */

.admin-notification-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 400px;
}

.admin-notification-toast {
  background: #ffffff;
  background: var(--admin-bg-secondary);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 30px var(--admin-shadow);
  border-left: 4px solid #28a745;
  border-left: 4px solid var(--admin-success);
  overflow: hidden;
  animation: slideInRight 0.3s ease-out;
}

.admin-notification-toast-header {
  padding: 15px 20px;
  background: linear-gradient(135deg, #d4edda 0%, #ffffff 100%);
  background: linear-gradient(135deg, #d4edda 0%, var(--admin-bg-secondary) 100%);
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-notification-toast-icon {
  font-size: 24px;
}

.admin-notification-toast-title h4 {
  margin: 0 0 4px 0;
  color: #2c3e50;
  color: var(--admin-text-primary);
  font-size: 16px;
  font-weight: 600;
}

.admin-notification-toast-time {
  font-size: 12px;
  color: #6c757d;
  color: var(--admin-text-secondary);
  margin: 0;
}

.admin-notification-toast-close {
  background: none;
  border: none;
  color: #6c757d;
  color: var(--admin-text-secondary);
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  margin-left: auto;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  transition: var(--admin-transition-fast);
}

.admin-notification-toast-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.admin-notification-toast-body {
  padding: 0 20px 15px 20px;
}

.admin-notification-toast-user p {
  margin: 4px 0;
  font-size: 14px;
  color: #2c3e50;
  color: var(--admin-text-primary);
}

.admin-notification-toast-footer {
  padding: 15px 20px;
  background: #f8f9fa;
  background: var(--admin-bg-primary);
  text-align: right;
}

.admin-notification-toast-action {
  background: #667eea;
  background: var(--admin-accent);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  transition: var(--admin-transition-fast);
}

.admin-notification-toast-action:hover {
  background: #5a6fd8;
  transform: translateY(-1px);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ============================================
   DROPDOWN DE NOTIFICACIONES
   ============================================ */

.admin-notification-dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  width: 380px;
  background: #ffffff;
  background: var(--admin-bg-secondary);
  border: 1px solid #dee2e6;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 30px var(--admin-shadow);
  z-index: 2000;
  overflow: hidden;
  animation: fadeInDown 0.2s ease-out;
}

.admin-notification-dropdown-header {
  padding: 15px 20px;
  background: #f8f9fa;
  background: var(--admin-bg-primary);
  border-bottom: 1px solid #dee2e6;
  border-bottom: 1px solid var(--admin-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-notification-dropdown-header h3 {
  margin: 0;
  color: #2c3e50;
  color: var(--admin-text-primary);
  font-size: 16px;
  font-weight: 600;
}

.admin-notification-dropdown-count {
  background: #667eea;
  background: var(--admin-accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
}

.admin-notification-dropdown-list {
  max-height: 300px;
  overflow-y: auto;
}

.admin-notification-dropdown-item {
  padding: 15px 20px;
  border-bottom: 1px solid #dee2e6;
  border-bottom: 1px solid var(--admin-border);
  cursor: pointer;
  transition: all 0.2s ease;
  transition: var(--admin-transition-fast);
  display: flex;
  gap: 12px;
  position: relative;
}

.admin-notification-dropdown-item:hover {
  background: #f8f9fa;
  background: var(--admin-bg-primary);
}

.admin-notification-dropdown-item:last-child {
  border-bottom: none;
}

.admin-notification-unread {
  background: rgba(102, 126, 234, 0.05);
}

.admin-notification-dropdown-item-icon {
  font-size: 18px;
  color: #667eea;
  color: var(--admin-accent);
  margin-top: 2px;
}

.admin-notification-dropdown-item-content {
  flex: 1 1;
}

.admin-notification-dropdown-item-title {
  font-weight: 600;
  color: #2c3e50;
  color: var(--admin-text-primary);
  font-size: 14px;
  margin-bottom: 4px;
}

.admin-notification-dropdown-item-details p {
  margin: 2px 0;
  font-size: 12px;
  color: #6c757d;
  color: var(--admin-text-secondary);
}

.admin-notification-dropdown-item-time {
  font-size: 11px;
  color: #6c757d;
  color: var(--admin-text-secondary);
  margin-top: 4px;
}

.admin-notification-dropdown-item-dot {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 8px;
  height: 8px;
  background: #667eea;
  background: var(--admin-accent);
  border-radius: 50%;
}

.admin-notification-dropdown-footer {
  padding: 15px 20px;
  background: #f8f9fa;
  background: var(--admin-bg-primary);
  border-top: 1px solid #dee2e6;
  border-top: 1px solid var(--admin-border);
  text-align: center;
}

.admin-notification-dropdown-view-all {
  background: none;
  border: none;
  color: #667eea;
  color: var(--admin-accent);
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  transition: var(--admin-transition-fast);
}

.admin-notification-dropdown-view-all:hover {
  text-decoration: underline;
}

.admin-notification-dropdown-empty {
  padding: 30px 20px;
  text-align: center;
  color: #6c757d;
  color: var(--admin-text-secondary);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   SECCIÓN DE NOTIFICACIONES COMPLETA
   ============================================ */

.admin-notification-full-section {
  background: #ffffff;
  background: var(--admin-bg-secondary);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px var(--admin-shadow);
  overflow: hidden;
}

.admin-notification-full-header {
  padding: 25px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background: linear-gradient(135deg, var(--admin-accent) 0%, #764ba2 100%);
  color: white;
}

.admin-notification-full-header h2 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
}

.admin-notification-full-header p {
  margin: 0 0 15px 0;
  opacity: 0.9;
  font-size: 16px;
}

.admin-notification-full-stats {
  display: flex;
  gap: 20px;
}

.admin-notification-stat {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.admin-notification-full-list {
  max-height: 500px;
  overflow-y: auto;
}

.admin-notification-full-item {
  padding: 20px 30px;
  border-bottom: 1px solid #dee2e6;
  border-bottom: 1px solid var(--admin-border);
  transition: all 0.2s ease;
  transition: var(--admin-transition-fast);
}

.admin-notification-full-item:hover {
  background: #f8f9fa;
  background: var(--admin-bg-primary);
}

.admin-notification-unread {
  background: rgba(102, 126, 234, 0.05);
  border-left: 4px solid #667eea;
  border-left: 4px solid var(--admin-accent);
}

.admin-notification-full-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.admin-notification-full-item-user {
  display: flex;
  gap: 12px;
  flex: 1 1;
}

.admin-notification-full-avatar {
  width: 45px;
  height: 45px;
  background: #667eea;
  background: var(--admin-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.admin-notification-full-user-info h4 {
  margin: 0 0 4px 0;
  color: #2c3e50;
  color: var(--admin-text-primary);
  font-size: 16px;
  font-weight: 600;
}

.admin-notification-full-user-info p {
  margin: 0;
  color: #6c757d;
  color: var(--admin-text-secondary);
  font-size: 14px;
}

.admin-notification-full-actions {
  display: flex;
  gap: 10px;
}

.admin-notification-full-action-btn,
.admin-notification-full-mark-read {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  transition: var(--admin-transition-fast);
  border: none;
  font-weight: 500;
}

.admin-notification-full-action-btn {
  background: #667eea;
  background: var(--admin-accent);
  color: white;
}

.admin-notification-full-action-btn:hover {
  background: #5a6fd8;
}

.admin-notification-full-mark-read {
  background: #f8f9fa;
  background: var(--admin-bg-primary);
  color: #6c757d;
  color: var(--admin-text-secondary);
  border: 1px solid #dee2e6;
  border: 1px solid var(--admin-border);
}

.admin-notification-full-mark-read:hover {
  background: #6c757d;
  background: var(--admin-text-secondary);
  color: white;
}

.admin-notification-full-item-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.admin-notification-detail-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-notification-detail-label {
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  color: var(--admin-text-secondary);
  min-width: 80px;
}

.admin-notification-detail-value {
  font-size: 14px;
  color: #2c3e50;
  color: var(--admin-text-primary);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  background: #f8f9fa;
  background: var(--admin-bg-primary);
  padding: 2px 6px;
  border-radius: 4px;
}

.admin-notification-empty {
  padding: 60px 30px;
  text-align: center;
  color: #6c757d;
  color: var(--admin-text-secondary);
}

.admin-notification-empty h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  color: #2c3e50;
  color: var(--admin-text-primary);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .servicios-admin-sidebar {
    width: 260px;
  }
  
  .servicios-admin-main {
    margin-left: 260px;
  }
  
  .servicios-admin-sidebar-collapsed .servicios-admin-sidebar {
    width: 70px;
  }
  
  .servicios-admin-sidebar-collapsed .servicios-admin-main {
    margin-left: 70px;
  }
}

@media (max-width: 768px) {
  .servicios-admin-sidebar {
    width: 100%;
    transform: translateX(-100%);
    transition: all 0.3s ease;
    transition: var(--admin-transition);
  }
  
  .servicios-admin-sidebar.mobile-open {
    transform: translateX(0);
  }
  
  .servicios-admin-main {
    margin-left: 0;
  }
  
  .servicios-admin-header {
    padding: 15px 20px;
  }
  
  .servicios-admin-content {
    padding: 20px;
  }
  
  .servicios-admin-section-title {
    font-size: 20px;
  }
  
  .admin-notification-toast-container {
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .admin-notification-dropdown-content {
    width: 90vw;
    right: 5vw;
  }
}

@media (max-width: 480px) {
  .servicios-admin-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .servicios-admin-header-right {
    width: 100%;
    justify-content: space-between;
  }
  
  .admin-notification-full-item {
    padding: 15px 20px;
  }
  
  .admin-notification-full-item-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .admin-notification-full-item-details {
    grid-template-columns: 1fr;
  }
}
/* ✅ CLIENTESGESTION.CSS - ARCHIVO COMPLETO */

/* ============================================
   HEREDA VARIABLES DE ADMINPANEL
   ============================================ */

/* 
   NOTA: Este CSS usa las variables definidas en AdminPanel.css
   Las variables --admin-* se convierten automáticamente según el tema
   NO definir nuevas variables aquí, usar las del AdminPanel
*/

.clientes-gestion-remasterizado {
  /* Usa las variables del AdminPanel para consistencia de tema */
  --clientes-primary: var(--admin-accent);
  --clientes-secondary: #764ba2;
  --clientes-success: var(--admin-success);
  --clientes-warning: var(--admin-warning);
  --clientes-danger: var(--admin-danger);
  --clientes-info: var(--admin-info);
  
  /* Backgrounds heredados */
  --clientes-bg-main: var(--admin-bg-primary);
  --clientes-bg-white: var(--admin-bg-secondary);
  --clientes-bg-gradient: linear-gradient(135deg, var(--admin-accent) 0%, #764ba2 100%);
  
  /* Textos heredados */
  --clientes-text-primary: var(--admin-text-primary);
  --clientes-text-secondary: var(--admin-text-secondary);
  --clientes-text-muted: #adb5bd;
  --clientes-text-white: var(--admin-text-light);
  
  /* Bordes y sombras heredados */
  --clientes-border: var(--admin-border);
  --clientes-border-light: var(--admin-bg-primary);
  --clientes-shadow: var(--admin-shadow);
  --clientes-shadow-lg: rgba(0, 0, 0, 0.15);
  
  /* Transiciones heredadas */
  --clientes-transition: var(--admin-transition);
  --clientes-transition-fast: var(--admin-transition-fast);
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */

.clientes-gestion-remasterizado {
  padding: 25px;
  background: var(--clientes-bg-main);
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  position: relative;
}

/* ============================================
   SISTEMA DE NOTIFICACIONES PROPIAS
   ============================================ */

.notifications-container {
  position: fixed;
  top: 80px;
  right: 25px;
  z-index: 10000;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.notification {
  background: var(--clientes-bg-white);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 30px var(--clientes-shadow-lg);
  border-left: 5px solid;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideInRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), 
             fadeOut 0.4s ease-in 2.6s;
  animation-fill-mode: both;
  pointer-events: auto;
  transform: translateX(0);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.notification-success {
  border-left-color: var(--clientes-success);
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, var(--clientes-bg-white) 50%);
}

.notification-error {
  border-left-color: var(--clientes-danger);
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, var(--clientes-bg-white) 50%);
}

.notification-warning {
  border-left-color: var(--clientes-warning);
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, var(--clientes-bg-white) 50%);
}

.notification-info {
  border-left-color: var(--clientes-info);
  background: linear-gradient(135deg, rgba(23, 162, 184, 0.1) 0%, var(--clientes-bg-white) 50%);
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
}

.notification-icon {
  font-size: 18px;
  font-weight: bold;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.notification-message {
  color: var(--clientes-text-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.notification-close {
  background: rgba(108, 117, 125, 0.1);
  border: none;
  color: var(--clientes-text-secondary);
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  padding: 4px 8px;
  margin-left: 12px;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--clientes-transition-fast);
}

.notification-close:hover {
  background: rgba(108, 117, 125, 0.2);
  transform: scale(1.1);
}

@keyframes slideInRight {
  from {
    transform: translateX(120%);
    opacity: 0;
    scale: 0.8;
  }
  to {
    transform: translateX(0);
    opacity: 1;
    scale: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(120%) scale(0.9);
  }
}

/* ============================================
   HEADER SECTION
   ============================================ */

.header-section {
  background: var(--clientes-bg-gradient);
  color: var(--clientes-text-white);
  padding: 35px 40px;
  border-radius: 16px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.header-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><defs><pattern id=\"grain\" width=\"100\" height=\"100\" patternUnits=\"userSpaceOnUse\"><circle cx=\"25\" cy=\"25\" r=\"1\" fill=\"rgba%28255,255,255,0.05%29\"/><circle cx=\"75\" cy=\"75\" r=\"1\" fill=\"rgba%28255,255,255,0.05%29\"/></pattern></defs><rect width=\"100\" height=\"100\" fill=\"url%28%23grain%29\"/></svg>");
  opacity: 0.3;
}

.title-section {
  position: relative;
  z-index: 1;
}

.title-section h1 {
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.5px;
}

.title-section p {
  margin: 0;
  font-size: 16px;
  opacity: 0.95;
  font-weight: 400;
}

.stats-quick {
  display: flex;
  gap: 25px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  padding: 20px 25px;
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--clientes-transition);
}

.stat-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
}

.stat-item.warning {
  background: rgba(255, 193, 7, 0.25);
  border-color: rgba(255, 193, 7, 0.3);
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 12px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ============================================
   FORMULARIO DE NUEVA ASIGNACIÓN
   ============================================ */

.nueva-asignacion-section {
  background: var(--clientes-bg-white);
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px var(--clientes-shadow);
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.nueva-asignacion-section h2 {
  margin: 0 0 25px 0;
  color: var(--clientes-text-primary);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.asignacion-form-horizontal {
  display: grid;
  grid-template-columns: 2fr 2.5fr 2fr 1.2fr;
  grid-gap: 25px;
  gap: 25px;
  align-items: end;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--clientes-text-primary);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.correo-input,
.cliente-input,
.plataforma-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--clientes-border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--clientes-transition);
  background: var(--clientes-bg-white);
  color: var(--clientes-text-primary);
}

.correo-input:focus,
.cliente-input:focus,
.plataforma-input:focus {
  outline: none;
  border-color: var(--clientes-primary);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
  transform: translateY(-1px);
}

.correo-input {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.btn-crear-asignacion {
  background: var(--clientes-bg-gradient);
  color: var(--clientes-text-white);
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--clientes-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-crear-asignacion:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-crear-asignacion:active:not(:disabled) {
  transform: translateY(0);
}

.btn-crear-asignacion:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   SISTEMA DE SUGERENCIAS
   ============================================ */

.input-with-suggestions {
  position: relative;
}

.suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--clientes-bg-white);
  border: 1px solid var(--clientes-border);
  border-radius: 12px;
  box-shadow: 0 8px 30px var(--clientes-shadow-lg);
  z-index: 1000;
  max-height: 320px;
  overflow-y: auto;
  margin-top: 4px;
  animation: fadeInDown 0.2s ease-out;
}

.suggestion-item {
  padding: 15px 18px;
  cursor: pointer;
  border-bottom: 1px solid var(--clientes-border-light);
  transition: var(--clientes-transition-fast);
  position: relative;
}

.suggestion-item:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  transform: translateX(3px);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.suggestion-name {
  font-weight: 600;
  color: var(--clientes-text-primary);
  font-size: 14px;
}

.suggestion-id {
  font-size: 11px;
  color: var(--clientes-text-muted);
  background: var(--clientes-light);
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.suggestion-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--clientes-text-secondary);
}

.suggestion-email,
.suggestion-phone {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.plataforma-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
}

.plataforma-icon {
  font-size: 20px;
}

.plataforma-name {
  font-weight: 600;
  color: var(--clientes-text-primary);
  font-size: 14px;
}

.selected-cliente,
.selected-plataforma {
  margin-top: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
  color: #155724;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   CONTROLES DE CORREOS ASIGNADOS
   ============================================ */

.controles-correos-section {
  background: var(--clientes-bg-white);
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 25px;
  box-shadow: 0 4px 20px var(--clientes-shadow);
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.controles-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.controles-header h2 {
  margin: 0;
  color: var(--clientes-text-primary);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-toggle-correos {
  background: var(--clientes-bg-gradient);
  color: var(--clientes-text-white);
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--clientes-transition);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.2);
}

.btn-toggle-correos:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-toggle-correos:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  flex: 1 1;
  padding: 14px 50px 14px 20px;
  border: 2px solid var(--clientes-border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--clientes-transition);
  background: var(--clientes-bg-white);
  color: var(--clientes-text-primary);
}

.search-input:focus {
  outline: none;
  border-color: var(--clientes-primary);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.search-icon {
  position: absolute;
  right: 40px;
  font-size: 18px;
  color: var(--clientes-text-secondary);
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: 12px;
  background: rgba(108, 117, 125, 0.1);
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--clientes-text-secondary);
  padding: 4px 8px;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--clientes-transition-fast);
}

.search-clear:hover {
  background: rgba(220, 53, 69, 0.1);
  color: var(--clientes-danger);
  transform: scale(1.1);
}

/* ============================================
   TABLA DE ASIGNACIONES
   ============================================ */

.asignaciones-table-container {
  margin-top: 25px;
  background: var(--clientes-bg-white);
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--clientes-shadow);
  overflow: hidden;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.table-wrapper {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 650px;
}

.asignaciones-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--clientes-bg-white);
}

/* ENCABEZADOS DE TABLA */
.asignaciones-table thead {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.asignaciones-table th {
  padding: 18px 24px;
  text-align: left;
  font-weight: 700;
  color: var(--clientes-text-primary);
  border-bottom: 2px solid var(--clientes-border);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.th-correo { width: 32%; }
.th-cliente { width: 28%; }
.th-plataforma { width: 20%; }
.th-fecha { width: 12%; }
.th-acciones { width: 8%; text-align: center; }

/* FILAS DE TABLA */
.asignaciones-table tbody tr {
  border-bottom: 1px solid var(--clientes-border-light);
  transition: var(--clientes-transition);
  background: var(--clientes-bg-white);
}

.asignaciones-table tbody tr:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
  transform: scale(1.002);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.asignaciones-table tbody tr:nth-child(even) {
  background: rgba(248, 249, 250, 0.5);
}

.asignaciones-table tbody tr:nth-child(even):hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
}

/* FILAS ESPECIALES */
.row-huerfana {
  background: linear-gradient(135deg, #fff3cd 0%, #fef7e0 100%) !important;
  color: #856404;
  border-left: 4px solid var(--clientes-warning);
}

.row-huerfana:hover {
  background: linear-gradient(135deg, #ffeeba 0%, #fff3cd 100%) !important;
  transform: scale(1.005);
}

.row-inactivo {
  opacity: 0.7;
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%) !important;
  border-left: 4px solid var(--clientes-danger);
}

/* CELDAS DE TABLA */
.asignaciones-table td {
  padding: 18px 24px;
  vertical-align: middle;
  border-bottom: 1px solid var(--clientes-border-light);
}

/* CELDA DE CORREO */
.correo-cell {
  display: flex;
  align-items: center;
  gap: 15px;
}

.correo-text {
  flex: 1 1;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 13px;
  color: var(--clientes-text-primary);
  word-break: break-all;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  border: 1px solid var(--clientes-border);
}

.btn-copy-table {
  background: linear-gradient(135deg, var(--clientes-info) 0%, #138496 100%);
  color: var(--clientes-text-white);
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: var(--clientes-transition);
  box-shadow: 0 2px 8px rgba(23, 162, 184, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-copy-table:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(23, 162, 184, 0.4);
}

.btn-copy-table:active {
  transform: translateY(0);
}

.edit-correo-input-table {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--clientes-primary);
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  background: var(--clientes-bg-white);
  color: var(--clientes-text-primary);
  font-weight: 500;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.edit-correo-input-table:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

/* CELDA DE CLIENTE */
.cliente-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
}

.cliente-nombre {
  font-weight: 700;
  color: var(--clientes-text-primary);
  font-size: 15px;
  line-height: 1.3;
}

.cliente-email {
  font-size: 12px;
  color: var(--clientes-text-secondary);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 500;
  border: 1px solid var(--clientes-border);
}

.cliente-id {
  font-size: 11px;
  color: var(--clientes-text-muted);
  font-weight: 700;
  background: linear-gradient(135deg, var(--clientes-primary) 0%, var(--clientes-secondary) 100%);
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  width: -webkit-fit-content;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

/* CELDA DE PLATAFORMA */
.plataforma-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 140px;
}

.plataforma-icon {
  font-size: 22px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.plataforma-nombre {
  font-weight: 700;
  color: var(--clientes-text-primary);
  font-size: 14px;
}

/* CELDA DE FECHA */
.fecha-cell {
  font-size: 12px;
  color: var(--clientes-text-secondary);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 6px 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  border: 1px solid var(--clientes-border);
  min-width: 80px;
}

/* CELDA DE ACCIONES */
.acciones-cell {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.btn-table-edit,
.btn-table-delete,
.btn-table-save,
.btn-table-cancel {
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 16px;
  transition: var(--clientes-transition);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
}

.btn-table-edit {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.btn-table-edit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.btn-table-delete {
  background: linear-gradient(135deg, var(--clientes-danger) 0%, #c82333 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.btn-table-delete:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.btn-table-save {
  background: linear-gradient(135deg, var(--clientes-success) 0%, #1e7e34 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.btn-table-save:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.btn-table-cancel {
  background: linear-gradient(135deg, var(--clientes-warning) 0%, #e0a800 100%);
  color: #212529;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.btn-table-cancel:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-table-edit:disabled,
.btn-table-delete:disabled,
.btn-table-save:disabled,
.btn-table-cancel:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ============================================
   MENSAJES DE ESTADO
   ============================================ */

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  background: var(--clientes-bg-white);
  border-radius: 16px;
  margin: 20px 0;
}

.loading-container .loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--clientes-border);
  border-top: 4px solid var(--clientes-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

.loading-container span {
  color: var(--clientes-text-secondary);
  font-size: 16px;
  font-weight: 500;
}

.no-correos-message,
.no-resultados-message {
  background: var(--clientes-bg-white);
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--clientes-shadow);
  margin: 25px 0;
  border: 2px dashed var(--clientes-border);
}

.no-correos-content,
.no-resultados-content {
  padding: 60px 40px;
  text-align: center;
}

.no-correos-icon,
.no-resultados-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.3;
  display: block;
}

.no-correos-content h3,
.no-resultados-content h3 {
  margin: 0 0 15px 0;
  font-size: 24px;
  color: var(--clientes-text-primary);
  font-weight: 700;
}

.no-correos-content p,
.no-resultados-content p {
  margin: 0 0 20px 0;
  color: var(--clientes-text-secondary);
  font-size: 16px;
  line-height: 1.5;
}

.clear-search-btn {
  background: var(--clientes-bg-gradient);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--clientes-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.2);
}

.clear-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* ============================================
   FOOTER CON ACCIONES
   ============================================ */

.footer-actions {
  background: var(--clientes-bg-white);
  padding: 25px 30px;
  border-radius: 16px;
  margin-top: 30px;
  box-shadow: 0 4px 20px var(--clientes-shadow);
  border: 1px solid rgba(102, 126, 234, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.btn-refresh {
  background: linear-gradient(135deg, var(--clientes-text-secondary) 0%, #495057 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--clientes-transition);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(108, 117, 125, 0.2);
}

.btn-refresh:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-refresh:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-refresh .spinning {
  animation: spin 1s linear infinite;
}

.footer-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.footer-info,
.footer-search-info,
.footer-warning {
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-info {
  background: rgba(23, 162, 184, 0.1);
  color: var(--clientes-info);
  border: 1px solid rgba(23, 162, 184, 0.2);
}

.footer-search-info {
  background: rgba(102, 126, 234, 0.1);
  color: var(--clientes-primary);
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.footer-warning {
  background: rgba(255, 193, 7, 0.1);
  color: #856404;
  border: 1px solid rgba(255, 193, 7, 0.2);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets */
@media (max-width: 1024px) {
  .clientes-gestion-remasterizado {
    padding: 20px;
  }
  
  .header-section {
    padding: 25px 30px;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .stats-quick {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .asignacion-form-horizontal {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .form-field.action-field {
    grid-column: 1 / -1;
  }
  
  .asignaciones-table th,
  .asignaciones-table td {
    padding: 12px 16px;
  }
  
  .notifications-container {
    right: 15px;
    max-width: 350px;
  }
}

/* Móviles */
@media (max-width: 768px) {
  .clientes-gestion-remasterizado {
    padding: 15px;
  }
  
  .header-section {
    padding: 20px;
  }
  
  .title-section h1 {
    font-size: 24px;
  }
  
  .stats-quick {
    gap: 15px;
  }
  
  .stat-item {
    padding: 15px 20px;
    min-width: 80px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .nueva-asignacion-section,
  .controles-correos-section {
    padding: 20px;
  }
  
  .asignacion-form-horizontal {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .asignaciones-table {
    font-size: 12px;
  }
  
  .asignaciones-table th,
  .asignaciones-table td {
    padding: 10px 12px;
  }
  
  .correo-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .correo-text {
    font-size: 11px;
    padding: 6px 8px;
  }
  
  .cliente-cell {
    gap: 4px;
    min-width: auto;
  }
  
  .cliente-nombre {
    font-size: 13px;
  }
  
  .cliente-email {
    font-size: 11px;
  }
  
  .plataforma-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: auto;
  }
  
  .plataforma-icon {
    font-size: 18px;
  }
  
  .plataforma-nombre {
    font-size: 12px;
  }
  
  .fecha-cell {
    font-size: 10px;
    padding: 4px 8px;
    min-width: auto;
  }
  
  .acciones-cell {
    flex-direction: column;
    gap: 4px;
  }
  
  .btn-table-edit,
  .btn-table-delete,
  .btn-table-save,
  .btn-table-cancel {
    padding: 8px 10px;
    font-size: 14px;
    min-width: 36px;
    height: 36px;
  }
  
  .footer-actions {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-stats {
    justify-content: center;
  }
  
  .notifications-container {
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .notification {
    padding: 12px 16px;
  }
  
  .notification-message {
    font-size: 13px;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .clientes-gestion-remasterizado {
    padding: 10px;
  }
  
  .header-section {
    padding: 15px;
  }
  
  .title-section h1 {
    font-size: 20px;
  }
  
  .title-section p {
    font-size: 14px;
  }
  
  .stats-quick {
    gap: 10px;
  }
  
  .stat-item {
    padding: 12px 15px;
    min-width: 70px;
  }
  
  .stat-number {
    font-size: 20px;
  }
  
  .stat-label {
    font-size: 10px;
  }
  
  .nueva-asignacion-section,
  .controles-correos-section {
    padding: 15px;
  }
  
  .nueva-asignacion-section h2,
  .controles-header h2 {
    font-size: 18px;
  }
  
  .table-wrapper {
    max-height: 400px;
  }
  
  .no-correos-content,
  .no-resultados-content {
    padding: 40px 20px;
  }
  
  .no-correos-icon,
  .no-resultados-icon {
    font-size: 48px;
  }
  
  .no-correos-content h3,
  .no-resultados-content h3 {
    font-size: 20px;
  }
  
  .no-correos-content p,
  .no-resultados-content p {
    font-size: 14px;
  }
}

/* ============================================
   UTILIDADES Y HELPERS
   ============================================ */

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fade-in {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-up {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Efectos de hover mejorados */
.hover-lift {
  transition: var(--clientes-transition);
}

.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--clientes-shadow-lg);
}

/* Estados de carga */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Modo de alto contraste */
@media (prefers-contrast: high) {
  :root {
    --clientes-border: #000000;
    --clientes-text-secondary: #000000;
    --clientes-shadow: rgba(0, 0, 0, 0.5);
  }
}

/* Reducir movimiento para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ✅ EDITOR.CSS - ESTILOS PARA EDITOR DE USUARIOS */

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */

.editor-usuarios-panel {
  background: var(--admin-bg-secondary);
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--admin-shadow);
  overflow: hidden;
  min-height: 600px;
}

/* ============================================
   SISTEMA DE NOTIFICACIONES
   ============================================ */

.notifications-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 400px;
}

.notification {
  background: var(--admin-bg-secondary);
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--admin-shadow);
  padding: 12px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideInRight 0.3s ease-out;
}

.notification-success {
  border-left: 4px solid var(--admin-success);
}

.notification-error {
  border-left: 4px solid var(--admin-danger);
}

.notification-warning {
  border-left: 4px solid var(--admin-warning);
}

.notification-info {
  border-left: 4px solid var(--admin-info);
}

.notification-message {
  color: var(--admin-text-primary);
  font-size: 14px;
  font-weight: 500;
}

.notification button {
  background: none;
  border: none;
  color: var(--admin-text-secondary);
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  margin-left: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--admin-transition-fast);
}

.notification button:hover {
  background: rgba(0, 0, 0, 0.1);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ============================================
   HEADER DEL EDITOR
   ============================================ */

.editor-header {
  padding: 25px 30px;
  background: linear-gradient(135deg, var(--admin-accent) 0%, #764ba2 100%);
  color: white;
}

.editor-header h1 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.editor-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 16px;
}

/* ============================================
   SECCIÓN DE BÚSQUEDA
   ============================================ */

.editor-search-section {
  padding: 30px;
  border-bottom: 1px solid var(--admin-border);
}

.search-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.search-input {
  flex: 1 1;
  padding: 15px 20px;
  border: 2px solid var(--admin-border);
  border-radius: 10px;
  font-size: 16px;
  background: var(--admin-bg-primary);
  color: var(--admin-text-primary);
  transition: var(--admin-transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--admin-accent);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-results-count {
  color: var(--admin-text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.search-actions button {
  background: var(--admin-danger);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--admin-transition-fast);
}

.search-actions button:hover {
  background: #c82333;
  transform: translateY(-1px);
}

/* ============================================
   LISTA DE RESULTADOS DE BÚSQUEDA
   ============================================ */

.users-results-list {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  background: var(--admin-bg-primary);
}

.no-results {
  padding: 40px 20px;
  text-align: center;
  color: var(--admin-text-secondary);
}

.no-results p {
  margin: 0;
  font-size: 16px;
}

.user-result-item {
  padding: 15px 20px;
  border-bottom: 1px solid var(--admin-border);
  cursor: pointer;
  transition: var(--admin-transition-fast);
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-result-item:hover {
  background: var(--admin-bg-secondary);
  transform: translateX(5px);
}

.user-result-item:last-child {
  border-bottom: none;
}

.user-banned {
  background: rgba(220, 53, 69, 0.05);
  border-left: 4px solid var(--admin-danger);
}

.user-result-avatar {
  width: 50px;
  height: 50px;
  background: var(--admin-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.user-banned .user-result-avatar {
  background: var(--admin-danger);
}

.user-result-info {
  flex: 1 1;
}

.user-result-name {
  font-weight: 600;
  color: var(--admin-text-primary);
  font-size: 16px;
  margin-bottom: 5px;
}

.user-result-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.user-result-details span {
  font-size: 12px;
  color: var(--admin-text-secondary);
  background: var(--admin-bg-secondary);
  padding: 2px 8px;
  border-radius: 12px;
}

.user-result-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-cliente {
  background: var(--admin-success);
  color: white;
}

.status-admin {
  background: var(--admin-accent);
  color: white;
}

.status-baneado {
  background: var(--admin-danger);
  color: white;
}

.banned-icon {
  font-size: 20px;
}

/* ============================================
   SECCIÓN DE EDICIÓN DE USUARIO
   ============================================ */

.editor-user-section {
  padding: 30px;
}

.editor-user-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--admin-bg-primary);
  border-radius: 12px;
  border: 1px solid var(--admin-border);
}

.user-header-info {
  display: flex;
  gap: 20px;
  align-items: center;
}

.user-avatar-large {
  width: 80px;
  height: 80px;
  background: var(--admin-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.user-header-details h2 {
  margin: 0 0 8px 0;
  color: var(--admin-text-primary);
  font-size: 24px;
  font-weight: 700;
}

.user-header-details p {
  margin: 0 0 12px 0;
  color: var(--admin-text-secondary);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 14px;
  background: var(--admin-bg-secondary);
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
}

.user-header-status {
  display: flex;
  gap: 10px;
  align-items: center;
}

.activity-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.activity-badge.active {
  background: var(--admin-success);
  color: white;
}

.activity-badge.inactive {
  background: var(--admin-danger);
  color: white;
}

.user-header-actions {
  display: flex;
  gap: 12px;
  flex-direction: column;
}

.btn-ban,
.btn-unban,
.btn-close {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--admin-transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-ban {
  background: var(--admin-danger);
  color: white;
}

.btn-ban:hover:not(:disabled) {
  background: #c82333;
  transform: translateY(-1px);
}

.btn-unban {
  background: var(--admin-success);
  color: white;
}

.btn-unban:hover:not(:disabled) {
  background: #218838;
  transform: translateY(-1px);
}

.btn-close {
  background: var(--admin-text-secondary);
  color: white;
}

.btn-close:hover {
  background: #495057;
  transform: translateY(-1px);
}

.btn-ban:disabled,
.btn-unban:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   FORMULARIO DE DATOS BÁSICOS
   ============================================ */

.editor-basic-data {
  background: var(--admin-bg-secondary);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  border: 1px solid var(--admin-border);
}

.editor-basic-data h3 {
  margin: 0 0 20px 0;
  color: var(--admin-text-primary);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--admin-text-primary);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  font-size: 14px;
  background: var(--admin-bg-primary);
  color: var(--admin-text-primary);
  transition: var(--admin-transition-fast);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--admin-accent);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-save-changes {
  background: var(--admin-accent);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--admin-transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: 100%;
  max-width: 300px;
}

.btn-save-changes:hover:not(:disabled) {
  background: #5a6fd8;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-save-changes:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   GESTIÓN DE PLATAFORMAS Y CORREOS
   ============================================ */

.editor-platforms-section {
  background: var(--admin-bg-secondary);
  border-radius: 12px;
  padding: 25px;
  border: 1px solid var(--admin-border);
}

.editor-platforms-section h3 {
  margin: 0 0 25px 0;
  color: var(--admin-text-primary);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.platform-editor {
  background: var(--admin-bg-primary);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--admin-border);
  transition: var(--admin-transition-fast);
}

.platform-editor:hover {
  box-shadow: 0 2px 10px var(--admin-shadow);
}

.platform-header {
  margin-bottom: 15px;
}

.platform-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.platform-icon {
  font-size: 24px;
}

.platform-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--admin-text-primary);
}

.platform-count {
  background: var(--admin-accent);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
}

.platform-emails-list {
  margin-bottom: 20px;
  max-height: 200px;
  overflow-y: auto;
  background: var(--admin-bg-secondary);
  border-radius: 8px;
  padding: 10px;
  border: 1px solid var(--admin-border);
}

.email-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--admin-bg-primary);
  border-radius: 6px;
  margin-bottom: 8px;
  border: 1px solid var(--admin-border);
  transition: var(--admin-transition-fast);
}

.email-item:hover {
  background: var(--admin-bg-secondary);
  transform: translateX(3px);
}

.email-item:last-child {
  margin-bottom: 0;
}

.email-text {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 13px;
  color: var(--admin-text-primary);
  flex: 1 1;
}

.btn-delete-email {
  background: var(--admin-danger);
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--admin-transition-fast);
  opacity: 0.7;
}

.btn-delete-email:hover:not(:disabled) {
  opacity: 1;
  transform: scale(1.05);
}

.btn-delete-email:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.platform-add-emails {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.platform-add-emails textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  font-size: 14px;
  background: var(--admin-bg-secondary);
  color: var(--admin-text-primary);
  resize: vertical;
  min-height: 80px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  transition: var(--admin-transition-fast);
}

.platform-add-emails textarea:focus {
  outline: none;
  border-color: var(--admin-accent);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-add-emails {
  background: var(--admin-success);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--admin-transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  align-self: flex-start;
}

.btn-add-emails:hover:not(:disabled) {
  background: #218838;
  transform: translateY(-1px);
}

.btn-add-emails:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   MODAL PERSONALIZADO
   ============================================ */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.2s ease-out;
}

.modal-content {
  background: var(--admin-bg-secondary);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  animation: slideInScale 0.3s ease-out;
}

.modal-header {
  padding: 20px 25px;
  background: linear-gradient(135deg, var(--admin-accent) 0%, #764ba2 100%);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--admin-transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal-body {
  padding: 25px;
}

.modal-body p {
  margin: 0;
  color: var(--admin-text-primary);
  font-size: 16px;
  line-height: 1.5;
}

.modal-footer {
  padding: 20px 25px;
  background: var(--admin-bg-primary);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--admin-border);
}

.btn-modal-cancel,
.btn-modal-confirm {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--admin-transition-fast);
}

.btn-modal-cancel {
  background: var(--admin-bg-secondary);
  color: var(--admin-text-secondary);
  border: 1px solid var(--admin-border);
}

.btn-modal-cancel:hover {
  background: var(--admin-text-secondary);
  color: white;
}

.btn-modal-confirm {
  background: var(--admin-danger);
  color: white;
}

.btn-modal-confirm:hover {
  background: #c82333;
  transform: translateY(-1px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInScale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ============================================
   CHECKBOXES PERSONALIZADOS
   ============================================ */

.checkbox-container {
  display: block;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 14px;
  -webkit-user-select: none;
          user-select: none;
  color: var(--admin-text-primary);
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: var(--admin-bg-primary);
  border: 2px solid var(--admin-border);
  border-radius: 4px;
  transition: var(--admin-transition-fast);
}

.checkbox-container:hover input ~ .checkmark {
  border-color: var(--admin-accent);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--admin-accent);
  border-color: var(--admin-accent);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 5px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ============================================
   ACCIONES EN LOTE
   ============================================ */

.batch-actions {
  background: linear-gradient(135deg, var(--admin-accent) 0%, #764ba2 100%);
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideInDown 0.3s ease-out;
}

.batch-info {
  font-weight: 600;
  font-size: 14px;
}

.batch-buttons {
  display: flex;
  gap: 12px;
}

.btn-batch-ban,
.btn-batch-unban {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--admin-transition-fast);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-batch-ban:hover:not(:disabled) {
  background: var(--admin-danger);
  border-color: var(--admin-danger);
  transform: translateY(-1px);
}

.btn-batch-unban:hover:not(:disabled) {
  background: var(--admin-success);
  border-color: var(--admin-success);
  transform: translateY(-1px);
}

.btn-batch-ban:disabled,
.btn-batch-unban:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   LISTA DE RESULTADOS MEJORADA
   ============================================ */

.results-header {
  padding: 15px 20px;
  background: var(--admin-bg-secondary);
  border-bottom: 1px solid var(--admin-border);
  font-weight: 600;
}

.user-result-content {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1 1;
  cursor: pointer;
}

.user-result-item {
  padding: 15px 20px;
  border-bottom: 1px solid var(--admin-border);
  transition: var(--admin-transition-fast);
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-result-item:hover {
  background: var(--admin-bg-secondary);
}

/* ============================================
   ESTADÍSTICAS DEL USUARIO
   ============================================ */

.user-stats {
  display: flex;
  gap: 15px;
  margin-top: 8px;
}

.stat-item {
  background: var(--admin-bg-primary);
  color: var(--admin-text-primary);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--admin-border);
}

/* ============================================
   TABLA DE CORREOS INLINE
   ============================================ */

.editor-emails-table-section {
  background: var(--admin-bg-secondary);
  border-radius: 12px;
  padding: 25px;
  border: 1px solid var(--admin-border);
}

.emails-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.emails-table-header h3 {
  margin: 0;
  color: var(--admin-text-primary);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.emails-batch-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  animation: slideInRight 0.3s ease-out;
}

.emails-batch-actions .batch-info {
  background: var(--admin-accent);
  color: white;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.btn-delete-selected {
  background: var(--admin-danger);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--admin-transition-fast);
}

.btn-delete-selected:hover:not(:disabled) {
  background: #c82333;
  transform: translateY(-1px);
}

.btn-delete-selected:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.emails-table-container {
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--admin-bg-primary);
}

.emails-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.emails-table thead {
  background: var(--admin-bg-secondary);
}

.emails-table th {
  padding: 15px 12px;
  text-align: left;
  font-weight: 600;
  color: var(--admin-text-primary);
  border-bottom: 2px solid var(--admin-border);
}

.th-checkbox {
  width: 50px;
  text-align: center;
}

.th-correo {
  width: 35%;
}

.th-plataforma {
  width: 25%;
}

.th-fecha {
  width: 20%;
}

.th-acciones {
  width: 20%;
  text-align: center;
}

.emails-table tbody tr {
  transition: var(--admin-transition-fast);
}

.emails-table tbody tr:hover {
  background: var(--admin-bg-secondary);
}

.emails-table td {
  padding: 12px;
  border-bottom: 1px solid var(--admin-border);
  vertical-align: middle;
}

.td-checkbox {
  text-align: center;
}

.email-display {
  display: flex;
  align-items: center;
  gap: 10px;
}

.email-text {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 13px;
  color: var(--admin-text-primary);
  background: var(--admin-bg-secondary);
  padding: 4px 8px;
  border-radius: 4px;
  flex: 1 1;
}

.edit-email-input {
  width: 100%;
  padding: 8px 12px;
  border: 2px solid var(--admin-accent);
  border-radius: 6px;
  font-size: 13px;
  background: var(--admin-bg-secondary);
  color: var(--admin-text-primary);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  transition: var(--admin-transition-fast);
}

.edit-email-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.plataforma-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plataforma-icon {
  font-size: 18px;
}

.plataforma-nombre {
  font-weight: 500;
  color: var(--admin-text-primary);
}

.fecha-cell {
  color: var(--admin-text-secondary);
  font-size: 13px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.acciones-cell {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.btn-table-save,
.btn-table-cancel,
.btn-table-edit,
.btn-table-delete {
  background: none;
  border: none;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--admin-transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-table-save {
  background: var(--admin-success);
  color: white;
}

.btn-table-save:hover:not(:disabled) {
  background: #218838;
  transform: scale(1.1);
}

.btn-table-cancel {
  background: var(--admin-text-secondary);
  color: white;
}

.btn-table-cancel:hover {
  background: #495057;
  transform: scale(1.1);
}

.btn-table-edit {
  background: var(--admin-accent);
  color: white;
}

.btn-table-edit:hover:not(:disabled) {
  background: #5a6fd8;
  transform: scale(1.1);
}

.btn-table-delete {
  background: var(--admin-danger);
  color: white;
}

.btn-table-delete:hover:not(:disabled) {
  background: #c82333;
  transform: scale(1.1);
}

.btn-table-save:disabled,
.btn-table-edit:disabled,
.btn-table-delete:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.no-emails-message {
  padding: 40px 20px;
  text-align: center;
  background: var(--admin-bg-primary);
  border-radius: 10px;
  border: 1px solid var(--admin-border);
}

.no-emails-content {
  max-width: 300px;
  margin: 0 auto;
}

.no-emails-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
  opacity: 0.6;
}

.no-emails-content h3 {
  margin: 0 0 8px 0;
  color: var(--admin-text-primary);
  font-size: 18px;
  font-weight: 600;
}

.no-emails-content p {
  margin: 0;
  color: var(--admin-text-secondary);
  font-size: 14px;
}

/* ============================================
   ESTADO VACÍO
   ============================================ */

.editor-empty-state {
  padding: 60px 30px;
  text-align: center;
}

.empty-state-content {
  max-width: 500px;
  margin: 0 auto;
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: block;
}

.empty-state-content h3 {
  margin: 0 0 12px 0;
  color: var(--admin-text-primary);
  font-size: 24px;
  font-weight: 600;
}

.empty-state-content > p {
  margin: 0 0 25px 0;
  color: var(--admin-text-secondary);
  font-size: 16px;
}

.empty-state-tips {
  background: var(--admin-bg-primary);
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  border: 1px solid var(--admin-border);
}

.empty-state-tips p {
  margin: 0 0 12px 0;
  color: var(--admin-text-primary);
  font-weight: 600;
}

.empty-state-tips ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.empty-state-tips li {
  color: var(--admin-text-secondary);
  font-size: 14px;
  margin-bottom: 6px;
  padding-left: 20px;
  position: relative;
}

.empty-state-tips li:last-child {
  margin-bottom: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .form-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .user-header-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .editor-user-header {
    flex-direction: column;
    gap: 20px;
  }
  
  .user-header-actions {
    flex-direction: row;
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .editor-search-section,
  .editor-user-section {
    padding: 20px;
  }
  
  .editor-header {
    padding: 20px;
  }
  
  .editor-header h1 {
    font-size: 20px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .search-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-actions {
    justify-content: space-between;
  }
  
  .user-result-details {
    flex-direction: column;
    gap: 5px;
  }
  
  .user-header-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .notifications-container {
    left: 10px;
    right: 10px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .editor-header {
    padding: 15px 20px;
  }
  
  .editor-search-section,
  .editor-user-section {
    padding: 15px;
  }
  
  .editor-basic-data,
  .editor-platforms-section {
    padding: 20px;
  }
  
  .user-result-item {
    padding: 12px 15px;
  }
  
  .platform-editor {
    padding: 15px;
  }
  
  .empty-state-icon {
    font-size: 48px;
  }
  
  .empty-state-content h3 {
    font-size: 20px;
  }
}
/* ============================================
   APP.CSS - PERCIVAL SHOP
   Loading & Banned Screens
   ============================================ */

:root {
  --app-bg: #0a0a0a;
  --app-text: #e9ecef;
  --app-muted: #b7bcc4;
  --app-stroke: rgba(255, 255, 255, 0.12);
  --app-gold: #d4af37;
  --app-gold-2: #f0d574;
  --app-red: #e50914;
  --app-red-2: #ff1a25;
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.app-loading-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #e9ecef;
  color: var(--app-text);
  overflow: hidden;
  z-index: 9999;
}

.app-loading-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #151515 50%, #0a0a0a 100%);
  z-index: 0;
}

.app-loading-bg-gradient {
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg at 50% 50%, 
    transparent 0deg, 
    rgba(212, 175, 55, 0.08) 90deg, 
    transparent 180deg,
    rgba(229, 9, 20, 0.05) 270deg,
    transparent 360deg
  );
  animation: appLoadingRotate 30s linear infinite;
}

@keyframes appLoadingRotate {
  to { transform: rotate(360deg); }
}

.app-loading-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.app-loading-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #d4af37;
  background: var(--app-gold);
  border-radius: 50%;
  opacity: 0;
  animation: appLoadingParticleFloat 5s ease-in-out infinite;
}

@keyframes appLoadingParticleFloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100vh) scale(1);
  }
}

.app-loading-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.app-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  animation: appLoadingFadeIn 0.8s ease-out;
}

@keyframes appLoadingFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.app-loading-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.app-loading-logo-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: appLoadingLogoFloat 3s ease-in-out infinite;
}

@keyframes appLoadingLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.app-loading-logo-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #d4af37;
  border-top-color: var(--app-gold);
  border-right-color: #f0d574;
  border-right-color: var(--app-gold-2);
  animation: appLoadingLogoSpin 2s linear infinite;
}

@keyframes appLoadingLogoSpin {
  to { transform: rotate(360deg); }
}

.app-loading-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
  position: relative;
  z-index: 1;
}

.app-loading-logo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--app-gold), var(--app-gold-2));
  border-radius: 50%;
  box-shadow: 
    0 0 40px rgba(212, 175, 55, 0.6),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.app-loading-logo-letter {
  font-size: 3.5rem;
  font-weight: 900;
  color: #0a0a0a;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.app-loading-text {
  text-align: center;
}

.app-loading-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, #d4af37 0%, #f0d574 50%, #d4af37 100%);
  background: linear-gradient(135deg, var(--app-gold) 0%, var(--app-gold-2) 50%, var(--app-gold) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: appLoadingShimmer 3s ease-in-out infinite;
  letter-spacing: -0.02em;
}

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

.app-loading-subtitle {
  font-size: 1rem;
  color: #b7bcc4;
  color: var(--app-muted);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.app-loading-progress-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  min-width: 320px;
}

.app-loading-spinner {
  width: 80px;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-loading-spinner-ring {
  position: absolute;
  border: 3px solid transparent;
  border-radius: 50%;
  animation: appLoadingSpinnerRotate 1.5s linear infinite;
}

.app-loading-spinner-ring:nth-child(1) {
  width: 80px;
  height: 80px;
  border-top-color: #d4af37;
  border-top-color: var(--app-gold);
  border-right-color: #d4af37;
  border-right-color: var(--app-gold);
  animation-duration: 1.5s;
}

.app-loading-spinner-ring:nth-child(2) {
  width: 60px;
  height: 60px;
  border-top-color: #f0d574;
  border-top-color: var(--app-gold-2);
  border-right-color: #f0d574;
  border-right-color: var(--app-gold-2);
  animation-duration: 1.2s;
  animation-direction: reverse;
}

.app-loading-spinner-ring:nth-child(3) {
  width: 40px;
  height: 40px;
  border-top-color: #d4af37;
  border-top-color: var(--app-gold);
  border-right-color: #d4af37;
  border-right-color: var(--app-gold);
  animation-duration: 0.9s;
}

@keyframes appLoadingSpinnerRotate {
  to { transform: rotate(360deg); }
}

.app-loading-message {
  font-size: 1rem;
  color: #e9ecef;
  color: var(--app-text);
  margin: 0;
  font-weight: 500;
  text-align: center;
  animation: appLoadingPulse 1.5s ease-in-out infinite;
}

@keyframes appLoadingPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.app-loading-bar-container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-loading-bar {
  flex: 1 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.app-loading-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #d4af37, #f0d574, #d4af37);
  background: linear-gradient(90deg, var(--app-gold), var(--app-gold-2), var(--app-gold));
  background-size: 200% 100%;
  border-radius: 10px;
  transition: width 0.4s ease-out;
  animation: appLoadingBarShimmer 2s linear infinite;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

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

.app-loading-percentage {
  font-size: 0.9rem;
  color: #d4af37;
  color: var(--app-gold);
  font-weight: 700;
  min-width: 45px;
  text-align: right;
  font-family: 'Courier New', monospace;
}

.app-loading-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.app-loading-dot {
  width: 8px;
  height: 8px;
  background: #d4af37;
  background: var(--app-gold);
  border-radius: 50%;
  animation: appLoadingDotBounce 1.4s ease-in-out infinite;
}

.app-loading-dot:nth-child(1) {
  animation-delay: 0s;
}

.app-loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.app-loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes appLoadingDotBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-15px);
    opacity: 1;
  }
}

/* ============================================
   BANNED SCREEN
   ============================================ */

.app-banned-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #e9ecef;
  color: var(--app-text);
  overflow-y: auto;
  z-index: 9999;
}

.app-banned-background {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #151515 50%, #0a0a0a 100%);
  z-index: 0;
}

.app-banned-bg-gradient {
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg at 50% 50%, 
    transparent 0deg, 
    rgba(229, 9, 20, 0.08) 90deg, 
    transparent 180deg,
    rgba(229, 9, 20, 0.05) 270deg,
    transparent 360deg
  );
  animation: appBannedRotate 40s linear infinite;
}

@keyframes appBannedRotate {
  to { transform: rotate(360deg); }
}

.app-banned-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  margin: 2rem auto;
  padding: 2rem 1rem;
}

.app-banned-content {
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--app-stroke);
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: appBannedSlideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes appBannedSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-banned-header {
  text-align: center;
  margin-bottom: 3rem;
}

.app-banned-icon-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: appBannedIconPulse 2s ease-in-out infinite;
}

@keyframes appBannedIconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.app-banned-icon-ring {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 3px solid #e50914;
  border: 3px solid var(--app-red);
  opacity: 0.3;
  animation: appBannedRingPulse 2s ease-in-out infinite;
}

@keyframes appBannedRingPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.1;
  }
}

.app-banned-icon {
  font-size: 5rem;
  filter: drop-shadow(0 0 20px rgba(229, 9, 20, 0.6));
}

.app-banned-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, #e50914 0%, #ff1a25 100%);
  background: linear-gradient(135deg, var(--app-red) 0%, var(--app-red-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.app-banned-subtitle {
  font-size: 1.1rem;
  color: #b7bcc4;
  color: var(--app-muted);
  margin: 0;
}

.app-banned-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.app-banned-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--app-stroke);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.app-banned-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

.app-banned-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.app-banned-card-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.app-banned-card-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #e9ecef;
  color: var(--app-text);
}

.app-banned-user-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-banned-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  font-size: 0.95rem;
}

.app-banned-detail-label {
  color: #b7bcc4;
  color: var(--app-muted);
  font-weight: 500;
}

.app-banned-detail-value {
  color: #e9ecef;
  color: var(--app-text);
  font-weight: 600;
  text-align: right;
}

.app-banned-status {
  padding: 0.375rem 0.875rem;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.4);
  border-radius: 20px;
  color: #ff1a25;
  color: var(--app-red-2);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: appBannedStatusBlink 2s ease-in-out infinite;
}

@keyframes appBannedStatusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.app-banned-reasons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-banned-reasons li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e9ecef;
  color: var(--app-text);
}

.app-banned-bullet {
  color: #d4af37;
  color: var(--app-gold);
  font-weight: 700;
  flex-shrink: 0;
}

.app-banned-contact-text {
  margin: 0 0 1rem 0;
  color: #b7bcc4;
  color: var(--app-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.app-banned-contact-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-banned-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.app-banned-contact-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.app-banned-contact-btn:hover::before {
  opacity: 1;
}

.app-banned-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.app-banned-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.app-banned-telegram {
  background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
}

.app-banned-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 158, 217, 0.4);
}

.app-banned-actions {
  display: flex;
  justify-content: center;
  padding: 2rem 0 1.5rem;
}

.app-banned-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--app-stroke);
  border-radius: 14px;
  color: #e9ecef;
  color: var(--app-text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.app-banned-logout-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.app-banned-logout-btn:hover {
  border-color: #d4af37;
  border-color: var(--app-gold);
  color: #d4af37;
  color: var(--app-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.app-banned-logout-btn:hover::before {
  opacity: 1;
}

.app-banned-logout-icon {
  font-size: 1.2rem;
}

.app-banned-footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--app-stroke);
}

.app-banned-footer-brand {
  margin: 0 0 0.5rem 0;
  color: #b7bcc4;
  color: var(--app-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.app-banned-footer-help {
  margin: 0;
  color: #b7bcc4;
  color: var(--app-muted);
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.5;
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
  .app-loading-title {
    font-size: 2rem;
  }

  .app-loading-subtitle {
    font-size: 0.9rem;
  }

  .app-loading-logo-wrapper {
    width: 100px;
    height: 100px;
  }

  .app-loading-progress-section {
    min-width: 280px;
  }

  .app-banned-container {
    padding: 1rem;
    margin: 1rem auto;
  }

  .app-banned-content {
    padding: 2rem 1.5rem;
  }

  .app-banned-title {
    font-size: 2rem;
  }

  .app-banned-subtitle {
    font-size: 1rem;
  }

  .app-banned-icon-wrapper {
    width: 100px;
    height: 100px;
  }

  .app-banned-icon {
    font-size: 4rem;
  }

  .app-banned-detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .app-banned-detail-value {
    text-align: left;
  }
}

/* ============================================
   PREFERS REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

