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

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

:root {
  --bg:              #050505;
  --surface-1:       #0d0d0f;
  --surface-2:       #141416;
  --surface-3:       #1c1c1f;
  --surface-4:       #26262a;
  --accent:          #e01c1c;
  --accent-2:        #ff3b3b;
  --accent-hover:    #c81616;
  --silver:          #c9ccd1;
  --silver-bright:   #f2f3f5;
  --text-1:          #f1f1f3;
  --text-2:          #9a9ba1;
  --text-3:          #55565c;
  --text-4:          #333338;
  --border:          rgba(224 28 28 / 0.14);
  --border-2:        rgba(224 28 28 / 0.28);
  --green:           #34d399;
  --green-subtle:    rgba(52 211 153 / 0.1);
  --green-border:    rgba(52 211 153 / 0.22);
  --red:             #ff4747;
  --red-subtle:      rgba(255 71 71 / 0.12);
  --red-border:      rgba(255 71 71 / 0.28);
  --yellow:          #fbbf24;
  --r-xs:   4px;
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   18px;
  --r-2xl:  24px;
  --r-full: 9999px;
  --shadow-md:     0 4px 20px rgba(0 0 0 / 0.6);
  --shadow-lg:     0 12px 40px rgba(0 0 0 / 0.75);
  --shadow-accent: 0 0 24px rgba(224 28 28 / 0.28);
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

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

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

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

@keyframes dropdown-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes welcome-in {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes platform-pop {
  from { opacity: 0; transform: scale(0.7) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes feature-in {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer-text {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  33%       { transform: translate(30px, -20px) scale(1.1); opacity: 0.75; }
  66%       { transform: translate(-20px, 15px) scale(0.95); opacity: 0.4; }
}

@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  33%       { transform: translate(-25px, 20px) scale(1.08); opacity: 0.55; }
  66%       { transform: translate(15px, -10px) scale(0.92); opacity: 0.3; }
}

@keyframes border-glow-pulse {
  0%, 100% { box-shadow: 0 12px 40px rgba(0 0 0 / 0.75), 0 0 0 1px rgba(224 28 28 / 0.08); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(224 28 28 / 0.08); }
  50%       { box-shadow: 0 12px 40px rgba(0 0 0 / 0.75), 0 0 0 1px rgba(224 28 28 / 0.2), 0 0 40px rgba(224 28 28 / 0.12); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(224 28 28 / 0.2), 0 0 40px rgba(224 28 28 / 0.12); }
}

@keyframes logo-glow-pulse {
  0%, 100% { filter: blur(10px); opacity: 0.6; }
  50%       { filter: blur(16px); opacity: 1; }
}

.registro-container {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #050505;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

/* La imagen de fondo se aplica inline en el JSX vía process.env.PUBLIC_URL */
.registro-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.registro-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 5, 5, 0.9) 0%,
    rgba(5, 5, 5, 0.78) 50%,
    rgba(5, 5, 5, 0.92) 100%
  );
}

.registro-bg-gradient::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224 28 28 / 0.16) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  filter: blur(40px);
  animation: orb-drift 12s ease-in-out infinite;
}

.registro-bg-gradient::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201 204 209 / 0.08) 0%, transparent 70%);
  bottom: -80px;
  right: -60px;
  filter: blur(40px);
  animation: orb-drift-2 14s ease-in-out infinite;
}

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

.registro-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 0;
  gap: 0;
  width: 100%;
  max-width: 960px;
  align-items: center;
}

@media (min-width: 900px) {
  .registro-grid {
    grid-template-columns: 1fr 460px;
    gap: 48px;
  }
}

/* ===== WELCOME (DESKTOP) ===== */
.registro-welcome {
  display: none;
  flex-direction: column;
  gap: 36px;
  animation: welcome-in 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation: welcome-in 600ms var(--ease) both;
}

@media (min-width: 900px) {
  .registro-welcome { display: flex; }
}

.registro-brand { position: relative; }

.registro-logo-glow {
  position: absolute;
  top: -20px; left: -20px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224 28 28 / 0.22) 0%, transparent 70%);
  pointer-events: none;
  animation: logo-glow-pulse 3s ease-in-out infinite;
}

.registro-brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.registro-brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border-radius: var(--r-xl);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(224 28 28 / 0.35);
  background: #000;
  box-shadow:
    0 0 0 4px rgba(224 28 28 / 0.08),
    0 4px 20px rgba(0 0 0 / 0.6),
    0 0 24px rgba(224 28 28 / 0.2);
  box-shadow:
    0 0 0 4px rgba(224 28 28 / 0.08),
    var(--shadow-md),
    0 0 24px rgba(224 28 28 / 0.2);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms;
  transition: transform 300ms var(--ease), box-shadow 300ms;
}

.registro-brand-logo:hover {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 0 0 4px rgba(224 28 28 / 0.18), 0 4px 20px rgba(0 0 0 / 0.6), 0 0 36px rgba(224 28 28 / 0.35);
  box-shadow: 0 0 0 4px rgba(224 28 28 / 0.18), var(--shadow-md), 0 0 36px rgba(224 28 28 / 0.35);
}

.registro-brand-logo-fallback {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #e01c1c, #ff3b3b);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(224 28 28 / 0.28);
  box-shadow: var(--shadow-accent);
}

.registro-brand-text { display: flex; flex-direction: column; gap: 3px; }

.registro-brand-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(130deg, #f2f3f5 0%, #ff3b3b 50%, #f2f3f5 100%);
  background: linear-gradient(130deg, var(--silver-bright) 0%, var(--accent-2) 50%, var(--silver-bright) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  animation: shimmer-text 4s linear infinite;
}

.registro-brand-subtitle {
  font-size: 13px;
  color: #55565c;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.5;
  max-width: 30ch;
}

.registro-platforms {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.registro-platform-item {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #141416;
  background: var(--surface-2);
  border: 1px solid rgba(224 28 28 / 0.14);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), border-color 200ms, box-shadow 200ms;
  transition: transform 200ms var(--ease), border-color 200ms, box-shadow 200ms;
  flex-shrink: 0;
  animation: platform-pop 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation: platform-pop 500ms var(--ease) both;
  cursor: default;
}

.registro-platform-item:nth-child(1) { animation-delay: 0.08s; }
.registro-platform-item:nth-child(2) { animation-delay: 0.16s; }
.registro-platform-item:nth-child(3) { animation-delay: 0.24s; }
.registro-platform-item:nth-child(4) { animation-delay: 0.32s; }
.registro-platform-item:nth-child(5) { animation-delay: 0.40s; }

.registro-platform-item:hover {
  transform: translateY(-6px) scale(1.1) rotate(3deg);
  border-color: rgba(224 28 28 / 0.45);
  box-shadow: 0 12px 28px rgba(0 0 0 / 0.55), 0 0 16px rgba(224 28 28 / 0.25);
}

.registro-platform-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 200ms var(--ease);
}

.registro-platform-item:hover img {
  transform: scale(1.1);
}

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

.registro-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #0d0d0f;
  background: var(--surface-1);
  border: 1px solid rgba(224 28 28 / 0.14);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-radius: var(--r-lg);
  transition: border-color 200ms, transform 200ms cubic-bezier(0.16, 1, 0.3, 1), background 200ms;
  transition: border-color 200ms, transform 200ms var(--ease), background 200ms;
  animation: feature-in 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation: feature-in 500ms var(--ease) both;
}

.registro-feature:nth-child(1) { animation-delay: 0.2s; }
.registro-feature:nth-child(2) { animation-delay: 0.32s; }
.registro-feature:nth-child(3) { animation-delay: 0.44s; }

.registro-feature:hover {
  border-color: rgba(224 28 28 / 0.4);
  transform: translateX(6px);
  background: #141416;
  background: var(--surface-2);
}

.registro-feature-icon {
  color: #ff3b3b;
  color: var(--accent-2);
  flex-shrink: 0;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 200ms var(--ease);
}

.registro-feature:hover .registro-feature-icon {
  transform: scale(1.2) rotate(-5deg);
}

.registro-feature-text {
  font-size: 14px;
  font-weight: 600;
  color: #f1f1f3;
  color: var(--text-1);
  letter-spacing: -0.01em;
}

/* ===== CARD ===== */
.registro-card {
  background: rgba(13, 13, 15, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(224 28 28 / 0.14);
  border: 1px solid var(--border);
  border-radius: 24px;
  border-radius: var(--r-2xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow:
    0 12px 40px rgba(0 0 0 / 0.75),
    0 0 0 1px rgba(224 28 28 / 0.08),
    inset 0 1px 0 rgba(255 255 255 / 0.03);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(224 28 28 / 0.08),
    inset 0 1px 0 rgba(255 255 255 / 0.03);
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  animation: card-in 350ms cubic-bezier(0.16, 1, 0.3, 1), border-glow-pulse 4s ease-in-out infinite 1s;
  animation: card-in 350ms var(--ease), border-glow-pulse 4s ease-in-out infinite 1s;
}

.registro-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  border-radius: 24px 24px 0 0;
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(224 28 28 / 0.6),
    rgba(201 204 209 / 0.4),
    transparent
  );
}

@media (min-width: 900px) {
  .registro-card { max-width: none; margin: 0; padding: 30px 28px; }
}

.registro-mobile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
}

@media (min-width: 900px) {
  .registro-mobile-header { display: none; }
}

.registro-mobile-logo {
  position: relative;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.registro-mobile-logo-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#0d0d0f, #0d0d0f) padding-box,
    conic-gradient(#e01c1c 0%, #c9ccd1 40%, #ff3b3b 70%, transparent 80%) border-box;
  background:
    linear-gradient(var(--surface-1), var(--surface-1)) padding-box,
    conic-gradient(var(--accent) 0%, var(--silver) 40%, var(--accent-2) 70%, transparent 80%) border-box;
  animation: ring-spin 2.5s linear infinite;
}

.registro-mobile-logo-image {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border-radius: var(--r-lg);
  object-fit: cover;
  background: #000;
  border: 1px solid rgba(224 28 28 / 0.3);
  box-shadow: 0 4px 20px rgba(0 0 0 / 0.6), 0 0 18px rgba(224 28 28 / 0.2);
  box-shadow: var(--shadow-md), 0 0 18px rgba(224 28 28 / 0.2);
  position: relative;
  z-index: 1;
}

.registro-mobile-logo-fallback {
  color: #fff;
  position: relative;
  z-index: 1;
}

.registro-mobile-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(130deg, #f2f3f5 0%, #ff3b3b 50%, #f2f3f5 100%);
  background: linear-gradient(130deg, var(--silver-bright) 0%, var(--accent-2) 50%, var(--silver-bright) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 4s linear infinite;
}

.registro-mobile-subtitle {
  font-size: 11.5px;
  color: #55565c;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.registro-card-header { text-align: center; }

.registro-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #f1f1f3;
  color: var(--text-1);
  letter-spacing: -0.03em;
}

.registro-card-description {
  font-size: 13px;
  color: #55565c;
  color: var(--text-3);
  margin-top: 4px;
}

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

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

.registro-field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #9a9ba1;
  color: var(--text-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.registro-field-icon { color: #ff3b3b; color: var(--accent-2); flex-shrink: 0; }

.registro-field-hint {
  font-size: 11px;
  color: #333338;
  color: var(--text-4);
  margin-top: 1px;
}

.registro-field-input {
  width: 100%;
  padding: 11px 14px;
  background: #141416;
  background: var(--surface-2);
  border: 1px solid rgba(224 28 28 / 0.14);
  border: 1px solid var(--border);
  border-radius: 10px;
  border-radius: var(--r-md);
  color: #f1f1f3;
  color: var(--text-1);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  min-height: 44px;
  transition: border-color 160ms cubic-bezier(0.16, 1, 0.3, 1), background 160ms, box-shadow 160ms;
  transition: border-color 160ms var(--ease), background 160ms, box-shadow 160ms;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.registro-field-input::placeholder { color: #333338; color: var(--text-4); }

.registro-field-input:focus {
  border-color: rgba(224 28 28 / 0.6);
  background: #1c1c1f;
  background: var(--surface-3);
  box-shadow: 0 0 0 3px rgba(224 28 28 / 0.14), 0 0 16px rgba(224 28 28 / 0.1);
}

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

.registro-field-input-error { border-color: rgba(255 71 71 / 0.28) !important; border-color: var(--red-border) !important; }
.registro-field-input-error:focus { box-shadow: 0 0 0 3px rgba(255 71 71 / 0.12) !important; box-shadow: 0 0 0 3px var(--red-subtle) !important; }

.registro-field-password { position: relative; }
.registro-field-password .registro-field-input { padding-right: 46px; }

.registro-field-toggle {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #55565c;
  color: var(--text-3);
  border-radius: 0 10px 10px 0;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  transition: color 140ms;
}
.registro-field-toggle:hover { color: #ff3b3b; color: var(--accent-2); }

/* ===== TELÉFONO CON SELECTOR DE PAÍS ===== */
.registro-field-phone {
  display: flex;
  gap: 8px;
  position: relative;
}

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

.registro-phone-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 12px;
  background: #141416;
  background: var(--surface-2);
  border: 1px solid rgba(224 28 28 / 0.14);
  border: 1px solid var(--border);
  border-radius: 10px;
  border-radius: var(--r-md);
  color: #f1f1f3;
  color: var(--text-1);
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
  min-width: 96px;
  cursor: pointer;
  transition: border-color 160ms cubic-bezier(0.16, 1, 0.3, 1), background 160ms;
  transition: border-color 160ms var(--ease), background 160ms;
}

.registro-phone-toggle:hover { border-color: rgba(224 28 28 / 0.4); }
.registro-phone-toggle:disabled { opacity: 0.5; cursor: not-allowed; }

.registro-phone-flag { font-size: 16px; line-height: 1; }
.registro-phone-code { flex: 1 1; text-align: left; }
.registro-phone-arrow { display: flex; align-items: center; color: #55565c; color: var(--text-3); }

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

.registro-phone-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
  width: 220px;
  background: #0d0d0f;
  background: var(--surface-1);
  border: 1px solid rgba(224 28 28 / 0.28);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  border-radius: var(--r-md);
  box-shadow: 0 12px 40px rgba(0 0 0 / 0.75), 0 0 0 1px rgba(224 28 28 / 0.1);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(224 28 28 / 0.1);
  overflow: hidden;
  animation: dropdown-in 160ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: dropdown-in 160ms var(--ease);
}

.registro-phone-dropdown-scroll {
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
}

.registro-phone-dropdown-scroll::-webkit-scrollbar { width: 6px; }
.registro-phone-dropdown-scroll::-webkit-scrollbar-thumb {
  background: #26262a;
  background: var(--surface-4);
  border-radius: 9999px;
  border-radius: var(--r-full);
}

.registro-phone-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 6px;
  border-radius: var(--r-sm);
  color: #9a9ba1;
  color: var(--text-2);
  font-size: 13px;
  text-align: left;
  transition: background 120ms, color 120ms;
}

.registro-phone-option:hover {
  background: #141416;
  background: var(--surface-2);
  color: #f1f1f3;
  color: var(--text-1);
}

.registro-phone-option-selected {
  background: rgba(255 71 71 / 0.12);
  background: var(--red-subtle);
  color: #ff3b3b;
  color: var(--accent-2);
  font-weight: 600;
}

.registro-phone-option-flag { font-size: 15px; }
.registro-phone-option-code { font-weight: 600; min-width: 42px; }
.registro-phone-option-name {
  flex: 1 1;
  color: #55565c;
  color: var(--text-3);
  font-size: 12px;
}
.registro-phone-option-selected .registro-phone-option-name { color: #ff3b3b; color: var(--accent-2); opacity: 0.85; }

/* ===== CHECKBOX TÉRMINOS ===== */
.registro-checkbox { display: flex; }

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

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

.registro-checkbox-custom {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 5px;
  border: 1.5px solid rgba(224 28 28 / 0.28);
  border: 1.5px solid var(--border-2);
  background: #141416;
  background: var(--surface-2);
  position: relative;
  transition: background 160ms, border-color 160ms;
}

.registro-checkbox-input:checked + .registro-checkbox-custom {
  background: linear-gradient(135deg, #e01c1c 0%, #ff3b3b 100%);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-color: transparent;
}

.registro-checkbox-input:checked + .registro-checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.registro-checkbox-input:focus-visible + .registro-checkbox-custom {
  box-shadow: 0 0 0 3px rgba(224 28 28 / 0.25);
}

.registro-checkbox-text {
  font-size: 12.5px;
  color: #55565c;
  color: var(--text-3);
  line-height: 1.5;
}

.registro-checkbox-link {
  color: #ff3b3b;
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== ALERTA ===== */
.registro-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  border-radius: var(--r-md);
  font-size: 13px;
  line-height: 1.5;
  animation: slide-in 160ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: slide-in 160ms var(--ease);
}

.registro-alert-error {
  background: rgba(255 71 71 / 0.12);
  background: var(--red-subtle);
  border: 1px solid rgba(255 71 71 / 0.28);
  border: 1px solid var(--red-border);
  color: #ffb3b3;
}

.registro-alert-icon { flex-shrink: 0; margin-top: 1px; }
.registro-alert-message { font-weight: 500; }

/* ===== BOTÓN SUBMIT ===== */
.registro-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 14px;
  border-radius: var(--r-lg);
  font-size: 14.5px;
  font-weight: 700;
  min-height: 48px;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #e01c1c 0%, #ff3b3b 100%);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  border: 1px solid rgba(224 28 28 / 0.4);
  box-shadow:
    0 1px 0 rgba(255 255 255 / 0.1) inset,
    0 0 24px rgba(224 28 28 / 0.28);
  box-shadow:
    0 1px 0 rgba(255 255 255 / 0.1) inset,
    var(--shadow-accent);
  transition: opacity 160ms cubic-bezier(0.16, 1, 0.3, 1), transform 120ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 160ms;
  transition: opacity 160ms var(--ease), transform 120ms var(--ease), box-shadow 160ms;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

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

.registro-submit:hover:not(:disabled) {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(224 28 28 / 0.4), 0 4px 20px rgba(0 0 0 / 0.6);
  box-shadow: 0 0 36px rgba(224 28 28 / 0.4), var(--shadow-md);
}

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

.registro-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.registro-submit-loading {
  background: #1c1c1f !important;
  background: var(--surface-3) !important;
  color: #9a9ba1 !important;
  color: var(--text-2) !important;
  border-color: rgba(224 28 28 / 0.14) !important;
  border-color: var(--border) !important;
  box-shadow: none !important;
}

.registro-submit-icon { display: flex; }

.registro-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255 255 255 / 0.2);
  border-top-color: #9a9ba1;
  border-top-color: var(--text-2);
  border-radius: 50%;
  animation: spin-btn 0.7s linear infinite;
  flex-shrink: 0;
}

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

.registro-divider-line {
  flex: 1 1;
  height: 1px;
  background: rgba(224 28 28 / 0.14);
  background: var(--border);
}

.registro-divider-text {
  font-size: 11.5px;
  color: #333338;
  color: var(--text-4);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.registro-card-footer {
  display: flex;
  justify-content: center;
}

.registro-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #9a9ba1;
  color: var(--text-2);
  min-height: 36px;
  padding: 6px 0;
  transition: color 140ms, transform 140ms;
}
.registro-back:hover { color: #ff3b3b; color: var(--accent-2); transform: translateX(-3px); }
.registro-back:disabled { opacity: 0.5; cursor: not-allowed; }
.registro-back-icon { color: #ff3b3b; color: var(--accent-2); }

.registro-mobile-platforms { text-align: center; }

@media (min-width: 900px) {
  .registro-mobile-platforms { display: none; }
}

.registro-mobile-platforms-title {
  font-size: 11px;
  color: #333338;
  color: var(--text-4);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}

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

.registro-mobile-platforms-grid img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  border-radius: var(--r-sm);
  background: #141416;
  background: var(--surface-2);
  padding: 4px;
  border: 1px solid rgba(224 28 28 / 0.14);
  border: 1px solid var(--border);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 180ms var(--ease);
}

.registro-mobile-platforms-grid img:hover {
  transform: scale(1.12) rotate(4deg);
}

/* ===== FOOTER ===== */
.registro-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(224 28 28 / 0.14);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.registro-footer p {
  font-size: 12px;
  font-weight: 600;
  background: linear-gradient(130deg, #f2f3f5, #ff3b3b);
  background: linear-gradient(130deg, var(--silver-bright), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.registro-footer-sub {
  font-size: 11px !important;
  color: #333338 !important;
  color: var(--text-4) !important;
  background: none !important;
  -webkit-text-fill-color: #333338 !important;
  -webkit-text-fill-color: var(--text-4) !important;
}

@media (max-width: 480px) {
  .registro-card    { padding: 22px 18px; border-radius: 18px; border-radius: var(--r-xl); }
  .registro-content { padding: 16px 12px; }
  .registro-phone-dropdown { width: 200px; }
}

@media (min-width: 481px) and (max-width: 899px) {
  .registro-content { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.registro-field-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
}

.registro-back {
  background: transparent;
  border: none;
  cursor: pointer;
}
:root {
  --bg:              #050505;
  --surface-1:       #0d0d0f;
  --surface-2:       #141416;
  --surface-3:       #1c1c1f;
  --surface-4:       #26262a;
  --accent:          #e01c1c;
  --accent-2:        #ff3b3b;
  --accent-hover:    #c81616;
  --silver:          #c9ccd1;
  --silver-bright:   #f2f3f5;
  --text-1:          #f1f1f3;
  --text-2:          #9a9ba1;
  --text-3:          #55565c;
  --text-4:          #333338;
  --border:          rgba(224 28 28 / 0.14);
  --border-2:        rgba(224 28 28 / 0.28);
  --green:           #34d399;
  --green-subtle:    rgba(52 211 153 / 0.1);
  --green-border:    rgba(52 211 153 / 0.22);
  --red:             #ff4747;
  --red-subtle:      rgba(255 71 71 / 0.12);
  --red-border:      rgba(255 71 71 / 0.28);
  --yellow:          #fbbf24;
  --yellow-subtle:   rgba(251 191 36 / 0.1);
  --yellow-border:   rgba(251 191 36 / 0.22);
  --r-xs:   4px;
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   18px;
  --r-2xl:  24px;
  --r-full: 9999px;
  --shadow-md:     0 4px 20px rgba(0 0 0 / 0.6);
  --shadow-lg:     0 12px 40px rgba(0 0 0 / 0.75);
  --shadow-accent: 0 0 24px rgba(224 28 28 / 0.28);
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

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

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

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

@keyframes overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

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

@keyframes pulse-glow-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 0 rgba(37,211,102,0); }
  50%       { box-shadow: 0 10px 35px rgba(0,0,0,0.5), 0 0 22px 6px rgba(37,211,102,0.3); }
}

@keyframes pulse-glow-tg {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 0 rgba(41,168,232,0); }
  50%       { box-shadow: 0 10px 35px rgba(0,0,0,0.5), 0 0 22px 6px rgba(41,168,232,0.28); }
}

@keyframes welcome-in {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes platform-pop {
  from { opacity: 0; transform: scale(0.7) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes feature-in {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer-text {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  33%       { transform: translate(30px, -20px) scale(1.1); opacity: 0.75; }
  66%       { transform: translate(-20px, 15px) scale(0.95); opacity: 0.4; }
}

@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  33%       { transform: translate(-25px, 20px) scale(1.08); opacity: 0.55; }
  66%       { transform: translate(15px, -10px) scale(0.92); opacity: 0.3; }
}

@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes border-glow-pulse {
  0%, 100% { box-shadow: 0 12px 40px rgba(0 0 0 / 0.75), 0 0 0 1px rgba(224 28 28 / 0.08); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(224 28 28 / 0.08); }
  50%       { box-shadow: 0 12px 40px rgba(0 0 0 / 0.75), 0 0 0 1px rgba(224 28 28 / 0.2), 0 0 40px rgba(224 28 28 / 0.12); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(224 28 28 / 0.2), 0 0 40px rgba(224 28 28 / 0.12); }
}

@keyframes logo-glow-pulse {
  0%, 100% { filter: blur(10px); opacity: 0.6; }
  50%       { filter: blur(16px); opacity: 1; }
}

@keyframes badge-in {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

.login-container {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #050505;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

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

.login-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 5, 5, 0.86) 0%,
    rgba(5, 5, 5, 0.74) 50%,
    rgba(5, 5, 5, 0.9) 100%
  );
}

.login-bg-gradient::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224 28 28 / 0.16) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  filter: blur(40px);
  animation: orb-drift 12s ease-in-out infinite;
}

.login-bg-gradient::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201 204 209 / 0.08) 0%, transparent 70%);
  bottom: -80px;
  right: -60px;
  filter: blur(40px);
  animation: orb-drift-2 14s ease-in-out infinite;
}

.login-scanline {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.025;
}

.login-scanline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(224 28 28 / 0.8), transparent);
  animation: scanline 6s linear infinite;
}

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

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

@media (min-width: 900px) {
  .login-grid {
    grid-template-columns: 1fr 440px;
    gap: 48px;
  }
}

.login-welcome {
  display: none;
  flex-direction: column;
  gap: 36px;
  animation: welcome-in 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation: welcome-in 600ms var(--ease) both;
}

@media (min-width: 900px) {
  .login-welcome { display: flex; }
}

.login-brand { position: relative; }

.login-logo-glow {
  position: absolute;
  top: -20px; left: -20px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224 28 28 / 0.22) 0%, transparent 70%);
  pointer-events: none;
  animation: logo-glow-pulse 3s ease-in-out infinite;
}

.login-brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.login-brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border-radius: var(--r-xl);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(224 28 28 / 0.35);
  background: #000;
  box-shadow:
    0 0 0 4px rgba(224 28 28 / 0.08),
    0 4px 20px rgba(0 0 0 / 0.6),
    0 0 24px rgba(224 28 28 / 0.2);
  box-shadow:
    0 0 0 4px rgba(224 28 28 / 0.08),
    var(--shadow-md),
    0 0 24px rgba(224 28 28 / 0.2);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms;
  transition: transform 300ms var(--ease), box-shadow 300ms;
}

.login-brand-logo:hover {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 0 0 4px rgba(224 28 28 / 0.18), 0 4px 20px rgba(0 0 0 / 0.6), 0 0 36px rgba(224 28 28 / 0.35);
  box-shadow: 0 0 0 4px rgba(224 28 28 / 0.18), var(--shadow-md), 0 0 36px rgba(224 28 28 / 0.35);
}

.login-brand-logo-fallback {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #e01c1c, #ff3b3b);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(224 28 28 / 0.28);
  box-shadow: var(--shadow-accent);
}

.login-brand-text { display: flex; flex-direction: column; gap: 3px; }

.login-brand-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(130deg, #f2f3f5 0%, #ff3b3b 50%, #f2f3f5 100%);
  background: linear-gradient(130deg, var(--silver-bright) 0%, var(--accent-2) 50%, var(--silver-bright) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  animation: shimmer-text 4s linear infinite;
}

.login-brand-subtitle {
  font-size: 13px;
  color: #55565c;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.5;
  max-width: 28ch;
}

.login-platforms {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.login-platform-item {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #141416;
  background: var(--surface-2);
  border: 1px solid rgba(224 28 28 / 0.14);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), border-color 200ms, box-shadow 200ms;
  transition: transform 200ms var(--ease), border-color 200ms, box-shadow 200ms;
  flex-shrink: 0;
  animation: platform-pop 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation: platform-pop 500ms var(--ease) both;
  cursor: default;
}

.login-platform-item:nth-child(1) { animation-delay: 0.08s; }
.login-platform-item:nth-child(2) { animation-delay: 0.16s; }
.login-platform-item:nth-child(3) { animation-delay: 0.24s; }
.login-platform-item:nth-child(4) { animation-delay: 0.32s; }
.login-platform-item:nth-child(5) { animation-delay: 0.40s; }

.login-platform-item:hover {
  transform: translateY(-6px) scale(1.1) rotate(3deg);
  border-color: rgba(224 28 28 / 0.45);
  box-shadow: 0 12px 28px rgba(0 0 0 / 0.55), 0 0 16px rgba(224 28 28 / 0.25);
}

.login-platform-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 200ms var(--ease);
}

.login-platform-item:hover img {
  transform: scale(1.1);
}

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

.login-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #0d0d0f;
  background: var(--surface-1);
  border: 1px solid rgba(224 28 28 / 0.14);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-radius: var(--r-lg);
  transition: border-color 200ms, transform 200ms cubic-bezier(0.16, 1, 0.3, 1), background 200ms;
  transition: border-color 200ms, transform 200ms var(--ease), background 200ms;
  animation: feature-in 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation: feature-in 500ms var(--ease) both;
}

.login-feature:nth-child(1) { animation-delay: 0.2s; }
.login-feature:nth-child(2) { animation-delay: 0.32s; }
.login-feature:nth-child(3) { animation-delay: 0.44s; }

.login-feature:hover {
  border-color: rgba(224 28 28 / 0.4);
  transform: translateX(6px);
  background: #141416;
  background: var(--surface-2);
}

.login-feature-icon {
  color: #ff3b3b;
  color: var(--accent-2);
  flex-shrink: 0;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 200ms var(--ease);
}

.login-feature:hover .login-feature-icon {
  transform: scale(1.2) rotate(-5deg);
}

.login-feature-text {
  font-size: 14px;
  font-weight: 600;
  color: #f1f1f3;
  color: var(--text-1);
  letter-spacing: -0.01em;
}

.login-card {
  background: rgba(13, 13, 15, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(224 28 28 / 0.14);
  border: 1px solid var(--border);
  border-radius: 24px;
  border-radius: var(--r-2xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow:
    0 12px 40px rgba(0 0 0 / 0.75),
    0 0 0 1px rgba(224 28 28 / 0.08),
    inset 0 1px 0 rgba(255 255 255 / 0.03);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(224 28 28 / 0.08),
    inset 0 1px 0 rgba(255 255 255 / 0.03);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  animation: card-in 350ms cubic-bezier(0.16, 1, 0.3, 1), border-glow-pulse 4s ease-in-out infinite 1s;
  animation: card-in 350ms var(--ease), border-glow-pulse 4s ease-in-out infinite 1s;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(224 28 28 / 0.6),
    rgba(201 204 209 / 0.4),
    transparent
  );
}

.login-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(224 28 28 / 0.18),
    transparent
  );
}

@media (min-width: 900px) {
  .login-card { max-width: none; margin: 0; padding: 32px 28px; }
}

.login-mobile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
}

@media (min-width: 900px) {
  .login-mobile-header { display: none; }
}

.login-mobile-logo {
  position: relative;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-mobile-logo-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#0d0d0f, #0d0d0f) padding-box,
    conic-gradient(#e01c1c 0%, #c9ccd1 40%, #ff3b3b 70%, transparent 80%) border-box;
  background:
    linear-gradient(var(--surface-1), var(--surface-1)) padding-box,
    conic-gradient(var(--accent) 0%, var(--silver) 40%, var(--accent-2) 70%, transparent 80%) border-box;
  animation: ring-spin 2.5s linear infinite;
}

.login-mobile-logo-image {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border-radius: var(--r-lg);
  object-fit: cover;
  background: #000;
  border: 1px solid rgba(224 28 28 / 0.3);
  box-shadow: 0 4px 20px rgba(0 0 0 / 0.6), 0 0 18px rgba(224 28 28 / 0.2);
  box-shadow: var(--shadow-md), 0 0 18px rgba(224 28 28 / 0.2);
  position: relative;
  z-index: 1;
}

.login-mobile-logo-fallback {
  color: #fff;
  font-size: 26px;
  position: relative;
  z-index: 1;
}

.login-mobile-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(130deg, #f2f3f5 0%, #ff3b3b 50%, #f2f3f5 100%);
  background: linear-gradient(130deg, var(--silver-bright) 0%, var(--accent-2) 50%, var(--silver-bright) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 4s linear infinite;
}

.login-mobile-subtitle {
  font-size: 11.5px;
  color: #55565c;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.login-card-header { text-align: center; }

.login-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #f1f1f3;
  color: var(--text-1);
  letter-spacing: -0.03em;
}

.login-card-description {
  font-size: 13px;
  color: #55565c;
  color: var(--text-3);
  margin-top: 4px;
}

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

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

.login-field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #9a9ba1;
  color: var(--text-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.login-field-icon { color: #ff3b3b; color: var(--accent-2); flex-shrink: 0; }

.login-field-input {
  width: 100%;
  padding: 11px 14px;
  background: #141416;
  background: var(--surface-2);
  border: 1px solid rgba(224 28 28 / 0.14);
  border: 1px solid var(--border);
  border-radius: 10px;
  border-radius: var(--r-md);
  color: #f1f1f3;
  color: var(--text-1);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  min-height: 44px;
  transition: border-color 160ms cubic-bezier(0.16, 1, 0.3, 1), background 160ms, box-shadow 160ms;
  transition: border-color 160ms var(--ease), background 160ms, box-shadow 160ms;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.login-field-input::placeholder { color: #333338; color: var(--text-4); }

.login-field-input:focus {
  border-color: rgba(224 28 28 / 0.6);
  background: #1c1c1f;
  background: var(--surface-3);
  box-shadow: 0 0 0 3px rgba(224 28 28 / 0.14), 0 0 16px rgba(224 28 28 / 0.1);
}

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

.login-field-input-error { border-color: rgba(255 71 71 / 0.28) !important; border-color: var(--red-border) !important; }
.login-field-input-error:focus { box-shadow: 0 0 0 3px rgba(255 71 71 / 0.12) !important; box-shadow: 0 0 0 3px var(--red-subtle) !important; }

.login-field-password { position: relative; }
.login-field-password .login-field-input { padding-right: 46px; }

.login-field-toggle {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #55565c;
  color: var(--text-3);
  border-radius: 0 10px 10px 0;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  transition: color 140ms;
}
.login-field-toggle:hover { color: #ff3b3b; color: var(--accent-2); }

.login-forgot {
  align-self: flex-end;
  font-size: 12px;
  font-weight: 600;
  color: #55565c;
  color: var(--text-3);
  transition: color 140ms;
  min-height: 32px;
  display: flex;
  align-items: center;
}
.login-forgot:hover { color: #ff3b3b; color: var(--accent-2); }

.login-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  border-radius: var(--r-md);
  font-size: 13px;
  line-height: 1.5;
  animation: slide-in 160ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: slide-in 160ms var(--ease);
}

.login-alert-error {
  background: rgba(255 71 71 / 0.12);
  background: var(--red-subtle);
  border: 1px solid rgba(255 71 71 / 0.28);
  border: 1px solid var(--red-border);
  color: #ffb3b3;
}

.login-alert-success {
  background: rgba(52 211 153 / 0.1);
  background: var(--green-subtle);
  border: 1px solid rgba(52 211 153 / 0.22);
  border: 1px solid var(--green-border);
  color: #6ee7b7;
}

.login-alert-icon { flex-shrink: 0; margin-top: 1px; }
.login-alert-message { font-weight: 500; }

.login-blocked {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: rgba(251 191 36 / 0.1);
  background: var(--yellow-subtle);
  border: 1px solid rgba(251 191 36 / 0.22);
  border: 1px solid var(--yellow-border);
  border-radius: 10px;
  border-radius: var(--r-md);
  animation: slide-in 160ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: slide-in 160ms var(--ease);
}

.login-blocked-icon { color: #fbbf24; color: var(--yellow); flex-shrink: 0; }

.login-blocked-title {
  font-size: 13px;
  font-weight: 700;
  color: #fbbf24;
  color: var(--yellow);
}

.login-blocked-timer {
  font-size: 12px;
  color: rgba(251 191 36 / 0.7);
  margin-top: 2px;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 14px;
  border-radius: var(--r-lg);
  font-size: 14.5px;
  font-weight: 700;
  min-height: 48px;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #e01c1c 0%, #ff3b3b 100%);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  border: 1px solid rgba(224 28 28 / 0.4);
  box-shadow:
    0 1px 0 rgba(255 255 255 / 0.1) inset,
    0 0 24px rgba(224 28 28 / 0.28);
  box-shadow:
    0 1px 0 rgba(255 255 255 / 0.1) inset,
    var(--shadow-accent);
  transition: opacity 160ms cubic-bezier(0.16, 1, 0.3, 1), transform 120ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 160ms;
  transition: opacity 160ms var(--ease), transform 120ms var(--ease), box-shadow 160ms;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

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

.login-submit:hover:not(:disabled) {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(224 28 28 / 0.4), 0 4px 20px rgba(0 0 0 / 0.6);
  box-shadow: 0 0 36px rgba(224 28 28 / 0.4), var(--shadow-md);
}

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

.login-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.login-submit-loading {
  background: #1c1c1f !important;
  background: var(--surface-3) !important;
  color: #9a9ba1 !important;
  color: var(--text-2) !important;
  border-color: rgba(224 28 28 / 0.14) !important;
  border-color: var(--border) !important;
  box-shadow: none !important;
}

.login-submit-blocked {
  background: #1c1c1f !important;
  background: var(--surface-3) !important;
  color: #55565c !important;
  color: var(--text-3) !important;
  border-color: rgba(224 28 28 / 0.14) !important;
  border-color: var(--border) !important;
  box-shadow: none !important;
}

.login-submit-icon { display: flex; }

.login-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255 255 255 / 0.2);
  border-top-color: #9a9ba1;
  border-top-color: var(--text-2);
  border-radius: 50%;
  animation: spin-btn 0.7s linear infinite;
  flex-shrink: 0;
}

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

.login-divider-line {
  flex: 1 1;
  height: 1px;
  background: rgba(224 28 28 / 0.14);
  background: var(--border);
}

.login-divider-text {
  font-size: 11.5px;
  color: #333338;
  color: var(--text-4);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

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

.login-register {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #9a9ba1;
  color: var(--text-2);
  min-height: 36px;
  padding: 6px 0;
  transition: color 140ms, transform 140ms;
}
.login-register:hover { color: #ff3b3b; color: var(--accent-2); transform: translateX(3px); }
.login-register-icon { color: #ff3b3b; color: var(--accent-2); }

.login-attempts {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #333338;
  color: var(--text-4);
  font-weight: 500;
}
.login-attempts-icon { color: #333338; color: var(--text-4); }

.login-mobile-platforms { text-align: center; }

@media (min-width: 900px) {
  .login-mobile-platforms { display: none; }
}

.login-mobile-platforms-title {
  font-size: 11px;
  color: #333338;
  color: var(--text-4);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}

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

.login-mobile-platforms-grid img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  border-radius: var(--r-sm);
  background: #141416;
  background: var(--surface-2);
  padding: 4px;
  border: 1px solid rgba(224 28 28 / 0.14);
  border: 1px solid var(--border);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 180ms var(--ease);
}

.login-mobile-platforms-grid img:hover {
  transform: scale(1.12) rotate(4deg);
}

.login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0 0 0 / 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 20px;
  animation: overlay-in 180ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: overlay-in 180ms var(--ease);
}

.login-modal {
  background: #0d0d0f;
  background: var(--surface-1);
  border: 1px solid rgba(224 28 28 / 0.28);
  border: 1px solid var(--border-2);
  border-radius: 24px;
  border-radius: var(--r-2xl);
  width: 100%;
  max-width: 420px;
  box-shadow: 0 12px 40px rgba(0 0 0 / 0.75), 0 0 0 1px rgba(224 28 28 / 0.08);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(224 28 28 / 0.08);
  overflow: hidden;
  animation: modal-in 220ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: modal-in 220ms var(--ease);
  position: relative;
}

.login-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(
    90deg, transparent,
    rgba(224 28 28 / 0.6),
    rgba(201 204 209 / 0.35),
    transparent
  );
}

.login-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(224 28 28 / 0.14);
  border-bottom: 1px solid var(--border);
}

.login-modal-title {
  font-size: 17px;
  font-weight: 800;
  color: #f1f1f3;
  color: var(--text-1);
  letter-spacing: -0.03em;
}

.login-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border-radius: var(--r-sm);
  color: #55565c;
  color: var(--text-3);
  font-size: 14px;
  min-width: 44px;
  min-height: 44px;
  transition: background 140ms, color 140ms, transform 140ms;
}
.login-modal-close:hover { background: #1c1c1f; background: var(--surface-3); color: #ff3b3b; color: var(--accent-2); transform: rotate(90deg); }

.login-modal-content {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-modal-description {
  font-size: 13.5px;
  color: #9a9ba1;
  color: var(--text-2);
  line-height: 1.65;
}

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

.login-mobile-support {
  position: fixed;
  bottom: 80px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
}

@media (min-width: 900px) {
  .login-mobile-support { bottom: 24px; right: 24px; }
}

.login-mobile-support-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 9999px;
  border-radius: var(--r-full);
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), filter 160ms;
  transition: transform 160ms var(--ease), filter 160ms;
}

.login-mobile-support-btn:active { transform: scale(0.92) !important; }

.login-mobile-support-whatsapp {
  background: #1a3c2a;
  color: #25d366;
  border: 1px solid rgba(37 211 102 / 0.3);
  animation: float-btn 3.2s ease-in-out infinite, pulse-glow-wa 3.2s ease-in-out infinite;
}

.login-mobile-support-whatsapp:hover {
  background: #1f4d33;
  animation-play-state: paused;
  transform: scale(1.14) translateY(-5px) !important;
  filter: brightness(1.15);
}

.login-mobile-support-telegram {
  background: #0f2a3d;
  color: #29a8e8;
  border: 1px solid rgba(40 168 230 / 0.28);
  animation: float-btn 3.2s ease-in-out infinite 0.5s, pulse-glow-tg 3.2s ease-in-out infinite 0.5s;
}

.login-mobile-support-telegram:hover {
  background: #163a52;
  animation-play-state: paused;
  transform: scale(1.14) translateY(-5px) !important;
  filter: brightness(1.15);
}

.login-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(224 28 28 / 0.14);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.login-footer p {
  font-size: 12px;
  font-weight: 600;
  background: linear-gradient(130deg, #f2f3f5, #ff3b3b);
  background: linear-gradient(130deg, var(--silver-bright), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-footer-sub {
  font-size: 11px !important;
  color: #333338 !important;
  color: var(--text-4) !important;
  background: none !important;
  -webkit-text-fill-color: #333338 !important;
  -webkit-text-fill-color: var(--text-4) !important;
}

@media (max-width: 480px) {
  .login-card    { padding: 22px 18px; border-radius: 18px; border-radius: var(--r-xl); }
  .login-content { padding: 16px 12px; }
  .login-card-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (min-width: 481px) and (max-width: 899px) {
  .login-content { padding: 32px 24px; }
}

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

.login-field-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
}

.login-modal-close {
  background: transparent;
  border: none;
  cursor: pointer;
}

.login-forgot {
  background: transparent;
  border: none;
  cursor: pointer;
}

.login-register {
  background: transparent;
  border: none;
  cursor: pointer;
}
/* ═══════════════════════════════════════════════════════════
   🏰 DISNEY+ - MAGICAL STREAMING THEME
   ═══════════════════════════════════════════════════════════ */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .disney-brand {
    gap: 1rem;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .disney-brand {
    gap: 1rem;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .netflix-brand {
    gap: 1rem;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .amazonprime-brand {
    gap: 1rem;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.hbomax-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 115, 255, 0.4),
              0 0 40px rgba(0, 115, 255, 0.3);
  border-color: var(--hbo-primary);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.hbomax-select-option:hover {
  background: linear-gradient(135deg, rgba(0, 115, 255, 0.15) 0%, rgba(0, 115, 255, 0.05) 100%);
}

.hbomax-select-option.selected {
  background: linear-gradient(135deg, rgba(0, 115, 255, 0.2) 0%, rgba(0, 115, 255, 0.1) 100%);
  border-left: 3px solid var(--hbo-primary);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.hbomax-result-code:hover {
  border-color: var(--hbo-border-bright);
  box-shadow: 0 4px 16px rgba(0, 115, 255, 0.15);
}

.hbomax-code-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border-left: 4px solid var(--hbo-primary);
  margin-bottom: 1rem;
}

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

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

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

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

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

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

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

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

.hbomax-status-valid {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6EE7B7;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

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

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

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

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


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

.hbomax-result-link:hover {
  border-color: var(--hbo-border-bright);
  box-shadow: 0 4px 16px rgba(0, 115, 255, 0.15);
}

.hbomax-link-preview {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--hbo-primary);
}

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

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

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

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

.hbomax-status-valid {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6EE7B7;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

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

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

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

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

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

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

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

.hbomax-btn-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 115, 255, 0.5);
}

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

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

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

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

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

  .hbomax-brand {
    gap: 1rem;
  }

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

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

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

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

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

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

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

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

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

  .hbomax-link-actions {
    flex-direction: column;
  }

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

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

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

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

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

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

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

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

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

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

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

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

/* ═══════════════════════════════════════════════════════════
   🎌 CRUNCHYROLL PREMIUM - FUTURISTIC ANIME THEME
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   🎨 VARIABLES DE TEMA CRUNCHYROLL
   ═══════════════════════════════════════════════════════════ */
.crunchyroll-platform {
  --cr-primary: #f47521;
  --cr-primary-dark: #d86518;
  --cr-primary-light: #ff8c3a;
  --cr-secondary: #23252b;
  --cr-accent: #ff6b35;
  --cr-bg-dark: #0a0b0e;
  --cr-bg-card: #141519;
  --cr-bg-elevated: #1a1c23;
  --cr-text-primary: #ffffff;
  --cr-text-secondary: #b4b8c5;
  --cr-text-muted: #6b7280;
  --cr-border: rgba(244, 117, 33, 0.15);
  --cr-border-bright: rgba(244, 117, 33, 0.4);
  --cr-glow: rgba(244, 117, 33, 0.3);
  --cr-success: #10b981;
  --cr-warning: #fbbf24;
  --cr-error: #ef4444;
  --cr-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --cr-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

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

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

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

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

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

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

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

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

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

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

.crunchyroll-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(244, 117, 33, 0.4),
              0 0 40px rgba(244, 117, 33, 0.3);
  border-color: var(--cr-primary);
}

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

/* ✅ Info siempre en columna (PC y móvil) */
.crunchyroll-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

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

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

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

.crunchyroll-correos-count:hover {
  background: linear-gradient(135deg, rgba(244, 117, 33, 0.25) 0%, rgba(244, 117, 33, 0.1) 100%);
  transform: scale(1.05);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.crunchyroll-result-link:hover {
  border-color: var(--cr-border-bright);
  box-shadow: 0 4px 16px rgba(244, 117, 33, 0.15);
}

.crunchyroll-link-preview {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--cr-primary);
}

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

.crunchyroll-link-actions {
  display: flex;
  flex-direction: column;  /* ← CAMBIADO: botones verticales */
  gap: 0.75rem;
  margin-top: 1rem;
}

.crunchyroll-btn-open,
.crunchyroll-btn-copy {
  width: 100%;  /* ← CAMBIADO: de flex: 1 a width: 100% */
  padding: 0.875rem 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.crunchyroll-btn-open {
  background: linear-gradient(135deg, var(--cr-primary) 0%, var(--cr-accent) 100%);
  color: #ffffff;
  border: 2px solid transparent;  /* ← AÑADIDO: para consistencia */
  box-shadow: 0 4px 16px rgba(244, 117, 33, 0.3);
}

.crunchyroll-btn-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(244, 117, 33, 0.5);
}

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

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

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

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

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

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

.crunchyroll-status-valid {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

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

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

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

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

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

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

  .crunchyroll-brand {
    gap: 1rem;
  }

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

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

  .crunchyroll-correos-count {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    margin-left: -10px; /* ✅ Ajusta más a la izquierda en móvil */
  }

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

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

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

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

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

  .crunchyroll-link-actions {
    flex-direction: column;
  }

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

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

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

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

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

  .crunchyroll-correos-count {
    margin-left: -10px; /* ✅ Mismo ajuste para móviles pequeños */
  }

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

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

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

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

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

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

/* ═══════════════════════════════════════════════════════════
   🏔️ PARAMOUNT+ - PREMIUM MOUNTAIN THEME
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   🎨 VARIABLES DE TEMA PARAMOUNT+
   ═══════════════════════════════════════════════════════════ */
.paramount-platform {
  --paramount-primary: #2864f0;
  --paramount-primary-dark: #2050dc;
  --paramount-primary-light: #4080ff;
  --paramount-secondary: #000a3b;
  --paramount-accent: #3070ff;
  --paramount-bg-dark: #000510;
  --paramount-bg-card: #0a0d1a;
  --paramount-bg-elevated: #0f1222;
  --paramount-text-primary: #ffffff;
  --paramount-text-secondary: #b8c0d8;
  --paramount-text-muted: #6b7593;
  --paramount-border: rgba(40, 100, 240, 0.15);
  --paramount-border-bright: rgba(40, 100, 240, 0.4);
  --paramount-glow: rgba(40, 100, 240, 0.3);
  --paramount-success: #10b981;
  --paramount-warning: #fbbf24;
  --paramount-error: #ef4444;
  --paramount-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --paramount-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.paramount-result-link:hover {
  border-color: var(--paramount-border-bright);
  box-shadow: 0 4px 16px rgba(40, 100, 240, 0.15);
}

.paramount-link-preview {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--paramount-primary);
}

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

.paramount-link-actions {
  display: flex;
  flex-direction: column;  /* ← CAMBIADO: botones verticales */
  gap: 0.75rem;
  margin-top: 1rem;
}

.paramount-btn-open,
.paramount-btn-copy {
  width: 100%;  /* ← CAMBIADO: de flex: 1 a width: 100% */
  padding: 0.875rem 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.paramount-btn-open {
  background: linear-gradient(135deg, var(--paramount-primary) 0%, var(--paramount-accent) 100%);
  color: #ffffff;
  border: 2px solid transparent;  /* ← AÑADIDO: para consistencia */
  box-shadow: 0 4px 16px rgba(40, 100, 240, 0.3);
}

.paramount-btn-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(40, 100, 240, 0.5);
}

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

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

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

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

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

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

.paramount-status-valid {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

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

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

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

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

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

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

  .paramount-brand {
    gap: 1rem;
  }

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

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

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

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

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

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

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

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

  .paramount-link-actions {
    flex-direction: column;
  }

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

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

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

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

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

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

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

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

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

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

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

/* ═══════════════════════════════════════════════════════════
   📺 VIX - PREMIUM STREAMING THEME
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   🎨 VARIABLES DE TEMA VIX
   ═══════════════════════════════════════════════════════════ */
.vix-platform {
  --vix-primary: #FF5900;
  --vix-primary-dark: #E24B00;
  --vix-primary-light: #FF7020;
  --vix-secondary: #090D18;
  --vix-accent: #F52D1F;
  --vix-bg-dark: #050608;
  --vix-bg-card: #0D0F14;
  --vix-bg-elevated: #13151C;
  --vix-text-primary: #F2F2F2;
  --vix-text-secondary: #C5C8D0;
  --vix-text-muted: #6B7280;
  --vix-border: rgba(255, 89, 0, 0.15);
  --vix-border-bright: rgba(255, 89, 0, 0.4);
  --vix-glow: rgba(255, 89, 0, 0.3);
  --vix-success: #46d369;
  --vix-warning: #fbbf24;
  --vix-error: #ef4444;
  --vix-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --vix-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.vix-result-link:hover {
  border-color: var(--vix-border-bright);
  box-shadow: 0 4px 16px rgba(255, 89, 0, 0.15);
}

.vix-link-preview {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--vix-primary);
}

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

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

.vix-btn-open,
.vix-btn-copy {
  width: 100%;  /* ← CAMBIADO: Quité flex: 1 y puse width: 100% */
  padding: 0.875rem 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.vix-btn-open {
  background: linear-gradient(135deg, var(--vix-primary) 0%, var(--vix-accent) 100%);
  color: #ffffff;
  border: 2px solid transparent;  /* ← AÑADIDO: Para consistencia */
  box-shadow: 0 4px 16px rgba(255, 89, 0, 0.3);
}

.vix-btn-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(255, 89, 0, 0.5);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

  .vix-brand {
    gap: 1rem;
  }

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

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

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

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

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

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

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

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

  .vix-link-actions {
    flex-direction: column;
  }

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

  .vix-link-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .vix-platform {
    padding: 1rem;
    margin: 0 0.5rem;
    max-width: calc(100% - 1rem);
    border-radius: 12px;
  }

  .vix-logo {
    width: 50px;
    height: 50px;
  }

  .vix-info h1 {
    font-size: 1.5rem;
  }

  .vix-btn-consultar {
    font-size: 0.95rem;
  }

  .vix-btn-icon {
    font-size: 1.1rem;
  }

  .vix-form-input {
    font-size: 0.9rem;
  }

  .vix-link-text {
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ✨ EFECTOS ESPECIALES Y ACABADOS
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Efecto de escaneo futurista */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ═══════════════════════════════════════════════════════════
   ⚽ LIGA1 MAX - PREMIUM SPORTS STREAMING THEME
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   🎨 VARIABLES DE TEMA LIGA1 MAX
   ═══════════════════════════════════════════════════════════ */
.liga1max-platform {
  --liga1-primary: #E82C43;
  --liga1-primary-dark: #C31F36;
  --liga1-primary-light: #F24458;
  --liga1-secondary: #1A0A0E;
  --liga1-accent: #F90F18;
  --liga1-bg-dark: #0D0507;
  --liga1-bg-card: #150A0D;
  --liga1-bg-elevated: #1D1014;
  --liga1-text-primary: #F8F8F8;
  --liga1-text-secondary: #D8BFC5;
  --liga1-text-muted: #7A6169;
  --liga1-border: rgba(232, 44, 67, 0.15);
  --liga1-border-bright: rgba(232, 44, 67, 0.4);
  --liga1-glow: rgba(232, 44, 67, 0.3);
  --liga1-success: #46d369;
  --liga1-warning: #fbbf24;
  --liga1-error: #ef4444;
  --liga1-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --liga1-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* ═══════════════════════════════════════════════════════════
   🎯 CONTENEDOR PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.liga1max-platform {
  font-family: 'Space Grotesk', 'Rajdhani', sans-serif;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--liga1-bg-dark) 0%, #0f0608 100%);
  border-radius: 24px;
  border: 1px solid var(--liga1-border);
  box-shadow: var(--liga1-shadow-lg), 
              0 0 0 1px rgba(232, 44, 67, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  animation: platformEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.liga1max-platform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--liga1-primary) 30%, 
    var(--liga1-primary-light) 50%, 
    var(--liga1-primary) 70%, 
    transparent 100%
  );
  animation: topBarScan 3s ease-in-out infinite;
}

.liga1max-platform::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(232, 44, 67, 0.08) 0%, transparent 70%);
  animation: ambientGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes platformEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes topBarScan {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

@keyframes ambientGlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
  50% { transform: translate(10%, 10%) rotate(180deg); opacity: 0.8; }
}

/* ═══════════════════════════════════════════════════════════
   🎯 HEADER CON BRANDING
   ═══════════════════════════════════════════════════════════ */
.liga1max-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--liga1-border);
  animation: headerSlideIn 0.5s ease-out 0.1s backwards;
}

@keyframes headerSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.liga1max-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.liga1max-logo {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(135deg, var(--liga1-bg-elevated) 0%, var(--liga1-bg-card) 100%);
  border: 2px solid var(--liga1-border-bright);
  box-shadow: 0 8px 24px rgba(232, 44, 67, 0.25),
              0 0 20px rgba(232, 44, 67, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: logoPulse 3s ease-in-out infinite;
}

.liga1max-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(232, 44, 67, 0.4),
              0 0 40px rgba(232, 44, 67, 0.3);
  border-color: var(--liga1-primary);
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(232, 44, 67, 0.25), 0 0 20px rgba(232, 44, 67, 0.15); }
  50% { box-shadow: 0 8px 24px rgba(232, 44, 67, 0.4), 0 0 30px rgba(232, 44, 67, 0.25); }
}

.liga1max-info h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--liga1-primary) 0%, var(--liga1-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-shadow: 0 0 30px rgba(232, 44, 67, 0.3);
  animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.liga1max-correos-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, rgba(232, 44, 67, 0.15) 0%, rgba(232, 44, 67, 0.05) 100%);
  border: 1px solid var(--liga1-border-bright);
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--liga1-primary-light);
  letter-spacing: 0.5px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.liga1max-correos-count:hover {
  background: linear-gradient(135deg, rgba(232, 44, 67, 0.25) 0%, rgba(232, 44, 67, 0.1) 100%);
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   📝 FORMULARIO PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.liga1max-form {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  animation: formFadeIn 0.5s ease-out 0.2s backwards;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.liga1max-form-group {
  margin-bottom: 1.5rem;
}

.liga1max-form-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--liga1-text-secondary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.liga1max-input-container {
  position: relative;
}

.liga1max-form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--liga1-text-primary);
  background: var(--liga1-bg-card);
  border: 2px solid var(--liga1-border);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.liga1max-form-input::placeholder {
  color: var(--liga1-text-muted);
  font-weight: 400;
}

.liga1max-form-input:focus {
  background: var(--liga1-bg-elevated);
  border-color: var(--liga1-primary);
  box-shadow: 0 0 0 3px rgba(232, 44, 67, 0.15),
              inset 0 2px 8px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(232, 44, 67, 0.1);
  transform: translateY(-2px);
}

.liga1max-form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.liga1max-input-help {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--liga1-text-muted);
  font-family: 'Rajdhani', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   🚀 BOTÓN DE CONSULTA
   ═══════════════════════════════════════════════════════════ */
.liga1max-btn-consultar {
  width: 100%;
  padding: 1.2rem 2rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--liga1-primary) 0%, var(--liga1-accent) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(232, 44, 67, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.liga1max-btn-consultar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.liga1max-btn-consultar:hover::before {
  left: 100%;
}

.liga1max-btn-consultar:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(232, 44, 67, 0.5),
              0 0 40px rgba(232, 44, 67, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.2);
}

.liga1max-btn-consultar:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

.liga1max-btn-consultar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.liga1max-btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.liga1max-btn-icon {
  font-size: 1.3rem;
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.liga1max-btn-text {
  font-weight: 700;
}

.liga1max-btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.liga1max-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   ⚠️ ALERTAS Y NOTIFICACIONES
   ═══════════════════════════════════════════════════════════ */
.liga1max-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  animation: alertSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.liga1max-alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.liga1max-alert-icon {
  font-size: 1.3rem;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.liga1max-alert-message {
  flex: 1 1;
}

/* ═══════════════════════════════════════════════════════════
   📊 CONTENEDOR DE RESULTADOS
   ═══════════════════════════════════════════════════════════ */
.liga1max-result-container {
  background: linear-gradient(135deg, var(--liga1-bg-elevated) 0%, var(--liga1-bg-card) 100%);
  border: 1px solid var(--liga1-border-bright);
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: resultExpand 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.liga1max-result-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--liga1-primary), transparent);
  animation: resultGlow 2s ease-in-out infinite;
}

@keyframes resultExpand {
  from {
    opacity: 0;
    transform: scale(0.95);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: scale(1);
    max-height: 1000px;
  }
}

@keyframes resultGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.liga1max-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--liga1-border);
}

.liga1max-result-header h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--liga1-text-primary);
  letter-spacing: 0.5px;
}

.liga1max-result-icon {
  font-size: 1.5rem;
  animation: iconBounce 2s ease-in-out infinite;
}

.liga1max-result-title {
  font-weight: 700;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ═══════════════════════════════════════════════════════════
   🔗 PREVIEW Y ACCIONES DE LINK
   ═══════════════════════════════════════════════════════════ */
.liga1max-result-link {
  background: var(--liga1-bg-dark);
  border: 1px solid var(--liga1-border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.liga1max-result-link:hover {
  border-color: var(--liga1-border-bright);
  box-shadow: 0 4px 16px rgba(232, 44, 67, 0.15);
}

.liga1max-link-preview {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--liga1-primary);
}

.liga1max-link-text {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.9rem;
  color: var(--liga1-text-secondary);
  word-break: break-all;
  line-height: 1.6;
}

.liga1max-link-actions {
  display: flex;
  flex-direction: column;  /* ← CAMBIADO: botones verticales */
  gap: 0.75rem;
  margin-top: 1rem;
}

.liga1max-btn-open,
.liga1max-btn-copy {
  width: 100%;  /* ← CAMBIADO: de flex: 1 a width: 100% */
  padding: 0.875rem 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.liga1max-btn-open {
  background: linear-gradient(135deg, var(--liga1-primary) 0%, var(--liga1-accent) 100%);
  color: #ffffff;
  border: 2px solid transparent;  /* ← AÑADIDO: para consistencia de tamaño */
  box-shadow: 0 4px 16px rgba(232, 44, 67, 0.3);
}

.liga1max-btn-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(232, 44, 67, 0.5);
}

.liga1max-btn-copy {
  background: linear-gradient(135deg, var(--liga1-bg-elevated) 0%, var(--liga1-bg-card) 100%);
  color: var(--liga1-primary);
  border: 2px solid var(--liga1-border-bright);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.liga1max-btn-copy:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--liga1-bg-card) 0%, var(--liga1-bg-dark) 100%);
  border-color: var(--liga1-primary);
  box-shadow: 0 6px 24px rgba(232, 44, 67, 0.3);
}

.liga1max-btn-open:active,
.liga1max-btn-copy:active {
  transform: translateY(-1px) scale(0.98);
}

.liga1max-link-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.liga1max-validez-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.liga1max-status-valid {
  background: linear-gradient(135deg, rgba(70, 211, 105, 0.2) 0%, rgba(70, 211, 105, 0.05) 100%);
  border: 1px solid rgba(70, 211, 105, 0.4);
  color: #86efac;
  box-shadow: 0 0 20px rgba(70, 211, 105, 0.2);
}

.liga1max-status-expiring {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.05) 100%);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.liga1max-status-expired {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.liga1max-status-unknown {
  background: linear-gradient(135deg, rgba(122, 97, 105, 0.2) 0%, rgba(122, 97, 105, 0.05) 100%);
  border: 1px solid rgba(122, 97, 105, 0.4);
  color: #9ca3af;
  box-shadow: 0 0 20px rgba(122, 97, 105, 0.2);
}

.liga1max-fecha-email {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--liga1-text-muted);
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE - MOBILE FIRST
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .liga1max-platform {
    padding: 1.25rem;
    border-radius: 16px;
    margin: 0 0.75rem;
    max-width: calc(100% - 1.5rem);
  }

  .liga1max-header {
    margin-bottom: 1.5rem;
  }

  .liga1max-brand {
    gap: 1rem;
  }

  .liga1max-logo {
    width: 55px;
    height: 55px;
  }

  .liga1max-info h1 {
    font-size: 1.75rem;
  }

  .liga1max-correos-count {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
  }

  .liga1max-form-label {
    font-size: 0.85rem;
  }

  .liga1max-form-input {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
  }

  .liga1max-btn-consultar {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .liga1max-result-container {
    padding: 1.25rem;
  }

  .liga1max-result-header h3 {
    font-size: 1.1rem;
  }

  .liga1max-link-actions {
    flex-direction: column;
  }

  .liga1max-btn-open,
  .liga1max-btn-copy {
    width: 100%;
  }

  .liga1max-link-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .liga1max-platform {
    padding: 1rem;
    margin: 0 0.5rem;
    max-width: calc(100% - 1rem);
    border-radius: 12px;
  }

  .liga1max-logo {
    width: 50px;
    height: 50px;
  }

  .liga1max-info h1 {
    font-size: 1.5rem;
  }

  .liga1max-btn-consultar {
    font-size: 0.95rem;
  }

  .liga1max-btn-icon {
    font-size: 1.1rem;
  }

  .liga1max-form-input {
    font-size: 0.9rem;
  }

  .liga1max-link-text {
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ✨ EFECTOS ESPECIALES Y ACABADOS
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Efecto de escaneo futurista */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ═══════════════════════════════════════════════════════════
   📱 MOVISTAR PLAY - PREMIUM STREAMING THEME
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   🎨 VARIABLES DE TEMA MOVISTAR PLAY
   ═══════════════════════════════════════════════════════════ */
.movistarplay-platform {
  --movistar-primary: #019BF3;
  --movistar-primary-dark: #0179C2;
  --movistar-primary-light: #1EAEFF;
  --movistar-secondary: #0B1824;
  --movistar-accent: #009EF7;
  --movistar-bg-dark: #050A10;
  --movistar-bg-card: #0C1319;
  --movistar-bg-elevated: #121A24;
  --movistar-text-primary: #F5F5F5;
  --movistar-text-secondary: #C5D5E5;
  --movistar-text-muted: #6B7E92;
  --movistar-border: rgba(1, 155, 243, 0.15);
  --movistar-border-bright: rgba(1, 155, 243, 0.4);
  --movistar-glow: rgba(1, 155, 243, 0.3);
  --movistar-success: #46d369;
  --movistar-warning: #fbbf24;
  --movistar-error: #ef4444;
  --movistar-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --movistar-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* ═══════════════════════════════════════════════════════════
   🎯 CONTENEDOR PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.movistarplay-platform {
  font-family: 'Space Grotesk', 'Rajdhani', sans-serif;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--movistar-bg-dark) 0%, #070d15 100%);
  border-radius: 24px;
  border: 1px solid var(--movistar-border);
  box-shadow: var(--movistar-shadow-lg), 
              0 0 0 1px rgba(1, 155, 243, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  animation: platformEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.movistarplay-platform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--movistar-primary) 30%, 
    var(--movistar-primary-light) 50%, 
    var(--movistar-primary) 70%, 
    transparent 100%
  );
  animation: topBarScan 3s ease-in-out infinite;
}

.movistarplay-platform::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(1, 155, 243, 0.08) 0%, transparent 70%);
  animation: ambientGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes platformEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes topBarScan {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

@keyframes ambientGlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
  50% { transform: translate(10%, 10%) rotate(180deg); opacity: 0.8; }
}

/* ═══════════════════════════════════════════════════════════
   🎯 HEADER CON BRANDING
   ═══════════════════════════════════════════════════════════ */
.movistarplay-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--movistar-border);
  animation: headerSlideIn 0.5s ease-out 0.1s backwards;
}

@keyframes headerSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.movistarplay-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.movistarplay-logo {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(135deg, var(--movistar-bg-elevated) 0%, var(--movistar-bg-card) 100%);
  border: 2px solid var(--movistar-border-bright);
  box-shadow: 0 8px 24px rgba(1, 155, 243, 0.25),
              0 0 20px rgba(1, 155, 243, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: logoPulse 3s ease-in-out infinite;
}

.movistarplay-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(1, 155, 243, 0.4),
              0 0 40px rgba(1, 155, 243, 0.3);
  border-color: var(--movistar-primary);
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(1, 155, 243, 0.25), 0 0 20px rgba(1, 155, 243, 0.15); }
  50% { box-shadow: 0 8px 24px rgba(1, 155, 243, 0.4), 0 0 30px rgba(1, 155, 243, 0.25); }
}

.movistarplay-info h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--movistar-primary) 0%, var(--movistar-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-shadow: 0 0 30px rgba(1, 155, 243, 0.3);
  animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.movistarplay-correos-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, rgba(1, 155, 243, 0.15) 0%, rgba(1, 155, 243, 0.05) 100%);
  border: 1px solid var(--movistar-border-bright);
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--movistar-primary-light);
  letter-spacing: 0.5px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.movistarplay-correos-count:hover {
  background: linear-gradient(135deg, rgba(1, 155, 243, 0.25) 0%, rgba(1, 155, 243, 0.1) 100%);
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   📝 FORMULARIO PRINCIPAL
   ═══════════════════════════════════════════════════════════ */
.movistarplay-form {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  animation: formFadeIn 0.5s ease-out 0.2s backwards;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.movistarplay-form-group {
  margin-bottom: 1.5rem;
}

.movistarplay-form-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--movistar-text-secondary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.movistarplay-input-container {
  position: relative;
}

.movistarplay-form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--movistar-text-primary);
  background: var(--movistar-bg-card);
  border: 2px solid var(--movistar-border);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.movistarplay-form-input::placeholder {
  color: var(--movistar-text-muted);
  font-weight: 400;
}

.movistarplay-form-input:focus {
  background: var(--movistar-bg-elevated);
  border-color: var(--movistar-primary);
  box-shadow: 0 0 0 3px rgba(1, 155, 243, 0.15),
              inset 0 2px 8px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(1, 155, 243, 0.1);
  transform: translateY(-2px);
}

.movistarplay-form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.movistarplay-input-help {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--movistar-text-muted);
  font-family: 'Rajdhani', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   🚀 BOTÓN DE CONSULTA
   ═══════════════════════════════════════════════════════════ */
.movistarplay-btn-consultar {
  width: 100%;
  padding: 1.2rem 2rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--movistar-primary) 0%, var(--movistar-accent) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(1, 155, 243, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.movistarplay-btn-consultar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.movistarplay-btn-consultar:hover::before {
  left: 100%;
}

.movistarplay-btn-consultar:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(1, 155, 243, 0.5),
              0 0 40px rgba(1, 155, 243, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.2);
}

.movistarplay-btn-consultar:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

.movistarplay-btn-consultar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.movistarplay-btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.movistarplay-btn-icon {
  font-size: 1.3rem;
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.movistarplay-btn-text {
  font-weight: 700;
}

.movistarplay-btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.movistarplay-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   ⚠️ ALERTAS Y NOTIFICACIONES
   ═══════════════════════════════════════════════════════════ */
.movistarplay-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  animation: alertSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.movistarplay-alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.movistarplay-alert-icon {
  font-size: 1.3rem;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.movistarplay-alert-message {
  flex: 1 1;
}

/* ═══════════════════════════════════════════════════════════
   📊 CONTENEDOR DE RESULTADOS
   ═══════════════════════════════════════════════════════════ */
.movistarplay-result-container {
  background: linear-gradient(135deg, var(--movistar-bg-elevated) 0%, var(--movistar-bg-card) 100%);
  border: 1px solid var(--movistar-border-bright);
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: resultExpand 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.movistarplay-result-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--movistar-primary), transparent);
  animation: resultGlow 2s ease-in-out infinite;
}

@keyframes resultExpand {
  from {
    opacity: 0;
    transform: scale(0.95);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: scale(1);
    max-height: 1000px;
  }
}

@keyframes resultGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.movistarplay-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--movistar-border);
}

.movistarplay-result-header h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--movistar-text-primary);
  letter-spacing: 0.5px;
}

.movistarplay-result-icon {
  font-size: 1.5rem;
  animation: iconBounce 2s ease-in-out infinite;
}

.movistarplay-result-title {
  font-weight: 700;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ═══════════════════════════════════════════════════════════
   🔗 PREVIEW Y ACCIONES DE LINK
   ═══════════════════════════════════════════════════════════ */
.movistarplay-result-link {
  background: var(--movistar-bg-dark);
  border: 1px solid var(--movistar-border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.movistarplay-result-link:hover {
  border-color: var(--movistar-border-bright);
  box-shadow: 0 4px 16px rgba(1, 155, 243, 0.15);
}

.movistarplay-link-preview {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--movistar-primary);
}

.movistarplay-link-text {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.9rem;
  color: var(--movistar-text-secondary);
  word-break: break-all;
  line-height: 1.6;
}

.movistarplay-link-actions {
  display: flex;
  flex-direction: column;  /* ← CAMBIADO: botones verticales */
  gap: 0.75rem;
  margin-top: 1rem;
}

.movistarplay-btn-open,
.movistarplay-btn-copy {
  width: 100%;  /* ← CAMBIADO: de flex: 1 a width: 100% */
  padding: 0.875rem 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.movistarplay-btn-open {
  background: linear-gradient(135deg, var(--movistar-primary) 0%, var(--movistar-accent) 100%);
  color: #ffffff;
  border: 2px solid transparent;  /* ← AÑADIDO: para consistencia */
  box-shadow: 0 4px 16px rgba(1, 155, 243, 0.3);
}

.movistarplay-btn-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(1, 155, 243, 0.5);
}

.movistarplay-btn-copy {
  background: linear-gradient(135deg, var(--movistar-bg-elevated) 0%, var(--movistar-bg-card) 100%);
  color: var(--movistar-primary);
  border: 2px solid var(--movistar-border-bright);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.movistarplay-btn-copy:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--movistar-bg-card) 0%, var(--movistar-bg-dark) 100%);
  border-color: var(--movistar-primary);
  box-shadow: 0 6px 24px rgba(1, 155, 243, 0.3);
}

.movistarplay-btn-open:active,
.movistarplay-btn-copy:active {
  transform: translateY(-1px) scale(0.98);
}

.movistarplay-link-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.movistarplay-validez-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.movistarplay-status-valid {
  background: linear-gradient(135deg, rgba(70, 211, 105, 0.2) 0%, rgba(70, 211, 105, 0.05) 100%);
  border: 1px solid rgba(70, 211, 105, 0.4);
  color: #86efac;
  box-shadow: 0 0 20px rgba(70, 211, 105, 0.2);
}

.movistarplay-status-expiring {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.05) 100%);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.movistarplay-status-expired {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.movistarplay-status-unknown {
  background: linear-gradient(135deg, rgba(107, 126, 146, 0.2) 0%, rgba(107, 126, 146, 0.05) 100%);
  border: 1px solid rgba(107, 126, 146, 0.4);
  color: #9ca3af;
  box-shadow: 0 0 20px rgba(107, 126, 146, 0.2);
}

.movistarplay-fecha-email {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--movistar-text-muted);
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}


/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE - MOBILE FIRST
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .movistarplay-platform {
    padding: 1.25rem;
    border-radius: 16px;
    margin: 0 0.75rem;
    max-width: calc(100% - 1.5rem);
  }

  .movistarplay-header {
    margin-bottom: 1.5rem;
  }

  .movistarplay-brand {
    gap: 1rem;
  }

  .movistarplay-logo {
    width: 55px;
    height: 55px;
  }

  .movistarplay-info h1 {
    font-size: 1.75rem;
  }

  .movistarplay-correos-count {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
  }

  .movistarplay-form-label {
    font-size: 0.85rem;
  }

  .movistarplay-form-input {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
  }

  .movistarplay-btn-consultar {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .movistarplay-result-container {
    padding: 1.25rem;
  }

  .movistarplay-result-header h3 {
    font-size: 1.1rem;
  }

  .movistarplay-link-actions {
    flex-direction: column;
  }

  .movistarplay-btn-open,
  .movistarplay-btn-copy {
    width: 100%;
  }

  .movistarplay-link-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .movistarplay-platform {
    padding: 1rem;
    margin: 0 0.5rem;
    max-width: calc(100% - 1rem);
    border-radius: 12px;
  }

  .movistarplay-logo {
    width: 50px;
    height: 50px;
  }

  .movistarplay-info h1 {
    font-size: 1.5rem;
  }

  .movistarplay-btn-consultar {
    font-size: 0.95rem;
  }

  .movistarplay-btn-icon {
    font-size: 1.1rem;
  }

  .movistarplay-form-input {
    font-size: 0.9rem;
  }

  .movistarplay-link-text {
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ✨ EFECTOS ESPECIALES Y ACABADOS
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Efecto de escaneo futurista */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ═══════════════════════════════════════════════════════════
   👤 MIS CUENTAS - PERFIL Y ASIGNACIONES
   ═══════════════════════════════════════════════════════════ */

.miscuentas-main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════
   🎯 LOADING STATE
   ═══════════════════════════════════════════════════════════ */
.miscuentas-loading-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 1.5rem;
}

.miscuentas-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(76, 175, 80, 0.2);
  border-top-color: #4CAF50;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.miscuentas-loading-text {
  font-size: 1.1rem;
  color: #b3b3b3;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   📋 HEADER CON INFO DEL USUARIO
   ═══════════════════════════════════════════════════════════ */
.miscuentas-header-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.miscuentas-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.miscuentas-info-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.miscuentas-info-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #4CAF50;
  transform: translateY(-2px);
}

.miscuentas-info-label {
  font-size: 0.85rem;
  color: #808080;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.miscuentas-info-value {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 700;
  word-break: break-word;
}

.miscuentas-info-value-highlight {
  font-size: 1.3rem;
  color: #4CAF50;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

/* ═══════════════════════════════════════════════════════════
   🟢 ESTADO DE LA CUENTA
   ═══════════════════════════════════════════════════════════ */
.miscuentas-status-section {
  margin-bottom: 2rem;
}

.miscuentas-status-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 12px;
  flex-wrap: wrap;
  gap: 1rem;
}

.miscuentas-status-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.miscuentas-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.miscuentas-status-active {
  background: #4CAF50;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.miscuentas-status-inactive {
  background: #FF9800;
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.miscuentas-status-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.miscuentas-status-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.miscuentas-date-label {
  font-size: 0.9rem;
  color: #808080;
  font-weight: 600;
}

.miscuentas-date-value {
  font-size: 0.95rem;
  color: #b3b3b3;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   📺 PLATAFORMAS CON CORREOS
   ═══════════════════════════════════════════════════════════ */
.miscuentas-platforms-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.miscuentas-platform-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.miscuentas-platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--miscuentas-platform-color);
  opacity: 0.5;
}

.miscuentas-platform-card:hover {
  border-color: var(--miscuentas-platform-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4),
              0 0 20px var(--miscuentas-platform-color);
  transform: translateY(-2px);
}

.miscuentas-platform-expanded {
  border-color: var(--miscuentas-platform-color);
}

/* ═══════════════════════════════════════════════════════════
   🎯 HEADER DE PLATAFORMA (CLICKEABLE)
   ═══════════════════════════════════════════════════════════ */
.miscuentas-platform-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 1rem;
}

.miscuentas-platform-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.miscuentas-platform-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1 1;
  min-width: 0;
}

.miscuentas-platform-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: contain;
  padding: 5px;
  background: rgba(255, 18, 18, 0.05);
  border: 3px solid var(--miscuentas-platform-color);
  box-shadow: 0 0 15px var(--miscuentas-platform-color);
  flex-shrink: 0;
}

.miscuentas-platform-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.miscuentas-platform-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.miscuentas-platform-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.miscuentas-platform-subtitle {
  font-size: 0.9rem;
  color: var(--miscuentas-platform-color);
  font-weight: 600;
}

.miscuentas-platform-date {
  font-size: 0.8rem;
  color: #808080;
}

.miscuentas-platform-right {
  flex-shrink: 0;
}

.miscuentas-expand-arrow {
  font-size: 1.2rem;
  color: #808080;
  transition: transform 0.3s ease;
  display: inline-block;
}

.miscuentas-expand-rotated {
  transform: rotate(180deg);
  color: var(--miscuentas-platform-color);
}

/* ═══════════════════════════════════════════════════════════
   📧 CUERPO EXPANDIBLE CON CORREOS
   ═══════════════════════════════════════════════════════════ */
.miscuentas-platform-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.miscuentas-email-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.miscuentas-email-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--miscuentas-platform-color);
  transform: translateX(5px);
}

.miscuentas-email-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.miscuentas-email-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: #808080;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
}

.miscuentas-email-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.miscuentas-email-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.miscuentas-email-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1;
  min-width: 0;
}

.miscuentas-email-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.miscuentas-email-address {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  word-break: break-all;
}

.miscuentas-copy-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--miscuentas-platform-color) 0%, var(--miscuentas-platform-color) 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.miscuentas-copy-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3),
              0 0 20px var(--miscuentas-platform-color);
}

.miscuentas-copy-btn:active {
  transform: translateY(0) scale(0.98);
}

.miscuentas-copy-success {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  animation: successPulse 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.miscuentas-copy-icon {
  font-size: 1.1rem;
}

.miscuentas-copy-text {
  font-weight: 700;
}

.miscuentas-email-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.miscuentas-footer-label {
  font-size: 0.8rem;
  color: #808080;
  font-weight: 600;
}

.miscuentas-footer-value {
  font-size: 0.85rem;
  color: #b3b3b3;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   📊 HISTORIAL DE CONSULTAS
   ═══════════════════════════════════════════════════════════ */
.miscuentas-historial-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.miscuentas-historial-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
}

.miscuentas-historial-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.miscuentas-historial-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
  gap: 1rem;
  flex-wrap: wrap;
}

.miscuentas-historial-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

.miscuentas-historial-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1 1;
  min-width: 0;
}

.miscuentas-historial-platform {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.miscuentas-historial-email {
  font-size: 0.85rem;
  color: #808080;
  word-break: break-all;
}

.miscuentas-historial-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.miscuentas-historial-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  white-space: nowrap;
}

.miscuentas-historial-success {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.05) 100%);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #4CAF50;
}

.miscuentas-historial-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.miscuentas-historial-timestamp {
  font-size: 0.75rem;
  color: #666666;
}

/* ═══════════════════════════════════════════════════════════
   📭 ESTADO VACÍO
   ═══════════════════════════════════════════════════════════ */
.miscuentas-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  animation: fadeInUp 0.5s ease-out;
}

.miscuentas-empty-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.miscuentas-empty-title {
  font-size: 1.8rem;
  color: #ffffff;
  margin: 0 0 1rem 0;
}

.miscuentas-empty-text {
  font-size: 1.1rem;
  color: #808080;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   📝 FOOTER
   ═══════════════════════════════════════════════════════════ */
.miscuentas-footer-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.miscuentas-footer-note {
  font-size: 0.95rem;
  color: #b3b3b3;
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.miscuentas-footer-uid {
  font-size: 0.85rem;
  color: #666666;
  margin: 0;
  word-break: break-all;
}

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE - MÓVIL
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .miscuentas-main-container {
    padding: 1rem;
  }

  .miscuentas-header-section {
    padding: 1.25rem;
  }

  .miscuentas-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .miscuentas-info-box {
    padding: 0.75rem;
  }

  .miscuentas-info-value {
    font-size: 1rem;
  }

  .miscuentas-info-value-highlight {
    font-size: 1.1rem;
  }

  .miscuentas-status-card {
    padding: 1rem;
  }

  .miscuentas-platform-header {
    padding: 1rem;
  }

  .miscuentas-platform-logo {
    width: 40px;
    height: 40px;
  }

  .miscuentas-platform-name {
    font-size: 1.2rem;
  }

  .miscuentas-platform-body {
    padding: 0 1rem 1rem 1rem;
  }

  .miscuentas-email-content {
    flex-direction: column;
    align-items: stretch;
  }

  .miscuentas-copy-btn {
    width: 100%;
    justify-content: center;
  }

  .miscuentas-historial-section {
    padding: 1.25rem;
  }

  .miscuentas-historial-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .miscuentas-historial-right {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .miscuentas-main-container {
    padding: 0.75rem;
  }

  .miscuentas-info-grid {
    grid-template-columns: 1fr;
  }

  .miscuentas-platform-name {
    font-size: 1.1rem;
  }

  .miscuentas-email-address {
    font-size: 0.9rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ⚙️ CONFIGURACIÓN - GESTIÓN DE CUENTA Y SEGURIDAD
   ═══════════════════════════════════════════════════════════ */

.config-main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════
   🔄 LOADING STATE
   ═══════════════════════════════════════════════════════════ */
.config-loading-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 1.5rem;
}

.config-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 152, 0, 0.2);
  border-top-color: #FF9800;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.config-loading-text {
  font-size: 1.1rem;
  color: #b3b3b3;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   🎯 HEADER
   ═══════════════════════════════════════════════════════════ */
.config-header-section {
  margin-bottom: 2rem;
}

.config-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.config-header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.config-icon-wrapper {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 152, 0, 0.05) 100%);
  border: 2px solid rgba(255, 152, 0, 0.3);
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 152, 0, 0.2);
}

.config-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.config-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.config-subtitle {
  font-size: 1rem;
  color: #808080;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   📑 TABS
   ═══════════════════════════════════════════════════════════ */
.config-tabs-wrapper {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.config-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #808080;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  bottom: -2px;
}

.config-tab-btn:hover {
  color: #FF9800;
  background: rgba(255, 152, 0, 0.05);
}

.config-tab-active {
  color: #FF9800;
  border-bottom-color: #FF9800;
}

.config-tab-icon {
  font-size: 1.3rem;
}

.config-tab-text {
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   📄 CARDS
   ═══════════════════════════════════════════════════════════ */
.config-content-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.config-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: cardSlideIn 0.4s ease-out backwards;
}

@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.config-card:hover {
  border-color: rgba(255, 152, 0, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.config-card-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.config-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.config-card-body {
  padding: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════
   📊 DATOS PERSONALES
   ═══════════════════════════════════════════════════════════ */
.config-data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.config-data-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.config-data-label {
  font-size: 0.85rem;
  color: #808080;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.config-data-value-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.config-data-value-wrapper:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 152, 0, 0.3);
}

.config-data-value {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
  flex: 1 1;
  word-break: break-word;
}

.config-data-badge {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 152, 0, 0.05) 100%);
  border: 1px solid rgba(255, 152, 0, 0.4);
  color: #FF9800;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.config-status-badge {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.config-status-active {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.05) 100%);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #4CAF50;
}

.config-status-inactive {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 152, 0, 0.05) 100%);
  border: 1px solid rgba(255, 152, 0, 0.4);
  color: #FF9800;
}

/* ═══════════════════════════════════════════════════════════
   📋 BOTÓN DE COPIAR
   ═══════════════════════════════════════════════════════════ */
.config-copy-btn {
  padding: 0.5rem 0.75rem;
  background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.config-copy-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.config-copy-success {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  animation: successPulse 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ═══════════════════════════════════════════════════════════
   🔑 UID BOX
   ═══════════════════════════════════════════════════════════ */
.config-uid-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 152, 0, 0.2);
  border-radius: 10px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.config-uid-code {
  flex: 1 1;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  color: #FF9800;
  background: rgba(255, 152, 0, 0.1);
  padding: 0.75rem;
  border-radius: 6px;
  word-break: break-all;
}

.config-copy-btn-large {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.config-copy-btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.config-copy-icon {
  font-size: 1.1rem;
}

.config-uid-note {
  font-size: 0.9rem;
  color: #808080;
  margin: 0;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   📺 PLATAFORMAS
   ═══════════════════════════════════════════════════════════ */
.config-platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.config-platform-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.config-platform-chip:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #FF9800;
  transform: translateY(-2px);
}

.config-platform-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.config-platform-status {
  font-size: 1.2rem;
}

.config-empty-text {
  font-size: 1rem;
  color: #808080;
  text-align: center;
  padding: 2rem;
}

/* ═══════════════════════════════════════════════════════════
   🔐 FORMULARIO DE CONTRASEÑA
   ═══════════════════════════════════════════════════════════ */
.config-password-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.config-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.config-form-label {
  font-size: 0.9rem;
  color: #b3b3b3;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.config-input-wrapper {
  position: relative;
}

.config-form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.config-form-input::placeholder {
  color: #666666;
}

.config-form-input:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: #FF9800;
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.15);
}

.config-form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.config-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.config-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #FF9800;
}

.config-checkbox-label {
  font-size: 0.95rem;
  color: #b3b3b3;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   ⚠️ ALERTAS
   ═══════════════════════════════════════════════════════════ */
.config-alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  animation: alertSlideIn 0.3s ease-out;
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.config-alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.config-alert-success {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.05) 100%);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #81c784;
}

/* ═══════════════════════════════════════════════════════════
   🚀 BOTONES DE ACCIÓN
   ═══════════════════════════════════════════════════════════ */
.config-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.config-submit-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 152, 0, 0.4);
}

.config-submit-btn:active:not(:disabled) {
  transform: translateY(-1px);
}

.config-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.config-btn-spinner {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.config-btn-icon {
  font-size: 1.2rem;
}

/* ═══════════════════════════════════════════════════════════
   🚪 BOTÓN CERRAR SESIÓN
   ═══════════════════════════════════════════════════════════ */
.config-logout-text {
  font-size: 1rem;
  color: #b3b3b3;
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}

.config-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #f44336 0%, #e53935 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.config-logout-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(244, 67, 54, 0.4);
}

.config-logout-icon {
  font-size: 1.2rem;
}

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE - MÓVIL
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .config-main-container {
    padding: 1rem;
  }

  .config-title {
    font-size: 1.75rem;
  }

  .config-icon-wrapper {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }

  .config-tabs-wrapper {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .config-tabs-wrapper::-webkit-scrollbar {
    display: none;
  }

  .config-tab-btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .config-data-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .config-uid-box {
    flex-direction: column;
    align-items: stretch;
  }

  .config-copy-btn-large {
    width: 100%;
    justify-content: center;
  }

  .config-platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .config-card-header {
    padding: 1.25rem;
  }

  .config-card-body {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .config-main-container {
    padding: 0.75rem;
  }

  .config-title {
    font-size: 1.5rem;
  }

  .config-subtitle {
    font-size: 0.9rem;
  }

  .config-platforms-grid {
    grid-template-columns: 1fr;
  }

  .config-submit-btn,
  .config-logout-btn {
    font-size: 0.95rem;
    padding: 1rem 1.5rem;
  }
}

:root {
  --orange: #ff6b35;
  --orange-light: #ff8c42;
  --orange-dark: #e85d2a;
  --orange-glow: rgba(255,107,53,0.2);
  --bg: #0a0a0a;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --bg4: #202020;
  --gray1: #242424;
  --gray2: #2e2e2e;
  --gray3: #3a3a3a;
  --white: #ffffff;
  --w80: rgba(255,255,255,0.8);
  --w60: rgba(255,255,255,0.6);
  --w40: rgba(255,255,255,0.4);
  --w20: rgba(255,255,255,0.12);
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #f59e0b;
  --sidebar-w: 260px;
  --sidebar-mini: 64px;
  --header-h: 64px;
  --radius: 12px;
  --radius-sm: 8px;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@keyframes slideInLeft { from { opacity:0; transform:translateX(-100%); } to { opacity:1; transform:translateX(0); } }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  background: var(--bg);
  color: #ffffff;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

.dashboard-container {
  display: flex;
  min-height: 100vh;
  background: #0a0a0a;
  background: var(--bg);
  position: relative;
}

.dashboard-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 149;
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}

/* ===== SIDEBAR ===== */
.dashboard-sidebar {
  width: 260px;
  width: var(--sidebar-w);
  min-height: 100vh;
  background: #141414;
  background: var(--bg2);
  border-right: 1px solid #242424;
  border-right: 1px solid var(--gray1);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 150;
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
  scrollbar-width: thin;
  scrollbar-color: #2e2e2e transparent;
  scrollbar-color: var(--gray2) transparent;
}

/* ✅ SIDEBAR CERRADO EN PC → mini con solo íconos */
.dashboard-sidebar.sidebar-closed {
  width: 64px;
  width: var(--sidebar-mini);
}

.dashboard-sidebar::-webkit-scrollbar { width: 4px; }
.dashboard-sidebar::-webkit-scrollbar-track { background: transparent; }
.dashboard-sidebar::-webkit-scrollbar-thumb { background: #2e2e2e; background: var(--gray2); border-radius: 4px; }

/* scroll solo cuando está abierto */
.dashboard-sidebar.sidebar-open {
  overflow-y: auto;
  overflow-x: hidden;
}

/* Header */
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-shrink: 0;
  min-height: 64px;
  overflow: hidden;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid #2e2e2e;
  border: 2px solid var(--gray2);
  flex-shrink: 0;
}

.brand-text {
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.2s, width 0.3s;
}

.brand-text h2 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  line-height: 1;
  margin-bottom: 3px;
}

.brand-text p {
  font-size: 11px;
  color: #ff6b35;
  color: var(--orange);
  font-weight: 600;
  line-height: 1;
}

/* Ocultar textos cuando cerrado */
.dashboard-sidebar.sidebar-closed .brand-text,
.dashboard-sidebar.sidebar-closed .nav-info,
.dashboard-sidebar.sidebar-closed .nav-title,
.dashboard-sidebar.sidebar-closed .sidebar-status,
.dashboard-sidebar.sidebar-closed .sidebar-footer,
.dashboard-sidebar.sidebar-closed .sidebar-close {
  display: none;
}

.sidebar-close {
  display: none;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.sidebar-close:hover {
  background: rgba(239,68,68,0.15);
  border-color: #ef4444;
  border-color: var(--red);
  color: #ef4444;
  color: var(--red);
}

/* Status */
.sidebar-status {
  padding: 10px 12px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-shrink: 0;
  overflow: hidden;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-connected    { background: rgba(34,197,94,0.1);  border-color: rgba(34,197,94,0.2);  color: #22c55e;  color: var(--green); }
.status-disconnected { background: rgba(239,68,68,0.1);  border-color: rgba(239,68,68,0.2);  color: #ef4444;  color: var(--red); }
.status-connecting   { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.2); color: #f59e0b; color: var(--yellow); animation: pulse 2s infinite; }

.status-icon { font-size: 10px; flex-shrink: 0; }
.status-text { flex: 1 1; }

.status-retry {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.2s;
}

.status-retry:hover { background: #2e2e2e; background: var(--gray2); }

/* Nav */
.sidebar-nav {
  padding: 10px 8px 4px;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-title {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 6px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
}

.nav-item:hover:not(:disabled) {
  background: #1a1a1a;
  background: var(--bg3);
  border-color: #2e2e2e;
  border-color: var(--gray2);
  color: #ffffff;
  color: var(--white);
}

.nav-item-active {
  background: rgba(255,107,53,0.1) !important;
  border-color: rgba(255,107,53,0.3) !important;
  color: #ffffff !important;
  color: var(--white) !important;
}

.nav-item-disabled { opacity: 0.4; cursor: not-allowed; }

/* ✅ Ícono centrado cuando sidebar cerrado */
.dashboard-sidebar.sidebar-closed .nav-item {
  justify-content: center;
  padding: 10px 0;
  gap: 0;
}

.nav-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
  background: #1a1a1a;
  background: var(--bg3);
  padding: 3px;
  transition: transform 0.2s;
}

.nav-item:hover .nav-icon { transform: scale(1.08); }
.nav-item-active .nav-icon { background: #202020; background: var(--bg4); }

.nav-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1;
  min-width: 0;
  overflow: hidden;
}

.nav-name {
  font-size: 13px;
  font-weight: 600;
  color: inherit;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-status {
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.nav-status.status-active      { color: #22c55e; color: var(--green); }
.nav-status.status-locked      { color: rgba(255,255,255,0.4); color: var(--w40); }
.nav-status.status-maintenance { color: #f59e0b; color: var(--yellow); }

/* Tooltip en sidebar cerrado */
.dashboard-sidebar.sidebar-closed .nav-item {
  position: relative;
}

.dashboard-sidebar.sidebar-closed .nav-item::after {
  content: attr(title);
  position: absolute;
  left: calc(64px - 4px);
  left: calc(var(--sidebar-mini) - 4px);
  top: 50%;
  transform: translateY(-50%);
  background: #202020;
  background: var(--bg4);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  color: #ffffff;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 200;
  box-shadow: 4px 4px 16px rgba(0,0,0,0.4);
}

.dashboard-sidebar.sidebar-closed .nav-item:hover::after {
  opacity: 1;
}

/* Footer */
.sidebar-footer {
  margin-top: auto;
  padding: 12px;
  border-top: 1px solid #242424;
  border-top: 1px solid var(--gray1);
  flex-shrink: 0;
  overflow: hidden;
}

.user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  white-space: nowrap;
  overflow: hidden;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1 1;
  overflow: hidden;
}

.user-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-type {
  font-size: 11px;
  color: #ff6b35;
  color: var(--orange);
  font-weight: 600;
  text-transform: capitalize;
}

.btn-logout {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ef4444;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-logout:hover {
  background: rgba(239,68,68,0.2);
  border-color: #ef4444;
  border-color: var(--red);
}

.logout-icon { width: 15px; height: 15px; flex-shrink: 0; }

/* ===== MAIN ===== */
.dashboard-main {
  flex: 1 1;
  margin-left: 260px;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #0a0a0a;
  background: var(--bg);
  transition: margin-left 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ✅ Main cuando sidebar mini */
.dashboard-main.main-expanded {
  margin-left: 64px;
  margin-left: var(--sidebar-mini);
}

/* ===== HEADER ===== */
.dashboard-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 64px;
  height: var(--header-h);
  background: #141414;
  background: var(--bg2);
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  gap: 16px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  padding: 9px 10px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-menu span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.6);
  background: var(--w60);
  border-radius: 2px;
  transition: all 0.2s;
}

.btn-menu:hover { background: #242424; background: var(--gray1); border-color: #ff6b35; border-color: var(--orange); }
.btn-menu:hover span { background: #ff6b35; background: var(--orange); }

.header-title-mobile { display: none; }
.header-title-mobile h1 { font-size: 15px; font-weight: 700; color: #ffffff; color: var(--white); }

.header-title { flex: 1 1; }

.header-title h1 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.header-title p { font-size: 13px; color: rgba(255,255,255,0.4); color: var(--w40); line-height: 1; }

.header-right { display: flex; align-items: center; gap: 10px; }

.header-status {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.btn-logout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ef4444;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-logout-header:hover {
  background: rgba(239,68,68,0.2);
  border-color: #ef4444;
  border-color: var(--red);
}

/* ===== ERROR ===== */
.dashboard-error {
  margin: 20px 24px 0;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 14px 18px;
  animation: fadeIn 0.3s ease;
}

.error-content { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.error-icon { font-size: 20px; flex-shrink: 0; }
.error-text { flex: 1 1; min-width: 0; }
.error-text h4 { font-size: 14px; font-weight: 700; color: #ef4444; color: var(--red); margin-bottom: 2px; }
.error-text p  { font-size: 13px; color: rgba(255,255,255,0.6); color: var(--w60); }

.btn-retry {
  padding: 8px 18px;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ef4444;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-retry:hover { background: rgba(239,68,68,0.25); }

/* ===== CONTENIDO ===== */
.dashboard-content {
  flex: 1 1;
  padding: 28px 24px;
  animation: fadeIn 0.3s ease;
}

/* ===== LOADING ===== */
.dashboard-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #0a0a0a;
  background: var(--bg);
}

.dashboard-loading h3 { font-size: 18px; font-weight: 700; color: #ffffff; color: var(--white); }
.dashboard-loading p  { font-size: 14px; color: rgba(255,255,255,0.6); color: var(--w60); }

.loading-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid #2e2e2e;
  border: 3px solid var(--gray2);
  border-top-color: #ff6b35;
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ===== MAINTENANCE ===== */
.dashboard-maintenance {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  animation: fadeIn 0.3s ease;
}

.maintenance-card {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  max-width: 440px;
  width: 100%;
}

.maintenance-icon { font-size: 52px; margin-bottom: 20px; }
.maintenance-card h2 { font-size: 20px; font-weight: 700; color: #ffffff; color: var(--white); margin-bottom: 10px; }
.maintenance-card p  { font-size: 14px; color: rgba(255,255,255,0.6); color: var(--w60); margin-bottom: 6px; line-height: 1.5; }
.maintenance-subtitle { color: rgba(255,255,255,0.4) !important; color: var(--w40) !important; font-size: 13px !important; margin-bottom: 24px !important; }

.btn-support {
  padding: 12px 28px;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border: none;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(255,107,53,0.2);
  box-shadow: 0 4px 16px var(--orange-glow);
}

.btn-support:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,0.35); }

/* ===== FOOTER ===== */
.dashboard-footer {
  padding: 16px 24px;
  border-top: 1px solid #242424;
  border-top: 1px solid var(--gray1);
  background: #141414;
  background: var(--bg2);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-content p { font-size: 12px; color: rgba(255,255,255,0.4); color: var(--w40); }

.footer-status { display: flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255,255,255,0.4); color: var(--w40); }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.status-connected    { background: #22c55e; background: var(--green); box-shadow: 0 0 6px rgba(34,197,94,0.5); }
.status-dot.status-disconnected { background: #ef4444; background: var(--red); }
.status-dot.status-connecting   { background: #f59e0b; background: var(--yellow); animation: pulse 1.5s infinite; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
    width: 260px !important;
    width: var(--sidebar-w) !important;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  }

  .dashboard-sidebar.sidebar-open {
    transform: translateX(0);
    box-shadow: 8px 0 40px rgba(0,0,0,0.6);
    animation: slideInLeft 0.28s ease;
  }

  .dashboard-sidebar.sidebar-closed {
    transform: translateX(-100%);
  }

  .dashboard-overlay { display: block; }
  .sidebar-close     { display: flex; }

  .dashboard-main,
  .dashboard-main.main-expanded { margin-left: 0; }

  .btn-menu { display: flex; }
  .header-title-mobile { display: flex; align-items: center; }
  .header-title { display: none; }

  .dashboard-header  { padding: 0 14px; }
  .dashboard-content { padding: 18px 14px; }
  .dashboard-error   { margin: 14px 14px 0; }
  .dashboard-footer  { padding: 14px; }

  .btn-logout-header span { display: none; }
  .btn-logout-header { padding: 9px 11px; }
}

@media (max-width: 480px) {
  .dashboard-content { padding: 14px 10px; }
  .dashboard-header  { padding: 0 10px; }
  .maintenance-card  { padding: 32px 20px; }
}
:root {
  --orange: #ff6b35;
  --orange-light: #ff8c42;
  --orange-dark: #e85d2a;
  --orange-glow: rgba(255,107,53,0.25);
  --bg: #0a0a0a;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --gray1: #242424;
  --gray2: #2e2e2e;
  --gray3: #3a3a3a;
  --white: #ffffff;
  --w80: rgba(255,255,255,0.8);
  --w60: rgba(255,255,255,0.6);
  --w40: rgba(255,255,255,0.4);
  --w20: rgba(255,255,255,0.15);
  --sidebar-w: 260px;
  --sidebar-closed: 68px;
  --navbar-h: 64px;
  --radius: 12px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  background: var(--bg);
  color: #ffffff;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.admin-panel-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #0a0a0a;
  background: var(--bg);
}

.admin-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  height: var(--navbar-h);
  background: #141414;
  background: var(--bg2);
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.admin-navbar-content {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
}

.admin-menu-button-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.8);
  color: var(--w80);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.admin-menu-button-mobile:hover {
  background: #242424;
  background: var(--gray1);
  color: #ff6b35;
  color: var(--orange);
  border-color: #ff6b35;
  border-color: var(--orange);
}

.admin-sidebar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.admin-sidebar-toggle:hover {
  background: #242424;
  background: var(--gray1);
  color: #ff6b35;
  color: var(--orange);
  border-color: #ff6b35;
  border-color: var(--orange);
}

.admin-navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
}

.admin-logo-wrapper {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255,107,53,0.25);
  box-shadow: 0 4px 12px var(--orange-glow);
}

.admin-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-logo-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  line-height: 1;
}

.admin-logo-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: #ff6b35;
  color: var(--orange);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.admin-navbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.admin-btn-refresh {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-refresh:hover:not(:disabled) {
  background: #242424;
  background: var(--gray1);
  color: #ff6b35;
  color: var(--orange);
  border-color: #ff6b35;
  border-color: var(--orange);
}

.admin-btn-refresh:disabled { opacity: 0.4; cursor: not-allowed; }

.admin-btn-refresh .spinning {
  animation: spin 1s linear infinite;
}

.admin-notifications-dropdown {
  position: relative;
}

.admin-notification-btn {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  cursor: pointer;
  transition: all 0.2s;
}

.admin-notification-btn:hover {
  background: #242424;
  background: var(--gray1);
  color: #ff6b35;
  color: var(--orange);
  border-color: #ff6b35;
  border-color: var(--orange);
}

.admin-notification-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  background: #ff6b35;
  background: var(--orange);
  color: #ffffff;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #141414;
  border: 2px solid var(--bg2);
}

.admin-notification-dropdown-content {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  z-index: 200;
  animation: fadeIn 0.2s ease;
  overflow: hidden;
}

.admin-notification-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
}

.admin-notification-dropdown-header h3 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
}

.admin-notification-dropdown-count {
  font-size: 12px;
  font-weight: 600;
  color: #ff6b35;
  color: var(--orange);
  background: rgba(255,107,53,0.12);
  padding: 3px 10px;
  border-radius: 100px;
}

.admin-notification-dropdown-list {
  max-height: 300px;
  overflow-y: auto;
}

.admin-notification-dropdown-list::-webkit-scrollbar { width: 4px; }
.admin-notification-dropdown-list::-webkit-scrollbar-track { background: transparent; }
.admin-notification-dropdown-list::-webkit-scrollbar-thumb { background: #2e2e2e; background: var(--gray2); border-radius: 4px; }

.admin-notification-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
}

.admin-notification-dropdown-item:last-child { border-bottom: none; }
.admin-notification-dropdown-item:hover { background: #1a1a1a; background: var(--bg3); }
.admin-notification-unread { background: rgba(255,107,53,0.05); }

.admin-notification-dropdown-item-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  flex-shrink: 0;
}

.admin-notification-dropdown-item-content { flex: 1 1; min-width: 0; }

.admin-notification-dropdown-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.admin-notification-dropdown-item-details p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-notification-dropdown-item-time {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  margin-top: 4px;
}

.admin-notification-dropdown-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b35;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 4px;
}

.admin-notification-dropdown-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 20px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
}

.admin-notification-dropdown-empty p { font-size: 13px; }

.admin-notification-dropdown-footer {
  padding: 12px 18px;
  border-top: 1px solid #242424;
  border-top: 1px solid var(--gray1);
}

.admin-notification-dropdown-view-all {
  width: 100%;
  padding: 10px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ff6b35;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-notification-dropdown-view-all:hover {
  background: rgba(255,107,53,0.2);
}

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  border: 2px solid #2e2e2e;
  border: 2px solid var(--gray2);
  flex-shrink: 0;
}

.admin-user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-user-name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  color: var(--white);
  line-height: 1;
}

.admin-user-badge {
  font-size: 10px;
  font-weight: 700;
  color: #ff6b35;
  color: var(--orange);
  letter-spacing: 0.5px;
  line-height: 1;
}

.admin-logout-button {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ef4444;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-logout-button:hover {
  background: rgba(239,68,68,0.2);
  border-color: #ef4444;
}

.admin-main-layout {
  display: flex;
  margin-top: 64px;
  margin-top: var(--navbar-h);
  min-height: calc(100vh - 64px);
  min-height: calc(100vh - var(--navbar-h));
}

.admin-sidebar {
  position: fixed;
  top: 64px;
  top: var(--navbar-h);
  left: 0;
  bottom: 0;
  background: #141414;
  background: var(--bg2);
  border-right: 1px solid #242424;
  border-right: 1px solid var(--gray1);
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
  z-index: 90;
  overflow: hidden;
}

.admin-sidebar.open  { width: 260px; width: var(--sidebar-w); }
.admin-sidebar.closed { width: 68px; width: var(--sidebar-closed); }

.admin-sidebar-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.admin-sidebar-content::-webkit-scrollbar { width: 4px; }
.admin-sidebar-content::-webkit-scrollbar-track { background: transparent; }
.admin-sidebar-content::-webkit-scrollbar-thumb { background: #2e2e2e; background: var(--gray2); border-radius: 4px; }

.admin-sidebar-header {
  padding: 20px 16px 12px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-shrink: 0;
}

.admin-sidebar-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.admin-stats-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #ff6b35;
  color: var(--orange);
  font-weight: 600;
}

.admin-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 8px;
  flex: 1 1;
}

.admin-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.admin-sidebar-item:hover {
  background: #1a1a1a;
  background: var(--bg3);
  color: #ffffff;
  color: var(--white);
  border-color: #2e2e2e;
  border-color: var(--gray2);
}

.admin-sidebar-item.active {
  background: rgba(255,107,53,0.12);
  color: #ff6b35;
  color: var(--orange);
  border-color: rgba(255,107,53,0.3);
}

.admin-sidebar-item.active .admin-sidebar-icon { color: #ff6b35; color: var(--orange); }

.admin-sidebar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.admin-sidebar-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1;
  min-width: 0;
}

.admin-sidebar-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-sidebar-status {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-active { color: rgba(34,197,94,0.7); }

.admin-sidebar-badge {
  min-width: 20px;
  height: 20px;
  background: #ff6b35;
  background: var(--orange);
  color: #ffffff;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  flex-shrink: 0;
}

.admin-sidebar-arrow {
  opacity: 0.3;
  flex-shrink: 0;
}

.admin-sidebar-item.active .admin-sidebar-arrow { opacity: 0.8; }

.admin-sidebar-footer {
  padding: 16px;
  border-top: 1px solid #242424;
  border-top: 1px solid var(--gray1);
  flex-shrink: 0;
}

.admin-system-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-weight: 500;
}

.admin-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.admin-status-online { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.6); }
.admin-status-error  { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.6); }

.admin-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 149;
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}

.admin-sidebar-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: #141414;
  background: var(--bg2);
  border-right: 1px solid #2e2e2e;
  border-right: 1px solid var(--gray2);
  z-index: 150;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 8px 0 32px rgba(0,0,0,0.5);
}

.admin-sidebar-mobile.open { display: flex; animation: slideInLeft 0.25s ease; }

.admin-sidebar-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-shrink: 0;
}

.admin-sidebar-mobile-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
}

.admin-sidebar-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  cursor: pointer;
  transition: all 0.2s;
}

.admin-sidebar-close:hover {
  background: rgba(239,68,68,0.15);
  border-color: #ef4444;
  color: #ef4444;
}

.admin-stats-mini-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: 13px;
  color: #ff6b35;
  color: var(--orange);
  font-weight: 600;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-shrink: 0;
}

.admin-sidebar-mobile .admin-sidebar-nav {
  padding: 10px 12px;
  flex: 1 1;
}

.admin-content {
  flex: 1 1;
  margin-left: 260px;
  margin-left: var(--sidebar-w);
  padding: 28px;
  transition: margin-left 0.3s cubic-bezier(0.4,0,0.2,1);
  min-height: calc(100vh - 64px);
  min-height: calc(100vh - var(--navbar-h));
  animation: fadeIn 0.3s ease;
}

.admin-content.full-width { margin-left: 68px; margin-left: var(--sidebar-closed); }

.admin-notifications-page {
  max-width: 860px;
  margin: 0 auto;
  animation: fadeIn 0.3s ease;
}

.admin-notifications-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-wrap: wrap;
}

.admin-notifications-header-content {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #ff6b35;
  color: var(--orange);
}

.admin-notifications-header-content h1 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 4px;
}

.admin-notifications-header-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.admin-notifications-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-notification-stat-badge {
  padding: 6px 14px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.admin-notifications-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-notification-card {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
  animation: fadeIn 0.3s ease;
}

.admin-notification-card:hover { border-color: #3a3a3a; border-color: var(--gray3); }
.admin-notification-card.unread { border-color: rgba(255,107,53,0.35); }

.admin-notification-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-wrap: wrap;
}

.admin-notification-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-notification-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  flex-shrink: 0;
}

.admin-notification-user-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 3px;
}

.admin-notification-user-info p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
}

.admin-notification-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-btn-primary {
  padding: 8px 16px;
  background: #ff6b35;
  background: var(--orange);
  border: none;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-primary:hover {
  background: #ff8c42;
  background: var(--orange-light);
  transform: translateY(-1px);
}

.admin-btn-secondary {
  padding: 8px 16px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-secondary:hover {
  background: #242424;
  background: var(--gray1);
  color: #ffffff;
  color: var(--white);
  border-color: #3a3a3a;
  border-color: var(--gray3);
}

.admin-notification-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 0;
  gap: 0;
  padding: 0;
}

.admin-notification-detail-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 20px;
  border-right: 1px solid #242424;
  border-right: 1px solid var(--gray1);
}

.admin-notification-detail-item:last-child { border-right: none; }

.admin-notification-detail-item .label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-notification-detail-item .value {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  color: var(--w80);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-notifications-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 20px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-align: center;
}

.admin-notifications-empty h3 {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.admin-notifications-empty p {
  font-size: 14px;
}

.error-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 20px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
}

.error-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.error-section p { font-size: 14px; }

.error-message {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #ef4444;
  background: rgba(239,68,68,0.08);
  padding: 10px 16px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239,68,68,0.2);
  max-width: 500px;
}

@media (max-width: 1024px) {
  .admin-user-details { display: none; }
}

@media (max-width: 768px) {
  .admin-sidebar { display: none; }
  .admin-sidebar-toggle { display: none; }
  .admin-menu-button-mobile { display: flex; }
  .admin-sidebar-overlay { display: block; }

  .admin-content {
    margin-left: 0 !important;
    padding: 20px 16px;
  }

  .admin-logo-title { font-size: 13px; }
  .admin-logo-subtitle { font-size: 10px; }

  .admin-notification-dropdown-content {
    right: -80px;
    width: 300px;
  }

  .admin-notifications-header {
    flex-direction: column;
  }

  .admin-notification-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-notification-details {
    grid-template-columns: 1fr 1fr;
  }

  .admin-notification-detail-item:nth-child(2n) { border-right: none; }
  .admin-notification-detail-item:nth-child(n+3) { border-top: 1px solid #242424; border-top: 1px solid var(--gray1); }
}

@media (max-width: 480px) {
  .admin-navbar-content { padding: 0 12px; gap: 8px; }
  .admin-content { padding: 16px 12px; }

  .admin-notification-dropdown-content {
    position: fixed;
    left: 12px;
    right: 12px;
    width: auto;
  }

  .admin-notification-details { grid-template-columns: 1fr; }
  .admin-notification-detail-item { border-right: none; border-top: 1px solid #242424; border-top: 1px solid var(--gray1); }
  .admin-notification-detail-item:first-child { border-top: none; }
}
:root {
  --orange: #ff6b35;
  --orange-light: #ff8c42;
  --orange-dark: #e85d2a;
  --orange-glow: rgba(255,107,53,0.2);
  --bg: #0a0a0a;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --bg4: #202020;
  --gray1: #242424;
  --gray2: #2e2e2e;
  --gray3: #3a3a3a;
  --white: #ffffff;
  --w80: rgba(255,255,255,0.8);
  --w60: rgba(255,255,255,0.6);
  --w40: rgba(255,255,255,0.4);
  --w20: rgba(255,255,255,0.15);
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #f59e0b;
  --blue: #3b82f6;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
}

@keyframes fadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
@keyframes slideDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes notifIn { from { opacity:0; transform:translateX(100%); } to { opacity:1; transform:translateX(0); } }

.clientes-gestion-remasterizado {
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 0.3s ease;
}

.notifications-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
  width: calc(100% - 40px);
}

.notification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  animation: notifIn 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.notification-success { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.3); }
.notification-error   { background: rgba(239,68,68,0.12);  border-color: rgba(239,68,68,0.3); }
.notification-warning { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.3); }
.notification-info    { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.3); }

.notification-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1;
  min-width: 0;
}

.notification-icon { font-size: 16px; flex-shrink: 0; }

.notification-message {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  color: var(--w80);
  line-height: 1.4;
  word-break: break-word;
}

.notification-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.notification-close:hover { background: #2e2e2e; background: var(--gray2); color: rgba(255,255,255,0.8); color: var(--w80); }

.header-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.title-section h1 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 6px;
}

.title-section p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  line-height: 1.5;
}

.title-section p strong { color: #ff6b35; color: var(--orange); }

.stats-quick {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  min-width: 80px;
}

.stat-number {
  font-size: 24px;
  font-weight: 800;
  color: #ff6b35;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nueva-asignacion-section {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.nueva-asignacion-section h2 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
}

.asignacion-form-horizontal {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  grid-gap: 16px;
  gap: 16px;
  align-items: start;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.correos-textarea {
  width: 100%;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  padding: 12px 14px;
  resize: vertical;
  min-height: 90px;
  font-family: 'Courier New', monospace;
  line-height: 1.6;
  transition: border-color 0.2s;
}

.correos-textarea:focus {
  outline: none;
  border-color: #ff6b35;
  border-color: var(--orange);
  background: #202020;
  background: var(--bg4);
}

.correos-textarea::placeholder { color: rgba(255,255,255,0.4); color: var(--w40); }

.correos-counter {
  font-size: 11px;
  color: #ff6b35;
  color: var(--orange);
  font-weight: 600;
  text-align: right;
}

.input-with-suggestions { position: relative; }

.cliente-input,
.plataforma-input {
  width: 100%;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  padding: 12px 14px;
  transition: border-color 0.2s;
}

.cliente-input:focus,
.plataforma-input:focus {
  outline: none;
  border-color: #ff6b35;
  border-color: var(--orange);
  background: #202020;
  background: var(--bg4);
}

.cliente-input::placeholder,
.plataforma-input::placeholder { color: rgba(255,255,255,0.4); color: var(--w40); }

.suggestions-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  z-index: 500;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  animation: slideDown 0.2s ease;
  max-height: 240px;
  overflow-y: auto;
}

.suggestions-dropdown::-webkit-scrollbar { width: 4px; }
.suggestions-dropdown::-webkit-scrollbar-track { background: transparent; }
.suggestions-dropdown::-webkit-scrollbar-thumb { background: #2e2e2e; background: var(--gray2); border-radius: 4px; }

.suggestion-item {
  padding: 12px 14px;
  cursor: pointer;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  transition: background 0.15s;
}

.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: #1a1a1a; background: var(--bg3); }

.suggestion-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.suggestion-name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  color: var(--white);
}

.suggestion-id {
  font-size: 11px;
  color: #ff6b35;
  color: var(--orange);
  font-family: 'Courier New', monospace;
  background: rgba(255,107,53,0.1);
  padding: 2px 8px;
  border-radius: 100px;
}

.suggestion-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.suggestion-email,
.suggestion-phone {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
}

.plataforma-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plataforma-item .plataforma-icon { font-size: 18px; }
.plataforma-item .plataforma-name { font-size: 13px; font-weight: 600; color: #ffffff; color: var(--white); }

.selected-cliente,
.selected-plataforma {
  font-size: 12px;
  font-weight: 600;
  color: #22c55e;
  color: var(--green);
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  padding: 6px 12px;
  border-radius: 6px;
  border-radius: var(--radius-xs);
}

.action-field {
  justify-content: flex-end;
  padding-top: 20px;
}

.btn-crear-asignacion {
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border: none;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(255,107,53,0.2);
  box-shadow: 0 4px 16px var(--orange-glow);
}

.btn-crear-asignacion:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.35);
}

.btn-crear-asignacion:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.controles-correos-section {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.controles-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.controles-header h2 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
}

.btn-toggle-correos {
  padding: 9px 18px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-toggle-correos:hover:not(:disabled) {
  background: #242424;
  background: var(--gray1);
  border-color: #ff6b35;
  border-color: var(--orange);
  color: #ff6b35;
  color: var(--orange);
}

.btn-toggle-correos:disabled { opacity: 0.4; cursor: not-allowed; }

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 14px;
  padding: 11px 44px 11px 16px;
  transition: border-color 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: #ff6b35;
  border-color: var(--orange);
  background: #202020;
  background: var(--bg4);
}

.search-input::placeholder { color: rgba(255,255,255,0.4); color: var(--w40); }

.search-icon {
  position: absolute;
  right: 36px;
  font-size: 15px;
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  cursor: pointer;
  font-size: 13px;
  padding: 4px;
  transition: color 0.2s;
}

.search-clear:hover { color: #ef4444; color: var(--red); }

.asignaciones-table-container {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  animation: fadeIn 0.3s ease;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrapper::-webkit-scrollbar { height: 4px; }
.table-wrapper::-webkit-scrollbar-track { background: transparent; }
.table-wrapper::-webkit-scrollbar-thumb { background: #2e2e2e; background: var(--gray2); border-radius: 4px; }

.asignaciones-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.asignaciones-table thead {
  background: #1a1a1a;
  background: var(--bg3);
  border-bottom: 1px solid #2e2e2e;
  border-bottom: 1px solid var(--gray2);
}

.asignaciones-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.asignaciones-table tbody tr {
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  transition: background 0.15s;
}

.asignaciones-table tbody tr:last-child { border-bottom: none; }
.asignaciones-table tbody tr:hover { background: #1a1a1a; background: var(--bg3); }

.tabla-row.row-inactivo { opacity: 0.5; }

.asignaciones-table td {
  padding: 14px 16px;
  vertical-align: middle;
}

.correo-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.correo-text {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  color: var(--w80);
  font-family: 'Courier New', monospace;
  word-break: break-all;
}

.btn-copy-table {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
  opacity: 0.5;
}

.btn-copy-table:hover { opacity: 1; background: #2e2e2e; background: var(--gray2); }

.edit-correo-input-table {
  width: 100%;
  min-width: 200px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #ff6b35;
  border: 1px solid var(--orange);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  padding: 8px 12px;
  font-family: 'Courier New', monospace;
}

.edit-correo-input-table:focus { outline: none; }

.cliente-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cliente-nombre {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  color: var(--white);
}

.cliente-email {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.cliente-uid {
  font-size: 11px;
  color: #ff6b35;
  color: var(--orange);
  font-family: 'Courier New', monospace;
}

.plataforma-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plataforma-cell .plataforma-icon { font-size: 18px; }
.plataforma-cell .plataforma-nombre { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8); color: var(--w80); }

.fecha-cell {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  white-space: nowrap;
}

.acciones-cell {
  display: flex;
  gap: 6px;
  align-items: center;
}

.btn-table-edit,
.btn-table-delete,
.btn-table-save,
.btn-table-cancel {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 15px;
  transition: all 0.2s;
}

.btn-table-edit:hover:not(:disabled) { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.4); }
.btn-table-delete:hover:not(:disabled) { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.4); }
.btn-table-save:hover:not(:disabled) { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.4); }
.btn-table-cancel:hover { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.4); }

.btn-table-edit:disabled,
.btn-table-delete:disabled,
.btn-table-save:disabled { opacity: 0.4; cursor: not-allowed; }

.loading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 48px 20px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-size: 14px;
  font-weight: 500;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #2e2e2e;
  border: 2px solid var(--gray2);
  border-top-color: #ff6b35;
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.no-correos-message,
.no-resultados-message {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 48px 24px;
  margin-bottom: 20px;
  animation: fadeIn 0.3s ease;
}

.no-correos-content,
.no-resultados-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.no-correos-icon,
.no-resultados-icon {
  font-size: 48px;
  opacity: 0.5;
}

.no-correos-content h3,
.no-resultados-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.no-correos-content p,
.no-resultados-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  max-width: 400px;
}

.no-correos-hint {
  font-size: 12px;
  color: #ff6b35;
  color: var(--orange);
  background: rgba(255,107,53,0.08);
  border: 1px solid rgba(255,107,53,0.2);
  padding: 10px 18px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  max-width: 480px;
  line-height: 1.5;
}

.clear-search-btn {
  padding: 10px 20px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.clear-search-btn:hover {
  background: #242424;
  background: var(--gray1);
  border-color: #ff6b35;
  border-color: var(--orange);
  color: #ff6b35;
  color: var(--orange);
}

.footer-actions {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 16px 24px;
}

.footer-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-info,
.footer-search-info,
.footer-estructura {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-weight: 500;
}

.footer-info { color: rgba(255,255,255,0.6); color: var(--w60); }
.footer-search-info { color: #ff6b35; color: var(--orange); }
.footer-estructura { color: rgba(255,255,255,0.4); color: var(--w40); font-family: 'Courier New', monospace; }

@media (max-width: 1024px) {
  .asignacion-form-horizontal {
    grid-template-columns: 1fr 1fr;
  }

  .action-field { padding-top: 0; }
}

@media (max-width: 768px) {
  .asignacion-form-horizontal {
    grid-template-columns: 1fr;
  }

  .header-section {
    flex-direction: column;
  }

  .stats-quick {
    width: 100%;
    justify-content: stretch;
  }

  .stat-item { flex: 1 1; }

  .controles-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-toggle-correos { width: 100%; }

  .footer-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .nueva-asignacion-section,
  .controles-correos-section,
  .no-correos-message,
  .no-resultados-message,
  .footer-actions {
    padding: 16px;
  }

  .notifications-container {
    top: 70px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }
}
:root {
  --orange: #ff6b35;
  --orange-light: #ff8c42;
  --orange-dark: #e85d2a;
  --orange-glow: rgba(255,107,53,0.2);
  --bg: #0a0a0a;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --bg4: #202020;
  --gray1: #242424;
  --gray2: #2e2e2e;
  --gray3: #3a3a3a;
  --white: #ffffff;
  --w80: rgba(255,255,255,0.8);
  --w60: rgba(255,255,255,0.6);
  --w40: rgba(255,255,255,0.4);
  --w20: rgba(255,255,255,0.12);
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #f59e0b;
  --blue: #3b82f6;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
}

@keyframes fadeIn { from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);} }
@keyframes slideDown { from{opacity:0;transform:translateY(-8px);}to{opacity:1;transform:translateY(0);} }
@keyframes spin { to{transform:rotate(360deg);} }
@keyframes notifIn { from{opacity:0;transform:translateX(100%);}to{opacity:1;transform:translateX(0);} }

.editor-usuarios-panel {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  animation: fadeIn 0.3s ease;
}

.notifications-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
  width: calc(100% - 40px);
}

.notification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  animation: notifIn 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.notification-success { background: rgba(34,197,94,0.12);  border-color: rgba(34,197,94,0.3); }
.notification-error   { background: rgba(239,68,68,0.12);  border-color: rgba(239,68,68,0.3); }
.notification-warning { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.3); }
.notification-info    { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.3); }

.notification-message {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  color: var(--w80);
  line-height: 1.4;
  flex: 1 1;
}

.notification button {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  cursor: pointer;
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.notification button:hover { background: #2e2e2e; background: var(--gray2); color: rgba(255,255,255,0.8); color: var(--w80); }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.modal-content {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
  animation: slideDown 0.25s ease;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
}

.modal-close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}

.modal-close:hover { background: rgba(239,68,68,0.15); border-color: #ef4444; border-color: var(--red); color: #ef4444; color: var(--red); }

.modal-body {
  padding: 20px 24px;
}

.modal-body p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  line-height: 1.6;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px 20px;
  border-top: 1px solid #242424;
  border-top: 1px solid var(--gray1);
}

.btn-modal-cancel {
  padding: 9px 20px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-modal-cancel:hover { background: #242424; background: var(--gray1); color: #ffffff; color: var(--white); }

.btn-modal-confirm {
  padding: 9px 20px;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border: none;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(255,107,53,0.2);
  box-shadow: 0 4px 12px var(--orange-glow);
}

.btn-modal-confirm:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,107,53,0.35); }

.editor-header {
  margin-bottom: 28px;
}

.editor-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 6px;
}

.editor-header p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
}

.editor-search-section {
  margin-bottom: 28px;
}

.search-container {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-input {
  width: 100%;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 14px;
  padding: 12px 16px;
  transition: border-color 0.2s;
}

.search-input:focus { outline: none; border-color: #ff6b35; border-color: var(--orange); background: #202020; background: var(--bg4); }
.search-input::placeholder { color: rgba(255,255,255,0.4); color: var(--w40); }

.search-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.search-results-count {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-weight: 500;
}

.search-actions button {
  padding: 6px 14px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.search-actions button:hover { background: #242424; background: var(--gray1); border-color: #ff6b35; border-color: var(--orange); color: #ff6b35; color: var(--orange); }

.batch-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255,107,53,0.06);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  animation: slideDown 0.2s ease;
}

.batch-info {
  font-size: 13px;
  font-weight: 600;
  color: #ff6b35;
  color: var(--orange);
}

.batch-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-batch-ban {
  padding: 8px 16px;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ef4444;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-batch-ban:hover:not(:disabled) { background: rgba(239,68,68,0.22); }

.btn-batch-unban {
  padding: 8px 16px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #22c55e;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-batch-unban:hover:not(:disabled) { background: rgba(34,197,94,0.22); }

.btn-batch-ban:disabled,
.btn-batch-unban:disabled { opacity: 0.4; cursor: not-allowed; }

.users-results-list {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  animation: slideDown 0.2s ease;
  max-height: 420px;
  overflow-y: auto;
}

.users-results-list::-webkit-scrollbar { width: 4px; }
.users-results-list::-webkit-scrollbar-track { background: transparent; }
.users-results-list::-webkit-scrollbar-thumb { background: #2e2e2e; background: var(--gray2); border-radius: 4px; }

.results-header {
  padding: 12px 16px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  background: #1a1a1a;
  background: var(--bg3);
}

.no-results {
  padding: 40px 20px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-size: 14px;
}

.user-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  transition: background 0.15s;
}

.user-result-item:last-child { border-bottom: none; }
.user-result-item:hover { background: #1a1a1a; background: var(--bg3); }
.user-result-item.user-banned { opacity: 0.6; }

.user-result-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
  cursor: pointer;
  min-width: 0;
}

.user-result-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  flex-shrink: 0;
}

.user-result-info {
  flex: 1 1;
  min-width: 0;
}

.user-result-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-result-details {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.user-result-details span {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  white-space: nowrap;
}

.user-result-status {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.status-badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.status-cliente  { background: rgba(34,197,94,0.15);  color: #22c55e;  color: var(--green); }
.status-baneado  { background: rgba(239,68,68,0.15);  color: #ef4444;  color: var(--red); }
.status-admin    { background: rgba(255,107,53,0.15); color: #ff6b35; color: var(--orange); }

.banned-icon { font-size: 14px; }

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-weight: 500;
  -webkit-user-select: none;
          user-select: none;
}

.checkbox-container input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #3a3a3a;
  border: 2px solid var(--gray3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  background: #1a1a1a;
  background: var(--bg3);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
  background: #ff6b35;
  background: var(--orange);
  border-color: #ff6b35;
  border-color: var(--orange);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid #ffffff;
  border: 2px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

.editor-user-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.3s ease;
}

.editor-user-header {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.editor-user-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #ff8c42);
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}

.user-header-info {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.user-avatar-large {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  flex-shrink: 0;
  border: 3px solid #2e2e2e;
  border: 3px solid var(--gray2);
  box-shadow: 0 4px 16px rgba(255,107,53,0.2);
  box-shadow: 0 4px 16px var(--orange-glow);
}

.user-header-details h2 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 4px;
}

.user-header-details p {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-family: 'Courier New', monospace;
  margin-bottom: 10px;
}

.user-header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.activity-badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.activity-badge.active   { background: rgba(34,197,94,0.15);  color: #22c55e;  color: var(--green); }
.activity-badge.inactive { background: rgba(239,68,68,0.15);  color: #ef4444;  color: var(--red); }

.user-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-item {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 500;
}

.user-header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn-ban {
  padding: 9px 16px;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ef4444;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ban:hover:not(:disabled) { background: rgba(239,68,68,0.22); }

.btn-unban {
  padding: 9px 16px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #22c55e;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-unban:hover:not(:disabled) { background: rgba(34,197,94,0.22); }

.btn-close {
  padding: 9px 16px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-close:hover { background: #242424; background: var(--gray1); color: #ffffff; color: var(--white); }
.btn-ban:disabled, .btn-unban:disabled { opacity: 0.4; cursor: not-allowed; }

.editor-basic-data {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 24px;
}

.editor-basic-data h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  padding: 11px 14px;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus { outline: none; border-color: #ff6b35; border-color: var(--orange); background: #202020; background: var(--bg4); }
.form-group input::placeholder { color: rgba(255,255,255,0.4); color: var(--w40); }
.form-group select { cursor: pointer; }
.form-group select option { background: #141414; background: var(--bg2); }

.btn-save-changes {
  padding: 12px 28px;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border: none;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(255,107,53,0.2);
  box-shadow: 0 4px 16px var(--orange-glow);
}

.btn-save-changes:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,0.35); }
.btn-save-changes:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.editor-emails-table-section {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}

.emails-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-wrap: wrap;
}

.emails-table-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
}

.emails-batch-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-delete-selected {
  padding: 8px 16px;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ef4444;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-delete-selected:hover:not(:disabled) { background: rgba(239,68,68,0.22); }
.btn-delete-selected:disabled { opacity: 0.4; cursor: not-allowed; }

.emails-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.emails-table-container::-webkit-scrollbar { height: 4px; }
.emails-table-container::-webkit-scrollbar-track { background: transparent; }
.emails-table-container::-webkit-scrollbar-thumb { background: #2e2e2e; background: var(--gray2); border-radius: 4px; }

.emails-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.emails-table thead {
  background: #1a1a1a;
  background: var(--bg3);
  border-bottom: 1px solid #2e2e2e;
  border-bottom: 1px solid var(--gray2);
}

.emails-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.th-checkbox { width: 44px; }
.th-acciones { width: 100px; }

.emails-table tbody tr {
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  transition: background 0.15s;
}

.emails-table tbody tr:last-child { border-bottom: none; }
.emails-table tbody tr:hover { background: #1a1a1a; background: var(--bg3); }

.emails-table td {
  padding: 13px 16px;
  vertical-align: middle;
}

.email-display {
  display: flex;
  align-items: center;
  gap: 8px;
}

.email-text {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  color: var(--w80);
  font-family: 'Courier New', monospace;
  word-break: break-all;
}

.edit-email-input {
  width: 100%;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #ff6b35;
  border: 1px solid var(--orange);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  padding: 8px 12px;
  font-family: 'Courier New', monospace;
}

.edit-email-input:focus { outline: none; }

.plataforma-cell {
  display: flex;
  align-items: center;
  gap: 9px;
}

.plataforma-cell img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 5px;
  background: #1a1a1a;
  background: var(--bg3);
  padding: 2px;
  flex-shrink: 0;
}

.plataforma-nombre {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  color: var(--w80);
}

.fecha-cell {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  white-space: nowrap;
}

.acciones-cell {
  display: flex;
  gap: 6px;
  align-items: center;
}

.btn-table-edit,
.btn-table-delete,
.btn-table-save,
.btn-table-cancel {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.btn-table-edit:hover:not(:disabled)   { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.4); }
.btn-table-delete:hover:not(:disabled) { background: rgba(239,68,68,0.15);  border-color: rgba(239,68,68,0.4); }
.btn-table-save:hover:not(:disabled)   { background: rgba(34,197,94,0.15);  border-color: rgba(34,197,94,0.4); }
.btn-table-cancel:hover                { background: rgba(239,68,68,0.15);  border-color: rgba(239,68,68,0.4); }
.btn-table-edit:disabled,
.btn-table-delete:disabled,
.btn-table-save:disabled               { opacity: 0.4; cursor: not-allowed; }

.no-emails-message {
  padding: 56px 20px;
}

.no-emails-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.no-emails-icon { font-size: 44px; opacity: 0.4; }

.no-emails-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.no-emails-content p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
}

.editor-empty-state {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 64px 20px;
  animation: fadeIn 0.3s ease;
}

.empty-state-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.empty-state-icon { font-size: 52px; opacity: 0.4; }

.empty-state-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.empty-state-content > p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
}

.empty-state-tips {
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  text-align: left;
  width: 100%;
}

.empty-state-tips p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-weight: 600;
  margin-bottom: 10px;
}

.empty-state-tips ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.empty-state-tips ul li {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .editor-user-header { flex-direction: column; }
  .user-header-actions { width: 100%; }
  .batch-actions { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .emails-table-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .user-header-info { flex-direction: column; }
  .user-header-actions { flex-direction: column; }
  .user-header-actions button { width: 100%; justify-content: center; }
  .batch-buttons { width: 100%; }
  .batch-buttons button { flex: 1 1; }
}


.roles-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 0 4px;
}


.roles-header {
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-black-card));
  border: 1px solid var(--admin-border-light);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 0 30px var(--admin-glow-red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.roles-header-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1;
}

.roles-header-content svg {
  color: var(--admin-gold);
  filter: drop-shadow(0 0 10px var(--admin-glow-gold));
  flex-shrink: 0;
}

.roles-header h1 {
  font-family: 'Orbitron', monospace;
  font-size: 24px;
  font-weight: 900;
  color: var(--admin-text);
  margin: 0 0 4px 0;
  letter-spacing: 0.5px;
  text-shadow: 0 0 20px var(--admin-glow-red);
}

.roles-header p {
  font-size: 13px;
  font-weight: 600;
  color: var(--admin-text-secondary);
  margin: 0;
  letter-spacing: 0.3px;
}

.roles-header-actions {
  display: flex;
  gap: 10px;
}

.roles-btn-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--admin-border-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--admin-text);
  position: relative;
}

.roles-btn-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--admin-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--admin-glow-red);
}

.roles-badge-notif {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--admin-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--admin-red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* ========================================
   ESTADÍSTICAS COMPACTAS
   ======================================== */

.roles-stats-compactas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.roles-stat-item {
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1;
  min-width: 150px;
  transition: all 0.3s ease;
}

.roles-stat-item:hover {
  border-color: var(--admin-border);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.roles-stat-item svg {
  color: var(--admin-text-secondary);
  flex-shrink: 0;
}

.roles-stat-item span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--admin-text);
  letter-spacing: 0.3px;
}

/* ========================================
   BUSCADOR SIMPLE
   ======================================== */

.roles-search-box-simple {
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.roles-search-box-simple:focus-within {
  border-color: var(--admin-red);
  box-shadow: 0 0 20px var(--admin-glow-red);
}

.roles-search-box-simple svg {
  color: var(--admin-text-secondary);
  flex-shrink: 0;
}

.roles-search-box-simple input {
  background: transparent;
  border: none;
  color: var(--admin-text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 600;
  flex: 1 1;
  outline: none;
  letter-spacing: 0.3px;
}

.roles-search-box-simple input::placeholder {
  color: var(--admin-text-secondary);
  opacity: 0.6;
}

.roles-btn-clear {
  background: transparent;
  border: none;
  color: var(--admin-text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roles-btn-clear:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--admin-red);
}

/* ========================================
   SECCIONES POR RANGOS
   ======================================== */

.roles-rangos-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.roles-rango-seccion {
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.roles-rango-seccion:hover {
  border-color: var(--admin-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.roles-rango-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-left: 4px solid;
  transition: all 0.3s ease;
}

.roles-rango-info {
  flex: 1 1;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
}

.roles-rango-info h3 {
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 800;
  font-family: 'Orbitron', monospace;
  letter-spacing: 0.5px;
}

.roles-rango-count {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--admin-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.3px;
}

.roles-rango-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.roles-select-masivo {
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-red));
  border: 1px solid var(--admin-red);
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.roles-select-masivo:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--admin-red), var(--admin-red-light));
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.5);
}

.roles-select-masivo:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.roles-btn-toggle {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--admin-border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--admin-text-secondary);
  transition: all 0.3s ease;
}

.roles-btn-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--admin-text);
  border-color: var(--admin-border);
}

/* ========================================
   LISTA DE CLIENTES (EXPANDIBLE)
   ======================================== */

.roles-rango-clientes {
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--admin-border-light);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 3000px;
  }
}

.roles-cliente-item {
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.roles-cliente-item:hover {
  border-color: var(--admin-border);
  transform: translateX(4px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.roles-cliente-info-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1;
  min-width: 0;
}

.roles-avatar-mini {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.roles-datos-mini {
  flex: 1 1;
  min-width: 0;
}

.roles-nombre-mini {
  font-size: 15px;
  font-weight: 800;
  color: var(--admin-text);
  margin-bottom: 4px;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.roles-email-mini {
  font-size: 13px;
  color: var(--admin-text-secondary);
  margin-bottom: 4px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.roles-meta-mini {
  font-size: 12px;
  color: var(--admin-text-secondary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.roles-admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #f44336, #d32f2f);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(244, 67, 54, 0.4);
}

.roles-rol-mini {
  font-weight: 800;
  letter-spacing: 0.3px;
}

.roles-select-mini {
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  color: var(--admin-text);
  padding: 10px 14px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 160px;
  letter-spacing: 0.3px;
}

.roles-select-mini:hover:not(:disabled) {
  border-color: var(--admin-red);
  box-shadow: 0 0 15px var(--admin-glow-red);
}

.roles-select-mini:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========================================
   MODALES
   ======================================== */

.roles-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.roles-modal {
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { 
    opacity: 0; 
    transform: translateY(40px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.roles-modal-grande {
  max-width: 800px;
}

.roles-modal-header {
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-black-card));
  padding: 24px 28px;
  border-bottom: 1px solid var(--admin-border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.roles-modal-header h2 {
  margin: 0;
  font-family: 'Orbitron', monospace;
  font-size: 22px;
  font-weight: 900;
  color: var(--admin-text);
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.5px;
}

.roles-modal-header svg {
  color: var(--admin-gold);
}

.roles-modal-close {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--admin-border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--admin-text);
  transition: all 0.3s ease;
}

.roles-modal-close:hover {
  background: var(--admin-red);
  border-color: var(--admin-red);
  transform: rotate(90deg);
}

.roles-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1 1;
}

.roles-modal-body::-webkit-scrollbar {
  width: 8px;
}

.roles-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.roles-modal-body::-webkit-scrollbar-thumb {
  background: var(--admin-red);
  border-radius: 4px;
}

/* ========================================
   FILTROS EN MODAL
   ======================================== */

.roles-filter-group {
  margin-bottom: 28px;
}

.roles-filter-group h3 {
  margin: 0 0 14px 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--admin-text);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.roles-filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.roles-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--admin-border-light);
  color: var(--admin-text);
  padding: 10px 18px;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.roles-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.roles-chip.active {
  background: var(--admin-red);
  border-color: var(--admin-red);
  color: white;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.roles-btn-reset-filtros {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--admin-border-light);
  color: var(--admin-text);
  padding: 14px;
  border-radius: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 10px;
}

.roles-btn-reset-filtros:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--admin-border);
}

/* ========================================
   GESTIÓN DE ROLES EN MODAL
   ======================================== */

.roles-grid-modal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 14px;
  gap: 14px;
  margin-bottom: 28px;
}

.roles-card-modal {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--admin-border-light);
  border-radius: 12px;
  padding: 16px;
  border-left: 4px solid;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.roles-card-modal:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.roles-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
}

.roles-card-emoji {
  font-size: 28px;
  line-height: 1;
}

.roles-card-header h4 {
  margin: 0 0 4px 0;
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.roles-card-header p {
  margin: 0;
  font-size: 12px;
  color: var(--admin-text-secondary);
  font-weight: 600;
}

.roles-btn-delete {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--admin-border-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--admin-text-secondary);
  transition: all 0.3s ease;
}

.roles-btn-delete:hover:not(:disabled) {
  background: var(--admin-red);
  border-color: var(--admin-red);
  color: white;
  transform: scale(1.1);
}

.roles-btn-delete:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ========================================
   CREAR ROL
   ======================================== */

.roles-crear-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--admin-border-light);
  border-radius: 12px;
  padding: 24px;
}

.roles-crear-section h3 {
  margin: 0 0 20px 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--admin-text);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.roles-form-group {
  margin-bottom: 18px;
}

.roles-form-group label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--admin-text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.roles-input {
  width: 100%;
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  color: var(--admin-text);
  padding: 12px 16px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.roles-input:focus {
  outline: none;
  border-color: var(--admin-red);
  box-shadow: 0 0 15px var(--admin-glow-red);
}

.roles-color-input {
  display: flex;
  align-items: center;
  gap: 12px;
}

.roles-color-input input[type="color"] {
  width: 60px;
  height: 44px;
  border: 1px solid var(--admin-border-light);
  border-radius: 10px;
  cursor: pointer;
  background: transparent;
}

.roles-color-preview {
  flex: 1 1;
  padding: 12px 16px;
  border-radius: 10px;
  color: white;
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.roles-btn-crear {
  width: 100%;
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-red));
  border: 1px solid var(--admin-red);
  color: white;
  padding: 14px;
  border-radius: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.roles-btn-crear:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--admin-red), var(--admin-red-light));
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(220, 53, 69, 0.5);
}

.roles-btn-crear:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ========================================
   ESTADO VACÍO
   ======================================== */

.roles-empty-state {
  background: var(--admin-black-card);
  border: 1px dashed var(--admin-border-light);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
}

.roles-empty-state svg {
  color: var(--admin-text-secondary);
  opacity: 0.4;
  margin-bottom: 16px;
}

.roles-empty-state h3 {
  font-family: 'Orbitron', monospace;
  font-size: 18px;
  font-weight: 800;
  color: var(--admin-text);
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
}

.roles-empty-state p {
  font-size: 14px;
  color: var(--admin-text-secondary);
  margin: 0;
  font-weight: 600;
}

/* ========================================
   LOADING
   ======================================== */

.roles-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 20px;
}

.roles-loading p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--admin-text-secondary);
  letter-spacing: 0.5px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .roles-header {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .roles-header-content {
    flex-direction: column;
  }

  .roles-stats-compactas {
    flex-direction: column;
  }

  .roles-rango-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .roles-rango-actions {
    flex-direction: column;
  }

  .roles-select-masivo {
    width: 100%;
  }

  .roles-cliente-item {
    flex-direction: column;
    align-items: stretch;
  }

  .roles-select-mini {
    width: 100%;
  }

  .roles-modal {
    max-width: 100%;
    max-height: 95vh;
  }

  .roles-grid-modal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .roles-header h1 {
    font-size: 20px;
  }

  .roles-modal-header {
    padding: 18px;
  }

  .roles-modal-body {
    padding: 18px;
  }

  .roles-filter-chips {
    flex-direction: column;
  }

  .roles-chip {
    width: 100%;
    text-align: center;
  }
}


/* ========================================
   SELECT - DROPDOWN OSCURO
   ======================================== */

.roles-select-masivo {
  background: linear-gradient(135deg, var(--admin-red-dark), var(--admin-red));
  border: 1px solid var(--admin-red);
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.roles-select-masivo:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--admin-red), var(--admin-red-light));
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.5);
}

.roles-select-masivo:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ✅ FORZAR FONDO OSCURO EN LAS OPCIONES */
.roles-select-masivo option {
  background: #1a1a1a;
  color: white;
  padding: 10px;
}

.roles-select-mini {
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  color: var(--admin-text);
  padding: 10px 14px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 160px;
  letter-spacing: 0.3px;
}

.roles-select-mini:hover:not(:disabled) {
  border-color: var(--admin-red);
  box-shadow: 0 0 15px var(--admin-glow-red);
}

.roles-select-mini:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ✅ FORZAR FONDO OSCURO EN LAS OPCIONES */
.roles-select-mini option {
  background: #1a1a1a;
  color: white;
  padding: 10px;
}

/* Para todos los selects de roles */
.roles-select {
  background: var(--admin-black-card);
  border: 1px solid var(--admin-border-light);
  color: var(--admin-text);
  padding: 10px 14px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.roles-select:hover:not(:disabled) {
  border-color: var(--admin-red);
  box-shadow: 0 0 15px var(--admin-glow-red);
}

/* ✅ FORZAR FONDO OSCURO EN LAS OPCIONES */
.roles-select option {
  background: #1a1a1a;
  color: white;
  padding: 10px;
}

.roles-select-tipo {
  min-width: 180px;
}

/* ========================================
   FORZAR ESTILOS OSCUROS EN SELECTS
   ======================================== */

select.roles-select-masivo,
select.roles-select-mini,
select.roles-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 12 12%27%3E%3Cpath fill=%27white%27 d=%27M6 9L1 4h10z%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Fondo oscuro para TODOS los option */
select option {
  background-color: #1a1a1a !important;
  color: white !important;
}

/* Firefox específico */
@-moz-document url-prefix() {
  select option {
    background-color: #1a1a1a;
    color: white;
  }
}

:root {
  --orange: #ff6b35;
  --orange-light: #ff8c42;
  --orange-dark: #e85d2a;
  --orange-glow: rgba(255,107,53,0.2);
  --bg: #0a0a0a;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --bg4: #202020;
  --gray1: #242424;
  --gray2: #2e2e2e;
  --gray3: #3a3a3a;
  --white: #ffffff;
  --w80: rgba(255,255,255,0.8);
  --w60: rgba(255,255,255,0.6);
  --w40: rgba(255,255,255,0.4);
  --w20: rgba(255,255,255,0.12);
  --green: #22c55e;
  --red: #ef4444;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
}

@keyframes fadeIn { from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);} }
@keyframes spin { to{transform:rotate(360deg);} }

.pc-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.3s ease;
}

.pc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pc-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pc-header-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255,107,53,0.2);
  box-shadow: 0 4px 14px var(--orange-glow);
}

.pc-header-left h1 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1;
}

.pc-header-left p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  line-height: 1;
}

.pc-badge-pendiente {
  padding: 7px 14px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
  white-space: nowrap;
  animation: fadeIn 0.2s ease;
}

.pc-section {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 20px 22px;
}

.pc-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.pc-label-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 3px;
  background: #1a1a1a;
  background: var(--bg3);
  padding: 1px;
}

.pc-plataformas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.pc-plataforma-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px 12px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  overflow: hidden;
}

.pc-plataforma-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #ff6b35;
  background: var(--plat-color, var(--orange));
  opacity: 0;
  transition: opacity 0.2s;
}

.pc-plataforma-card:hover {
  background: #202020;
  background: var(--bg4);
  border-color: #3a3a3a;
  border-color: var(--gray3);
  transform: translateY(-2px);
}

.pc-plataforma-card:hover::before { opacity: 0.6; }

.pc-plataforma-card.active {
  background: #202020;
  background: var(--bg4);
  border-color: #ff6b35;
  border-color: var(--plat-color, var(--orange));
  box-shadow: 0 0 0 1px #ff6b35, 0 4px 20px rgba(0,0,0,0.3);
  box-shadow: 0 0 0 1px var(--plat-color, var(--orange)), 0 4px 20px rgba(0,0,0,0.3);
}

.pc-plataforma-card.active::before { opacity: 1; }

.pc-plataforma-logo-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141414;
  background: var(--bg2);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  padding: 4px;
  flex-shrink: 0;
}

.pc-plataforma-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pc-plataforma-nombre {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  text-align: center;
  line-height: 1.2;
  word-break: break-word;
}

.pc-plataforma-card.active .pc-plataforma-nombre { color: #ffffff; color: var(--white); }

.pc-plataforma-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b35;
  background: var(--plat-color, var(--orange));
  box-shadow: 0 0 6px #ff6b35;
  box-shadow: 0 0 6px var(--plat-color, var(--orange));
}

.pc-tabs-ruta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pc-tab-ruta {
  padding: 8px 16px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  color: var(--w60);
  font-size: 12px;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.pc-tab-ruta:hover {
  background: #202020;
  background: var(--bg4);
  border-color: #3a3a3a;
  border-color: var(--gray3);
  color: #ffffff;
  color: var(--white);
}

.pc-tab-ruta.active {
  background: rgba(255,107,53,0.1);
  border-color: rgba(255,107,53,0.4);
  color: #ff6b35;
  color: var(--orange);
}

.pc-table-container {
  background: #141414;
  background: var(--bg2);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}

.pc-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  flex-wrap: wrap;
}

.pc-table-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pc-table-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
  background: #1a1a1a;
  background: var(--bg3);
  padding: 2px;
  flex-shrink: 0;
}

.pc-table-plat-name {
  font-size: 14px;
  font-weight: 700;
}

.pc-table-arrow {
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-size: 14px;
}

.pc-table-ruta-badge {
  padding: 3px 10px;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-family: 'Courier New', monospace;
  color: #ff6b35;
  color: var(--orange);
}

.pc-count {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-weight: 500;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #242424;
  border: 1px solid var(--gray1);
  padding: 3px 10px;
  border-radius: 100px;
}

.pc-btn-agregar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ff6b35;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.pc-btn-agregar:hover {
  background: rgba(255,107,53,0.2);
  border-color: #ff6b35;
  border-color: var(--orange);
}

.pc-row-header {
  background: #1a1a1a !important;
  background: var(--bg3) !important;
  border-bottom: 1px solid #2e2e2e !important;
  border-bottom: 1px solid var(--gray2) !important;
}

.pc-row-header span {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pc-row {
  display: grid;
  grid-template-columns: 140px 1fr 2fr 44px;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  padding: 12px 22px;
  border-bottom: 1px solid #242424;
  border-bottom: 1px solid var(--gray1);
  transition: background 0.15s;
}

.pc-row:last-child { border-bottom: none; }
.pc-row:not(.pc-row-header):hover { background: #1a1a1a; background: var(--bg3); }

.pc-input {
  width: 100%;
  background: #1a1a1a;
  background: var(--bg3);
  border: 1px solid #2e2e2e;
  border: 1px solid var(--gray2);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  padding: 9px 12px;
  transition: border-color 0.2s;
}

.pc-input:focus { outline: none; border-color: #ff6b35; border-color: var(--orange); background: #202020; background: var(--bg4); }
.pc-input::placeholder { color: rgba(255,255,255,0.4); color: var(--w40); font-size: 12px; }

.pc-input-asunto { font-size: 12px; }

.pc-btn-delete {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 6px;
  border-radius: var(--radius-xs);
  color: #ef4444;
  color: var(--red);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  opacity: 0.6;
}

.pc-btn-delete:hover {
  background: rgba(239,68,68,0.18);
  border-color: #ef4444;
  border-color: var(--red);
  opacity: 1;
}

.pc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 60px 20px;
  text-align: center;
}

.pc-empty-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  background: #1a1a1a;
  background: var(--bg3);
  padding: 6px;
  opacity: 0.5;
}

.pc-empty h3 {
  font-size: 17px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  color: var(--w60);
}

.pc-empty p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  color: var(--w40);
  font-family: 'Courier New', monospace;
}

.pc-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 16px 22px;
  border-top: 1px solid #242424;
  border-top: 1px solid var(--gray1);
  background: #1a1a1a;
  background: var(--bg3);
  flex-wrap: wrap;
}

.pc-mensaje {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  animation: fadeIn 0.2s ease;
  flex: 1 1;
}

.pc-mensaje.success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: #22c55e;
  color: var(--green);
}

.pc-mensaje.error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: #ef4444;
  color: var(--red);
}

.pc-btn-guardar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #ff6b35, #e85d2a);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border: none;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(255,107,53,0.2);
  box-shadow: 0 4px 14px var(--orange-glow);
  white-space: nowrap;
  flex-shrink: 0;
}

.pc-btn-guardar:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255,107,53,0.35);
}

.pc-btn-guardar:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .pc-plataformas-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }

  .pc-row {
    grid-template-columns: 1fr 44px;
    grid-template-rows: auto auto auto;
    gap: 8px;
    padding: 14px 16px;
  }

  .pc-row .pc-input:nth-child(3) { grid-column: 1; }
  .pc-row .pc-btn-delete { grid-row: 1; grid-column: 2; }

  .pc-table-header { padding: 14px 16px; }
  .pc-actions { padding: 14px 16px; }
  .pc-row:not(.pc-row-header) { display: flex; flex-direction: column; align-items: stretch; }
  .pc-row-header { display: none; }
  .pc-btn-delete { align-self: flex-end; width: 34px; }
}

@media (max-width: 480px) {
  .pc-plataformas-grid { grid-template-columns: repeat(3, 1fr); }
  .pc-tabs-ruta { gap: 6px; }
  .pc-tab-ruta { padding: 7px 12px; font-size: 11px; }
}
.cgv-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0f;
  position: relative;
  overflow: hidden;
}
.cgv-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cgv-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: cgv-float 6s ease-in-out infinite;
}
.cgv-orb-1 {
  width: 400px; height: 400px;
  background: #6c63ff;
  top: -100px; left: -100px;
}
.cgv-orb-2 {
  width: 350px; height: 350px;
  background: #ff6584;
  bottom: -80px; right: -80px;
  animation-delay: 3s;
}
@keyframes cgv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}
.cgv-content {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 2rem;
}
.cgv-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: cgv-bounce 2s ease-in-out infinite;
}
@keyframes cgv-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.cgv-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cgv-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 0 0 2rem;
}
.cgv-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.cgv-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #a78bfa;
  animation: cgv-pulse 1.2s ease-in-out infinite;
}
.cgv-dots span:nth-child(2) { animation-delay: 0.2s; }
.cgv-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes cgv-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.cgv-page {
  min-height: 100vh;
  background: #0a0a0f;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

.cgv-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cgv-bg-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #8b0000 0%, transparent 70%);
  top: -150px; left: -150px;
  opacity: 0.4;
}
.cgv-bg-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #8b0000 0%, transparent 70%);
  bottom: -100px; right: -100px;
  opacity: 0.3;
}

.cgv-back-btn {
  align-self: flex-start;
  margin-left: calc(50% - 280px);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  transition: all 0.2s;
  position: relative;
  z-index: 1;
}
.cgv-back-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.cgv-header-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.cgv-header-logo {
  width: 52px; height: 52px;
  border-radius: 12px;
  object-fit: contain;
  background: #111;
  border: 1px solid rgba(229,9,20,0.4);
  padding: 4px;
}
.cgv-header-info h2 {
  color: #e50914;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 2px;
}
.cgv-header-info p {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  margin: 0;
}

.cgv-main-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.cgv-main-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 4px;
}
.cgv-main-subtitle {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  text-align: center;
  margin: 0 0 1.8rem;
}

.cgv-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 1.8rem;
}
.cgv-tab {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}
.cgv-tab:hover {
  background: rgba(229,9,20,0.1);
  border-color: rgba(229,9,20,0.3);
  color: #fff;
}
.cgv-tab.active {
  background: rgba(229,9,20,0.15);
  border-color: #e50914;
  color: #fff;
}
.cgv-tab-icon { font-size: 1.1rem; }

.cgv-label {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cgv-input-wrapper {
  position: relative;
  margin-bottom: 6px;
}
.cgv-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0.5;
}
.cgv-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(229,9,20,0.4);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  padding: 13px 14px 13px 40px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.cgv-input::placeholder { color: rgba(255,255,255,0.3); }
.cgv-input:focus { border-color: #e50914; }
.cgv-input:disabled { opacity: 0.5; }

.cgv-input-hint {
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
  margin: 5px 0 1.5rem;
}

.cgv-btn {
  width: 100%;
  background: #e50914;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.1s;
  text-transform: uppercase;
}
.cgv-btn:hover:not(:disabled) { background: #c4070f; }
.cgv-btn:active:not(:disabled) { transform: scale(0.98); }
.cgv-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.cgv-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cgv-spin 0.7s linear infinite;
}
@keyframes cgv-spin {
  to { transform: rotate(360deg); }
}

.cgv-error {
  margin-top: 1rem;
  background: rgba(229,9,20,0.1);
  border: 1px solid rgba(229,9,20,0.3);
  border-radius: 10px;
  padding: 12px 14px;
  color: #ff6b6b;
  font-size: 0.87rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cgv-result {
  margin-top: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.2rem;
}
.cgv-result-title {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.cgv-result-link-box {
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  word-break: break-all;
  margin-bottom: 10px;
}
.cgv-result-actions {
  display: flex;
  gap: 8px;
}
.cgv-result-btn {
  flex: 1 1;
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.2s;
}
.cgv-result-btn:hover { opacity: 0.85; }
.cgv-result-btn-open {
  background: #e50914;
  color: #fff;
}
.cgv-result-btn-copy {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.cgv-result-badge {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.cgv-footer-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .cgv-back-btn { margin-left: 0; }
  .cgv-main-card { padding: 1.5rem 1.2rem; }
}

.cgv-page {
  min-height: 100vh;
  background: #0a0a0f;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

.cgv-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cgv-bg-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #8b0000 0%, transparent 70%);
  top: -150px; left: -150px;
  opacity: 0.4;
}
.cgv-bg-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #8b0000 0%, transparent 70%);
  bottom: -100px; right: -100px;
  opacity: 0.3;
}

.cgv-back-btn {
  align-self: flex-start;
  margin-left: calc(50% - 280px);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  transition: all 0.2s;
  position: relative;
  z-index: 1;
}
.cgv-back-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.cgv-header-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.cgv-header-logo {
  width: 52px; height: 52px;
  border-radius: 12px;
  object-fit: contain;
  background: #111;
  border: 1px solid rgba(229,9,20,0.4);
  padding: 4px;
}
.cgv-header-info h2 {
  color: #e50914;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 2px;
}
.cgv-header-info p {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  margin: 0;
}

.cgv-main-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.cgv-main-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 4px;
}
.cgv-main-subtitle {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  text-align: center;
  margin: 0 0 1.8rem;
}

.cgv-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 1.8rem;
}
.cgv-tab {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}
.cgv-tab:hover {
  background: rgba(229,9,20,0.1);
  border-color: rgba(229,9,20,0.3);
  color: #fff;
}
.cgv-tab.active {
  background: rgba(229,9,20,0.15);
  border-color: #e50914;
  color: #fff;
}
.cgv-tab-icon { font-size: 1.1rem; }

.cgv-label {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cgv-input-wrapper {
  position: relative;
  margin-bottom: 6px;
}
.cgv-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0.5;
}
.cgv-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(229,9,20,0.4);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  padding: 13px 14px 13px 40px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.cgv-input::placeholder { color: rgba(255,255,255,0.3); }
.cgv-input:focus { border-color: #e50914; }
.cgv-input:disabled { opacity: 0.5; }

.cgv-input-hint {
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
  margin: 5px 0 1.5rem;
}

.cgv-btn {
  width: 100%;
  background: #e50914;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.1s;
  text-transform: uppercase;
}
.cgv-btn:hover:not(:disabled) { background: #c4070f; }
.cgv-btn:active:not(:disabled) { transform: scale(0.98); }
.cgv-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.cgv-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cgv-spin 0.7s linear infinite;
}
@keyframes cgv-spin {
  to { transform: rotate(360deg); }
}

.cgv-error {
  margin-top: 1rem;
  background: rgba(229,9,20,0.1);
  border: 1px solid rgba(229,9,20,0.3);
  border-radius: 10px;
  padding: 12px 14px;
  color: #ff6b6b;
  font-size: 0.87rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cgv-result {
  margin-top: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.2rem;
}
.cgv-result-title {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.cgv-result-link-box {
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  word-break: break-all;
  margin-bottom: 10px;
}
.cgv-result-actions {
  display: flex;
  gap: 8px;
}
.cgv-result-btn {
  flex: 1 1;
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.2s;
}
.cgv-result-btn:hover { opacity: 0.85; }
.cgv-result-btn-open {
  background: #e50914;
  color: #fff;
}
.cgv-result-btn-copy {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.cgv-result-badge {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.cgv-footer-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .cgv-back-btn { margin-left: 0; }
  .cgv-main-card { padding: 1.5rem 1.2rem; }
}
:root {
  --accent:        #e01c1c;
  --accent-light:  #ff5252;
  --accent-dark:   #b31414;
  --accent-glow:   rgba(224,28,28,0.3);
  --bg:  #050505;
  --bg2: #0d0d0f;
  --bg3: #141416;
  --gray1: #1c1c1f;
  --gray2: #26262a;
  --white: #ffffff;
  --w80: rgba(255,255,255,0.85);
  --w60: rgba(255,255,255,0.62);
  --w40: rgba(255,255,255,0.42);
  --w20: rgba(255,255,255,0.15);
  --radius: 14px;
  --radius-sm: 10px;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #050505;
  background: var(--bg);
  overflow-x: hidden;
}

@keyframes float {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-16px); }
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.6; transform:scale(0.97); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes spinReverse {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}
@keyframes particles {
  0%   { transform: translateY(100vh) scale(0); opacity:0; }
  10%  { opacity:1; }
  90%  { opacity:1; }
  100% { transform: translateY(-100vh) scale(1); opacity:0; }
}
@keyframes dotPulse {
  0%,100% { transform:scale(0.8); opacity:0.5; }
  50%      { transform:scale(1.2); opacity:1; }
}
@keyframes progressShine {
  0%   { left:-100%; }
  100% { left:200%; }
}
@keyframes fadeIn {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes scaleIn {
  from { opacity:0; transform:scale(0.92); }
  to   { opacity:1; transform:scale(1); }
}
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 20px rgba(224,28,28,0.3), 0 0 40px rgba(224,28,28,0.3); box-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow); }
  50%      { box-shadow: 0 0 40px #e01c1c, 0 0 80px rgba(224,28,28,0.3); box-shadow: 0 0 40px var(--accent), 0 0 80px var(--accent-glow); }
}
@keyframes shimmerText {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ===== LOADING SCREEN ===== */
.app-loading-screen {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050505;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.app-loading-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.app-loading-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(224,28,28,0.1) 0%, transparent 65%);
  animation: pulse 5s ease-in-out infinite;
}

.app-loading-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.app-loading-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #ff5252;
  background: var(--accent-light);
  border-radius: 50%;
  animation: particles linear infinite;
  box-shadow: 0 0 8px rgba(224,28,28,0.3);
  box-shadow: 0 0 8px var(--accent-glow);
}

.app-loading-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 520px;
  padding: 40px 24px;
}

.app-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  animation: fadeIn 0.8s ease-out;
}

.app-loading-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.app-loading-logo-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3.5s ease-in-out infinite;
}

.app-loading-logo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid #e01c1c;
  border: 2px solid var(--accent);
  animation: spin 3s linear infinite;
  opacity: 0.85;
}

.app-loading-logo-ring::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid #ff5252;
  border: 1.5px solid var(--accent-light);
  animation: spinReverse 5s linear infinite;
  opacity: 0.45;
}

.app-loading-logo {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  object-fit: cover;
  border: 3px solid #e01c1c;
  border: 3px solid var(--accent);
  box-shadow: 0 0 28px rgba(224,28,28,0.3);
  box-shadow: 0 0 28px var(--accent-glow);
  display: block;
  position: relative;
  z-index: 1;
}

.app-loading-logo-fallback {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  background: linear-gradient(135deg, #e01c1c, #b31414);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: none;
  align-items: center;
  justify-content: center;
  border: 3px solid #e01c1c;
  border: 3px solid var(--accent);
  box-shadow: 0 0 28px rgba(224,28,28,0.3);
  box-shadow: 0 0 28px var(--accent-glow);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.app-loading-logo-letter {
  font-size: 46px;
  font-weight: 900;
  color: #ffffff;
  color: var(--white);
}

.app-loading-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-loading-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(130deg, #f2f3f5 0%, #ff5252 50%, #f2f3f5 100%);
  background: linear-gradient(130deg, #f2f3f5 0%, var(--accent-light) 50%, #f2f3f5 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s linear infinite;
}

.app-loading-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  color: var(--w60);
  font-weight: 500;
}

.app-loading-progress-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.app-loading-spinner {
  position: relative;
  width: 64px;
  height: 64px;
}

.app-loading-spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
}

.app-loading-spinner-ring:nth-child(1) {
  border-top-color: #e01c1c;
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}

.app-loading-spinner-ring:nth-child(2) {
  inset: 8px;
  border-right-color: #ff5252;
  border-right-color: var(--accent-light);
  animation: spin 1.5s linear infinite reverse;
}

.app-loading-spinner-ring:nth-child(3) {
  inset: 16px;
  border-bottom-color: #b31414;
  border-bottom-color: var(--accent-dark);
  animation: spin 2s linear infinite;
}

.app-loading-message {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  color: var(--w80);
  animation: pulse 2s ease-in-out infinite;
}

.app-loading-bar-container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-loading-bar {
  flex: 1 1;
  height: 10px;
  background: #1c1c1f;
  background: var(--gray1);
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid #26262a;
  border: 1px solid var(--gray2);
}

.app-loading-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #e01c1c, #ff5252);
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 100px;
  transition: width 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(224,28,28,0.3);
  box-shadow: 0 0 12px var(--accent-glow);
}

.app-loading-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: progressShine 2s ease-in-out infinite;
}

.app-loading-percentage {
  font-size: 18px;
  font-weight: 800;
  color: #ff5252;
  color: var(--accent-light);
  min-width: 46px;
  text-align: right;
  font-family: 'Courier New', monospace;
}

.app-loading-dots {
  display: flex;
  gap: 10px;
}

.app-loading-dot {
  width: 10px;
  height: 10px;
  background: #e01c1c;
  background: var(--accent);
  border-radius: 50%;
  animation: dotPulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(224,28,28,0.3);
  box-shadow: 0 0 8px var(--accent-glow);
}

.app-loading-dot:nth-child(2) { animation-delay: 0.2s; }
.app-loading-dot:nth-child(3) { animation-delay: 0.4s; }

/* ===== BANNED SCREEN ===== */
.app-banned-screen {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050505;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.app-banned-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.app-banned-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(224,28,28,0.08) 0%, transparent 60%);
}

.app-banned-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 520px;
}

.app-banned-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeIn 0.5s ease-out;
}

.app-banned-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 32px 20px 24px;
  background: #0d0d0f;
  background: var(--bg2);
  border: 1px solid #26262a;
  border: 1px solid var(--gray2);
  border-radius: 14px;
  border-radius: var(--radius);
}

.app-banned-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-banned-icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(224,28,28,0.45);
  animation: glowPulse 3s ease-in-out infinite;
}

.app-banned-icon {
  font-size: 44px;
  position: relative;
  z-index: 1;
}

.app-banned-title {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  color: var(--white);
  letter-spacing: -0.3px;
}

.app-banned-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  color: var(--w60);
}

.app-banned-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-banned-card {
  background: #0d0d0f;
  background: var(--bg2);
  border: 1px solid #26262a;
  border: 1px solid var(--gray2);
  border-radius: 14px;
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s;
}

.app-banned-card:hover { border-color: rgba(224,28,28,0.3); }

.app-banned-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.app-banned-card-icon { font-size: 18px; }

.app-banned-card-header h3 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
}

.app-banned-user-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-banned-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.app-banned-detail-label {
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  color: var(--w40);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.app-banned-detail-value {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  color: var(--w80);
  font-weight: 500;
  word-break: break-all;
  text-align: right;
}

.app-banned-status {
  font-size: 11px;
  font-weight: 800;
  color: #ff6b6b;
  background: rgba(224,28,28,0.14);
  border: 1px solid rgba(224,28,28,0.32);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 1px;
}

.app-banned-reasons {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.app-banned-reasons li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  color: var(--w60);
  line-height: 1.5;
}

.app-banned-bullet {
  color: #ff5252;
  color: var(--accent-light);
  font-weight: 900;
  flex-shrink: 0;
}

.app-banned-contact-text {
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  color: var(--w60);
  margin-bottom: 14px;
  line-height: 1.5;
}

.app-banned-contact-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.app-banned-contact-btn {
  flex: 1 1;
  min-width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.app-banned-whatsapp {
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.3);
  color: #25d366;
}

.app-banned-whatsapp:hover {
  background: rgba(37,211,102,0.22);
  border-color: #25d366;
  transform: translateY(-2px);
}

.app-banned-telegram {
  background: rgba(40,168,234,0.12);
  border: 1px solid rgba(40,168,234,0.3);
  color: #28a8ea;
}

.app-banned-telegram:hover {
  background: rgba(40,168,234,0.22);
  border-color: #28a8ea;
  transform: translateY(-2px);
}

.app-banned-actions {
  margin-top: 4px;
}

.app-banned-logout-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #e01c1c, #b31414);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: 1px solid rgba(224,28,28,0.4);
  border-radius: 10px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
  box-shadow: 0 6px 20px rgba(224,28,28,0.3);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.app-banned-logout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(224,28,28,0.4);
}

.app-banned-logout-icon { font-size: 18px; }

.app-banned-footer {
  text-align: center;
  padding-top: 4px;
}

.app-banned-footer-brand {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.42);
  color: var(--w40);
  margin-bottom: 5px;
}

.app-banned-footer-help {
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  color: var(--w40);
}

@media (max-width: 480px) {
  .app-loading-container { padding: 20px 16px; }
  .app-loading-title     { font-size: 24px; }
  .app-loading-bar-container { flex-direction: column; gap: 10px; }
  .app-loading-percentage    { text-align: center; }
  .app-banned-contact-options { flex-direction: column; }
  .app-banned-screen { padding: 16px; }
}
