@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);
@import url(https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700;800&family=Orbitron:wght@400;600;700;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700;800&family=Orbitron:wght@400;600;700;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700;800&family=Orbitron:wght@400;600;700;900&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;
}

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

:root {
  --ob-black: #0a0a0a;
  --ob-dark: #111111;
  --ob-card: #161616;
  --ob-border: rgba(255,255,255,0.07);
  --ob-green: #1a6b3a;
  --ob-green-light: #22c55e;
  --ob-green-glow: rgba(34,197,94,0.15);
  --ob-cream: #e8e0cc;
  --ob-cream-dim: rgba(232,224,204,0.7);
  --ob-text: #f0ece3;
  --ob-muted: rgba(240,236,227,0.45);
  --ob-radius: 14px;
  --ob-radius-sm: 8px;
  --ob-transition: 0.22s ease;
}

body {
  background: #0a0a0a;
  background: var(--ob-black);
  color: #f0ece3;
  color: var(--ob-text);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

.registro-container {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

.registro-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.registro-bg-gradient {
  position: absolute;
  inset: 0;
  background-image: url(/static/media/BANNER.309c12b13801654c600c.png); /* misma ruta que Inicio.css */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.registro-bg-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.registro-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.018) 59px, rgba(255,255,255,0.018) 60px),
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.018) 59px, rgba(255,255,255,0.018) 60px);
}

.registro-bg-orbs {
  position: absolute;
  inset: 0;
}

.registro-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: orbFloat 12s ease-in-out infinite;
}

.registro-orb-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #1a6b3a, transparent 70%);
  top: -80px;
  left: -60px;
  animation-delay: 0s;
}

.registro-orb-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #0d3d21, transparent 70%);
  bottom: 5%;
  right: 5%;
  animation-delay: -4s;
}

.registro-orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #22c55e, transparent 70%);
  top: 55%;
  left: 40%;
  opacity: 0.08;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.04); }
  66% { transform: translate(-15px, 20px) scale(0.97); }
}

.registro-content {
  position: relative;
  z-index: 1;
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.registro-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  grid-gap: 60px;
  gap: 60px;
  width: 100%;
  max-width: 1100px;
  align-items: start;
}

.registro-welcome {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: -webkit-sticky;
  position: sticky;
  top: 40px;
}

.registro-brand-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.registro-logo-container {
  position: relative;
  flex-shrink: 0;
}

.registro-brand-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #1a6b3a;
  border: 2px solid var(--ob-green);
  display: block;
}

.registro-brand-logo-fallback {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #1a6b3a;
  background: var(--ob-green);
  color: #e8e0cc;
  color: var(--ob-cream);
  align-items: center;
  justify-content: center;
}

.registro-logo-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(34,197,94,0.3);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.08); opacity: 0.1; }
}

.registro-brand-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e8e0cc;
  color: var(--ob-cream);
  line-height: 1.15;
}

.registro-brand-subtitle {
  font-size: 13px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  margin-top: 4px;
}

.registro-platforms-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  margin-bottom: 14px;
}

.registro-platforms-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.registro-platform-item {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  transition: 0.22s ease;
  transition: var(--ob-transition);
}

.registro-platform-item:hover {
  border-color: rgba(34,197,94,0.35);
  background: rgba(34,197,94,0.06);
}

.registro-platform-item img {
  height: 20px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.85) saturate(0.7);
  transition: 0.22s ease;
  transition: var(--ob-transition);
}

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

.registro-platform-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #22c55e;
  background: var(--ob-green-light);
  color: #0a0a0a;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.registro-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.registro-feature {
  display: flex;
  align-items: center;
  gap: 14px;
}

.registro-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  background: rgba(26,107,58,0.2);
  border: 1px solid rgba(26,107,58,0.35);
  color: #22c55e;
  color: var(--ob-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.registro-feature-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: #f0ece3;
  color: var(--ob-text);
  margin-bottom: 2px;
}

.registro-feature-content p {
  font-size: 13px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
}

.registro-trust {
  display: flex;
  gap: 24px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid var(--ob-border);
}

.registro-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #22c55e;
  color: var(--ob-green-light);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.registro-card {
  background: #161616;
  background: var(--ob-card);
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.registro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1a6b3a, #22c55e, #1a6b3a, transparent);
  background: linear-gradient(90deg, transparent, var(--ob-green), var(--ob-green-light), var(--ob-green), transparent);
}

.registro-mobile-header {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
  gap: 8px;
}

.registro-mobile-logo-image {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #1a6b3a;
  border: 2px solid var(--ob-green);
}

.registro-mobile-logo-fallback {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1a6b3a;
  background: var(--ob-green);
  color: #e8e0cc;
  color: var(--ob-cream);
  align-items: center;
  justify-content: center;
}

.registro-mobile-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e8e0cc;
  color: var(--ob-cream);
}

.registro-mobile-subtitle {
  font-size: 12px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
}

.registro-card-header {
  margin-bottom: 24px;
}

.registro-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #f0ece3;
  color: var(--ob-text);
  margin-bottom: 6px;
}

.registro-card-description {
  font-size: 13px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
}

.registro-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.registro-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.registro-field-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(232,224,204,0.7);
  color: var(--ob-cream-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.registro-field-hint {
  font-size: 11px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  padding-left: 2px;
}

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

.registro-field-icon-left {
  position: absolute;
  left: 14px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  display: flex;
  pointer-events: none;
  z-index: 1;
}

.registro-field-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  padding: 12px 14px 12px 44px;
  color: #f0ece3;
  color: var(--ob-text);
  font-size: 14px;
  transition: 0.22s ease;
  transition: var(--ob-transition);
  outline: none;
  -webkit-appearance: none;
}

.registro-field-input::placeholder {
  color: rgba(240,236,227,0.22);
}

.registro-field-input:focus {
  border-color: rgba(34,197,94,0.5);
  background: rgba(34,197,94,0.05);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.08);
}

.registro-field-input.error {
  border-color: rgba(239,68,68,0.5);
  background: rgba(239,68,68,0.04);
}

.registro-field-input:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.registro-field-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  display: flex;
  padding: 4px;
  transition: color 0.22s ease;
  transition: color var(--ob-transition);
}

.registro-field-toggle:hover {
  color: #f0ece3;
  color: var(--ob-text);
}

.registro-field-phone {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.registro-field-phone .registro-field-wrapper {
  flex: 1 1;
}

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

.registro-phone-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  padding: 12px 10px;
  color: #f0ece3;
  color: var(--ob-text);
  cursor: pointer;
  font-size: 13px;
  transition: 0.22s ease;
  transition: var(--ob-transition);
  white-space: nowrap;
  height: 46px;
}

.registro-phone-toggle:hover {
  border-color: rgba(34,197,94,0.35);
  background: rgba(34,197,94,0.05);
}

.registro-phone-flag {
  font-size: 16px;
}

.registro-phone-code {
  font-size: 13px;
  font-weight: 600;
  color: rgba(232,224,204,0.7);
  color: var(--ob-cream-dim);
}

.registro-phone-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.registro-phone-dropdown-scroll {
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #1a6b3a transparent;
  scrollbar-color: var(--ob-green) transparent;
}

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

.registro-phone-dropdown-scroll::-webkit-scrollbar-thumb {
  background: #1a6b3a;
  background: var(--ob-green);
  border-radius: 2px;
}

.registro-phone-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: #f0ece3;
  color: var(--ob-text);
  font-size: 13px;
  transition: background 0.22s ease;
  transition: background var(--ob-transition);
  text-align: left;
}

.registro-phone-option:hover {
  background: rgba(34,197,94,0.08);
}

.registro-phone-option.selected {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  color: var(--ob-green-light);
}

.registro-phone-option-flag {
  font-size: 16px;
  flex-shrink: 0;
}

.registro-phone-option-name {
  flex: 1 1;
}

.registro-phone-option-code {
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  font-size: 12px;
}

.registro-phone-input {
  padding-left: 44px;
}

.registro-checkbox {
  margin-top: 4px;
}

.registro-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.registro-checkbox-input {
  display: none;
}

.registro-checkbox-custom {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.07);
  border: 1.5px solid var(--ob-border);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: 0.22s ease;
  transition: var(--ob-transition);
  color: transparent;
}

.registro-checkbox-input:checked + .registro-checkbox-custom {
  background: #1a6b3a;
  background: var(--ob-green);
  border-color: #1a6b3a;
  border-color: var(--ob-green);
  color: #fff;
}

.registro-checkbox-text {
  font-size: 13px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  line-height: 1.5;
}

.registro-link {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: #22c55e;
  color: var(--ob-green-light);
  padding: 0;
  transition: opacity 0.22s ease;
  transition: opacity var(--ob-transition);
}

.registro-link:hover {
  opacity: 0.75;
}

.registro-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  font-size: 13px;
  line-height: 1.5;
}

.registro-alert.error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  color: #fca5a5;
}

.registro-alert.success {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  color: #86efac;
}

.registro-submit {
  width: 100%;
  padding: 14px;
  background: #1a6b3a;
  background: var(--ob-green);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  transition: background var(--ob-transition), transform var(--ob-transition), box-shadow var(--ob-transition);
  margin-top: 4px;
}

.registro-submit:hover:not(:disabled) {
  background: #1d8249;
  box-shadow: 0 4px 20px rgba(34,197,94,0.2);
  transform: translateY(-1px);
}

.registro-submit:active:not(:disabled) {
  transform: translateY(0);
}

.registro-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.registro-submit.loading {
  background: #155a2e;
  pointer-events: none;
}

.registro-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

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

.registro-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
}

.registro-divider span:first-child,
.registro-divider span:last-child {
  flex: 1 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
  background: var(--ob-border);
  display: block;
}

.registro-divider span:nth-child(2) {
  font-size: 12px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  white-space: nowrap;
}

.registro-back {
  width: 100%;
  padding: 13px;
  background: transparent;
  border: 1.5px solid #1a6b3a;
  border: 1.5px solid var(--ob-green);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  color: #22c55e;
  color: var(--ob-green-light);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.03em;
  transition: 0.22s ease;
  transition: var(--ob-transition);
}

.registro-back:hover:not(:disabled) {
  background: rgba(34,197,94,0.08);
  transform: translateY(-1px);
}

.registro-back:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.registro-mobile-platforms {
  display: none;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid var(--ob-border);
  text-align: center;
}

.registro-mobile-platforms-title {
  font-size: 11px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.registro-mobile-platforms-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.registro-mobile-platforms-grid img {
  height: 18px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.6) saturate(0.5);
}

.registro-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid var(--ob-border);
  padding: 18px 24px;
  text-align: center;
}

.registro-footer-brand {
  font-size: 13px;
  font-weight: 700;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.registro-footer-text {
  font-size: 11px;
  color: rgba(240,236,227,0.25);
  margin-top: 4px;
  letter-spacing: 0.06em;
}

@media (max-width: 960px) {
  .registro-grid {
    grid-template-columns: 1fr;
  }
  .registro-welcome {
    display: none;
  }
  .registro-mobile-header {
    display: flex;
  }
  .registro-mobile-platforms {
    display: block;
  }
  .registro-content {
    padding: 24px 16px;
  }
  .registro-card {
    padding: 28px 20px;
    border-radius: 16px;
  }
}

@media (max-width: 420px) {
  .registro-card {
    padding: 24px 16px;
  }
  .registro-card-title {
    font-size: 20px;
  }
  .registro-field-phone {
    flex-direction: column;
  }
  .registro-phone-selector {
    width: 100%;
  }
  .registro-phone-toggle {
    width: 100%;
    justify-content: space-between;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ob-black: #0a0a0a;
  --ob-dark: #111111;
  --ob-card: #161616;
  --ob-border: rgba(255,255,255,0.07);
  --ob-purple: #6d28d9;
  --ob-purple-mid: #7c3aed;
  --ob-purple-light: #a78bfa;
  --ob-purple-glow: rgba(167,139,250,0.15);
  --ob-cream: #e8e0cc;
  --ob-cream-dim: rgba(232,224,204,0.7);
  --ob-text: #f0ece3;
  --ob-muted: rgba(240,236,227,0.45);
  --ob-radius: 14px;
  --ob-radius-sm: 8px;
  --ob-transition: 0.22s ease;
}

body {
  background: #0a0a0a;
  background: var(--ob-black);
  color: #f0ece3;
  color: var(--ob-text);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

.login-container {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

.login-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.login-bg-gradient {
  position: absolute;
  inset: 0;
  background-image: url(/static/media/BANNER.309c12b13801654c600c.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.login-bg-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
}

.login-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.018) 59px, rgba(255,255,255,0.018) 60px),
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.018) 59px, rgba(255,255,255,0.018) 60px);
}

.login-bg-orbs { position: absolute; inset: 0; }

.login-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: orbFloat 12s ease-in-out infinite;
}

.login-orb-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #6d28d9, transparent 70%);
  top: -100px; left: -80px;
  animation-delay: 0s;
}

.login-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #4c1d95, transparent 70%);
  bottom: 5%; right: 5%;
  animation-delay: -4s;
}

.login-orb-3 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, #a78bfa, transparent 70%);
  top: 55%; left: 40%;
  opacity: 0.1;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-30px) scale(1.04); }
  66% { transform: translate(-15px,20px) scale(0.97); }
}

.login-content {
  position: relative;
  z-index: 1;
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.login-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  grid-gap: 60px;
  gap: 60px;
  width: 100%;
  max-width: 1100px;
  align-items: center;
}

.login-welcome { display: flex; flex-direction: column; gap: 36px; }

.login-brand-header { display: flex; align-items: center; gap: 18px; }

.login-logo-container { position: relative; flex-shrink: 0; }

.login-brand-logo {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #6d28d9;
  border: 2px solid var(--ob-purple);
  display: block;
}

.login-brand-logo-fallback {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #6d28d9;
  background: var(--ob-purple);
  color: #e8e0cc;
  color: var(--ob-cream);
  align-items: center;
  justify-content: center;
}

.login-logo-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(167,139,250,0.3);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.08); opacity: 0.1; }
}

.login-brand-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e8e0cc;
  color: var(--ob-cream);
  line-height: 1.15;
}

.login-brand-subtitle {
  font-size: 13px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.login-platforms-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  margin-bottom: 14px;
}

.login-platforms-grid { display: flex; gap: 14px; flex-wrap: wrap; }

.login-platform-item {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  transition: 0.22s ease;
  transition: var(--ob-transition);
}

.login-platform-item:hover {
  border-color: rgba(167,139,250,0.35);
  background: rgba(167,139,250,0.06);
}

.login-platform-item img {
  height: 22px; width: auto;
  object-fit: contain;
  filter: brightness(0.85) saturate(0.7);
  transition: 0.22s ease;
  transition: var(--ob-transition);
}

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

.login-platform-badge {
  position: absolute;
  top: -5px; right: -5px;
  background: #a78bfa;
  background: var(--ob-purple-light);
  color: #0a0a0a;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.login-features { display: flex; flex-direction: column; gap: 16px; }

.login-feature { display: flex; align-items: center; gap: 14px; }

.login-feature-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  background: rgba(109,40,217,0.2);
  border: 1px solid rgba(109,40,217,0.35);
  color: #a78bfa;
  color: var(--ob-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.login-feature-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: #f0ece3;
  color: var(--ob-text);
  margin-bottom: 2px;
}

.login-feature-content p {
  font-size: 13px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
}

.login-social-proof {
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid var(--ob-border);
}

.login-stats { display: flex; align-items: center; gap: 24px; }

.login-stat-number {
  font-size: 22px;
  font-weight: 800;
  color: #a78bfa;
  color: var(--ob-purple-light);
  line-height: 1;
}

.login-stat-label {
  font-size: 11px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.login-stat-divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.07);
  background: var(--ob-border);
}

.login-card {
  background: #161616;
  background: var(--ob-card);
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6d28d9, #a78bfa, #6d28d9, transparent);
  background: linear-gradient(90deg, transparent, var(--ob-purple), var(--ob-purple-light), var(--ob-purple), transparent);
}

.login-mobile-header {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
  gap: 8px;
}

.login-mobile-logo { position: relative; display: inline-block; }

.login-mobile-logo-image {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #6d28d9;
  border: 2px solid var(--ob-purple);
}

.login-mobile-logo-fallback {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #6d28d9;
  background: var(--ob-purple);
  color: #e8e0cc;
  color: var(--ob-cream);
  align-items: center;
  justify-content: center;
}

.login-mobile-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e8e0cc;
  color: var(--ob-cream);
}

.login-mobile-subtitle { font-size: 12px; color: rgba(240,236,227,0.45); color: var(--ob-muted); }

.login-card-header { margin-bottom: 28px; }

.login-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #f0ece3;
  color: var(--ob-text);
  margin-bottom: 6px;
}

.login-card-description { font-size: 13px; color: rgba(240,236,227,0.45); color: var(--ob-muted); }

.login-form { display: flex; flex-direction: column; gap: 18px; }

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

.login-field-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(232,224,204,0.7);
  color: var(--ob-cream-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.login-field-icon-left {
  position: absolute;
  left: 14px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  display: flex;
  pointer-events: none;
  z-index: 1;
}

.login-field-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  padding: 13px 14px 13px 44px;
  color: #f0ece3;
  color: var(--ob-text);
  font-size: 14px;
  transition: 0.22s ease;
  transition: var(--ob-transition);
  outline: none;
  -webkit-appearance: none;
}

.login-field-input::placeholder { color: rgba(240,236,227,0.25); }

.login-field-input:focus {
  border-color: rgba(167,139,250,0.5);
  background: rgba(167,139,250,0.05);
  box-shadow: 0 0 0 3px rgba(167,139,250,0.08);
}

.login-field-input.error {
  border-color: rgba(239,68,68,0.5);
  background: rgba(239,68,68,0.04);
}

.login-field-input:disabled { opacity: 0.4; cursor: not-allowed; }

.login-field-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  display: flex;
  padding: 4px;
  transition: color 0.22s ease;
  transition: color var(--ob-transition);
}

.login-field-toggle:hover { color: #f0ece3; color: var(--ob-text); }

.login-form-options { display: flex; justify-content: space-between; align-items: center; }

.login-forgot {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: #a78bfa;
  color: var(--ob-purple-light);
  transition: opacity 0.22s ease;
  transition: opacity var(--ob-transition);
  padding: 0;
}

.login-forgot:hover { opacity: 0.75; }

.login-attempts-badge { display: flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(240,236,227,0.45); color: var(--ob-muted); }

.login-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  font-size: 13px;
  line-height: 1.5;
}

.login-alert.error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  color: #fca5a5;
}

.login-alert.success {
  background: rgba(167,139,250,0.08);
  border: 1px solid rgba(167,139,250,0.25);
  color: #c4b5fd;
}

.login-blocked {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  color: #fca5a5;
}

.login-blocked-title { font-size: 13px; font-weight: 600; }

.login-blocked-timer {
  font-size: 20px;
  font-weight: 800;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  color: #f87171;
}

.login-submit {
  width: 100%;
  padding: 14px;
  background: #6d28d9;
  background: var(--ob-purple);
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  transition: background var(--ob-transition), transform var(--ob-transition), box-shadow var(--ob-transition);
  margin-top: 4px;
}

.login-submit:hover:not(:disabled) {
  background: #7c3aed;
  background: var(--ob-purple-mid);
  box-shadow: 0 4px 20px rgba(167,139,250,0.2);
  transform: translateY(-1px);
}

.login-submit:active:not(:disabled) { transform: translateY(0); }

.login-submit:disabled { opacity: 0.4; cursor: not-allowed; }

.login-submit.loading { background: #4c1d95; pointer-events: none; }

.login-submit.blocked {
  background: rgba(239,68,68,0.18);
  border-color: rgba(239,68,68,0.3);
  color: #fca5a5;
  pointer-events: none;
}

.login-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

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

.login-mobile-platforms {
  display: none;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid var(--ob-border);
  text-align: center;
}

.login-mobile-platforms-title {
  font-size: 11px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.login-mobile-platforms-grid { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.login-mobile-platforms-grid img {
  height: 20px; width: auto;
  object-fit: contain;
  filter: brightness(0.6) saturate(0.5);
}

.login-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid var(--ob-border);
  padding: 18px 24px;
  text-align: center;
}

.login-footer-brand {
  font-size: 13px;
  font-weight: 700;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.login-footer-text {
  font-size: 11px;
  color: rgba(240,236,227,0.25);
  margin-top: 4px;
  letter-spacing: 0.06em;
}

.login-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.login-modal {
  background: #161616;
  background: var(--ob-card);
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
  border-radius: 20px;
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  position: relative;
}

.login-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6d28d9, #a78bfa, #6d28d9, transparent);
  background: linear-gradient(90deg, transparent, var(--ob-purple), var(--ob-purple-light), var(--ob-purple), transparent);
  border-radius: 20px 20px 0 0;
}

.login-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  transition: 0.22s ease;
  transition: var(--ob-transition);
}

.login-modal-close:hover { background: rgba(255,255,255,0.1); color: #f0ece3; color: var(--ob-text); }

.login-modal-header { text-align: center; margin-bottom: 28px; }

.login-modal-icon {
  color: #a78bfa;
  color: var(--ob-purple-light);
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.login-modal-title { font-size: 20px; font-weight: 700; color: #f0ece3; color: var(--ob-text); margin-bottom: 8px; }

.login-modal-description { font-size: 13px; color: rgba(240,236,227,0.45); color: var(--ob-muted); line-height: 1.6; }

.login-modal-form { display: flex; flex-direction: column; gap: 16px; }

.login-link-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: #a78bfa;
  color: var(--ob-purple-light);
  text-align: center;
  padding: 6px;
  transition: opacity 0.22s ease;
  transition: opacity var(--ob-transition);
}

.login-link-button:hover { opacity: 0.75; }

.login-divider { display: flex; align-items: center; gap: 12px; margin: 4px 0; }

.login-divider-line { flex: 1 1; height: 1px; background: rgba(255,255,255,0.07); background: var(--ob-border); }

.login-divider-text { font-size: 12px; color: rgba(240,236,227,0.45); color: var(--ob-muted); white-space: nowrap; }

.login-register-btn {
  width: 100%;
  padding: 13px;
  background: transparent;
  border: 1.5px solid #6d28d9;
  border: 1.5px solid var(--ob-purple);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  color: #a78bfa;
  color: var(--ob-purple-light);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.03em;
  transition: 0.22s ease;
  transition: var(--ob-transition);
}

.login-register-btn:hover:not(:disabled) {
  background: rgba(167,139,250,0.08);
  transform: translateY(-1px);
}

.login-register-btn:disabled { opacity: 0.4; cursor: not-allowed; }

@media (max-width: 900px) {
  .login-grid { grid-template-columns: 1fr; }
  .login-welcome { display: none; }
  .login-mobile-header { display: flex; }
  .login-mobile-platforms { display: block; }
  .login-content { padding: 24px 16px; }
  .login-card { padding: 32px 24px; border-radius: 16px; }
}

@media (max-width: 420px) {
  .login-card { padding: 28px 18px; }
  .login-card-title { font-size: 20px; }
}
/* ═══════════════════════════════════════════════════════════
   🏰 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-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);
}


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


.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);
}


.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 {
  --ob-black: #0a0a0a;
  --ob-dark: #111111;
  --ob-card: #161616;
  --ob-card2: #1a1a1a;
  --ob-border: rgba(255,255,255,0.07);
  --ob-border-hover: rgba(255,255,255,0.13);
  --ob-green: #1a6b3a;
  --ob-green-mid: #1d8249;
  --ob-green-light: #22c55e;
  --ob-cream: #e8e0cc;
  --ob-cream-dim: rgba(232,224,204,0.6);
  --ob-text: #f0ece3;
  --ob-muted: rgba(240,236,227,0.4);
  --ob-sidebar-w: 268px;
  --ob-header-h: 64px;
  --ob-radius: 12px;
  --ob-radius-sm: 8px;
  --ob-transition: 0.2s ease;
}

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

body {
  background: #0a0a0a;
  background: var(--ob-black);
  color: #f0ece3;
  color: var(--ob-text);
  font-family: 'Inter','Segoe UI',system-ui,sans-serif;
  -webkit-font-smoothing: antialiased;
}


/* ─── ROOT LAYOUT ────────────────────────────────────── */

.db-root {
  display: flex;
  min-height: 100vh;
  background: #0a0a0a;
  background: var(--ob-black);
  position: relative;
}


/* ─── OVERLAY ────────────────────────────────────────── */

.db-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0,0,0,0.6);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}


/* ─── SIDEBAR ────────────────────────────────────────── */

.db-sidebar {
  width: 268px;
  width: var(--ob-sidebar-w);
  background: #111111;
  background: var(--ob-dark);
  border-right: 1px solid rgba(255,255,255,0.07);
  border-right: 1px solid var(--ob-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}

.db-sidebar--open {
  transform: translateX(0);
}

.db-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid var(--ob-border);
  flex-shrink: 0;
}

.db-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.db-sidebar__logo-wrap {
  position: relative;
  flex-shrink: 0;
}

.db-sidebar__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #1a6b3a;
  border: 1.5px solid var(--ob-green);
  display: block;
}

.db-sidebar__logo-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(34,197,94,0.25);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { transform:scale(1); opacity:.5; }
  50% { transform:scale(1.1); opacity:.1; }
}

.db-sidebar__brand-name {
  font-size: 14px;
  font-weight: 700;
  color: #e8e0cc;
  color: var(--ob-cream);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.db-sidebar__brand-sub {
  font-size: 11px;
  color: #22c55e;
  color: var(--ob-green-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.db-sidebar__close {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(240,236,227,0.4);
  color: var(--ob-muted);
  transition: 0.2s ease;
  transition: var(--ob-transition);
  flex-shrink: 0;
}

.db-sidebar__close:hover {
  color: #f0ece3;
  color: var(--ob-text);
  background: rgba(255,255,255,0.1);
}

.db-sidebar__status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid var(--ob-border);
  flex-shrink: 0;
}

.db-sidebar__status-text {
  font-size: 11px;
  color: rgba(240,236,227,0.4);
  color: var(--ob-muted);
  flex: 1 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.db-sidebar__retry {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(240,236,227,0.4);
  color: var(--ob-muted);
  display: flex;
  padding: 2px;
  transition: color 0.2s ease;
  transition: color var(--ob-transition);
}

.db-sidebar__retry:hover { color: #f0ece3; color: var(--ob-text); }

.db-sidebar__nav {
  padding: 16px 10px 8px;
  flex-shrink: 0;
}

.db-sidebar__nav + .db-sidebar__nav {
  border-top: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid var(--ob-border);
  padding-top: 14px;
}

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

.db-sidebar__nav-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(240,236,227,0.4);
  color: var(--ob-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 8px 8px;
}

.db-sidebar__footer {
  margin-top: auto;
  padding: 14px 10px;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid var(--ob-border);
  flex-shrink: 0;
}

.db-sidebar__nav {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #1a6b3a transparent;
  scrollbar-color: var(--ob-green) transparent;
  max-height: calc(100vh - 280px);
}

.db-sidebar__nav::-webkit-scrollbar { width: 3px; }
.db-sidebar__nav::-webkit-scrollbar-thumb { background: #1a6b3a; background: var(--ob-green); border-radius: 2px; }


/* ─── NAV ITEMS ──────────────────────────────────────── */

.db-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  color: rgba(240,236,227,0.4);
  color: var(--ob-muted);
  transition: 0.2s ease;
  transition: var(--ob-transition);
  position: relative;
  text-align: left;
}

.db-nav-item:hover:not(:disabled) {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.07);
  border-color: var(--ob-border);
  color: #f0ece3;
  color: var(--ob-text);
}

.db-nav-item--active {
  background: rgba(26,107,58,0.15) !important;
  border-color: rgba(34,197,94,0.25) !important;
  color: #f0ece3 !important;
  color: var(--ob-text) !important;
}

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

.db-nav-item__icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.db-nav-item__icon-wrap--emoji {
  font-size: 16px;
}

.db-nav-item__icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.db-nav-item__info {
  flex: 1 1;
  min-width: 0;
}

.db-nav-item__name {
  font-size: 13px;
  font-weight: 500;
  color: inherit;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db-nav-item__status {
  font-size: 10px;
  display: block;
  margin-top: 2px;
  letter-spacing: 0.04em;
}

.db-nav-item__status--active   { color: #22c55e; color: var(--ob-green-light); }
.db-nav-item__status--locked   { color: rgba(240,236,227,0.4); color: var(--ob-muted); }
.db-nav-item__status--maintenance { color: #f59e0b; }

.db-nav-item__indicator {
  width: 3px;
  height: 20px;
  background: #22c55e;
  background: var(--ob-green-light);
  border-radius: 2px;
  flex-shrink: 0;
}


/* ─── USER CARD ──────────────────────────────────────── */

.db-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
  border-radius: 12px;
  border-radius: var(--ob-radius);
}

.db-user-card__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1a6b3a;
  background: var(--ob-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  border: 1.5px solid rgba(34,197,94,0.3);
}

.db-user-card__info {
  flex: 1 1;
  min-width: 0;
}

.db-user-card__name {
  font-size: 13px;
  font-weight: 600;
  color: #f0ece3;
  color: var(--ob-text);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db-user-card__type {
  font-size: 10px;
  color: #22c55e;
  color: var(--ob-green-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.db-user-card__logout {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.2);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
  transition: var(--ob-transition);
  flex-shrink: 0;
}

.db-user-card__logout:hover {
  background: rgba(220,38,38,0.15);
}


/* ─── MAIN AREA ──────────────────────────────────────── */

.db-main {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left 0.28s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}

.db-root--sidebar-open .db-main {
  margin-left: 268px;
  margin-left: var(--ob-sidebar-w);
}


/* ─── HEADER ─────────────────────────────────────────── */

.db-header {
  height: 64px;
  height: var(--ob-header-h);
  background: rgba(17,17,17,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid var(--ob-border);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 30;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.db-header__menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  transition: background 0.2s ease;
  transition: background var(--ob-transition);
  flex-shrink: 0;
}

.db-header__menu:hover { background: rgba(255,255,255,0.06); }

.db-header__menu span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(232,224,204,0.6);
  background: var(--ob-cream-dim);
  border-radius: 1px;
  transition: 0.2s ease;
  transition: var(--ob-transition);
}

.db-header__title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
  min-width: 0;
}

.db-header__platform-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

.db-header__h1 {
  font-size: 16px;
  font-weight: 700;
  color: #f0ece3;
  color: var(--ob-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db-header__desc {
  font-size: 12px;
  color: rgba(240,236,227,0.4);
  color: var(--ob-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.db-header__status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
  background: rgba(255,255,255,0.03);
  color: rgba(240,236,227,0.4);
  color: var(--ob-muted);
}

.db-header__status--connected { color: #22c55e; color: var(--ob-green-light); border-color: rgba(34,197,94,0.25); background: rgba(34,197,94,0.06); }
.db-header__status--disconnected { color: #f87171; border-color: rgba(220,38,38,0.25); background: rgba(220,38,38,0.06); }
.db-header__status--connecting { color: #fbbf24; border-color: rgba(251,191,36,0.25); background: rgba(251,191,36,0.06); }

.db-header__logout {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(220,38,38,0.07);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  color: #f87171;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  transition: var(--ob-transition);
}

.db-header__logout:hover {
  background: rgba(220,38,38,0.14);
}


/* ─── STATUS DOT ─────────────────────────────────────── */

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

.db-status-dot--connected    { background: #22c55e; background: var(--ob-green-light); animation: blink 2s ease-in-out infinite; }
.db-status-dot--disconnected { background: #f87171; }
.db-status-dot--connecting   { background: #fbbf24; animation: blink 1s ease-in-out infinite; }

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


/* ─── ERROR BAR ──────────────────────────────────────── */

.db-error-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(220,38,38,0.08);
  border-bottom: 1px solid rgba(220,38,38,0.2);
  color: #fca5a5;
  font-size: 13px;
  flex-shrink: 0;
}

.db-error-bar span { flex: 1 1; }

.db-error-bar__retry {
  background: rgba(220,38,38,0.15);
  border: 1px solid rgba(220,38,38,0.3);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  color: #fca5a5;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  cursor: pointer;
  transition: 0.2s ease;
  transition: var(--ob-transition);
}

.db-error-bar__retry:hover { background: rgba(220,38,38,0.25); }

.db-error-bar__close {
  background: none;
  border: none;
  color: rgba(240,236,227,0.4);
  color: var(--ob-muted);
  cursor: pointer;
  font-size: 14px;
  padding: 2px 4px;
  transition: color 0.2s ease;
  transition: color var(--ob-transition);
}

.db-error-bar__close:hover { color: #f0ece3; color: var(--ob-text); }


/* ─── CONTENT ────────────────────────────────────────── */

.db-content {
  flex: 1 1;
  padding: 28px 24px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #1a6b3a transparent;
  scrollbar-color: var(--ob-green) transparent;
}

.db-content::-webkit-scrollbar { width: 5px; }
.db-content::-webkit-scrollbar-thumb { background: #1a6b3a; background: var(--ob-green); border-radius: 3px; }


/* ─── FOOTER ─────────────────────────────────────────── */

.db-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid var(--ob-border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.db-footer span {
  font-size: 11px;
  color: rgba(240,236,227,0.4);
  color: var(--ob-muted);
  letter-spacing: 0.04em;
}

.db-footer__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(240,236,227,0.4);
  color: var(--ob-muted);
}


/* ─── LOADING ────────────────────────────────────────── */

.db-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #0a0a0a;
  background: var(--ob-black);
}

.db-loading__spinner {
  position: relative;
  width: 52px;
  height: 52px;
}

.db-loading__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}

.db-loading__ring:nth-child(1) { border-top-color: #22c55e; border-top-color: var(--ob-green-light); animation: spin 1s linear infinite; }
.db-loading__ring:nth-child(2) { inset: 7px; border-top-color: rgba(34,197,94,0.5); animation: spin 1.4s linear infinite reverse; }
.db-loading__ring:nth-child(3) { inset: 14px; border-top-color: rgba(34,197,94,0.2); animation: spin 1.8s linear infinite; }

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

.db-loading__title {
  font-size: 18px;
  font-weight: 700;
  color: #f0ece3;
  color: var(--ob-text);
}

.db-loading__sub {
  font-size: 13px;
  color: rgba(240,236,227,0.4);
  color: var(--ob-muted);
}


/* ─── MAINTENANCE ────────────────────────────────────── */

.db-maintenance {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 24px;
}

.db-maintenance__card {
  background: #161616;
  background: var(--ob-card);
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
  border-radius: 12px;
  border-radius: var(--ob-radius);
  padding: 48px 40px;
  text-align: center;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.db-maintenance__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(245,158,11,0.1);
  border: 1.5px solid rgba(245,158,11,0.3);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.db-maintenance__card h2 {
  font-size: 20px;
  font-weight: 700;
  color: #f0ece3;
  color: var(--ob-text);
}

.db-maintenance__card p {
  font-size: 14px;
  color: rgba(240,236,227,0.4);
  color: var(--ob-muted);
  line-height: 1.6;
}

.db-maintenance__sub {
  font-size: 12px !important;
  color: rgba(240,236,227,0.3) !important;
}

.db-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: 0.2s ease;
  transition: var(--ob-transition);
  margin-top: 8px;
}

.db-btn--green {
  background: #1a6b3a;
  background: var(--ob-green);
  color: #fff;
  border: 1px solid rgba(34,197,94,0.3);
}

.db-btn--green:hover {
  background: #1d8249;
  background: var(--ob-green-mid);
  transform: translateY(-1px);
}


/* ─── RESPONSIVE ─────────────────────────────────────── */

@media (min-width: 769px) {
  .db-sidebar__close { display: none; }

  .db-root--sidebar-open .db-main {
    margin-left: 268px;
    margin-left: var(--ob-sidebar-w);
  }
}

@media (max-width: 768px) {
  .db-root--sidebar-open .db-main {
    margin-left: 0;
  }

  .db-header__status span:last-child { display: none; }

  .db-content { padding: 20px 16px; }

  .db-footer { flex-direction: column; gap: 6px; text-align: center; }

  .db-header__logout span { display: none; }
  .db-header__logout { padding: 7px 10px; }
}

@media (max-width: 480px) {
  .db-header { padding: 0 14px; gap: 10px; }
  .db-header__h1 { font-size: 14px; }
  .db-header__desc { display: none; }
  .db-content { padding: 16px 12px; }
}

::selection {
  background: rgba(34,197,94,0.22);
  color: #e8e0cc;
  color: var(--ob-cream);
}
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --ap-black: #000000;
  --ap-black-card: #050505;
  --ap-black-lighter: #0d0d0d;
  --ap-purple: #6d28d9;
  --ap-purple-mid: #7c3aed;
  --ap-purple-dark: #4c1d95;
  --ap-purple-light: #a78bfa;
  --ap-purple-pale: #c4b5fd;
  --ap-glow: rgba(109,40,217,0.8);
  --ap-glow-light: rgba(167,139,250,0.6);
  --ap-border: rgba(109,40,217,0.2);
  --ap-border-light: rgba(109,40,217,0.35);
  --ap-text: #ffffff;
  --ap-text-secondary: #a0a0a0;
  --ap-text-muted: #555;
  --ap-success: #0d7350;
  --ap-error: #b71c1c;
  --ap-navbar-h: 64px;
  --ap-sidebar-w: 272px;
  --ap-sidebar-collapsed: 68px;
  --ap-radius: 12px;
  --ap-radius-sm: 8px;
  --ap-transition: 0.25s ease;
}

body {
  background: #000;
  color: #ffffff;
  color: var(--ap-text);
  font-family: 'Rajdhani', sans-serif;
  -webkit-font-smoothing: antialiased;
}


/* ─── ROOT + BANNER ──────────────────────────────────── */

.ap-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.ap-root::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url(/static/media/BANNER.309c12b13801654c600c.png);
  background-size: cover;
  background-position: center;
  z-index: 0;
  pointer-events: none;
}

.ap-root::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 0;
  pointer-events: none;
}

.ap-navbar,
.ap-layout {
  position: relative;
  z-index: 1;
}


/* ─── NAVBAR ─────────────────────────────────────────── */

.ap-navbar {
  height: 64px;
  height: var(--ap-navbar-h);
  background: rgba(5,5,5,0.97);
  border-bottom: 1px solid rgba(109,40,217,0.2);
  border-bottom: 1px solid var(--ap-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.95);
}

.ap-navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  gap: 12px;
}

.ap-navbar__left { display: flex; align-items: center; gap: 8px; }
.ap-navbar__hamburger { display: none; }

.ap-navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 6px;
}

.ap-navbar__logo-wrap {
  position: relative;
  flex-shrink: 0;
  animation: logoFloat 3s ease-in-out infinite;
}

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

.ap-navbar__logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid #6d28d9;
  border: 1.5px solid var(--ap-purple);
  display: block;
  box-shadow: 0 0 20px rgba(109,40,217,0.8);
  box-shadow: 0 0 20px var(--ap-glow);
}

.ap-navbar__logo-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 14px;
  border: 1px solid rgba(167,139,250,0.25);
  animation: pulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%,100% { transform:scale(1); opacity:.6; }
  50% { transform:scale(1.08); opacity:.1; }
}

.ap-navbar__brand-title {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #7c3aed, #c4b5fd);
  background: linear-gradient(135deg, var(--ap-purple-mid), var(--ap-purple-pale));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(109,40,217,0.8));
  filter: drop-shadow(0 0 8px var(--ap-glow));
  line-height: 1.2;
}

.ap-navbar__brand-sub {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #a0a0a0;
  color: var(--ap-text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 1px;
}

.ap-navbar__right { display: flex; align-items: center; gap: 10px; }

.ap-navbar__user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: #0d0d0d;
  background: var(--ap-black-lighter);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--ap-border);
  border-radius: 8px;
  border-radius: var(--ap-radius-sm);
  transition: 0.25s ease;
  transition: var(--ap-transition);
}

.ap-navbar__user:hover {
  background: #4c1d95;
  background: var(--ap-purple-dark);
  border-color: #6d28d9;
  border-color: var(--ap-purple);
  box-shadow: 0 0 15px rgba(109,40,217,0.8);
  box-shadow: 0 0 15px var(--ap-glow);
}

.ap-navbar__user-info { display: flex; flex-direction: column; }

.ap-navbar__user-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  color: var(--ap-text);
  line-height: 1.2;
  letter-spacing: 0.3px;
}

.ap-navbar__user-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #7c3aed, #c4b5fd);
  background: linear-gradient(135deg, var(--ap-purple-mid), var(--ap-purple-pale));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ─── ICON BUTTONS ───────────────────────────────────── */

.ap-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border-radius: var(--ap-radius-sm);
  background: #0d0d0d;
  background: var(--ap-black-lighter);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--ap-border);
  color: #a0a0a0;
  color: var(--ap-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
  position: relative;
}

.ap-icon-btn:hover {
  background: #4c1d95;
  background: var(--ap-purple-dark);
  border-color: #6d28d9;
  border-color: var(--ap-purple);
  color: #ffffff;
  color: var(--ap-text);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(109,40,217,0.8);
  box-shadow: 0 0 15px var(--ap-glow);
}

.ap-icon-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

.ap-icon-btn--spin svg { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.ap-icon-btn--danger {
  background: rgba(139,0,0,0.1);
  border-color: rgba(183,28,28,0.25);
  color: #f87171;
}

.ap-icon-btn--danger:hover {
  background: rgba(139,0,0,0.25);
  border-color: #b71c1c;
  box-shadow: 0 0 15px rgba(183,28,28,0.5);
}


/* ─── AVATAR ─────────────────────────────────────────── */

.ap-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4c1d95, #6d28d9);
  background: linear-gradient(135deg, var(--ap-purple-dark), var(--ap-purple));
  border: 1px solid #6d28d9;
  border: 1px solid var(--ap-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(109,40,217,0.8);
  box-shadow: 0 0 14px var(--ap-glow);
}

.ap-avatar--sm {
  width: 30px;
  height: 30px;
  font-size: 12px;
  border-radius: 8px;
}


/* ─── BADGE / PILL ───────────────────────────────────── */

.ap-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  background: linear-gradient(135deg, var(--ap-purple), var(--ap-purple-mid));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 0 14px rgba(109,40,217,0.8);
  box-shadow: 0 0 14px var(--ap-glow);
  border: 1px solid #4c1d95;
  border: 1px solid var(--ap-purple-dark);
  animation: badgePulse 2s ease-in-out infinite;
}

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

.ap-badge--sm { font-size: 9px; min-width: 16px; height: 16px; }

.ap-badge--dot {
  width: 9px; height: 9px;
  min-width: 0;
  min-width: initial;
  padding: 0;
  top: 3px; right: 3px;
}

.ap-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  background: #0d0d0d;
  background: var(--ap-black-lighter);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--ap-border);
  color: #a0a0a0;
  color: var(--ap-text-secondary);
}

.ap-pill--accent {
  background: rgba(109,40,217,0.15);
  border-color: rgba(109,40,217,0.35);
  border-color: var(--ap-border-light);
  color: #a78bfa;
  color: var(--ap-purple-light);
}


/* ─── NOTIFICATION DROPDOWN ──────────────────────────── */

.ap-notif-dropdown { position: relative; }

.ap-notif-dropdown__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 380px;
  background: #050505;
  background: var(--ap-black-card);
  border: 1px solid rgba(109,40,217,0.35);
  border: 1px solid var(--ap-border-light);
  border-radius: 16px;
  box-shadow: 0 12px 50px rgba(0,0,0,0.95), 0 0 30px rgba(109,40,217,0.8);
  box-shadow: 0 12px 50px rgba(0,0,0,0.95), 0 0 30px var(--ap-glow);
  overflow: hidden;
  z-index: 200;
  animation: dropIn 0.22s ease both;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
}

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

.ap-notif-dropdown__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, #4c1d95, transparent);
  background: linear-gradient(135deg, var(--ap-purple-dark), transparent);
  border-bottom: 1px solid rgba(109,40,217,0.2);
  border-bottom: 1px solid var(--ap-border);
}

.ap-notif-dropdown__header h3 {
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  color: var(--ap-text);
  letter-spacing: 1px;
}

.ap-notif-dropdown__list {
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #6d28d9 transparent;
  scrollbar-color: var(--ap-purple) transparent;
}

.ap-notif-dropdown__list::-webkit-scrollbar { width: 4px; }
.ap-notif-dropdown__list::-webkit-scrollbar-thumb { background: #6d28d9; background: var(--ap-purple); border-radius: 2px; }

.ap-notif-dropdown__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(109,40,217,0.2);
  border-bottom: 1px solid var(--ap-border);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  background: #050505;
  background: var(--ap-black-card);
}

.ap-notif-dropdown__item:last-child { border-bottom: none; }

.ap-notif-dropdown__item:hover {
  background: #0d0d0d;
  background: var(--ap-black-lighter);
  border-left: 3px solid #6d28d9;
  border-left: 3px solid var(--ap-purple);
}

.ap-notif-dropdown__item--unread {
  background: linear-gradient(90deg, #4c1d95, #050505);
  background: linear-gradient(90deg, var(--ap-purple-dark), var(--ap-black-card));
  border-left: 3px solid #6d28d9;
  border-left: 3px solid var(--ap-purple);
}

.ap-notif-dropdown__item-body { flex: 1 1; min-width: 0; }

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

.ap-notif-dropdown__item-email {
  font-size: 11px;
  color: #a0a0a0;
  color: var(--ap-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 3px 0 0;
}

.ap-notif-dropdown__item-time {
  font-size: 10px;
  color: #555;
  color: var(--ap-text-muted);
  margin: 3px 0 0;
}

.ap-notif-dropdown__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #a78bfa;
  background: var(--ap-purple-light);
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 0 10px rgba(167,139,250,0.6);
  box-shadow: 0 0 10px var(--ap-glow-light);
  animation: dotBlink 2s ease-in-out infinite;
}

@keyframes dotBlink {
  0%,100% { opacity:1; }
  50% { opacity:0.25; }
}

.ap-notif-dropdown__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 16px;
  color: #555;
  color: var(--ap-text-muted);
  font-size: 13px;
  font-weight: 600;
}

.ap-notif-dropdown__footer {
  display: block;
  width: 100%;
  padding: 12px;
  background: rgba(109,40,217,0.08);
  border: none;
  border-top: 1px solid rgba(109,40,217,0.2);
  border-top: 1px solid var(--ap-border);
  color: #a78bfa;
  color: var(--ap-purple-light);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.ap-notif-dropdown__footer:hover {
  background: rgba(109,40,217,0.16);
  color: #c4b5fd;
  color: var(--ap-purple-pale);
  transform: translateX(2px);
}


/* ─── LAYOUT ─────────────────────────────────────────── */

.ap-layout {
  display: flex;
  flex: 1 1;
  overflow: hidden;
}

.ap-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0,0,0,0.88);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}


/* ─── SIDEBAR ────────────────────────────────────────── */

.ap-sidebar {
  background: rgba(5,5,5,0.98);
  border-right: 1px solid rgba(109,40,217,0.2);
  border-right: 1px solid var(--ap-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: width 0.28s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
  position: relative;
}

.ap-sidebar--open { width: 272px; width: var(--ap-sidebar-w); }
.ap-sidebar--collapsed { width: 68px; width: var(--ap-sidebar-collapsed); }

.ap-sidebar--mobile {
  position: fixed;
  top: 64px;
  top: var(--ap-navbar-h);
  left: 0;
  bottom: 0;
  z-index: 90;
  width: 272px !important;
  width: var(--ap-sidebar-w) !important;
  box-shadow: 4px 0 40px rgba(0,0,0,0.95), 0 0 30px rgba(109,40,217,0.8);
  box-shadow: 4px 0 40px rgba(0,0,0,0.95), 0 0 30px var(--ap-glow);
}

.ap-sidebar__header {
  padding: 18px 16px 14px;
  border-bottom: 1px solid rgba(109,40,217,0.2);
  border-bottom: 1px solid var(--ap-border);
  flex-shrink: 0;
}

.ap-sidebar__header h3 {
  font-family: 'Orbitron', monospace;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #7c3aed, #c4b5fd);
  background: linear-gradient(135deg, var(--ap-purple-mid), var(--ap-purple-pale));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(109,40,217,0.8));
  filter: drop-shadow(0 0 8px var(--ap-glow));
  margin-bottom: 10px;
}

.ap-sidebar__stat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #a0a0a0;
  color: var(--ap-text-secondary);
  letter-spacing: 0.4px;
}

.ap-sidebar__stat svg { color: #a78bfa; color: var(--ap-purple-light); }

.ap-sidebar__stat--mobile {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(109,40,217,0.2);
  border-bottom: 1px solid var(--ap-border);
  background: linear-gradient(135deg, #4c1d95, transparent);
  background: linear-gradient(135deg, var(--ap-purple-dark), transparent);
  flex-shrink: 0;
}

.ap-sidebar__mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid rgba(109,40,217,0.2);
  border-bottom: 1px solid var(--ap-border);
  background: linear-gradient(135deg, #4c1d95, transparent);
  background: linear-gradient(135deg, var(--ap-purple-dark), transparent);
  flex-shrink: 0;
}

.ap-sidebar__mobile-header h3 {
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  color: var(--ap-text);
  letter-spacing: 1px;
}

.ap-sidebar__footer {
  margin-top: auto;
  padding: 14px 16px;
  border-top: 1px solid rgba(109,40,217,0.2);
  border-top: 1px solid var(--ap-border);
  flex-shrink: 0;
}


/* ─── NAV ────────────────────────────────────────────── */

.ap-nav {
  flex: 1 1;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #6d28d9 transparent;
  scrollbar-color: var(--ap-purple) transparent;
}

.ap-nav::-webkit-scrollbar { width: 3px; }
.ap-nav::-webkit-scrollbar-thumb { background: #6d28d9; background: var(--ap-purple); border-radius: 2px; }

.ap-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  border-radius: var(--ap-radius-sm);
  background: #0d0d0d;
  background: var(--ap-black-lighter);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--ap-border);
  cursor: pointer;
  color: #a0a0a0;
  color: var(--ap-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-align: left;
  white-space: nowrap;
  transition: all 0.25s ease;
  position: relative;
}

.ap-nav-item:hover {
  background: #4c1d95;
  background: var(--ap-purple-dark);
  border-color: #6d28d9;
  border-color: var(--ap-purple);
  color: #ffffff;
  color: var(--ap-text);
  transform: translateX(4px);
  box-shadow: 0 0 18px rgba(109,40,217,0.8);
  box-shadow: 0 0 18px var(--ap-glow);
}

.ap-nav-item--active {
  background: linear-gradient(135deg, #4c1d95, #6d28d9) !important;
  background: linear-gradient(135deg, var(--ap-purple-dark), var(--ap-purple)) !important;
  border-color: #a78bfa !important;
  border-color: var(--ap-purple-light) !important;
  color: #ffffff !important;
  color: var(--ap-text) !important;
  box-shadow: 0 4px 22px rgba(109,40,217,0.8) !important;
  box-shadow: 0 4px 22px var(--ap-glow) !important;
}

.ap-nav-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #a78bfa;
  color: var(--ap-purple-light);
}

.ap-nav-item__info { flex: 1 1; min-width: 0; }

.ap-nav-item__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ap-nav-item__sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #0d7350;
  color: var(--ap-success);
  margin-top: 1px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.ap-nav-item__chevron {
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.ap-nav-item:hover .ap-nav-item__chevron,
.ap-nav-item--active .ap-nav-item__chevron {
  color: #a78bfa;
  color: var(--ap-purple-light);
  transform: translateX(2px);
}

.ap-nav-item .ap-badge {
  position: static;
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  background: linear-gradient(135deg, var(--ap-purple), var(--ap-purple-mid));
  animation: badgePulse 2s ease-in-out infinite;
}


/* ─── SYSTEM STATUS ──────────────────────────────────── */

.ap-system-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  background: #0d0d0d;
  background: var(--ap-black-lighter);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--ap-border);
  border-radius: 8px;
  border-radius: var(--ap-radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: #a0a0a0;
  color: var(--ap-text-secondary);
  letter-spacing: 0.4px;
}

.ap-system-status__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: dotBlink 2s ease-in-out infinite;
}

.ap-system-status--online .ap-system-status__dot {
  background: #0d7350;
  background: var(--ap-success);
  box-shadow: 0 0 8px #0d7350;
  box-shadow: 0 0 8px var(--ap-success);
}

.ap-system-status--error .ap-system-status__dot {
  background: #b71c1c;
  background: var(--ap-error);
  box-shadow: 0 0 8px #b71c1c;
  box-shadow: 0 0 8px var(--ap-error);
}


/* ─── CONTENT ────────────────────────────────────────── */

.ap-content {
  flex: 1 1;
  min-width: 0;
  overflow-y: auto;
  padding: 30px 28px;
  scrollbar-width: thin;
  scrollbar-color: #6d28d9 transparent;
  scrollbar-color: var(--ap-purple) transparent;
}

.ap-content--expanded { padding: 30px 34px; }

.ap-content::-webkit-scrollbar { width: 5px; }
.ap-content::-webkit-scrollbar-thumb { background: #6d28d9; background: var(--ap-purple); border-radius: 3px; }


/* ─── NOTIFICATIONS PAGE ─────────────────────────────── */

.ap-notif-page { display: flex; flex-direction: column; gap: 24px; }

.ap-notif-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #4c1d95, #050505);
  background: linear-gradient(135deg, var(--ap-purple-dark), var(--ap-black-card));
  border: 1px solid rgba(109,40,217,0.35);
  border: 1px solid var(--ap-border-light);
  border-radius: 16px;
  box-shadow: 0 0 28px rgba(109,40,217,0.8);
  box-shadow: 0 0 28px var(--ap-glow);
}

.ap-notif-page__header-left { display: flex; align-items: center; gap: 14px; }

.ap-notif-page__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  border-radius: var(--ap-radius);
  background: rgba(109,40,217,0.18);
  border: 1px solid rgba(109,40,217,0.35);
  border: 1px solid var(--ap-border-light);
  color: #a78bfa;
  color: var(--ap-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(167,139,250,0.6));
  filter: drop-shadow(0 0 8px var(--ap-glow-light));
}

.ap-notif-page__header h1 {
  font-family: 'Orbitron', monospace;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  color: var(--ap-text);
  letter-spacing: 1px;
  margin-bottom: 4px;
  text-shadow: 0 0 18px rgba(109,40,217,0.8);
  text-shadow: 0 0 18px var(--ap-glow);
}

.ap-notif-page__header p {
  font-size: 13px;
  font-weight: 500;
  color: #a0a0a0;
  color: var(--ap-text-secondary);
}

.ap-notif-page__badges { display: flex; gap: 8px; flex-wrap: wrap; }

.ap-notif-list { display: flex; flex-direction: column; gap: 14px; }

.ap-notif-card {
  background: #050505;
  background: var(--ap-black-card);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--ap-border);
  border-radius: 14px;
  padding: 22px 24px;
  transition: all 0.25s ease;
}

.ap-notif-card:hover {
  background: #0d0d0d;
  background: var(--ap-black-lighter);
  border-color: #6d28d9;
  border-color: var(--ap-purple);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.8), 0 0 20px rgba(109,40,217,0.8);
  box-shadow: 0 6px 28px rgba(0,0,0,0.8), 0 0 20px var(--ap-glow);
}

.ap-notif-card--unread {
  border-left: 4px solid #6d28d9;
  border-left: 4px solid var(--ap-purple);
  background: linear-gradient(90deg, #4c1d95, #050505);
  background: linear-gradient(90deg, var(--ap-purple-dark), var(--ap-black-card));
  box-shadow: 0 0 24px rgba(109,40,217,0.8);
  box-shadow: 0 0 24px var(--ap-glow);
}

.ap-notif-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(109,40,217,0.2);
  border-bottom: 1px solid var(--ap-border);
  flex-wrap: wrap;
}

.ap-notif-card__user { display: flex; align-items: center; gap: 14px; flex: 1 1; }

.ap-notif-card__user h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--ap-text);
  margin-bottom: 3px;
  letter-spacing: 0.3px;
}

.ap-notif-card__user p { font-size: 12px; color: #a0a0a0; color: var(--ap-text-secondary); }

.ap-notif-card__actions { display: flex; gap: 10px; }

.ap-notif-card__details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.ap-notif-card__detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  background: #0d0d0d;
  background: var(--ap-black-lighter);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--ap-border);
  border-radius: 8px;
  border-radius: var(--ap-radius-sm);
}

.ap-notif-card__detail-label {
  font-size: 10px;
  font-weight: 700;
  color: #a78bfa;
  color: var(--ap-purple-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.ap-notif-card__detail-value {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  color: var(--ap-text);
  word-break: break-all;
}


/* ─── BUTTONS ────────────────────────────────────────── */

.ap-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 8px;
  border-radius: var(--ap-radius-sm);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ap-btn--primary {
  background: linear-gradient(135deg, #4c1d95, #6d28d9);
  background: linear-gradient(135deg, var(--ap-purple-dark), var(--ap-purple));
  color: #fff;
  border: 1px solid #6d28d9;
  border: 1px solid var(--ap-purple);
  box-shadow: 0 0 16px rgba(109,40,217,0.8);
  box-shadow: 0 0 16px var(--ap-glow);
}

.ap-btn--primary:hover {
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  background: linear-gradient(135deg, var(--ap-purple), var(--ap-purple-mid));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(109,40,217,0.8);
  box-shadow: 0 6px 24px var(--ap-glow);
}

.ap-btn--ghost {
  background: #0d0d0d;
  background: var(--ap-black-lighter);
  color: #a0a0a0;
  color: var(--ap-text-secondary);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--ap-border);
}

.ap-btn--ghost:hover {
  background: #4c1d95;
  background: var(--ap-purple-dark);
  border-color: #6d28d9;
  border-color: var(--ap-purple);
  color: #ffffff;
  color: var(--ap-text);
}


/* ─── EMPTY / ERROR ──────────────────────────────────── */

.ap-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 80px 24px;
  color: #555;
  color: var(--ap-text-muted);
  text-align: center;
}

.ap-empty h3 {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  color: var(--ap-text);
  letter-spacing: 0.5px;
}

.ap-empty p { font-size: 14px; font-weight: 500; color: #a0a0a0; color: var(--ap-text-secondary); }

.ap-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 60px 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(139,0,0,0.1), transparent);
  border: 1px solid rgba(183,28,28,0.2);
  border-radius: 16px;
}

.ap-error h2 {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 700;
  color: #f87171;
  letter-spacing: 0.5px;
}

.ap-error p { font-size: 13px; color: #a0a0a0; color: var(--ap-text-secondary); }


/* ─── SCROLLBAR GLOBAL ───────────────────────────────── */

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #6d28d9; background: var(--ap-purple); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #7c3aed; background: var(--ap-purple-mid); }

::selection { background: rgba(109,40,217,0.3); color: #fff; }


/* ─── RESPONSIVE ─────────────────────────────────────── */

@media (max-width: 1024px) {
  .ap-sidebar:not(.ap-sidebar--mobile) { display: none; }
  .ap-navbar__hamburger { display: flex; }
  .ap-navbar__collapse { display: none; }
}

@media (max-width: 768px) {
  .ap-navbar__user-info { display: none; }
  .ap-navbar__user { padding: 6px; }
  .ap-notif-dropdown__panel { width: calc(100vw - 32px); right: -8px; }
  .ap-content { padding: 20px 16px; }
  .ap-notif-card__top { flex-direction: column; align-items: flex-start; }
  .ap-notif-card__actions { width: 100%; }
  .ap-btn { flex: 1 1; justify-content: center; }
}

@media (max-width: 480px) {
  .ap-content { padding: 16px 12px; }
  .ap-notif-page__header { padding: 18px; }
  .ap-notif-card { padding: 18px 16px; }
  .ap-notif-card__details { grid-template-columns: 1fr; }
}
:root {
  --acgx-black: #000;
  --acgx-card: #050505;
  --acgx-lighter: #0d0d0d;
  --acgx-purple: #6d28d9;
  --acgx-purple-mid: #7c3aed;
  --acgx-purple-dark: #4c1d95;
  --acgx-purple-light: #a78bfa;
  --acgx-purple-pale: #c4b5fd;
  --acgx-glow: rgba(109,40,217,0.7);
  --acgx-glow-light: rgba(167,139,250,0.4);
  --acgx-border: rgba(109,40,217,0.2);
  --acgx-border-light: rgba(109,40,217,0.35);
  --acgx-text: #fff;
  --acgx-text-sec: #a0a0a0;
  --acgx-text-muted: #555;
  --acgx-success: #22c55e;
  --acgx-warning: #f59e0b;
  --acgx-error: #ef4444;
  --acgx-info: #a78bfa;
  --acgx-radius: 12px;
  --acgx-radius-sm: 8px;
  --acgx-transition: 0.25s ease;
}

.acgx-main-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: 'Rajdhani', sans-serif;
  color: #fff;
  color: var(--acgx-text);
  min-height: 100%;
}


/* ─── NOTIFICATIONS ──────────────────────────────────── */

.acgx-notifications-zone {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 380px;
  pointer-events: none;
}

.acgx-notification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  border-radius: var(--acgx-radius-sm);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--acgx-border);
  background: rgba(5,5,5,0.96);
  box-shadow: 0 6px 28px rgba(0,0,0,0.8);
  pointer-events: all;
  animation: notifSlide 0.28s ease both;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

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

.acgx-notification-success { border-color: rgba(34,197,94,0.4); box-shadow: 0 0 16px rgba(34,197,94,0.15); }
.acgx-notification-error   { border-color: rgba(239,68,68,0.4); box-shadow: 0 0 16px rgba(239,68,68,0.15); }
.acgx-notification-warning { border-color: rgba(245,158,11,0.4); box-shadow: 0 0 16px rgba(245,158,11,0.15); }
.acgx-notification-info    { border-color: rgba(109,40,217,0.35); border-color: var(--acgx-border-light); box-shadow: 0 0 16px rgba(167,139,250,0.4); box-shadow: 0 0 16px var(--acgx-glow-light); }

.acgx-notification-body { display: flex; align-items: center; gap: 8px; flex: 1 1; }
.acgx-notification-emoji { font-size: 15px; flex-shrink: 0; }
.acgx-notification-text { color: #fff; color: var(--acgx-text); font-size: 12px; line-height: 1.4; }

.acgx-notification-dismiss {
  background: none;
  border: none;
  color: #555;
  color: var(--acgx-text-muted);
  cursor: pointer;
  font-size: 13px;
  padding: 2px 4px;
  flex-shrink: 0;
  transition: color 0.25s ease;
  transition: color var(--acgx-transition);
}

.acgx-notification-dismiss:hover { color: #fff; color: var(--acgx-text); }


/* ─── HEADER ─────────────────────────────────────────── */

.acgx-header-zone {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #4c1d95, #050505);
  background: linear-gradient(135deg, var(--acgx-purple-dark), var(--acgx-card));
  border: 1px solid rgba(109,40,217,0.35);
  border: 1px solid var(--acgx-border-light);
  border-radius: 16px;
  box-shadow: 0 0 28px rgba(109,40,217,0.7);
  box-shadow: 0 0 28px var(--acgx-glow);
}

.acgx-title-area h1 {
  font-family: 'Orbitron', monospace;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  color: var(--acgx-text);
  text-shadow: 0 0 18px rgba(109,40,217,0.7);
  text-shadow: 0 0 18px var(--acgx-glow);
  margin-bottom: 6px;
}

.acgx-title-area p {
  font-size: 13px;
  font-weight: 500;
  color: #a0a0a0;
  color: var(--acgx-text-sec);
}

.acgx-title-area p strong { color: #a78bfa; color: var(--acgx-purple-light); }

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

.acgx-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 20px;
  background: rgba(109,40,217,0.12);
  border: 1px solid rgba(109,40,217,0.35);
  border: 1px solid var(--acgx-border-light);
  border-radius: 8px;
  border-radius: var(--acgx-radius-sm);
  min-width: 80px;
}

.acgx-stat-num {
  font-family: 'Orbitron', monospace;
  font-size: 22px;
  font-weight: 900;
  color: #a78bfa;
  color: var(--acgx-purple-light);
  filter: drop-shadow(0 0 6px rgba(109,40,217,0.7));
  filter: drop-shadow(0 0 6px var(--acgx-glow));
  line-height: 1;
}

.acgx-stat-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #a0a0a0;
  color: var(--acgx-text-sec);
}


/* ─── NUEVA ASIGNACIÓN ───────────────────────────────── */

.acgx-nueva-asignacion-zone {
  background: #050505;
  background: var(--acgx-card);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--acgx-border);
  border-radius: 16px;
  padding: 24px 28px;
}

.acgx-nueva-asignacion-zone h2 {
  font-family: 'Orbitron', monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #a78bfa;
  color: var(--acgx-purple-light);
  margin-bottom: 20px;
  text-transform: uppercase;
}

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

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

.acgx-form-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #a78bfa;
  color: var(--acgx-purple-light);
}

.acgx-correos-textarea,
.acgx-cliente-input-field,
.acgx-plataforma-input-field {
  width: 100%;
  background: #0d0d0d;
  background: var(--acgx-lighter);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--acgx-border);
  border-radius: 8px;
  border-radius: var(--acgx-radius-sm);
  padding: 11px 14px;
  color: #fff;
  color: var(--acgx-text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  transition: all 0.25s ease;
  transition: all var(--acgx-transition);
  resize: none;
}

.acgx-correos-textarea:focus,
.acgx-cliente-input-field:focus,
.acgx-plataforma-input-field:focus {
  border-color: #6d28d9;
  border-color: var(--acgx-purple);
  background: rgba(109,40,217,0.06);
  box-shadow: 0 0 12px rgba(109,40,217,0.7);
  box-shadow: 0 0 12px var(--acgx-glow);
}

.acgx-correos-textarea::placeholder,
.acgx-cliente-input-field::placeholder,
.acgx-plataforma-input-field::placeholder {
  color: #555;
  color: var(--acgx-text-muted);
}

.acgx-correos-badge {
  font-size: 11px;
  font-weight: 700;
  color: #22c55e;
  color: var(--acgx-success);
  letter-spacing: 0.3px;
}


/* ─── SUGGESTIONS ────────────────────────────────────── */

.acgx-input-suggestions-wrapper { position: relative; }

.acgx-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  background: #050505;
  background: var(--acgx-card);
  border: 1px solid rgba(109,40,217,0.35);
  border: 1px solid var(--acgx-border-light);
  border-radius: 8px;
  border-radius: var(--acgx-radius-sm);
  box-shadow: 0 8px 32px rgba(0,0,0,0.9), 0 0 20px rgba(109,40,217,0.7);
  box-shadow: 0 8px 32px rgba(0,0,0,0.9), 0 0 20px var(--acgx-glow);
  overflow: hidden;
  animation: dropIn 0.18s ease both;
}

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

.acgx-suggestion-item {
  padding: 12px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(109,40,217,0.2);
  border-bottom: 1px solid var(--acgx-border);
  transition: background 0.25s ease;
  transition: background var(--acgx-transition);
}

.acgx-suggestion-item:last-child { border-bottom: none; }

.acgx-suggestion-item:hover {
  background: #4c1d95;
  background: var(--acgx-purple-dark);
  border-left: 3px solid #6d28d9;
  border-left: 3px solid var(--acgx-purple);
}

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

.acgx-suggestion-nombre {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  color: var(--acgx-text);
}

.acgx-suggestion-uid {
  font-size: 10px;
  font-weight: 700;
  color: #a78bfa;
  color: var(--acgx-purple-light);
  background: rgba(109,40,217,0.15);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.acgx-suggestion-secondary {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.acgx-suggestion-mail,
.acgx-suggestion-tel {
  font-size: 11px;
  font-weight: 500;
  color: #a0a0a0;
  color: var(--acgx-text-sec);
}

.acgx-plataforma-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 3px solid transparent;
  transition: all 0.25s ease;
  transition: all var(--acgx-transition);
}

.acgx-plataforma-item:hover {
  border-left-color: #6d28d9;
  border-left-color: var(--acgx-plataforma-color, var(--acgx-purple));
}

.acgx-plataforma-emoji { font-size: 18px; }

.acgx-plataforma-titulo {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  color: var(--acgx-text);
}

.acgx-selected-cliente-badge,
.acgx-selected-plataforma-badge {
  font-size: 11px;
  font-weight: 700;
  color: #22c55e;
  color: var(--acgx-success);
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 6px;
  padding: 5px 10px;
  letter-spacing: 0.3px;
}


/* ─── ACTION BUTTON ──────────────────────────────────── */

.acgx-action-group {
  justify-content: flex-end;
  padding-top: 22px;
}

.acgx-btn-crear {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  background: linear-gradient(135deg, #4c1d95, #6d28d9);
  background: linear-gradient(135deg, var(--acgx-purple-dark), var(--acgx-purple));
  border: 1px solid #6d28d9;
  border: 1px solid var(--acgx-purple);
  border-radius: 8px;
  border-radius: var(--acgx-radius-sm);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
  transition: all var(--acgx-transition);
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(109,40,217,0.7);
  box-shadow: 0 0 18px var(--acgx-glow);
}

.acgx-btn-crear:hover:not(:disabled) {
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  background: linear-gradient(135deg, var(--acgx-purple), var(--acgx-purple-mid));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(109,40,217,0.7);
  box-shadow: 0 6px 24px var(--acgx-glow);
}

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


/* ─── CONTROLES ──────────────────────────────────────── */

.acgx-controles-zone {
  background: #050505;
  background: var(--acgx-card);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--acgx-border);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.acgx-controles-header h2 {
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #a78bfa;
  color: var(--acgx-purple-light);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.acgx-btn-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: #0d0d0d;
  background: var(--acgx-lighter);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--acgx-border);
  border-radius: 8px;
  border-radius: var(--acgx-radius-sm);
  color: #a0a0a0;
  color: var(--acgx-text-sec);
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  transition: all var(--acgx-transition);
}

.acgx-btn-toggle:hover:not(:disabled) {
  background: #4c1d95;
  background: var(--acgx-purple-dark);
  border-color: #6d28d9;
  border-color: var(--acgx-purple);
  color: #fff;
  color: var(--acgx-text);
  box-shadow: 0 0 14px rgba(109,40,217,0.7);
  box-shadow: 0 0 14px var(--acgx-glow);
}

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

.acgx-search-input {
  width: 100%;
  background: #0d0d0d;
  background: var(--acgx-lighter);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--acgx-border);
  border-radius: 8px;
  border-radius: var(--acgx-radius-sm);
  padding: 11px 44px 11px 40px;
  color: #fff;
  color: var(--acgx-text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  transition: all 0.25s ease;
  transition: all var(--acgx-transition);
}

.acgx-search-input:focus {
  border-color: #6d28d9;
  border-color: var(--acgx-purple);
  background: rgba(109,40,217,0.05);
  box-shadow: 0 0 14px rgba(109,40,217,0.7);
  box-shadow: 0 0 14px var(--acgx-glow);
}

.acgx-search-input::placeholder { color: #555; color: var(--acgx-text-muted); }

.acgx-search-icon {
  position: absolute;
  left: 13px;
  font-size: 15px;
  pointer-events: none;
}

.acgx-search-clear {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: #555;
  color: var(--acgx-text-muted);
  transition: color 0.25s ease;
  transition: color var(--acgx-transition);
  padding: 4px;
}

.acgx-search-clear:hover { color: #fff; color: var(--acgx-text); }


/* ─── TABLE ──────────────────────────────────────────── */

.acgx-table-container {
  background: #050505;
  background: var(--acgx-card);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--acgx-border);
  border-radius: 16px;
  overflow: hidden;
}

.acgx-table-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #6d28d9 transparent; scrollbar-color: var(--acgx-purple) transparent; }
.acgx-table-scroll::-webkit-scrollbar { height: 4px; }
.acgx-table-scroll::-webkit-scrollbar-thumb { background: #6d28d9; background: var(--acgx-purple); border-radius: 2px; }

.acgx-data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Rajdhani', sans-serif;
  min-width: 720px;
}

.acgx-data-table thead tr {
  background: linear-gradient(135deg, #4c1d95, #0d0d0d);
  background: linear-gradient(135deg, var(--acgx-purple-dark), var(--acgx-lighter));
  border-bottom: 1px solid rgba(109,40,217,0.35);
  border-bottom: 1px solid var(--acgx-border-light);
}

.acgx-data-table th {
  padding: 14px 16px;
  text-align: left;
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a78bfa;
  color: var(--acgx-purple-light);
  white-space: nowrap;
}

.acgx-data-row {
  border-bottom: 1px solid rgba(109,40,217,0.2);
  border-bottom: 1px solid var(--acgx-border);
  transition: background 0.25s ease;
  transition: background var(--acgx-transition);
}

.acgx-data-row:last-child { border-bottom: none; }

.acgx-data-row:hover { background: rgba(109,40,217,0.06); }

.acgx-data-row td { padding: 13px 16px; vertical-align: middle; }

.acgx-row-inactive { opacity: 0.5; }

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

.acgx-correo-value {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  color: var(--acgx-text);
  word-break: break-all;
}

.acgx-btn-copy {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 3px;
  opacity: 0.5;
  transition: opacity 0.25s ease;
  transition: opacity var(--acgx-transition);
  flex-shrink: 0;
}

.acgx-btn-copy:hover { opacity: 1; }

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

.acgx-cliente-name { font-size: 13px; font-weight: 700; color: #fff; color: var(--acgx-text); }

.acgx-cliente-mail { font-size: 11px; font-weight: 500; color: #a0a0a0; color: var(--acgx-text-sec); }

.acgx-cliente-id {
  font-size: 10px;
  font-weight: 700;
  color: #a78bfa;
  color: var(--acgx-purple-light);
  background: rgba(109,40,217,0.12);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--acgx-border);
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  display: inline-block;
  width: -webkit-fit-content;
  width: fit-content;
}

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

.acgx-plataforma-ico { font-size: 18px; flex-shrink: 0; }

.acgx-plataforma-nom { font-size: 13px; font-weight: 700; color: #fff; color: var(--acgx-text); }

.acgx-fecha-cell {
  font-size: 12px;
  font-weight: 600;
  color: #a0a0a0;
  color: var(--acgx-text-sec);
  white-space: nowrap;
}

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

.acgx-btn-edit,
.acgx-btn-delete,
.acgx-btn-save,
.acgx-btn-cancel {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border-radius: var(--acgx-radius-sm);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--acgx-border);
  background: #0d0d0d;
  background: var(--acgx-lighter);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  transition: all var(--acgx-transition);
}

.acgx-btn-edit:hover:not(:disabled) {
  background: rgba(109,40,217,0.2);
  border-color: #6d28d9;
  border-color: var(--acgx-purple);
  box-shadow: 0 0 10px rgba(109,40,217,0.7);
  box-shadow: 0 0 10px var(--acgx-glow);
}

.acgx-btn-delete:hover:not(:disabled) {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.4);
}

.acgx-btn-save:hover:not(:disabled) {
  background: rgba(34,197,94,0.15);
  border-color: rgba(34,197,94,0.4);
}

.acgx-btn-cancel:hover {
  background: rgba(239,68,68,0.12);
  border-color: rgba(239,68,68,0.3);
}

.acgx-edit-input {
  width: 100%;
  min-width: 180px;
  background: rgba(109,40,217,0.08);
  border: 1px solid #6d28d9;
  border: 1px solid var(--acgx-purple);
  border-radius: 6px;
  padding: 7px 10px;
  color: #fff;
  color: var(--acgx-text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  box-shadow: 0 0 10px rgba(109,40,217,0.7);
  box-shadow: 0 0 10px var(--acgx-glow);
}


/* ─── LOADING ────────────────────────────────────────── */

.acgx-loading-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  color: #a0a0a0;
  color: var(--acgx-text-sec);
  font-size: 14px;
  font-weight: 600;
}

.acgx-loading-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(109,40,217,0.2);
  border-top-color: #a78bfa;
  border-top-color: var(--acgx-purple-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
  display: inline-block;
}

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


/* ─── EMPTY / NO RESULTS ─────────────────────────────── */

.acgx-empty-state,
.acgx-no-results {
  background: #050505;
  background: var(--acgx-card);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--acgx-border);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
}

.acgx-empty-content,
.acgx-no-results-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.acgx-empty-icon,
.acgx-no-results-icon { font-size: 48px; }

.acgx-empty-state h3,
.acgx-no-results h3 {
  font-family: 'Orbitron', monospace;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  color: var(--acgx-text);
  letter-spacing: 0.5px;
}

.acgx-empty-state p,
.acgx-no-results p {
  font-size: 13px;
  font-weight: 500;
  color: #a0a0a0;
  color: var(--acgx-text-sec);
  max-width: 400px;
}

.acgx-empty-hint {
  font-size: 12px;
  font-weight: 600;
  color: #a78bfa;
  color: var(--acgx-purple-light);
  background: rgba(109,40,217,0.1);
  border: 1px solid rgba(109,40,217,0.35);
  border: 1px solid var(--acgx-border-light);
  border-radius: 8px;
  border-radius: var(--acgx-radius-sm);
  padding: 10px 16px;
  max-width: 480px;
  line-height: 1.5;
}

.acgx-clear-search {
  padding: 9px 18px;
  background: #0d0d0d;
  background: var(--acgx-lighter);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--acgx-border);
  border-radius: 8px;
  border-radius: var(--acgx-radius-sm);
  color: #a0a0a0;
  color: var(--acgx-text-sec);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  transition: all var(--acgx-transition);
}

.acgx-clear-search:hover {
  background: #4c1d95;
  background: var(--acgx-purple-dark);
  border-color: #6d28d9;
  border-color: var(--acgx-purple);
  color: #fff;
  color: var(--acgx-text);
  box-shadow: 0 0 12px rgba(109,40,217,0.7);
  box-shadow: 0 0 12px var(--acgx-glow);
}


/* ─── FOOTER ─────────────────────────────────────────── */

.acgx-footer-zone {
  padding: 14px 20px;
  background: #050505;
  background: var(--acgx-card);
  border: 1px solid rgba(109,40,217,0.2);
  border: 1px solid var(--acgx-border);
  border-radius: 8px;
  border-radius: var(--acgx-radius-sm);
}

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

.acgx-footer-info,
.acgx-footer-search,
.acgx-footer-structure {
  font-size: 11px;
  font-weight: 700;
  color: #a0a0a0;
  color: var(--acgx-text-sec);
  letter-spacing: 0.4px;
}

.acgx-footer-search { color: #a78bfa; color: var(--acgx-purple-light); }


/* ─── SCROLLBAR ──────────────────────────────────────── */

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #6d28d9; background: var(--acgx-purple); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #7c3aed; background: var(--acgx-purple-mid); }

::selection { background: rgba(109,40,217,0.3); color: #fff; }


/* ─── RESPONSIVE ─────────────────────────────────────── */

@media (max-width: 1024px) {
  .acgx-form-grid-horizontal {
    grid-template-columns: 1fr 1fr;
  }
  .acgx-action-group { grid-column: 1 / -1; padding-top: 0; }
  .acgx-btn-crear { width: 100%; }
}

@media (max-width: 640px) {
  .acgx-form-grid-horizontal { grid-template-columns: 1fr; }
  .acgx-header-zone { flex-direction: column; padding: 18px; }
  .acgx-nueva-asignacion-zone { padding: 18px; }
  .acgx-controles-header { flex-direction: column; align-items: flex-start; }
  .acgx-notifications-zone { left: 12px; right: 12px; max-width: none; max-width: initial; }
}

.edup-main-panel {
  width: 100%;
  min-height: 100vh;
  padding: 2rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
}

/* ========================================
   SISTEMA DE NOTIFICACIONES
   ======================================== */
.edup-notifications-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.edup-notification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-radius: 8px;
  background: rgba(30, 30, 30, 0.95);
  border-left: 4px solid;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: edup-slideIn 0.3s ease-out;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

@keyframes edup-slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.edup-notification-success {
  border-left-color: #4caf50;
}

.edup-notification-error {
  border-left-color: #f44336;
}

.edup-notification-warning {
  border-left-color: #ff9800;
}

.edup-notification-info {
  border-left-color: #2196f3;
}

.edup-notification-message {
  flex: 1 1;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
}

.edup-notification button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.edup-notification button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ========================================
   MODAL PERSONALIZADO
   ======================================== */
.edup-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: edup-fadeIn 0.2s ease-out;
}

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

.edup-modal-content {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 2px solid #6d28d9;
  animation: edup-scaleIn 0.3s ease-out;
}

@keyframes edup-scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.edup-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(109, 40, 217, 0.3);
}

.edup-modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #6d28d9;
  font-weight: 600;
}

.edup-modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.edup-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.edup-modal-body {
  padding: 2rem 1.5rem;
}

.edup-modal-body p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.edup-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid rgba(109, 40, 217, 0.3);
}

.edup-btn-modal-cancel,
.edup-btn-modal-confirm {
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.edup-btn-modal-cancel {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.edup-btn-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.2);
}

.edup-btn-modal-confirm {
  background: linear-gradient(135deg, #6d28d9 0%, #f7931e 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.3);
}

.edup-btn-modal-confirm:hover {
  background: linear-gradient(135deg, #f7931e 0%, #6d28d9 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(109, 40, 217, 0.4);
}

/* ========================================
   HEADER PRINCIPAL
   ======================================== */
.edup-header {
  background: linear-gradient(135deg, #6d28d9 0%, #f7931e 100%);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.3);
}

.edup-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.edup-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ========================================
   SECCIÓN DE BÚSQUEDA
   ======================================== */
.edup-search-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(109, 40, 217, 0.3);
}

.edup-search-container {
  margin-bottom: 1rem;
}

.edup-search-input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid rgba(109, 40, 217, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s;
}

.edup-search-input:focus {
  outline: none;
  border-color: #6d28d9;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.1);
}

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

.edup-search-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.edup-search-results-count {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.edup-search-actions button {
  padding: 6px 16px;
  background: rgba(109, 40, 217, 0.2);
  border: 1px solid #6d28d9;
  border-radius: 6px;
  color: #6d28d9;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.edup-search-actions button:hover {
  background: rgba(109, 40, 217, 0.3);
  transform: translateY(-1px);
}

/* ========================================
   ACCIONES EN LOTE
   ======================================== */
.edup-batch-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(109, 40, 217, 0.1);
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid rgba(109, 40, 217, 0.3);
}

.edup-batch-info {
  font-weight: 600;
  color: #6d28d9;
}

.edup-batch-buttons {
  display: flex;
  gap: 1rem;
}

.edup-btn-batch-ban,
.edup-btn-batch-unban {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.edup-btn-batch-ban {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.edup-btn-batch-ban:hover:not(:disabled) {
  background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 67, 54, 0.4);
}

.edup-btn-batch-unban {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.edup-btn-batch-unban:hover:not(:disabled) {
  background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

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

/* ========================================
   LISTA DE RESULTADOS
   ======================================== */
.edup-users-results-list {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  max-height: 500px;
  overflow-y: auto;
  border: 1px solid rgba(109, 40, 217, 0.2);
}

.edup-results-header {
  padding: 1rem 1.5rem;
  background: rgba(109, 40, 217, 0.1);
  border-bottom: 1px solid rgba(109, 40, 217, 0.2);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

.edup-no-results {
  padding: 3rem 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.edup-no-results p {
  font-size: 1.1rem;
  margin: 0;
}

.edup-user-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
}

.edup-user-result-item:hover {
  background: rgba(109, 40, 217, 0.1);
}

.edup-user-result-item.edup-user-banned {
  background: rgba(244, 67, 54, 0.1);
  border-left: 4px solid #f44336;
}

.edup-user-result-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1;
  cursor: pointer;
}

.edup-user-result-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d28d9 0%, #f7931e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.edup-user-result-info {
  flex: 1 1;
}

.edup-user-result-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.edup-user-result-details {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.edup-user-result-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.edup-status-badge {
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.edup-status-cliente {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid #4caf50;
}

.edup-status-baneado {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid #f44336;
}

.edup-status-admin {
  background: rgba(109, 40, 217, 0.2);
  color: #6d28d9;
  border: 1px solid #6d28d9;
}

.edup-banned-icon {
  font-size: 1.3rem;
}

/* ========================================
   CHECKBOX PERSONALIZADO
   ======================================== */
.edup-checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

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

.edup-checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(109, 40, 217, 0.5);
  border-radius: 4px;
  transition: all 0.2s;
}

.edup-checkbox-container:hover input ~ .edup-checkmark {
  background-color: rgba(109, 40, 217, 0.2);
  border-color: #6d28d9;
}

.edup-checkbox-container input:checked ~ .edup-checkmark {
  background-color: #6d28d9;
  border-color: #6d28d9;
}

.edup-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.edup-checkbox-container input:checked ~ .edup-checkmark:after {
  display: block;
}

.edup-checkbox-container .edup-checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ========================================
   SECCIÓN DE USUARIO SELECCIONADO
   ======================================== */
.edup-user-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(109, 40, 217, 0.3);
}

.edup-user-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(109, 40, 217, 0.3);
  margin-bottom: 2rem;
}

.edup-user-header-info {
  display: flex;
  gap: 1.5rem;
  flex: 1 1;
}

.edup-user-avatar-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d28d9 0%, #f7931e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.4);
}

.edup-user-header-details h2 {
  font-size: 2rem;
  margin: 0 0 0.5rem 0;
  color: #ffffff;
}

.edup-user-header-details p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1rem 0;
  font-family: 'Courier New', monospace;
}

.edup-user-header-status {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.edup-activity-badge {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.edup-activity-badge.edup-active {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid #4caf50;
}

.edup-activity-badge.edup-inactive {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid #f44336;
}

.edup-user-stats {
  display: flex;
  gap: 1.5rem;
}

.edup-stat-item {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(109, 40, 217, 0.1);
  padding: 6px 12px;
  border-radius: 6px;
}

.edup-user-header-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.edup-btn-ban,
.edup-btn-unban,
.edup-btn-close {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.edup-btn-ban {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.edup-btn-ban:hover:not(:disabled) {
  background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 67, 54, 0.4);
}

.edup-btn-unban {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.edup-btn-unban:hover:not(:disabled) {
  background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.edup-btn-close {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.edup-btn-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.edup-btn-ban:disabled,
.edup-btn-unban:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========================================
   FORMULARIO DE DATOS BÁSICOS
   ======================================== */
.edup-basic-data {
  margin-bottom: 2rem;
}

.edup-basic-data h3 {
  font-size: 1.5rem;
  color: #6d28d9;
  margin: 0 0 1.5rem 0;
}

.edup-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.edup-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.edup-form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6d28d9;
}

.edup-form-group input,
.edup-form-group select {
  padding: 12px 16px;
  border: 2px solid rgba(109, 40, 217, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.edup-form-group input:focus,
.edup-form-group select:focus {
  outline: none;
  border-color: #6d28d9;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.1);
}

.edup-form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.edup-form-group select {
  cursor: pointer;
}

.edup-form-group select option {
  background: #2d2d2d;
  color: #ffffff;
}

.edup-btn-save-changes {
  padding: 12px 32px;
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.edup-btn-save-changes:hover:not(:disabled) {
  background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.5);
}

.edup-btn-save-changes:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========================================
   TABLA DE CORREOS
   ======================================== */
.edup-emails-table-section {
  margin-top: 2rem;
}

.edup-emails-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.edup-emails-table-header h3 {
  font-size: 1.5rem;
  color: #6d28d9;
  margin: 0;
}

.edup-emails-batch-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.edup-btn-delete-selected {
  padding: 8px 16px;
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.edup-btn-delete-selected:hover:not(:disabled) {
  background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 67, 54, 0.4);
}

.edup-btn-delete-selected:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.edup-emails-table-container {
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(109, 40, 217, 0.2);
}

.edup-emails-table {
  width: 100%;
  border-collapse: collapse;
}

.edup-emails-table thead {
  background: linear-gradient(135deg, #6d28d9 0%, #f7931e 100%);
}

.edup-emails-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

.edup-emails-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
}

.edup-emails-table tbody tr:hover {
  background: rgba(109, 40, 217, 0.05);
}

.edup-emails-table td {
  padding: 14px 16px;
  color: #ffffff;
}

.edup-th-checkbox,
.edup-td-checkbox {
  width: 50px;
  text-align: center;
}

.edup-email-display {
  display: flex;
  align-items: center;
}

.edup-email-text {
  font-family: 'Courier New', monospace;
  color: #4caf50;
  font-weight: 500;
}

.edup-edit-email-input {
  width: 100%;
  padding: 8px 12px;
  border: 2px solid #6d28d9;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.edup-edit-email-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.2);
}

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

.edup-plataforma-icon {
  font-size: 1.3rem;
}

.edup-plataforma-nombre {
  font-weight: 600;
}

.edup-fecha-cell {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.edup-acciones-cell {
  display: flex;
  gap: 8px;
}

.edup-btn-table-save,
.edup-btn-table-cancel,
.edup-btn-table-edit,
.edup-btn-table-delete {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.edup-btn-table-save:hover {
  background: rgba(76, 175, 80, 0.3);
  transform: scale(1.1);
}

.edup-btn-table-cancel:hover {
  background: rgba(244, 67, 54, 0.3);
  transform: scale(1.1);
}

.edup-btn-table-edit:hover {
  background: rgba(33, 150, 243, 0.3);
  transform: scale(1.1);
}

.edup-btn-table-delete:hover {
  background: rgba(244, 67, 54, 0.3);
  transform: scale(1.1);
}

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

/* ========================================
   SIN CORREOS ASIGNADOS
   ======================================== */
.edup-no-emails-message {
  padding: 4rem 2rem;
  text-align: center;
}

.edup-no-emails-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.edup-no-emails-icon {
  font-size: 4rem;
  opacity: 0.5;
}

.edup-no-emails-content h3 {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.edup-no-emails-content p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ========================================
   ESTADO INICIAL (VACÍO)
   ======================================== */
.edup-empty-state {
  padding: 4rem 2rem;
  text-align: center;
}

.edup-empty-state-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.edup-empty-state-icon {
  font-size: 5rem;
  opacity: 0.5;
}

.edup-empty-state-content h3 {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.edup-empty-state-content > p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.edup-empty-state-tips {
  background: rgba(109, 40, 217, 0.1);
  border-left: 4px solid #6d28d9;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: left;
  width: 100%;
}

.edup-empty-state-tips p {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.edup-empty-state-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.edup-empty-state-tips li {
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .edup-user-header {
    flex-direction: column;
  }
  
  .edup-user-header-actions {
    width: 100%;
  }
  
  .edup-user-header-actions button {
    flex: 1 1;
  }
}

@media (max-width: 768px) {
  .edup-main-panel {
    padding: 1rem;
  }
  
  .edup-header {
    padding: 1.5rem;
  }
  
  .edup-header h1 {
    font-size: 1.8rem;
  }
  
  .edup-form-grid {
    grid-template-columns: 1fr;
  }
  
  .edup-notifications-container {
    left: 10px;
    right: 10px;
    max-width: none;
  }
  
  .edup-user-header-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .edup-user-stats {
    flex-direction: column;
    width: 100%;
  }
  
  .edup-emails-table-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .edup-emails-batch-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .edup-batch-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .edup-batch-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .edup-btn-batch-ban,
  .edup-btn-batch-unban {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .edup-header h1 {
    font-size: 1.5rem;
  }
  
  .edup-user-avatar-large {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }
  
  .edup-user-header-details h2 {
    font-size: 1.5rem;
  }
  
  .edup-user-result-avatar {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .edup-empty-state-icon {
    font-size: 3rem;
  }
  
  .edup-empty-state-content h3 {
    font-size: 1.5rem;
  }
}

:root {
  --crcl-green-primary: #6d28d9;
  --crcl-green-secondary: #4c1d95;
  --crcl-green-light: #a78bfa;
  --crcl-green-glow: rgba(109, 40, 217, 0.5);
  --crcl-bg-primary: #000000;
  --crcl-bg-secondary: #0d0d0d;
  --crcl-bg-tertiary: #1a1a1a;
  --crcl-bg-card: #050505;
  --crcl-text-primary: #ffffff;
  --crcl-text-secondary: #e0e0e0;
  --crcl-text-tertiary: #a0a0a0;
  --crcl-border-primary: rgba(109, 40, 217, 0.35);
  --crcl-border-secondary: rgba(255, 255, 255, 0.1);
  --crcl-success: #22c55e;
  --crcl-error: #ef4444;
  --crcl-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.crcl-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

/* ── HEADER ── */
.crcl-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
  background: linear-gradient(135deg, var(--crcl-green-primary) 0%, var(--crcl-green-secondary) 100%);
  border-radius: 16px;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 40px rgba(109, 40, 217, 0.5), 0 0 80px rgba(16, 185, 129, 0.2);
  box-shadow: 0 10px 40px var(--crcl-green-glow), 0 0 80px rgba(16, 185, 129, 0.2);
  position: relative;
  overflow: hidden;
}

.crcl-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: crcl-glow 8s ease-in-out infinite;
}

@keyframes crcl-glow {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-20%, -20%); }
}

.crcl-header-icon {
  font-size: 3.5rem;
  color: #ffffff;
  color: var(--crcl-text-primary);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  z-index: 1;
  animation: crcl-bounce 2s ease-in-out infinite;
}

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

.crcl-header-text {
  flex: 1 1;
  z-index: 1;
}

.crcl-header-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 0.8rem 0;
  color: #ffffff;
  color: var(--crcl-text-primary);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.5px;
}

.crcl-header-text p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-weight: 500;
}

/* ── CARD ── */
.crcl-card {
  background: #050505;
  background: var(--crcl-bg-card);
  border-radius: 16px;
  padding: 3rem;
  border: 2px solid rgba(109, 40, 217, 0.35);
  border: 2px solid var(--crcl-border-primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(16, 185, 129, 0.1) inset;
  position: relative;
  overflow: hidden;
}

.crcl-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6d28d9, #4c1d95, #6d28d9);
  background: linear-gradient(90deg, var(--crcl-green-primary), var(--crcl-green-secondary), var(--crcl-green-primary));
  background-size: 200% 100%;
  animation: crcl-slide 3s linear infinite;
}

@keyframes crcl-slide {
  to { background-position: 200% 0; }
}

/* ── FORM ── */
.crcl-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ── FIELDS ── */
.crcl-field {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.crcl-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #6d28d9;
  color: var(--crcl-green-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.crcl-label-text { flex: 1 1; }

.crcl-label-required {
  color: #ef4444;
  color: var(--crcl-error);
  font-size: 1.3rem;
}

.crcl-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.crcl-icon-left {
  position: absolute;
  left: 16px;
  color: #6d28d9;
  color: var(--crcl-green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}

.crcl-icon-right {
  position: absolute;
  right: 16px;
  color: #a0a0a0;
  color: var(--crcl-text-tertiary);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--crcl-transition);
}

.crcl-icon-right:hover {
  background: rgba(16, 185, 129, 0.2);
  color: #6d28d9;
  color: var(--crcl-green-primary);
  transform: scale(1.1);
}

.crcl-input {
  width: 100%;
  padding: 16px 18px 16px 52px;
  background: #0d0d0d;
  background: var(--crcl-bg-secondary);
  border: 2px solid rgba(109, 40, 217, 0.35);
  border: 2px solid var(--crcl-border-primary);
  border-radius: 10px;
  color: #ffffff;
  color: var(--crcl-text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--crcl-transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.crcl-input:focus {
  outline: none;
  border-color: #6d28d9;
  border-color: var(--crcl-green-primary);
  background: #1a1a1a;
  background: var(--crcl-bg-tertiary);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15),
              0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.crcl-input::placeholder {
  color: #a0a0a0;
  color: var(--crcl-text-tertiary);
  font-weight: 400;
}

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

.crcl-hint {
  font-size: 0.9rem;
  color: #a0a0a0;
  color: var(--crcl-text-tertiary);
  font-weight: 500;
  margin-top: 4px;
  padding-left: 4px;
}

/* ── PHONE SELECTOR ── */
.crcl-phone-group {
  display: flex;
  gap: 1rem;
}

.crcl-phone-selector {
  position: relative;
  min-width: 140px;
}

.crcl-phone-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: #0d0d0d;
  background: var(--crcl-bg-secondary);
  border: 2px solid rgba(109, 40, 217, 0.35);
  border: 2px solid var(--crcl-border-primary);
  border-radius: 10px;
  color: #ffffff;
  color: var(--crcl-text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--crcl-transition);
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.crcl-phone-toggle:hover:not(:disabled) {
  border-color: #6d28d9;
  border-color: var(--crcl-green-primary);
  background: #1a1a1a;
  background: var(--crcl-bg-tertiary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.crcl-phone-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.crcl-phone-flag  { font-size: 1.5rem; }

.crcl-phone-code {
  flex: 1 1;
  text-align: left;
  color: #6d28d9;
  color: var(--crcl-green-primary);
}

.crcl-phone-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  background: #0d0d0d;
  background: var(--crcl-bg-secondary);
  border: 2px solid #6d28d9;
  border: 2px solid var(--crcl-green-primary);
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  animation: crcl-slideDown 0.2s ease-out;
}

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

.crcl-phone-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: #e0e0e0;
  color: var(--crcl-text-secondary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--crcl-transition);
  width: 100%;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.crcl-phone-option:last-child  { border-bottom: none; }
.crcl-phone-option:hover       { background: rgba(16, 185, 129, 0.2); color: #ffffff; color: var(--crcl-text-primary); }
.crcl-phone-option.active      { background: rgba(16, 185, 129, 0.3); color: #6d28d9; color: var(--crcl-green-primary); font-weight: 700; }

.crcl-phone-option-flag { font-size: 1.5rem; }
.crcl-phone-option-name { flex: 1 1; }
.crcl-phone-option-code { color: #a0a0a0; color: var(--crcl-text-tertiary); font-size: 0.9rem; }

.crcl-phone-input-wrapper { flex: 1 1; }

/* ── ALERTS ── */
.crcl-alert {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  animation: crcl-slideIn 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.crcl-alert-error {
  background: rgba(244, 67, 54, 0.2);
  border: 2px solid #ef4444;
  border: 2px solid var(--crcl-error);
  color: #ff6b6b;
}

.crcl-alert svg { flex-shrink: 0; }

/* ── SUBMIT BUTTON ── */
.crcl-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 32px;
  background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
  background: linear-gradient(135deg, var(--crcl-green-primary) 0%, var(--crcl-green-secondary) 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  color: var(--crcl-text-primary);
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--crcl-transition);
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.5);
  box-shadow: 0 6px 20px var(--crcl-green-glow);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
}

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

.crcl-submit:hover:not(:disabled)::before { left: 100%; }
.crcl-submit:hover:not(:disabled)  { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(109, 40, 217, 0.5); box-shadow: 0 10px 30px var(--crcl-green-glow); }
.crcl-submit:active:not(:disabled) { transform: translateY(-1px); }
.crcl-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.crcl-submit.crcl-loading { pointer-events: none; }

.crcl-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-top-color: var(--crcl-text-primary);
  border-radius: 50%;
  animation: crcl-spin 0.7s linear infinite;
}

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

/* ── MODAL ── */
.crcl-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: crcl-fadeIn 0.3s ease-out;
}

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

.crcl-modal {
  width: 100%;
  max-width: 650px;
  background: #050505;
  background: var(--crcl-bg-card);
  border-radius: 20px;
  border: 2px solid #6d28d9;
  border: 2px solid var(--crcl-green-primary);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7),
              0 0 100px rgba(16, 185, 129, 0.3);
  animation: crcl-scaleIn 0.3s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes crcl-scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.crcl-modal-header {
  padding: 3rem 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
  background: linear-gradient(135deg, var(--crcl-green-primary) 0%, var(--crcl-green-secondary) 100%);
  border-radius: 18px 18px 0 0;
  position: relative;
  overflow: hidden;
}

.crcl-modal-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.crcl-modal-icon-success {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  color: var(--crcl-text-primary);
  animation: crcl-pulse 2s infinite;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

@keyframes crcl-pulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }
  50%       { transform: scale(1.08); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4); }
}

.crcl-modal-header h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 0.8rem 0;
  color: #ffffff;
  color: var(--crcl-text-primary);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.crcl-modal-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.crcl-modal-body { padding: 2.5rem; }

.crcl-modal-section { margin-bottom: 2rem; }

.crcl-modal-section h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #6d28d9;
  color: var(--crcl-green-primary);
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── CREDENTIALS BLOCK ── */
.crcl-credenciales-block {
  background: #0d0d0d;
  background: var(--crcl-bg-secondary);
  border: 2px solid rgba(109, 40, 217, 0.35);
  border: 2px solid var(--crcl-border-primary);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.crcl-credencial-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.crcl-credencial-line:last-child  { border-bottom: none; padding-bottom: 0; }
.crcl-credencial-line:first-child { padding-top: 0; }

.crcl-credencial-key {
  min-width: 120px;
  font-size: 1rem;
  font-weight: 700;
  color: #6d28d9;
  color: var(--crcl-green-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.crcl-credencial-val {
  flex: 1 1;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  color: var(--crcl-text-primary);
  background: rgba(16, 185, 129, 0.1);
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid #6d28d9;
  border: 1px solid var(--crcl-green-primary);
  font-family: 'Courier New', monospace;
  word-break: break-all;
}

/* ── COPY ALL BUTTON ── */
.crcl-btn-copy-all {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
  background: linear-gradient(135deg, var(--crcl-green-primary) 0%, var(--crcl-green-secondary) 100%);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  color: var(--crcl-text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--crcl-transition);
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.5);
  box-shadow: 0 4px 16px var(--crcl-green-glow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.crcl-btn-copy-all:hover  { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(109, 40, 217, 0.5); box-shadow: 0 6px 24px var(--crcl-green-glow); }
.crcl-btn-copy-all:active { transform: translateY(0); }

/* ── MODAL FOOTER ── */
.crcl-modal-footer {
  padding: 1.5rem 2.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid var(--crcl-border-secondary);
  display: flex;
  justify-content: center;
}

.crcl-btn-close {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(109, 40, 217, 0.35);
  border: 2px solid var(--crcl-border-primary);
  border-radius: 10px;
  color: #ffffff;
  color: var(--crcl-text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--crcl-transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.crcl-btn-close:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #6d28d9;
  border-color: var(--crcl-green-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

/* ── SCROLLBAR ── */
.crcl-phone-dropdown::-webkit-scrollbar,
.crcl-modal::-webkit-scrollbar {
  width: 10px;
}

.crcl-phone-dropdown::-webkit-scrollbar-track,
.crcl-modal::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
}

.crcl-phone-dropdown::-webkit-scrollbar-thumb,
.crcl-modal::-webkit-scrollbar-thumb {
  background: #6d28d9;
  background: var(--crcl-green-primary);
  border-radius: 5px;
  border: 2px solid #0d0d0d;
  border: 2px solid var(--crcl-bg-secondary);
}

.crcl-phone-dropdown::-webkit-scrollbar-thumb:hover,
.crcl-modal::-webkit-scrollbar-thumb:hover {
  background: #4c1d95;
  background: var(--crcl-green-secondary);
}

/* ── TOAST ── */
.crcl-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: #0d0d0d;
  background: var(--crcl-bg-secondary);
  border: 2px solid #6d28d9;
  border: 2px solid var(--crcl-green-primary);
  border-radius: 12px;
  color: #ffffff;
  color: var(--crcl-text-primary);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6),
              0 0 40px rgba(16, 185, 129, 0.4);
  z-index: 10001;
  animation: crcl-toastSlide 0.4s ease-out;
}

@keyframes crcl-toastSlide {
  from { transform: translateX(400px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

.crcl-toast-icon {
  width: 32px;
  height: 32px;
  background: #6d28d9;
  background: var(--crcl-green-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .crcl-container { padding: 0 1rem; }

  .crcl-header {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .crcl-header-text h2 { font-size: 2rem; }

  .crcl-card { padding: 2rem; }

  .crcl-phone-group { flex-direction: column; }

  .crcl-phone-selector { width: 100%; }

  .crcl-modal { margin: 20px; }

  .crcl-modal-body { padding: 2rem; }

  .crcl-credencial-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .crcl-credencial-key { min-width: auto; }

  .crcl-credencial-val { width: 100%; }
}

@media (max-width: 480px) {
  .crcl-header-icon { font-size: 3rem; }
  .crcl-header-text h2 { font-size: 1.8rem; }
  .crcl-header-text p  { font-size: 1rem; }
  .crcl-card  { padding: 1.5rem; }
  .crcl-form  { gap: 1.5rem; }

  .crcl-modal-header h3 { font-size: 1.8rem; }

  .crcl-modal-icon-success {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
  }

  .crcl-credenciales-block { padding: 1.5rem; }
  .crcl-credencial-key { font-size: 0.9rem; }
  .crcl-credencial-val { font-size: 1rem; }

  .crcl-toast {
    bottom: 20px;
    right: 20px;
    left: 20px;
    font-size: 0.95rem;
  }
}
/* PREFIX: chgpwd- (change password) - DARK MODE */

.chgpwd-container {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
  background: #0a0e27;
  min-height: 100vh;
}

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

.chgpwd-title-section h2 {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px 0;
  text-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.chgpwd-title-section p {
  color: #a0a0a0;
  margin: 0;
  font-size: 14px;
}

.chgpwd-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.chgpwd-search {
  position: relative;
}

.chgpwd-search-input {
  padding: 10px 16px;
  border: 2px solid #1e2640;
  border-radius: 8px;
  font-size: 14px;
  width: 280px;
  transition: all 0.3s ease;
  background: #12182e;
  color: #ffffff;
}

.chgpwd-search-input::placeholder {
  color: #666;
}

.chgpwd-search-input:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
  background: #1a2040;
}

.chgpwd-btn-refresh {
  padding: 10px 20px;
  background: #1e2640;
  border: 2px solid #2a3350;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  color: #ffffff;
}

.chgpwd-btn-refresh:hover {
  background: #4caf50;
  color: white;
  border-color: #4caf50;
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.4);
}

.chgpwd-btn-refresh:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chgpwd-mensaje {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  animation: chgpwdSlideDown 0.3s ease;
}

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

.chgpwd-mensaje-success {
  background: #1b4d1f;
  color: #4ade80;
  border: 1px solid #22c55e;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.chgpwd-mensaje-error {
  background: #4d1b1b;
  color: #f87171;
  border: 1px solid #ef4444;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.chgpwd-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 24px;
}

.chgpwd-stat-card {
  background: linear-gradient(135deg, #1e2640 0%, #12182e 100%);
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #2a3350;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.chgpwd-stat-card:hover {
  border-color: #4caf50;
  box-shadow: 0 0 30px rgba(76, 175, 80, 0.2);
  transform: translateY(-2px);
}

.chgpwd-stat-icon {
  font-size: 32px;
  filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.5));
}

.chgpwd-stat-info h3 {
  font-size: 24px;
  margin: 0 0 4px 0;
  color: #4caf50;
  font-weight: 700;
}

.chgpwd-stat-info p {
  margin: 0;
  color: #a0a0a0;
  font-size: 13px;
}

.chgpwd-table-container {
  background: #12182e;
  border-radius: 12px;
  border: 2px solid #1e2640;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.chgpwd-table {
  width: 100%;
  border-collapse: collapse;
}

.chgpwd-table thead {
  background: #1e2640;
}

.chgpwd-table th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  color: #4caf50;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #2a3350;
}

.chgpwd-table td {
  padding: 16px;
  border-bottom: 1px solid #1e2640;
  font-size: 14px;
  color: #e0e0e0;
}

.chgpwd-table tbody tr {
  transition: all 0.3s ease;
}

.chgpwd-table tbody tr:hover {
  background: #1a2040;
  box-shadow: inset 0 0 20px rgba(76, 175, 80, 0.1);
}

.chgpwd-user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chgpwd-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.chgpwd-user-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chgpwd-user-info strong {
  color: #ffffff;
  font-size: 14px;
}

.chgpwd-user-id {
  font-size: 12px;
  color: #666;
}

.chgpwd-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.chgpwd-badge-cliente {
  background: #1e3a5f;
  color: #60a5fa;
  border: 1px solid #3b82f6;
}

.chgpwd-badge-vendedor {
  background: #4a1e5f;
  color: #c084fc;
  border: 1px solid #a855f7;
}

.chgpwd-btn-cambiar {
  padding: 8px 16px;
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.chgpwd-btn-cambiar:hover {
  background: linear-gradient(135deg, #45a049 0%, #4caf50 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

.chgpwd-loading,
.chgpwd-empty {
  padding: 60px 20px;
  text-align: center;
  color: #a0a0a0;
}

.chgpwd-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #1e2640;
  border-top: 4px solid #4caf50;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: chgpwdSpin 1s linear infinite;
}

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

/* MODAL */
.chgpwd-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.chgpwd-modal {
  background: linear-gradient(135deg, #1e2640 0%, #12182e 100%);
  border-radius: 16px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 100px rgba(76, 175, 80, 0.2);
  border: 2px solid #2a3350;
  animation: chgpwdModalSlideIn 0.3s ease;
}

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

.chgpwd-modal-header {
  padding: 24px;
  border-bottom: 2px solid #2a3350;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chgpwd-modal-header h3 {
  margin: 0;
  font-size: 20px;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.chgpwd-modal-close {
  background: #1e2640;
  border: 2px solid #2a3350;
  font-size: 24px;
  cursor: pointer;
  color: #a0a0a0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.chgpwd-modal-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

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

.chgpwd-usuario-info {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #0a0e27;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 2px solid #2a3350;
}

.chgpwd-avatar-grande {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
}

.chgpwd-usuario-info h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  color: #ffffff;
}

.chgpwd-usuario-info p {
  margin: 0;
  font-size: 13px;
  color: #a0a0a0;
}

.chgpwd-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chgpwd-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chgpwd-input-group label {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}

.chgpwd-input-group small {
  font-size: 12px;
  color: #a0a0a0;
  font-style: italic;
}

.chgpwd-input {
  padding: 12px 16px;
  border: 2px solid #2a3350;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: inherit;
  background: #0a0e27;
  color: #ffffff;
}

.chgpwd-input::placeholder {
  color: #666;
}

.chgpwd-input:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
  background: #12182e;
}

.chgpwd-toggle-show {
  margin: -8px 0;
}

.chgpwd-toggle-show label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #a0a0a0;
}

.chgpwd-toggle-show input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.chgpwd-btn-generar {
  padding: 10px 16px;
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(33, 150, 243, 0.3);
}

.chgpwd-btn-generar:hover {
  background: linear-gradient(135deg, #1976d2 0%, #2196f3 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.5);
}

.chgpwd-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #2a3350 50%, transparent 100%);
  margin: 8px 0;
}

.chgpwd-admin-section {
  background: linear-gradient(135deg, #3d2a00 0%, #2a1d00 100%);
  padding: 16px;
  border-radius: 8px;
  border: 2px solid #ffc107;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.2);
}

.chgpwd-admin-section label {
  color: #ffc107;
}

.chgpwd-admin-section small {
  color: #ffb300;
  font-weight: 500;
}

.chgpwd-modal-footer {
  padding: 20px 24px;
  border-top: 2px solid #2a3350;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.chgpwd-btn-cancelar,
.chgpwd-btn-guardar {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.chgpwd-btn-cancelar {
  background: #1e2640;
  color: #a0a0a0;
  border: 2px solid #2a3350;
}

.chgpwd-btn-cancelar:hover {
  background: #2a3350;
  color: #ffffff;
}

.chgpwd-btn-guardar {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.chgpwd-btn-guardar:hover {
  background: linear-gradient(135deg, #45a049 0%, #4caf50 100%);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
  transform: translateY(-2px);
}

.chgpwd-btn-guardar:disabled,
.chgpwd-btn-cancelar:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* SCROLLBAR DARK */
.chgpwd-modal::-webkit-scrollbar {
  width: 8px;
}

.chgpwd-modal::-webkit-scrollbar-track {
  background: #0a0e27;
}

.chgpwd-modal::-webkit-scrollbar-thumb {
  background: #2a3350;
  border-radius: 4px;
}

.chgpwd-modal::-webkit-scrollbar-thumb:hover {
  background: #4caf50;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .chgpwd-container {
    padding: 16px;
  }

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

  .chgpwd-actions {
    width: 100%;
    flex-direction: column;
  }

  .chgpwd-search-input {
    width: 100%;
  }

  .chgpwd-table-container {
    overflow-x: auto;
  }

  .chgpwd-table {
    min-width: 800px;
  }
  
  .chgpwd-modal {
    max-width: 100%;
  }
}

/* MODAL DE AUTENTICACIÓN INICIAL */
.chgpwd-auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0a0e27;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.chgpwd-auth-modal {
  background: linear-gradient(135deg, #1e2640 0%, #12182e 100%);
  border-radius: 16px;
  max-width: 450px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 100px rgba(76, 175, 80, 0.2);
  border: 2px solid #2a3350;
  animation: chgpwdAuthSlideIn 0.4s ease;
}

@keyframes chgpwdAuthSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.chgpwd-auth-header {
  padding: 32px 32px 24px;
  text-align: center;
  border-bottom: 2px solid #2a3350;
}

.chgpwd-auth-header h2 {
  margin: 0 0 8px 0;
  font-size: 24px;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.chgpwd-auth-header p {
  margin: 0;
  color: #a0a0a0;
  font-size: 14px;
}

.chgpwd-auth-body {
  padding: 32px;
}

.chgpwd-auth-user {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #0a0e27;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 2px solid #2a3350;
}

.chgpwd-auth-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 0 30px rgba(255, 193, 7, 0.5);
}

.chgpwd-auth-user h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
  color: #ffffff;
}

.chgpwd-auth-user p {
  margin: 0;
  font-size: 13px;
  color: #4caf50;
  font-weight: 500;
}

.chgpwd-btn-auth {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
  margin-top: 8px;
}

.chgpwd-btn-auth:hover {
  background: linear-gradient(135deg, #45a049 0%, #4caf50 100%);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
  transform: translateY(-2px);
}

.chgpwd-btn-auth:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* INDICADOR DE PASOS */
.chgpwd-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
  padding: 20px;
  background: #0a0e27;
  border-radius: 12px;
  border: 2px solid #2a3350;
}

.chgpwd-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.chgpwd-step.active {
  opacity: 1;
}

.chgpwd-step.completed {
  opacity: 0.7;
}

.chgpwd-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1e2640;
  border: 2px solid #2a3350;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #666;
  transition: all 0.3s ease;
}

.chgpwd-step.active .chgpwd-step-number {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  border-color: #4caf50;
  color: white;
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.chgpwd-step.completed .chgpwd-step-number {
  background: #4caf50;
  border-color: #4caf50;
  color: white;
}

.chgpwd-step span {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.chgpwd-step.active span {
  color: #4caf50;
}

.chgpwd-step.completed span {
  color: #a0a0a0;
}

.chgpwd-step-line {
  width: 80px;
  height: 2px;
  background: #2a3350;
  position: relative;
}

:root {
  --admin-black: #000000;
  --admin-black-card: #050505;
  --admin-black-lighter: #0d0d0d;

  --admin-red: #6d28d9;
  --admin-red-light: #7c3aed;
  --admin-red-dark: #4c1d95;

  --admin-gold: #a78bfa;
  --admin-gold-light: #c4b5fd;
  --admin-gold-dark: #7c3aed;

  --admin-border: rgba(109, 40, 217, 0.2);
  --admin-border-light: rgba(109, 40, 217, 0.35);
  --admin-glow-red: rgba(109, 40, 217, 0.7);
  --admin-glow-gold: rgba(167, 139, 250, 0.5);

  --admin-text: #ffffff;
  --admin-text-secondary: #a0a0a0;
  --admin-text-muted: #555555;

  --admin-success: #0d7350;
  --admin-warning: #d97706;
  --admin-error: #7c3aed;
}

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

/* ========================================
   CONTENEDOR PRINCIPAL
   ======================================== */

.eliminar-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
  max-width: 100%;
  font-family: 'Rajdhani', sans-serif;
  color: #ffffff;
  color: var(--admin-text);
}

/* ========================================
   NOTIFICACIONES
   ======================================== */

.eliminar-notifications-zone {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
}

.eliminar-notification {
  background: #050505;
  background: var(--admin-black-card);
  border: 1px solid rgba(109, 40, 217, 0.35);
  border: 1px solid var(--admin-border-light);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.9);
  animation: slideInRight 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

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

.eliminar-notification-success {
  border-left: 4px solid #0d7350;
  border-left: 4px solid var(--admin-success);
  box-shadow: 0 0 20px rgba(13, 115, 80, 0.3);
}

.eliminar-notification-error {
  border-left: 4px solid #7c3aed;
  border-left: 4px solid var(--admin-error);
  box-shadow: 0 0 20px rgba(139, 0, 0, 0.5);
}

.eliminar-notification-warning {
  border-left: 4px solid #d97706;
  border-left: 4px solid var(--admin-warning);
  box-shadow: 0 0 20px rgba(217, 119, 6, 0.3);
}

.eliminar-notification-info {
  border-left: 4px solid #a78bfa;
  border-left: 4px solid var(--admin-gold);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
  box-shadow: 0 0 20px var(--admin-glow-gold);
}

.eliminar-notification-body {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
}

.eliminar-notification-emoji {
  font-size: 20px;
  flex-shrink: 0;
}

.eliminar-notification-text {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  color: var(--admin-text);
  letter-spacing: 0.3px;
  line-height: 1.4;
}

.eliminar-notification-dismiss {
  background: transparent;
  border: none;
  color: #a0a0a0;
  color: var(--admin-text-secondary);
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.eliminar-notification-dismiss:hover {
  color: #7c3aed;
  color: var(--admin-red-light);
  transform: scale(1.1);
}

/* ========================================
   HEADER
   ======================================== */

.eliminar-header {
  background: linear-gradient(135deg, #4c1d95, #050505);
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-black-card));
  border: 1px solid rgba(109, 40, 217, 0.35);
  border: 1px solid var(--admin-border-light);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 0 30px rgba(109, 40, 217, 0.7);
  box-shadow: 0 0 30px var(--admin-glow-red);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.eliminar-title-section h1 {
  font-family: 'Orbitron', monospace;
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  color: var(--admin-text);
  margin: 0 0 8px 0;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(109, 40, 217, 0.7);
  text-shadow: 0 0 20px var(--admin-glow-red);
}

.eliminar-title-section p {
  font-size: 14px;
  font-weight: 500;
  color: #a0a0a0;
  color: var(--admin-text-secondary);
  margin: 0;
  letter-spacing: 0.3px;
}

.eliminar-stats {
  display: flex;
  gap: 16px;
}

.stat-card {
  background: #0d0d0d;
  background: var(--admin-black-lighter);
  border: 1px solid rgba(109, 40, 217, 0.2);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 100px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: #6d28d9;
  border-color: var(--admin-red);
  transform: translateY(-2px);
}

.stat-number {
  font-family: 'Orbitron', monospace;
  font-size: 32px;
  font-weight: 900;
  color: #a78bfa;
  color: var(--admin-gold);
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.5));
  filter: drop-shadow(0 0 10px var(--admin-glow-gold));
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: #a0a0a0;
  color: var(--admin-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.eliminar-form-zone {
  background: #050505;
  background: var(--admin-black-card);
  border: 1px solid rgba(109, 40, 217, 0.2);
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.eliminar-form-zone h2 {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  color: var(--admin-text);
  margin: 0 0 24px 0;
  letter-spacing: 0.5px;
}

.eliminar-form-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 20px;
}

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

.eliminar-form-group label {
  font-size: 14px;
  font-weight: 700;
  color: #a78bfa;
  color: var(--admin-gold);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.eliminar-correos-group {
  grid-row: span 2;
}

.eliminar-correos-textarea {
  background: #0d0d0d;
  background: var(--admin-black-lighter);
  border: 1px solid rgba(109, 40, 217, 0.2);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 14px 18px;
  color: #ffffff;
  color: var(--admin-text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  resize: vertical;
  min-height: 180px;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  line-height: 1.6;
}

.eliminar-correos-textarea::placeholder {
  color: #555555;
  color: var(--admin-text-muted);
}

.eliminar-correos-textarea:focus {
  outline: none;
  border-color: #6d28d9;
  border-color: var(--admin-red);
  box-shadow: 0 0 20px rgba(109, 40, 217, 0.7);
  box-shadow: 0 0 20px var(--admin-glow-red);
  background: #000000;
  background: var(--admin-black);
}

.eliminar-correos-badge {
  background: linear-gradient(135deg, #4c1d95, #6d28d9);
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-red));
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
  box-shadow: 0 0 15px rgba(109, 40, 217, 0.7);
  box-shadow: 0 0 15px var(--admin-glow-red);
  border: 1px solid #6d28d9;
  border: 1px solid var(--admin-red);
}

.eliminar-input-suggestions-wrapper {
  position: relative;
}

.eliminar-input-field {
  width: 100%;
  background: #0d0d0d;
  background: var(--admin-black-lighter);
  border: 1px solid rgba(109, 40, 217, 0.2);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 14px 18px;
  color: #ffffff;
  color: var(--admin-text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.eliminar-input-field::placeholder {
  color: #555555;
  color: var(--admin-text-muted);
}

.eliminar-input-field:focus {
  outline: none;
  border-color: #6d28d9;
  border-color: var(--admin-red);
  box-shadow: 0 0 20px rgba(109, 40, 217, 0.7);
  box-shadow: 0 0 20px var(--admin-glow-red);
  background: #000000;
  background: var(--admin-black);
}

.eliminar-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #050505;
  background: var(--admin-black-card);
  border: 1px solid rgba(109, 40, 217, 0.35);
  border: 1px solid var(--admin-border-light);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.95);
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  animation: dropdownSlideIn 0.3s ease;
}

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

.eliminar-suggestion-item {
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(109, 40, 217, 0.2);
  border-bottom: 1px solid var(--admin-border);
}

.eliminar-suggestion-item:last-child {
  border-bottom: none;
}

.eliminar-suggestion-item:hover {
  background: #0d0d0d;
  background: var(--admin-black-lighter);
  border-left: 3px solid #6d28d9;
  border-left: 3px solid var(--admin-red);
}

.eliminar-suggestion-primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.eliminar-suggestion-nombre {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  color: var(--admin-text);
  letter-spacing: 0.3px;
}

.eliminar-suggestion-uid {
  font-size: 11px;
  font-weight: 600;
  color: #a78bfa;
  color: var(--admin-gold);
  background: rgba(184, 134, 11, 0.15);
  padding: 3px 8px;
  border-radius: 6px;
}

.eliminar-suggestion-secondary {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eliminar-suggestion-mail {
  font-size: 12px;
  font-weight: 500;
  color: #a0a0a0;
  color: var(--admin-text-secondary);
}

.eliminar-plataforma-emoji {
  font-size: 18px;
  margin-right: 10px;
}

.eliminar-plataforma-titulo {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  color: var(--admin-text);
}

.eliminar-selected-badge {
  background: linear-gradient(135deg, #0d7350, #0a5f41);
  background: linear-gradient(135deg, var(--admin-success), #0a5f41);
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
  box-shadow: 0 0 15px rgba(13, 115, 80, 0.5);
  border: 1px solid #0d7350;
  border: 1px solid var(--admin-success);
}

.eliminar-actions-group {
  grid-column: span 3;
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.btn-analizar,
.btn-limpiar {
  padding: 14px 28px;
  border-radius: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-analizar {
  flex: 2 1;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  background: linear-gradient(135deg, var(--admin-gold-dark), var(--admin-gold));
  color: white;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
  box-shadow: 0 0 20px var(--admin-glow-gold);
  border: 1px solid #a78bfa;
  border: 1px solid var(--admin-gold);
}

.btn-analizar:hover:not(:disabled) {
  background: linear-gradient(135deg, #a78bfa, #c4b5fd);
  background: linear-gradient(135deg, var(--admin-gold), var(--admin-gold-light));
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(167, 139, 250, 0.5);
  box-shadow: 0 6px 30px var(--admin-glow-gold);
}

.btn-limpiar {
  flex: 1 1;
  background: #0d0d0d;
  background: var(--admin-black-lighter);
  border: 1px solid rgba(109, 40, 217, 0.2);
  border: 1px solid var(--admin-border);
  color: #ffffff;
  color: var(--admin-text);
}

.btn-limpiar:hover:not(:disabled) {
  background: #4c1d95;
  background: var(--admin-red-dark);
  border-color: #6d28d9;
  border-color: var(--admin-red);
  transform: translateY(-2px);
}

.btn-analizar:disabled,
.btn-limpiar:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ========================================
   RESULTADO ANÁLISIS
   ======================================== */

.eliminar-resultado-zone {
  background: #050505;
  background: var(--admin-black-card);
  border: 1px solid rgba(109, 40, 217, 0.2);
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.4s ease;
}

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

.eliminar-resultado-zone h2 {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  color: var(--admin-text);
  margin: 0 0 24px 0;
  letter-spacing: 0.5px;
}

.resultado-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 28px;
}

.resultado-stat-card {
  background: #0d0d0d;
  background: var(--admin-black-lighter);
  border: 1px solid rgba(109, 40, 217, 0.2);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.resultado-stat-card:hover {
  transform: translateY(-4px);
}

.resultado-total {
  border-color: #a78bfa;
  border-color: var(--admin-gold);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
  box-shadow: 0 0 20px var(--admin-glow-gold);
}

.resultado-existentes {
  border-color: #0d7350;
  border-color: var(--admin-success);
  box-shadow: 0 0 20px rgba(13, 115, 80, 0.5);
}

.resultado-no-existentes {
  border-color: #7c3aed;
  border-color: var(--admin-error);
  box-shadow: 0 0 20px rgba(139, 0, 0, 0.5);
}

.resultado-duplicados {
  border-color: #d97706;
  border-color: var(--admin-warning);
  box-shadow: 0 0 20px rgba(217, 119, 6, 0.5);
}

.resultado-stat-icon {
  font-size: 32px;
}

.resultado-stat-number {
  font-family: 'Orbitron', monospace;
  font-size: 36px;
  font-weight: 900;
  color: #a78bfa;
  color: var(--admin-gold);
}

.resultado-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: #a0a0a0;
  color: var(--admin-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.resultado-section {
  background: #0d0d0d;
  background: var(--admin-black-lighter);
  border: 1px solid rgba(109, 40, 217, 0.2);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.resultado-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  color: var(--admin-text);
  margin: 0 0 16px 0;
  letter-spacing: 0.3px;
}

.resultado-existentes-section {
  border-left: 4px solid #0d7350;
  border-left: 4px solid var(--admin-success);
}

.resultado-no-existentes-section {
  border-left: 4px solid #7c3aed;
  border-left: 4px solid var(--admin-error);
}

.resultado-duplicados-section {
  border-left: 4px solid #d97706;
  border-left: 4px solid var(--admin-warning);
}

.resultado-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.resultado-item {
  background: #050505;
  background: var(--admin-black-card);
  border: 1px solid rgba(109, 40, 217, 0.2);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.resultado-item:hover {
  transform: translateX(4px);
}

.resultado-item-existe {
  border-left: 3px solid #0d7350;
  border-left: 3px solid var(--admin-success);
}

.resultado-item-no-existe {
  border-left: 3px solid #7c3aed;
  border-left: 3px solid var(--admin-error);
}

.resultado-item-duplicado {
  border-left: 3px solid #d97706;
  border-left: 3px solid var(--admin-warning);
}

.resultado-item-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.resultado-item-correo {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  color: var(--admin-text);
  word-break: break-all;
  letter-spacing: 0.3px;
}

/* ========================================
   CONFIRMACIÓN ELIMINACIÓN
   ======================================== */

.eliminar-confirmacion-zone {
  margin-top: 28px;
  padding: 24px;
  background: linear-gradient(135deg, #4c1d95, #050505);
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-black-card));
  border: 2px solid #6d28d9;
  border: 2px solid var(--admin-red);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 0 30px rgba(109, 40, 217, 0.7);
  box-shadow: 0 0 30px var(--admin-glow-red);
}

.btn-eliminar-confirmado {
  background: linear-gradient(135deg, #4c1d95, #6d28d9);
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-red));
  color: white;
  padding: 16px 40px;
  border-radius: 14px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #7c3aed;
  border: 1px solid var(--admin-red-light);
  box-shadow: 0 0 25px rgba(109, 40, 217, 0.7);
  box-shadow: 0 0 25px var(--admin-glow-red);
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-eliminar-confirmado:hover:not(:disabled) {
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  background: linear-gradient(135deg, var(--admin-red), var(--admin-red-light));
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px rgba(109, 40, 217, 0.7);
  box-shadow: 0 8px 40px var(--admin-glow-red);
}

.btn-eliminar-confirmado:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.eliminar-loading-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.eliminar-advertencia {
  font-size: 13px;
  font-weight: 600;
  color: #a0a0a0;
  color: var(--admin-text-secondary);
  text-align: center;
  letter-spacing: 0.3px;
  line-height: 1.5;
}

.eliminar-advertencia strong {
  color: #a78bfa;
  color: var(--admin-gold);
  font-weight: 700;
}

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

@media (max-width: 1200px) {
  .eliminar-form-grid {
    grid-template-columns: 1fr;
  }

  .eliminar-correos-group {
    grid-row: auto;
  }

  .eliminar-actions-group {
    grid-column: auto;
  }

  .resultado-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .eliminar-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .eliminar-title-section h1 {
    font-size: 22px;
  }

  .eliminar-stats {
    width: 100%;
    justify-content: space-between;
  }

  .stat-card {
    flex: 1 1;
    min-width: 0;
    padding: 12px 16px;
  }

  .stat-number {
    font-size: 28px;
  }

  .eliminar-form-zone,
  .eliminar-resultado-zone {
    padding: 20px;
  }

  .eliminar-actions-group {
    flex-direction: column;
  }

  .resultado-stats-grid {
    grid-template-columns: 1fr;
  }

  .resultado-list {
    grid-template-columns: 1fr;
  }

  .eliminar-notifications-zone {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .eliminar-header {
    padding: 16px;
  }

  .eliminar-title-section h1 {
    font-size: 20px;
  }

  .eliminar-title-section p {
    font-size: 12px;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 11px;
  }

  .eliminar-form-zone h2,
  .eliminar-resultado-zone h2 {
    font-size: 18px;
  }

  .btn-eliminar-confirmado {
    padding: 14px 24px;
    font-size: 14px;
  }
}

/* ========================================
   SCROLLBAR
   ======================================== */

.eliminar-suggestions-dropdown::-webkit-scrollbar,
.resultado-list::-webkit-scrollbar {
  width: 6px;
}

.eliminar-suggestions-dropdown::-webkit-scrollbar-track,
.resultado-list::-webkit-scrollbar-track {
  background: #000000;
  background: var(--admin-black);
  border-radius: 10px;
}

.eliminar-suggestions-dropdown::-webkit-scrollbar-thumb,
.resultado-list::-webkit-scrollbar-thumb {
  background: #6d28d9;
  background: var(--admin-red);
  border-radius: 10px;
}

.eliminar-suggestions-dropdown::-webkit-scrollbar-thumb:hover,
.resultado-list::-webkit-scrollbar-thumb:hover {
  background: #7c3aed;
  background: var(--admin-red-light);
}



/* Badge mejorado para mostrar cliente con cuentas */
.eliminar-cliente-info-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #00d68f 0%, #00b377 100%);
  border-radius: 8px;
  margin-top: 8px;
}

.badge-nombre {
  font-weight: 600;
  color: white;
  font-size: 14px;
}

.badge-cuentas {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
/* ===== ELIMINACIÓN RADICAL ===== */
.eliminar-radical-zone {
  background: linear-gradient(135deg, #4c1d95, #050505);
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-black-card));
  border: 2px solid #6d28d9;
  border: 2px solid var(--admin-red);
  box-shadow: 0 8px 32px rgba(109, 40, 217, 0.7);
  box-shadow: 0 8px 32px var(--admin-glow-red);
}

.eliminar-radical-zone h2 {
  font-family: 'Orbitron', monospace;
  color: #a78bfa;
  color: var(--admin-gold);
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
  text-shadow: 0 0 20px var(--admin-glow-gold);
  font-weight: 900;
  letter-spacing: 1px;
}

.eliminar-radical-zone label {
  color: #a78bfa;
  color: var(--admin-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.eliminar-form-grid-radical {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eliminar-form-group-full {
  width: 100%;
}

.eliminar-correos-textarea-radical {
  width: 100%;
  min-height: 200px;
  padding: 16px;
  background: #0d0d0d;
  background: var(--admin-black-lighter);
  border: 2px solid #6d28d9;
  border: 2px solid var(--admin-red);
  border-radius: 12px;
  font-family: 'Rajdhani', monospace;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  color: #ffffff;
  color: var(--admin-text);
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.eliminar-correos-textarea-radical::placeholder {
  color: #555555;
  color: var(--admin-text-muted);
}

.eliminar-correos-textarea-radical:focus {
  outline: none;
  border-color: #7c3aed;
  border-color: var(--admin-red-light);
  box-shadow: 0 0 25px rgba(109, 40, 217, 0.7);
  box-shadow: 0 0 25px var(--admin-glow-red);
  background: #000000;
  background: var(--admin-black);
}

.btn-buscar-radical {
  padding: 18px 36px;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  background: linear-gradient(135deg, var(--admin-gold-dark), var(--admin-gold));
  color: white;
  border: 1px solid #a78bfa;
  border: 1px solid var(--admin-gold);
  border-radius: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(167, 139, 250, 0.5);
  box-shadow: 0 6px 20px var(--admin-glow-gold);
}

.btn-buscar-radical:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(167, 139, 250, 0.5);
  box-shadow: 0 8px 30px var(--admin-glow-gold);
  background: linear-gradient(135deg, #a78bfa, #c4b5fd);
  background: linear-gradient(135deg, var(--admin-gold), var(--admin-gold-light));
}

.btn-buscar-radical:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #0d0d0d;
  background: var(--admin-black-lighter);
  color: #555555;
  color: var(--admin-text-muted);
  border-color: rgba(109, 40, 217, 0.2);
  border-color: var(--admin-border);
}

/* RESULTADOS RADICALES */
.eliminar-resultado-radical {
  margin-top: 30px;
  background: #050505;
  background: var(--admin-black-card);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(109, 40, 217, 0.2);
  border: 1px solid var(--admin-border);
}

.resultado-radical-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(109, 40, 217, 0.2);
  border-bottom: 2px solid var(--admin-border);
}

.resultado-radical-header h3 {
  font-family: 'Orbitron', monospace;
  color: #a78bfa;
  color: var(--admin-gold);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.resultado-radical-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.resultado-radical-stats span {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  border: 1px solid;
}

.stat-encontrados {
  background: linear-gradient(135deg, #0d7350, #0a5f41);
  background: linear-gradient(135deg, var(--admin-success), #0a5f41);
  color: white;
  border-color: #0d7350;
  border-color: var(--admin-success);
  box-shadow: 0 4px 12px rgba(13, 115, 80, 0.4);
}

.stat-no-encontrados {
  background: linear-gradient(135deg, #7c3aed, #4c1d95);
  background: linear-gradient(135deg, var(--admin-error), var(--admin-red-dark));
  color: white;
  border-color: #7c3aed;
  border-color: var(--admin-error);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.7);
  box-shadow: 0 4px 12px var(--admin-glow-red);
}

.stat-seleccionados {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  background: linear-gradient(135deg, var(--admin-gold-dark), var(--admin-gold));
  color: white;
  border-color: #a78bfa;
  border-color: var(--admin-gold);
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.5);
  box-shadow: 0 4px 12px var(--admin-glow-gold);
}

/* PAGINACIÓN */
.paginacion-controles {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 16px;
  background: #0d0d0d;
  background: var(--admin-black-lighter);
  border-radius: 12px;
  border: 1px solid rgba(109, 40, 217, 0.2);
  border: 1px solid var(--admin-border);
}

.paginacion-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  color: var(--admin-text);
  font-weight: 600;
}

.paginacion-selector label {
  color: #a0a0a0;
  color: var(--admin-text-secondary);
  text-transform: none;
  font-weight: 600;
}

.paginacion-selector select {
  padding: 8px 16px;
  border: 2px solid rgba(109, 40, 217, 0.2);
  border: 2px solid var(--admin-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  background: #000000;
  background: var(--admin-black);
  color: #a78bfa;
  color: var(--admin-gold);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.paginacion-selector select:focus {
  outline: none;
  border-color: #6d28d9;
  border-color: var(--admin-red);
  box-shadow: 0 0 15px rgba(109, 40, 217, 0.7);
  box-shadow: 0 0 15px var(--admin-glow-red);
}

.paginacion-info {
  font-weight: 700;
  color: #a78bfa;
  color: var(--admin-gold);
  font-family: 'Orbitron', monospace;
  letter-spacing: 0.5px;
}

/* TABLA RESULTADOS */
.tabla-resultados-radical {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 12px;
}

.tabla-correos-radical {
  width: 100%;
  border-collapse: collapse;
  background: #0d0d0d;
  background: var(--admin-black-lighter);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(109, 40, 217, 0.2);
  border: 1px solid var(--admin-border);
}

.tabla-correos-radical thead {
  background: linear-gradient(135deg, #4c1d95, #6d28d9);
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-red));
  color: white;
}

.tabla-correos-radical th {
  padding: 16px;
  text-align: left;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Orbitron', monospace;
}

.th-checkbox {
  width: 50px;
  text-align: center;
}

.tabla-correos-radical thead input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #a78bfa;
  accent-color: var(--admin-gold);
}

.tabla-correos-radical tbody tr {
  border-bottom: 1px solid rgba(109, 40, 217, 0.2);
  border-bottom: 1px solid var(--admin-border);
  transition: all 0.2s ease;
}

.tabla-correos-radical tbody tr:hover {
  background: rgba(139, 0, 0, 0.1);
}

.tabla-correos-radical tbody tr.selected {
  background: rgba(184, 134, 11, 0.15);
  border-left: 4px solid #a78bfa;
  border-left: 4px solid var(--admin-gold);
}

.tabla-correos-radical td {
  padding: 14px 16px;
  font-size: 14px;
  color: #ffffff;
  color: var(--admin-text);
  font-weight: 600;
}

.tabla-correos-radical tbody input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #6d28d9;
  accent-color: var(--admin-red);
}

.td-correo {
  font-family: 'Rajdhani', monospace;
  font-weight: 700;
  color: #a78bfa;
  color: var(--admin-gold);
  letter-spacing: 0.3px;
}

.td-clientes {
  color: #a0a0a0;
  color: var(--admin-text-secondary);
  font-size: 13px;
}

.td-plataformas {
  color: #a0a0a0;
  color: var(--admin-text-secondary);
  font-size: 13px;
}

.td-impacto {
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 6px;
  text-align: center;
  font-family: 'Orbitron', monospace;
  letter-spacing: 0.5px;
  border: 1px solid;
}

.td-impacto.safe {
  background: linear-gradient(135deg, #0d7350, #0a5f41);
  background: linear-gradient(135deg, var(--admin-success), #0a5f41);
  color: white;
  border-color: #0d7350;
  border-color: var(--admin-success);
  box-shadow: 0 2px 8px rgba(13, 115, 80, 0.4);
}

.td-impacto.warning {
  background: linear-gradient(135deg, #d97706, #b45309);
  background: linear-gradient(135deg, var(--admin-warning), #b45309);
  color: white;
  border-color: #d97706;
  border-color: var(--admin-warning);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4);
}

.td-impacto.danger {
  background: linear-gradient(135deg, #7c3aed, #4c1d95);
  background: linear-gradient(135deg, var(--admin-error), var(--admin-red-dark));
  color: white;
  border-color: #7c3aed;
  border-color: var(--admin-error);
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.7);
  box-shadow: 0 2px 8px var(--admin-glow-red);
}

/* NAVEGACIÓN DE PÁGINAS */
.paginacion-navegacion {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.btn-paginacion {
  padding: 10px 20px;
  background: #0d0d0d;
  background: var(--admin-black-lighter);
  border: 2px solid #6d28d9;
  border: 2px solid var(--admin-red);
  border-radius: 8px;
  font-weight: 700;
  color: #a78bfa;
  color: var(--admin-gold);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-paginacion:hover:not(:disabled) {
  background: #6d28d9;
  background: var(--admin-red);
  color: white;
  border-color: #7c3aed;
  border-color: var(--admin-red-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(109, 40, 217, 0.7);
  box-shadow: 0 4px 15px var(--admin-glow-red);
}

.btn-paginacion:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: rgba(109, 40, 217, 0.2);
  border-color: var(--admin-border);
  color: #555555;
  color: var(--admin-text-muted);
}

.paginacion-numeros {
  display: flex;
  gap: 6px;
}

.btn-pagina {
  width: 40px;
  height: 40px;
  padding: 0;
  background: #0d0d0d;
  background: var(--admin-black-lighter);
  border: 2px solid rgba(109, 40, 217, 0.2);
  border: 2px solid var(--admin-border);
  border-radius: 8px;
  font-weight: 700;
  color: #ffffff;
  color: var(--admin-text);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Orbitron', monospace;
}

.btn-pagina:hover {
  background: rgba(139, 0, 0, 0.2);
  border-color: #6d28d9;
  border-color: var(--admin-red);
  transform: translateY(-2px);
  color: #a78bfa;
  color: var(--admin-gold);
}

.btn-pagina.active {
  background: linear-gradient(135deg, #4c1d95, #6d28d9);
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-red));
  color: white;
  border-color: #7c3aed;
  border-color: var(--admin-red-light);
  box-shadow: 0 4px 15px rgba(109, 40, 217, 0.7);
  box-shadow: 0 4px 15px var(--admin-glow-red);
  font-weight: 900;
}

/* BOTÓN ELIMINAR RADICAL */
.eliminar-confirmacion-radical {
  margin-top: 30px;
  padding: 24px;
  background: linear-gradient(135deg, #4c1d95, rgba(139, 0, 0, 0.2));
  background: linear-gradient(135deg, var(--admin-red-dark), rgba(139, 0, 0, 0.2));
  border: 2px solid #6d28d9;
  border: 2px solid var(--admin-red);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 30px rgba(109, 40, 217, 0.7);
  box-shadow: 0 0 30px var(--admin-glow-red);
}

.btn-eliminar-radical {
  padding: 18px 48px;
  background: linear-gradient(135deg, #4c1d95, #6d28d9);
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-red));
  color: white;
  border: 1px solid #7c3aed;
  border: 1px solid var(--admin-red-light);
  border-radius: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.7);
  box-shadow: 0 6px 20px var(--admin-glow-red);
}

.btn-eliminar-radical:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(109, 40, 217, 0.7);
  box-shadow: 0 8px 30px var(--admin-glow-red);
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  background: linear-gradient(135deg, var(--admin-red), var(--admin-red-light));
}

.btn-eliminar-radical:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #0d0d0d;
  background: var(--admin-black-lighter);
  color: #555555;
  color: var(--admin-text-muted);
  border-color: rgba(109, 40, 217, 0.2);
  border-color: var(--admin-border);
}

.eliminar-advertencia-radical {
  margin-top: 16px;
  color: #a78bfa;
  color: var(--admin-gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-shadow: 0 0 10px rgba(167, 139, 250, 0.5);
  text-shadow: 0 0 10px var(--admin-glow-gold);
}

.eliminar-advertencia-radical strong {
  color: #7c3aed;
  color: var(--admin-red-light);
  font-weight: 900;
}

/* NO ENCONTRADOS */
.no-encontrados-section {
  margin-top: 24px;
  padding: 20px;
  background: rgba(139, 0, 0, 0.1);
  border-left: 4px solid #6d28d9;
  border-left: 4px solid var(--admin-red);
  border-radius: 8px;
}

.no-encontrados-section h4 {
  color: #a78bfa;
  color: var(--admin-gold);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.no-encontrados-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.no-encontrado-item {
  padding: 6px 12px;
  background: #0d0d0d;
  background: var(--admin-black-lighter);
  border: 1px solid #6d28d9;
  border: 1px solid var(--admin-red);
  border-radius: 6px;
  font-size: 13px;
  font-family: 'Rajdhani', monospace;
  color: #ffffff;
  color: var(--admin-text);
  font-weight: 600;
}

/* Badge cliente con cuentas - ACTUALIZADO */
.eliminar-cliente-info-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #0d7350, #0a5f41);
  background: linear-gradient(135deg, var(--admin-success), #0a5f41);
  border-radius: 8px;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(13, 115, 80, 0.4);
  border: 1px solid #0d7350;
  border: 1px solid var(--admin-success);
}

.badge-nombre {
  font-weight: 700;
  color: white;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.badge-cuentas {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-family: 'Orbitron', monospace;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .resultado-radical-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .paginacion-controles {
    flex-direction: column;
    gap: 12px;
  }
  
  .tabla-correos-radical {
    font-size: 12px;
  }
  
  .tabla-correos-radical th,
  .tabla-correos-radical td {
    padding: 10px 8px;
  }
  
  .paginacion-numeros .btn-pagina {
    width: 35px;
    height: 35px;
    font-size: 13px;
  }
  
  .btn-eliminar-radical {
    padding: 14px 28px;
    font-size: 16px;
  }
}

/* SCROLLBAR PERSONALIZADO */
.tabla-resultados-radical::-webkit-scrollbar {
  height: 8px;
}

.tabla-resultados-radical::-webkit-scrollbar-track {
  background: #000000;
  background: var(--admin-black);
  border-radius: 10px;
}

.tabla-resultados-radical::-webkit-scrollbar-thumb {
  background: #6d28d9;
  background: var(--admin-red);
  border-radius: 10px;
}

.tabla-resultados-radical::-webkit-scrollbar-thumb:hover {
  background: #7c3aed;
  background: var(--admin-red-light);
}

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

:root {
  --ob-black: #0a0a0a;
  --ob-dark: #111111;
  --ob-card: #161616;
  --ob-border: rgba(255,255,255,0.07);
  --ob-purple: #6d28d9;
  --ob-purple-mid: #7c3aed;
  --ob-purple-light: #a78bfa;
  --ob-red: #dc2626;
  --ob-red-light: #f87171;
  --ob-cream: #e8e0cc;
  --ob-cream-dim: rgba(232,224,204,0.7);
  --ob-text: #f0ece3;
  --ob-muted: rgba(240,236,227,0.45);
  --ob-radius: 14px;
  --ob-radius-sm: 8px;
  --ob-radius-lg: 20px;
  --ob-transition: 0.22s ease;
}

body {
  background: #0a0a0a;
  background: var(--ob-black);
  color: #f0ece3;
  color: var(--ob-text);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.App {
  min-height: 100vh;
  width: 100%;
}


/* ─── LOADING SCREEN ─────────────────────────────────── */

.app-loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.app-loading-bg-gradient {
  position: absolute;
  inset: 0;
  background-image: url(/static/media/BANNER.309c12b13801654c600c.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: bgBreath 8s ease-in-out infinite;
}

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

.app-loading-bg-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
}

.app-loading-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.015) 59px, rgba(255,255,255,0.015) 60px),
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.015) 59px, rgba(255,255,255,0.015) 60px);
  animation: gridFade 4s ease-in-out infinite alternate;
}

@keyframes gridFade {
  0% { opacity: 0.6; }
  100% { opacity: 1.2; }
}

.app-loading-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.app-loading-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: orbFloat 10s ease-in-out infinite;
}

.app-loading-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(109,40,217,0.4), transparent 70%);
  top: -150px;
  left: -100px;
  animation-delay: 0s;
}

.app-loading-orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(109,40,217,0.22), transparent 70%);
  bottom: -80px;
  right: -60px;
  animation-delay: -5s;
}

.app-loading-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(167,139,250,0.14), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -2.5s;
}

.app-loading-orb-4 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(167,139,250,0.18), transparent 70%);
  top: 20%;
  right: 15%;
  animation-delay: -7s;
  animation-duration: 14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  25% { transform: translate(30px,-40px) scale(1.06); }
  50% { transform: translate(-10px,20px) scale(0.95); }
  75% { transform: translate(20px,10px) scale(1.03); }
}

.app-loading-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 0 24px;
  animation: contentFadeIn 0.8s ease both;
}

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

.app-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

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

.app-loading-logo-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-loading-logo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(167,139,250,0.35);
  animation: ringPulse 2s ease-in-out infinite;
}

.app-loading-logo-ring-2 {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(167,139,250,0.14);
  animation: ringPulse 2s ease-in-out infinite 0.4s;
}

.app-loading-logo-ring-3 {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px solid rgba(167,139,250,0.06);
  animation: ringPulse 2.6s ease-in-out infinite 0.8s;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 0.1; }
}

.app-loading-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #6d28d9;
  border: 2.5px solid var(--ob-purple);
  display: block;
  position: relative;
  z-index: 1;
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(167,139,250,0); }
  50% { box-shadow: 0 0 24px 6px rgba(167,139,250,0.2); }
}

.app-loading-logo-fallback {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #6d28d9;
  background: var(--ob-purple);
  color: #e8e0cc;
  color: var(--ob-cream);
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.app-loading-text {
  text-align: center;
}

.app-loading-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e8e0cc;
  color: var(--ob-cream);
  line-height: 1.1;
  animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.app-loading-subtitle {
  font-size: 13px;
  color: #a78bfa;
  color: var(--ob-purple-light);
  margin-top: 6px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

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

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

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

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

.app-loading-spinner-ring:nth-child(2) {
  inset: 6px;
  border-top-color: rgba(167,139,250,0.5);
  animation: spin 1.4s linear infinite reverse;
}

.app-loading-spinner-ring:nth-child(3) {
  inset: 13px;
  border-top-color: rgba(167,139,250,0.25);
  animation: spin 1.8s linear infinite;
}

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

.app-loading-message {
  font-size: 13px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  letter-spacing: 0.04em;
  min-height: 20px;
  text-align: center;
  animation: msgFade 0.4s ease;
}

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

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

.app-loading-bar-container {
  flex: 1 1;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  height: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
}

.app-loading-bar { width: 100%; height: 100%; position: relative; }

.app-loading-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6d28d9, #a78bfa);
  background: linear-gradient(90deg, var(--ob-purple), var(--ob-purple-light));
  border-radius: 999px;
  transition: width 0.4s ease;
  position: relative;
  overflow: hidden;
}

.app-loading-bar-glow {
  position: absolute;
  top: 0; right: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45));
  animation: barShimmer 1.2s ease-in-out infinite;
}

@keyframes barShimmer {
  0% { opacity: 0; transform: translateX(-20px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateX(10px); }
}

.app-loading-percentage {
  font-size: 12px;
  font-weight: 700;
  color: #a78bfa;
  color: var(--ob-purple-light);
  min-width: 36px;
  text-align: right;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.app-loading-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-loading-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a78bfa;
  background: var(--ob-purple-light);
  animation: statusBlink 1.5s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(167,139,250,0.6); }
  50% { opacity: 0.2; box-shadow: none; }
}

.app-loading-status-text {
  font-size: 11px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ─── BANNED SCREEN ──────────────────────────────────── */

.app-banned-screen {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.app-banned-bg-gradient {
  position: absolute;
  inset: 0;
  background-image: url(/static/media/BANNER.309c12b13801654c600c.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: bgBreath 8s ease-in-out infinite;
}

.app-banned-bg-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
}

.app-banned-orbs { position: absolute; inset: 0; }

.app-banned-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
  animation: orbFloat 12s ease-in-out infinite;
}

.app-banned-orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #dc2626, transparent 70%);
  top: -100px; left: -80px;
}

.app-banned-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #7f1d1d, transparent 70%);
  bottom: 0; right: -60px;
  animation-delay: -6s;
}

.app-banned-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  padding: 40px 24px;
  animation: contentFadeIn 0.7s ease both;
}

.app-banned-content { display: flex; flex-direction: column; gap: 28px; }

.app-banned-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

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

.app-banned-icon-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(220,38,38,0.3);
  animation: ringPulse 2s ease-in-out infinite;
}

.app-banned-icon-pulse {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(220,38,38,0.12);
  animation: ringPulse 2s ease-in-out infinite 0.4s;
}

.app-banned-icon {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(220,38,38,0.1);
  border: 2px solid rgba(220,38,38,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f87171;
  color: var(--ob-red-light);
  animation: iconShake 6s ease-in-out infinite;
}

@keyframes iconShake {
  0%, 90%, 100% { transform: rotate(0deg); }
  92% { transform: rotate(-4deg); }
  94% { transform: rotate(4deg); }
  96% { transform: rotate(-3deg); }
  98% { transform: rotate(3deg); }
}

.app-banned-title {
  font-size: 28px;
  font-weight: 800;
  color: #e8e0cc;
  color: var(--ob-cream);
  letter-spacing: 0.02em;
}

.app-banned-subtitle { font-size: 14px; color: rgba(240,236,227,0.45); color: var(--ob-muted); }

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

.app-banned-card {
  background: rgba(22,22,22,0.9);
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
  border-radius: 14px;
  border-radius: var(--ob-radius);
  padding: 20px;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition: border-color 0.22s ease;
  transition: border-color var(--ob-transition);
}

.app-banned-card:hover {
  border-color: rgba(255,255,255,0.12);
}

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

.app-banned-card-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.2);
  color: #f87171;
  color: var(--ob-red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-banned-card-header h3 {
  font-size: 14px;
  font-weight: 600;
  color: #f0ece3;
  color: var(--ob-text);
}

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

.app-banned-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  border: 1px solid rgba(255,255,255,0.07);
  border: 1px solid var(--ob-border);
}

.app-banned-detail-label {
  font-size: 12px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.app-banned-detail-value {
  font-size: 13px;
  color: #f0ece3;
  color: var(--ob-text);
  text-align: right;
  word-break: break-all;
}

.app-banned-status {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #f87171;
  color: var(--ob-red-light);
  background: rgba(220,38,38,0.12);
  border: 1px solid rgba(220,38,38,0.25);
  padding: 3px 10px;
  border-radius: 999px;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
  50% { box-shadow: 0 0 8px 2px rgba(220,38,38,0.2); }
}

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

.app-banned-reasons li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
}

.app-banned-reasons li svg {
  color: rgba(220,38,38,0.5);
  flex-shrink: 0;
  width: 6px; height: 6px;
}

.app-banned-contact-text {
  font-size: 13px;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

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

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

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

.app-banned-whatsapp:hover {
  background: rgba(37,211,102,0.18);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37,211,102,0.15);
}

.app-banned-telegram {
  background: rgba(0,136,204,0.1);
  border: 1px solid rgba(0,136,204,0.3);
  color: #0088cc;
}

.app-banned-telegram:hover {
  background: rgba(0,136,204,0.18);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,136,204,0.15);
}

.app-banned-actions { display: flex; justify-content: center; }

.app-banned-logout-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 32px;
  background: transparent;
  border: 1.5px solid rgba(220,38,38,0.4);
  border-radius: 8px;
  border-radius: var(--ob-radius-sm);
  color: #f87171;
  color: var(--ob-red-light);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: 0.22s ease;
  transition: var(--ob-transition);
}

.app-banned-logout-btn:hover {
  background: rgba(220,38,38,0.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(220,38,38,0.12);
}

.app-banned-footer {
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid var(--ob-border);
}

.app-banned-footer-brand {
  font-size: 13px;
  font-weight: 700;
  color: rgba(240,236,227,0.45);
  color: var(--ob-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.app-banned-footer-help {
  font-size: 11px;
  color: rgba(240,236,227,0.2);
  margin-top: 4px;
}


/* ─── SCROLLBAR ──────────────────────────────────────── */

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #111111; background: var(--ob-dark); }
::-webkit-scrollbar-thumb { background: #6d28d9; background: var(--ob-purple); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #7c3aed; background: var(--ob-purple-mid); }


/* ─── SELECTION ──────────────────────────────────────── */

::selection {
  background: rgba(167,139,250,0.25);
  color: #e8e0cc;
  color: var(--ob-cream);
}


/* ─── RESPONSIVE ─────────────────────────────────────── */

@media (max-width: 600px) {
  .app-loading-title { font-size: 24px; }
  .app-loading-logo,
  .app-loading-logo-fallback,
  .app-loading-logo-wrapper { width: 80px; height: 80px; }
  .app-banned-title { font-size: 22px; }
  .app-banned-contact-options { flex-direction: column; }
  .app-banned-contact-btn { flex: initial; width: 100%; }
}
