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

:root {
  --orange: #ff6b35;
  --orange-light: #ff8c42;
  --orange-dark: #e85d2a;
  --orange-glow: rgba(255,107,53,0.2);
  --bg: #0a0a0a;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --bg4: #202020;
  --gray1: #242424;
  --gray2: #2e2e2e;
  --gray3: #3a3a3a;
  --white: #ffffff;
  --w80: rgba(255,255,255,0.8);
  --w60: rgba(255,255,255,0.6);
  --w40: rgba(255,255,255,0.4);
  --w20: rgba(255,255,255,0.12);
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #f59e0b;
  --sidebar-w: 260px;
  --sidebar-mini: 64px;
  --header-h: 64px;
  --radius: 12px;
  --radius-sm: 8px;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@keyframes slideInLeft { from { opacity:0; transform:translateX(-100%); } to { opacity:1; transform:translateX(0); } }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  background: var(--bg);
  color: #ffffff;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

.dashboard-container {
  display: flex;
  min-height: 100vh;
  background: #0a0a0a;
  background: var(--bg);
  position: relative;
}

.dashboard-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 149;
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}

/* ===== SIDEBAR ===== */
.dashboard-sidebar {
  width: 260px;
  width: var(--sidebar-w);
  min-height: 100vh;
  background: #141414;
  background: var(--bg2);
  border-right: 1px solid #242424;
  border-right: 1px solid var(--gray1);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 150;
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
  scrollbar-width: thin;
  scrollbar-color: #2e2e2e transparent;
  scrollbar-color: var(--gray2) transparent;
}

/* ✅ SIDEBAR CERRADO EN PC → mini con solo íconos */
.dashboard-sidebar.sidebar-closed {
  width: 64px;
  width: var(--sidebar-mini);
}

.dashboard-sidebar::-webkit-scrollbar { width: 4px; }
.dashboard-sidebar::-webkit-scrollbar-track { background: transparent; }
.dashboard-sidebar::-webkit-scrollbar-thumb { background: #2e2e2e; background: var(--gray2); border-radius: 4px; }

/* scroll solo cuando está abierto */
.dashboard-sidebar.sidebar-open {
  overflow-y: auto;
  overflow-x: hidden;
}

/* Header */
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-shrink: 0;
  min-height: 64px;
  overflow: hidden;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid #2e2e2e;
  border: 2px solid var(--gray2);
  flex-shrink: 0;
}

.brand-text {
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.2s, width 0.3s;
}

.brand-text h2 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  line-height: 1;
  margin-bottom: 3px;
}

.brand-text p {
  font-size: 11px;
  color: #ff6b35;
  color: var(--orange);
  font-weight: 600;
  line-height: 1;
}

/* Ocultar textos cuando cerrado */
.dashboard-sidebar.sidebar-closed .brand-text,
.dashboard-sidebar.sidebar-closed .nav-info,
.dashboard-sidebar.sidebar-closed .nav-title,
.dashboard-sidebar.sidebar-closed .sidebar-status,
.dashboard-sidebar.sidebar-closed .sidebar-footer,
.dashboard-sidebar.sidebar-closed .sidebar-close {
  display: none;
}

.sidebar-close {
  display: none;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.sidebar-close:hover {
  background: rgba(239,68,68,0.15);
  border-color: #ef4444;
  border-color: var(--red);
  color: #ef4444;
  color: var(--red);
}

/* Status */
.sidebar-status {
  padding: 10px 12px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-shrink: 0;
  overflow: hidden;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-connected    { background: rgba(34,197,94,0.1);  border-color: rgba(34,197,94,0.2);  color: #22c55e;  color: var(--green); }
.status-disconnected { background: rgba(239,68,68,0.1);  border-color: rgba(239,68,68,0.2);  color: #ef4444;  color: var(--red); }
.status-connecting   { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.2); color: #f59e0b; color: var(--yellow); animation: pulse 2s infinite; }

.status-icon { font-size: 10px; flex-shrink: 0; }
.status-text { flex: 1 1; }

.status-retry {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.2s;
}

.status-retry:hover { background: #2e2e2e; background: var(--gray2); }

/* Nav */
.sidebar-nav {
  padding: 10px 8px 4px;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-title {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 6px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
}

.nav-item:hover:not(:disabled) {
  background: #1a1a1a;
  background: var(--bg3);
  border-color: #2e2e2e;
  border-color: var(--gray2);
  color: #ffffff;
  color: var(--white);
}

.nav-item-active {
  background: rgba(255,107,53,0.1) !important;
  border-color: rgba(255,107,53,0.3) !important;
  color: #ffffff !important;
  color: var(--white) !important;
}

.nav-item-disabled { opacity: 0.4; cursor: not-allowed; }

/* ✅ Ícono centrado cuando sidebar cerrado */
.dashboard-sidebar.sidebar-closed .nav-item {
  justify-content: center;
  padding: 10px 0;
  gap: 0;
}

.nav-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
  background: #1a1a1a;
  background: var(--bg3);
  padding: 3px;
  transition: transform 0.2s;
}

.nav-item:hover .nav-icon { transform: scale(1.08); }
.nav-item-active .nav-icon { background: #202020; background: var(--bg4); }

.nav-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1;
  min-width: 0;
  overflow: hidden;
}

.nav-name {
  font-size: 13px;
  font-weight: 600;
  color: inherit;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-status {
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.nav-status.status-active      { color: #22c55e; color: var(--green); }
.nav-status.status-locked      { color: rgba(255,255,255,0.4); color: var(--w40); }
.nav-status.status-maintenance { color: #f59e0b; color: var(--yellow); }

/* Tooltip en sidebar cerrado */
.dashboard-sidebar.sidebar-closed .nav-item {
  position: relative;
}

.dashboard-sidebar.sidebar-closed .nav-item::after {
  content: attr(title);
  position: absolute;
  left: calc(64px - 4px);
  left: calc(var(--sidebar-mini) - 4px);
  top: 50%;
  transform: translateY(-50%);
  background: #202020;
  background: var(--bg4);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  color: #ffffff;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 200;
  box-shadow: 4px 4px 16px rgba(0,0,0,0.4);
}

.dashboard-sidebar.sidebar-closed .nav-item:hover::after {
  opacity: 1;
}

/* Footer */
.sidebar-footer {
  margin-top: auto;
  padding: 12px;
  border-top: 1px solid #242424;
  border-top: 1px solid var(--gray1);
  flex-shrink: 0;
  overflow: hidden;
}

.user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  white-space: nowrap;
  overflow: hidden;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1 1;
  overflow: hidden;
}

.user-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-type {
  font-size: 11px;
  color: #ff6b35;
  color: var(--orange);
  font-weight: 600;
  text-transform: capitalize;
}

.btn-logout {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ef4444;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-logout:hover {
  background: rgba(239,68,68,0.2);
  border-color: #ef4444;
  border-color: var(--red);
}

.logout-icon { width: 15px; height: 15px; flex-shrink: 0; }

/* ===== MAIN ===== */
.dashboard-main {
  flex: 1 1;
  margin-left: 260px;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #0a0a0a;
  background: var(--bg);
  transition: margin-left 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ✅ Main cuando sidebar mini */
.dashboard-main.main-expanded {
  margin-left: 64px;
  margin-left: var(--sidebar-mini);
}

/* ===== HEADER ===== */
.dashboard-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 64px;
  height: var(--header-h);
  background: #141414;
  background: var(--bg2);
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  gap: 16px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  padding: 9px 10px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-menu span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.6);
  background: var(--w60);
  border-radius: 2px;
  transition: all 0.2s;
}

.btn-menu:hover { background: #242424; background: var(--gray1); border-color: #ff6b35; border-color: var(--orange); }
.btn-menu:hover span { background: #ff6b35; background: var(--orange); }

.header-title-mobile { display: none; }
.header-title-mobile h1 { font-size: 15px; font-weight: 700; color: #ffffff; color: var(--white); }

.header-title { flex: 1 1; }

.header-title h1 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.header-title p { font-size: 13px; color: rgba(255,255,255,0.4); color: var(--w40); line-height: 1; }

.header-right { display: flex; align-items: center; gap: 10px; }

.header-status {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.btn-logout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ef4444;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-logout-header:hover {
  background: rgba(239,68,68,0.2);
  border-color: #ef4444;
  border-color: var(--red);
}

/* ===== ERROR ===== */
.dashboard-error {
  margin: 20px 24px 0;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 14px 18px;
  animation: fadeIn 0.3s ease;
}

.error-content { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.error-icon { font-size: 20px; flex-shrink: 0; }
.error-text { flex: 1 1; min-width: 0; }
.error-text h4 { font-size: 14px; font-weight: 700; color: #ef4444; color: var(--red); margin-bottom: 2px; }
.error-text p  { font-size: 13px; color: rgba(255,255,255,0.6); color: var(--w60); }

.btn-retry {
  padding: 8px 18px;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ef4444;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-retry:hover { background: rgba(239,68,68,0.25); }

/* ===== CONTENIDO ===== */
.dashboard-content {
  flex: 1 1;
  padding: 28px 24px;
  animation: fadeIn 0.3s ease;
}

/* ===== LOADING ===== */
.dashboard-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #0a0a0a;
  background: var(--bg);
}

.dashboard-loading h3 { font-size: 18px; font-weight: 700; color: #ffffff; color: var(--white); }
.dashboard-loading p  { font-size: 14px; color: rgba(255,255,255,0.6); color: var(--w60); }

.loading-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid #2e2e2e;
  border: 3px solid var(--gray2);
  border-top-color: #ff6b35;
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ===== MAINTENANCE ===== */
.dashboard-maintenance {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  animation: fadeIn 0.3s ease;
}

.maintenance-card {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  max-width: 440px;
  width: 100%;
}

.maintenance-icon { font-size: 52px; margin-bottom: 20px; }
.maintenance-card h2 { font-size: 20px; font-weight: 700; color: #ffffff; color: var(--white); margin-bottom: 10px; }
.maintenance-card p  { font-size: 14px; color: rgba(255,255,255,0.6); color: var(--w60); margin-bottom: 6px; line-height: 1.5; }
.maintenance-subtitle { color: rgba(255,255,255,0.4) !important; color: var(--w40) !important; font-size: 13px !important; margin-bottom: 24px !important; }

.btn-support {
  padding: 12px 28px;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border: none;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(255,107,53,0.2);
  box-shadow: 0 4px 16px var(--orange-glow);
}

.btn-support:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,0.35); }

/* ===== FOOTER ===== */
.dashboard-footer {
  padding: 16px 24px;
  border-top: 1px solid #242424;
  border-top: 1px solid var(--gray1);
  background: #141414;
  background: var(--bg2);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-content p { font-size: 12px; color: rgba(255,255,255,0.4); color: var(--w40); }

.footer-status { display: flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255,255,255,0.4); color: var(--w40); }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.status-connected    { background: #22c55e; background: var(--green); box-shadow: 0 0 6px rgba(34,197,94,0.5); }
.status-dot.status-disconnected { background: #ef4444; background: var(--red); }
.status-dot.status-connecting   { background: #f59e0b; background: var(--yellow); animation: pulse 1.5s infinite; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
    width: 260px !important;
    width: var(--sidebar-w) !important;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  }

  .dashboard-sidebar.sidebar-open {
    transform: translateX(0);
    box-shadow: 8px 0 40px rgba(0,0,0,0.6);
    animation: slideInLeft 0.28s ease;
  }

  .dashboard-sidebar.sidebar-closed {
    transform: translateX(-100%);
  }

  .dashboard-overlay { display: block; }
  .sidebar-close     { display: flex; }

  .dashboard-main,
  .dashboard-main.main-expanded { margin-left: 0; }

  .btn-menu { display: flex; }
  .header-title-mobile { display: flex; align-items: center; }
  .header-title { display: none; }

  .dashboard-header  { padding: 0 14px; }
  .dashboard-content { padding: 18px 14px; }
  .dashboard-error   { margin: 14px 14px 0; }
  .dashboard-footer  { padding: 14px; }

  .btn-logout-header span { display: none; }
  .btn-logout-header { padding: 9px 11px; }
}

@media (max-width: 480px) {
  .dashboard-content { padding: 14px 10px; }
  .dashboard-header  { padding: 0 10px; }
  .maintenance-card  { padding: 32px 20px; }
}
:root {
  --orange: #ff6b35;
  --orange-light: #ff8c42;
  --orange-dark: #e85d2a;
  --orange-glow: rgba(255,107,53,0.25);
  --bg: #0a0a0a;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --gray1: #242424;
  --gray2: #2e2e2e;
  --gray3: #3a3a3a;
  --white: #ffffff;
  --w80: rgba(255,255,255,0.8);
  --w60: rgba(255,255,255,0.6);
  --w40: rgba(255,255,255,0.4);
  --w20: rgba(255,255,255,0.15);
  --sidebar-w: 260px;
  --sidebar-closed: 68px;
  --navbar-h: 64px;
  --radius: 12px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  background: var(--bg);
  color: #ffffff;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.admin-panel-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #0a0a0a;
  background: var(--bg);
}

.admin-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  height: var(--navbar-h);
  background: #141414;
  background: var(--bg2);
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.admin-navbar-content {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
}

.admin-menu-button-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.8);
  color: var(--w80);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.admin-menu-button-mobile:hover {
  background: #242424;
  background: var(--gray1);
  color: #ff6b35;
  color: var(--orange);
  border-color: #ff6b35;
  border-color: var(--orange);
}

.admin-sidebar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.admin-sidebar-toggle:hover {
  background: #242424;
  background: var(--gray1);
  color: #ff6b35;
  color: var(--orange);
  border-color: #ff6b35;
  border-color: var(--orange);
}

.admin-navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
}

.admin-logo-wrapper {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255,107,53,0.25);
  box-shadow: 0 4px 12px var(--orange-glow);
}

.admin-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-logo-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  line-height: 1;
}

.admin-logo-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: #ff6b35;
  color: var(--orange);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.admin-navbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.admin-btn-refresh {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-refresh:hover:not(:disabled) {
  background: #242424;
  background: var(--gray1);
  color: #ff6b35;
  color: var(--orange);
  border-color: #ff6b35;
  border-color: var(--orange);
}

.admin-btn-refresh:disabled { opacity: 0.4; cursor: not-allowed; }

.admin-btn-refresh .spinning {
  animation: spin 1s linear infinite;
}

.admin-notifications-dropdown {
  position: relative;
}

.admin-notification-btn {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  cursor: pointer;
  transition: all 0.2s;
}

.admin-notification-btn:hover {
  background: #242424;
  background: var(--gray1);
  color: #ff6b35;
  color: var(--orange);
  border-color: #ff6b35;
  border-color: var(--orange);
}

.admin-notification-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  background: #ff6b35;
  background: var(--orange);
  color: #ffffff;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #141414;
  border: 2px solid var(--bg2);
}

.admin-notification-dropdown-content {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  z-index: 200;
  animation: fadeIn 0.2s ease;
  overflow: hidden;
}

.admin-notification-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
}

.admin-notification-dropdown-header h3 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
}

.admin-notification-dropdown-count {
  font-size: 12px;
  font-weight: 600;
  color: #ff6b35;
  color: var(--orange);
  background: rgba(255,107,53,0.12);
  padding: 3px 10px;
  border-radius: 100px;
}

.admin-notification-dropdown-list {
  max-height: 300px;
  overflow-y: auto;
}

.admin-notification-dropdown-list::-webkit-scrollbar { width: 4px; }
.admin-notification-dropdown-list::-webkit-scrollbar-track { background: transparent; }
.admin-notification-dropdown-list::-webkit-scrollbar-thumb { background: #2e2e2e; background: var(--gray2); border-radius: 4px; }

.admin-notification-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
}

.admin-notification-dropdown-item:last-child { border-bottom: none; }
.admin-notification-dropdown-item:hover { background: #1a1a1a; background: var(--bg3); }
.admin-notification-unread { background: rgba(255,107,53,0.05); }

.admin-notification-dropdown-item-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  flex-shrink: 0;
}

.admin-notification-dropdown-item-content { flex: 1 1; min-width: 0; }

.admin-notification-dropdown-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.admin-notification-dropdown-item-details p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-notification-dropdown-item-time {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  margin-top: 4px;
}

.admin-notification-dropdown-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b35;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 4px;
}

.admin-notification-dropdown-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 20px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
}

.admin-notification-dropdown-empty p { font-size: 13px; }

.admin-notification-dropdown-footer {
  padding: 12px 18px;
  border-top: 1px solid #242424;
  border-top: 1px solid var(--gray1);
}

.admin-notification-dropdown-view-all {
  width: 100%;
  padding: 10px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ff6b35;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-notification-dropdown-view-all:hover {
  background: rgba(255,107,53,0.2);
}

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  border: 2px solid #2e2e2e;
  border: 2px solid var(--gray2);
  flex-shrink: 0;
}

.admin-user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-user-name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  color: var(--white);
  line-height: 1;
}

.admin-user-badge {
  font-size: 10px;
  font-weight: 700;
  color: #ff6b35;
  color: var(--orange);
  letter-spacing: 0.5px;
  line-height: 1;
}

.admin-logout-button {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ef4444;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-logout-button:hover {
  background: rgba(239,68,68,0.2);
  border-color: #ef4444;
}

.admin-main-layout {
  display: flex;
  margin-top: 64px;
  margin-top: var(--navbar-h);
  min-height: calc(100vh - 64px);
  min-height: calc(100vh - var(--navbar-h));
}

.admin-sidebar {
  position: fixed;
  top: 64px;
  top: var(--navbar-h);
  left: 0;
  bottom: 0;
  background: #141414;
  background: var(--bg2);
  border-right: 1px solid #242424;
  border-right: 1px solid var(--gray1);
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
  z-index: 90;
  overflow: hidden;
}

.admin-sidebar.open  { width: 260px; width: var(--sidebar-w); }
.admin-sidebar.closed { width: 68px; width: var(--sidebar-closed); }

.admin-sidebar-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.admin-sidebar-content::-webkit-scrollbar { width: 4px; }
.admin-sidebar-content::-webkit-scrollbar-track { background: transparent; }
.admin-sidebar-content::-webkit-scrollbar-thumb { background: #2e2e2e; background: var(--gray2); border-radius: 4px; }

.admin-sidebar-header {
  padding: 20px 16px 12px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-shrink: 0;
}

.admin-sidebar-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.admin-stats-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #ff6b35;
  color: var(--orange);
  font-weight: 600;
}

.admin-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 8px;
  flex: 1 1;
}

.admin-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.admin-sidebar-item:hover {
  background: #1a1a1a;
  background: var(--bg3);
  color: #ffffff;
  color: var(--white);
  border-color: #2e2e2e;
  border-color: var(--gray2);
}

.admin-sidebar-item.active {
  background: rgba(255,107,53,0.12);
  color: #ff6b35;
  color: var(--orange);
  border-color: rgba(255,107,53,0.3);
}

.admin-sidebar-item.active .admin-sidebar-icon { color: #ff6b35; color: var(--orange); }

.admin-sidebar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.admin-sidebar-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1;
  min-width: 0;
}

.admin-sidebar-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-sidebar-status {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-active { color: rgba(34,197,94,0.7); }

.admin-sidebar-badge {
  min-width: 20px;
  height: 20px;
  background: #ff6b35;
  background: var(--orange);
  color: #ffffff;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  flex-shrink: 0;
}

.admin-sidebar-arrow {
  opacity: 0.3;
  flex-shrink: 0;
}

.admin-sidebar-item.active .admin-sidebar-arrow { opacity: 0.8; }

.admin-sidebar-footer {
  padding: 16px;
  border-top: 1px solid #242424;
  border-top: 1px solid var(--gray1);
  flex-shrink: 0;
}

.admin-system-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-weight: 500;
}

.admin-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.admin-status-online { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.6); }
.admin-status-error  { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.6); }

.admin-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 149;
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}

.admin-sidebar-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: #141414;
  background: var(--bg2);
  border-right: 1px solid #2e2e2e;
  border-right: 1px solid var(--gray2);
  z-index: 150;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 8px 0 32px rgba(0,0,0,0.5);
}

.admin-sidebar-mobile.open { display: flex; animation: slideInLeft 0.25s ease; }

.admin-sidebar-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-shrink: 0;
}

.admin-sidebar-mobile-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
}

.admin-sidebar-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  cursor: pointer;
  transition: all 0.2s;
}

.admin-sidebar-close:hover {
  background: rgba(239,68,68,0.15);
  border-color: #ef4444;
  color: #ef4444;
}

.admin-stats-mini-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: 13px;
  color: #ff6b35;
  color: var(--orange);
  font-weight: 600;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-shrink: 0;
}

.admin-sidebar-mobile .admin-sidebar-nav {
  padding: 10px 12px;
  flex: 1 1;
}

.admin-content {
  flex: 1 1;
  margin-left: 260px;
  margin-left: var(--sidebar-w);
  padding: 28px;
  transition: margin-left 0.3s cubic-bezier(0.4,0,0.2,1);
  min-height: calc(100vh - 64px);
  min-height: calc(100vh - var(--navbar-h));
  animation: fadeIn 0.3s ease;
}

.admin-content.full-width { margin-left: 68px; margin-left: var(--sidebar-closed); }

.admin-notifications-page {
  max-width: 860px;
  margin: 0 auto;
  animation: fadeIn 0.3s ease;
}

.admin-notifications-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-wrap: wrap;
}

.admin-notifications-header-content {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #ff6b35;
  color: var(--orange);
}

.admin-notifications-header-content h1 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 4px;
}

.admin-notifications-header-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.admin-notifications-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-notification-stat-badge {
  padding: 6px 14px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.admin-notifications-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-notification-card {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
  animation: fadeIn 0.3s ease;
}

.admin-notification-card:hover { border-color: #3a3a3a; border-color: var(--gray3); }
.admin-notification-card.unread { border-color: rgba(255,107,53,0.35); }

.admin-notification-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-wrap: wrap;
}

.admin-notification-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-notification-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  flex-shrink: 0;
}

.admin-notification-user-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 3px;
}

.admin-notification-user-info p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
}

.admin-notification-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-btn-primary {
  padding: 8px 16px;
  background: #ff6b35;
  background: var(--orange);
  border: none;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-primary:hover {
  background: #ff8c42;
  background: var(--orange-light);
  transform: translateY(-1px);
}

.admin-btn-secondary {
  padding: 8px 16px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-secondary:hover {
  background: #242424;
  background: var(--gray1);
  color: #ffffff;
  color: var(--white);
  border-color: #3a3a3a;
  border-color: var(--gray3);
}

.admin-notification-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 0;
  gap: 0;
  padding: 0;
}

.admin-notification-detail-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 20px;
  border-right: 1px solid #242424;
  border-right: 1px solid var(--gray1);
}

.admin-notification-detail-item:last-child { border-right: none; }

.admin-notification-detail-item .label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-notification-detail-item .value {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  color: var(--w80);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-notifications-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 20px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-align: center;
}

.admin-notifications-empty h3 {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.admin-notifications-empty p {
  font-size: 14px;
}

.error-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 20px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
}

.error-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.error-section p { font-size: 14px; }

.error-message {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #ef4444;
  background: rgba(239,68,68,0.08);
  padding: 10px 16px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239,68,68,0.2);
  max-width: 500px;
}

@media (max-width: 1024px) {
  .admin-user-details { display: none; }
}

@media (max-width: 768px) {
  .admin-sidebar { display: none; }
  .admin-sidebar-toggle { display: none; }
  .admin-menu-button-mobile { display: flex; }
  .admin-sidebar-overlay { display: block; }

  .admin-content {
    margin-left: 0 !important;
    padding: 20px 16px;
  }

  .admin-logo-title { font-size: 13px; }
  .admin-logo-subtitle { font-size: 10px; }

  .admin-notification-dropdown-content {
    right: -80px;
    width: 300px;
  }

  .admin-notifications-header {
    flex-direction: column;
  }

  .admin-notification-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-notification-details {
    grid-template-columns: 1fr 1fr;
  }

  .admin-notification-detail-item:nth-child(2n) { border-right: none; }
  .admin-notification-detail-item:nth-child(n+3) { border-top: 1px solid #242424; border-top: 1px solid var(--gray1); }
}

@media (max-width: 480px) {
  .admin-navbar-content { padding: 0 12px; gap: 8px; }
  .admin-content { padding: 16px 12px; }

  .admin-notification-dropdown-content {
    position: fixed;
    left: 12px;
    right: 12px;
    width: auto;
  }

  .admin-notification-details { grid-template-columns: 1fr; }
  .admin-notification-detail-item { border-right: none; border-top: 1px solid #242424; border-top: 1px solid var(--gray1); }
  .admin-notification-detail-item:first-child { border-top: none; }
}
:root {
  --orange: #ff6b35;
  --orange-light: #ff8c42;
  --orange-dark: #e85d2a;
  --orange-glow: rgba(255,107,53,0.2);
  --bg: #0a0a0a;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --bg4: #202020;
  --gray1: #242424;
  --gray2: #2e2e2e;
  --gray3: #3a3a3a;
  --white: #ffffff;
  --w80: rgba(255,255,255,0.8);
  --w60: rgba(255,255,255,0.6);
  --w40: rgba(255,255,255,0.4);
  --w20: rgba(255,255,255,0.15);
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #f59e0b;
  --blue: #3b82f6;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
}

@keyframes fadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
@keyframes slideDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes notifIn { from { opacity:0; transform:translateX(100%); } to { opacity:1; transform:translateX(0); } }

.clientes-gestion-remasterizado {
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 0.3s ease;
}

.notifications-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
  width: calc(100% - 40px);
}

.notification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  animation: notifIn 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.notification-success { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.3); }
.notification-error   { background: rgba(239,68,68,0.12);  border-color: rgba(239,68,68,0.3); }
.notification-warning { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.3); }
.notification-info    { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.3); }

.notification-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1;
  min-width: 0;
}

.notification-icon { font-size: 16px; flex-shrink: 0; }

.notification-message {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  color: var(--w80);
  line-height: 1.4;
  word-break: break-word;
}

.notification-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.notification-close:hover { background: #2e2e2e; background: var(--gray2); color: rgba(255,255,255,0.8); color: var(--w80); }

.header-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.title-section h1 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 6px;
}

.title-section p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  line-height: 1.5;
}

.title-section p strong { color: #ff6b35; color: var(--orange); }

.stats-quick {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  min-width: 80px;
}

.stat-number {
  font-size: 24px;
  font-weight: 800;
  color: #ff6b35;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nueva-asignacion-section {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.nueva-asignacion-section h2 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
}

.asignacion-form-horizontal {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  grid-gap: 16px;
  gap: 16px;
  align-items: start;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.correos-textarea {
  width: 100%;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  padding: 12px 14px;
  resize: vertical;
  min-height: 90px;
  font-family: 'Courier New', monospace;
  line-height: 1.6;
  transition: border-color 0.2s;
}

.correos-textarea:focus {
  outline: none;
  border-color: #ff6b35;
  border-color: var(--orange);
  background: #202020;
  background: var(--bg4);
}

.correos-textarea::placeholder { color: rgba(255,255,255,0.4); color: var(--w40); }

.correos-counter {
  font-size: 11px;
  color: #ff6b35;
  color: var(--orange);
  font-weight: 600;
  text-align: right;
}

.input-with-suggestions { position: relative; }

.cliente-input,
.plataforma-input {
  width: 100%;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  padding: 12px 14px;
  transition: border-color 0.2s;
}

.cliente-input:focus,
.plataforma-input:focus {
  outline: none;
  border-color: #ff6b35;
  border-color: var(--orange);
  background: #202020;
  background: var(--bg4);
}

.cliente-input::placeholder,
.plataforma-input::placeholder { color: rgba(255,255,255,0.4); color: var(--w40); }

.suggestions-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  z-index: 500;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  animation: slideDown 0.2s ease;
  max-height: 240px;
  overflow-y: auto;
}

.suggestions-dropdown::-webkit-scrollbar { width: 4px; }
.suggestions-dropdown::-webkit-scrollbar-track { background: transparent; }
.suggestions-dropdown::-webkit-scrollbar-thumb { background: #2e2e2e; background: var(--gray2); border-radius: 4px; }

.suggestion-item {
  padding: 12px 14px;
  cursor: pointer;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  transition: background 0.15s;
}

.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: #1a1a1a; background: var(--bg3); }

.suggestion-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.suggestion-name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  color: var(--white);
}

.suggestion-id {
  font-size: 11px;
  color: #ff6b35;
  color: var(--orange);
  font-family: 'Courier New', monospace;
  background: rgba(255,107,53,0.1);
  padding: 2px 8px;
  border-radius: 100px;
}

.suggestion-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.suggestion-email,
.suggestion-phone {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
}

.plataforma-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plataforma-item .plataforma-icon { font-size: 18px; }
.plataforma-item .plataforma-name { font-size: 13px; font-weight: 600; color: #ffffff; color: var(--white); }

.selected-cliente,
.selected-plataforma {
  font-size: 12px;
  font-weight: 600;
  color: #22c55e;
  color: var(--green);
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  padding: 6px 12px;
  border-radius: 6px;
  border-radius: var(--radius-xs);
}

.action-field {
  justify-content: flex-end;
  padding-top: 20px;
}

.btn-crear-asignacion {
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border: none;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(255,107,53,0.2);
  box-shadow: 0 4px 16px var(--orange-glow);
}

.btn-crear-asignacion:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.35);
}

.btn-crear-asignacion:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.controles-correos-section {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.controles-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.controles-header h2 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
}

.btn-toggle-correos {
  padding: 9px 18px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-toggle-correos:hover:not(:disabled) {
  background: #242424;
  background: var(--gray1);
  border-color: #ff6b35;
  border-color: var(--orange);
  color: #ff6b35;
  color: var(--orange);
}

.btn-toggle-correos:disabled { opacity: 0.4; cursor: not-allowed; }

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 14px;
  padding: 11px 44px 11px 16px;
  transition: border-color 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: #ff6b35;
  border-color: var(--orange);
  background: #202020;
  background: var(--bg4);
}

.search-input::placeholder { color: rgba(255,255,255,0.4); color: var(--w40); }

.search-icon {
  position: absolute;
  right: 36px;
  font-size: 15px;
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  cursor: pointer;
  font-size: 13px;
  padding: 4px;
  transition: color 0.2s;
}

.search-clear:hover { color: #ef4444; color: var(--red); }

.asignaciones-table-container {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  animation: fadeIn 0.3s ease;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrapper::-webkit-scrollbar { height: 4px; }
.table-wrapper::-webkit-scrollbar-track { background: transparent; }
.table-wrapper::-webkit-scrollbar-thumb { background: #2e2e2e; background: var(--gray2); border-radius: 4px; }

.asignaciones-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.asignaciones-table thead {
  background: #1a1a1a;
  background: var(--bg3);
  border-bottom: 1px solid #2e2e2e;
  border-bottom: 1px solid var(--gray2);
}

.asignaciones-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.asignaciones-table tbody tr {
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  transition: background 0.15s;
}

.asignaciones-table tbody tr:last-child { border-bottom: none; }
.asignaciones-table tbody tr:hover { background: #1a1a1a; background: var(--bg3); }

.tabla-row.row-inactivo { opacity: 0.5; }

.asignaciones-table td {
  padding: 14px 16px;
  vertical-align: middle;
}

.correo-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.correo-text {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  color: var(--w80);
  font-family: 'Courier New', monospace;
  word-break: break-all;
}

.btn-copy-table {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
  opacity: 0.5;
}

.btn-copy-table:hover { opacity: 1; background: #2e2e2e; background: var(--gray2); }

.edit-correo-input-table {
  width: 100%;
  min-width: 200px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #ff6b35;
  border: 1px solid var(--orange);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  padding: 8px 12px;
  font-family: 'Courier New', monospace;
}

.edit-correo-input-table:focus { outline: none; }

.cliente-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cliente-nombre {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  color: var(--white);
}

.cliente-email {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.cliente-uid {
  font-size: 11px;
  color: #ff6b35;
  color: var(--orange);
  font-family: 'Courier New', monospace;
}

.plataforma-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plataforma-cell .plataforma-icon { font-size: 18px; }
.plataforma-cell .plataforma-nombre { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8); color: var(--w80); }

.fecha-cell {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  white-space: nowrap;
}

.acciones-cell {
  display: flex;
  gap: 6px;
  align-items: center;
}

.btn-table-edit,
.btn-table-delete,
.btn-table-save,
.btn-table-cancel {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 15px;
  transition: all 0.2s;
}

.btn-table-edit:hover:not(:disabled) { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.4); }
.btn-table-delete:hover:not(:disabled) { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.4); }
.btn-table-save:hover:not(:disabled) { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.4); }
.btn-table-cancel:hover { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.4); }

.btn-table-edit:disabled,
.btn-table-delete:disabled,
.btn-table-save:disabled { opacity: 0.4; cursor: not-allowed; }

.loading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 48px 20px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-size: 14px;
  font-weight: 500;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #2e2e2e;
  border: 2px solid var(--gray2);
  border-top-color: #ff6b35;
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.no-correos-message,
.no-resultados-message {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 48px 24px;
  margin-bottom: 20px;
  animation: fadeIn 0.3s ease;
}

.no-correos-content,
.no-resultados-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.no-correos-icon,
.no-resultados-icon {
  font-size: 48px;
  opacity: 0.5;
}

.no-correos-content h3,
.no-resultados-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.no-correos-content p,
.no-resultados-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  max-width: 400px;
}

.no-correos-hint {
  font-size: 12px;
  color: #ff6b35;
  color: var(--orange);
  background: rgba(255,107,53,0.08);
  border: 1px solid rgba(255,107,53,0.2);
  padding: 10px 18px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  max-width: 480px;
  line-height: 1.5;
}

.clear-search-btn {
  padding: 10px 20px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.clear-search-btn:hover {
  background: #242424;
  background: var(--gray1);
  border-color: #ff6b35;
  border-color: var(--orange);
  color: #ff6b35;
  color: var(--orange);
}

.footer-actions {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 16px 24px;
}

.footer-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-info,
.footer-search-info,
.footer-estructura {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-weight: 500;
}

.footer-info { color: rgba(255,255,255,0.6); color: var(--w60); }
.footer-search-info { color: #ff6b35; color: var(--orange); }
.footer-estructura { color: rgba(255,255,255,0.4); color: var(--w40); font-family: 'Courier New', monospace; }

@media (max-width: 1024px) {
  .asignacion-form-horizontal {
    grid-template-columns: 1fr 1fr;
  }

  .action-field { padding-top: 0; }
}

@media (max-width: 768px) {
  .asignacion-form-horizontal {
    grid-template-columns: 1fr;
  }

  .header-section {
    flex-direction: column;
  }

  .stats-quick {
    width: 100%;
    justify-content: stretch;
  }

  .stat-item { flex: 1 1; }

  .controles-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-toggle-correos { width: 100%; }

  .footer-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .nueva-asignacion-section,
  .controles-correos-section,
  .no-correos-message,
  .no-resultados-message,
  .footer-actions {
    padding: 16px;
  }

  .notifications-container {
    top: 70px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }
}
:root {
  --orange: #ff6b35;
  --orange-light: #ff8c42;
  --orange-dark: #e85d2a;
  --orange-glow: rgba(255,107,53,0.2);
  --bg: #0a0a0a;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --bg4: #202020;
  --gray1: #242424;
  --gray2: #2e2e2e;
  --gray3: #3a3a3a;
  --white: #ffffff;
  --w80: rgba(255,255,255,0.8);
  --w60: rgba(255,255,255,0.6);
  --w40: rgba(255,255,255,0.4);
  --w20: rgba(255,255,255,0.12);
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #f59e0b;
  --blue: #3b82f6;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
}

@keyframes fadeIn { from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);} }
@keyframes slideDown { from{opacity:0;transform:translateY(-8px);}to{opacity:1;transform:translateY(0);} }
@keyframes spin { to{transform:rotate(360deg);} }
@keyframes notifIn { from{opacity:0;transform:translateX(100%);}to{opacity:1;transform:translateX(0);} }

.editor-usuarios-panel {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  animation: fadeIn 0.3s ease;
}

.notifications-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
  width: calc(100% - 40px);
}

.notification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  animation: notifIn 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.notification-success { background: rgba(34,197,94,0.12);  border-color: rgba(34,197,94,0.3); }
.notification-error   { background: rgba(239,68,68,0.12);  border-color: rgba(239,68,68,0.3); }
.notification-warning { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.3); }
.notification-info    { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.3); }

.notification-message {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  color: var(--w80);
  line-height: 1.4;
  flex: 1 1;
}

.notification button {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  cursor: pointer;
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.notification button:hover { background: #2e2e2e; background: var(--gray2); color: rgba(255,255,255,0.8); color: var(--w80); }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.modal-content {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
  animation: slideDown 0.25s ease;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
}

.modal-close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}

.modal-close:hover { background: rgba(239,68,68,0.15); border-color: #ef4444; border-color: var(--red); color: #ef4444; color: var(--red); }

.modal-body {
  padding: 20px 24px;
}

.modal-body p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  line-height: 1.6;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px 20px;
  border-top: 1px solid #242424;
  border-top: 1px solid var(--gray1);
}

.btn-modal-cancel {
  padding: 9px 20px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-modal-cancel:hover { background: #242424; background: var(--gray1); color: #ffffff; color: var(--white); }

.btn-modal-confirm {
  padding: 9px 20px;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border: none;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(255,107,53,0.2);
  box-shadow: 0 4px 12px var(--orange-glow);
}

.btn-modal-confirm:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,107,53,0.35); }

.editor-header {
  margin-bottom: 28px;
}

.editor-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 6px;
}

.editor-header p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
}

.editor-search-section {
  margin-bottom: 28px;
}

.search-container {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-input {
  width: 100%;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 14px;
  padding: 12px 16px;
  transition: border-color 0.2s;
}

.search-input:focus { outline: none; border-color: #ff6b35; border-color: var(--orange); background: #202020; background: var(--bg4); }
.search-input::placeholder { color: rgba(255,255,255,0.4); color: var(--w40); }

.search-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.search-results-count {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-weight: 500;
}

.search-actions button {
  padding: 6px 14px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.search-actions button:hover { background: #242424; background: var(--gray1); border-color: #ff6b35; border-color: var(--orange); color: #ff6b35; color: var(--orange); }

.batch-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255,107,53,0.06);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  animation: slideDown 0.2s ease;
}

.batch-info {
  font-size: 13px;
  font-weight: 600;
  color: #ff6b35;
  color: var(--orange);
}

.batch-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-batch-ban {
  padding: 8px 16px;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ef4444;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-batch-ban:hover:not(:disabled) { background: rgba(239,68,68,0.22); }

.btn-batch-unban {
  padding: 8px 16px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #22c55e;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-batch-unban:hover:not(:disabled) { background: rgba(34,197,94,0.22); }

.btn-batch-ban:disabled,
.btn-batch-unban:disabled { opacity: 0.4; cursor: not-allowed; }

.users-results-list {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  animation: slideDown 0.2s ease;
  max-height: 420px;
  overflow-y: auto;
}

.users-results-list::-webkit-scrollbar { width: 4px; }
.users-results-list::-webkit-scrollbar-track { background: transparent; }
.users-results-list::-webkit-scrollbar-thumb { background: #2e2e2e; background: var(--gray2); border-radius: 4px; }

.results-header {
  padding: 12px 16px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  background: #1a1a1a;
  background: var(--bg3);
}

.no-results {
  padding: 40px 20px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-size: 14px;
}

.user-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  transition: background 0.15s;
}

.user-result-item:last-child { border-bottom: none; }
.user-result-item:hover { background: #1a1a1a; background: var(--bg3); }
.user-result-item.user-banned { opacity: 0.6; }

.user-result-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
  cursor: pointer;
  min-width: 0;
}

.user-result-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  flex-shrink: 0;
}

.user-result-info {
  flex: 1 1;
  min-width: 0;
}

.user-result-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-result-details {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.user-result-details span {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  white-space: nowrap;
}

.user-result-status {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.status-badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.status-cliente  { background: rgba(34,197,94,0.15);  color: #22c55e;  color: var(--green); }
.status-baneado  { background: rgba(239,68,68,0.15);  color: #ef4444;  color: var(--red); }
.status-admin    { background: rgba(255,107,53,0.15); color: #ff6b35; color: var(--orange); }

.banned-icon { font-size: 14px; }

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-weight: 500;
  -webkit-user-select: none;
          user-select: none;
}

.checkbox-container input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #3a3a3a;
  border: 2px solid var(--gray3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  background: #1a1a1a;
  background: var(--bg3);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
  background: #ff6b35;
  background: var(--orange);
  border-color: #ff6b35;
  border-color: var(--orange);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid #ffffff;
  border: 2px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

.editor-user-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.3s ease;
}

.editor-user-header {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.editor-user-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #ff8c42);
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}

.user-header-info {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.user-avatar-large {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  flex-shrink: 0;
  border: 3px solid #2e2e2e;
  border: 3px solid var(--gray2);
  box-shadow: 0 4px 16px rgba(255,107,53,0.2);
  box-shadow: 0 4px 16px var(--orange-glow);
}

.user-header-details h2 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 4px;
}

.user-header-details p {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-family: 'Courier New', monospace;
  margin-bottom: 10px;
}

.user-header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.activity-badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.activity-badge.active   { background: rgba(34,197,94,0.15);  color: #22c55e;  color: var(--green); }
.activity-badge.inactive { background: rgba(239,68,68,0.15);  color: #ef4444;  color: var(--red); }

.user-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-item {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 500;
}

.user-header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn-ban {
  padding: 9px 16px;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ef4444;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ban:hover:not(:disabled) { background: rgba(239,68,68,0.22); }

.btn-unban {
  padding: 9px 16px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #22c55e;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-unban:hover:not(:disabled) { background: rgba(34,197,94,0.22); }

.btn-close {
  padding: 9px 16px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-close:hover { background: #242424; background: var(--gray1); color: #ffffff; color: var(--white); }
.btn-ban:disabled, .btn-unban:disabled { opacity: 0.4; cursor: not-allowed; }

.editor-basic-data {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 24px;
}

.editor-basic-data h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  padding: 11px 14px;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus { outline: none; border-color: #ff6b35; border-color: var(--orange); background: #202020; background: var(--bg4); }
.form-group input::placeholder { color: rgba(255,255,255,0.4); color: var(--w40); }
.form-group select { cursor: pointer; }
.form-group select option { background: #141414; background: var(--bg2); }

.btn-save-changes {
  padding: 12px 28px;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border: none;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(255,107,53,0.2);
  box-shadow: 0 4px 16px var(--orange-glow);
}

.btn-save-changes:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,0.35); }
.btn-save-changes:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.editor-emails-table-section {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}

.emails-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-wrap: wrap;
}

.emails-table-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
}

.emails-batch-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-delete-selected {
  padding: 8px 16px;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ef4444;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-delete-selected:hover:not(:disabled) { background: rgba(239,68,68,0.22); }
.btn-delete-selected:disabled { opacity: 0.4; cursor: not-allowed; }

.emails-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.emails-table-container::-webkit-scrollbar { height: 4px; }
.emails-table-container::-webkit-scrollbar-track { background: transparent; }
.emails-table-container::-webkit-scrollbar-thumb { background: #2e2e2e; background: var(--gray2); border-radius: 4px; }

.emails-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.emails-table thead {
  background: #1a1a1a;
  background: var(--bg3);
  border-bottom: 1px solid #2e2e2e;
  border-bottom: 1px solid var(--gray2);
}

.emails-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.th-checkbox { width: 44px; }
.th-acciones { width: 100px; }

.emails-table tbody tr {
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  transition: background 0.15s;
}

.emails-table tbody tr:last-child { border-bottom: none; }
.emails-table tbody tr:hover { background: #1a1a1a; background: var(--bg3); }

.emails-table td {
  padding: 13px 16px;
  vertical-align: middle;
}

.email-display {
  display: flex;
  align-items: center;
  gap: 8px;
}

.email-text {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  color: var(--w80);
  font-family: 'Courier New', monospace;
  word-break: break-all;
}

.edit-email-input {
  width: 100%;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #ff6b35;
  border: 1px solid var(--orange);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  padding: 8px 12px;
  font-family: 'Courier New', monospace;
}

.edit-email-input:focus { outline: none; }

.plataforma-cell {
  display: flex;
  align-items: center;
  gap: 9px;
}

.plataforma-cell img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 5px;
  background: #1a1a1a;
  background: var(--bg3);
  padding: 2px;
  flex-shrink: 0;
}

.plataforma-nombre {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  color: var(--w80);
}

.fecha-cell {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  white-space: nowrap;
}

.acciones-cell {
  display: flex;
  gap: 6px;
  align-items: center;
}

.btn-table-edit,
.btn-table-delete,
.btn-table-save,
.btn-table-cancel {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.btn-table-edit:hover:not(:disabled)   { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.4); }
.btn-table-delete:hover:not(:disabled) { background: rgba(239,68,68,0.15);  border-color: rgba(239,68,68,0.4); }
.btn-table-save:hover:not(:disabled)   { background: rgba(34,197,94,0.15);  border-color: rgba(34,197,94,0.4); }
.btn-table-cancel:hover                { background: rgba(239,68,68,0.15);  border-color: rgba(239,68,68,0.4); }
.btn-table-edit:disabled,
.btn-table-delete:disabled,
.btn-table-save:disabled               { opacity: 0.4; cursor: not-allowed; }

.no-emails-message {
  padding: 56px 20px;
}

.no-emails-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.no-emails-icon { font-size: 44px; opacity: 0.4; }

.no-emails-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.no-emails-content p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
}

.editor-empty-state {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 64px 20px;
  animation: fadeIn 0.3s ease;
}

.empty-state-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.empty-state-icon { font-size: 52px; opacity: 0.4; }

.empty-state-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.empty-state-content > p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
}

.empty-state-tips {
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  text-align: left;
  width: 100%;
}

.empty-state-tips p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-weight: 600;
  margin-bottom: 10px;
}

.empty-state-tips ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.empty-state-tips ul li {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .editor-user-header { flex-direction: column; }
  .user-header-actions { width: 100%; }
  .batch-actions { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .emails-table-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .user-header-info { flex-direction: column; }
  .user-header-actions { flex-direction: column; }
  .user-header-actions button { width: 100%; justify-content: center; }
  .batch-buttons { width: 100%; }
  .batch-buttons button { flex: 1 1; }
}


.roles-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 0 4px;
}


.roles-header {
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-black-card));
  border: 1px solid var(--admin-border-light);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 0 30px var(--admin-glow-red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.roles-header-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1;
}

.roles-header-content svg {
  color: var(--admin-gold);
  filter: drop-shadow(0 0 10px var(--admin-glow-gold));
  flex-shrink: 0;
}

.roles-header h1 {
  font-family: 'Orbitron', monospace;
  font-size: 24px;
  font-weight: 900;
  color: var(--admin-text);
  margin: 0 0 4px 0;
  letter-spacing: 0.5px;
  text-shadow: 0 0 20px var(--admin-glow-red);
}

.roles-header p {
  font-size: 13px;
  font-weight: 600;
  color: var(--admin-text-secondary);
  margin: 0;
  letter-spacing: 0.3px;
}

.roles-header-actions {
  display: flex;
  gap: 10px;
}

.roles-btn-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--admin-border-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--admin-text);
  position: relative;
}

.roles-btn-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--admin-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--admin-glow-red);
}

.roles-badge-notif {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--admin-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--admin-red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* ========================================
   ESTADÍSTICAS COMPACTAS
   ======================================== */

.roles-stats-compactas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.roles-stat-item {
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1;
  min-width: 150px;
  transition: all 0.3s ease;
}

.roles-stat-item:hover {
  border-color: var(--admin-border);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.roles-stat-item svg {
  color: var(--admin-text-secondary);
  flex-shrink: 0;
}

.roles-stat-item span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--admin-text);
  letter-spacing: 0.3px;
}

/* ========================================
   BUSCADOR SIMPLE
   ======================================== */

.roles-search-box-simple {
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.roles-search-box-simple:focus-within {
  border-color: var(--admin-red);
  box-shadow: 0 0 20px var(--admin-glow-red);
}

.roles-search-box-simple svg {
  color: var(--admin-text-secondary);
  flex-shrink: 0;
}

.roles-search-box-simple input {
  background: transparent;
  border: none;
  color: var(--admin-text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 600;
  flex: 1 1;
  outline: none;
  letter-spacing: 0.3px;
}

.roles-search-box-simple input::placeholder {
  color: var(--admin-text-secondary);
  opacity: 0.6;
}

.roles-btn-clear {
  background: transparent;
  border: none;
  color: var(--admin-text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roles-btn-clear:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--admin-red);
}

/* ========================================
   SECCIONES POR RANGOS
   ======================================== */

.roles-rangos-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.roles-rango-seccion {
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.roles-rango-seccion:hover {
  border-color: var(--admin-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.roles-rango-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-left: 4px solid;
  transition: all 0.3s ease;
}

.roles-rango-info {
  flex: 1 1;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
}

.roles-rango-info h3 {
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 800;
  font-family: 'Orbitron', monospace;
  letter-spacing: 0.5px;
}

.roles-rango-count {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--admin-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.3px;
}

.roles-rango-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.roles-select-masivo {
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-red));
  border: 1px solid var(--admin-red);
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.roles-select-masivo:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--admin-red), var(--admin-red-light));
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.5);
}

.roles-select-masivo:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.roles-btn-toggle {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--admin-border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--admin-text-secondary);
  transition: all 0.3s ease;
}

.roles-btn-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--admin-text);
  border-color: var(--admin-border);
}

/* ========================================
   LISTA DE CLIENTES (EXPANDIBLE)
   ======================================== */

.roles-rango-clientes {
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--admin-border-light);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 3000px;
  }
}

.roles-cliente-item {
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.roles-cliente-item:hover {
  border-color: var(--admin-border);
  transform: translateX(4px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.roles-cliente-info-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1;
  min-width: 0;
}

.roles-avatar-mini {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.roles-datos-mini {
  flex: 1 1;
  min-width: 0;
}

.roles-nombre-mini {
  font-size: 15px;
  font-weight: 800;
  color: var(--admin-text);
  margin-bottom: 4px;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.roles-email-mini {
  font-size: 13px;
  color: var(--admin-text-secondary);
  margin-bottom: 4px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.roles-meta-mini {
  font-size: 12px;
  color: var(--admin-text-secondary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.roles-admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #f44336, #d32f2f);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(244, 67, 54, 0.4);
}

.roles-rol-mini {
  font-weight: 800;
  letter-spacing: 0.3px;
}

.roles-select-mini {
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  color: var(--admin-text);
  padding: 10px 14px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 160px;
  letter-spacing: 0.3px;
}

.roles-select-mini:hover:not(:disabled) {
  border-color: var(--admin-red);
  box-shadow: 0 0 15px var(--admin-glow-red);
}

.roles-select-mini:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========================================
   MODALES
   ======================================== */

.roles-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

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

.roles-modal {
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

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

.roles-modal-grande {
  max-width: 800px;
}

.roles-modal-header {
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-black-card));
  padding: 24px 28px;
  border-bottom: 1px solid var(--admin-border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.roles-modal-header h2 {
  margin: 0;
  font-family: 'Orbitron', monospace;
  font-size: 22px;
  font-weight: 900;
  color: var(--admin-text);
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.5px;
}

.roles-modal-header svg {
  color: var(--admin-gold);
}

.roles-modal-close {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--admin-border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--admin-text);
  transition: all 0.3s ease;
}

.roles-modal-close:hover {
  background: var(--admin-red);
  border-color: var(--admin-red);
  transform: rotate(90deg);
}

.roles-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1 1;
}

.roles-modal-body::-webkit-scrollbar {
  width: 8px;
}

.roles-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.roles-modal-body::-webkit-scrollbar-thumb {
  background: var(--admin-red);
  border-radius: 4px;
}

/* ========================================
   FILTROS EN MODAL
   ======================================== */

.roles-filter-group {
  margin-bottom: 28px;
}

.roles-filter-group h3 {
  margin: 0 0 14px 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--admin-text);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.roles-filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.roles-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--admin-border-light);
  color: var(--admin-text);
  padding: 10px 18px;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.roles-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.roles-chip.active {
  background: var(--admin-red);
  border-color: var(--admin-red);
  color: white;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.roles-btn-reset-filtros {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--admin-border-light);
  color: var(--admin-text);
  padding: 14px;
  border-radius: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 10px;
}

.roles-btn-reset-filtros:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--admin-border);
}

/* ========================================
   GESTIÓN DE ROLES EN MODAL
   ======================================== */

.roles-grid-modal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 14px;
  gap: 14px;
  margin-bottom: 28px;
}

.roles-card-modal {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--admin-border-light);
  border-radius: 12px;
  padding: 16px;
  border-left: 4px solid;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.roles-card-modal:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.roles-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
}

.roles-card-emoji {
  font-size: 28px;
  line-height: 1;
}

.roles-card-header h4 {
  margin: 0 0 4px 0;
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.roles-card-header p {
  margin: 0;
  font-size: 12px;
  color: var(--admin-text-secondary);
  font-weight: 600;
}

.roles-btn-delete {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--admin-border-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--admin-text-secondary);
  transition: all 0.3s ease;
}

.roles-btn-delete:hover:not(:disabled) {
  background: var(--admin-red);
  border-color: var(--admin-red);
  color: white;
  transform: scale(1.1);
}

.roles-btn-delete:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ========================================
   CREAR ROL
   ======================================== */

.roles-crear-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--admin-border-light);
  border-radius: 12px;
  padding: 24px;
}

.roles-crear-section h3 {
  margin: 0 0 20px 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--admin-text);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.roles-form-group {
  margin-bottom: 18px;
}

.roles-form-group label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--admin-text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.roles-input {
  width: 100%;
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  color: var(--admin-text);
  padding: 12px 16px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.roles-input:focus {
  outline: none;
  border-color: var(--admin-red);
  box-shadow: 0 0 15px var(--admin-glow-red);
}

.roles-color-input {
  display: flex;
  align-items: center;
  gap: 12px;
}

.roles-color-input input[type="color"] {
  width: 60px;
  height: 44px;
  border: 1px solid var(--admin-border-light);
  border-radius: 10px;
  cursor: pointer;
  background: transparent;
}

.roles-color-preview {
  flex: 1 1;
  padding: 12px 16px;
  border-radius: 10px;
  color: white;
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.roles-btn-crear {
  width: 100%;
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-red));
  border: 1px solid var(--admin-red);
  color: white;
  padding: 14px;
  border-radius: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.roles-btn-crear:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--admin-red), var(--admin-red-light));
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(220, 53, 69, 0.5);
}

.roles-btn-crear:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ========================================
   ESTADO VACÍO
   ======================================== */

.roles-empty-state {
  background: var(--admin-black-card);
  border: 1px dashed var(--admin-border-light);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
}

.roles-empty-state svg {
  color: var(--admin-text-secondary);
  opacity: 0.4;
  margin-bottom: 16px;
}

.roles-empty-state h3 {
  font-family: 'Orbitron', monospace;
  font-size: 18px;
  font-weight: 800;
  color: var(--admin-text);
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
}

.roles-empty-state p {
  font-size: 14px;
  color: var(--admin-text-secondary);
  margin: 0;
  font-weight: 600;
}

/* ========================================
   LOADING
   ======================================== */

.roles-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 20px;
}

.roles-loading p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--admin-text-secondary);
  letter-spacing: 0.5px;
}

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

@media (max-width: 768px) {
  .roles-header {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .roles-header-content {
    flex-direction: column;
  }

  .roles-stats-compactas {
    flex-direction: column;
  }

  .roles-rango-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .roles-rango-actions {
    flex-direction: column;
  }

  .roles-select-masivo {
    width: 100%;
  }

  .roles-cliente-item {
    flex-direction: column;
    align-items: stretch;
  }

  .roles-select-mini {
    width: 100%;
  }

  .roles-modal {
    max-width: 100%;
    max-height: 95vh;
  }

  .roles-grid-modal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .roles-header h1 {
    font-size: 20px;
  }

  .roles-modal-header {
    padding: 18px;
  }

  .roles-modal-body {
    padding: 18px;
  }

  .roles-filter-chips {
    flex-direction: column;
  }

  .roles-chip {
    width: 100%;
    text-align: center;
  }
}


/* ========================================
   SELECT - DROPDOWN OSCURO
   ======================================== */

.roles-select-masivo {
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-red));
  border: 1px solid var(--admin-red);
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.roles-select-masivo:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--admin-red), var(--admin-red-light));
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.5);
}

.roles-select-masivo:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ✅ FORZAR FONDO OSCURO EN LAS OPCIONES */
.roles-select-masivo option {
  background: #1a1a1a;
  color: white;
  padding: 10px;
}

.roles-select-mini {
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  color: var(--admin-text);
  padding: 10px 14px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 160px;
  letter-spacing: 0.3px;
}

.roles-select-mini:hover:not(:disabled) {
  border-color: var(--admin-red);
  box-shadow: 0 0 15px var(--admin-glow-red);
}

.roles-select-mini:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ✅ FORZAR FONDO OSCURO EN LAS OPCIONES */
.roles-select-mini option {
  background: #1a1a1a;
  color: white;
  padding: 10px;
}

/* Para todos los selects de roles */
.roles-select {
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  color: var(--admin-text);
  padding: 10px 14px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.roles-select:hover:not(:disabled) {
  border-color: var(--admin-red);
  box-shadow: 0 0 15px var(--admin-glow-red);
}

/* ✅ FORZAR FONDO OSCURO EN LAS OPCIONES */
.roles-select option {
  background: #1a1a1a;
  color: white;
  padding: 10px;
}

.roles-select-tipo {
  min-width: 180px;
}

/* ========================================
   FORZAR ESTILOS OSCUROS EN SELECTS
   ======================================== */

select.roles-select-masivo,
select.roles-select-mini,
select.roles-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 12 12%27%3E%3Cpath fill=%27white%27 d=%27M6 9L1 4h10z%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Fondo oscuro para TODOS los option */
select option {
  background-color: #1a1a1a !important;
  color: white !important;
}

/* Firefox específico */
@-moz-document url-prefix() {
  select option {
    background-color: #1a1a1a;
    color: white;
  }
}

:root {
  --orange: #ff6b35;
  --orange-light: #ff8c42;
  --orange-dark: #e85d2a;
  --orange-glow: rgba(255,107,53,0.2);
  --bg: #0a0a0a;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --bg4: #202020;
  --gray1: #242424;
  --gray2: #2e2e2e;
  --gray3: #3a3a3a;
  --white: #ffffff;
  --w80: rgba(255,255,255,0.8);
  --w60: rgba(255,255,255,0.6);
  --w40: rgba(255,255,255,0.4);
  --w20: rgba(255,255,255,0.12);
  --green: #22c55e;
  --red: #ef4444;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
}

@keyframes fadeIn { from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);} }
@keyframes spin { to{transform:rotate(360deg);} }

.pc-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.3s ease;
}

.pc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pc-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pc-header-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255,107,53,0.2);
  box-shadow: 0 4px 14px var(--orange-glow);
}

.pc-header-left h1 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1;
}

.pc-header-left p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  line-height: 1;
}

.pc-badge-pendiente {
  padding: 7px 14px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
  white-space: nowrap;
  animation: fadeIn 0.2s ease;
}

.pc-section {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 20px 22px;
}

.pc-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.pc-label-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 3px;
  background: #1a1a1a;
  background: var(--bg3);
  padding: 1px;
}

.pc-plataformas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.pc-plataforma-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px 12px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  overflow: hidden;
}

.pc-plataforma-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #ff6b35;
  background: var(--plat-color, var(--orange));
  opacity: 0;
  transition: opacity 0.2s;
}

.pc-plataforma-card:hover {
  background: #202020;
  background: var(--bg4);
  border-color: #3a3a3a;
  border-color: var(--gray3);
  transform: translateY(-2px);
}

.pc-plataforma-card:hover::before { opacity: 0.6; }

.pc-plataforma-card.active {
  background: #202020;
  background: var(--bg4);
  border-color: #ff6b35;
  border-color: var(--plat-color, var(--orange));
  box-shadow: 0 0 0 1px #ff6b35, 0 4px 20px rgba(0,0,0,0.3);
  box-shadow: 0 0 0 1px var(--plat-color, var(--orange)), 0 4px 20px rgba(0,0,0,0.3);
}

.pc-plataforma-card.active::before { opacity: 1; }

.pc-plataforma-logo-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141414;
  background: var(--bg2);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  padding: 4px;
  flex-shrink: 0;
}

.pc-plataforma-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pc-plataforma-nombre {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  text-align: center;
  line-height: 1.2;
  word-break: break-word;
}

.pc-plataforma-card.active .pc-plataforma-nombre { color: #ffffff; color: var(--white); }

.pc-plataforma-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b35;
  background: var(--plat-color, var(--orange));
  box-shadow: 0 0 6px #ff6b35;
  box-shadow: 0 0 6px var(--plat-color, var(--orange));
}

.pc-tabs-ruta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pc-tab-ruta {
  padding: 8px 16px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-size: 12px;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.pc-tab-ruta:hover {
  background: #202020;
  background: var(--bg4);
  border-color: #3a3a3a;
  border-color: var(--gray3);
  color: #ffffff;
  color: var(--white);
}

.pc-tab-ruta.active {
  background: rgba(255,107,53,0.1);
  border-color: rgba(255,107,53,0.4);
  color: #ff6b35;
  color: var(--orange);
}

.pc-table-container {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}

.pc-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-wrap: wrap;
}

.pc-table-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pc-table-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
  background: #1a1a1a;
  background: var(--bg3);
  padding: 2px;
  flex-shrink: 0;
}

.pc-table-plat-name {
  font-size: 14px;
  font-weight: 700;
}

.pc-table-arrow {
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-size: 14px;
}

.pc-table-ruta-badge {
  padding: 3px 10px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-family: 'Courier New', monospace;
  color: #ff6b35;
  color: var(--orange);
}

.pc-count {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-weight: 500;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #242424;
  border: 1px solid var(--gray1);
  padding: 3px 10px;
  border-radius: 100px;
}

.pc-btn-agregar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ff6b35;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.pc-btn-agregar:hover {
  background: rgba(255,107,53,0.2);
  border-color: #ff6b35;
  border-color: var(--orange);
}

.pc-row-header {
  background: #1a1a1a !important;
  background: var(--bg3) !important;
  border-bottom: 1px solid #2e2e2e !important;
  border-bottom: 1px solid var(--gray2) !important;
}

.pc-row-header span {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pc-row {
  display: grid;
  grid-template-columns: 140px 1fr 2fr 44px;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  padding: 12px 22px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  transition: background 0.15s;
}

.pc-row:last-child { border-bottom: none; }
.pc-row:not(.pc-row-header):hover { background: #1a1a1a; background: var(--bg3); }

.pc-input {
  width: 100%;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  padding: 9px 12px;
  transition: border-color 0.2s;
}

.pc-input:focus { outline: none; border-color: #ff6b35; border-color: var(--orange); background: #202020; background: var(--bg4); }
.pc-input::placeholder { color: rgba(255,255,255,0.4); color: var(--w40); font-size: 12px; }

.pc-input-asunto { font-size: 12px; }

.pc-btn-delete {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  color: #ef4444;
  color: var(--red);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  opacity: 0.6;
}

.pc-btn-delete:hover {
  background: rgba(239,68,68,0.18);
  border-color: #ef4444;
  border-color: var(--red);
  opacity: 1;
}

.pc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 60px 20px;
  text-align: center;
}

.pc-empty-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  background: #1a1a1a;
  background: var(--bg3);
  padding: 6px;
  opacity: 0.5;
}

.pc-empty h3 {
  font-size: 17px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.pc-empty p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-family: 'Courier New', monospace;
}

.pc-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 16px 22px;
  border-top: 1px solid #242424;
  border-top: 1px solid var(--gray1);
  background: #1a1a1a;
  background: var(--bg3);
  flex-wrap: wrap;
}

.pc-mensaje {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  animation: fadeIn 0.2s ease;
  flex: 1 1;
}

.pc-mensaje.success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: #22c55e;
  color: var(--green);
}

.pc-mensaje.error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: #ef4444;
  color: var(--red);
}

.pc-btn-guardar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border: none;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(255,107,53,0.2);
  box-shadow: 0 4px 14px var(--orange-glow);
  white-space: nowrap;
  flex-shrink: 0;
}

.pc-btn-guardar:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255,107,53,0.35);
}

.pc-btn-guardar:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .pc-plataformas-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }

  .pc-row {
    grid-template-columns: 1fr 44px;
    grid-template-rows: auto auto auto;
    gap: 8px;
    padding: 14px 16px;
  }

  .pc-row .pc-input:nth-child(3) { grid-column: 1; }
  .pc-row .pc-btn-delete { grid-row: 1; grid-column: 2; }

  .pc-table-header { padding: 14px 16px; }
  .pc-actions { padding: 14px 16px; }
  .pc-row:not(.pc-row-header) { display: flex; flex-direction: column; align-items: stretch; }
  .pc-row-header { display: none; }
  .pc-btn-delete { align-self: flex-end; width: 34px; }
}

@media (max-width: 480px) {
  .pc-plataformas-grid { grid-template-columns: repeat(3, 1fr); }
  .pc-tabs-ruta { gap: 6px; }
  .pc-tab-ruta { padding: 7px 12px; font-size: 11px; }
}
.cgv-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0f;
  position: relative;
  overflow: hidden;
}
.cgv-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cgv-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: cgv-float 6s ease-in-out infinite;
}
.cgv-orb-1 {
  width: 400px; height: 400px;
  background: #6c63ff;
  top: -100px; left: -100px;
}
.cgv-orb-2 {
  width: 350px; height: 350px;
  background: #ff6584;
  bottom: -80px; right: -80px;
  animation-delay: 3s;
}
@keyframes cgv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}
.cgv-content {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 2rem;
}
.cgv-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: cgv-bounce 2s ease-in-out infinite;
}
@keyframes cgv-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.cgv-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cgv-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 0 0 2rem;
}
.cgv-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.cgv-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #a78bfa;
  animation: cgv-pulse 1.2s ease-in-out infinite;
}
.cgv-dots span:nth-child(2) { animation-delay: 0.2s; }
.cgv-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes cgv-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.cgv-page {
  min-height: 100vh;
  background: #0a0a0f;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

.cgv-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cgv-bg-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #8b0000 0%, transparent 70%);
  top: -150px; left: -150px;
  opacity: 0.4;
}
.cgv-bg-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #8b0000 0%, transparent 70%);
  bottom: -100px; right: -100px;
  opacity: 0.3;
}

.cgv-back-btn {
  align-self: flex-start;
  margin-left: calc(50% - 280px);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  transition: all 0.2s;
  position: relative;
  z-index: 1;
}
.cgv-back-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.cgv-header-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.cgv-header-logo {
  width: 52px; height: 52px;
  border-radius: 12px;
  object-fit: contain;
  background: #111;
  border: 1px solid rgba(229,9,20,0.4);
  padding: 4px;
}
.cgv-header-info h2 {
  color: #e50914;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 2px;
}
.cgv-header-info p {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  margin: 0;
}

.cgv-main-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.cgv-main-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 4px;
}
.cgv-main-subtitle {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  text-align: center;
  margin: 0 0 1.8rem;
}

.cgv-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 1.8rem;
}
.cgv-tab {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}
.cgv-tab:hover {
  background: rgba(229,9,20,0.1);
  border-color: rgba(229,9,20,0.3);
  color: #fff;
}
.cgv-tab.active {
  background: rgba(229,9,20,0.15);
  border-color: #e50914;
  color: #fff;
}
.cgv-tab-icon { font-size: 1.1rem; }

.cgv-label {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cgv-input-wrapper {
  position: relative;
  margin-bottom: 6px;
}
.cgv-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0.5;
}
.cgv-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(229,9,20,0.4);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  padding: 13px 14px 13px 40px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.cgv-input::placeholder { color: rgba(255,255,255,0.3); }
.cgv-input:focus { border-color: #e50914; }
.cgv-input:disabled { opacity: 0.5; }

.cgv-input-hint {
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
  margin: 5px 0 1.5rem;
}

.cgv-btn {
  width: 100%;
  background: #e50914;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.1s;
  text-transform: uppercase;
}
.cgv-btn:hover:not(:disabled) { background: #c4070f; }
.cgv-btn:active:not(:disabled) { transform: scale(0.98); }
.cgv-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.cgv-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cgv-spin 0.7s linear infinite;
}
@keyframes cgv-spin {
  to { transform: rotate(360deg); }
}

.cgv-error {
  margin-top: 1rem;
  background: rgba(229,9,20,0.1);
  border: 1px solid rgba(229,9,20,0.3);
  border-radius: 10px;
  padding: 12px 14px;
  color: #ff6b6b;
  font-size: 0.87rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cgv-result {
  margin-top: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.2rem;
}
.cgv-result-title {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.cgv-result-link-box {
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  word-break: break-all;
  margin-bottom: 10px;
}
.cgv-result-actions {
  display: flex;
  gap: 8px;
}
.cgv-result-btn {
  flex: 1 1;
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.2s;
}
.cgv-result-btn:hover { opacity: 0.85; }
.cgv-result-btn-open {
  background: #e50914;
  color: #fff;
}
.cgv-result-btn-copy {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.cgv-result-badge {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.cgv-footer-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .cgv-back-btn { margin-left: 0; }
  .cgv-main-card { padding: 1.5rem 1.2rem; }
}

.cgv-page {
  min-height: 100vh;
  background: #0a0a0f;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

.cgv-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cgv-bg-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #8b0000 0%, transparent 70%);
  top: -150px; left: -150px;
  opacity: 0.4;
}
.cgv-bg-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #8b0000 0%, transparent 70%);
  bottom: -100px; right: -100px;
  opacity: 0.3;
}

.cgv-back-btn {
  align-self: flex-start;
  margin-left: calc(50% - 280px);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  transition: all 0.2s;
  position: relative;
  z-index: 1;
}
.cgv-back-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.cgv-header-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.cgv-header-logo {
  width: 52px; height: 52px;
  border-radius: 12px;
  object-fit: contain;
  background: #111;
  border: 1px solid rgba(229,9,20,0.4);
  padding: 4px;
}
.cgv-header-info h2 {
  color: #e50914;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 2px;
}
.cgv-header-info p {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  margin: 0;
}

.cgv-main-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.cgv-main-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 4px;
}
.cgv-main-subtitle {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  text-align: center;
  margin: 0 0 1.8rem;
}

.cgv-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 1.8rem;
}
.cgv-tab {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}
.cgv-tab:hover {
  background: rgba(229,9,20,0.1);
  border-color: rgba(229,9,20,0.3);
  color: #fff;
}
.cgv-tab.active {
  background: rgba(229,9,20,0.15);
  border-color: #e50914;
  color: #fff;
}
.cgv-tab-icon { font-size: 1.1rem; }

.cgv-label {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cgv-input-wrapper {
  position: relative;
  margin-bottom: 6px;
}
.cgv-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0.5;
}
.cgv-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(229,9,20,0.4);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  padding: 13px 14px 13px 40px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.cgv-input::placeholder { color: rgba(255,255,255,0.3); }
.cgv-input:focus { border-color: #e50914; }
.cgv-input:disabled { opacity: 0.5; }

.cgv-input-hint {
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
  margin: 5px 0 1.5rem;
}

.cgv-btn {
  width: 100%;
  background: #e50914;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.1s;
  text-transform: uppercase;
}
.cgv-btn:hover:not(:disabled) { background: #c4070f; }
.cgv-btn:active:not(:disabled) { transform: scale(0.98); }
.cgv-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.cgv-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cgv-spin 0.7s linear infinite;
}
@keyframes cgv-spin {
  to { transform: rotate(360deg); }
}

.cgv-error {
  margin-top: 1rem;
  background: rgba(229,9,20,0.1);
  border: 1px solid rgba(229,9,20,0.3);
  border-radius: 10px;
  padding: 12px 14px;
  color: #ff6b6b;
  font-size: 0.87rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cgv-result {
  margin-top: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.2rem;
}
.cgv-result-title {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.cgv-result-link-box {
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  word-break: break-all;
  margin-bottom: 10px;
}
.cgv-result-actions {
  display: flex;
  gap: 8px;
}
.cgv-result-btn {
  flex: 1 1;
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.2s;
}
.cgv-result-btn:hover { opacity: 0.85; }
.cgv-result-btn-open {
  background: #e50914;
  color: #fff;
}
.cgv-result-btn-copy {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.cgv-result-badge {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.cgv-footer-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .cgv-back-btn { margin-left: 0; }
  .cgv-main-card { padding: 1.5rem 1.2rem; }
}
:root {
  --orange: #ff6b35;
  --orange-light: #ff8c42;
  --orange-dark: #e85d2a;
  --orange-glow: rgba(255,107,53,0.3);
  --bg: #0a0a0a;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --gray1: #242424;
  --gray2: #2e2e2e;
  --white: #ffffff;
  --w80: rgba(255,255,255,0.8);
  --w60: rgba(255,255,255,0.6);
  --w40: rgba(255,255,255,0.4);
  --w20: rgba(255,255,255,0.15);
  --radius: 12px;
  --radius-sm: 8px;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #0a0a0a;
  background: var(--bg);
  overflow-x: hidden;
}

@keyframes float {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-16px); }
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.6; transform:scale(0.97); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes spinReverse {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}
@keyframes particles {
  0%   { transform: translateY(100vh) scale(0); opacity:0; }
  10%  { opacity:1; }
  90%  { opacity:1; }
  100% { transform: translateY(-100vh) scale(1); opacity:0; }
}
@keyframes dotPulse {
  0%,100% { transform:scale(0.8); opacity:0.5; }
  50%      { transform:scale(1.2); opacity:1; }
}
@keyframes progressShine {
  0%   { left:-100%; }
  100% { left:200%; }
}
@keyframes fadeIn {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes scaleIn {
  from { opacity:0; transform:scale(0.92); }
  to   { opacity:1; transform:scale(1); }
}
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 20px rgba(255,107,53,0.3), 0 0 40px rgba(255,107,53,0.3); box-shadow: 0 0 20px var(--orange-glow), 0 0 40px var(--orange-glow); }
  50%      { box-shadow: 0 0 40px #ff6b35, 0 0 80px rgba(255,107,53,0.3); box-shadow: 0 0 40px var(--orange), 0 0 80px var(--orange-glow); }
}

.app-loading-screen {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.app-loading-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.app-loading-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,107,53,0.08) 0%, transparent 65%);
  animation: pulse 5s ease-in-out infinite;
}

.app-loading-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.app-loading-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #ff6b35;
  background: var(--orange);
  border-radius: 50%;
  animation: particles linear infinite;
  box-shadow: 0 0 8px rgba(255,107,53,0.3);
  box-shadow: 0 0 8px var(--orange-glow);
}

.app-loading-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 520px;
  padding: 40px 24px;
}

.app-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  animation: fadeIn 0.8s ease-out;
}

.app-loading-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.app-loading-logo-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3.5s ease-in-out infinite;
}

.app-loading-logo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid #ff6b35;
  border: 2px solid var(--orange);
  animation: spin 3s linear infinite;
  opacity: 0.8;
}

.app-loading-logo-ring::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid #ff8c42;
  border: 1.5px solid var(--orange-light);
  animation: spinReverse 5s linear infinite;
  opacity: 0.4;
}

.app-loading-logo {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  object-fit: cover;
  border: 3px solid #ff6b35;
  border: 3px solid var(--orange);
  box-shadow: 0 0 28px rgba(255,107,53,0.3);
  box-shadow: 0 0 28px var(--orange-glow);
  display: block;
  position: relative;
  z-index: 1;
}

.app-loading-logo-fallback {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: none;
  align-items: center;
  justify-content: center;
  border: 3px solid #ff6b35;
  border: 3px solid var(--orange);
  box-shadow: 0 0 28px rgba(255,107,53,0.3);
  box-shadow: 0 0 28px var(--orange-glow);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.app-loading-logo-letter {
  font-size: 46px;
  font-weight: 900;
  color: #ffffff;
  color: var(--white);
}

.app-loading-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-loading-title {
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
  color: var(--white);
  letter-spacing: -0.5px;
}

.app-loading-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-weight: 500;
}

.app-loading-progress-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.app-loading-spinner {
  position: relative;
  width: 64px;
  height: 64px;
}

.app-loading-spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
}

.app-loading-spinner-ring:nth-child(1) {
  border-top-color: #ff6b35;
  border-top-color: var(--orange);
  animation: spin 1s linear infinite;
}

.app-loading-spinner-ring:nth-child(2) {
  inset: 8px;
  border-right-color: #ff8c42;
  border-right-color: var(--orange-light);
  animation: spin 1.5s linear infinite reverse;
}

.app-loading-spinner-ring:nth-child(3) {
  inset: 16px;
  border-bottom-color: #e85d2a;
  border-bottom-color: var(--orange-dark);
  animation: spin 2s linear infinite;
}

.app-loading-message {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  color: var(--w80);
  animation: pulse 2s ease-in-out infinite;
}

.app-loading-bar-container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-loading-bar {
  flex: 1 1;
  height: 10px;
  background: #242424;
  background: var(--gray1);
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
}

.app-loading-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b35, #ff8c42);
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 100px;
  transition: width 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(255,107,53,0.3);
  box-shadow: 0 0 12px var(--orange-glow);
}

.app-loading-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: progressShine 2s ease-in-out infinite;
}

.app-loading-percentage {
  font-size: 18px;
  font-weight: 800;
  color: #ff6b35;
  color: var(--orange);
  min-width: 46px;
  text-align: right;
  font-family: 'Courier New', monospace;
}

.app-loading-dots {
  display: flex;
  gap: 10px;
}

.app-loading-dot {
  width: 10px;
  height: 10px;
  background: #ff6b35;
  background: var(--orange);
  border-radius: 50%;
  animation: dotPulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(255,107,53,0.3);
  box-shadow: 0 0 8px var(--orange-glow);
}

.app-loading-dot:nth-child(2) { animation-delay: 0.2s; }
.app-loading-dot:nth-child(3) { animation-delay: 0.4s; }

.app-banned-screen {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.app-banned-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.app-banned-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(239,68,68,0.06) 0%, transparent 60%);
}

.app-banned-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 520px;
}

.app-banned-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeIn 0.5s ease-out;
}

.app-banned-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 32px 20px 24px;
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
}

.app-banned-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-banned-icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(239,68,68,0.4);
  animation: glowPulse 3s ease-in-out infinite;
}

.app-banned-icon {
  font-size: 44px;
  position: relative;
  z-index: 1;
}

.app-banned-title {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  color: var(--white);
  letter-spacing: -0.3px;
}

.app-banned-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.app-banned-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-banned-card {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s;
}

.app-banned-card:hover { border-color: #2e2e2e; border-color: var(--gray2); }

.app-banned-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.app-banned-card-icon { font-size: 18px; }

.app-banned-card-header h3 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
}

.app-banned-user-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-banned-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.app-banned-detail-label {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.app-banned-detail-value {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  color: var(--w80);
  font-weight: 500;
  word-break: break-all;
  text-align: right;
}

.app-banned-status {
  font-size: 11px;
  font-weight: 800;
  color: #ef4444;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.25);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 1px;
}

.app-banned-reasons {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.app-banned-reasons li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  line-height: 1.5;
}

.app-banned-bullet {
  color: #ff6b35;
  color: var(--orange);
  font-weight: 900;
  flex-shrink: 0;
}

.app-banned-contact-text {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  margin-bottom: 14px;
  line-height: 1.5;
}

.app-banned-contact-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.app-banned-contact-btn {
  flex: 1 1;
  min-width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.app-banned-whatsapp {
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.3);
  color: #25d366;
}

.app-banned-whatsapp:hover {
  background: rgba(37,211,102,0.22);
  border-color: #25d366;
  transform: translateY(-2px);
}

.app-banned-telegram {
  background: rgba(40,168,234,0.12);
  border: 1px solid rgba(40,168,234,0.3);
  color: #28a8ea;
}

.app-banned-telegram:hover {
  background: rgba(40,168,234,0.22);
  border-color: #28a8ea;
  transform: translateY(-2px);
}

.app-banned-actions {
  margin-top: 4px;
}

.app-banned-logout-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border: none;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
  box-shadow: 0 6px 20px rgba(255,107,53,0.3);
  box-shadow: 0 6px 20px var(--orange-glow);
}

.app-banned-logout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,107,53,0.4);
}

.app-banned-logout-icon { font-size: 18px; }

.app-banned-footer {
  text-align: center;
  padding-top: 4px;
}

.app-banned-footer-brand {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  margin-bottom: 5px;
}

.app-banned-footer-help {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
}

@media (max-width: 480px) {
  .app-loading-container { padding: 20px 16px; }
  .app-loading-title     { font-size: 24px; }
  .app-loading-bar-container { flex-direction: column; gap: 10px; }
  .app-loading-percentage    { text-align: center; }
  .app-banned-contact-options { flex-direction: column; }
  .app-banned-screen { padding: 16px; }
}
