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

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

/* src/components/LoadingScreen.css */
/* PREFIJO: ls- (Loading Screen) */

/* ============================================ */
/* IMPORTS */
/* ============================================ */

/* ============================================ */
/* VARIABLES */
/* ============================================ */
:root {
  --ls-bg-primary: #0a0a0a;
  --ls-gold: #d4af37;
  --ls-gold-light: #f0d574;
  --ls-text-primary: #e9ecef;
  --ls-text-secondary: #b7bcc4;
}

/* ============================================ */
/* CONTAINER PRINCIPAL */
/* ============================================ */
.ls-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
}

/* ============================================ */
/* FONDO ANIMADO */
/* ============================================ */
.ls-bg-animated {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.15;
  z-index: 1;
}

.ls-bg-animated::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, #d4af37 1px, transparent 1px);
  background: radial-gradient(circle, var(--ls-gold) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: ls-bg-move 20s linear infinite;
}

@keyframes ls-bg-move {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* ============================================ */
/* CONTENIDO PRINCIPAL */
/* ============================================ */
.ls-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
}

/* ============================================ */
/* LOGO SECTION */
/* ============================================ */
.ls-logo-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Círculo exterior giratorio */
.ls-circle-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: #d4af37;
  border-top-color: var(--ls-gold);
  border-right-color: #d4af37;
  border-right-color: var(--ls-gold);
  border-radius: 50%;
  animation: ls-rotate 2s linear infinite;
}

/* Círculo medio */
.ls-circle-middle {
  position: absolute;
  width: 85%;
  height: 85%;
  border: 2px solid transparent;
  border-bottom-color: #f0d574;
  border-bottom-color: var(--ls-gold-light);
  border-left-color: #f0d574;
  border-left-color: var(--ls-gold-light);
  border-radius: 50%;
  animation: ls-rotate-reverse 1.5s linear infinite;
}

/* Círculo interior */
.ls-circle-inner {
  position: absolute;
  width: 70%;
  height: 70%;
  border: 2px solid transparent;
  border-top-color: #d4af37;
  border-top-color: var(--ls-gold);
  border-radius: 50%;
  animation: ls-rotate 1s linear infinite;
}

@keyframes ls-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes ls-rotate-reverse {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* Logo del carrito */
.ls-logo-icon {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  color: #d4af37;
  color: var(--ls-gold);
  animation: ls-pulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
}

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

/* ============================================ */
/* TEXTO Y BRAND */
/* ============================================ */
.ls-brand-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ls-brand-name {
  font-size: 48px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  letter-spacing: 4px;
  margin: 0;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--ls-gold), var(--ls-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ls-glow 2s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

@keyframes ls-glow {
  0%, 100% {
    filter: brightness(1) drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
  }
  50% {
    filter: brightness(1.2) drop-shadow(0 0 20px rgba(212, 175, 55, 0.8));
  }
}

.ls-brand-tagline {
  font-size: 14px;
  font-weight: 500;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 2px;
  color: #b7bcc4;
  color: var(--ls-text-secondary);
  margin: 0;
  text-transform: uppercase;
  animation: ls-fade-in-out 2s ease-in-out infinite;
}

@keyframes ls-fade-in-out {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ============================================ */
/* LOADING BAR */
/* ============================================ */
.ls-loading-bar-container {
  width: 300px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.ls-loading-bar {
  height: 100%;
  background: linear-gradient(90deg, 
    #d4af37 0%, 
    #f0d574 50%, 
    #d4af37 100%
  );
  background: linear-gradient(90deg, 
    var(--ls-gold) 0%, 
    var(--ls-gold-light) 50%, 
    var(--ls-gold) 100%
  );
  background-size: 200% 100%;
  border-radius: 10px;
  animation: ls-loading-bar-move 1.5s ease-in-out infinite;
  box-shadow: 0 0 10px #d4af37;
  box-shadow: 0 0 10px var(--ls-gold);
}

@keyframes ls-loading-bar-move {
  0% {
    transform: translateX(-100%);
    background-position: 0% 50%;
  }
  100% {
    transform: translateX(100%);
    background-position: 200% 50%;
  }
}

/* ============================================ */
/* LOADING TEXT */
/* ============================================ */
.ls-loading-text {
  font-size: 16px;
  font-weight: 500;
  font-family: 'Rajdhani', sans-serif;
  color: #e9ecef;
  color: var(--ls-text-primary);
  margin: 0;
}

.ls-loading-text::after {
  content: '';
  animation: ls-dots-animation 1.5s steps(4, end) infinite;
}

@keyframes ls-dots-animation {
  0%, 20% {
    content: '';
  }
  40% {
    content: '.';
  }
  60% {
    content: '..';
  }
  80%, 100% {
    content: '...';
  }
}

/* ============================================ */
/* PARTÍCULAS FLOTANTES */
/* ============================================ */
.ls-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.ls-particle {
  position: absolute;
  background-color: #d4af37;
  background-color: var(--ls-gold);
  border-radius: 50%;
  opacity: 0.3;
  animation: ls-float 3s ease-in-out infinite;
}

.ls-particle:nth-child(1) {
  width: 4px;
  height: 4px;
  top: 20%;
  left: 20%;
  animation-delay: 0s;
  animation-duration: 3s;
}

.ls-particle:nth-child(2) {
  width: 6px;
  height: 6px;
  top: 40%;
  left: 80%;
  animation-delay: 0.5s;
  animation-duration: 4s;
}

.ls-particle:nth-child(3) {
  width: 3px;
  height: 3px;
  top: 60%;
  left: 30%;
  animation-delay: 1s;
  animation-duration: 3.5s;
}

.ls-particle:nth-child(4) {
  width: 5px;
  height: 5px;
  top: 80%;
  left: 70%;
  animation-delay: 1.5s;
  animation-duration: 4.5s;
}

.ls-particle:nth-child(5) {
  width: 4px;
  height: 4px;
  top: 30%;
  left: 50%;
  animation-delay: 2s;
  animation-duration: 3.8s;
}

@keyframes ls-float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  50% {
    transform: translateY(-40px) translateX(-10px);
  }
  75% {
    transform: translateY(-20px) translateX(10px);
  }
}

/* ============================================ */
/* RESPONSIVE - TABLET */
/* ============================================ */
@media (max-width: 1024px) {
  .ls-logo-wrapper {
    width: 180px;
    height: 180px;
  }

  .ls-logo-icon {
    width: 70px;
    height: 70px;
  }

  .ls-brand-name {
    font-size: 42px;
  }

  .ls-loading-bar-container {
    width: 250px;
  }
}

/* ============================================ */
/* RESPONSIVE - MÓVIL */
/* ============================================ */
@media (max-width: 768px) {
  .ls-content {
    gap: 30px;
  }

  .ls-logo-wrapper {
    width: 150px;
    height: 150px;
  }

  .ls-logo-icon {
    width: 60px;
    height: 60px;
  }

  .ls-brand-name {
    font-size: 36px;
    letter-spacing: 3px;
  }

  .ls-brand-tagline {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .ls-loading-bar-container {
    width: 200px;
    height: 3px;
  }

  .ls-loading-text {
    font-size: 14px;
  }

  .ls-particle {
    opacity: 0.2;
  }
}

/* ============================================ */
/* RESPONSIVE - MÓVIL PEQUEÑO */
/* ============================================ */
@media (max-width: 480px) {
  .ls-content {
    gap: 24px;
  }

  .ls-logo-wrapper {
    width: 120px;
    height: 120px;
  }

  .ls-circle-outer {
    border-width: 2px;
  }

  .ls-logo-icon {
    width: 50px;
    height: 50px;
  }

  .ls-brand-name {
    font-size: 28px;
    letter-spacing: 2px;
  }

  .ls-brand-tagline {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .ls-loading-bar-container {
    width: 160px;
  }

  .ls-loading-text {
    font-size: 13px;
  }
}

/* ============================================ */
/* ANIMACIÓN DE ENTRADA */
/* ============================================ */
.ls-container {
  animation: ls-fade-in 0.5s ease-out;
}

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

/* ============================================ */
/* ACCESIBILIDAD */
/* ============================================ */
@media (prefers-reduced-motion: reduce) {
  .ls-circle-outer,
  .ls-circle-middle,
  .ls-circle-inner,
  .ls-logo-icon,
  .ls-brand-name,
  .ls-brand-tagline,
  .ls-loading-bar,
  .ls-particle,
  .ls-bg-animated::before {
    animation: none;
  }

  .ls-loading-bar {
    transform: translateX(0);
    width: 50%;
  }
}
/* Logo real de Noodle Store */
.ls-logo-image-container {
  position: relative;
  z-index: 2;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 10px;
  animation: ls-pulse 2s ease-in-out infinite;
}

.ls-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
}

/* Responsive para la imagen */
@media (max-width: 768px) {
  .ls-logo-image-container {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .ls-logo-image-container {
    width: 60px;
    height: 60px;
  }
}
/* ============================================
   LANDING.CSS - MODO PC
   ============================================ */

/* IMPORTS */

/* ============================================
   VARIABLES
   ============================================ */
:root {
  --noodle-bg-primary: #0a0a0a;
  --noodle-bg-secondary: rgba(10, 10, 10, 0.98);
  --noodle-border-color: rgba(255, 255, 255, 0.12);
  --noodle-text-primary: #e9ecef;
  --noodle-text-secondary: #b7bcc4;
  --noodle-gold: #d4af37;
  --noodle-gold-light: #f0d574;
  --noodle-red: #e50914;
  --noodle-red-light: #ff1a25;
  --noodle-purple: #7c5cff;
  --noodle-cyan: #4dd2ff;
  --noodle-green: #27ae60;
}

/* ============================================
   RESET Y BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background-color: #0a0a0a;
  background-color: var(--noodle-bg-primary);
  color: #e9ecef;
  color: var(--noodle-text-primary);
  overflow-x: hidden;
}

.noodle-landing {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--noodle-bg-primary);
}

/* ============================================
   NAVBAR
   ============================================ */
.noodle-navbar {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--noodle-bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--noodle-border-color);
  padding: 12px 24px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.noodle-navbar-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* LOGO */
.noodle-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.noodle-logo:hover {
  transform: scale(1.05);
}

.noodle-logo-icon {
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #d4af37;
  border: 2px solid var(--noodle-gold);
}

.noodle-logo-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%
  );
  animation: logoShine 3s ease-in-out infinite;
}

@keyframes logoShine {
  0%, 100% {
    transform: translate(-100%, -100%) rotate(45deg);
  }
  50% {
    transform: translate(100%, 100%) rotate(45deg);
  }
}

.noodle-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.noodle-logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 22px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  letter-spacing: 2px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 2s ease-in-out infinite;
}

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

/* MENU DESKTOP */
.noodle-nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.noodle-nav-link {
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.noodle-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, #f0d574);
  background: linear-gradient(90deg, var(--noodle-gold), var(--noodle-gold-light));
  transition: width 0.3s ease;
}

.noodle-nav-link:hover,
.noodle-nav-link.active {
  color: #d4af37;
  color: var(--noodle-gold);
}

.noodle-nav-link:hover::after,
.noodle-nav-link.active::after {
  width: 100%;
}

/* BOTÓN INGRESAR */
.noodle-btn-ingresar {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.noodle-btn-ingresar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.noodle-user-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MENU TOGGLE (OCULTO EN PC) */
.noodle-menu-toggle {
  display: none;
}

.noodle-mobile-menu {
  display: none;
}

/* ============================================
   HERO SECTION CON CARRUSEL
   ============================================ */
.noodle-hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.noodle-hero-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* SLIDESHOW */
.noodle-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.noodle-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.noodle-slide.active {
  opacity: 1;
  z-index: 1;
}

.noodle-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

/* CONTENIDO DEL HERO */
.noodle-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.noodle-hero-subtitle {
  font-size: 24px;
  font-weight: 400;
  color: #d4af37;
  color: var(--noodle-gold);
  margin-bottom: 20px;
  font-family: 'Rajdhani', sans-serif;
  animation: fadeInUp 0.8s ease-out;
}

.noodle-hero-title {
  font-size: 80px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  line-height: 0.9;
  margin-bottom: 40px;
  font-family: 'Orbitron', monospace;
  letter-spacing: 3px;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
  animation: fadeInUp 1s ease-out 0.2s both;
}

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

.noodle-hero-btn {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--noodle-red), var(--noodle-red-light));
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s ease;
  box-shadow: 0 6px 25px rgba(229, 9, 20, 0.4);
  animation: fadeInUp 1.2s ease-out 0.4s both;
  position: relative;
  overflow: hidden;
}

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

.noodle-hero-btn:hover::before {
  left: 100%;
}

.noodle-hero-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(229, 9, 20, 0.6);
}

/* CONTROLES DEL CARRUSEL */


.noodle-carousel-control:hover {
  background: #d4af37;
  background: var(--noodle-gold);
  border-color: #d4af37;
  border-color: var(--noodle-gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.noodle-carousel-control.prev {
  left: 30px;
}

.noodle-carousel-control.next {
  right: 30px;
}

/* INDICADORES */
.noodle-carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.noodle-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}


.noodle-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* ============================================
   CINTA DE LOGOS
   ============================================ */
.noodle-brands {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--noodle-bg-secondary);
  
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--noodle-border-color);
}

.noodle-brands-track {
  display: flex;
  gap: 60px;
  animation: scrollBrands 30s linear infinite;
}

@keyframes scrollBrands {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.33%);
  }
}

.noodle-brand-item {
  flex-shrink: 0;
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

.noodle-brand-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

.noodle-brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}



/* ============================================
   SECCIÓN: TUS NOODLE FAVS - ESTILO MEJORADO
   ============================================ */
.noodle-favs-section {
  padding: 100px 24px;
  background-color: #0a0a0a;
  background-color: var(--noodle-bg-primary);
  position: relative;
  overflow: hidden;
}

/* Efecto de partículas brillantes */
.noodle-favs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(124, 92, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(77, 210, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
  animation: particleMovement 15s ease-in-out infinite alternate;
}

@keyframes particleMovement {
  0% {
    transform: scale(1) translateY(0);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.1) translateY(-10px);
    opacity: 0.7;
  }
}

.noodle-favs-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ============================================
   HEADER CON TÍTULO Y BANNER
   ============================================ */
.noodle-favs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 70px;
  gap: 50px;
}

.noodle-favs-title-wrapper {
  flex: 1 1;
  position: relative;
}

/* TÍTULO CON NUEVO ESTILO DE FUENTE */
.noodle-favs-title {
  font-size: 64px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  letter-spacing: 4px;
  margin: 0 0 24px 0;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 25%, #FF6B35 50%, #F7931E 75%, #FFD700 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  position: relative;
  filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
  animation: titleShine 3s linear infinite, titleFloat 3s ease-in-out infinite;
}

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

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

/* Resplandor detrás del título */
.noodle-favs-title::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 107, 53, 0.3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(20px);
  opacity: 0.8;
}

/* LÍNEA DECORATIVA MÁS GRUESA */
.noodle-title-underline {
  width: 0;
  height: 6px;
  background: linear-gradient(90deg, 
    #d4af37 0%, 
    #e50914 25%, 
    #7c5cff 50%, 
    #4dd2ff 75%, 
    #d4af37 100%
  );
  background: linear-gradient(90deg, 
    var(--noodle-gold) 0%, 
    var(--noodle-red) 25%, 
    var(--noodle-purple) 50%, 
    var(--noodle-cyan) 75%, 
    var(--noodle-gold) 100%
  );
  background-size: 300% 100%;
  border-radius: 4px;
  box-shadow: 
    0 0 20px rgba(212, 175, 55, 0.8),
    0 4px 15px rgba(212, 175, 55, 0.5);
  animation: lineGrow 1.5s ease-out forwards, lineFlow 4s linear infinite;
}

@keyframes lineGrow {
  from {
    width: 0;
  }
  to {
    width: 220px;
  }
}

@keyframes lineFlow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 300% center;
  }
}

/* ============================================
   BANNER MAYORISTAS - CON IMAGEN
   ============================================ */
.noodle-afiliados-card {
  flex: 0 0 380px;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(25, 25, 25, 0.98) 100%);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.7);
}

/* Borde LED más sutil */
.noodle-afiliados-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(90deg, 
    #7c5cff, 
    #4dd2ff, 
    #7c5cff
  );
  background: linear-gradient(90deg, 
    var(--noodle-purple), 
    var(--noodle-cyan), 
    var(--noodle-purple)
  );
  background-size: 200% 100%;
  animation: borderSlide 3s linear infinite;
  opacity: 0.6;
  z-index: 0;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
}

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

.noodle-afiliados-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: 0;
}

.noodle-afiliados-card:hover::after {
  width: 400px;
  height: 400px;
}

.noodle-afiliados-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 
    0 12px 40px rgba(124, 92, 255, 0.5),
    0 0 40px rgba(77, 210, 255, 0.3);
}

.noodle-afiliados-card:hover::before {
  opacity: 1;
  animation-duration: 2s;
}

/* ICONO CON IMAGEN */
.afiliados-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c5cff, #4dd2ff);
  background: linear-gradient(135deg, var(--noodle-purple), var(--noodle-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.6);
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
  overflow: hidden;
  padding: 3px;
}

.afiliados-icon-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(0, 0, 0, 0.3);
}

.noodle-afiliados-card:hover .afiliados-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 30px rgba(77, 210, 255, 0.8);
}

.afiliados-content {
  flex: 1 1;
  z-index: 1;
}

.afiliados-title {
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  font-family: 'Rajdhani', sans-serif;
  margin: 0 0 6px 0;
  letter-spacing: 0.5px;
}

.afiliados-text {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

.afiliados-arrow {
  color: #4dd2ff;
  color: var(--noodle-cyan);
  flex-shrink: 0;
  transition: all 0.3s ease;
  z-index: 1;
  filter: drop-shadow(0 0 8px rgba(77, 210, 255, 0.5));
}

.noodle-afiliados-card:hover .afiliados-arrow {
  transform: translateX(8px);
  filter: drop-shadow(0 0 15px rgba(77, 210, 255, 1));
}

/* ============================================
   GRID DE PRODUCTOS - EVITAR DEFORMACIÓN
   ============================================ */
.noodle-productos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 28px;
  gap: 28px;
  margin-bottom: 60px;
  /* EVITAR COLAPSO AL HACER HOVER */
  min-height: -webkit-fit-content;
  min-height: fit-content;
}

/* ============================================
   CARD DE PRODUCTO - SIN DEFORMACIÓN
   ============================================ */
.landing-product-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  height: 440px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(25, 25, 25, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  /* IMPORTANTE: Mantener espacio en el grid */
  will-change: transform;
}

/* SE MUEVE HACIA ABAJO AL HOVER - SIN AFECTAR OTRAS CARDS */
.landing-product-card:hover {
  transform: translateY(10px);
  border-color: #d4af37;
  border-color: var(--noodle-gold);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(212, 175, 55, 0.4);
  z-index: 10;
}

/* BORDE LED ANIMADO ALREDEDOR - VISIBLE AL HOVER */
.landing-neon-border {
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  padding: 4px;
  background: linear-gradient(
    90deg, 
    #d4af37 0%, 
    #e50914 16.66%, 
    #7c5cff 33.33%, 
    #4dd2ff 50%, 
    #d4af37 66.66%,
    #e50914 83.33%,
    #d4af37 100%
  );
  background: linear-gradient(
    90deg, 
    var(--noodle-gold) 0%, 
    var(--noodle-red) 16.66%, 
    var(--noodle-purple) 33.33%, 
    var(--noodle-cyan) 50%, 
    var(--noodle-gold) 66.66%,
    var(--noodle-red) 83.33%,
    var(--noodle-gold) 100%
  );
  background-size: 600% 100%;
  animation: ledChaseAround 4s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  filter: blur(6px);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.landing-product-card:hover .landing-neon-border {
  opacity: 1;
}

@keyframes ledChaseAround {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 600% center;
  }
}

.landing-card-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

/* BADGES */
.landing-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

.landing-badge-codigo {
  background: rgba(0, 0, 0, 0.9);
  color: #d4af37;
  color: var(--noodle-gold);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.landing-badge-oferta {
  background: linear-gradient(135deg, #FF0000, #FF4444);
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: 0 3px 15px rgba(255, 0, 0, 0.6);
  animation: ofertaPulse 2s ease-in-out infinite;
}

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

/* IMAGEN */
.landing-image-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(20, 20, 30, 1), rgba(30, 30, 50, 1));
}

.landing-image-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  pointer-events: none;
}

.landing-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.landing-product-card:hover .landing-product-image {
  transform: scale(1.08);
}

/* LOGO VENDEDOR */
.landing-vendor-logo-container {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
}

.landing-vendor-logo-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #d4af37, #7c5cff);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-purple));
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
  transition: all 0.3s ease;
}

.landing-product-card:hover .landing-vendor-logo-wrapper {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.8);
}

.landing-vendor-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #000;
  display: block;
}

/* CONTENIDO */
.landing-product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1;
}

.landing-product-name {
  font-size: 15px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  font-family: 'Rajdhani', sans-serif;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
  height: 39px;
}

.landing-tipo-cuenta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* PRECIO */
.landing-price-container {
  margin: 8px 0;
  flex-shrink: 0;
}

.landing-price-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-price-old {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Rajdhani', sans-serif;
  text-decoration: line-through;
}

.landing-price-new {
  font-size: 22px;
  font-weight: 900;
  color: #d4af37;
  color: var(--noodle-gold);
  font-family: 'Rajdhani', sans-serif;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.5);
}

/* STOCK */
.landing-stock {
  margin-bottom: 8px;
  flex-shrink: 0;
}

.landing-stock-badge {
  font-size: 10px;
  color: #27ae60;
  color: var(--noodle-green);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* BOTÓN */
.landing-product-btn {
  width: 100%;
  background: linear-gradient(135deg, #E50914, #FF1F2E);
  border: none;
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: auto;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.landing-product-btn:hover::before {
  left: 100%;
}

.landing-product-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(229, 9, 20, 0.7);
}













/* ============================================
   VER TODOS LOS PRODUCTOS
   ============================================ */
.noodle-ver-todos-container {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.noodle-btn-ver-todos {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
  border: none;
  padding: 16px 48px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 900;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s ease;
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.noodle-btn-ver-todos::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.noodle-btn-ver-todos:hover::before {
  left: 100%;
}

.noodle-btn-ver-todos:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.6);
}

.noodle-btn-ver-todos:active {
  transform: translateY(-2px) scale(1.02);
}

/* ============================================
   FOOTER
   ============================================ */
.noodle-footer {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--noodle-bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--noodle-border-color);
  padding: 40px 24px;
  margin-top: 80px;
}

.noodle-footer-content {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.noodle-footer-text {
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.5px;
}

/* ============================================
   ANIMACIONES GLOBALES
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

/* ============================================
   SMOOTH SCROLL
   ============================================ */
html {
  scroll-behavior: smooth;
}

/* ============================================
   SELECCIÓN DE TEXTO
   ============================================ */
::selection {
  background-color: #d4af37;
  background-color: var(--noodle-gold);
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
}

::-moz-selection {
  background-color: #d4af37;
  background-color: var(--noodle-gold);
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
}

/* ============================================
   SCROLLBAR PERSONALIZADO
   ============================================ */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
  background: var(--noodle-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d4af37, #f0d574);
  background: linear-gradient(180deg, var(--noodle-gold), var(--noodle-gold-light));
  border-radius: 6px;
  border: 2px solid #0a0a0a;
  border: 2px solid var(--noodle-bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f0d574, #d4af37);
  background: linear-gradient(180deg, var(--noodle-gold-light), var(--noodle-gold));
}

/* ============================================
   PRELOAD / LOADING STATES
   ============================================ */
.noodle-landing.loading {
  overflow: hidden;
}

.noodle-landing.loading * {
  animation-play-state: paused;
}

/* ============================================
   ACCESIBILIDAD
   ============================================ */
.noodle-landing a:focus,
.noodle-landing button:focus {
  outline: 2px solid #d4af37;
  outline: 2px solid var(--noodle-gold);
  outline-offset: 2px;
}

.noodle-landing button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   TRANSICIONES SUAVES PARA TODO
   ============================================ */
.noodle-landing * {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   FIN DE LANDING.CSS - MODO PC
   ============================================ */
   /* ========== OVERLAY PARA CERRAR MENÚ ========== */
.noodle-menu-overlay {
  display: none;
}

@media (max-width: 768px) {
  .noodle-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
  }
}








/* ============================================
   MODAL BETA - ESTILO CYBERPUNK NEÓN
   ============================================ */
.beta-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: overlayFadeIn 0.4s ease-out;
}

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

.beta-modal-card {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  border-radius: 24px;
  padding: 50px 40px;
  max-width: 600px;
  width: 100%;
  position: relative;
  border: 2px solid transparent;
  animation: modalSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(212, 175, 55, 0.3);
}

@keyframes modalSlideUp {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Efecto de resplandor animado alrededor */
.beta-glow-effect {
  position: absolute;
  inset: -3px;
  border-radius: 24px;
  background: linear-gradient(
    90deg,
    #d4af37,
    #7c5cff,
    #4dd2ff,
    #e50914,
    #d4af37
  );
  background: linear-gradient(
    90deg,
    var(--noodle-gold),
    var(--noodle-purple),
    var(--noodle-cyan),
    var(--noodle-red),
    var(--noodle-gold)
  );
  background-size: 400% 100%;
  animation: borderGlow 4s linear infinite;
  z-index: -1;
  filter: blur(8px);
  opacity: 0.8;
}

@keyframes borderGlow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 400% center;
  }
}

/* Badge BETA arriba a la derecha */
.beta-badge {
  position: absolute;
  top: -15px;
  right: 40px;
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--noodle-red), var(--noodle-red-light));
  color: white;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  letter-spacing: 2px;
  box-shadow: 
    0 4px 20px rgba(229, 9, 20, 0.6),
    0 0 30px rgba(229, 9, 20, 0.4);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 
      0 4px 20px rgba(229, 9, 20, 0.6),
      0 0 30px rgba(229, 9, 20, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 
      0 6px 30px rgba(229, 9, 20, 0.8),
      0 0 40px rgba(229, 9, 20, 0.6);
  }
}

/* Contenido del modal */
.beta-content {
  text-align: center;
  margin-bottom: 35px;
}

.beta-title {
  font-size: 48px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  background: linear-gradient(135deg, #d4af37, #f0d574, #4dd2ff);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light), var(--noodle-cyan));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 20px 0;
  letter-spacing: 2px;
  animation: titleShimmer 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

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

.beta-description {
  font-size: 16px;
  line-height: 1.7;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  margin: 0 0 30px 0;
  letter-spacing: 0.3px;
}

.beta-description strong {
  color: #d4af37;
  color: var(--noodle-gold);
  font-weight: 700;
}

/* Features en chips */
.beta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 25px;
}

.beta-feature {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: default;
}

.beta-feature:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #d4af37;
  border-color: var(--noodle-gold);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Botón principal */
.beta-close-btn {
  width: 100%;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 900;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

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

.beta-close-btn:hover::before {
  left: 100%;
}

.beta-close-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.6);
}

.beta-close-btn:active {
  transform: translateY(-1px);
}

/* X para cerrar arriba a la derecha */
.beta-close-x {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.beta-close-x:hover {
  background: #e50914;
  background: var(--noodle-red);
  border-color: #e50914;
  border-color: var(--noodle-red);
  color: white;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.6);
}

.beta-close-x:active {
  transform: rotate(90deg) scale(0.95);
}

/* ============================================
   RESPONSIVE - MODAL MÓVIL
   ============================================ */
@media (max-width: 768px) {
  .beta-modal-card {
    padding: 40px 25px;
  }

  .beta-badge {
    top: -12px;
    right: 20px;
    padding: 6px 18px;
    font-size: 12px;
  }

  .beta-title {
    font-size: 36px;
  }

  .beta-description {
    font-size: 15px;
  }

  .beta-features {
    gap: 8px;
  }

  .beta-feature {
    font-size: 12px;
    padding: 8px 14px;
  }

  .beta-close-btn {
    font-size: 16px;
    padding: 14px 28px;
  }

  .beta-close-x {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .beta-modal-card {
    padding: 35px 20px;
  }

  .beta-title {
    font-size: 28px;
  }

  .beta-description {
    font-size: 14px;
  }
}
/* ============================================
   LANDING MOBILE - RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  
  /* ========== NAVBAR ========== */
  .noodle-navbar {
    padding: 10px 16px;
  }

  .noodle-navbar-wrapper {
    gap: 12px;
  }

  .noodle-logo-icon {
    width: 38px;
    height: 38px;
  }

  .noodle-logo-text {
    font-size: 18px;
    letter-spacing: 1.5px;
  }

  /* Ocultar menú desktop */
  .noodle-nav-menu {
    display: none;
  }

  /* Ocultar botón ingresar desktop */
  .noodle-btn-ingresar {
    display: none;
  }

  /* Mostrar botón hamburguesa */
  .noodle-menu-toggle {
    display: flex;
    background: transparent;
    border: 1px solid var(--noodle-border-color);
    color: var(--noodle-text-primary);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .noodle-menu-toggle:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: var(--noodle-gold);
  }

  /* Menú móvil */
  .noodle-mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--noodle-bg-secondary);
    border-left: 1px solid var(--noodle-border-color);
    padding: 20px;
    transition: right 0.4s ease;
    z-index: 1001;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.8);
  }

  .noodle-mobile-menu.open {
    right: 0;
  }

  .noodle-mobile-links {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
  }

  .noodle-mobile-links li {
    margin-bottom: 8px;
  }

  .noodle-mobile-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--noodle-text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .noodle-mobile-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--noodle-gold);
  }

  .noodle-mobile-links .icon {
    font-size: 20px;
  }

  .noodle-mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .noodle-mobile-btn {
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
  }

  .noodle-mobile-btn.login {
    background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
    color: var(--noodle-bg-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  }

  .noodle-mobile-btn.login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  }

  /* ========== HERO ========== */
  .noodle-hero {
    height: 400px;
  }

  .noodle-hero-content {
    padding: 0 20px;
    align-items: center;
    text-align: center;
  }

  .noodle-hero-subtitle {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .noodle-hero-title {
    font-size: 48px;
    letter-spacing: 2px;
    margin-bottom: 30px;
  }

  .noodle-hero-btn {
    padding: 14px 32px;
    font-size: 16px;
  }

  /* Ocultar controles del carrusel en móvil */
  .noodle-carousel-control {
    display: none;
  }

  /* Indicadores más pequeños */
  .noodle-carousel-dots {
    bottom: 20px;
    gap: 8px;
  }

  .noodle-dot {
    width: 8px;
    height: 8px;
  }

  .noodle-dot.active {
    width: 24px;
  }

  /* ========== CINTA DE LOGOS ========== */
  .noodle-brands {
    padding: 30px 0;
  }

  .noodle-brands-track {
    gap: 40px;
  }

  .noodle-brand-item {
    width: 80px;
    height: 40px;
  }

  /* ========== SECCIÓN FAVS ========== */
  .noodle-favs-section {
    padding: 60px 16px;
  }

  .noodle-favs-header {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 40px;
    gap: 30px;
  }

  .noodle-favs-title-wrapper {
    text-align: center;
  }

  .noodle-favs-title {
    font-size: 36px;
    letter-spacing: 2px;
    margin-bottom: 16px;
  }

  .noodle-title-underline {
    margin: 0 auto;
  }

  /* Banner mayoristas - Full width en móvil */
  .noodle-afiliados-card {
    flex: 1 1;
    width: 100%;
    padding: 18px 20px;
    gap: 16px;
  }

  .afiliados-icon {
    width: 55px;
    height: 55px;
  }

  .afiliados-title {
    font-size: 16px;
  }

  .afiliados-text {
    font-size: 12px;
  }

  .afiliados-arrow {
    display: none;
  }

  /* ========== GRID DE PRODUCTOS - 1 COLUMNA ========== */
  .noodle-productos-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 500px;
    margin: 0 auto 40px;
  }

  /* ========== CARDS MÁS GRANDES EN MÓVIL ========== */
  .landing-product-card {
    height: auto;
    min-height: 460px;
  }

  .landing-product-card:hover {
    transform: translateY(5px);
  }

  .landing-neon-border {
    inset: -3px;
  }

  .landing-badges {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .landing-badge-codigo {
    padding: 4px 8px;
    font-size: 10px;
  }

  .landing-badge-oferta {
    padding: 5px 10px;
    font-size: 11px;
  }

  .landing-image-container {
    height: 240px;
  }

  .landing-vendor-logo-container {
    top: 10px;
  }

  .landing-vendor-logo-wrapper {
    width: 50px;
    height: 50px;
  }

  .landing-product-info {
    padding: 16px;
    gap: 10px;
  }

  .landing-product-name {
    font-size: 16px;
    height: auto;
    min-height: 42px;
  }

  .landing-tipo-cuenta {
    font-size: 12px;
  }

  .landing-price-new {
    font-size: 24px;
  }

  .landing-stock-badge {
    font-size: 11px;
  }

  .landing-product-btn {
    font-size: 14px;
    padding: 13px;
  }

  /* ========== VER TODOS LOS PRODUCTOS ========== */
  .noodle-ver-todos-container {
    padding: 30px 0;
  }

  .noodle-btn-ver-todos {
    width: 90%;
    max-width: 400px;
    padding: 14px 32px;
    font-size: 16px;
    justify-content: center;
  }

  /* ========== FOOTER ========== */
  .noodle-footer {
    padding: 30px 20px;
    margin-top: 60px;
  }

  .noodle-footer-text {
    font-size: 12px;
    line-height: 1.6;
  }

  /* ========== LOADING ========== */
  .noodle-loading {
    padding: 60px 20px;
  }

  .noodle-spinner {
    width: 40px;
    height: 40px;
    border-width: 4px;
  }

  .noodle-loading p {
    font-size: 14px;
  }
}

/* ============================================
   MOBILE PEQUEÑO (menos de 400px)
   ============================================ */
@media (max-width: 400px) {
  
  .noodle-logo-text {
    font-size: 16px;
  }

  .noodle-hero {
    height: 350px;
  }

  .noodle-hero-title {
    font-size: 40px;
  }

  .noodle-hero-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .noodle-favs-title {
    font-size: 32px;
  }

  .noodle-afiliados-card {
    padding: 16px;
  }

  .afiliados-icon {
    width: 50px;
    height: 50px;
  }

  .afiliados-title {
    font-size: 15px;
  }

  .afiliados-text {
    font-size: 11px;
  }

  .landing-product-card {
    min-height: 440px;
  }

  .landing-image-container {
    height: 220px;
  }

  .landing-product-info {
    padding: 14px;
  }

  .landing-product-name {
    font-size: 15px;
  }

  .landing-price-new {
    font-size: 22px;
  }

  .noodle-btn-ver-todos {
    width: 95%;
    padding: 13px 28px;
    font-size: 15px;
  }
}

/* ============================================
   TABLET (769px - 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  
  .noodle-favs-header {
    gap: 30px;
  }

  .noodle-afiliados-card {
    flex: 0 0 340px;
  }

  .noodle-productos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .landing-product-card {
    height: 420px;
  }
}

/* ============================================
   ORIENTACIÓN LANDSCAPE EN MÓVIL
   ============================================ */
@media (max-width: 768px) and (orientation: landscape) {
  
  .noodle-hero {
    height: 300px;
  }

  .noodle-hero-title {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .noodle-hero-subtitle {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .noodle-hero-btn {
    padding: 10px 24px;
    font-size: 14px;
  }
}

/* ============================================
   FIN DE LANDING MOBILE CSS
   ============================================ */
/* ==========================================
   AFILIADOS.CSS - ESTILO NOODLESTORE
   ========================================== */

/* ============ IMPORTS ============ */

/* ============ VARIABLES ============ */
:root {
  --noodle-bg-primary: #0a0a0a;
  --noodle-bg-secondary: rgba(10, 10, 10, 0.98);
  --noodle-border-color: rgba(255, 255, 255, 0.12);
  --noodle-text-primary: #e9ecef;
  --noodle-text-secondary: #b7bcc4;
  --noodle-gold: #d4af37;
  --noodle-gold-light: #f0d574;
  --noodle-red: #e50914;
  --noodle-red-light: #ff1a25;
  --noodle-purple: #7c5cff;
  --noodle-cyan: #4dd2ff;
  --noodle-green: #27ae60;
}

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

.afiliados-page-v2 {
  position: relative;
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--noodle-bg-primary);
  color: #e9ecef;
  color: var(--noodle-text-primary);
  font-family: 'Rajdhani', sans-serif;
  overflow-x: hidden;
}

/* ============ PARTÍCULAS ANIMADAS ============ */
.afiliados-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #d4af37;
  background: var(--noodle-gold);
  border-radius: 50%;
  opacity: 0.6;
  animation: float-particle 15s infinite ease-in-out;
  box-shadow: 0 0 10px #d4af37;
  box-shadow: 0 0 10px var(--noodle-gold);
}

.particle-1 { top: 10%; left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle-2 { top: 20%; left: 80%; animation-delay: 1s; animation-duration: 15s; }
.particle-3 { top: 30%; left: 30%; animation-delay: 2s; animation-duration: 18s; }
.particle-4 { top: 40%; left: 60%; animation-delay: 3s; animation-duration: 14s; }
.particle-5 { top: 50%; left: 20%; animation-delay: 4s; animation-duration: 16s; }
.particle-6 { top: 60%; left: 70%; animation-delay: 5s; animation-duration: 13s; }
.particle-7 { top: 70%; left: 40%; animation-delay: 6s; animation-duration: 17s; }
.particle-8 { top: 80%; left: 90%; animation-delay: 7s; animation-duration: 15s; }
.particle-9 { top: 15%; left: 50%; animation-delay: 8s; animation-duration: 14s; }
.particle-10 { top: 25%; left: 15%; animation-delay: 9s; animation-duration: 16s; }
.particle-11 { top: 35%; left: 85%; animation-delay: 1.5s; animation-duration: 13s; }
.particle-12 { top: 45%; left: 45%; animation-delay: 2.5s; animation-duration: 18s; }
.particle-13 { top: 55%; left: 65%; animation-delay: 3.5s; animation-duration: 12s; }
.particle-14 { top: 65%; left: 25%; animation-delay: 4.5s; animation-duration: 17s; }
.particle-15 { top: 75%; left: 75%; animation-delay: 5.5s; animation-duration: 14s; }
.particle-16 { top: 85%; left: 35%; animation-delay: 6.5s; animation-duration: 16s; }
.particle-17 { top: 12%; left: 55%; animation-delay: 7.5s; animation-duration: 15s; }
.particle-18 { top: 22%; left: 95%; animation-delay: 8.5s; animation-duration: 13s; }
.particle-19 { top: 32%; left: 5%; animation-delay: 9.5s; animation-duration: 18s; }
.particle-20 { top: 42%; left: 48%; animation-delay: 10.5s; animation-duration: 14s; }

@keyframes float-particle {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(50px, -100px) scale(1.2);
    opacity: 0.6;
  }
  50% {
    transform: translate(-30px, -200px) scale(0.8);
    opacity: 0.4;
  }
  75% {
    transform: translate(70px, -150px) scale(1.1);
    opacity: 0.5;
  }
}

/* ============ HEADER FLOTANTE ============ */
.afiliados-header-v2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--noodle-bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--noodle-border-color);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.afiliados-btn-back {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 8px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-size: 15px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.afiliados-btn-back:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-5px);
  color: #d4af37;
  color: var(--noodle-gold);
  border-color: #d4af37;
  border-color: var(--noodle-gold);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.afiliados-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.afiliados-logo:hover {
  transform: scale(1.05);
}

.afiliados-logo span {
  font-family: 'Orbitron', monospace;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 2s ease-in-out infinite;
}

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

.afiliados-btn-cta-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  border: none;
  border-radius: 8px;
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
  font-size: 15px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.afiliados-btn-cta-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

/* ============ HERO SECTION ============ */
.afiliados-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  grid-gap: 60px;
  gap: 60px;
  min-height: 100vh;
  padding: calc(80px + 60px) 80px 60px;
  background: 
    radial-gradient(circle at 15% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(124, 92, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(77, 210, 255, 0.03) 0%, transparent 50%);
  overflow: hidden;
  z-index: 2;
}

.afiliados-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 8s ease-in-out infinite;
}

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

.afiliados-hero-content {
  position: relative;
  z-index: 3;
  animation: fadeInUp 0.8s ease-out;
}

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

.afiliados-badge-nuevo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50px;
  color: #d4af37;
  color: var(--noodle-gold);
  font-size: 13px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-transform: uppercase;
  animation: badgeFloat 3s ease-in-out infinite;
}

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

.afiliados-titulo-principal {
  font-size: clamp(2.5rem, 5vw, 80px);
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  line-height: 0.9;
  margin-bottom: 30px;
  letter-spacing: 3px;
  color: #e9ecef;
  color: var(--noodle-text-primary);
}

.afiliados-titulo-highlight {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 3s ease infinite;
}

.afiliados-titulo-gradient {
  background: linear-gradient(135deg, #FFD700, #FFA500, #FF6B35, #F7931E, #FFD700);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShine 3s linear infinite;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

@keyframes gradient-shift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(20deg); }
}

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

.afiliados-subtitulo {
  font-size: 20px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.7;
}

/* ============ CTA GROUP ============ */
.afiliados-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.afiliados-btn-principal {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  border: none;
  border-radius: 10px;
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
  font-size: 18px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.afiliados-btn-principal:hover::before {
  left: 100%;
}

.afiliados-btn-principal:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.6);
}

.afiliados-btn-video {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  font-size: 16px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.afiliados-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--noodle-red), var(--noodle-red-light));
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
  animation: pulse-play 2s ease-in-out infinite;
}

@keyframes pulse-play {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(229, 9, 20, 0);
  }
}

.afiliados-btn-video:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  border-color: #d4af37;
  border-color: var(--noodle-gold);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.afiliados-btn-video:hover .afiliados-play-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(229, 9, 20, 0.6);
}

/* ============ STATS MINI ============ */
.afiliados-stats-mini {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 16px;
  max-width: -webkit-fit-content;
  max-width: fit-content;
}

.afiliados-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.afiliados-stat-number {
  font-size: 32px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.afiliados-stat-label {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.afiliados-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  background: var(--noodle-border-color);
}

/* ============ CARD 3D VISUAL ============ */
.afiliados-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  animation: fadeInRight 0.8s ease-out 0.2s backwards;
}

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

.afiliados-card-3d {
  position: relative;
  width: 400px;
  height: 250px;
  transform-style: preserve-3d;
  animation: rotate-card 20s linear infinite;
}

@keyframes rotate-card {
  0% { transform: rotateY(0deg) rotateX(5deg); }
  50% { transform: rotateY(10deg) rotateX(-5deg); }
  100% { transform: rotateY(0deg) rotateX(5deg); }
}

.afiliados-card-front {
  width: 100%;
  height: 100%;
  padding: 28px;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(25, 25, 25, 0.98) 100%);
  border-radius: 20px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(212, 175, 55, 0.3);
  border: 2px solid #d4af37;
  border: 2px solid var(--noodle-gold);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.afiliados-card-front::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30%, -30%); }
}

.afiliados-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  color: #d4af37;
  color: var(--noodle-gold);
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.5);
  letter-spacing: 2px;
}

.afiliados-card-chip {
  width: 50px;
  height: 40px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  position: relative;
}

.afiliados-card-chip::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.afiliados-card-number {
  font-size: 22px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.2em;
  margin-top: 16px;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.afiliados-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ COMPARACIÓN DE PRECIOS ============ */
.afiliados-comparacion {
  position: relative;
  padding: 100px 80px;
  background-color: #0a0a0a;
  background-color: var(--noodle-bg-primary);
  z-index: 2;
}

.afiliados-section-header {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeInUp 0.6s ease-out;
}

.afiliados-section-titulo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: clamp(2rem, 4vw, 56px);
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.afiliados-section-desc {
  font-size: 18px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.afiliados-precio-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 40px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.afiliados-precio-card {
  position: relative;
  padding: 32px;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(25, 25, 25, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out;
}

.afiliados-precio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.afiliados-precio-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  text-transform: uppercase;
}

.afiliados-precio-icono {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 50%;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
}

.afiliados-precio-titulo {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  margin-bottom: 28px;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  letter-spacing: 0.5px;
}

.afiliados-precio-ejemplo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 12px;
  margin-bottom: 24px;
}

.afiliados-precio-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

.afiliados-precio-valor {
  font-size: 36px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  color: #e9ecef;
  color: var(--noodle-text-primary);
}

.afiliados-precio-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.afiliados-precio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
}

.afiliados-item-negativo {
  opacity: 0.5;
}

.afiliados-item-negativo::before {
  content: '×';
  font-size: 24px;
  color: #e50914;
  color: var(--noodle-red);
}

/* CARD VIP CON BORDE LED */
.afiliados-precio-afiliado {
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(25, 25, 25, 0.95) 100%);
  border: 2px solid transparent;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(212, 175, 55, 0.3);
  transform: scale(1.05);
  position: relative;
  overflow: hidden;
}

/* Borde LED animado */
.afiliados-precio-afiliado::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  padding: 4px;
  background: linear-gradient(
    90deg, 
    #d4af37 0%, 
    #e50914 16.66%, 
    #7c5cff 33.33%, 
    #4dd2ff 50%, 
    #d4af37 66.66%,
    #e50914 83.33%,
    #d4af37 100%
  );
  background: linear-gradient(
    90deg, 
    var(--noodle-gold) 0%, 
    var(--noodle-red) 16.66%, 
    var(--noodle-purple) 33.33%, 
    var(--noodle-cyan) 50%, 
    var(--noodle-gold) 66.66%,
    var(--noodle-red) 83.33%,
    var(--noodle-gold) 100%
  );
  background-size: 600% 100%;
  animation: ledChaseAround 4s linear infinite;
  z-index: -1;
  filter: blur(6px);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

@keyframes ledChaseAround {
  0% { background-position: 0% center; }
  100% { background-position: 600% center; }
}

.afiliados-precio-afiliado:hover {
  transform: scale(1.08) translateY(-10px);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.95),
    0 0 60px rgba(212, 175, 55, 0.5);
}

.afiliados-precio-badge-vip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  text-transform: uppercase;
}

.afiliados-precio-icono-vip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  border-radius: 50%;
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 35px rgba(212, 175, 55, 0.7);
  }
}

.afiliados-precio-titulo-vip {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

.afiliados-precio-ejemplo-vip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  margin-bottom: 24px;
}

.afiliados-precio-label-vip {
  font-size: 14px;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

.afiliados-precio-valor-vip {
  font-size: 42px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.afiliados-precio-ahorro {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(39, 174, 96, 0.2);
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  color: #27ae60;
  color: var(--noodle-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.afiliados-precio-lista-vip {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.afiliados-precio-item-vip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(212, 175, 55, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  transition: all 0.3s ease;
}

.afiliados-precio-item-vip:hover {
  background: rgba(212, 175, 55, 0.08);
  transform: translateX(5px);
  border-color: rgba(212, 175, 55, 0.3);
}

.afiliados-precio-item-vip svg {
  color: #27ae60;
  color: var(--noodle-green);
  flex-shrink: 0;
}

.afiliados-btn-unirse {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  margin-top: 24px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  border: none;
  border-radius: 10px;
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
  font-size: 16px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

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

.afiliados-btn-unirse:hover::before {
  left: 100%;
}

.afiliados-btn-unirse:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.6);
}

/* ============ BENEFICIOS ============ */
.afiliados-beneficios {
  position: relative;
  padding: 100px 80px;
  background-color: #0a0a0a;
  background-color: var(--noodle-bg-primary);
  z-index: 2;
}

.afiliados-beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 32px;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.afiliados-beneficio-card {
  position: relative;
  padding: 32px;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(25, 25, 25, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 16px;
  transition: all 0.4s ease;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
}

.afiliados-beneficio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #7c5cff, #4dd2ff);
  background: linear-gradient(90deg, var(--noodle-gold), var(--noodle-purple), var(--noodle-cyan));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.afiliados-beneficio-card:hover::before {
  transform: scaleX(1);
}

.afiliados-beneficio-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.98) 0%, rgba(30, 30, 30, 0.98) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  border-color: #d4af37;
  border-color: var(--noodle-gold);
}

.afiliados-beneficio-icono {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  border-radius: 12px;
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
}

.afiliados-beneficio-card:hover .afiliados-beneficio-icono {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
}

.afiliados-beneficio-titulo {
  font-size: 20px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  margin-bottom: 12px;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  letter-spacing: 0.5px;
}

.afiliados-beneficio-desc {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  line-height: 1.6;
}

/* ============ CTA FINAL ============ */
.afiliados-cta-final {
  position: relative;
  padding: 100px 80px;
  background: 
    radial-gradient(circle at 20% 40%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(124, 92, 255, 0.08) 0%, transparent 50%);
  text-align: center;
  z-index: 2;
}

.afiliados-cta-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease-out;
}

.afiliados-cta-titulo {
  font-size: clamp(2rem, 4vw, 48px);
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

.afiliados-cta-texto {
  font-size: 18px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  margin-bottom: 48px;
  line-height: 1.7;
}

.afiliados-contacto-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(25, 25, 25, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 20px;
  margin-bottom: 20px;
}

.afiliados-telefono {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  color: #e9ecef;
  color: var(--noodle-text-primary);
}

.afiliados-numero {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Orbitron', monospace;
}

.afiliados-btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 48px;
  background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

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

.afiliados-btn-whatsapp:hover::before {
  left: 100%;
}

.afiliados-btn-whatsapp:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.6);
}

.afiliados-cta-hint {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  margin-top: 16px;
}

/* ============ FOOTER ============ */
.afiliados-footer-v2 {
  padding: 40px 24px;
  text-align: center;
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--noodle-bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--noodle-border-color);
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.afiliados-footer-v2 p {
  margin: 0;
}

/* ============ MODAL DE VIDEO ============ */
.afiliados-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease-out;
}

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

.afiliados-video-container {
  position: relative;
  width: 90%;
  max-width: 1000px;
  background: #0a0a0a;
  background: var(--noodle-bg-primary);
  border: 2px solid #d4af37;
  border: 2px solid var(--noodle-gold);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.95),
    0 0 60px rgba(212, 175, 55, 0.4);
  animation: scaleIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.afiliados-video-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 50%;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  font-size: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.afiliados-video-close:hover {
  background: #e50914;
  background: var(--noodle-red);
  border-color: #e50914;
  border-color: var(--noodle-red);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.6);
}

.afiliados-video-player {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

.afiliados-video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.afiliados-video-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 50%;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.afiliados-video-btn:hover {
  background: #d4af37;
  background: var(--noodle-gold);
  border-color: #d4af37;
  border-color: var(--noodle-gold);
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .afiliados-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 120px 40px 60px;
  }
  
  .afiliados-hero-visual {
    order: -1;
  }
  
  .afiliados-card-3d {
    width: 350px;
    height: 220px;
  }
  
  .afiliados-subtitulo {
    margin: 0 auto 40px;
  }
  
  .afiliados-cta-group {
    justify-content: center;
  }
  
  .afiliados-stats-mini {
    margin: 0 auto;
  }
  
  .afiliados-comparacion,
  .afiliados-beneficios,
  .afiliados-cta-final {
    padding: 80px 40px;
  }
}

@media (max-width: 768px) {
  .afiliados-header-v2 {
    padding: 12px 16px;
  }
  
  .afiliados-logo span {
    display: none;
  }
  
  .afiliados-btn-back span,
  .afiliados-btn-cta-header span {
    display: none;
  }
  
  .afiliados-hero {
    padding: 100px 24px 40px;
  }
  
  .afiliados-card-3d {
    width: 300px;
    height: 190px;
  }
  
  .afiliados-cta-group {
    flex-direction: column;
  }
  
  .afiliados-btn-principal,
  .afiliados-btn-video {
    width: 100%;
    justify-content: center;
  }
  
  .afiliados-stats-mini {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  
  .afiliados-stat-divider {
    width: 60%;
    height: 1px;
  }
  
  .afiliados-comparacion,
  .afiliados-beneficios,
  .afiliados-cta-final {
    padding: 60px 24px;
  }
  
  .afiliados-precio-cards {
    grid-template-columns: 1fr;
  }
  
  .afiliados-precio-afiliado {
    transform: scale(1);
  }
  
  .afiliados-beneficios-grid {
    grid-template-columns: 1fr;
  }
  
  .afiliados-contacto-box {
    padding: 28px 20px;
  }
  
  .afiliados-telefono {
    flex-direction: column;
    text-align: center;
    font-size: 20px;
  }
  
  .afiliados-btn-whatsapp {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
  }
  
  .afiliados-video-container {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .afiliados-titulo-principal {
    font-size: 32px;
  }
  
  .afiliados-subtitulo {
    font-size: 16px;
  }
  
  .afiliados-card-3d {
    width: 280px;
    height: 180px;
  }
  
  .afiliados-section-titulo {
    font-size: 28px;
  }
  
  .afiliados-precio-valor,
  .afiliados-precio-valor-vip {
    font-size: 28px;
  }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
  background: var(--noodle-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d4af37, #f0d574);
  background: linear-gradient(180deg, var(--noodle-gold), var(--noodle-gold-light));
  border-radius: 6px;
  border: 2px solid #0a0a0a;
  border: 2px solid var(--noodle-bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f0d574, #d4af37);
  background: linear-gradient(180deg, var(--noodle-gold-light), var(--noodle-gold));
}

/* ============ SELECCIÓN ============ */
::selection {
  background-color: #d4af37;
  background-color: var(--noodle-gold);
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
}

::-moz-selection {
  background-color: #d4af37;
  background-color: var(--noodle-gold);
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
}

/* ============ ACCESIBILIDAD ============ */
.afiliados-page-v2 a:focus,
.afiliados-page-v2 button:focus {
  outline: 2px solid #d4af37;
  outline: 2px solid var(--noodle-gold);
  outline-offset: 2px;
}

/* ============ SMOOTH SCROLL ============ */
html {
  scroll-behavior: smooth;
}

/* ============ FIN ============ */

.soporte-page {
  min-height: 100vh;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
}

.soporte-header {
  background: rgba(10, 10, 10, 0.95);
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-volver {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.btn-volver:hover {
  background: rgba(255, 255, 255, 0.15);
}

.soporte-hero {
  text-align: center;
  padding: 60px 24px;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(52, 152, 219, 0.1));
}

.soporte-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-icon {
  font-size: 80px;
  margin-bottom: 24px;
  animation: float 3s ease-in-out infinite;
}

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

.soporte-hero-title {
  font-size: 40px;
  font-weight: bold;
  color: #e9ecef;
  margin-bottom: 16px;
  font-family: 'Rajdhani', sans-serif;
}

.gradient-text {
  background: linear-gradient(135deg, #9b59b6, #e74c3c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.soporte-hero-subtitle {
  font-size: 18px;
  color: #b7bcc4;
  font-family: 'Rajdhani', sans-serif;
}

.soporte-contacto {
  padding: 60px 24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.contacto-principal {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 32px;
  gap: 32px;
}

.contacto-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.info-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.info-item:hover {
  border-color: rgba(155, 89, 182, 0.5);
  box-shadow: 0 8px 24px rgba(155, 89, 182, 0.1);
}

.info-icon {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  flex-shrink: 0;
}

.info-icon.whatsapp {
  background: rgba(37, 211, 102, 0.2);
  color: #25d366;
}

.info-icon.email {
  background: rgba(102, 126, 234, 0.2);
  color: #667eea;
}

.info-icon.phone {
  background: rgba(52, 152, 219, 0.2);
  color: #3498db;
}

.info-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #e9ecef;
  margin-bottom: 8px;
  font-family: 'Rajdhani', sans-serif;
}

.info-numero {
  font-size: 16px;
  font-weight: 600;
  color: #9b59b6;
  margin-bottom: 4px;
  font-family: 'Rajdhani', sans-serif;
}

.info-descripcion {
  font-size: 13px;
  color: #b7bcc4;
  margin-bottom: 12px;
  font-family: 'Rajdhani', sans-serif;
}

.btn-contactar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #9b59b6, #667eea);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.btn-contactar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.4);
}

.soporte-formulario {
  padding: 60px 24px;
  background: rgba(155, 89, 182, 0.05);
}

.formulario-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(10, 10, 10, 0.95);
  border: 2px solid rgba(155, 89, 182, 0.3);
  border-radius: 16px;
  text-align: center;
}

.formulario-card h2 {
  font-size: 28px;
  font-weight: bold;
  color: #e9ecef;
  margin-bottom: 8px;
  font-family: 'Rajdhani', sans-serif;
}

.formulario-card p {
  font-size: 14px;
  color: #b7bcc4;
  margin-bottom: 32px;
}

.formulario-botones {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-whatsapp-grande,
.btn-email-grande {
  padding: 16px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  text-decoration: none;
  display: block;
}

.btn-whatsapp-grande {
  background: linear-gradient(135deg, #25d366, #20ba5c);
  color: #fff;
}

.btn-whatsapp-grande:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn-email-grande {
  background: linear-gradient(135deg, #667eea, #5568d3);
  color: #fff;
}

.btn-email-grande:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.texto-alternativa {
  font-size: 12px;
  color: #95a5a6;
  margin: 8px 0;
}

.soporte-info {
  padding: 60px 24px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.info-box {
  text-align: center;
  padding: 32px;
  background: rgba(155, 89, 182, 0.1);
  border: 1px solid rgba(155, 89, 182, 0.3);
  border-radius: 12px;
}

.info-numero-grande {
  font-size: 36px;
  font-weight: bold;
  color: #9b59b6;
  display: block;
  margin-bottom: 8px;
  font-family: 'Rajdhani', sans-serif;
}

.info-box p {
  font-size: 14px;
  color: #b7bcc4;
  font-family: 'Rajdhani', sans-serif;
}

.soporte-footer {
  text-align: center;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #95a5a6;
  font-size: 13px;
  font-family: 'Rajdhani', sans-serif;
}

@media (max-width: 768px) {
  .soporte-hero-title {
    font-size: 28px;
  }

  .formulario-card {
    padding: 24px;
  }

  .info-item {
    flex-direction: column;
    text-align: center;
  }
}

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

.login-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Rajdhani', sans-serif;
  position: relative;
}

/* BOTÓN VOLVER */
.login-back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.login-back-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #20ba5c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
  color: #fff;
  width: 32px;
  height: 32px;
}

.whatsapp-tooltip {
  position: absolute;
  bottom: -45px;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* TARJETA LOGIN */
.login-card {
  background: rgba(10, 10, 10, 0.95);
  border: 2px solid rgba(155, 89, 182, 0.3);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.5s ease;
}

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

/* HEADER */
.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.login-logo-image {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.login-logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  display: block;
}

.login-title {
  font-size: 28px;
  font-weight: bold;
  color: #e9ecef;
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: 14px;
  color: #b7bcc4;
}

/* FORMULARIO */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ERROR BOX */
.login-error-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.5);
  border-radius: 8px;
  animation: shake 0.5s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

.login-error-icon {
  font-size: 18px;
}

.login-error-text {
  color: #e74c3c;
  font-size: 13px;
  font-weight: 500;
}

/* INPUT GROUP */
.login-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-label {
  font-size: 13px;
  font-weight: 600;
  color: #b7bcc4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.login-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  color: #e9ecef;
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.login-input:focus {
  outline: none;
  border-color: rgba(155, 89, 182, 0.8);
  background: rgba(155, 89, 182, 0.1);
  box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.2);
}

.login-input::placeholder {
  color: #6b7280;
}

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

/* PASSWORD WRAPPER */
.login-password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.login-password-wrapper .login-input {
  padding-right: 44px;
}

.login-password-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #b7bcc4;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.login-password-toggle:hover {
  color: #9b59b6;
}

/* FORGOT PASSWORD */
.login-forgot-password {
  text-align: right;
}

.login-forgot-link {
  background: none;
  border: none;
  color: #9b59b6;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

.login-forgot-link:hover {
  color: #e74c3c;
}

/* BOTÓN LOGIN */
.login-button {
  background: linear-gradient(135deg, #9b59b6, #667eea);
  color: #fff;
  border: none;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.login-button:hover:not(.login-button-disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(155, 89, 182, 0.4);
}

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

.login-button-disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.login-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* FOOTER */
.login-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-footer-text {
  font-size: 13px;
  color: #b7bcc4;
  margin-bottom: 8px;
}

.login-link {
  color: #9b59b6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.login-link:hover {
  color: #e74c3c;
}

/* MODAL */
.login-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

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

.login-modal {
  background: rgba(10, 10, 10, 0.95);
  border: 2px solid rgba(155, 89, 182, 0.3);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  animation: slideUp 0.3s ease;
}

.login-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.login-modal-title {
  font-size: 22px;
  font-weight: bold;
  color: #e9ecef;
}

.login-modal-close {
  background: none;
  border: none;
  color: #b7bcc4;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.login-modal-close:hover {
  color: #e74c3c;
}

.login-modal-description {
  font-size: 13px;
  color: #b7bcc4;
  margin-bottom: 20px;
  line-height: 1.5;
}

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

.login-modal-actions {
  display: flex;
  gap: 12px;
}

.login-modal-cancel {
  flex: 1 1;
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.login-modal-cancel:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
}

.login-modal-cancel:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* SUCCESS */
.login-modal-success {
  text-align: center;
  padding: 32px 0;
}

.login-success-icon {
  font-size: 64px;
  margin-bottom: 16px;
  display: block;
  animation: bounce 0.6s ease;
}

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

.login-success-text {
  font-size: 14px;
  color: #27ae60;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .login-container {
    padding: 16px;
  }

  .login-back-button {
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    font-size: 12px;
  }

  .login-card {
    padding: 32px 24px;
  }

  .login-title {
    font-size: 24px;
  }

  .login-logo-image {
    width: 40px;
    height: 40px;
  }

  .login-logo-text {
    font-size: 20px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }

  .login-modal {
    padding: 24px;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: 24px;
    border-radius: 16px;
  }

  .login-button {
    padding: 12px 20px;
    font-size: 14px;
  }

  .login-back-button {
    padding: 8px 12px;
    font-size: 11px;
  }

  .login-logo {
    gap: 8px;
  }

  .login-logo-image {
    width: 36px;
    height: 36px;
  }

  .login-logo-text {
    font-size: 18px;
  }

  .login-title {
    font-size: 22px;
  }
}

/* ==========================================
   COMUNIDAD.CSS - VERSIÓN PREMIUM 2025
   ========================================== */

/* ============ IMPORTS ============ */

/* ============ VARIABLES ============ */
:root {
  --noodle-bg-primary: #0a0a0a;
  --noodle-bg-secondary: rgba(10, 10, 10, 0.98);
  --noodle-border-color: rgba(255, 255, 255, 0.12);
  --noodle-text-primary: #e9ecef;
  --noodle-text-secondary: #b7bcc4;
  --noodle-gold: #d4af37;
  --noodle-gold-light: #f0d574;
  --noodle-red: #e50914;
  --noodle-purple: #7c5cff;
  --noodle-cyan: #4dd2ff;
  --noodle-green: #27ae60;
  --telegram-blue: #0088cc;
  --whatsapp-green: #25d366;
}

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

.comunidad-page {
  position: relative;
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--noodle-bg-primary);
  color: #e9ecef;
  color: var(--noodle-text-primary);
  font-family: 'Rajdhani', sans-serif;
  overflow-x: hidden;
}

/* ============ PARTÍCULAS ANIMADAS ============ */
.comunidad-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #d4af37;
  background: var(--noodle-gold);
  border-radius: 50%;
  opacity: 0.6;
  animation: float-particle 15s infinite ease-in-out;
  box-shadow: 0 0 10px #d4af37;
  box-shadow: 0 0 10px var(--noodle-gold);
}

.particle-1 { top: 10%; left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle-2 { top: 20%; left: 80%; animation-delay: 1s; animation-duration: 15s; }
.particle-3 { top: 30%; left: 30%; animation-delay: 2s; animation-duration: 18s; }
.particle-4 { top: 40%; left: 60%; animation-delay: 3s; animation-duration: 14s; }
.particle-5 { top: 50%; left: 20%; animation-delay: 4s; animation-duration: 16s; }
.particle-6 { top: 60%; left: 70%; animation-delay: 5s; animation-duration: 13s; }
.particle-7 { top: 70%; left: 40%; animation-delay: 6s; animation-duration: 17s; }
.particle-8 { top: 80%; left: 90%; animation-delay: 7s; animation-duration: 15s; }
.particle-9 { top: 15%; left: 50%; animation-delay: 8s; animation-duration: 14s; }
.particle-10 { top: 25%; left: 15%; animation-delay: 9s; animation-duration: 16s; }
.particle-11 { top: 35%; left: 85%; animation-delay: 1.5s; animation-duration: 13s; }
.particle-12 { top: 45%; left: 45%; animation-delay: 2.5s; animation-duration: 18s; }
.particle-13 { top: 55%; left: 65%; animation-delay: 3.5s; animation-duration: 12s; }
.particle-14 { top: 65%; left: 25%; animation-delay: 4.5s; animation-duration: 17s; }
.particle-15 { top: 75%; left: 75%; animation-delay: 5.5s; animation-duration: 14s; }
.particle-16 { top: 85%; left: 35%; animation-delay: 6.5s; animation-duration: 16s; }
.particle-17 { top: 12%; left: 55%; animation-delay: 7.5s; animation-duration: 15s; }
.particle-18 { top: 22%; left: 95%; animation-delay: 8.5s; animation-duration: 13s; }
.particle-19 { top: 32%; left: 5%; animation-delay: 9.5s; animation-duration: 18s; }
.particle-20 { top: 42%; left: 48%; animation-delay: 10.5s; animation-duration: 14s; }
.particle-21 { top: 18%; left: 38%; animation-delay: 11s; animation-duration: 16s; }
.particle-22 { top: 28%; left: 68%; animation-delay: 12s; animation-duration: 14s; }
.particle-23 { top: 38%; left: 78%; animation-delay: 13s; animation-duration: 17s; }
.particle-24 { top: 48%; left: 12%; animation-delay: 14s; animation-duration: 15s; }
.particle-25 { top: 58%; left: 88%; animation-delay: 15s; animation-duration: 13s; }
.particle-26 { top: 68%; left: 52%; animation-delay: 16s; animation-duration: 18s; }
.particle-27 { top: 78%; left: 62%; animation-delay: 17s; animation-duration: 16s; }
.particle-28 { top: 8%; left: 72%; animation-delay: 18s; animation-duration: 14s; }
.particle-29 { top: 88%; left: 18%; animation-delay: 19s; animation-duration: 15s; }
.particle-30 { top: 92%; left: 42%; animation-delay: 20s; animation-duration: 17s; }

@keyframes float-particle {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(50px, -100px) scale(1.2);
    opacity: 0.6;
  }
  50% {
    transform: translate(-30px, -200px) scale(0.8);
    opacity: 0.4;
  }
  75% {
    transform: translate(70px, -150px) scale(1.1);
    opacity: 0.5;
  }
}

/* ============ ONDAS DE FONDO ============ */
.comunidad-waves {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.wave {
  position: absolute;
  width: 200%;
  height: 200%;
  opacity: 0.03;
  border-radius: 40%;
}

.wave-1 {
  background: radial-gradient(circle, #d4af37 0%, transparent 70%);
  background: radial-gradient(circle, var(--noodle-gold) 0%, transparent 70%);
  animation: wave-animation 20s infinite linear;
  top: -50%;
  left: -50%;
}

.wave-2 {
  background: radial-gradient(circle, #7c5cff 0%, transparent 70%);
  background: radial-gradient(circle, var(--noodle-purple) 0%, transparent 70%);
  animation: wave-animation 25s infinite linear reverse;
  top: -80%;
  left: -30%;
}

.wave-3 {
  background: radial-gradient(circle, #4dd2ff 0%, transparent 70%);
  background: radial-gradient(circle, var(--noodle-cyan) 0%, transparent 70%);
  animation: wave-animation 30s infinite linear;
  top: -60%;
  left: -70%;
}

@keyframes wave-animation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ============ HEADER FLOTANTE ============ */
.comunidad-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--noodle-bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--noodle-border-color);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.comunidad-btn-back {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 8px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-size: 15px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comunidad-btn-back:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-5px);
  color: #d4af37;
  color: var(--noodle-gold);
  border-color: #d4af37;
  border-color: var(--noodle-gold);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.comunidad-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comunidad-logo span {
  font-family: 'Orbitron', monospace;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 2s ease-in-out infinite;
}

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

/* Badge ONLINE */
.comunidad-live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  color: #27ae60;
  color: var(--noodle-green);
  letter-spacing: 1px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #27ae60;
  background: var(--noodle-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(39, 174, 96, 0);
  }
}

/* ============ HERO SECTION ============ */
.comunidad-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: calc(80px + 60px) 80px 60px;
  background: 
    radial-gradient(circle at 15% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(124, 92, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(77, 210, 255, 0.05) 0%, transparent 60%);
  overflow: hidden;
  z-index: 2;
  text-align: center;
}

.comunidad-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 8s ease-in-out infinite;
}

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

.comunidad-hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}

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

.comunidad-badge-nuevo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50px;
  color: #d4af37;
  color: var(--noodle-gold);
  font-size: 13px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  margin-bottom: 32px;
  text-transform: uppercase;
  animation: badgeFloat 3s ease-in-out infinite;
}

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

.comunidad-titulo-principal {
  font-size: clamp(2.5rem, 6vw, 90px);
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  line-height: 1;
  margin-bottom: 32px;
  letter-spacing: 2px;
  color: #e9ecef;
  color: var(--noodle-text-primary);
}

.comunidad-titulo-highlight {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.comunidad-titulo-gradient {
  background: linear-gradient(135deg, #FFD700, #FFA500, #FF6B35, #F7931E, #FFD700);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShine 3s linear infinite;
  filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
}

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

.comunidad-subtitulo {
  font-size: 20px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  margin-bottom: 60px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ STATS HERO MEJORADOS ============ */
.comunidad-stats-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(25, 25, 25, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.stat-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #7c5cff, #4dd2ff);
  background: linear-gradient(90deg, var(--noodle-gold), var(--noodle-purple), var(--noodle-cyan));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-hero-card:hover::before {
  transform: scaleX(1);
}

.stat-hero-card:hover {
  transform: translateY(-10px);
  border-color: #d4af37;
  border-color: var(--noodle-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.3);
}

.stat-hero-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  border-radius: 50%;
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
}

.stat-hero-card:hover .stat-hero-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
}

.stat-hero-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-hero-number {
  font-size: 36px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-hero-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-hero-glow {
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, #d4af37, #7c5cff, #4dd2ff);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-purple), var(--noodle-cyan));
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.4s ease;
  z-index: -1;
}

.stat-hero-card:hover .stat-hero-glow {
  opacity: 0.3;
}

/* ============ CARDS SECTION ============ */
.comunidad-cards-section {
  position: relative;
  padding: 100px 80px;
  background-color: #0a0a0a;
  background-color: var(--noodle-bg-primary);
  z-index: 2;
}

.comunidad-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  grid-gap: 40px;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ============ CARD PREMIUM ============ */
.comunidad-card {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(25, 25, 25, 0.95) 100%);
  border-radius: 24px;
  overflow: visible;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out;
}

.comunidad-card:hover {
  transform: translateY(-15px) scale(1.02);
}

/* BORDE LED ANIMADO */
.comunidad-card-led-border {
  position: absolute;
  inset: -3px;
  border-radius: 24px;
  padding: 3px;
  background: linear-gradient(
    90deg,
    #0088cc 0%,
    #0099dd 16.66%,
    #00aaff 33.33%,
    #0088cc 50%,
    #0099dd 66.66%,
    #00aaff 83.33%,
    #0088cc 100%
  );
  background: linear-gradient(
    90deg,
    var(--telegram-blue) 0%,
    #0099dd 16.66%,
    #00aaff 33.33%,
    var(--telegram-blue) 50%,
    #0099dd 66.66%,
    #00aaff 83.33%,
    var(--telegram-blue) 100%
  );
  background-size: 600% 100%;
  animation: ledChaseAround 4s linear infinite;
  z-index: -1;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.comunidad-card:hover .comunidad-card-led-border {
  opacity: 1;
}

@keyframes ledChaseAround {
  0% { background-position: 0% center; }
  100% { background-position: 600% center; }
}

.whatsapp-led {
  background: linear-gradient(
    90deg,
    #25d366 0%,
    #2edf74 16.66%,
    #1ec757 33.33%,
    #25d366 50%,
    #2edf74 66.66%,
    #1ec757 83.33%,
    #25d366 100%
  );
  background: linear-gradient(
    90deg,
    var(--whatsapp-green) 0%,
    #2edf74 16.66%,
    #1ec757 33.33%,
    var(--whatsapp-green) 50%,
    #2edf74 66.66%,
    #1ec757 83.33%,
    var(--whatsapp-green) 100%
  );
  background-size: 600% 100%;
}

/* EFECTO SHINE */
.comunidad-card-shine {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.comunidad-card:hover .comunidad-card-shine {
  opacity: 1;
  animation: shine-sweep 1.5s ease-in-out;
}

@keyframes shine-sweep {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.comunidad-card-content {
  padding: 40px 32px;
  position: relative;
  z-index: 1;
}

/* ============ CARD HEADER ============ */
.comunidad-card-header {
  text-align: center;
  margin-bottom: 32px;
}

.comunidad-card-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.icon-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.6;
  animation: icon-pulse 2s ease-in-out infinite;
}

.telegram-glow {
  background: #0088cc;
  background: var(--telegram-blue);
}

.whatsapp-glow {
  background: #25d366;
  background: var(--whatsapp-green);
}

@keyframes icon-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.comunidad-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.telegram-icon {
  background: linear-gradient(135deg, #0088cc, #0099dd);
  background: linear-gradient(135deg, var(--telegram-blue), #0099dd);
  color: white;
  box-shadow: 0 8px 30px rgba(0, 136, 204, 0.5);
}

.whatsapp-icon {
  background: linear-gradient(135deg, #25d366, #2edf74);
  background: linear-gradient(135deg, var(--whatsapp-green), #2edf74);
  color: white;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.comunidad-card:hover .comunidad-card-icon {
  transform: scale(1.15) rotate(10deg);
}

.comunidad-card:hover .telegram-icon {
  box-shadow: 0 12px 50px rgba(0, 136, 204, 0.7);
}

.comunidad-card:hover .whatsapp-icon {
  box-shadow: 0 12px 50px rgba(37, 211, 102, 0.7);
}

.comunidad-card-title {
  font-size: 32px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.comunidad-card-subtitle {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  line-height: 1.5;
}

/* ============ FEATURES DESTACADAS ============ */
.comunidad-features-destacadas {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.feature-destacada {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  color: #d4af37;
  color: var(--noodle-gold);
  transition: all 0.3s ease;
}

.feature-destacada:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.feature-destacada svg {
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.5));
}

/* ============ BENEFICIOS LISTA MEJORADA ============ */
.comunidad-beneficios-lista {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.beneficio-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.beneficio-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateX(8px);
}

.beneficio-icon-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  border-radius: 10px;
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

.beneficio-item:hover .beneficio-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.beneficio-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1;
}

.beneficio-titulo-mini {
  font-size: 15px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  letter-spacing: 0.3px;
}

.beneficio-desc-mini {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  line-height: 1.4;
}

/* ============ CARD STATS ============ */
.comunidad-card-stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 32px;
}

.card-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-stat svg {
  color: #d4af37;
  color: var(--noodle-gold);
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.5));
}

.stat-info-mini {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-number-mini {
  font-size: 18px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label-mini {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-separator {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* ============ BOTONES UNIRSE PREMIUM ============ */
.comunidad-btn-unirse {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 32px;
  border: none;
  border-radius: 14px;
  color: white;
  font-size: 17px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow: hidden;
}

.telegram-btn {
  background: linear-gradient(135deg, #0088cc, #0099dd);
  background: linear-gradient(135deg, var(--telegram-blue), #0099dd);
  box-shadow: 0 8px 30px rgba(0, 136, 204, 0.4);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #2edf74);
  background: linear-gradient(135deg, var(--whatsapp-green), #2edf74);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.comunidad-btn-unirse:hover .btn-shine {
  left: 100%;
}

.comunidad-btn-unirse:hover {
  transform: translateY(-4px);
}

.telegram-btn:hover {
  box-shadow: 0 12px 50px rgba(0, 136, 204, 0.6);
}

.whatsapp-btn:hover {
  box-shadow: 0 12px 50px rgba(37, 211, 102, 0.6);
}

/* ============ BADGES FLOTANTES ============ */
.comunidad-card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  border-radius: 50px;
  font-size: 11px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
  animation: badgeFloat 3s ease-in-out infinite;
}

.whatsapp-badge {
  background: linear-gradient(135deg, #FF6B00, #FF8C00);
}

/* Badge en línea */
.comunidad-members-online {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  color: #27ae60;
  color: var(--noodle-green);
}

.whatsapp-online {
  background: rgba(0, 136, 204, 0.15);
  border-color: rgba(0, 136, 204, 0.3);
  color: #0088cc;
  color: var(--telegram-blue);
}

.online-dot {
  width: 8px;
  height: 8px;
  background: #27ae60;
  background: var(--noodle-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.whatsapp-online .online-dot {
  background: #0088cc;
  background: var(--telegram-blue);
}

/* ============ BENEFICIOS SECTION ============ */
.comunidad-beneficios-section {
  position: relative;
  padding: 120px 80px;
  background: linear-gradient(180deg, #0a0a0a 0%, rgba(15, 15, 25, 1) 100%);
  background: linear-gradient(180deg, var(--noodle-bg-primary) 0%, rgba(15, 15, 25, 1) 100%);
  z-index: 2;
}

.beneficios-header {
  text-align: center;
  margin-bottom: 80px;
}

.header-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  border-radius: 50%;
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
  box-shadow: 0 8px 40px rgba(212, 175, 55, 0.5);
  animation: icon-pulse 2s ease-in-out infinite;
}

.beneficios-titulo {
  font-size: clamp(2.5rem, 5vw, 64px);
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

.beneficios-desc {
  font-size: 18px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 32px;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.beneficio-card {
  position: relative;
  padding: 36px 28px;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(25, 25, 25, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
}

.beneficio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #7c5cff, #4dd2ff);
  background: linear-gradient(90deg, var(--noodle-gold), var(--noodle-purple), var(--noodle-cyan));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.beneficio-card:hover::before {
  transform: scaleX(1);
}

.beneficio-card:hover {
  transform: translateY(-12px);
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.98) 0%, rgba(30, 30, 30, 0.98) 100%);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 50px rgba(212, 175, 55, 0.3);
  border-color: #d4af37;
  border-color: var(--noodle-gold);
}

.beneficio-card-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 48px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  color: rgba(212, 175, 55, 0.1);
  line-height: 1;
  transition: all 0.3s ease;
}

.beneficio-card:hover .beneficio-card-number {
  color: rgba(212, 175, 55, 0.2);
  transform: scale(1.1);
}

.beneficio-icono {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  border-radius: 14px;
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
  transition: all 0.4s ease;
}

.beneficio-card:hover .beneficio-icono {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.6);
}

.beneficio-titulo {
  font-size: 22px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  margin-bottom: 16px;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  letter-spacing: 0.5px;
}

.beneficio-texto {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 20px;
}

.beneficio-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  color: #d4af37;
  color: var(--noodle-gold);
}

.beneficio-badge svg {
  filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.5));
}

/* ============ TESTIMONIOS ============ */
.comunidad-testimonios {
  position: relative;
  padding: 100px 80px;
  background-color: #0a0a0a;
  background-color: var(--noodle-bg-primary);
  z-index: 2;
}

.testimonios-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonios-titulo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: clamp(2rem, 4vw, 56px);
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 32px;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonio-card {
  padding: 32px;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(25, 25, 25, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 20px;
  transition: all 0.4s ease;
  animation: fadeInUp 0.6s ease-out;
}

.testimonio-card:hover {
  transform: translateY(-10px);
  border-color: #d4af37;
  border-color: var(--noodle-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.2);
}

.testimonio-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: #d4af37;
  color: var(--noodle-gold);
}

.testimonio-texto {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonio-autor {
  display: flex;
  align-items: center;
  gap: 16px;
}

.autor-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  border-radius: 50%;
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
  font-size: 16px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.autor-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.autor-nombre {
  font-size: 15px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  color: #e9ecef;
  color: var(--noodle-text-primary);
}

.autor-tiempo {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

/* ============ CTA FINAL ÉPICO ============ */
.comunidad-cta-final {
  position: relative;
  padding: 120px 80px;
  background: 
    radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(124, 92, 255, 0.12) 0%, transparent 60%);
  text-align: center;
  z-index: 2;
  overflow: hidden;
}

.cta-glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 6s ease-in-out infinite;
  pointer-events: none;
}

.cta-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  animation: fadeInUp 0.6s ease-out;
}

.cta-icon {
  color: #d4af37;
  color: var(--noodle-gold);
  margin-bottom: 32px;
  filter: drop-shadow(0 6px 30px rgba(212, 175, 55, 0.6));
  animation: rocket-float 3s ease-in-out infinite;
}

@keyframes rocket-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.cta-titulo {
  font-size: clamp(2.5rem, 5vw, 64px);
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

.cta-texto {
  font-size: 19px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  margin-bottom: 48px;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 40px;
  border: none;
  border-radius: 16px;
  color: white;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  overflow: hidden;
  min-width: 280px;
}

.telegram-cta {
  background: linear-gradient(135deg, #0088cc, #0099dd);
  background: linear-gradient(135deg, var(--telegram-blue), #0099dd);
  box-shadow: 0 8px 35px rgba(0, 136, 204, 0.5);
}

.whatsapp-cta {
  background: linear-gradient(135deg, #25d366, #2edf74);
  background: linear-gradient(135deg, var(--whatsapp-green), #2edf74);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5);
}

.cta-btn-glow {
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.4s ease;
  z-index: -1;
}

.telegram-btn-glow {
  background: #0088cc;
  background: var(--telegram-blue);
}

.whatsapp-btn-glow {
  background: #25d366;
  background: var(--whatsapp-green);
}

.cta-btn:hover .cta-btn-glow {
  opacity: 0.6;
}

.cta-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.cta-btn-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cta-btn-subtitle {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
}

.cta-btn:hover {
  transform: translateY(-6px) scale(1.02);
}

.telegram-cta:hover {
  box-shadow: 0 15px 60px rgba(0, 136, 204, 0.7);
}

.whatsapp-cta:hover {
  box-shadow: 0 15px 60px rgba(37, 211, 102, 0.7);
}

.cta-garantia {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

.cta-garantia svg {
  color: #27ae60;
  color: var(--noodle-green);
}

/* ============ FOOTER ============ */
.comunidad-footer {
  padding: 60px 24px 40px;
  text-align: center;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(5, 5, 5, 1) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--noodle-border-color);
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo svg {
  color: #d4af37;
  color: var(--noodle-gold);
  filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.5));
}

.footer-logo span {
  font-family: 'Orbitron', monospace;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  margin-bottom: 24px;
}

.footer-copyright {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  opacity: 0.7;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .comunidad-hero,
  .comunidad-cards-section,
  .comunidad-beneficios-section,
  .comunidad-testimonios,
  .comunidad-cta-final {
    padding-left: 40px;
    padding-right: 40px;
  }

  .comunidad-cards-container {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .comunidad-header {
    padding: 12px 16px;
  }

  .comunidad-logo span {
    display: none;
  }

  .comunidad-live-badge span {
    display: none;
  }

  .comunidad-hero,
  .comunidad-cards-section,
  .comunidad-beneficios-section,
  .comunidad-testimonios,
  .comunidad-cta-final {
    padding-left: 24px;
    padding-right: 24px;
  }

  .comunidad-stats-hero {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-hero-card {
    padding: 24px 16px;
  }

  .comunidad-cards-container {
    grid-template-columns: 1fr;
  }

  .beneficios-grid,
  .testimonios-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
  }

  .comunidad-features-destacadas {
    flex-direction: column;
  }

  .feature-destacada {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .comunidad-titulo-principal {
    font-size: 32px;
  }

  .comunidad-subtitulo {
    font-size: 16px;
  }

  .comunidad-card-content {
    padding: 28px 20px;
  }

  .comunidad-card-title {
    font-size: 24px;
  }

  .stat-hero-number {
    font-size: 28px;
  }

  .beneficios-titulo,
  .testimonios-titulo,
  .cta-titulo {
    font-size: 28px;
  }

  .comunidad-card-icon {
    width: 70px;
    height: 70px;
  }

  .comunidad-card-icon svg {
    width: 32px;
    height: 32px;
  }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
  background: var(--noodle-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d4af37, #f0d574);
  background: linear-gradient(180deg, var(--noodle-gold), var(--noodle-gold-light));
  border-radius: 6px;
  border: 2px solid #0a0a0a;
  border: 2px solid var(--noodle-bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f0d574, #d4af37);
  background: linear-gradient(180deg, var(--noodle-gold-light), var(--noodle-gold));
}

/* ============ SELECCIÓN ============ */
::selection {
  background-color: #d4af37;
  background-color: var(--noodle-gold);
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
}

::-moz-selection {
  background-color: #d4af37;
  background-color: var(--noodle-gold);
  color: #0a0a0a;
  color: var(--noodle-bg-primary);
}

/* ============================================
   IMPORTS Y FONTS
   ============================================ */

/* ============================================
   VARIABLES
   ============================================ */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: rgba(10, 10, 10, 0.98);
  --border-color: rgba(255, 255, 255, 0.12);
  --text-primary: #e9ecef;
  --text-secondary: #b7bcc4;
  --accent-gold: #d4af37;
  --accent-red: #e50914;
  --accent-red-light: #ff1a25;
  --accent-purple: #7c5cff;
  --accent-cyan: #4dd2ff;
  --success-green: #27ae60;
}

/* ============================================
   RESET Y BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background-color: #0a0a0a;
  background-color: var(--bg-primary);
  color: #e9ecef;
  color: var(--text-primary);
  overflow-x: hidden;
}

/* ============================================
   CONTAINER
   ============================================ */
.dashboard-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--bg-primary);
}

/* ============================================
   NAVBAR
   ============================================ */
.dashboard-navbar {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 16px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.navbar-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.menu-button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  color: #e9ecef;
  color: var(--text-primary);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.menu-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--accent-gold);
}

/* ============================================
   LOGO CON ANIMACIÓN SHINE
   ============================================ */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-image-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #d4af37;
  border: 2px solid var(--accent-gold);
}

.logo-image-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%
  );
  animation: logoShine 3s ease-in-out infinite;
}

@keyframes logoShine {
  0%, 100% {
    transform: translate(-100%, -100%) rotate(45deg);
  }
  50% {
    transform: translate(100%, 100%) rotate(45deg);
  }
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--text-primary);
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--accent-gold), #f0d574);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  animation: textShine 2s ease-in-out infinite;
}

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

/* ============================================
   BÚSQUEDA
   ============================================ */
.search-container {
  flex: 1 1;
  min-width: 200px;
  max-width: 500px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #b7bcc4;
  color: var(--text-secondary);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 10px 10px 10px 40px;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  outline: none;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: #d4af37;
  border-color: var(--accent-gold);
  background-color: rgba(0, 0, 0, 0.5);
}

.search-input::placeholder {
  color: #b7bcc4;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* ============================================
   NAVBAR RIGHT (BOTONES)
   ============================================ */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.nav-button-text {
  display: inline;
}

.nav-button-text-hidden {
  display: inline;
}

.logout-button {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.logout-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

/* ============================================
   BANNER PROMOCIONAL AUTO-ROTACIÓN (1200x400)
   ============================================ */
.banner-promo-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 20px;
}

.banner-promo-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-promo-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.banner-promo-slide.active {
  opacity: 1;
  z-index: 1;
}

.banner-promo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Indicadores (dots) */
.banner-indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-dot.active {
  background: #d4af37;
  background: var(--accent-gold);
  width: 30px;
  border-radius: 6px;
}

.banner-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* ============================================
   CARRUSEL DE CATEGORÍAS CON LED
   ============================================ */
.carrusel-categorias-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto 20px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carrusel-flecha {
  background: rgba(10, 10, 10, 0.98);
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  color: #e9ecef;
  color: var(--text-primary);
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
}

.carrusel-flecha:hover:not(.disabled) {
  background: #d4af37;
  background: var(--accent-gold);
  color: #0a0a0a;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.carrusel-flecha.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carrusel-wrapper {
  flex: 1 1;
  overflow: hidden;
  border-radius: 12px;
}

.carrusel-track {
  display: flex;
  gap: 12px;
  transition: transform 0.5s ease;
}

.carrusel-item {
 flex: 0 0 90px;
  min-width: 0;
  cursor: pointer;
}

/* CARRUSEL IMAGEN CON ANIMACIÓN LED */
.carrusel-imagen {
  position: relative;
  width: 100%;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 3px;
  background: linear-gradient(90deg, #d4af37, #e50914, #7c5cff, #4dd2ff, #d4af37);
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-red), var(--accent-purple), var(--accent-cyan), var(--accent-gold));
  background-size: 400% 400%;
  animation: ledChaseCarrusel 3s linear infinite;
}

@keyframes ledChaseCarrusel {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 400% 50%;
  }
}

.carrusel-imagen:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5);
}

.carrusel-imagen.active {
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
  animation: ledChaseCarruselActive 2s linear infinite;
}

@keyframes ledChaseCarruselActive {
  0% {
    background-position: 0% 50%;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  }
  50% {
    background-position: 200% 50%;
    box-shadow: 0 0 40px rgba(229, 9, 20, 0.8);
  }
  100% {
    background-position: 400% 50%;
    box-shadow: 0 0 20px rgba(124, 92, 255, 0.6);
  }
}

.carrusel-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 9px;
 background-color: #0a0a0a;
 background-color: var(--bg-primary);
}

.carrusel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carrusel-contador {
  font-size: 14px;
  font-weight: 700;
  color: #d4af37;
  color: var(--accent-gold);
  font-family: 'Rajdhani', sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */
.main-layout {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 16px;
  gap: 24px;
  position: relative;
}

/* ============================================
   SIDEBAR
   ============================================ */
.dashboard-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: -webkit-sticky;
  position: sticky;
  top: 80px;
  height: calc(100vh - 100px);
  overflow-y: auto;
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0;
  transition: transform 0.3s ease;
}

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

.sidebar-header {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  margin: 0;
}

.sidebar-close {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--text-primary);
  cursor: pointer;
  display: none;
  padding: 4px;
}

.sidebar-content {
  padding: 16px;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

/* Scrollbar personalizado para sidebar */
.dashboard-sidebar::-webkit-scrollbar {
  width: 6px;
}

.dashboard-sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--accent-gold);
  border-radius: 3px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb:hover {
  background: #f0d574;
}

/* ============================================
   BADGE AFILIADO
   ============================================ */
.afiliado-badge {
  background: linear-gradient(135deg, #7c5cff, #4dd2ff);
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(124, 92, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(77, 210, 255, 0.7);
  }
}

/* ============================================
   CATEGORÍAS SIMPLIFICADAS (SIN ACORDEÓN)
   ============================================ */
.categorias-simple-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.categoria-simple-button {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.categoria-simple-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--accent-gold);
  transform: translateX(4px);
}

.categoria-simple-button.active {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
  border: none;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.categoria-simple-icono {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.categoria-icono-imagen {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
}

.categoria-icono-emoji {
  font-size: 18px;
}

.categoria-simple-texto {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.contador-categoria {
  font-size: 12px;
  font-weight: 600;
  color: #d4af37;
  color: var(--accent-gold);
  background-color: rgba(212, 175, 55, 0.15);
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: auto;
}

/* ============================================
   CONTENIDO PRINCIPAL
   ============================================ */
.main-content {
  flex: 1 1;
  min-width: 0;
}

.content-header {
  margin-bottom: 20px;
}

.content-title {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.productos-count {
  font-size: 18px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   LOADING Y EMPTY STATE
   ============================================ */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
}

.loading-text {
  margin-top: 12px;
  font-size: 16px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid #d4af37;
  border-top: 4px solid var(--accent-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
  padding: 40px 20px;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-title {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  margin: 0 0 8px 0;
}

.empty-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-family: 'Rajdhani', sans-serif;
  margin: 0;
}

.limpiar-todo-button {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
  border: none;
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 16px;
  transition: all 0.3s ease;
}

.limpiar-todo-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

/* ============================================
   GRID DE PRODUCTOS
   ============================================ */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

/* ============================================
   PAGINACIÓN
   ============================================ */
.paginacion {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.paginacion-button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.paginacion-button:hover:not(.disabled) {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.paginacion-button.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.paginacion-numero {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 40px;
  text-align: center;
}

.paginacion-numero:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.paginacion-numero.active {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.paginacion-dots {
  color: #b7bcc4;
  color: var(--text-secondary);
  padding: 0 8px;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================
   MODAL DE TEXTO
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

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

.modal-box {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

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

.modal-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal-titulo {
  font-size: 20px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  margin: 0;
}

.modal-close-button {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close-button:hover {
  color: #e50914;
  color: var(--accent-red);
  transform: scale(1.1) rotate(90deg);
}

.modal-body {
  padding: 20px;
}

.modal-texto {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.8;
  margin: 0;
  white-space: pre-wrap;
}

.modal-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

.modal-button-cerrar {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
  border: none;
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-button-cerrar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

/* Scrollbar para modal */
.modal-box::-webkit-scrollbar {
  width: 6px;
}

.modal-box::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.modal-box::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--accent-gold);
  border-radius: 3px;
}

.modal-box::-webkit-scrollbar-thumb:hover {
  background: #f0d574;
}

















/* ==========================================
   TARJETA DE PRODUCTO
   ============================================ */    
   /* ============================================
   PRODUCTOS - CARDS CON BORDE LED Y ANIMACIONES
   ============================================ */

/* GRID DE PRODUCTOS - 4 por fila, adaptable */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 32px;
}

/* Forzar 4 columnas en pantallas grandes */
@media (min-width: 1200px) {
  .productos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   TARJETA DE PRODUCTO
   ============================================ */
.product-card {
  position: relative;
  border-radius: 16px;
  overflow: visible;
  transition: transform 0.4s ease, z-index 0s;
  height: 475px;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  z-index: 10;
}

/* BORDE LED ANIMADO */
.neon-card-border {
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  padding: 3px;
  background: linear-gradient(90deg, #d4af37, #e50914, #7c5cff, #4dd2ff, #d4af37);
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-red), var(--accent-purple), var(--accent-cyan), var(--accent-gold));
  background-size: 400% 400%;
  animation: ledChaseCard 3s linear infinite;
  opacity: 0.8;
  z-index: 0;
}

@keyframes ledChaseCard {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 400% 50%;
  }
}

/* CONTENIDO INTERNO */
.card-inner-content {
  position: relative;
  z-index: 1;
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ============================================
   BADGES
   ============================================ */
.badges-container {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 10;
  pointer-events: none;
}

/* Código en esquina superior izquierda */
.badge-codigo {
  background: rgba(0, 0, 0, 0.85);
  color: #d4af37;
  color: var(--accent-gold);
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  border: 1px solid rgba(212, 175, 55, 0.3);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

/* Oferta con animación de pulso y brillo */
.badge-oferta {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  animation: badgeOfertaPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.6);
  position: relative;
  overflow: hidden;
}

@keyframes badgeOfertaPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.4);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.8);
  }
}

.badge-oferta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 70%
  );
  animation: badgeShine 2s linear infinite;
}

@keyframes badgeShine {
  0% {
    transform: translate(-100%, -100%) rotate(45deg);
  }
  100% {
    transform: translate(100%, 100%) rotate(45deg);
  }
}

.badge-agotado {
  background: rgba(183, 188, 196, 0.9);
  color: #0a0a0a;
  color: var(--bg-primary);
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

/* ============================================
   IMAGEN DEL PRODUCTO - SIN ZOOM
   ============================================ */
.product-image-container {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(30, 30, 30, 0.9));
}

.product-image {
    width: 100%;
    height: 100%;
    /* object-fit: contain; */
    /* padding: 10px; */
    transition
: none;
}
.product-image.no-stock {
  filter: grayscale(100%);
  opacity: 0.5;
}

/* LOGO VENDEDOR CON LED */
.vendor-logo-container {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
}

.vendor-logo-wrapper {
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(90deg, #d4af37, #e50914, #7c5cff, #4dd2ff, #d4af37);
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-red), var(--accent-purple), var(--accent-cyan), var(--accent-gold));
  background-size: 400% 400%;
  animation: ledChaseVendor 3s linear infinite;
}

@keyframes ledChaseVendor {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 400% 50%;
  }
}

.vendor-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0a0a0a;
  border: 2px solid var(--bg-primary);
  display: block;
}

/* ============================================
   CONTENIDO - 280PX RESTANTES
   ============================================ */
.product-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1;
  overflow: hidden;
}

/* NOMBRE - 2 líneas - 14PX */
.product-name {
  font-size: 14px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  margin: 0;
 
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.2;
  height: 34px;
}

/* VENDEDOR - 1 línea */
.product-vendor {
  font-size: 11px;
  color: #d4af37;
  color: var(--accent-gold);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
 
  text-overflow: ellipsis;
  height: 16px;
}

/* 🆕 TIPO DE CUENTA - EN LA MISMA LÍNEA QUE VENDEDOR */
.product-vendor {
  font-size: 11px;
  color: #d4af37;
  color: var(--accent-gold);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 18px;
}

.tipo-cuenta-badge {
  font-size: 9px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
 
 
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #4dd2ff;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}



/* DETALLES - 2 líneas máximo */
.detalles-expandibles {
  margin-bottom: 4px;
  height: 40px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.detalles-texto {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.3;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 29px;
  transition: all 0.3s ease;
}

/* Animación al pasar el mouse */
.detalles-expandibles:hover .detalles-texto {
  color: #4dd2ff;
  color: var(--accent-cyan);
  transform: translateX(2px);
}

/* Icono de "..." visible */
.detalles-texto::after {
  content: '...';
  position: absolute;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.98);
  background: var(--bg-secondary);
  padding-left: 8px;
}
.boton-expandir {
  background: transparent;
  border: 1px solid rgba(77, 210, 255, 0.3);
  color: #4dd2ff;
  color: var(--accent-cyan);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 2px;
}

.boton-expandir:hover {
  background: rgba(77, 210, 255, 0.15);
  border-color: #4dd2ff;
  border-color: var(--accent-cyan);
  transform: scale(1.05);
}

.boton-expandir:active {
  transform: scale(0.95);
}


.boton-expandir:hover {
  background: rgba(77, 210, 255, 0.15);
  border-color: #4dd2ff;
  border-color: var(--accent-cyan);
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(77, 210, 255, 0.3);
}

/* ICONOS DE INFORMACIÓN - CON ANIMACIONES */
.info-icons-container {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-bottom: 4px;
  height: 28px;
}

.info-button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  color: #e9ecef;
  color: var(--text-primary);
  font-size: 13px;
  padding: 4px 7px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.info-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.info-button:hover::before {
  width: 120%;
  height: 120%;
}

.info-button:hover {
  background: #d4af37;
  background: var(--accent-gold);
  color: #0a0a0a;
  border-color: #d4af37;
  border-color: var(--accent-gold);
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  animation: iconBounce 0.6s ease-in-out;
}

@keyframes iconBounce {
  0%, 100% {
    transform: scale(1.15) rotate(5deg);
  }
  50% {
    transform: scale(1.25) rotate(-5deg);
  }
}

.info-button:nth-child(1):hover {
  animation-delay: 0s;
}

.info-button:nth-child(2):hover {
  animation-delay: 0.1s;
}

.info-button:nth-child(3):hover {
  animation-delay: 0.2s;
}

/* PRECIO - COMPACTO */
.price-container {
  margin-bottom: 4px;
  flex-shrink: 0;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 6px;
  padding: 6px;
}

.price-main {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px;
}

.price-old {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-family: 'Rajdhani', sans-serif;
  text-decoration: line-through;
  opacity: 0.7;
}

.price-new {
  font-size: 20px;
  font-weight: 900;
  color: #d4af37;
  color: var(--accent-gold);
  font-family: 'Orbitron', monospace;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  animation: priceGlow 2s ease-in-out infinite;
}

@keyframes priceGlow {
  0%, 100% {
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  }
  50% {
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.7);
  }
}

.renovacion-container {
  display: flex;
  align-items: center;
  gap: 3px;
  padding-top: 3px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.renovacion-icon {
  font-size: 10px;
  animation: rotateIcon 2s linear infinite;
}

@keyframes rotateIcon {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.renovacion-text {
  font-size: 10px;
  color: #4dd2ff;
  color: var(--accent-cyan);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

/* STOCK - COMPACTO */
.stock-container {
  margin-bottom: 6px;
  flex-shrink: 0;
  text-align: center;
  height: 20px;
}

.stock-badge {
  font-size: 10px;
  color: #27ae60;
  color: var(--success-green);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid #27ae60;
  border: 1px solid var(--success-green);
}

.stock-badge.no {
  color: #ff4444;
  background: rgba(255, 68, 68, 0.15);
  border: 1px solid #ff4444;
}

/* BOTÓN "VER PRODUCTO" CON EFECTOS NEÓN */
.product-button {
  width: 100%;
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
  border: none;
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 900;
  padding: 9px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  margin-top: auto;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  height: 36px;
}

.product-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  animation: buttonSweep 3s linear infinite;
}

@keyframes buttonSweep {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.product-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    #d4af37, 
    #e50914, 
    #7c5cff, 
    #4dd2ff,
    #d4af37
  );
  background: linear-gradient(90deg, 
    var(--accent-gold), 
    var(--accent-red), 
    var(--accent-purple), 
    var(--accent-cyan),
    var(--accent-gold)
  );
  background-size: 400% 400%;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: neonBorder 3s linear infinite;
  z-index: -1;
  filter: blur(8px);
}

@keyframes neonBorder {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 400% 50%;
  }
}

.product-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(229, 9, 20, 0.6), 
              0 0 40px rgba(229, 9, 20, 0.4),
              inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.product-button:hover::after {
  opacity: 1;
}

.product-button:active {
  transform: translateY(-1px);
}

/* SIN STOCK */
.product-button.disabled {
  background: linear-gradient(135deg, #3a3a3a, #1a1a1a);
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.product-button.disabled:hover {
  transform: none;
  box-shadow: none;
}

.product-button.disabled::before,
.product-button.disabled::after {
  display: none;
}

/* ============================================
   PAGINACIÓN
   ============================================ */
.paginacion {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.paginacion-button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.paginacion-button:hover:not(.disabled) {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.paginacion-button.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.paginacion-numero {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 40px;
  text-align: center;
}

.paginacion-numero:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.paginacion-numero.active {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.paginacion-dots {
  color: #b7bcc4;
  color: var(--text-secondary);
  padding: 0 8px;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================
   MODAL DE TEXTO
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

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

.modal-box {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

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

.modal-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal-titulo {
  font-size: 20px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  margin: 0;
}

.modal-close-button {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close-button:hover {
  color: #e50914;
  color: var(--accent-red);
  transform: scale(1.1) rotate(90deg);
}

.modal-body {
  padding: 20px;
}

.modal-texto {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.8;
  margin: 0;
  white-space: pre-wrap;
}

.modal-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

.modal-button-cerrar {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
  border: none;
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-button-cerrar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

/* Scrollbar para modal */
.modal-box::-webkit-scrollbar {
  width: 6px;
}

.modal-box::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.modal-box::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--accent-gold);
  border-radius: 3px;
}

.modal-box::-webkit-scrollbar-thumb:hover {
  background: #f0d574;
}

/* ============================================
   BOTÓN ESPECIAL DE ENTREGA AUTOMÁTICA (⚡)
   (Colores dorado-rojo tipo dashboard)
   ============================================ */
.info-button-entrega {
  background: linear-gradient(135deg, 
    rgba(212, 175, 55, 0.15) 0%, 
    rgba(229, 9, 20, 0.15) 100%
  );
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #d4af37;
  color: var(--accent-gold);
  position: relative;
  overflow: hidden;
}

/* Efecto de brillo pulsante interno */
.info-button-entrega::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.3) 0%,
    rgba(229, 9, 20, 0.2) 50%,
    transparent 70%
  );
  animation: pulseGoldRed 2s ease-in-out infinite;
}

@keyframes pulseGoldRed {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* Hover - Gradiente dorado a rojo */
.info-button-entrega:hover {
  background: linear-gradient(135deg, 
    #d4af37 0%, 
    #e50914 100%
  );
  background: linear-gradient(135deg, 
    var(--accent-gold) 0%, 
    var(--accent-red) 100%
  );
  border-color: #d4af37;
  border-color: var(--accent-gold);
  color: white;
  box-shadow: 
    0 0 20px rgba(212, 175, 55, 0.6),
    0 0 40px rgba(255, 0, 13, 0.719);
  transform: scale(1.2) rotate(5deg);
}

/* Animación del icono ⚡ */
.info-button-entrega svg {
  filter: drop-shadow(0 0 4px rgba(216, 175, 38, 0.6));
  animation: iconZapGoldRed 1.5s ease-in-out infinite;
}

@keyframes iconZapGoldRed {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.6));
  }
  50% {
    transform: scale(1.15) rotate(-10deg);
    filter: drop-shadow(0 0 8px rgba(229, 9, 20, 0.8));
  }
}

/* Hover en el icono - Brilla más */
.info-button-entrega:hover svg {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
  transform: scale(1.1) rotate(-5deg);
  animation: none;
}

/* Texto de Entrega Inmediata al lado del stock */
.entrega-inmediata-text {
  font-size: 9px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  animation: textPulseGreen 2s ease-in-out infinite;
}

@keyframes textPulseGreen {
  0%, 100% {
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.3);
  }
  50% {
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  }
}

/* ============================================
   RESPONSIVE - MOBILE (COMPLETO Y OPTIMIZADO)
   ============================================ */
@media (max-width: 768px) {
  
  /* ========== NAVBAR ========== */
  .navbar-content {
    padding: 10px 12px;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .navbar-left {
    gap: 8px;
    flex: 1 1;
  }

  .menu-button {
    display: flex;
    padding: 6px;
  }

  .logo-image-wrapper {
    width: 32px;
    height: 32px;
  }

  .logo-text {
    font-size: 14px;
    letter-spacing: 1px;
  }

  /* OCULTAR BUSCADOR EN MÓVIL */
  .search-container {
    display: none;
  }

  .navbar-right {
    gap: 4px;
    flex-shrink: 0;
  }

  .nav-button {
    padding: 6px 8px;
    font-size: 12px;
  }

  .nav-button-text {
    display: none;
  }

  .nav-button-text-hidden {
    display: none;
  }

  .logout-button {
    padding: 6px 8px;
  }

  /* ========== BANNER ========== */
  .banner-promo-container {
    height: 180px;
    margin-bottom: 12px;
  }

  .banner-indicators {
    bottom: 8px;
    gap: 6px;
  }

  .banner-dot {
    width: 8px;
    height: 8px;
  }

  .banner-dot.active {
    width: 20px;
  }

  /* ========== CARRUSEL CATEGORÍAS ========== */
  .carrusel-categorias-container {
    padding: 0 40px;
    margin-bottom: 16px;
    gap: 10px;
  }

  .carrusel-flecha {
    padding: 6px;
    width: 32px;
    height: 32px;
  }

  .carrusel-wrapper {
    border-radius: 8px;
  }

  .carrusel-item {
    flex: 0 0 70px;
  }

  .carrusel-imagen {
    height: 70px;
    padding: 2px;
  }

  .carrusel-img {
    border-radius: 7px;
  }

  .carrusel-overlay {
    padding: 4px;
  }

  .carrusel-contador {
    font-size: 11px;
  }

  /* ========== LAYOUT PRINCIPAL ========== */
  .main-layout {
    padding: 12px 8px;
    gap: 0;
  }

  /* ========== SIDEBAR ========== */
  .dashboard-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    top: 0;
  }

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

  .sidebar-header {
    padding: 16px;
  }

  .sidebar-title {
    font-size: 16px;
  }

  .sidebar-close {
    display: flex;
  }

  .sidebar-content {
    padding: 12px;
  }

  .sidebar-overlay {
    display: block;
  }

  .afiliado-badge {
    padding: 8px 12px;
    font-size: 12px;
  }

  .categorias-simple-section {
    gap: 4px;
  }

  .categoria-simple-button {
    padding: 10px;
    font-size: 13px;
  }

  .categoria-icono-imagen {
    width: 18px;
    height: 18px;
  }

  .categoria-icono-emoji {
    font-size: 16px;
  }

  .contador-categoria {
    font-size: 11px;
    padding: 2px 6px;
  }

  /* ========== CONTENIDO PRINCIPAL ========== */
  .main-content {
    width: 100%;
  }

  .content-header {
    margin-bottom: 16px;
  }

  .content-title {
    font-size: 18px;
  }

  .productos-count {
    font-size: 14px;
  }

  /* ========== LOADING ========== */
  .loading-container {
    min-height: 300px;
    padding: 60px 20px;
  }

  .spinner {
    width: 35px;
    height: 35px;
    border-width: 3px;
  }

  .loading-text {
    font-size: 14px;
  }

  /* ========== EMPTY STATE ========== */
  .empty-state {
    padding: 60px 20px;
    border-radius: 12px;
  }

  .empty-icon {
    font-size: 50px;
  }

  .empty-title {
    font-size: 18px;
  }

  .empty-text {
    font-size: 14px;
  }

  .limpiar-todo-button {
    font-size: 13px;
    padding: 9px 18px;
  }

  /* ========== GRID DE PRODUCTOS - 1 COLUMNA ========== */
  .productos-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
  }

  /* ========== CARD - MÁS GRANDE Y CÓMODA ========== */
  .product-card {
    height: auto;
    min-height: 480px;
  }

  .neon-card-border {
    inset: -2px;
    padding: 2px;
  }

  .card-inner-content {
    border-radius: 14px;
  }

  .badges-container {
    top: 10px;
    left: 10px;
    right: 10px;
    gap: 6px;
  }

  .badge-codigo {
    padding: 4px 8px;
    font-size: 10px;
  }

  .badge-oferta {
    padding: 5px 10px;
    font-size: 11px;
  }

  .badge-agotado {
    padding: 4px 8px;
    font-size: 10px;
  }

  /* IMAGEN - MÁS GRANDE */
  .product-image-container {
    height: 200px;
  }

  /* LOGO VENDEDOR */
  .vendor-logo-container {
    top: 10px;
  }

  .vendor-logo-wrapper {
    width: 50px;
    height: 50px;
  }

  /* CONTENIDO - MÁS ESPACIADO */
  .product-content {
    padding: 14px;
    gap: 8px;
  }

  .product-name {
    font-size: 16px;
    height: auto;
    min-height: 38px;
    line-height: 1.3;
  }

  .product-vendor {
    font-size: 12px;
    height: auto;
  }

  .detalles-expandibles {
    height: auto;
    min-height: 50px;
    margin-bottom: 6px;
  }

  .detalles-texto {
    font-size: 13px;
    height: auto;
    line-height: 1.4;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .boton-expandir {
    padding: 4px 10px;
    font-size: 11px;
  }

  /* ICONOS - MÁS GRANDES */
  .info-icons-container {
    gap: 8px;
    margin-bottom: 8px;
    height: auto;
  }

  .info-button {
    font-size: 14px;
    padding: 8px 12px;
  }

  .info-button:hover {
    transform: scale(1.05);
  }

  /* PRECIO - MÁS GRANDE */
  .price-container {
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 8px;
  }

  .price-main {
    gap: 8px;
    margin-bottom: 6px;
  }

  .price-old {
    font-size: 13px;
  }

  .price-new {
    font-size: 24px;
  }

  .renovacion-container {
    gap: 4px;
    padding-top: 6px;
  }

  .renovacion-icon {
    font-size: 11px;
  }

  .renovacion-text {
    font-size: 11px;
  }

  /* STOCK */
  .stock-container {
    margin-bottom: 10px;
    height: auto;
  }

  .stock-badge {
    font-size: 12px;
    padding: 4px 10px;
    gap: 4px;
  }

  /* BOTÓN - MÁS GRANDE */
  .product-button {
    font-size: 14px;
    padding: 12px;
    height: auto;
    min-height: 42px;
    border-radius: 10px;
  }

  /* ========== PAGINACIÓN ========== */
  .paginacion {
    gap: 8px;
    margin-top: 24px;
    padding: 20px 0;
  }

  .paginacion-button {
    font-size: 14px;
    padding: 10px 16px;
  }

  .paginacion-numero {
    font-size: 14px;
    padding: 10px 14px;
    min-width: 40px;
  }

  .paginacion-dots {
    padding: 0 8px;
    font-size: 14px;
  }

  /* ========== MODAL ========== */
  .modal-overlay {
    padding: 16px;
  }

  .modal-box {
    max-width: 100%;
    border-radius: 12px;
  }

  .modal-header {
    padding: 18px;
  }

  .modal-titulo {
    font-size: 18px;
  }

  .modal-close-button {
    padding: 6px;
  }

  .modal-body {
    padding: 18px;
  }

  .modal-texto {
    font-size: 14px;
    line-height: 1.7;
  }

  .modal-footer {
    padding: 16px 18px;
  }

  .modal-button-cerrar {
    font-size: 14px;
    padding: 12px 24px;
    width: 100%;
  }
}

/* ============================================
   MOBILE PEQUEÑO (menos de 400px)
   ============================================ */
@media (max-width: 400px) {
  /* NAVBAR */
  .navbar-content {
    padding: 8px 10px;
  }

  .logo-image-wrapper {
    width: 28px;
    height: 28px;
  }

  .logo-text {
    font-size: 13px;
  }

  .nav-button {
    padding: 5px 6px;
  }

  .logout-button {
    padding: 5px 6px;
  }

  /* BANNER */
  .banner-promo-container {
    height: 150px;
  }

  /* CARRUSEL */
  .carrusel-categorias-container {
    padding: 0 35px;
    gap: 8px;
  }

  .carrusel-flecha {
    width: 30px;
    height: 30px;
    padding: 5px;
  }

  .carrusel-item {
    flex: 0 0 65px;
  }

  .carrusel-imagen {
    height: 65px;
  }

  .carrusel-contador {
    font-size: 10px;
  }

  /* CONTENIDO */
  .content-title {
    font-size: 16px;
  }

  .productos-count {
    font-size: 13px;
  }

  /* GRID */
  .productos-grid {
    gap: 14px;
  }

  /* CARD */
  .product-card {
    min-height: 450px;
  }

  .badges-container {
    top: 8px;
    left: 8px;
    right: 8px;
  }

  .product-image-container {
    height: 180px;
  }

  .vendor-logo-wrapper {
    width: 45px;
    height: 45px;
  }

  .product-content {
    padding: 12px;
    gap: 7px;
  }

  .product-name {
    font-size: 15px;
    min-height: 36px;
  }

  .product-vendor {
    font-size: 11px;
  }

  .detalles-expandibles {
    min-height: 45px;
  }

  .detalles-texto {
    font-size: 12px;
  }

  .boton-expandir {
    font-size: 10px;
  }

  .info-icons-container {
    gap: 6px;
  }

  .info-button {
    font-size: 13px;
    padding: 7px 10px;
  }

  .price-container {
    padding: 8px;
  }

  .price-new {
    font-size: 22px;
  }

  .stock-badge {
    font-size: 11px;
    padding: 3px 8px;
  }

  .product-button {
    font-size: 13px;
    padding: 11px;
    min-height: 40px;
  }

  /* PAGINACIÓN */
  .paginacion-button {
    font-size: 13px;
    padding: 9px 14px;
  }

  .paginacion-numero {
    font-size: 13px;
    padding: 9px 12px;
    min-width: 38px;
  }

  /* MODAL */
  .modal-titulo {
    font-size: 16px;
  }

  .modal-texto {
    font-size: 13px;
  }

  .modal-button-cerrar {
    font-size: 13px;
    padding: 11px 20px;
  }
}

/* ============================================
   TABLET (769px - 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .productos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .product-card {
    height: 450px;
  }
}
/* src/pages/cliente/ProductDetail.css */
/* PREFIJO: pd- (Product Detail) */

/* ============================================ */
/* IMPORTS */
/* ============================================ */

/* ============================================ */
/* VARIABLES */
/* ============================================ */
:root {
  --pd-bg-primary: #0a0a0a;
  --pd-bg-secondary: #1a1a1a;
  --pd-bg-card: rgba(20, 20, 20, 0.95);
  --pd-gold: #d4af37;
  --pd-gold-light: #f0d574;
  --pd-gold-dark: #b8941f;
  --pd-text-primary: #e9ecef;
  --pd-text-secondary: #b7bcc4;
  --pd-border: rgba(255, 255, 255, 0.12);
  --pd-success: #27ae60;
  --pd-danger: #e74c3c;
  --pd-info: #3498db;
  --pd-warning: #f39c12;
}

/* ============================================ */
/* RESET & BASE */
/* ============================================ */
.pd-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%);
  background: linear-gradient(135deg, var(--pd-bg-primary) 0%, #0f0f0f 100%);
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* HEADER */
/* ============================================ */
.pd-header {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 0.95));
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--pd-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  animation: pd-slideDown 0.5s ease-out;
}

.pd-header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.pd-back-button-header {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--pd-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pd-border);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.pd-back-button-header:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.pd-header-center {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
  justify-content: center;
}

.pd-header-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
  animation: pd-float 3s ease-in-out infinite;
}

.pd-logo {
  font-size: 24px;
  font-weight: 900;
  margin: 0;
  font-family: 'Orbitron', monospace;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--pd-gold), var(--pd-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.pd-wallet-button {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--pd-gold), var(--pd-gold-light));
  color: #0a0a0a;
  color: var(--pd-bg-primary);
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.pd-wallet-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

/* ============================================ */
/* MAIN CONTENT */
/* ============================================ */
.pd-main {
  padding: 40px 24px;
}

.pd-main-content {
  max-width: 1400px;
  margin: 0 auto;
}

.pd-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px;
  gap: 40px;
  animation: pd-fadeIn 0.6s ease-out;
}

/* ============================================ */
/* IMAGE SECTION */
/* ============================================ */
.pd-image-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pd-badges-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pd-code-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--pd-text-primary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pd-border);
  font-family: 'Orbitron', monospace;
}

.pd-offer-badge {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
  animation: pd-pulse 2s ease-in-out infinite;
}

.pd-no-stock-badge {
  background: linear-gradient(135deg, #7f8c8d, #95a5a6);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.pd-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(20, 20, 20, 0.95);
  background: var(--pd-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pd-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.pd-product-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.pd-product-image:hover {
  transform: scale(1.05);
}

.pd-product-image-no-stock {
  filter: grayscale(100%) opacity(0.5);
}

/* ============================================ */
/* VENDOR CARD */
/* ============================================ */
.pd-vendor-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--pd-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pd-border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.pd-vendor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.2);
}

.pd-vendor-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pd-vendor-icon {
  color: #d4af37;
  color: var(--pd-gold);
}

.pd-vendor-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--pd-text-secondary);
  font-weight: 500;
}

.pd-vendor-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pd-vendor-logo-container {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #d4af37;
  border: 2px solid var(--pd-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.pd-vendor-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-vendor-name {
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--pd-text-primary);
  margin: 0;
}

/* ============================================ */
/* INFO SECTION */
/* ============================================ */
.pd-info-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pd-afiliado-badge {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--pd-gold), var(--pd-gold-light));
  color: #0a0a0a;
  color: var(--pd-bg-primary);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  width: -webkit-fit-content;
  width: fit-content;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  animation: pd-shimmer 3s ease-in-out infinite;
}

.pd-product-name {
  font-size: 36px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--pd-text-primary);
  margin: 0;
  line-height: 1.2;
  font-family: 'Rajdhani', sans-serif;
}

.pd-product-details {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--pd-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ============================================ */
/* PRICE SECTION */
/* ============================================ */
.pd-price-section {
  background: rgba(20, 20, 20, 0.95);
  background: var(--pd-bg-card);
  border: 2px solid #d4af37;
  border: 2px solid var(--pd-gold);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.2);
}

.pd-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pd-price-old {
  font-size: 24px;
  color: #b7bcc4;
  color: var(--pd-text-secondary);
  text-decoration: line-through;
  font-weight: 500;
}

.pd-price-new {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--pd-gold), var(--pd-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Orbitron', monospace;
}

.pd-price-unit {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--pd-text-secondary);
  font-weight: 500;
}

.pd-renovacion-badge {
  margin-top: 12px;
  background: rgba(52, 152, 219, 0.2);
  border: 1px solid #3498db;
  border: 1px solid var(--pd-info);
  color: #3498db;
  color: var(--pd-info);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

/* ============================================ */
/* STOCK SECTION */
/* ============================================ */
.pd-stock-section {
  padding: 12px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pd-border);
}

.pd-stock-text-yes {
  color: #27ae60;
  color: var(--pd-success);
  font-weight: 600;
  font-size: 16px;
}

.pd-stock-text-no {
  color: #e74c3c;
  color: var(--pd-danger);
  font-weight: 600;
  font-size: 16px;
}

/* ============================================ */
/* QUANTITY SECTION */
/* ============================================ */
.pd-quantity-section {
  background: rgba(20, 20, 20, 0.95);
  background: var(--pd-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pd-border);
  border-radius: 12px;
  padding: 20px;
}

.pd-quantity-label {
  font-size: 16px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--pd-text-primary);
  margin-bottom: 12px;
  display: block;
}

.pd-quantity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pd-quantity-button {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--pd-gold), var(--pd-gold-light));
  color: #0a0a0a;
  color: var(--pd-bg-primary);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-weight: 700;
}

.pd-quantity-button:hover:not(:disabled) {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
}

.pd-quantity-button:disabled {
  background: #4b5563;
  cursor: not-allowed;
  opacity: 0.5;
}

.pd-quantity-input {
  width: 80px;
  height: 44px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--pd-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pd-border);
  border-radius: 10px;
  font-family: 'Orbitron', monospace;
}

.pd-quantity-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--pd-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.pd-quantity-hint {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--pd-text-secondary);
  margin-top: 8px;
  display: block;
}

/* ============================================ */
/* SUMMARY CARD */
/* ============================================ */
.pd-summary-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--pd-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pd-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.pd-summary-title {
  font-size: 20px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--pd-text-primary);
  margin: 0 0 16px 0;
}

.pd-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pd-summary-row:last-child {
  border-bottom: none;
}

.pd-summary-label {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--pd-text-secondary);
  font-weight: 500;
}

.pd-summary-value {
  font-size: 15px;
  color: #e9ecef;
  color: var(--pd-text-primary);
  font-weight: 600;
}

.pd-summary-label-discount {
  font-size: 15px;
  color: #27ae60;
  color: var(--pd-success);
  font-weight: 600;
}

.pd-summary-value-discount {
  font-size: 15px;
  color: #27ae60;
  color: var(--pd-success);
  font-weight: 700;
}

.pd-summary-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  background: linear-gradient(90deg, transparent, var(--pd-gold), transparent);
  margin: 16px 0;
}

.pd-summary-label-total {
  font-size: 18px;
  color: #e9ecef;
  color: var(--pd-text-primary);
  font-weight: 700;
}

.pd-summary-value-total {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--pd-gold), var(--pd-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Orbitron', monospace;
}

/* ============================================ */
/* WALLET CARD */
/* ============================================ */
.pd-wallet-card {
  border-radius: 16px;
  padding: 24px;
  border: 2px solid;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.pd-wallet-card-success {
  background: rgba(39, 174, 96, 0.1);
  border-color: #27ae60;
  border-color: var(--pd-success);
}

.pd-wallet-card-error {
  background: rgba(231, 76, 60, 0.1);
  border-color: #e74c3c;
  border-color: var(--pd-danger);
}

.pd-wallet-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.pd-wallet-card-label {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--pd-text-secondary);
  font-weight: 500;
}

.pd-wallet-card-value {
  font-size: 16px;
  color: #e9ecef;
  color: var(--pd-text-primary);
  font-weight: 600;
  font-family: 'Orbitron', monospace;
}

.pd-wallet-card-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 12px 0;
}

.pd-wallet-card-label-bold {
  font-size: 18px;
  color: #e9ecef;
  color: var(--pd-text-primary);
  font-weight: 700;
}

.pd-wallet-card-value-bold {
  font-size: 24px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
}

.pd-wallet-card-warning {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid #e74c3c;
  border: 1px solid var(--pd-danger);
  border-radius: 8px;
  color: #e74c3c;
  color: var(--pd-danger);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* ============================================ */
/* ERROR MESSAGE */
/* ============================================ */
.pd-error-message {
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid #e74c3c;
  border: 1px solid var(--pd-danger);
  color: #e74c3c;
  color: var(--pd-danger);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  animation: pd-shake 0.5s ease-in-out;
}

/* ============================================ */
/* INFO BUTTONS */
/* ============================================ */
.pd-info-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 12px;
  gap: 12px;
}

.pd-info-button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pd-border);
  color: #e9ecef;
  color: var(--pd-text-primary);
  padding: 16px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
}

.pd-info-button:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  border-color: var(--pd-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.pd-info-button-icon {
  color: #d4af37;
  color: var(--pd-gold);
}

.pd-info-button-text {
  font-size: 14px;
  font-weight: 600;
}

/* ============================================ */
/* BUY BUTTON */
/* ============================================ */
.pd-buy-button {
  width: 100%;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--pd-gold), var(--pd-gold-light));
  color: #0a0a0a;
  color: var(--pd-bg-primary);
  border: none;
  padding: 18px 24px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
}

.pd-buy-button:hover:not(.pd-buy-button-disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.7);
}

.pd-buy-button-disabled {
  background: #4b5563;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.pd-info-note {
  text-align: center;
  font-size: 14px;
  color: #b7bcc4;
  color: var(--pd-text-secondary);
  margin: 0;
  font-style: italic;
}

.pd-warning-note {
  text-align: center;
  font-size: 14px;
  color: #f39c12;
  color: var(--pd-warning);
  margin: 0;
  font-weight: 600;
  background: rgba(243, 156, 18, 0.1);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #f39c12;
  border: 1px solid var(--pd-warning);
}

/* ============================================ */
/* MODAL INFO */
/* ============================================ */
.pd-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: pd-fadeIn 0.3s ease-out;
}

.pd-modal-content {
  background: rgba(20, 20, 20, 0.95);
  background: var(--pd-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pd-border);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  animation: pd-scaleIn 0.3s ease-out;
}

.pd-modal-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--pd-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pd-modal-titulo {
  font-size: 22px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--pd-text-primary);
  margin: 0;
}

.pd-modal-close {
  background: none;
  border: none;
  color: #b7bcc4;
  color: var(--pd-text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.pd-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--pd-text-primary);
}

.pd-modal-body {
  padding: 24px;
  max-height: 400px;
  overflow-y: auto;
}

.pd-modal-texto {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--pd-text-secondary);
  line-height: 1.8;
  margin: 0;
}

.pd-modal-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--pd-border);
  display: flex;
  justify-content: flex-end;
}

.pd-modal-button-cerrar {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--pd-gold), var(--pd-gold-light));
  color: #0a0a0a;
  color: var(--pd-bg-primary);
  border: none;
  padding: 12px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.pd-modal-button-cerrar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
}

/* ============================================ */
/* MODAL SUCCESS */
/* ============================================ */
.pd-modal-overlay-success {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: pd-fadeIn 0.4s ease-out;
}

.pd-modal-content-success {
  background: rgba(20, 20, 20, 0.95);
  background: var(--pd-bg-card);
  border: 2px solid #27ae60;
  border: 2px solid var(--pd-success);
  border-radius: 20px;
  max-width: 550px;
  width: 100%;
  padding: 40px 32px;
  box-shadow: 0 30px 80px rgba(39, 174, 96, 0.4);
  animation: pd-bounceIn 0.6s ease-out;
  position: relative;
}

.pd-modal-close-success {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #b7bcc4;
  color: var(--pd-text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.pd-modal-close-success:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--pd-text-primary);
}

.pd-success-icon-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.pd-success-icon {
  color: #27ae60;
  color: var(--pd-success);
  animation: pd-checkmark 0.8s ease-out;
}

.pd-success-title {
  font-size: 28px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--pd-text-primary);
  text-align: center;
  margin: 0 0 24px 0;
}

.pd-success-details {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pd-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.pd-success-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.pd-success-label {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--pd-text-secondary);
  font-weight: 500;
}

.pd-success-value {
  font-size: 16px;
  color: #e9ecef;
  color: var(--pd-text-primary);
  font-weight: 700;
}

.pd-success-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #27ae60, transparent);
  background: linear-gradient(90deg, transparent, var(--pd-success), transparent);
  margin: 12px 0;
}

.pd-success-label-bold {
  font-size: 17px;
  color: #e9ecef;
  color: var(--pd-text-primary);
  font-weight: 700;
}

.pd-success-value-bold {
  font-size: 22px;
  font-weight: 900;
  color: #27ae60;
  color: var(--pd-success);
  font-family: 'Orbitron', monospace;
}

.pd-success-message {
  text-align: center;
  font-size: 15px;
  color: #b7bcc4;
  color: var(--pd-text-secondary);
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.pd-success-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.pd-success-button-primary {
  flex: 1 1;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--pd-gold), var(--pd-gold-light));
  color: #0a0a0a;
  color: var(--pd-bg-primary);
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.pd-success-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.pd-success-button-secondary {
  flex: 1 1;
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--pd-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pd-border);
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.pd-success-button-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #d4af37;
  border-color: var(--pd-gold);
}

.pd-success-auto-redirect {
  text-align: center;
  font-size: 13px;
  color: #b7bcc4;
  color: var(--pd-text-secondary);
  margin: 0;
  font-style: italic;
}

/* ============================================ */
/* LOADING */
/* ============================================ */
.pd-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 20px;
}

.pd-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.1);
  border-top: 6px solid #d4af37;
  border-top: 6px solid var(--pd-gold);
  border-radius: 50%;
  animation: pd-spin 1s linear infinite;
}

.pd-loading-text {
  font-size: 18px;
  color: #b7bcc4;
  color: var(--pd-text-secondary);
  font-weight: 600;
}

/* ============================================ */
/* ERROR CONTAINER */
/* ============================================ */
.pd-error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  text-align: center;
}

.pd-error-icon {
  font-size: 80px;
  margin-bottom: 24px;
}

.pd-error-title {
  font-size: 28px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--pd-text-primary);
  margin: 0 0 20px 0;
}

.pd-back-button {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--pd-gold), var(--pd-gold-light));
  color: #0a0a0a;
  color: var(--pd-bg-primary);
  border: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.pd-back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* ============================================ */
/* SCROLLBAR */
/* ============================================ */
.pd-modal-body::-webkit-scrollbar {
  width: 8px;
}

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

.pd-modal-body::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--pd-gold);
  border-radius: 10px;
}

.pd-modal-body::-webkit-scrollbar-thumb:hover {
  background: #f0d574;
  background: var(--pd-gold-light);
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */
@keyframes pd-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

@keyframes pd-bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes pd-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pd-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes pd-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

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

@keyframes pd-shimmer {
  0% { box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6); }
  100% { box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4); }
}

@keyframes pd-checkmark {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

/* ============================================ */
/* RESPONSIVE - TABLETS */
/* ============================================ */
@media (max-width: 1024px) {
  .pd-product-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pd-product-name {
    font-size: 30px;
  }

  .pd-price-new {
    font-size: 40px;
  }
}

/* ============================================ */
/* RESPONSIVE - MOBILE */
/* ============================================ */
@media (max-width: 768px) {
  .pd-header-content {
    flex-wrap: wrap;
    gap: 12px;
  }

  .pd-logo {
    font-size: 18px;
  }

  .pd-wallet-button {
    font-size: 14px;
    padding: 10px 16px;
  }

  .pd-product-name {
    font-size: 24px;
  }

  .pd-price-new {
    font-size: 32px;
  }

  .pd-info-buttons {
    grid-template-columns: 1fr;
  }

  .pd-success-buttons {
    flex-direction: column;
  }

  .pd-modal-content-success {
    padding: 32px 24px;
  }
}



/* 🆕 VENDOR CARD CON CATEGORÍA EN FILA */
.pd-vendor-row {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.pd-vendor-info-left,
.pd-vendor-info-right {
  flex: 1 1;
  min-width: 0;
}

.pd-vendor-separator {
  font-size: 20px;
  color: var(--border-color);
  font-weight: 300;
}

.pd-vendor-content {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.pd-vendor-logo-container-small {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-gold);
  flex-shrink: 0;
}

.pd-vendor-logo-small {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-vendor-name-small {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-gold);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pd-categoria-icon-container {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--accent-cyan);
  flex-shrink: 0;
}

.pd-categoria-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-categoria-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-cyan);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}



/* ============================================
   INDICADOR DE ENTREGA INMEDIATA
   ============================================ */
.pd-entrega-inmediata-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  animation: textPulseGreen 2s ease-in-out infinite;
}

.pd-entrega-inmediata-text svg {
  animation: iconZapBounce 1.5s ease-in-out infinite;
}

@keyframes textPulseGreen {
  0%, 100% {
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.3);
  }
  50% {
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  }
}

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


/* ============================================
   MIS PEDIDOS - DARK MODE PROFESSIONAL
   Solo modo PC - Estilo Noodle Store
   ============================================ */

/* ============================================
   VARIABLES
   ============================================ */
:root {
  --cmpx-bg-primary: #0a0a0a;
  --cmpx-bg-secondary: rgba(10, 10, 10, 0.98);
  --cmpx-border-color: rgba(255, 255, 255, 0.12);
  --cmpx-text-primary: #e9ecef;
  --cmpx-text-secondary: #b7bcc4;
  --cmpx-accent-gold: #d4af37;
  --cmpx-accent-red: #e50914;
  --cmpx-accent-red-light: #ff1a25;
  --cmpx-accent-purple: #7c5cff;
  --cmpx-accent-cyan: #4dd2ff;
  --cmpx-success-green: #27ae60;
  --cmpx-warning-orange: #f39c12;
}

/* ============================================
   CONTAINER
   ============================================ */
.cmpx-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--cmpx-bg-primary);
  font-family: 'Rajdhani', sans-serif;
  position: relative;
  overflow-x: hidden;
}

.cmpx-container::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(229, 9, 20, 0.03) 0%, transparent 50%);
  pointer-events: none;
  animation: cmpx-particles 20s ease-in-out infinite;
  z-index: 0;
}

@keyframes cmpx-particles {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

/* ============================================
   NAVBAR
   ============================================ */
.cmpx-navbar {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--cmpx-bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--cmpx-border-color);
  padding: 12px 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.cmpx-navbar-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo con animación */
.cmpx-navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cmpx-navbar-logo:hover {
  transform: translateY(-2px);
}

.cmpx-logo-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #d4af37;
  border: 2px solid var(--cmpx-accent-gold);
}

.cmpx-logo-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%
  );
  animation: cmpx-logoShine 3s ease-in-out infinite;
}

@keyframes cmpx-logoShine {
  0%, 100% { transform: translate(-100%, -100%) rotate(45deg); }
  50% { transform: translate(100%, 100%) rotate(45deg); }
}

.cmpx-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cmpx-logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cmpx-accent-gold), #f0d574);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1.5px;
  animation: cmpx-textShine 2s ease-in-out infinite;
}

@keyframes cmpx-textShine {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

/* Navegación derecha */
.cmpx-navbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cmpx-nav-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cmpx-border-color);
  border-radius: 8px;
  color: #e9ecef;
  color: var(--cmpx-text-primary);
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cmpx-nav-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--cmpx-accent-gold);
  transform: translateY(-2px);
}

.cmpx-nav-button.active {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--cmpx-accent-red), var(--cmpx-accent-red-light));
  border: none;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.cmpx-nav-button.logout {
  background: transparent;
  border-color: #e50914;
  border-color: var(--cmpx-accent-red);
  color: #e50914;
  color: var(--cmpx-accent-red);
  padding: 10px;
}

.cmpx-nav-button.logout:hover {
  background: #e50914;
  background: var(--cmpx-accent-red);
  color: white;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

/* Wallet display */
.cmpx-wallet-display {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
  border: 2px solid #d4af37;
  border: 2px solid var(--cmpx-accent-gold);
  border-radius: 10px;
  color: #d4af37;
  color: var(--cmpx-accent-gold);
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  animation: cmpx-wallet-pulse 2s ease-in-out infinite;
}

@keyframes cmpx-wallet-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }
  50% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.5); }
}

.cmpx-wallet-saldo {
  font-size: 16px;
  letter-spacing: 0.5px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.cmpx-main {
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.cmpx-main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   TÍTULO
   ============================================ */
.cmpx-title-section {
  text-align: center;
  margin-bottom: 40px;
  animation: cmpx-fade-in 0.6s ease-out;
}

@keyframes cmpx-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cmpx-title-icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cmpx-accent-gold), #f0d574);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  color: var(--cmpx-bg-primary);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.5);
  animation: cmpx-icon-float 3s ease-in-out infinite;
}

@keyframes cmpx-icon-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

.cmpx-title {
  font-family: 'Orbitron', monospace;
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cmpx-accent-gold), #f0d574);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 12px 0;
  letter-spacing: 2px;
  animation: cmpx-textShine 2s ease-in-out infinite;
}

.cmpx-subtitle {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
  font-weight: 500;
}

/* ============================================
   ESTADÍSTICAS CON BORDE LED
   ============================================ */
.cmpx-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 32px;
  animation: cmpx-fade-in 0.8s ease-out 0.2s both;
}

.cmpx-stat-card-wrapper {
  position: relative;
  border-radius: 16px;
  padding: 3px;
}

.cmpx-stat-led-border {
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  background: linear-gradient(90deg, #d4af37, #e50914, #7c5cff, #4dd2ff, #d4af37);
  background: linear-gradient(90deg, var(--cmpx-accent-gold), var(--cmpx-accent-red), var(--cmpx-accent-purple), var(--cmpx-accent-cyan), var(--cmpx-accent-gold));
  background-size: 400% 400%;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: cmpx-ledChase 3s linear infinite;
  z-index: 0;
}

@keyframes cmpx-ledChase {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

.cmpx-stat-card-wrapper:hover .cmpx-stat-led-border {
  opacity: 0.8;
}

.cmpx-stat-card {
  position: relative;
  background: rgba(10, 10, 10, 0.98);
  background: var(--cmpx-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cmpx-border-color);
  border-radius: 13px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1;
  transition: all 0.3s ease;
}

.cmpx-stat-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.cmpx-stat-icon {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.cmpx-stat-card:hover .cmpx-stat-icon {
  transform: scale(1.1) rotate(5deg);
}

.cmpx-stat-icon-total {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cmpx-accent-gold), #f0d574);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.cmpx-stat-icon-pendiente {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  background: linear-gradient(135deg, var(--cmpx-warning-orange), #e67e22);
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.cmpx-stat-icon-proceso {
  background: linear-gradient(135deg, #4dd2ff, #2196f3);
  background: linear-gradient(135deg, var(--cmpx-accent-cyan), #2196f3);
  box-shadow: 0 4px 15px rgba(77, 210, 255, 0.4);
}

.cmpx-stat-icon-entregado {
  background: linear-gradient(135deg, #27ae60, #1e8449);
  background: linear-gradient(135deg, var(--cmpx-success-green), #1e8449);
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.cmpx-stat-info {
  flex: 1 1;
}

.cmpx-stat-label {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.cmpx-stat-value {
  font-size: 32px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  color: #e9ecef;
  color: var(--cmpx-text-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ============================================
   FILTROS Y BÚSQUEDA
   ============================================ */
.cmpx-filters-section {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cmpx-search-box {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.cmpx-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
  pointer-events: none;
}

.cmpx-search-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--cmpx-border-color);
  border-radius: 12px;
  color: #e9ecef;
  color: var(--cmpx-text-primary);
  font-size: 15px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cmpx-search-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--cmpx-accent-gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.cmpx-search-input::placeholder {
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
  opacity: 0.6;
}

.cmpx-filter-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cmpx-filter-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--cmpx-border-color);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--cmpx-text-primary);
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cmpx-filter-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--cmpx-accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cmpx-filter-button-active {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--cmpx-accent-red), var(--cmpx-accent-red-light));
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.5);
}

.cmpx-filter-button-active:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.7);
}

/* ============================================
   GRID DE PEDIDOS
   ============================================ */
.cmpx-pedidos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

/* ============================================
   TARJETA DE PEDIDO CON BORDE LED
   ============================================ */
.cmpx-pedido-card-wrapper {
  position: relative;
  border-radius: 16px;
  padding: 3px;
  animation: cmpx-card-entry 0.6s ease-out;
}

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

.cmpx-pedido-led-border {
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  background: linear-gradient(90deg, #d4af37, #e50914, #7c5cff, #4dd2ff, #d4af37);
  background: linear-gradient(90deg, var(--cmpx-accent-gold), var(--cmpx-accent-red), var(--cmpx-accent-purple), var(--cmpx-accent-cyan), var(--cmpx-accent-gold));
  background-size: 400% 400%;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: cmpx-ledChase 3s linear infinite;
  z-index: 0;
}

.cmpx-pedido-card-wrapper:hover .cmpx-pedido-led-border {
  opacity: 0.8;
}

.cmpx-pedido-card {
  position: relative;
  background: rgba(10, 10, 10, 0.98);
  background: var(--cmpx-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cmpx-border-color);
  border-radius: 13px;
  padding: 24px;
  z-index: 1;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cmpx-pedido-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* Header del pedido */
.cmpx-pedido-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--cmpx-border-color);
}

.cmpx-pedido-codigo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
  font-family: 'Orbitron', monospace;
  text-transform: uppercase;
}

.cmpx-pedido-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cmpx-badge-pendiente {
  background: rgba(243, 156, 18, 0.15);
  border: 2px solid #f39c12;
  border: 2px solid var(--cmpx-warning-orange);
  color: #f39c12;
  color: var(--cmpx-warning-orange);
}

.cmpx-badge-proceso {
  background: rgba(77, 210, 255, 0.15);
  border: 2px solid #4dd2ff;
  border: 2px solid var(--cmpx-accent-cyan);
  color: #4dd2ff;
  color: var(--cmpx-accent-cyan);
}

.cmpx-badge-entregado,
.cmpx-badge-completado {
  background: rgba(39, 174, 96, 0.15);
  border: 2px solid #27ae60;
  border: 2px solid var(--cmpx-success-green);
  color: #27ae60;
  color: var(--cmpx-success-green);
}

.cmpx-badge-cancelado {
  background: rgba(229, 9, 20, 0.15);
  border: 2px solid #e50914;
  border: 2px solid var(--cmpx-accent-red);
  color: #e50914;
  color: var(--cmpx-accent-red);
}

/* Timeline */
.cmpx-pedido-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.cmpx-timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1 1;
  position: relative;
}

.cmpx-timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--cmpx-border-color);
  transition: all 0.3s ease;
}

.cmpx-timeline-item.cmpx-timeline-active .cmpx-timeline-dot {
  background: #d4af37;
  background: var(--cmpx-accent-gold);
  border-color: #d4af37;
  border-color: var(--cmpx-accent-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.cmpx-timeline-label {
  font-size: 10px;
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
}

.cmpx-timeline-item.cmpx-timeline-active .cmpx-timeline-label {
  color: #d4af37;
  color: var(--cmpx-accent-gold);
}

.cmpx-timeline-line {
  flex: 1 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  background: var(--cmpx-border-color);
  margin: 0 8px;
}

/* Contenido del pedido */
.cmpx-pedido-content {
  display: flex;
  gap: 16px;
}

.cmpx-pedido-imagen-container {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--cmpx-border-color);
}

.cmpx-pedido-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cmpx-pedido-info {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cmpx-pedido-nombre {
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--cmpx-text-primary);
  margin: 0;
  line-height: 1.3;
}

.cmpx-pedido-codigo-producto {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #d4af37;
  color: var(--cmpx-accent-gold);
  font-weight: 600;
  font-family: 'Orbitron', monospace;
}

.cmpx-pedido-vendedor {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
  font-weight: 500;
}

.cmpx-pedido-detalles {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.cmpx-pedido-detalle-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
}

.cmpx-precio {
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  color: #d4af37;
  color: var(--cmpx-accent-gold);
}

.cmpx-pedido-fecha {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
}

.cmpx-pedido-renovacion-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(77, 210, 255, 0.1);
  border: 1px solid #4dd2ff;
  border: 1px solid var(--cmpx-accent-cyan);
  border-radius: 6px;
  font-size: 11px;
  color: #4dd2ff;
  color: var(--cmpx-accent-cyan);
  font-weight: 600;
  width: -webkit-fit-content;
  width: fit-content;
}

/* Mensajes de estado */
.cmpx-pedido-mensaje-estado {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid #27ae60;
  border: 1px solid var(--cmpx-success-green);
  border-radius: 8px;
  font-size: 13px;
  color: #27ae60;
  color: var(--cmpx-success-green);
  font-weight: 600;
}

.cmpx-mensaje-cancelado {
  background: rgba(229, 9, 20, 0.1);
  border-color: #e50914;
  border-color: var(--cmpx-accent-red);
  color: #e50914;
  color: var(--cmpx-accent-red);
}

/* Acciones */
.cmpx-pedido-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--cmpx-border-color);
}

.cmpx-btn-ver,
.cmpx-btn-chat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.cmpx-btn-ver {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cmpx-accent-gold), #f0d574);
  color: #0a0a0a;
  color: var(--cmpx-bg-primary);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.cmpx-btn-ver:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.cmpx-btn-chat {
  background: transparent;
  color: #e9ecef;
  color: var(--cmpx-text-primary);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--cmpx-border-color);
}

.cmpx-btn-chat:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #4dd2ff;
  border-color: var(--cmpx-accent-cyan);
  transform: translateY(-2px);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.cmpx-empty-state {
  text-align: center;
  padding: 80px 20px;
}

.cmpx-empty-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  color: var(--cmpx-accent-gold);
  border: 2px solid rgba(212, 175, 55, 0.3);
  animation: cmpx-icon-float 3s ease-in-out infinite;
}

.cmpx-empty-title {
  font-size: 28px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  color: #e9ecef;
  color: var(--cmpx-text-primary);
  margin: 0 0 12px 0;
}

.cmpx-empty-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
  margin: 0 0 28px 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cmpx-empty-button {
  padding: 14px 32px;
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--cmpx-accent-red), var(--cmpx-accent-red-light));
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.cmpx-empty-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
}

/* ============================================
   NOTIFICACIÓN
   ============================================ */
.cmpx-notificacion {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 2000;
  background: rgba(10, 10, 10, 0.98);
  background: var(--cmpx-bg-secondary);
  border: 2px solid;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  animation: cmpx-notif-slide 0.3s ease-out;
  max-width: 400px;
}

@keyframes cmpx-notif-slide {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.cmpx-notificacion-contenido {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
  font-size: 14px;
  font-weight: 600;
}

.cmpx-notificacion-cerrar {
  background: transparent;
  border: none;
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cmpx-notificacion-cerrar:hover {
  color: #e9ecef;
  color: var(--cmpx-text-primary);
  transform: scale(1.1);
}

.cmpx-notificacion-success {
  border-color: #27ae60;
  border-color: var(--cmpx-success-green);
  color: #27ae60;
  color: var(--cmpx-success-green);
}

.cmpx-notificacion-error {
  border-color: #e50914;
  border-color: var(--cmpx-accent-red);
  color: #e50914;
  color: var(--cmpx-accent-red);
}

.cmpx-notificacion-info {
  border-color: #4dd2ff;
  border-color: var(--cmpx-accent-cyan);
  color: #4dd2ff;
  color: var(--cmpx-accent-cyan);
}

/* ============================================
   MODAL
   ============================================ */
.cmpx-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 20px;
  animation: cmpx-fade-in 0.3s ease-out;
}

.cmpx-modal-wrapper {
  position: relative;
  border-radius: 20px;
  padding: 3px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
}

.cmpx-modal-led-border {
  position: absolute;
  inset: -3px;
  border-radius: 20px;
  background: linear-gradient(90deg, #d4af37, #e50914, #7c5cff, #4dd2ff, #d4af37);
  background: linear-gradient(90deg, var(--cmpx-accent-gold), var(--cmpx-accent-red), var(--cmpx-accent-purple), var(--cmpx-accent-cyan), var(--cmpx-accent-gold));
  background-size: 400% 400%;
  animation: cmpx-ledChase 3s linear infinite;
  opacity: 0.8;
  z-index: 0;
}

.cmpx-modal-content {
  position: relative;
  background: rgba(10, 10, 10, 0.98);
  background: var(--cmpx-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cmpx-border-color);
  border-radius: 17px;
  overflow: hidden;
  z-index: 1;
}

.cmpx-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--cmpx-border-color);
}

.cmpx-modal-title {
  font-family: 'Orbitron', monospace;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cmpx-accent-gold), #f0d574);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.cmpx-modal-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cmpx-border-color);
  color: #e9ecef;
  color: var(--cmpx-text-primary);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cmpx-modal-close:hover {
  background: #e50914;
  background: var(--cmpx-accent-red);
  border-color: #e50914;
  border-color: var(--cmpx-accent-red);
  transform: rotate(90deg);
}

.cmpx-modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}

.cmpx-modal-body::-webkit-scrollbar {
  width: 6px;
}

.cmpx-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.cmpx-modal-body::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--cmpx-accent-gold);
  border-radius: 3px;
}

.cmpx-modal-imagen-container {
  width: 100%;
  max-width: 400px;
  height: 250px;
  margin: 0 auto 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--cmpx-border-color);
}

.cmpx-modal-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cmpx-modal-estado-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.cmpx-modal-estado-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
  font-weight: 600;
}

.cmpx-modal-badge {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.cmpx-modal-badge-pendiente {
  background: rgba(243, 156, 18, 0.15);
  border: 2px solid #f39c12;
  border: 2px solid var(--cmpx-warning-orange);
  color: #f39c12;
  color: var(--cmpx-warning-orange);
}

.cmpx-modal-badge-proceso {
  background: rgba(77, 210, 255, 0.15);
  border: 2px solid #4dd2ff;
  border: 2px solid var(--cmpx-accent-cyan);
  color: #4dd2ff;
  color: var(--cmpx-accent-cyan);
}

.cmpx-modal-badge-entregado,
.cmpx-modal-badge-completado {
  background: rgba(39, 174, 96, 0.15);
  border: 2px solid #27ae60;
  border: 2px solid var(--cmpx-success-green);
  color: #27ae60;
  color: var(--cmpx-success-green);
}

.cmpx-modal-badge-cancelado {
  background: rgba(229, 9, 20, 0.15);
  border: 2px solid #e50914;
  border: 2px solid var(--cmpx-accent-red);
  color: #e50914;
  color: var(--cmpx-accent-red);
}

.cmpx-modal-section {
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cmpx-border-color);
  border-radius: 12px;
}

.cmpx-modal-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #d4af37;
  color: var(--cmpx-accent-gold);
  margin: 0 0 16px 0;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cmpx-modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
}

.cmpx-modal-info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cmpx-modal-label {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cmpx-modal-value {
  font-size: 15px;
  color: #e9ecef;
  color: var(--cmpx-text-primary);
  font-weight: 600;
}

.cmpx-modal-value-small {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
  font-family: 'Orbitron', monospace;
}

.cmpx-modal-value-tachado {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
  text-decoration: line-through;
}

.cmpx-modal-value-descuento {
  font-size: 15px;
  color: #e50914;
  color: var(--cmpx-accent-red);
  font-weight: 700;
}

.cmpx-modal-label-total {
  font-size: 13px;
  color: #d4af37;
  color: var(--cmpx-accent-gold);
  font-weight: 700;
  text-transform: uppercase;
}

.cmpx-modal-value-total {
  font-size: 24px;
  color: #d4af37;
  color: var(--cmpx-accent-gold);
  font-weight: 900;
  font-family: 'Orbitron', monospace;
}

.cmpx-modal-id {
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cmpx-modal-id-label {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
}

.cmpx-modal-id-code {
  font-size: 12px;
  color: #d4af37;
  color: var(--cmpx-accent-gold);
  font-family: 'Orbitron', monospace;
  word-break: break-all;
}

.cmpx-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--cmpx-border-color);
  display: flex;
  justify-content: flex-end;
}

.cmpx-modal-btn-cerrar {
  padding: 12px 32px;
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--cmpx-accent-red), var(--cmpx-accent-red-light));
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.cmpx-modal-btn-cerrar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
}

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

.cmpx-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(212, 175, 55, 0.2);
  border-top-color: #d4af37;
  border-top-color: var(--cmpx-accent-gold);
  border-radius: 50%;
  animation: cmpx-spin 0.8s linear infinite;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

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

.cmpx-loading-text {
  margin-top: 20px;
  font-size: 16px;
  color: #b7bcc4;
  color: var(--cmpx-text-secondary);
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   MIS PEDIDOS - MOBILE CSS (SOLO AJUSTES)
   NO toca animaciones ni estilos existentes
   ============================================ */

@media (max-width: 768px) {
  /* Solo ajustar tamaños y layouts */
  
  .cmpx-navbar-content {
    padding: 0 16px;
  }

  .cmpx-logo-wrapper {
    width: 36px;
    height: 36px;
  }

  .cmpx-logo-text {
    font-size: 16px;
  }

  .cmpx-navbar-right {
    gap: 6px;
  }

  .cmpx-nav-button span {
    display: none;
  }

  .cmpx-nav-button {
    padding: 10px;
  }

  .cmpx-wallet-display {
    padding: 8px 12px;
  }

  .cmpx-wallet-saldo {
    font-size: 14px;
  }

  .cmpx-main {
    padding: 24px 0;
  }

  .cmpx-main-content {
    padding: 0 16px;
  }

  .cmpx-title-icon-wrapper {
    width: 80px;
    height: 80px;
  }

  .cmpx-title {
    font-size: 32px;
  }

  .cmpx-subtitle {
    font-size: 14px;
  }

  /* Estadísticas */
  .cmpx-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cmpx-stat-card {
    padding: 16px;
    flex-direction: column;
    text-align: center;
  }

  .cmpx-stat-icon {
    width: 50px;
    height: 50px;
  }

  .cmpx-stat-value {
    font-size: 24px;
  }

  /* Filtros */
  .cmpx-filters-section {
    gap: 16px;
  }

  .cmpx-search-box {
    max-width: 100%;
  }

  .cmpx-search-input {
    padding: 12px 14px 12px 44px;
    font-size: 14px;
  }

  .cmpx-filter-buttons {
    gap: 8px;
  }

  .cmpx-filter-button {
    padding: 8px 14px;
    font-size: 12px;
  }

  /* Grid de pedidos */
  .cmpx-pedidos-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cmpx-pedido-card {
    padding: 16px;
    gap: 16px;
  }

  /* Header del pedido */
  .cmpx-pedido-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Timeline */
  .cmpx-pedido-timeline {
    padding: 12px 0;
  }

  .cmpx-timeline-label {
    font-size: 9px;
  }

  .cmpx-timeline-dot {
    width: 12px;
    height: 12px;
  }

  /* Contenido */
  .cmpx-pedido-content {
    flex-direction: column;
  }

  .cmpx-pedido-imagen-container {
    width: 100%;
    height: 200px;
  }

  .cmpx-pedido-nombre {
    font-size: 15px;
  }

  .cmpx-pedido-detalles {
    padding: 8px;
  }

  /* Acciones */
  .cmpx-pedido-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Empty state */
  .cmpx-empty-state {
    padding: 60px 16px;
  }

  .cmpx-empty-icon {
    width: 100px;
    height: 100px;
  }

  .cmpx-empty-title {
    font-size: 22px;
  }

  .cmpx-empty-text {
    font-size: 14px;
  }

  /* Modal */
  .cmpx-modal-wrapper {
    padding: 2px;
    max-height: 95vh;
  }

  .cmpx-modal-header {
    padding: 16px;
  }

  .cmpx-modal-title {
    font-size: 20px;
  }

  .cmpx-modal-body {
    padding: 16px;
    max-height: 75vh;
  }

  .cmpx-modal-imagen-container {
    height: 180px;
  }

  .cmpx-modal-section {
    padding: 16px;
    margin-bottom: 16px;
  }

  .cmpx-modal-section-title {
    font-size: 14px;
  }

  .cmpx-modal-info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cmpx-modal-value-total {
    font-size: 20px;
  }

  .cmpx-modal-footer {
    padding: 16px;
  }

  .cmpx-modal-btn-cerrar {
    width: 100%;
  }

  /* Notificación */
  .cmpx-notificacion {
    top: 70px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .cmpx-main-content {
    padding: 0 12px;
  }

  .cmpx-title {
    font-size: 28px;
  }

  .cmpx-stats-grid {
    grid-template-columns: 1fr;
  }

  .cmpx-stat-card {
    padding: 14px;
  }

  .cmpx-filter-button {
    padding: 8px 12px;
    font-size: 11px;
  }

  .cmpx-pedido-card {
    padding: 14px;
  }

  .cmpx-timeline-label {
    font-size: 8px;
  }

  .cmpx-modal-body {
    padding: 14px;
  }
}

/* src/pages/cliente/modales/TicketCliente.css */

/* ============================================
   OVERLAY Y MODAL BASE
============================================ */
.ticket-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  animation: ticketFadeIn 0.3s ease-out;
}

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

.ticket-modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
  animation: ticketSlideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.ticket-modal-content::-webkit-scrollbar {
  width: 8px;
}

.ticket-modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.ticket-modal-content::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 4px;
}

.ticket-modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.5);
}

/* ============================================
   BOTÓN CERRAR
============================================ */
.ticket-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e9ecef;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.ticket-modal-close:hover {
  background: #e74c3c;
  border-color: #e74c3c;
  transform: rotate(90deg);
}

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

/* ============================================
   HEADER DEL MODAL
============================================ */
.ticket-modal-header {
  padding: 40px 40px 30px 40px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticket-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  margin-bottom: 20px;
  color: #d4af37;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.3));
}

.ticket-modal-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #e9ecef;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ticket-modal-header p {
  font-size: 15px;
  color: #8b95a5;
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   MENSAJES DE NOTIFICACIÓN
============================================ */
.ticket-mensaje {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  margin: 20px 40px 0 40px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  animation: ticketSlideIn 0.3s ease-out;
}

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

.ticket-mensaje-success {
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid rgba(39, 174, 96, 0.3);
  color: #27ae60;
}

.ticket-mensaje-error {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e74c3c;
}

/* ============================================
   FORMULARIO
============================================ */
.ticket-form {
  padding: 30px 40px 40px 40px;
}

.ticket-form-group {
  margin-bottom: 24px;
  position: relative;
}

.ticket-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #d4af37;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.ticket-form-group input,
.ticket-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #e9ecef;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.ticket-form-group input:focus,
.ticket-form-group textarea:focus {
  outline: none;
  border-color: #d4af37;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.ticket-form-group input::placeholder,
.ticket-form-group textarea::placeholder {
  color: #8b95a5;
}

.ticket-form-group input:disabled,
.ticket-form-group textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ticket-form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.ticket-contador {
  position: absolute;
  bottom: -22px;
  right: 0;
  font-size: 12px;
  color: #8b95a5;
  font-weight: 500;
}

/* ============================================
   DROPDOWN PERSONALIZADO
============================================ */
.ticket-custom-select {
  position: relative;
}

.ticket-select-button {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #e9ecef;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  text-align: left;
}

.ticket-select-button span {
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 3px solid transparent;
  padding-left: 8px;
}

.ticket-select-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: #d4af37;
}

.ticket-select-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ticket-chevron-rotated {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.ticket-dropdown-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  overflow: hidden;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  animation: ticketDropdownSlide 0.2s ease-out;
}

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

.ticket-option {
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  color: #e9ecef;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.ticket-option:hover {
  background: rgba(212, 175, 55, 0.1);
}

.ticket-option-active {
  background: rgba(212, 175, 55, 0.2);
  font-weight: 600;
}

/* ============================================
   BOTONES DE ACCIÓN
============================================ */
.ticket-form-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.ticket-btn {
  flex: 1 1;
  padding: 14px 24px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
}

.ticket-btn-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: #b7bcc4;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ticket-btn-cancel:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  color: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.ticket-btn-submit {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #0a0a0a;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.ticket-btn-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ticket-btn-submit:hover:not(:disabled)::before {
  width: 300px;
  height: 300px;
}

.ticket-btn-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #f0d574 0%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.ticket-btn:active:not(:disabled) {
  transform: translateY(0);
}

.ticket-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

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

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

/* ============================================
   MODAL DE CONFIRMACIÓN
============================================ */
.ticket-confirmacion-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 20px;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  animation: ticketFadeIn 0.3s ease-out;
}

.ticket-confirmacion-content {
  background: linear-gradient(135deg, #1f1f1f 0%, #121212 100%);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.3);
  text-align: center;
  animation: ticketScaleIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.ticket-confirmacion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(243, 156, 18, 0.15);
  border: 2px solid rgba(243, 156, 18, 0.3);
  border-radius: 50%;
  margin-bottom: 24px;
  color: #f39c12;
}

.ticket-confirmacion-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  margin: 0 0 12px 0;
  letter-spacing: -0.3px;
}

.ticket-confirmacion-content > p {
  font-size: 15px;
  color: #8b95a5;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.ticket-confirmacion-detalles {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 28px;
  text-align: left;
}

.ticket-confirmacion-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.ticket-confirmacion-item:last-child {
  margin-bottom: 0;
}

.ticket-confirmacion-item strong {
  font-size: 13px;
  color: #d4af37;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.ticket-confirmacion-item span {
  font-size: 15px;
  color: #e9ecef;
}

.ticket-confirmacion-acciones {
  display: flex;
  gap: 14px;
}

.ticket-btn-confirmar {
  flex: 1 1;
  padding: 14px 24px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.ticket-btn-confirmar-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: #b7bcc4;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ticket-btn-confirmar-cancel:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #e9ecef;
  transform: translateY(-2px);
}

.ticket-btn-confirmar-ok {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(39, 174, 96, 0.3);
}

.ticket-btn-confirmar-ok:hover {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.ticket-btn-confirmar:active {
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE - MÓVIL
============================================ */
@media (max-width: 768px) {
  .ticket-modal-overlay,
  .ticket-confirmacion-overlay {
    padding: 16px;
  }

  .ticket-modal-content,
  .ticket-confirmacion-content {
    max-height: 95vh;
    border-radius: 16px;
  }

  .ticket-modal-header {
    padding: 32px 24px 24px 24px;
  }

  .ticket-header-icon {
    width: 64px;
    height: 64px;
  }

  .ticket-modal-header h2 {
    font-size: 24px;
  }

  .ticket-modal-header p {
    font-size: 14px;
  }

  .ticket-form {
    padding: 24px;
  }

  .ticket-mensaje {
    margin: 16px 24px 0 24px;
    font-size: 13px;
  }

  .ticket-form-group label {
    font-size: 13px;
  }

  .ticket-form-group input,
  .ticket-form-group textarea {
    font-size: 16px;
  }

  .ticket-form-actions,
  .ticket-confirmacion-acciones {
    flex-direction: column;
    gap: 12px;
  }

  .ticket-btn,
  .ticket-btn-confirmar {
    width: 100%;
  }

  .ticket-confirmacion-content {
    padding: 32px 24px;
  }

  .ticket-confirmacion-content h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .ticket-header-icon,
  .ticket-confirmacion-icon {
    width: 56px;
    height: 56px;
  }

  .ticket-modal-header h2 {
    font-size: 22px;
  }

  .ticket-form-group textarea {
    min-height: 100px;
  }
}

/* ============================================
   ACCESIBILIDAD
============================================ */
@media (prefers-reduced-motion: reduce) {
  .ticket-modal-overlay,
  .ticket-modal-content,
  .ticket-mensaje,
  .ticket-btn,
  .ticket-confirmacion-overlay,
  .ticket-confirmacion-content {
    animation: none;
    transition: none;
  }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
  .ticket-btn,
  .ticket-btn-confirmar {
    min-height: 48px;
  }

  .ticket-modal-close {
    width: 44px;
    height: 44px;
  }
}

/* src/pages/cliente/ChatPedido.css */
/* PREFIJO: ccpx- (Cliente Chat PXX) */

/* ============================================
   VARIABLES Y COLORES
============================================ */
:root {
  --ccpx-bg-primary: #0a0a0a;
  --ccpx-bg-secondary: rgba(20, 20, 20, 0.95);
  --ccpx-bg-tertiary: rgba(30, 30, 30, 0.8);
  --ccpx-bg-quaternary: rgba(25, 25, 25, 0.9);
  --ccpx-gold: #d4af37;
  --ccpx-gold-light: #f0d574;
  --ccpx-gold-dark: #b8941f;
  --ccpx-text-primary: #e9ecef;
  --ccpx-text-secondary: #b7bcc4;
  --ccpx-text-muted: #8b95a5;
  --ccpx-border: rgba(255, 255, 255, 0.12);
  --ccpx-border-light: rgba(255, 255, 255, 0.08);
  --ccpx-success: #27ae60;
  --ccpx-error: #e74c3c;
  --ccpx-info: #3498db;
  --ccpx-warning: #f39c12;
  --ccpx-bubble-cliente: linear-gradient(135deg, #2c5f7a 0%, #1a4a5e 100%);
  --ccpx-bubble-vendedor: rgba(40, 40, 40, 0.95);
  --ccpx-bubble-admin: linear-gradient(135deg, #6b4e71 0%, #4a3452 100%);
  --ccpx-online-green: #2ecc71;
  --ccpx-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --ccpx-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --ccpx-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --ccpx-shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.6);
  --ccpx-transition-fast: 0.2s ease;
  --ccpx-transition-normal: 0.3s ease;
  --ccpx-transition-slow: 0.5s ease;
}

/* ============================================
   RESET Y BASE
============================================ */
.ccpx-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #0a0a0a;
  background: var(--ccpx-bg-primary);
  color: #e9ecef;
  color: var(--ccpx-text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
  overflow: hidden;
  position: relative;
}

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

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

.ccpx-spinner {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border: 4px solid var(--ccpx-border);
  border-top-color: #d4af37;
  border-top-color: var(--ccpx-gold);
  border-radius: 50%;
  animation: ccpx-spin 0.8s linear infinite;
}

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

.ccpx-loading-text {
  color: #b7bcc4;
  color: var(--ccpx-text-secondary);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ============================================
   ERROR
============================================ */
.ccpx-error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #0a0a0a;
  background: var(--ccpx-bg-primary);
  padding: 40px;
  text-align: center;
}

.ccpx-error-icon {
  color: #e74c3c;
  color: var(--ccpx-error);
  margin-bottom: 28px;
  opacity: 0.9;
}

.ccpx-error-title {
  font-size: 32px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--ccpx-text-primary);
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.ccpx-error-text {
  color: #b7bcc4;
  color: var(--ccpx-text-secondary);
  font-size: 17px;
  margin: 0 0 36px 0;
  max-width: 450px;
  line-height: 1.6;
}

.ccpx-error-button {
  padding: 14px 32px;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  background: linear-gradient(135deg, var(--ccpx-gold) 0%, var(--ccpx-gold-dark) 100%);
  color: #0a0a0a;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  transition: all var(--ccpx-transition-normal);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--ccpx-shadow-md);
}

.ccpx-error-button:hover {
  background: linear-gradient(135deg, #f0d574 0%, #d4af37 100%);
  background: linear-gradient(135deg, var(--ccpx-gold-light) 0%, var(--ccpx-gold) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  box-shadow: var(--ccpx-shadow-lg);
}

/* ============================================
   NOTIFICACIÓN
============================================ */
.ccpx-notificacion {
  position: fixed;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 24px;
  background: rgba(20, 20, 20, 0.95);
  background: var(--ccpx-bg-secondary);
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  box-shadow: var(--ccpx-shadow-xl);
  border-left: 4px solid #3498db;
  border-left: 4px solid var(--ccpx-info);
  z-index: 10000;
  min-width: 320px;
  max-width: 450px;
  animation: ccpx-slideInRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

@keyframes ccpx-slideInRight {
  from {
    opacity: 0;
    transform: translateX(120px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.ccpx-notificacion-success {
  border-left-color: #27ae60;
  border-left-color: var(--ccpx-success);
}

.ccpx-notificacion-error {
  border-left-color: #e74c3c;
  border-left-color: var(--ccpx-error);
}

.ccpx-notificacion-info {
  border-left-color: #3498db;
  border-left-color: var(--ccpx-info);
}

.ccpx-notificacion-contenido {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #e9ecef;
  color: var(--ccpx-text-primary);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.ccpx-notificacion-cerrar {
  background: none;
  border: none;
  color: #8b95a5;
  color: var(--ccpx-text-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  transition: all var(--ccpx-transition-fast);
  border-radius: 6px;
}

.ccpx-notificacion-cerrar:hover {
  color: #e9ecef;
  color: var(--ccpx-text-primary);
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   HEADER
============================================ */
.ccpx-header {
  background: rgba(20, 20, 20, 0.95);
  background: var(--ccpx-bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--ccpx-border);
  padding: 18px 28px;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.ccpx-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1600px;
  margin: 0 auto;
}

.ccpx-back-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--ccpx-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--ccpx-text-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  transition: all var(--ccpx-transition-normal);
  white-space: nowrap;
}

.ccpx-back-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #d4af37;
  border-color: var(--ccpx-gold);
  color: #d4af37;
  color: var(--ccpx-gold);
  transform: translateX(-6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  box-shadow: var(--ccpx-shadow-sm);
}

.ccpx-header-center {
  flex: 1 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.ccpx-header-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ccpx-header-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border: 3px solid var(--ccpx-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--ccpx-shadow-md);
  transition: all 0.3s ease;
  transition: all var(--ccpx-transition-normal);
}

.ccpx-header-logo:hover {
  border-color: #d4af37;
  border-color: var(--ccpx-gold);
  transform: scale(1.05);
}

.ccpx-header-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  background: linear-gradient(135deg, var(--ccpx-gold) 0%, var(--ccpx-gold-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--ccpx-shadow-md);
  transition: all 0.3s ease;
  transition: all var(--ccpx-transition-normal);
}

.ccpx-header-avatar:hover {
  transform: scale(1.05) rotate(5deg);
}

.ccpx-header-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ccpx-header-title {
  font-size: 19px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--ccpx-text-primary);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.ccpx-header-subtitle {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--ccpx-text-secondary);
  margin: 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ccpx-online {
  color: #2ecc71;
  color: var(--ccpx-online-green);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ccpx-offline {
  color: #8b95a5;
  color: var(--ccpx-text-muted);
  font-size: 13px;
}

.ccpx-typing {
  color: #d4af37;
  color: var(--ccpx-gold);
  font-weight: 600;
  font-style: italic;
  animation: ccpx-typing 1.4s ease-in-out infinite;
}

@keyframes ccpx-typing {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.ccpx-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ccpx-header-btn {
  padding: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--ccpx-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--ccpx-text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  transition: all var(--ccpx-transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ccpx-header-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #d4af37;
  border-color: var(--ccpx-gold);
  color: #d4af37;
  color: var(--ccpx-gold);
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  box-shadow: var(--ccpx-shadow-sm);
}

.ccpx-admin-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #6b4e71 0%, #4a3452 100%);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--ccpx-shadow-md);
  letter-spacing: 0.5px;
}

/* ============================================
   BARRA DE BÚSQUEDA
============================================ */
.ccpx-search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--ccpx-border);
  margin-top: 18px;
  border-radius: 10px;
  animation: ccpx-slideDown 0.3s ease-out;
}

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

.ccpx-search-bar svg {
  color: #d4af37;
  color: var(--ccpx-gold);
  flex-shrink: 0;
}

.ccpx-search-input {
  flex: 1 1;
  background: none;
  border: none;
  outline: none;
  color: #e9ecef;
  color: var(--ccpx-text-primary);
  font-size: 15px;
  font-family: inherit;
}

.ccpx-search-input::placeholder {
  color: #8b95a5;
  color: var(--ccpx-text-muted);
}

.ccpx-search-close {
  background: none;
  border: none;
  color: #8b95a5;
  color: var(--ccpx-text-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  transition: all var(--ccpx-transition-fast);
  border-radius: 6px;
}

.ccpx-search-close:hover {
  color: #e74c3c;
  color: var(--ccpx-error);
  background: rgba(231, 76, 60, 0.15);
}

/* ============================================
   BOTÓN TOGGLE MÓVIL (Oculto en PC)
============================================ */
.ccpx-toggle-detalles-mobile {
  display: none;
}

.ccpx-toggle-thumb {
  display: none;
}

.ccpx-toggle-info {
  display: none;
}

.ccpx-badge-mini {
  display: none;
}

/* ============================================
   OVERLAY (Oculto en PC)
============================================ */
.ccpx-overlay-detalles {
  display: none;
}

/* ============================================
   BOTONES DEL MODAL (Ocultos en PC)
============================================ */
.ccpx-close-detalles-mobile {
  display: none;
}

.ccpx-detalles-header-mobile {
  display: none;
}

/* ============================================
   INFO DEL PEDIDO - PC
============================================ */
.ccpx-pedido-info-bar {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(25, 25, 25, 0.9) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--ccpx-border);
  padding: 18px 28px;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 10;
}

.ccpx-pedido-info-content {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1600px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.ccpx-pedido-imagen-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #d4af37;
  border: 2px solid var(--ccpx-gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--ccpx-shadow-md);
  flex-shrink: 0;
  transition: all 0.3s ease;
  transition: all var(--ccpx-transition-normal);
}

.ccpx-pedido-imagen-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  box-shadow: var(--ccpx-shadow-lg);
  border-color: #f0d574;
  border-color: var(--ccpx-gold-light);
}

.ccpx-pedido-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ccpx-pedido-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b7bcc4;
  color: var(--ccpx-text-secondary);
  font-size: 15px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
  transition: all var(--ccpx-transition-fast);
}

.ccpx-pedido-info-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #d4af37;
  border-color: var(--ccpx-gold);
  transform: translateY(-2px);
}

.ccpx-pedido-info-item svg {
  color: #d4af37;
  color: var(--ccpx-gold);
  flex-shrink: 0;
}

.ccpx-pedido-info-label {
  font-weight: 500;
  color: #8b95a5;
  color: var(--ccpx-text-muted);
}

.ccpx-pedido-info-value {
  font-weight: 600;
  color: #e9ecef;
  color: var(--ccpx-text-primary);
}

.ccpx-pedido-info-price {
  font-size: 18px;
  font-weight: 700;
  color: #d4af37;
  color: var(--ccpx-gold);
  text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Badges de estado */
.ccpx-pedido-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  box-shadow: var(--ccpx-shadow-sm);
  transition: all 0.2s ease;
  transition: all var(--ccpx-transition-fast);
}

.ccpx-pedido-badge:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--ccpx-shadow-md);
}

.ccpx-badge-emoji {
  font-size: 16px;
}

.ccpx-badge-pendiente {
  background: linear-gradient(135deg, rgba(241, 196, 15, 0.2) 0%, rgba(241, 196, 15, 0.15) 100%);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.4);
}

.ccpx-badge-proceso {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0.15) 100%);
  color: #3498db;
  border: 1px solid rgba(52, 152, 219, 0.4);
}

.ccpx-badge-entregado {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.2) 0%, rgba(46, 204, 113, 0.15) 100%);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.4);
}

.ccpx-badge-completado {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.2) 0%, rgba(39, 174, 96, 0.15) 100%);
  color: #27ae60;
  border: 1px solid rgba(39, 174, 96, 0.4);
}

.ccpx-badge-cancelado {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(231, 76, 60, 0.15) 100%);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.4);
}

/* ============================================
   BOTÓN TICKET - PC
============================================ */
.ccpx-ticket-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 14px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  transition: all var(--ccpx-transition-normal);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--ccpx-shadow-md);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.ccpx-ticket-btn::before {
  content: '🎫';
  margin-right: 4px;
  font-size: 16px;
}

.ccpx-ticket-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ccpx-ticket-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  box-shadow: var(--ccpx-shadow-lg);
}

.ccpx-ticket-btn:hover::after {
  width: 300px;
  height: 300px;
}

.ccpx-ticket-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--ccpx-shadow-md);
}

/* ============================================
   CHAT CONTAINER
============================================ */
.ccpx-chat-container {
  flex: 1 1;
  overflow-y: auto;
  overflow-x: hidden;
  background: #0a0a0a;
  background: var(--ccpx-bg-primary);
  position: relative;
}

.ccpx-chat-container::-webkit-scrollbar {
  width: 10px;
}

.ccpx-chat-container::-webkit-scrollbar-track {
  background: transparent;
}

.ccpx-chat-container::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 5px;
}

.ccpx-chat-container::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.5);
}

.ccpx-mensajes-lista {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ============================================
   EMPTY CHAT
============================================ */
.ccpx-empty-chat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  text-align: center;
  color: #8b95a5;
  color: var(--ccpx-text-muted);
}

.ccpx-empty-chat svg {
  margin-bottom: 24px;
  opacity: 0.6;
  animation: ccpx-float 3s ease-in-out infinite;
}

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

.ccpx-empty-title {
  font-size: 22px;
  font-weight: 600;
  color: #b7bcc4;
  color: var(--ccpx-text-secondary);
  margin: 0 0 10px 0;
}

.ccpx-empty-text {
  font-size: 16px;
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   MENSAJES
============================================ */
.ccpx-mensaje-wrapper {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  animation: ccpx-messageIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
}

@keyframes ccpx-messageIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ccpx-mensaje-mio {
  flex-direction: row-reverse;
}

.ccpx-mensaje-otro {
  flex-direction: row;
}

.ccpx-mensaje-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--ccpx-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--ccpx-shadow-md);
  transition: all 0.3s ease;
  transition: all var(--ccpx-transition-normal);
}

.ccpx-mensaje-avatar:hover {
  transform: scale(1.08);
  border-color: #d4af37;
  border-color: var(--ccpx-gold);
}

.ccpx-avatar-vendedor {
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  color: #fff;
}

.ccpx-avatar-admin {
  background: linear-gradient(135deg, #6b4e71 0%, #4a3452 100%);
  color: #fff;
}

.ccpx-avatar-imagen {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.ccpx-mensaje-content {
  max-width: 68%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.ccpx-mensaje-mio .ccpx-mensaje-content {
  align-items: flex-end;
}

.ccpx-mensaje-otro .ccpx-mensaje-content {
  align-items: flex-start;
}

.ccpx-mensaje-nombre {
  font-size: 13px;
  font-weight: 600;
  color: #b7bcc4;
  color: var(--ccpx-text-secondary);
  padding: 0 14px;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.ccpx-nombre-admin {
  color: #9b7fa3;
}

.ccpx-mensaje-bubble {
  padding: 14px 18px;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--ccpx-shadow-md);
  word-wrap: break-word;
  word-break: break-word;
  transition: all 0.3s ease;
  transition: all var(--ccpx-transition-normal);
}

.ccpx-mensaje-bubble:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  box-shadow: var(--ccpx-shadow-lg);
  transform: translateY(-2px);
}

.ccpx-bubble-mio {
  background: linear-gradient(135deg, #2c5f7a 0%, #1a4a5e 100%);
  background: var(--ccpx-bubble-cliente);
  border-bottom-right-radius: 6px;
}

.ccpx-bubble-vendedor {
  background: rgba(40, 40, 40, 0.95);
  background: var(--ccpx-bubble-vendedor);
  border-bottom-left-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ccpx-bubble-admin {
  background: linear-gradient(135deg, #6b4e71 0%, #4a3452 100%);
  background: var(--ccpx-bubble-admin);
  border-bottom-left-radius: 6px;
  border: 1px solid rgba(155, 127, 163, 0.4);
}

/* ============================================
   REPLY PREVIEW
============================================ */
.ccpx-reply-preview {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.25);
  border-left: 4px solid #d4af37;
  border-left: 4px solid var(--ccpx-gold);
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  transition: all 0.2s ease;
  transition: all var(--ccpx-transition-fast);
}

.ccpx-reply-preview:hover {
  background: rgba(0, 0, 0, 0.35);
}

.ccpx-reply-preview svg {
  color: #d4af37;
  color: var(--ccpx-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.ccpx-reply-author {
  font-weight: 600;
  color: #d4af37;
  color: var(--ccpx-gold);
  margin: 0 0 5px 0;
  font-size: 13px;
}

.ccpx-reply-text {
  color: #b7bcc4;
  color: var(--ccpx-text-secondary);
  margin: 0;
  font-size: 13px;
  opacity: 0.95;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 350px;
}

/* ============================================
   IMAGEN EN MENSAJE
============================================ */
.ccpx-mensaje-imagen-container {
  margin-bottom: 10px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  transition: all var(--ccpx-transition-normal);
}

.ccpx-mensaje-imagen-container:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  box-shadow: var(--ccpx-shadow-xl);
}

.ccpx-mensaje-imagen {
  max-width: 350px;
  max-height: 350px;
  width: auto;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* ============================================
   TEXTO DEL MENSAJE
============================================ */
.ccpx-mensaje-texto {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #e9ecef;
  color: var(--ccpx-text-primary);
  white-space: pre-wrap;
}

.ccpx-mensaje-texto strong {
  font-weight: 700;
}

.ccpx-mensaje-texto em {
  font-style: italic;
}

.ccpx-mensaje-texto span[style*="line-through"] {
  text-decoration: line-through;
  opacity: 0.75;
}

.ccpx-mensaje-texto code {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.92em;
  background-color: rgba(0, 0, 0, 0.12);
  padding: 3px 8px;
  border-radius: 5px;
  color: #d63031;
  border: 1px solid rgba(214, 48, 49, 0.2);
}

/* ============================================
   EMAIL COPIABLE
============================================ */
.ccpx-email-container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(0, 0, 0, 0.08);
  padding: 6px 10px;
  border-radius: 8px;
  margin: 3px 0;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ccpx-email-text {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.92em;
  color: #2c3e50;
  background: transparent;
  padding: 0;
}

.ccpx-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  font-size: 0.78em;
  font-weight: 600;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  transition: all var(--ccpx-transition-fast);
  white-space: nowrap;
}

.ccpx-copy-btn:hover {
  background-color: #2980b9;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  box-shadow: var(--ccpx-shadow-sm);
}

.ccpx-copy-btn:active {
  transform: scale(0.98);
}

.ccpx-copy-btn-copiado {
  background-color: #27ae60 !important;
  pointer-events: none;
}

.ccpx-copy-btn svg,
.ccpx-copy-btn span {
  pointer-events: none;
}

/* ============================================
   FOOTER DEL MENSAJE
============================================ */
.ccpx-mensaje-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  justify-content: flex-end;
}

.ccpx-mensaje-fecha {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.ccpx-mensaje-check {
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
  transition: color var(--ccpx-transition-normal);
}

.ccpx-check-leido {
  color: #3498db;
}

.ccpx-star-importante {
  color: #d4af37;
  color: var(--ccpx-gold);
  filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.5));
  animation: ccpx-starGlow 2.5s ease-in-out infinite;
}

@keyframes ccpx-starGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

/* ============================================
   REACCIONES
============================================ */
.ccpx-reacciones-container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.ccpx-reaccion {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: all 0.2s ease;
  transition: all var(--ccpx-transition-fast);
}

.ccpx-reaccion:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  box-shadow: var(--ccpx-shadow-sm);
}

/* ============================================
   ACCIONES DEL MENSAJE
============================================ */
.ccpx-mensaje-acciones {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
  transition: opacity var(--ccpx-transition-fast);
}

.ccpx-mensaje-wrapper:hover .ccpx-mensaje-acciones {
  opacity: 1;
}

.ccpx-accion-btn {
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #b7bcc4;
  color: var(--ccpx-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  transition: all var(--ccpx-transition-fast);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ccpx-accion-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #d4af37;
  border-color: var(--ccpx-gold);
  color: #d4af37;
  color: var(--ccpx-gold);
  transform: scale(1.08);
}

/* ============================================
   PREVIEW DE IMAGEN
============================================ */
.ccpx-imagen-preview-container {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  padding: 20px 28px;
  background: rgba(10, 10, 10, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--ccpx-border);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  z-index: 50;
  animation: ccpx-slideUpFade 0.4s ease-out;
}

@keyframes ccpx-slideUpFade {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ccpx-imagen-preview-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ccpx-imagen-preview-close {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--ccpx-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--ccpx-text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  transition: all var(--ccpx-transition-normal);
  z-index: 10;
}

.ccpx-imagen-preview-close:hover:not(:disabled) {
  background: #e74c3c;
  background: var(--ccpx-error);
  border-color: #e74c3c;
  border-color: var(--ccpx-error);
  transform: rotate(90deg);
}

.ccpx-imagen-preview-close:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ccpx-imagen-preview {
  max-width: 100%;
  max-height: 320px;
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  box-shadow: var(--ccpx-shadow-xl);
}

.ccpx-imagen-subiendo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px;
  background: rgba(0, 0, 0, 0.95);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.ccpx-imagen-subiendo p {
  color: #e9ecef;
  color: var(--ccpx-text-primary);
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}

/* ============================================
   PREVIEW DE RESPUESTA
============================================ */
.ccpx-responder-preview {
  padding: 14px 28px;
  background: rgba(20, 20, 20, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--ccpx-border);
  animation: ccpx-slideUpFade 0.3s ease-out;
}

.ccpx-responder-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid #d4af37;
  border-left: 4px solid var(--ccpx-gold);
  border-radius: 10px;
}

.ccpx-responder-content svg {
  color: #d4af37;
  color: var(--ccpx-gold);
  flex-shrink: 0;
}

.ccpx-responder-info {
  flex: 1 1;
  min-width: 0;
}

.ccpx-responder-author {
  font-size: 14px;
  font-weight: 600;
  color: #d4af37;
  color: var(--ccpx-gold);
  margin: 0 0 5px 0;
}

.ccpx-responder-text {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--ccpx-text-secondary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccpx-responder-close {
  padding: 8px;
  background: none;
  border: none;
  color: #8b95a5;
  color: var(--ccpx-text-muted);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  transition: all var(--ccpx-transition-fast);
  display: flex;
  align-items: center;
}

.ccpx-responder-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #e74c3c;
  color: var(--ccpx-error);
}

/* ============================================
   INPUT CONTAINER
============================================ */
.ccpx-input-container {
  background: rgba(20, 20, 20, 0.95);
  background: var(--ccpx-bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--ccpx-border);
  padding: 18px 28px;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.2);
}

.ccpx-input-form {
  max-width: 1200px;
  margin: 0 auto;
}

.ccpx-input-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--ccpx-border);
  border-radius: 14px;
  padding: 10px 14px;
  transition: all 0.3s ease;
  transition: all var(--ccpx-transition-normal);
  position: relative;
}

.ccpx-input-wrapper:focus-within {
  border-color: #d4af37;
  border-color: var(--ccpx-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.ccpx-emoji-button {
  padding: 10px;
  background: none;
  border: none;
  color: #8b95a5;
  color: var(--ccpx-text-muted);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  transition: all var(--ccpx-transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ccpx-emoji-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  color: #d4af37;
  color: var(--ccpx-gold);
  transform: scale(1.05);
}

.ccpx-emoji-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ccpx-emoji-picker-wrapper {
  position: absolute;
  bottom: 100%;
  left: 14px;
  margin-bottom: 14px;
  z-index: 1000;
  animation: ccpx-popInScale 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes ccpx-popInScale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.ccpx-input-field {
  flex: 1 1;
  background: none;
  border: none;
  outline: none;
  color: #e9ecef;
  color: var(--ccpx-text-primary);
  font-size: 16px;
  font-family: inherit;
  resize: none;
  max-height: 120px;
  min-height: 26px;
  line-height: 1.6;
  padding: 6px 0;
}

.ccpx-input-field::placeholder {
  color: #8b95a5;
  color: var(--ccpx-text-muted);
}

.ccpx-input-field::-webkit-scrollbar {
  width: 7px;
}

.ccpx-input-field::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 4px;
}

.ccpx-send-button {
  padding: 12px 14px;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  background: linear-gradient(135deg, var(--ccpx-gold) 0%, var(--ccpx-gold-dark) 100%);
  border: none;
  border-radius: 10px;
  color: #0a0a0a;
  cursor: pointer;
  transition: all 0.3s ease;
  transition: all var(--ccpx-transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--ccpx-shadow-md);
}

.ccpx-send-button:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  box-shadow: var(--ccpx-shadow-lg);
  background: linear-gradient(135deg, #f0d574 0%, #d4af37 100%);
  background: linear-gradient(135deg, var(--ccpx-gold-light) 0%, var(--ccpx-gold) 100%);
}

.ccpx-send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.ccpx-send-admin {
  background: linear-gradient(135deg, #8b6e94 0%, #6b4e71 100%);
}

.ccpx-send-admin:hover:not(:disabled) {
  background: linear-gradient(135deg, #9b7fa3 0%, #8b6e94 100%);
}

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

/* ============================================
   MODAL DE IMAGEN
============================================ */
.ccpx-image-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 48px;
  animation: ccpx-fadeIn 0.3s ease-out;
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

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

.ccpx-image-modal-content {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ccpx-image-modal-close {
  position: absolute;
  top: -60px;
  right: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--ccpx-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--ccpx-text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  transition: all var(--ccpx-transition-normal);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.ccpx-image-modal-close:hover {
  background: #e74c3c;
  background: var(--ccpx-error);
  border-color: #e74c3c;
  border-color: var(--ccpx-error);
  transform: rotate(90deg) scale(1.1);
}

.ccpx-image-modal-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  box-shadow: var(--ccpx-shadow-xl);
}

.ccpx-image-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.ccpx-image-modal-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--ccpx-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--ccpx-text-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  transition: all var(--ccpx-transition-normal);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.ccpx-image-modal-button:hover {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  background: linear-gradient(135deg, var(--ccpx-gold) 0%, var(--ccpx-gold-dark) 100%);
  border-color: #d4af37;
  border-color: var(--ccpx-gold);
  color: #0a0a0a;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  box-shadow: var(--ccpx-shadow-lg);
}

/* ============================================
   ACCESIBILIDAD
============================================ */
.ccpx-container *:focus-visible {
  outline: 3px solid #d4af37;
  outline: 3px solid var(--ccpx-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================
   UTILIDADES
============================================ */
.ccpx-text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccpx-hidden {
  display: none !important;
}

.ccpx-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   RESPONSIVE - MÓVIL
============================================ */
@media (max-width: 768px) {
  /* Botón toggle para abrir detalles */
  .ccpx-toggle-detalles-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(25, 25, 25, 0.9) 100%);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid var(--ccpx-border);
    color: #e9ecef;
    color: var(--ccpx-text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    position: relative;
  }

  .ccpx-toggle-detalles-mobile:active {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.95) 0%, rgba(35, 35, 35, 0.9) 100%);
    transform: scale(0.98);
  }

  .ccpx-toggle-thumb {
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #d4af37;
    border: 2px solid var(--ccpx-gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
  }

  .ccpx-toggle-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1;
    min-width: 0;
  }

  .ccpx-toggle-info svg {
    color: #d4af37;
    color: var(--ccpx-gold);
    flex-shrink: 0;
  }

  .ccpx-toggle-info span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ccpx-badge-mini {
    display: block;
    font-size: 20px;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* TICKET SOPORTE dentro del toggle en móvil (que ocupe todo ancho) */
  .ccpx-toggle-detalles-mobile .ccpx-ticket-btn {
    margin-left: 12px;
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.35);
  }

  /* Barra de info se vuelve modal inferior */
  .ccpx-pedido-info-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-height: 80vh;
    overflow-y: auto;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-bottom: none;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
    padding: 0;
    background: linear-gradient(to bottom, rgba(25, 25, 25, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
  }

  .ccpx-pedido-info-bar::-webkit-scrollbar {
    width: 6px;
  }

  .ccpx-pedido-info-bar::-webkit-scrollbar-track {
    background: transparent;
  }

  .ccpx-pedido-info-bar::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 3px;
  }

  .ccpx-pedido-info-bar.ccpx-modal-active {
    transform: translateY(0);
  }

  .ccpx-pedido-info-content {
    flex-direction: column;
    gap: 16px;
    padding: 64px 20px 32px 20px;
    align-items: stretch;
    min-width: auto;
  }

  /* Header del modal de detalles */
  .ccpx-detalles-header-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid var(--ccpx-border);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    z-index: 10;
  }

  .ccpx-detalles-header-mobile::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
  }

  .ccpx-detalles-header-mobile h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #d4af37;
    color: var(--ccpx-gold);
    text-align: center;
    letter-spacing: 0.5px;
  }

  /* Botón cerrar modal detalles */
  .ccpx-close-detalles-mobile {
    display: flex;
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border: 1px solid var(--ccpx-border);
    border-radius: 50%;
    color: #e9ecef;
    color: var(--ccpx-text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 11;
  }

  .ccpx-close-detalles-mobile:hover {
    background: #e74c3c;
    background: var(--ccpx-error);
    border-color: #e74c3c;
    border-color: var(--ccpx-error);
    transform: rotate(90deg) scale(1.1);
  }

  .ccpx-close-detalles-mobile:active {
    transform: rotate(90deg) scale(0.95);
  }

  /* Imagen del producto en el modal */
  .ccpx-pedido-imagen-wrapper {
    width: 100%;
    height: 160px;
    border-radius: 18px;
    margin-bottom: 12px;
    align-self: center;
    max-width: 240px;
    border: 3px solid #d4af37;
    border: 3px solid var(--ccpx-gold);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
  }

  .ccpx-pedido-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
  }

  .ccpx-pedido-info-item {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
  }

  .ccpx-pedido-info-item:active {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(0.98);
  }

  .ccpx-pedido-info-item svg {
    align-self: flex-start;
  }

  .ccpx-pedido-info-label {
    font-size: 13px;
    color: #8b95a5;
    color: var(--ccpx-text-muted);
    font-weight: 500;
  }

  .ccpx-pedido-info-value {
    font-size: 16px;
    font-weight: 600;
    color: #e9ecef;
    color: var(--ccpx-text-primary);
    word-break: break-word;
  }

  .ccpx-pedido-info-price {
    font-size: 22px;
    font-weight: 700;
    color: #d4af37;
    color: var(--ccpx-gold);
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
  }

  .ccpx-pedido-badge {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 15px;
    border-radius: 12px;
  }

  .ccpx-badge-emoji {
    font-size: 18px;
  }

  /* Botón TICKET dentro del modal en móvil (full width) */
  .ccpx-pedido-info-content .ccpx-ticket-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
    margin-top: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    justify-content: center;
  }

  .ccpx-pedido-info-content .ccpx-ticket-btn::before {
    font-size: 18px;
  }

  .ccpx-pedido-info-content .ccpx-ticket-btn:active {
    transform: translateY(-1px) scale(0.98);
  }

  /* Overlay oscuro para cerrar modal detalles */
  .ccpx-overlay-detalles {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9998;
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
    animation: ccpx-fadeIn 0.3s ease-out;
  }

  /* Header móvil del chat */
  .ccpx-header {
    padding: 12px 14px;
  }

  .ccpx-back-button span {
    display: none;
  }

  .ccpx-header-logo,
  .ccpx-header-avatar {
    width: 40px;
    height: 40px;
  }

  .ccpx-header-title {
    font-size: 15px;
  }

  .ccpx-header-subtitle {
    font-size: 12px;
  }

  /* Chat móvil */
  .ccpx-mensajes-lista {
    padding: 18px 14px 24px 14px;
  }

  .ccpx-mensaje-content {
    max-width: 80%;
  }

  .ccpx-mensaje-avatar {
    width: 36px;
    height: 36px;
  }

  .ccpx-mensaje-bubble {
    padding: 12px 15px;
  }

  .ccpx-mensaje-texto {
    font-size: 15px;
  }

  .ccpx-mensaje-imagen {
    max-width: 260px;
    max-height: 260px;
  }

  /* Input móvil */
  .ccpx-input-container {
    padding: 14px;
  }

  .ccpx-input-field {
    font-size: 16px;
  }

  /* Acciones siempre visibles en móvil */
  .ccpx-mensaje-acciones {
    opacity: 1;
  }

  /* Notificación móvil */
  .ccpx-notificacion {
    top: 14px;
    right: 14px;
    left: 14px;
    min-width: auto;
    max-width: none;
  }

  /* Modal imagen móvil */
  .ccpx-image-modal {
    padding: 20px;
  }

  .ccpx-image-modal-close {
    top: -50px;
  }

  .ccpx-image-modal-img {
    max-height: 70vh;
  }

  .ccpx-image-modal-actions {
    flex-direction: column;
  }

  .ccpx-image-modal-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .ccpx-toggle-thumb {
    width: 38px;
    height: 38px;
  }

  .ccpx-pedido-info-bar {
    max-height: 75vh;
  }

  .ccpx-pedido-imagen-wrapper {
    height: 140px;
    max-width: 200px;
  }

  .ccpx-mensaje-content {
    max-width: 82%;
  }
}

@media (max-width: 375px) {
  .ccpx-toggle-thumb {
    width: 36px;
    height: 36px;
  }

  .ccpx-mensaje-texto {
    font-size: 14px;
  }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
  .ccpx-back-button,
  .ccpx-header-btn,
  .ccpx-accion-btn,
  .ccpx-emoji-button,
  .ccpx-send-button {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ============================================
   MI PERFIL - DARK MODE PROFESSIONAL
   Solo modo PC - Estilo Noodle Store
   ============================================ */

/* ============================================
   VARIABLES
   ============================================ */
:root {
  --mp-bg-primary: #0a0a0a;
  --mp-bg-secondary: rgba(10, 10, 10, 0.98);
  --mp-border-color: rgba(255, 255, 255, 0.12);
  --mp-text-primary: #e9ecef;
  --mp-text-secondary: #b7bcc4;
  --mp-accent-gold: #d4af37;
  --mp-accent-red: #e50914;
  --mp-accent-red-light: #ff1a25;
  --mp-accent-purple: #7c5cff;
  --mp-accent-cyan: #4dd2ff;
  --mp-success-green: #27ae60;
}

/* ============================================
   CONTAINER
   ============================================ */
.mp-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--mp-bg-primary);
  font-family: 'Rajdhani', sans-serif;
  position: relative;
  overflow-x: hidden;
}

.mp-container::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(229, 9, 20, 0.03) 0%, transparent 50%);
  pointer-events: none;
  animation: mp-particles 20s ease-in-out infinite;
  z-index: 0;
}

@keyframes mp-particles {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

/* ============================================
   NAVBAR
   ============================================ */
.mp-navbar {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--mp-bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--mp-border-color);
  padding: 12px 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mp-navbar-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo con animación */
.mp-navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mp-navbar-logo:hover {
  transform: translateY(-2px);
}

.mp-logo-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #d4af37;
  border: 2px solid var(--mp-accent-gold);
}

.mp-logo-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%
  );
  animation: mp-logoShine 3s ease-in-out infinite;
}

@keyframes mp-logoShine {
  0%, 100% { transform: translate(-100%, -100%) rotate(45deg); }
  50% { transform: translate(100%, 100%) rotate(45deg); }
}

.mp-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mp-logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--mp-accent-gold), #f0d574);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1.5px;
  animation: mp-textShine 2s ease-in-out infinite;
}

@keyframes mp-textShine {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

/* Navegación derecha */
.mp-navbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mp-nav-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--mp-border-color);
  border-radius: 8px;
  color: #e9ecef;
  color: var(--mp-text-primary);
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mp-nav-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--mp-accent-gold);
  transform: translateY(-2px);
}

.mp-nav-button.active {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--mp-accent-red), var(--mp-accent-red-light));
  border: none;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.mp-nav-button.logout {
  background: transparent;
  border-color: #e50914;
  border-color: var(--mp-accent-red);
  color: #e50914;
  color: var(--mp-accent-red);
  padding: 10px;
}

.mp-nav-button.logout:hover {
  background: #e50914;
  background: var(--mp-accent-red);
  color: white;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.mp-main {
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.mp-main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   TÍTULO SECTION
   ============================================ */
.mp-title-section {
  text-align: center;
  margin-bottom: 40px;
  animation: mp-fade-in 0.6s ease-out;
}

@keyframes mp-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mp-title-icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--mp-accent-gold), #f0d574);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  color: var(--mp-bg-primary);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.5);
  animation: mp-icon-float 3s ease-in-out infinite;
}

@keyframes mp-icon-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

.mp-title {
  font-family: 'Orbitron', monospace;
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--mp-accent-gold), #f0d574);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 12px 0;
  letter-spacing: 2px;
  animation: mp-textShine 2s ease-in-out infinite;
}

.mp-subtitle {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--mp-text-secondary);
  font-weight: 500;
}

/* ============================================
   MENSAJE
   ============================================ */
.mp-mensaje {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 12px;
  margin-bottom: 28px;
  font-weight: 600;
  font-size: 15px;
  animation: mp-mensaje-slide 0.4s ease-out;
  border: 2px solid;
}

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

.mp-mensaje-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mp-mensaje-text {
  flex: 1 1;
}

.mp-mensaje-success {
  background: rgba(39, 174, 96, 0.1);
  border-color: #27ae60;
  border-color: var(--mp-success-green);
  color: #27ae60;
  color: var(--mp-success-green);
}

.mp-mensaje-error {
  background: rgba(229, 9, 20, 0.1);
  border-color: #e50914;
  border-color: var(--mp-accent-red);
  color: #ff1a25;
  color: var(--mp-accent-red-light);
}

/* ============================================
   CARDS CONTAINER
   ============================================ */
.mp-cards-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ============================================
   CARD CON BORDE LED
   ============================================ */
.mp-card-wrapper {
  position: relative;
  border-radius: 20px;
  padding: 3px;
  animation: mp-card-entry 0.6s ease-out;
}

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

.mp-card-led-border {
  position: absolute;
  inset: -3px;
  border-radius: 20px;
  background: linear-gradient(90deg, #d4af37, #e50914, #7c5cff, #4dd2ff, #d4af37);
  background: linear-gradient(90deg, var(--mp-accent-gold), var(--mp-accent-red), var(--mp-accent-purple), var(--mp-accent-cyan), var(--mp-accent-gold));
  background-size: 400% 400%;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: mp-ledChase 3s linear infinite;
  z-index: 0;
}

@keyframes mp-ledChase {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

.mp-card-wrapper:hover .mp-card-led-border {
  opacity: 0.8;
}

.mp-card-led-danger {
  background: linear-gradient(90deg, #e50914, #ff1a25, #e50914);
  background: linear-gradient(90deg, var(--mp-accent-red), var(--mp-accent-red-light), var(--mp-accent-red));
  background-size: 200% 200%;
}

.mp-card {
  position: relative;
  background: rgba(10, 10, 10, 0.98);
  background: var(--mp-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--mp-border-color);
  border-radius: 17px;
  padding: 32px;
  z-index: 1;
  transition: all 0.3s ease;
}

.mp-card:hover {
  border-color: transparent;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* ============================================
   CARD HEADER
   ============================================ */
.mp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--mp-border-color);
}

.mp-card-title-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mp-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--mp-accent-gold), #f0d574);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  color: var(--mp-bg-primary);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  animation: mp-icon-float 3s ease-in-out infinite;
}

.mp-card-icon-danger {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--mp-accent-red), var(--mp-accent-red-light));
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
}

.mp-card-title {
  font-size: 24px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  color: #e9ecef;
  color: var(--mp-text-primary);
  margin: 0;
  letter-spacing: 1px;
}

.mp-edit-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--mp-border-color);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--mp-text-primary);
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mp-edit-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--mp-accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* ============================================
   FORMULARIO
   ============================================ */
.mp-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mp-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mp-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--mp-text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mp-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--mp-border-color);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--mp-text-primary);
  font-size: 15px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mp-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--mp-accent-gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.mp-input-disabled {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
  color: #b7bcc4;
  color: var(--mp-text-secondary);
  cursor: not-allowed;
}

.mp-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #b7bcc4;
  color: var(--mp-text-secondary);
  font-weight: 500;
}

/* Password wrapper */
.mp-password-wrapper {
  position: relative;
}

.mp-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #b7bcc4;
  color: var(--mp-text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mp-password-toggle:hover {
  color: #d4af37;
  color: var(--mp-accent-gold);
  transform: translateY(-50%) scale(1.1);
}

/* Role badge */
.mp-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  border: 2px solid #d4af37;
  border: 2px solid var(--mp-accent-gold);
  border-radius: 10px;
  color: #d4af37;
  color: var(--mp-accent-gold);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   BOTONES
   ============================================ */
.mp-button-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
  margin-top: 8px;
}

.mp-save-button,
.mp-cancel-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.mp-save-button {
  background: linear-gradient(135deg, #27ae60, #1e8449);
  background: linear-gradient(135deg, var(--mp-success-green), #1e8449);
  color: white;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.mp-save-button:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.6);
}

.mp-save-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.mp-cancel-button {
  background: transparent;
  color: #e9ecef;
  color: var(--mp-text-primary);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--mp-border-color);
}

.mp-cancel-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--mp-accent-gold);
  transform: translateY(-3px);
}

/* ============================================
   PASSWORD INFO
   ============================================ */
.mp-password-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 20px;
  text-align: center;
  color: #b7bcc4;
  color: var(--mp-text-secondary);
  line-height: 1.6;
}

.mp-password-info svg {
  color: #d4af37;
  color: var(--mp-accent-gold);
  animation: mp-icon-float 3s ease-in-out infinite;
}

/* ============================================
   INFO LIST
   ============================================ */
.mp-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mp-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--mp-border-color);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.mp-info-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mp-info-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #b7bcc4;
  color: var(--mp-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mp-info-value {
  font-size: 15px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--mp-text-primary);
  font-family: 'Rajdhani', sans-serif;
}

.mp-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mp-badge-success {
  background: rgba(39, 174, 96, 0.15);
  border: 2px solid #27ae60;
  border: 2px solid var(--mp-success-green);
  color: #27ae60;
  color: var(--mp-success-green);
}

.mp-badge-error {
  background: rgba(229, 9, 20, 0.15);
  border: 2px solid #e50914;
  border: 2px solid var(--mp-accent-red);
  color: #ff1a25;
  color: var(--mp-accent-red-light);
}

/* ============================================
   LOGOUT CARD
   ============================================ */
.mp-card-logout-wrapper .mp-card {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.05), rgba(229, 9, 20, 0.02));
}

.mp-logout-info {
  color: #b7bcc4;
  color: var(--mp-text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.mp-logout-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--mp-accent-red), var(--mp-accent-red-light));
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 700;
  font-size: 16px;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
}

.mp-logout-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(229, 9, 20, 0.6);
}

/* ==========================================
   TARJETA 3D VIP AFILIADO - PERFIL
   ========================================== */

.mp-afiliado-card-3d-container {
  width: 100%;
  display: flex;
  justify-content: center;
  perspective: 1000px;
  margin-top: 12px;
}

.mp-afiliado-card-3d {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 240px;
  transform-style: preserve-3d;
  animation: mp-rotate-card 20s linear infinite;
}

@keyframes mp-rotate-card {
  0% { transform: rotateY(0deg) rotateX(5deg); }
  50% { transform: rotateY(10deg) rotateX(-5deg); }
  100% { transform: rotateY(0deg) rotateX(5deg); }
}

.mp-afiliado-card-front {
  width: 100%;
  height: 100%;
  padding: 24px;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(25, 25, 25, 0.98) 100%);
  border-radius: 20px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(212, 175, 55, 0.3);
  border: 2px solid var(--noodle-gold);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.mp-afiliado-card-front::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  animation: mp-shimmer 3s ease-in-out infinite;
}

@keyframes mp-shimmer {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30%, -30%); }
}

.mp-afiliado-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  color: var(--noodle-gold);
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.5);
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

.mp-afiliado-card-header svg {
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.6));
  animation: mp-crown-glow 2s ease-in-out infinite;
}

@keyframes mp-crown-glow {
  0%, 100% {
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.6));
  }
  50% {
    filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 1));
  }
}

.mp-afiliado-card-body {
  position: relative;
  z-index: 2;
}

.mp-afiliado-card-chip {
  width: 50px;
  height: 40px;
  background: linear-gradient(135deg, var(--noodle-gold), var(--noodle-gold-light));
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  position: relative;
  margin-bottom: 16px;
}

.mp-afiliado-card-chip::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.mp-afiliado-card-email {
  font-size: 16px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.1em;
  color: var(--noodle-text-primary);
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
  margin: 0;
  word-break: break-all;
}

.mp-afiliado-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 2;
}

.mp-afiliado-card-date {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mp-card-label {
  font-size: 9px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  color: var(--noodle-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mp-card-value {
  font-size: 14px;
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  color: var(--noodle-gold);
  letter-spacing: 1px;
}

.mp-afiliado-infinity {
  font-size: 48px;
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  color: var(--noodle-gold);
  line-height: 1;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
  animation: mp-infinity-glow 2s ease-in-out infinite;
}

@keyframes mp-infinity-glow {
  0%, 100% {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 30px rgba(212, 175, 55, 1);
    transform: scale(1.05);
  }
}

/* Hover Effect */
.mp-afiliado-card-3d:hover .mp-afiliado-card-front {
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.95),
    0 0 60px rgba(212, 175, 55, 0.5);
  border-color: var(--noodle-gold-light);
}

/* ==========================================
   RESPONSIVE - TARJETA 3D
   ========================================== */
@media (max-width: 768px) {
  .mp-afiliado-card-3d {
    max-width: 100%;
    height: 220px;
  }

  .mp-afiliado-card-front {
    padding: 20px;
  }

  .mp-afiliado-card-header {
    font-size: 14px;
  }

  .mp-afiliado-card-header svg {
    width: 24px;
    height: 24px;
  }

  .mp-afiliado-card-chip {
    width: 45px;
    height: 35px;
    margin-bottom: 12px;
  }

  .mp-afiliado-card-email {
    font-size: 14px;
  }

  .mp-card-label {
    font-size: 8px;
  }

  .mp-card-value {
    font-size: 12px;
  }

  .mp-afiliado-infinity {
    font-size: 40px;
  }
}

@media (max-width: 480px) {
  .mp-afiliado-card-3d {
    height: 200px;
  }

  .mp-afiliado-card-front {
    padding: 16px;
  }

  .mp-afiliado-card-email {
    font-size: 12px;
  }

  .mp-afiliado-infinity {
    font-size: 36px;
  }
}

/* ==========================================
   FIN - TARJETA 3D VIP
   ========================================== */

/* ============================================
   MIPERFIL - MOBILE CSS (SOLO AJUSTES)
   NO toca animaciones ni estilos existentes
   ============================================ */

@media (max-width: 768px) {
  /* Solo ajustar tamaños y layouts */
  
  .mp-navbar-content {
    padding: 0 16px;
  }

  .mp-logo-wrapper {
    width: 36px;
    height: 36px;
  }

  .mp-logo-text {
    font-size: 16px;
  }

  .mp-navbar-right {
    gap: 6px;
  }

  .mp-nav-button span {
    display: none;
  }

  .mp-nav-button {
    padding: 10px;
  }

  .mp-main {
    padding: 24px 0;
  }

  .mp-main-content {
    padding: 0 16px;
  }

  .mp-title-icon-wrapper {
    width: 80px;
    height: 80px;
  }

  .mp-title {
    font-size: 32px;
  }

  .mp-subtitle {
    font-size: 14px;
  }

  .mp-mensaje {
    padding: 16px;
    font-size: 14px;
  }

  .mp-card {
    padding: 20px;
  }

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

  .mp-card-icon {
    width: 50px;
    height: 50px;
  }

  .mp-card-title {
    font-size: 20px;
  }

  .mp-edit-button {
    width: 100%;
  }

  .mp-input {
    padding: 12px 14px;
    font-size: 14px;
  }

  .mp-button-group {
    grid-template-columns: 1fr;
  }

  .mp-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .mp-main-content {
    padding: 0 12px;
  }

  .mp-title {
    font-size: 28px;
  }

  .mp-card {
    padding: 16px;
  }
}

/* ============================================
   MI BILLETERA - DARK MODE PROFESSIONAL V4
   Con círculo logo, solicitudes y movimientos
   ============================================ */

/* ============================================
   VARIABLES
   ============================================ */
:root {
  --cbwx-bg-primary: #0a0a0a;
  --cbwx-bg-secondary: rgba(10, 10, 10, 0.98);
  --cbwx-border-color: rgba(255, 255, 255, 0.12);
  --cbwx-text-primary: #e9ecef;
  --cbwx-text-secondary: #b7bcc4;
  --cbwx-accent-gold: #d4af37;
  --cbwx-accent-red: #e50914;
  --cbwx-accent-red-light: #ff1a25;
  --cbwx-accent-purple: #7c5cff;
  --cbwx-accent-cyan: #4dd2ff;
  --cbwx-success-green: #27ae60;
  --cbwx-warning-orange: #f39c12;
  --cbwx-error-red: #e74c3c;
}

/* ============================================
   CONTAINER
   ============================================ */
.cbwx-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--cbwx-bg-primary);
  font-family: 'Rajdhani', sans-serif;
  position: relative;
  overflow-x: hidden;
}

.cbwx-container::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(229, 9, 20, 0.03) 0%, transparent 50%);
  pointer-events: none;
  animation: cbwx-particles 20s ease-in-out infinite;
  z-index: 0;
}

@keyframes cbwx-particles {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

/* ============================================
   NAVBAR
   ============================================ */
.cbwx-navbar {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--cbwx-bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--cbwx-border-color);
  padding: 12px 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.cbwx-navbar-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cbwx-navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cbwx-navbar-logo:hover {
  transform: translateY(-2px);
}

.cbwx-logo-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #d4af37;
  border: 2px solid var(--cbwx-accent-gold);
}

.cbwx-logo-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%
  );
  animation: cbwx-logoShine 3s ease-in-out infinite;
}

@keyframes cbwx-logoShine {
  0%, 100% { transform: translate(-100%, -100%) rotate(45deg); }
  50% { transform: translate(100%, 100%) rotate(45deg); }
}

.cbwx-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cbwx-logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cbwx-accent-gold), #f0d574);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1.5px;
}

.cbwx-navbar-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cbwx-navbar-menu.desktop {
  display: flex;
}

.cbwx-navbar-menu.mobile {
  display: none;
}

.cbwx-menu-toggle {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  cursor: pointer;
  padding: 8px;
  display: none;
  transition: all 0.3s ease;
}

.cbwx-menu-toggle:hover {
  color: #d4af37;
  color: var(--cbwx-accent-gold);
  transform: scale(1.1);
}

.cbwx-nav-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cbwx-border-color);
  border-radius: 8px;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cbwx-nav-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--cbwx-accent-gold);
  transform: translateY(-2px);
}

.cbwx-nav-button.active {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--cbwx-accent-red), var(--cbwx-accent-red-light));
  border: none;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.cbwx-nav-button.logout {
  background: transparent;
  border-color: #e50914;
  border-color: var(--cbwx-accent-red);
  color: #e50914;
  color: var(--cbwx-accent-red);
  padding: 10px;
}

.cbwx-nav-button.logout:hover {
  background: #e50914;
  background: var(--cbwx-accent-red);
  color: white;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

.cbwx-mobile-menu {
  background: rgba(10, 10, 10, 0.98);
  background: var(--cbwx-bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--cbwx-border-color);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: cbwx-slideDown 0.3s ease;
}

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

.cbwx-mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cbwx-border-color);
  border-radius: 8px;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.cbwx-mobile-menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--cbwx-accent-gold);
  transform: translateX(5px);
}

.cbwx-mobile-menu-item.active {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--cbwx-accent-red), var(--cbwx-accent-red-light));
  border: none;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.cbwx-mobile-menu-item.logout {
  background: transparent;
  border-color: #e50914;
  border-color: var(--cbwx-accent-red);
  color: #e50914;
  color: var(--cbwx-accent-red);
}

.cbwx-mobile-menu-item.logout:hover {
  background: #e50914;
  background: var(--cbwx-accent-red);
  color: white;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

/* ============================================
   MAIN
   ============================================ */
.cbwx-main {
  padding: 32px 0;
  position: relative;
  z-index: 1;
}

.cbwx-main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ============================================
   HEADER
   ============================================ */
.cbwx-header {
  animation: cbwx-fadeIn 0.6s ease;
}

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

.cbwx-header-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cbwx-header-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cbwx-accent-gold), #f0d574);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  color: var(--cbwx-bg-primary);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  animation: cbwx-iconFloat 3s ease-in-out infinite;
}

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

.cbwx-header-title {
  font-size: 32px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  margin: 0 0 4px 0;
  letter-spacing: 1px;
}

.cbwx-header-subtitle {
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
  font-size: 14px;
  margin: 0;
}

/* ============================================
   TARJETA DE SALDO CON CÍRCULO
   ============================================ */
.cbwx-saldo-card {
  position: relative;
  background: rgba(10, 10, 10, 0.98);
  background: var(--cbwx-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cbwx-border-color);
  border-radius: 16px;
  padding: 32px;
  animation: cbwx-fadeIn 0.8s ease 0.2s both;
  overflow: hidden;
}

.cbwx-saldo-card::before,
.cbwx-saldo-card::after {
  content: '';
  position: absolute;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, 
    #d4af37, 
    #e50914, 
    #7c5cff, 
    #4dd2ff, 
    #d4af37
  );
  background: linear-gradient(180deg, 
    var(--cbwx-accent-gold), 
    var(--cbwx-accent-red), 
    var(--cbwx-accent-purple), 
    var(--cbwx-accent-cyan), 
    var(--cbwx-accent-gold)
  );
  background-size: 100% 400%;
  animation: cbwx-ledVertical 3s linear infinite;
}

.cbwx-saldo-card::before {
  left: 0;
  border-radius: 16px 0 0 16px;
}

.cbwx-saldo-card::after {
  right: 0;
  border-radius: 0 16px 16px 0;
  animation-delay: 1.5s;
}

@keyframes cbwx-ledVertical {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 400%; }
}

.cbwx-saldo-header {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

.cbwx-saldo-icon-circle {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  color: var(--cbwx-bg-primary);
  animation: cbwx-iconFloat 3s ease-in-out infinite;
  flex-shrink: 0;
}

.cbwx-saldo-logo-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.cbwx-saldo-icon-circle.error .cbwx-saldo-logo-circle {
  display: none;
}

.cbwx-saldo-icon-circle svg {
  display: none;
}

.cbwx-saldo-icon-circle.error svg {
  display: block;
}

.cbwx-saldo-info {
  flex: 1 1;
}

.cbwx-saldo-label {
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.cbwx-saldo-amount {
  font-family: 'Orbitron', monospace;
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cbwx-accent-gold), #f0d574);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

/* ============================================
   BOTÓN CIRCULAR SOLICITAR RECARGA (ANIMACIÓN)
   ============================================ */
.cbwx-btn-recargar-circular {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cbwx-accent-gold), #f0d574);
  border: none;
  color: #0a0a0a;
  color: var(--cbwx-bg-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  animation: cbwx-btnPulse 2s ease-in-out infinite;
}

@keyframes cbwx-btnPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.7);
  }
}

.cbwx-btn-recargar-circular:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 15px 45px rgba(212, 175, 55, 0.8);
  animation: none;
}

.cbwx-btn-circular-logo {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cbwx-circular-logo-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.cbwx-btn-circular-logo.error .cbwx-circular-logo-img {
  display: none;
}

.cbwx-btn-circular-logo svg {
  display: none;
  z-index: 1;
}

.cbwx-btn-circular-logo.error svg {
  display: block;
  z-index: 1;
}

/* ============================================
   ESTADÍSTICAS CON ANIMACIÓN LED
   ============================================ */
.cbwx-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  gap: 20px;
  animation: cbwx-fadeIn 1s ease 0.4s both;
}

.cbwx-stat-card {
  position: relative;
  background: rgba(10, 10, 10, 0.98);
  background: var(--cbwx-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cbwx-border-color);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.cbwx-stat-card::before,
.cbwx-stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, 
    #d4af37, 
    #e50914, 
    #7c5cff, 
    #4dd2ff, 
    #d4af37
  );
  background: linear-gradient(180deg, 
    var(--cbwx-accent-gold), 
    var(--cbwx-accent-red), 
    var(--cbwx-accent-purple), 
    var(--cbwx-accent-cyan), 
    var(--cbwx-accent-gold)
  );
  background-size: 100% 400%;
  animation: cbwx-ledVertical 3s linear infinite;
}

.cbwx-stat-card::before {
  left: 0;
  border-radius: 16px 0 0 16px;
}

.cbwx-stat-card::after {
  right: 0;
  border-radius: 0 16px 16px 0;
  animation-delay: 1.5s;
}

.cbwx-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.cbwx-stat-icon {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.cbwx-stat-card:hover .cbwx-stat-icon {
  transform: scale(1.1) rotate(5deg);
}

.cbwx-stat-content {
  flex: 1 1;
}

.cbwx-stat-label {
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.cbwx-stat-value {
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  font-size: 28px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ============================================
   SECCIÓN GENERAL
   ============================================ */
.cbwx-section {
  background: rgba(10, 10, 10, 0.98);
  background: var(--cbwx-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cbwx-border-color);
  border-radius: 16px;
  padding: 28px;
  animation: cbwx-fadeIn 1.2s ease 0.6s both;
}

.cbwx-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.cbwx-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cbwx-section-title svg {
  color: #d4af37;
  color: var(--cbwx-accent-gold);
  animation: cbwx-iconFloat 3s ease-in-out infinite;
}

.cbwx-section-title h3 {
  font-size: 24px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  margin: 0;
  letter-spacing: 1px;
}

.cbwx-section-badge {
  padding: 6px 14px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cbwx-accent-gold), #f0d574);
  border-radius: 20px;
  color: #0a0a0a;
  color: var(--cbwx-bg-primary);
  font-weight: 700;
  font-size: 13px;
  font-family: 'Orbitron', monospace;
}


/* ============================================
   FILTROS
   ============================================ */
.cbwx-filtros {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cbwx-filtro-btn {
  padding: 10px 20px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--cbwx-border-color);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cbwx-filtro-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--cbwx-accent-gold);
  transform: translateY(-2px);
}

.cbwx-filtro-btn.active {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cbwx-accent-gold), #f0d574);
  border-color: transparent;
  color: #0a0a0a;
  color: var(--cbwx-bg-primary);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
}

/* ============================================
   SOLICITUDES
   ============================================ */
.cbwx-solicitudes-lista {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cbwx-solicitud-card {
  position: relative;
  background: rgba(10, 10, 10, 0.98);
  background: var(--cbwx-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cbwx-border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cbwx-solicitud-card::before,
.cbwx-solicitud-card::after {
  content: '';
  position: absolute;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, 
    #d4af37, 
    #e50914, 
    #7c5cff, 
    #4dd2ff, 
    #d4af37
  );
  background: linear-gradient(180deg, 
    var(--cbwx-accent-gold), 
    var(--cbwx-accent-red), 
    var(--cbwx-accent-purple), 
    var(--cbwx-accent-cyan), 
    var(--cbwx-accent-gold)
  );
  background-size: 100% 400%;
  animation: cbwx-ledVertical 3s linear infinite;
  opacity: 0.6;
}

.cbwx-solicitud-card::before {
  left: 0;
}

.cbwx-solicitud-card::after {
  right: 0;
  animation-delay: 1.5s;
}

.cbwx-solicitud-card:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.cbwx-solicitud-card.expandida {
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.cbwx-solicitud-card.expandida::before,
.cbwx-solicitud-card.expandida::after {
  opacity: 1;
}

.cbwx-solicitud-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cbwx-solicitud-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.cbwx-solicitud-numero {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cbwx-accent-gold), #f0d574);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: 18px;
  font-weight: 900;
  color: #0a0a0a;
  color: var(--cbwx-bg-primary);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  flex-shrink: 0;
}

.cbwx-solicitud-info {
  flex: 1 1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cbwx-solicitud-ticket,
.cbwx-solicitud-monto,
.cbwx-solicitud-metodo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
}

.cbwx-solicitud-ticket svg {
  color: #d4af37;
  color: var(--cbwx-accent-gold);
}

.cbwx-solicitud-monto svg {
  color: #4dd2ff;
  color: var(--cbwx-accent-cyan);
}

.cbwx-solicitud-metodo svg {
  color: #7c5cff;
  color: var(--cbwx-accent-purple);
}

.cbwx-solicitud-fecha {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
  white-space: nowrap;
}

.cbwx-solicitud-estado {
  padding: 8px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.cbwx-toggle-btn {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
  border-radius: 6px;
  flex-shrink: 0;
}

.cbwx-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.cbwx-solicitud-detalles {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--cbwx-border-color);
  background: rgba(255, 255, 255, 0.02);
  animation: cbwx-slideDown 0.3s ease;
}

.cbwx-detalles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 20px;
}

.cbwx-detalle-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cbwx-detalle-item label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
}

.cbwx-detalle-item span {
  font-size: 14px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border-left: 3px solid #4dd2ff;
  border-left: 3px solid var(--cbwx-accent-cyan);
}

/* ESTADO MENSAJE */
.cbwx-estado-mensaje {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  border-left: 4px solid;
}

.cbwx-estado-mensaje svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.cbwx-estado-mensaje strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
}

.cbwx-estado-mensaje p {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
  margin: 0;
  line-height: 1.5;
}

.cbwx-estado-mensaje.pendiente {
  background: rgba(243, 156, 18, 0.1);
  border-left-color: #f39c12;
  border-left-color: var(--cbwx-warning-orange);
}

.cbwx-estado-mensaje.pendiente svg {
  color: #f39c12;
  color: var(--cbwx-warning-orange);
}

.cbwx-estado-mensaje.aprobado {
  background: rgba(39, 174, 96, 0.1);
  border-left-color: #27ae60;
  border-left-color: var(--cbwx-success-green);
}

.cbwx-estado-mensaje.aprobado svg {
  color: #27ae60;
  color: var(--cbwx-success-green);
}

.cbwx-estado-mensaje.rechazado {
  background: rgba(231, 76, 60, 0.1);
  border-left-color: #e74c3c;
  border-left-color: var(--cbwx-error-red);
}

.cbwx-estado-mensaje.rechazado svg {
  color: #e74c3c;
  color: var(--cbwx-error-red);
}

.cbwx-estado-mensaje.cerrado {
  background: rgba(127, 140, 141, 0.1);
  border-left-color: #7f8c8d;
}

.cbwx-estado-mensaje.cerrado svg {
  color: #7f8c8d;
}

.cbwx-motivo-rechazo {
  margin-top: 8px;
  padding: 10px;
  background: rgba(231, 76, 60, 0.15);
  border-radius: 6px;
  font-size: 13px;
  color: #e74c3c;
  color: var(--cbwx-error-red);
}

/* COMPROBANTE */
.cbwx-comprobante-section {
  margin-bottom: 20px;
}

.cbwx-comprobante-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cbwx-comprobante-label svg {
  color: #d4af37;
  color: var(--cbwx-accent-gold);
}

.cbwx-comprobante-preview {
  display: flex;
  justify-content: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border: 2px dashed var(--cbwx-border-color);
  border-radius: 12px;
}

.cbwx-comprobante-img {
  max-width: 250px;
  max-height: 250px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--cbwx-border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  object-fit: contain;
}

.cbwx-comprobante-img:hover {
  transform: scale(1.05);
  border-color: #d4af37;
  border-color: var(--cbwx-accent-gold);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* BOTÓN WHATSAPP */
.cbwx-btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 900;
  font-size: 15px;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.cbwx-btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* ============================================
   MOVIMIENTOS
   ============================================ */
.cbwx-movimientos-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cbwx-movimiento-card {
  background: rgba(10, 10, 10, 0.98);
  background: var(--cbwx-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cbwx-border-color);
  border-left: 4px solid;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.cbwx-movimiento-card:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.cbwx-movimiento-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.cbwx-movimiento-card:hover .cbwx-movimiento-icon {
  transform: scale(1.1) rotate(5deg);
}

.cbwx-movimiento-info {
  flex: 1 1;
}

.cbwx-movimiento-tipo {
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  margin: 0 0 4px 0;
}

.cbwx-movimiento-descripcion {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
  margin: 0 0 6px 0;
}

.cbwx-movimiento-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
}

.cbwx-movimiento-monto {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 900;
  flex-shrink: 0;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.cbwx-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border: 2px dashed var(--cbwx-border-color);
}

.cbwx-empty-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  color: var(--cbwx-accent-gold);
  animation: cbwx-iconFloat 3s ease-in-out infinite;
}

.cbwx-empty-state h3 {
  font-size: 22px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  margin: 0 0 8px 0;
}

.cbwx-empty-state p {
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
  font-size: 14px;
  margin: 0;
}

/* ============================================
   INFO CARD
   ============================================ */
.cbwx-info-card {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-left: 4px solid #d4af37;
  border-left: 4px solid var(--cbwx-accent-gold);
  border-radius: 12px;
  padding: 24px;
}

.cbwx-info-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  margin: 0 0 16px 0;
}

.cbwx-info-title svg {
  color: #d4af37;
  color: var(--cbwx-accent-gold);
}

.cbwx-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cbwx-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cbwx-info-item svg {
  color: #27ae60;
  color: var(--cbwx-success-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.cbwx-info-item span {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
  line-height: 1.5;
}

.cbwx-info-item strong {
  color: #e9ecef;
  color: var(--cbwx-text-primary);
}

/* ============================================
   MODAL DE ÉXITO
   ============================================ */
.cbwx-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  z-index: 3000;
  animation: cbwx-fadeIn 0.3s ease;
}

.cbwx-modal-exito {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background: rgba(10, 10, 10, 0.98);
  background: var(--cbwx-bg-secondary);
  border: 2px solid #d4af37;
  border: 2px solid var(--cbwx-accent-gold);
  border-radius: 20px;
  padding: 40px 32px;
  z-index: 3001;
  animation: cbwx-modalZoom 0.4s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  text-align: center;
}

@keyframes cbwx-modalZoom {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.cbwx-exito-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  background: rgba(39, 174, 96, 0.2);
  border: 4px solid #27ae60;
  border: 4px solid var(--cbwx-success-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #27ae60;
  color: var(--cbwx-success-green);
  animation: cbwx-iconPulse 2s ease-in-out infinite;
}

@keyframes cbwx-iconPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(39, 174, 96, 0);
  }
}

.cbwx-exito-titulo {
  font-size: 28px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  margin: 0 0 12px 0;
}

.cbwx-exito-texto {
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
  font-size: 15px;
  margin: 0 0 28px 0;
  line-height: 1.6;
}

.cbwx-exito-detalles {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cbwx-border-color);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.cbwx-exito-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--cbwx-border-color);
}

.cbwx-exito-item:last-child {
  border-bottom: none;
}

.cbwx-exito-item svg {
  color: #d4af37;
  color: var(--cbwx-accent-gold);
  flex-shrink: 0;
}

.cbwx-exito-item div {
  flex: 1 1;
}

.cbwx-exito-item label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
  margin-bottom: 4px;
}

.cbwx-exito-item strong {
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  font-family: 'Orbitron', monospace;
}

.cbwx-exito-alerta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-radius: 10px;
  margin-bottom: 24px;
}

.cbwx-exito-alerta svg {
  color: #f39c12;
  color: var(--cbwx-warning-orange);
  flex-shrink: 0;
}

.cbwx-exito-alerta p {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
  margin: 0;
  text-align: left;
  line-height: 1.5;
}

.cbwx-btn-entendido {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cbwx-accent-gold), #f0d574);
  border: none;
  border-radius: 12px;
  color: #0a0a0a;
  color: var(--cbwx-bg-primary);
  font-weight: 900;
  font-size: 16px;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.cbwx-btn-entendido:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

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

.cbwx-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(212, 175, 55, 0.2);
  border-top-color: #d4af37;
  border-top-color: var(--cbwx-accent-gold);
  border-radius: 50%;
  animation: cbwx-spin 0.8s linear infinite;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

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

.cbwx-loading-text {
  margin-top: 20px;
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
  font-size: 16px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .cbwx-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cbwx-detalles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cbwx-menu-toggle {
    display: block;
  }
  
  .cbwx-navbar-menu.desktop {
    display: none;
  }
  
  .cbwx-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .cbwx-saldo-header {
    flex-wrap: wrap;
  }
  
  .cbwx-solicitud-header {
    flex-wrap: wrap;
    padding: 16px;
  }
  
  .cbwx-solicitud-info {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
  
  .cbwx-modal-exito {
    width: 95%;
    padding: 32px 24px;
  }
  
  .cbwx-exito-titulo {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .cbwx-saldo-icon-circle {
    width: 80px;
    height: 80px;
  }
  
  .cbwx-saldo-amount {
    font-size: 36px;
  }
  
  .cbwx-btn-recargar-circular {
    width: 60px;
    height: 60px;
  }
  
  .cbwx-stat-card {
    flex-direction: column;
    text-align: center;
  }
  
  .cbwx-movimiento-card {
    flex-direction: column;
    align-items: flex-start;
  }
}







/* ============================================
   BOTONES PARALELOS (SOLICITUDES Y MOVIMIENTOS)
   ============================================ */
.cbwx-section-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 24px;
}

.cbwx-tab-btn {
  padding: 18px 24px;
  background: rgba(10, 10, 10, 0.98);
  background: var(--cbwx-bg-secondary);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--cbwx-border-color);
  border-radius: 14px;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  font-weight: 700;
  font-size: 16px;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cbwx-tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--cbwx-accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cbwx-tab-btn.active {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cbwx-accent-gold), #f0d574);
  border-color: transparent;
  color: #0a0a0a;
  color: var(--cbwx-bg-primary);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.cbwx-tab-badge {
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Orbitron', monospace;
}

.cbwx-tab-btn.active .cbwx-tab-badge {
  background: rgba(0, 0, 0, 0.2);
}

/* TAB CONTENT */
.cbwx-tab-content {
  animation: cbwx-fadeIn 0.3s ease;
}


/* ============================================
   MODAL DE RECARGA
   ============================================ */
.cbwx-modal-recarga {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 700px;
  background: rgba(10, 10, 10, 0.98);
  background: var(--cbwx-bg-secondary);
  border: 2px solid #d4af37;
  border: 2px solid var(--cbwx-accent-gold);
  border-radius: 20px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 3001;
  animation: cbwx-modalZoom 0.4s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.cbwx-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--cbwx-border-color);
  background: rgba(255, 255, 255, 0.02);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.cbwx-modal-logo-container {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;

}

.cbwx-modal-logo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.cbwx-modal-logo-container.error .cbwx-modal-logo {
  display: none;
}

.cbwx-modal-logo-container svg {
  display: none;
  color: #0a0a0a;
  color: var(--cbwx-bg-primary);
  z-index: 1;
}

.cbwx-modal-logo-container.error svg {
  display: block;
  color: #0a0a0a;
  color: var(--cbwx-bg-primary);
  z-index: 1;
}

.cbwx-modal-title {
  font-size: 24px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  margin: 0;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cbwx-modal-close {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.cbwx-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
  color: #e50914;
  color: var(--cbwx-accent-red);
}

.cbwx-modal-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cbwx-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--cbwx-border-color);
  background: rgba(255, 255, 255, 0.01);
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
}

/* ============================================
   FORMULARIO
   ============================================ */
.cbwx-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cbwx-form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
}

.cbwx-form-label svg {
  color: #d4af37;
  color: var(--cbwx-accent-gold);
}

.cbwx-form-input {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--cbwx-border-color);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  font-size: 15px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.cbwx-form-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--cbwx-accent-gold);
  background: rgba(212, 175, 55, 0.05);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.cbwx-form-textarea {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--cbwx-border-color);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  font-size: 15px;
  font-family: 'Rajdhani', sans-serif;
  resize: vertical;
  transition: all 0.3s ease;
}

.cbwx-form-textarea:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--cbwx-accent-gold);
  background: rgba(212, 175, 55, 0.05);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* ============================================
   MONTOS RÁPIDOS
   ============================================ */
.cbwx-montos-rapidos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 12px;
  gap: 12px;
}

.cbwx-monto-rapido {
  padding: 12px 16px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--cbwx-border-color);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  font-weight: 700;
  font-size: 15px;
  font-family: 'Orbitron', monospace;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cbwx-monto-rapido:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--cbwx-accent-gold);
  transform: translateY(-2px);
}

.cbwx-monto-rapido:active {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cbwx-accent-gold), #f0d574);
  border-color: transparent;
  color: #0a0a0a;
  color: var(--cbwx-bg-primary);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* ============================================
   MÉTODOS DE PAGO
   ============================================ */
.cbwx-metodos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 14px;
  gap: 14px;
}

.cbwx-metodo-card {
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--cbwx-border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  text-align: center;
}

.cbwx-metodo-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cbwx-metodo-card.active {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cbwx-accent-gold), #f0d574);
  border-color: #d4af37;
  border-color: var(--cbwx-accent-gold);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.cbwx-metodo-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.cbwx-metodo-nombre {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
}

.cbwx-metodo-card.active .cbwx-metodo-nombre {
  color: #0a0a0a;
  color: var(--cbwx-bg-primary);
}

.cbwx-metodo-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: #27ae60;
  background: var(--cbwx-success-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* ============================================
   DETALLES DEL MÉTODO
   ============================================ */
.cbwx-metodo-detalles {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cbwx-border-color);
  border-radius: 12px;
  padding: 20px;
  animation: cbwx-slideDown 0.3s ease;
}

.cbwx-detalles-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--cbwx-border-color);
}

.cbwx-detalles-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.cbwx-detalles-header h4 {
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  margin: 0;
}

/* QR CONTAINER */
.cbwx-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cbwx-qr-image {
  width: 250px;
  height: 250px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--cbwx-border-color);
  border-radius: 12px;
  object-fit: contain;
  padding: 8px;
  background: white;
}

/* CUENTA CONTAINER */
.cbwx-cuenta-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cbwx-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cbwx-border-color);
  border-radius: 10px;
}

.cbwx-info-item svg {
  color: #d4af37;
  color: var(--cbwx-accent-gold);
  flex-shrink: 0;
}

.cbwx-info-item div {
  flex: 1 1;
}

.cbwx-info-item label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
  margin-bottom: 4px;
}

.cbwx-info-item span {
  font-size: 15px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  font-family: 'Orbitron', monospace;
  word-break: break-all;
}

.cbwx-btn-copiar {
  background: transparent;
  border: none;
  color: #d4af37;
  color: var(--cbwx-accent-gold);
  cursor: pointer;
  padding: 6px 8px;
  transition: all 0.3s ease;
  border-radius: 6px;
  flex-shrink: 0;
}

.cbwx-btn-copiar:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: scale(1.1);
}

/* ============================================
   UPLOAD AREA
   ============================================ */
.cbwx-upload-area {
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 3px dashed #d4af37;
  border: 3px dashed var(--cbwx-accent-gold);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cbwx-upload-area:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

.cbwx-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cbwx-upload-content svg {
  color: #d4af37;
  color: var(--cbwx-accent-gold);
}

.cbwx-upload-content p {
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  margin: 0;
}

.cbwx-upload-content span {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
}

.cbwx-file-input {
  display: none;
}

/* ============================================
   PREVIEW IMAGEN
   ============================================ */
.cbwx-preview-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.cbwx-preview-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 2px solid #d4af37;
  border: 2px solid var(--cbwx-accent-gold);
  border-radius: 12px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.cbwx-btn-cambiar {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: #e50914;
  background: var(--cbwx-accent-red);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.4);
}

.cbwx-btn-cambiar:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(229, 9, 20, 0.6);
}

/* ============================================
   BOTONES MODALES
   ============================================ */
.cbwx-btn-cancelar {
  padding: 12px 24px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--cbwx-border-color);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  font-weight: 700;
  font-size: 15px;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cbwx-btn-cancelar:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #e9ecef;
  border-color: var(--cbwx-text-primary);
  transform: translateY(-2px);
}

.cbwx-btn-cancelar:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cbwx-btn-enviar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--cbwx-accent-gold), #f0d574);
  border: none;
  border-radius: 10px;
  color: #0a0a0a;
  color: var(--cbwx-bg-primary);
  font-weight: 900;
  font-size: 15px;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.cbwx-btn-enviar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.cbwx-btn-enviar:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   SPINNER
   ============================================ */
.cbwx-spinner-small {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-top-color: #d4af37;
  border-top-color: var(--cbwx-accent-gold);
  border-radius: 50%;
  animation: cbwx-spin 0.8s linear infinite;
}

/* ============================================
   VARIABLES (Para modal de messages)
   ============================================ */
.cbwx-variables-disponibles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 12px;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cbwx-border-color);
  border-radius: 10px;
  margin-bottom: 16px;
}

.cbwx-variable-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.cbwx-variable-item code {
  padding: 4px 8px;
  background: rgba(212, 175, 55, 0.2);
  border-radius: 6px;
  color: #d4af37;
  color: var(--cbwx-accent-gold);
  font-family: 'Courier New', monospace;
  font-weight: 700;
}

.cbwx-variable-item span {
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
}

.cbwx-variable-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  gap: 10px;
  margin-bottom: 16px;
}

.cbwx-var-btn {
  padding: 10px 12px;
  background: transparent;
  border: 1px solid #d4af37;
  border: 1px solid var(--cbwx-accent-gold);
  border-radius: 8px;
  color: #d4af37;
  color: var(--cbwx-accent-gold);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.cbwx-var-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

.cbwx-preview-mensaje {
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cbwx-border-color);
  border-radius: 10px;
}

.cbwx-preview-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #b7bcc4;
  color: var(--cbwx-text-secondary);
  margin-bottom: 10px;
  display: block;
}

.cbwx-preview-content {
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: #e9ecef;
  color: var(--cbwx-text-primary);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 80px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .cbwx-modal-recarga {
    width: 95%;
    max-width: 100%;
  }
  
  .cbwx-metodos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .cbwx-montos-rapidos {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cbwx-variables-disponibles {
    grid-template-columns: 1fr;
  }
  
  .cbwx-variable-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .cbwx-modal-header {
    padding: 20px 16px;
  }
  
  .cbwx-modal-body {
    padding: 16px;
    gap: 16px;
  }
  
  .cbwx-modal-footer {
    padding: 16px;
    flex-direction: column-reverse;
  }
  
  .cbwx-btn-cancelar,
  .cbwx-btn-enviar {
    width: 100%;
  }
  
  .cbwx-metodos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cbwx-montos-rapidos {
    grid-template-columns: 1fr;
  }
  
  .cbwx-variable-buttons {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MI BILLETERA - RESPONSIVE MOBILE
   Adaptación para tablets y móviles
   ============================================ */

/* ============================================
   TABLET (768px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .cbwx-navbar-content {
    padding: 0 16px;
  }

  .cbwx-main-content {
    padding: 0 16px;
  }

  .cbwx-saldo-amount {
    font-size: 48px;
  }

  .cbwx-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .cbwx-stat-icon {
    width: 60px;
    height: 60px;
  }

  .cbwx-stat-value {
    font-size: 24px;
  }

  /* Modal más pequeño en tablet */
  .modal-recarga-container {
    max-width: 600px;
    width: 85%;
  }

  .metodos-pago-carrusel {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   MOBILE (768px y menor)
   ============================================ */
@media (max-width: 768px) {
  /* Mostrar menú hamburguesa */
  .cbwx-menu-hamburger {
    display: block !important;
  }

  /* Ocultar navegación desktop */
  .cbwx-navbar-right {
    display: none !important;
  }

  /* Logo más pequeño */
  .cbwx-logo-wrapper {
    width: 35px;
    height: 35px;
  }

  .cbwx-logo-text {
    font-size: 16px;
  }

  /* Main content */
  .cbwx-main {
    padding: 20px 0;
  }

  .cbwx-main-content {
    gap: 20px;
  }

  /* Tarjeta de saldo */
  .cbwx-saldo-card {
    padding: 24px 20px;
  }

  .cbwx-saldo-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .cbwx-saldo-icon {
    width: 60px;
    height: 60px;
  }

  .cbwx-saldo-amount {
    font-size: 40px;
  }

  .cbwx-saldo-subtext {
    font-size: 12px;
  }

  /* Botón recargar más pequeño */
  .cbwx-saldo-chart {
    width: 100px;
    height: 100px;
    align-self: center;
  }

  .cbwx-btn-recargar-circular {
    width: 100px;
    height: 100px;
  }

  .cbwx-recargar-text {
    font-size: 10px;
  }

  /* Botones de acción en columna */
  .cbwx-saldo-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cbwx-btn-primary,
  .cbwx-btn-secondary {
    padding: 12px 20px;
    font-size: 13px;
  }

  /* Estadísticas en columna */
  .cbwx-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cbwx-stat-card {
    padding: 18px;
    gap: 16px;
  }

  .cbwx-stat-icon {
    width: 56px;
    height: 56px;
  }

  .cbwx-stat-label {
    font-size: 10px;
  }

  .cbwx-stat-value {
    font-size: 22px;
  }

  /* Secciones */
  .cbwx-section {
    padding: 20px 16px;
  }

  .cbwx-section-title {
    font-size: 20px;
  }

  .cbwx-section-title-wrapper svg {
    width: 24px;
    height: 24px;
  }

  /* Filtros */
  .cbwx-filter-buttons {
    gap: 8px;
  }

  .cbwx-filter-button {
    padding: 8px 16px;
    font-size: 12px;
  }

  /* Movimientos */
  .cbwx-movimiento-content {
    padding: 16px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .cbwx-movimiento-icon {
    width: 50px;
    height: 50px;
  }

  .cbwx-movimiento-tipo {
    font-size: 14px;
  }

  .cbwx-movimiento-descripcion {
    font-size: 12px;
  }

  .cbwx-movimiento-meta {
    gap: 12px;
    font-size: 10px;
  }

  .cbwx-monto-texto {
    font-size: 20px;
  }

  /* Estado vacío */
  .cbwx-empty-state {
    padding: 40px 20px;
  }

  .cbwx-empty-icon {
    width: 100px;
    height: 100px;
  }

  .cbwx-empty-icon svg {
    width: 60px;
    height: 60px;
  }

  .cbwx-empty-title {
    font-size: 22px;
  }

  .cbwx-empty-text {
    font-size: 14px;
  }

  /* Info card */
  .cbwx-info-card {
    padding: 20px;
  }

  .cbwx-info-title {
    font-size: 18px;
  }

  .cbwx-info-item {
    font-size: 13px;
    padding: 12px;
  }

  /* ============================================
     MODAL DE RECARGA - MOBILE
     ============================================ */
  .modal-recarga-container {
    width: 95%;
    max-width: 100%;
    max-height: 95vh;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .modal-recarga-header {
    padding: 20px 16px;
  }

  .modal-recarga-titulo {
    font-size: 20px;
  }

  .modal-recarga-titulo svg {
    width: 24px;
    height: 24px;
  }

  /* Instrucciones */
  .modal-recarga-instrucciones {
    padding: 16px;
  }

  .instrucciones-titulo {
    font-size: 16px;
  }

  .instrucciones-lista li {
    font-size: 13px;
  }

  .instrucciones-contacto {
    font-size: 12px;
  }

  /* Secciones del modal */
  .modal-recarga-seccion {
    padding: 20px 16px;
  }

  .seccion-label {
    font-size: 14px;
    gap: 8px;
  }

  /* Input de monto */
  .monto-simbolo {
    font-size: 18px;
    left: 14px;
  }

  .monto-input {
    padding: 12px 16px 12px 40px;
    font-size: 20px;
  }

  /* Montos rápidos */
  .montos-rapidos {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .monto-rapido-btn {
    padding: 10px;
    font-size: 13px;
  }

  /* Métodos de pago en 2 columnas */
  .metodos-pago-carrusel {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .metodo-pago-card {
    padding: 14px;
    gap: 6px;
  }

  .metodo-icono {
    font-size: 28px;
  }

  .metodo-nombre {
    font-size: 12px;
  }

  /* Detalles del método */
  .metodo-detalles {
    padding: 16px;
  }

  .metodo-qr-imagen {
    width: 180px;
    height: 180px;
  }

  .metodo-info-row {
    padding: 10px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .info-label {
    font-size: 11px;
    width: 100%;
  }

  .info-valor {
    font-size: 13px;
    width: 100%;
    word-break: break-all;
  }

  .btn-copiar {
    width: 100%;
    padding: 10px;
  }

  /* Upload de comprobante */
  .comprobante-upload-area {
    padding: 30px 20px;
  }

  .comprobante-upload-area svg {
    width: 40px;
    height: 40px;
  }

  .upload-texto {
    font-size: 14px;
  }

  .upload-subtexto {
    font-size: 11px;
  }

  .comprobante-preview-imagen {
    max-height: 250px;
  }

  /* Footer del modal */
  .modal-recarga-footer {
    padding: 20px 16px;
  }

  .btn-enviar-solicitud {
    padding: 14px 20px;
    font-size: 15px;
  }

  /* Menú lateral más angosto */
  .cbwx-menu-lateral {
    width: 260px;
  }
}

/* ============================================
   MOBILE PEQUEÑO (480px y menor)
   ============================================ */
@media (max-width: 480px) {
  /* Navbar */
  .cbwx-navbar {
    padding: 10px 0;
  }

  .cbwx-navbar-content {
    padding: 0 12px;
  }

  .cbwx-logo-wrapper {
    width: 32px;
    height: 32px;
  }

  .cbwx-logo-text {
    font-size: 14px;
  }

  /* Main */
  .cbwx-main {
    padding: 16px 0;
  }

  .cbwx-main-content {
    padding: 0 12px;
    gap: 16px;
  }

  /* Tarjeta de saldo */
  .cbwx-saldo-card {
    padding: 20px 16px;
  }

  .cbwx-saldo-header {
    gap: 16px;
  }

  .cbwx-saldo-icon {
    width: 50px;
    height: 50px;
  }

  .cbwx-saldo-icon svg {
    width: 28px;
    height: 28px;
  }

  .cbwx-saldo-label {
    font-size: 11px;
  }

  .cbwx-saldo-amount {
    font-size: 32px;
  }

  .cbwx-saldo-subtext {
    font-size: 11px;
  }

  /* Botón recargar */
  .cbwx-saldo-chart {
    width: 90px;
    height: 90px;
  }

  .cbwx-btn-recargar-circular svg {
    width: 28px;
    height: 28px;
  }

  .cbwx-recargar-text {
    font-size: 9px;
  }

  /* Botones */
  .cbwx-btn-primary,
  .cbwx-btn-secondary {
    padding: 10px 16px;
    font-size: 12px;
  }

  /* Estadísticas */
  .cbwx-stat-card {
    padding: 16px;
    gap: 12px;
  }

  .cbwx-stat-icon {
    width: 50px;
    height: 50px;
  }

  .cbwx-stat-icon svg {
    width: 24px;
    height: 24px;
  }

  .cbwx-stat-label {
    font-size: 9px;
  }

  .cbwx-stat-value {
    font-size: 20px;
  }

  /* Sección */
  .cbwx-section {
    padding: 16px 12px;
  }

  .cbwx-section-title {
    font-size: 18px;
  }

  .cbwx-section-title-wrapper svg {
    width: 20px;
    height: 20px;
  }

  /* Filtros */
  .cbwx-filter-button {
    padding: 8px 12px;
    font-size: 11px;
  }

  .cbwx-filter-button svg {
    width: 14px;
    height: 14px;
  }

  /* Movimientos */
  .cbwx-movimiento-content {
    padding: 14px;
    gap: 10px;
  }

  .cbwx-movimiento-icon {
    width: 45px;
    height: 45px;
  }

  .cbwx-movimiento-icon svg {
    width: 18px;
    height: 18px;
  }

  .cbwx-movimiento-tipo {
    font-size: 13px;
  }

  .cbwx-movimiento-descripcion {
    font-size: 11px;
  }

  .cbwx-movimiento-meta {
    gap: 10px;
    font-size: 9px;
  }

  .cbwx-movimiento-meta svg {
    width: 10px;
    height: 10px;
  }

  .cbwx-monto-texto {
    font-size: 18px;
  }

  /* Estado vacío */
  .cbwx-empty-state {
    padding: 30px 16px;
  }

  .cbwx-empty-icon {
    width: 80px;
    height: 80px;
  }

  .cbwx-empty-icon svg {
    width: 50px;
    height: 50px;
  }

  .cbwx-empty-title {
    font-size: 20px;
  }

  .cbwx-empty-text {
    font-size: 13px;
  }

  /* Info card */
  .cbwx-info-card {
    padding: 16px;
  }

  .cbwx-info-title {
    font-size: 16px;
  }

  .cbwx-info-title svg {
    width: 20px;
    height: 20px;
  }

  .cbwx-info-item {
    font-size: 12px;
    padding: 10px;
  }

  .cbwx-info-item svg {
    width: 16px;
    height: 16px;
  }

  /* ============================================
     MODAL DE RECARGA - MOBILE PEQUEÑO
     ============================================ */
  .modal-recarga-container {
    width: 98%;
    max-height: 98vh;
  }

  .modal-recarga-header {
    padding: 16px 12px;
  }

  .modal-recarga-titulo {
    font-size: 18px;
  }

  .modal-recarga-titulo svg {
    width: 20px;
    height: 20px;
  }

  .modal-recarga-cerrar {
    padding: 6px;
  }

  .modal-recarga-cerrar svg {
    width: 20px;
    height: 20px;
  }

  /* Instrucciones */
  .modal-recarga-instrucciones {
    padding: 14px 12px;
  }

  .instrucciones-titulo {
    font-size: 15px;
  }

  .instrucciones-lista li {
    font-size: 12px;
  }

  .instrucciones-contacto {
    font-size: 11px;
    padding: 8px;
  }

  /* Secciones */
  .modal-recarga-seccion {
    padding: 16px 12px;
  }

  .seccion-label {
    font-size: 13px;
  }

  .seccion-label svg {
    width: 18px;
    height: 18px;
  }

  /* Input monto */
  .monto-simbolo {
    font-size: 16px;
    left: 12px;
  }

  .monto-input {
    padding: 10px 14px 10px 36px;
    font-size: 18px;
  }

  /* Montos rápidos */
  .montos-rapidos {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .monto-rapido-btn {
    padding: 8px;
    font-size: 12px;
  }

  /* Métodos de pago */
  .metodos-pago-carrusel {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .metodo-pago-card {
    padding: 12px;
  }

  .metodo-icono {
    font-size: 24px;
  }

  .metodo-nombre {
    font-size: 11px;
  }

  /* Detalles */
  .metodo-detalles {
    padding: 12px;
  }

  .metodo-qr-imagen {
    width: 160px;
    height: 160px;
  }

  .metodo-info-row {
    padding: 8px;
  }

  .info-label {
    font-size: 10px;
  }

  .info-valor {
    font-size: 12px;
  }

  .btn-copiar {
    padding: 8px;
  }

  .btn-copiar svg {
    width: 14px;
    height: 14px;
  }

  /* Upload */
  .comprobante-upload-area {
    padding: 24px 16px;
  }

  .comprobante-upload-area svg {
    width: 36px;
    height: 36px;
  }

  .upload-texto {
    font-size: 13px;
  }

  .upload-subtexto {
    font-size: 10px;
  }

  .comprobante-preview-imagen {
    max-height: 200px;
  }

  .comprobante-eliminar {
    padding: 8px 16px;
    font-size: 12px;
  }

  /* Footer */
  .modal-recarga-footer {
    padding: 16px 12px;
  }

  .btn-enviar-solicitud {
    padding: 12px 16px;
    font-size: 14px;
  }

  .btn-enviar-solicitud svg {
    width: 18px;
    height: 18px;
  }

  /* Menú lateral */
  .cbwx-menu-lateral {
    width: 240px;
  }

  .cbwx-menu-header {
    padding: 16px;
  }

  .cbwx-menu-titulo {
    font-size: 18px;
  }

  .cbwx-menu-items {
    padding: 12px;
  }

  .cbwx-menu-item {
    padding: 12px 14px;
    font-size: 14px;
  }

  .cbwx-menu-item svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================
   MOBILE MUY PEQUEÑO (360px y menor)
   ============================================ */
@media (max-width: 360px) {
  .cbwx-logo-text {
    display: none;
  }

  .cbwx-saldo-amount {
    font-size: 28px;
  }

  .cbwx-stat-value {
    font-size: 18px;
  }

  .cbwx-section-title {
    font-size: 16px;
  }

  .cbwx-monto-texto {
    font-size: 16px;
  }

  /* Métodos en 1 columna */
  .metodos-pago-carrusel {
    grid-template-columns: 1fr;
  }

  /* Montos en 2x2 */
  .montos-rapidos {
    grid-template-columns: repeat(2, 1fr);
  }

  .cbwx-menu-lateral {
    width: 100%;
    max-width: 280px;
  }
}

/* ============================================
   ORIENTACIÓN LANDSCAPE EN MÓVIL
   ============================================ */
@media (max-width: 768px) and (orientation: landscape) {
  .modal-recarga-container {
    max-height: 98vh;
    overflow-y: auto;
  }

  .cbwx-saldo-header {
    flex-direction: row;
  }

  .cbwx-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   SCROLL SUAVE EN MODALES
   ============================================ */
.modal-recarga-container {
  scrollbar-width: thin;
  scrollbar-color: var(--cbwx-accent-gold) rgba(255, 255, 255, 0.1);
}

.modal-recarga-container::-webkit-scrollbar {
  width: 8px;
}

.modal-recarga-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.modal-recarga-container::-webkit-scrollbar-thumb {
  background: var(--cbwx-accent-gold);
  border-radius: 10px;
}

.modal-recarga-container::-webkit-scrollbar-thumb:hover {
  background: #f0d574;
}




/* ============================================
   RESPONSIVE CELULAR
   ============================================ */
@media (max-width: 1024px) {
  .cbwx-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cbwx-detalles-grid {
    grid-template-columns: 1fr;
  }
  
  .cbwx-section-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cbwx-menu-toggle {
    display: block;
  }
  
  .cbwx-navbar-menu.desktop {
    display: none;
  }
  
  .cbwx-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .cbwx-saldo-card {
    padding: 24px;
  }
  
  .cbwx-saldo-header {
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .cbwx-saldo-icon-circle {
    width: 80px;
    height: 80px;
  }
  
  .cbwx-saldo-amount {
    font-size: 36px;
  }
  
  .cbwx-btn-recargar-circular {
    width: 60px;
    height: 60px;
    top: 16px;
    right: 16px;
  }
  
  .cbwx-btn-recargar-circular svg {
    width: 18px;
    height: 18px;
  }
  
  .cbwx-section-tabs {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .cbwx-tab-btn {
    padding: 14px 16px;
    font-size: 14px;
  }
  
  .cbwx-tab-label {
    font-size: 14px;
  }
  
  .cbwx-tab-badge {
    font-size: 11px;
    padding: 3px 8px;
  }
  
  .cbwx-solicitud-header {
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 12px;
  }
  
  .cbwx-solicitud-numero {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  .cbwx-solicitud-info {
    width: 100%;
    flex-direction: column;
    gap: 6px;
  }
  
  .cbwx-solicitud-ticket,
  .cbwx-solicitud-monto,
  .cbwx-solicitud-metodo {
    font-size: 12px;
  }
  
  .cbwx-solicitud-fecha {
    width: 100%;
    font-size: 11px;
  }
  
  .cbwx-solicitud-estado {
    font-size: 10px;
    padding: 6px 12px;
  }
  
  .cbwx-toggle-btn {
    padding: 6px;
  }
  
  .cbwx-solicitud-detalles {
    padding: 16px;
  }
  
  .cbwx-detalles-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .cbwx-detalle-item label {
    font-size: 10px;
  }
  
  .cbwx-detalle-item span {
    font-size: 13px;
    padding: 8px;
  }
  
  .cbwx-estado-mensaje {
    padding: 12px;
    gap: 10px;
  }
  
  .cbwx-estado-mensaje svg {
    width: 18px;
    height: 18px;
  }
  
  .cbwx-estado-mensaje strong {
    font-size: 14px;
  }
  
  .cbwx-estado-mensaje p {
    font-size: 12px;
  }
  
  .cbwx-comprobante-preview {
    padding: 12px;
  }
  
  .cbwx-comprobante-img {
    max-width: 200px;
    max-height: 200px;
  }
  
  .cbwx-btn-whatsapp {
    padding: 12px 16px;
    font-size: 13px;
    gap: 8px;
  }
  
  .cbwx-movimiento-card {
    padding: 14px 16px;
    gap: 12px;
  }
  
  .cbwx-movimiento-icon {
    width: 44px;
    height: 44px;
  }
  
  .cbwx-movimiento-tipo {
    font-size: 14px;
  }
  
  .cbwx-movimiento-descripcion {
    font-size: 12px;
  }
  
  .cbwx-movimiento-monto {
    font-size: 16px;
  }
  
  .cbwx-filtros {
    gap: 8px;
  }
  
  .cbwx-filtro-btn {
    padding: 8px 12px;
    font-size: 11px;
  }
  
  .cbwx-empty-state {
    padding: 40px 16px;
  }
  
  .cbwx-empty-icon {
    width: 80px;
    height: 80px;
  }
  
  .cbwx-info-card {
    padding: 16px;
  }
  
  .cbwx-info-title {
    font-size: 16px;
    gap: 8px;
  }
  
  .cbwx-info-item {
    gap: 8px;
  }
  
  .cbwx-info-item svg {
    width: 16px;
    height: 16px;
  }
  
  .cbwx-info-item span {
    font-size: 13px;
  }
  
  .cbwx-modal-exito {
    width: 95%;
    padding: 28px 20px;
  }
  
  .cbwx-exito-titulo {
    font-size: 22px;
  }
  
  .cbwx-exito-icon {
    width: 80px;
    height: 80px;
  }
  
  .cbwx-btn-entendido {
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .cbwx-main-content {
    padding: 0 16px;
    gap: 16px;
  }
  
  .cbwx-header-title {
    font-size: 24px;
  }
  
  .cbwx-saldo-icon-circle {
    width: 70px;
    height: 70px;
  }
  
  .cbwx-saldo-amount {
    font-size: 28px;
  }
  
  .cbwx-btn-recargar-circular {
    width: 50px;
    height: 50px;
  }
  
  .cbwx-stat-card {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
  
  .cbwx-stat-icon {
    width: 60px;
    height: 60px;
  }
  
  .cbwx-stat-label {
    font-size: 10px;
  }
  
  .cbwx-stat-value {
    font-size: 24px;
  }
  
  .cbwx-section-tabs {
    grid-template-columns: 1fr;
  }
  
  .cbwx-tab-btn {
    padding: 12px 14px;
    font-size: 13px;
    flex-direction: column;
    gap: 8px;
  }
  
  .cbwx-tab-label {
    font-size: 12px;
  }
  
  .cbwx-section {
    padding: 16px;
  }
  
  .cbwx-solicitud-header {
    padding: 10px 12px;
  }
  
  .cbwx-solicitud-numero {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }
  
  .cbwx-movimiento-card {
    padding: 12px;
    gap: 10px;
  }
  
  .cbwx-filtro-btn {
    padding: 7px 10px;
    font-size: 10px;
    gap: 5px;
  }
  
  .cbwx-info-card {
    padding: 12px;
  }
  
  .cbwx-exito-titulo {
    font-size: 18px;
  }
  
  .cbwx-exito-texto {
    font-size: 13px;
  }
}

/* src/pages/cliente/RenovarCliente.css */


/* ============================================ */
/* IMPORTS */
/* ============================================ */

:root {
  --rc-bg-primary: #0a0a0a;
  --rc-bg-secondary: #1a1a1a;
  --rc-bg-card: rgba(20, 20, 20, 0.95);
  --rc-gold: #d4af37;
  --rc-gold-light: #f0d574;
  --rc-gold-dark: #b8941f;
  --rc-orange: #f39c12;
  --rc-orange-light: #f7b731;
  --rc-orange-dark: #e67e22;
  --rc-text-primary: #e9ecef;
  --rc-text-secondary: #b7bcc4;
  --rc-border: rgba(255, 255, 255, 0.12);
  --rc-success: #27ae60;
  --rc-danger: #e74c3c;
  --rc-info: #3498db;
  --rc-warning: #f39c12;
}


.rc-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%);
  background: linear-gradient(135deg, var(--rc-bg-primary) 0%, #0f0f0f 100%);
  font-family: 'Rajdhani', sans-serif;
}

.rc-header {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 0.95));
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--rc-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  animation: rc-slideDown 0.5s ease-out;
}

.rc-header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.rc-back-button-header {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--rc-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--rc-border);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.rc-back-button-header:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.rc-header-center {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
  justify-content: center;
}

.rc-header-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(243, 156, 18, 0.5));
  animation: rc-float 3s ease-in-out infinite;
}

.rc-logo {
  font-size: 24px;
  font-weight: 900;
  margin: 0;
  font-family: 'Orbitron', monospace;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--rc-orange), var(--rc-orange-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(243, 156, 18, 0.3);
}

.rc-wallet-button {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--rc-gold), var(--rc-gold-light));
  color: #0a0a0a;
  color: var(--rc-bg-primary);
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.rc-wallet-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

/* ============================================ */
/* MAIN CONTENT */
/* ============================================ */
.rc-main {
  padding: 40px 24px;
}

.rc-main-content {
  max-width: 1400px;
  margin: 0 auto;
}

.rc-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px;
  gap: 40px;
  animation: rc-fadeIn 0.6s ease-out;
}

/* ============================================ */
/* IMAGE SECTION */
/* ============================================ */
.rc-image-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rc-badges-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rc-badge-renovacion {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  background: linear-gradient(135deg, var(--rc-orange), var(--rc-orange-dark));
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.5);
  animation: rc-pulse 2s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
}

.rc-code-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--rc-text-primary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--rc-border);
  font-family: 'Orbitron', monospace;
}

.rc-badge-vencido {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.rc-badge-por-vencer {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
  animation: rc-pulse 2s ease-in-out infinite;
}

.rc-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(20, 20, 20, 0.95);
  background: var(--rc-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--rc-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.rc-product-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.rc-product-image:hover {
  transform: scale(1.05);
}

/* ============================================ */
/* CUENTA CARD */
/* ============================================ */
.rc-cuenta-card {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.15), rgba(230, 126, 34, 0.1));
  border: 2px solid #f39c12;
  border: 2px solid var(--rc-orange);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(243, 156, 18, 0.3);
  animation: rc-glow 3s ease-in-out infinite;
}

.rc-cuenta-title {
  font-size: 18px;
  font-weight: 700;
  color: #f7b731;
  color: var(--rc-orange-light);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
}

.rc-cuenta-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rc-cuenta-field {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-radius: 10px;
  padding: 14px 16px;
  transition: all 0.3s ease;
}

.rc-cuenta-field:hover {
  background: rgba(243, 156, 18, 0.1);
  border-color: #f39c12;
  border-color: var(--rc-orange);
  transform: translateX(4px);
}

.rc-field-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rc-field-header svg {
  color: #f39c12;
  color: var(--rc-orange);
  width: 16px;
  height: 16px;
}

.rc-field-header span {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--rc-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rc-field-value {
  font-size: 16px;
  color: #e9ecef;
  color: var(--rc-text-primary);
  font-weight: 700;
  margin: 0;
  font-family: 'Orbitron', monospace;
  word-break: break-all;
}

.rc-field-value.rc-vencido {
  color: #e74c3c;
  color: var(--rc-danger);
}

.rc-field-value.rc-por-vencer {
  color: #f39c12;
  color: var(--rc-warning);
}

.rc-dias-badge {
  display: inline-block;
  margin-left: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* VENDOR CARD */
/* ============================================ */
.rc-vendor-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--rc-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--rc-border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.rc-vendor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(243, 156, 18, 0.2);
}

.rc-vendor-row {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.rc-vendor-info {
  flex: 1 1;
  min-width: 0;
}

.rc-vendor-separator {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.12);
  color: var(--rc-border);
  font-weight: 300;
}

.rc-vendor-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rc-vendor-header svg {
  color: #f39c12;
  color: var(--rc-orange);
  width: 16px;
  height: 16px;
}

.rc-vendor-header span {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--rc-text-secondary);
  font-weight: 600;
}

.rc-vendor-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rc-vendor-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f39c12;
  border: 2px solid var(--rc-orange);
  box-shadow: 0 0 10px rgba(243, 156, 18, 0.3);
}

.rc-vendor-name {
  font-size: 15px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--rc-text-primary);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rc-categoria-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid #3498db;
  border: 2px solid var(--rc-info);
}

.rc-categoria-name {
  font-size: 15px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--rc-text-primary);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================ */
/* INFO SECTION */
/* ============================================ */
.rc-info-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rc-main-badge {
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--rc-orange), var(--rc-orange-light));
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  width: -webkit-fit-content;
  width: fit-content;
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
  animation: rc-shimmer 3s ease-in-out infinite;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.rc-product-name {
  font-size: 36px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--rc-text-primary);
  margin: 0;
  line-height: 1.2;
  font-family: 'Rajdhani', sans-serif;
}

.rc-product-description {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--rc-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ============================================ */
/* PRICE SECTION */
/* ============================================ */
.rc-price-section {
  background: rgba(20, 20, 20, 0.95);
  background: var(--rc-bg-card);
  border: 2px solid #f39c12;
  border: 2px solid var(--rc-orange);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(243, 156, 18, 0.3);
}

.rc-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.rc-price-label {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--rc-text-secondary);
  font-weight: 600;
}

.rc-price-value {
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--rc-orange), var(--rc-orange-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Orbitron', monospace;
}

.rc-price-duration {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #b7bcc4;
  color: var(--rc-text-secondary);
  font-weight: 500;
  font-style: italic;
}

/* ============================================ */
/* TIMELINE */
/* ============================================ */
.rc-timeline-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--rc-bg-card);
  border: 2px solid #3498db;
  border: 2px solid var(--rc-info);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(52, 152, 219, 0.2);
}

.rc-timeline-title {
  font-size: 20px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--rc-text-primary);
  margin: 0 0 24px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rc-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.rc-timeline-item {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.rc-timeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.rc-timeline-icon-current {
  background: rgba(231, 76, 60, 0.2);
  border-color: #e74c3c;
  border-color: var(--rc-danger);
  color: #e74c3c;
  color: var(--rc-danger);
}

.rc-timeline-icon-new {
  background: rgba(39, 174, 96, 0.2);
  border-color: #27ae60;
  border-color: var(--rc-success);
  color: #27ae60;
  color: var(--rc-success);
  animation: rc-pulseGreen 2s ease-in-out infinite;
}

.rc-timeline-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rc-timeline-label {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--rc-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rc-timeline-date {
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--rc-text-primary);
  font-family: 'Orbitron', monospace;
}

.rc-date-vencido {
  color: #e74c3c;
  color: var(--rc-danger);
}

.rc-date-por-vencer {
  color: #f39c12;
  color: var(--rc-warning);
}

.rc-date-nueva {
  color: #27ae60;
  color: var(--rc-success);
  font-size: 18px;
}

.rc-timeline-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #27ae60;
  color: var(--rc-success);
  font-weight: 700;
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  animation: rc-slideRight 2s ease-in-out infinite;
}

/* ============================================ */
/* SUMMARY CARD */
/* ============================================ */
.rc-summary-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--rc-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--rc-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.rc-summary-title {
  font-size: 20px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--rc-text-primary);
  margin: 0 0 16px 0;
}

.rc-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rc-summary-row:last-child {
  border-bottom: none;
}

.rc-summary-row.rc-summary-total {
  padding-top: 16px;
  border-top: 2px solid #f39c12;
  border-top: 2px solid var(--rc-orange);
}

.rc-summary-label {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--rc-text-secondary);
  font-weight: 500;
}

.rc-summary-value {
  font-size: 15px;
  color: #e9ecef;
  color: var(--rc-text-primary);
  font-weight: 600;
}

.rc-summary-email {
  font-size: 13px;
  font-family: 'Orbitron', monospace;
  word-break: break-all;
  text-align: right;
  max-width: 60%;
}

.rc-summary-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #f39c12, transparent);
  background: linear-gradient(90deg, transparent, var(--rc-orange), transparent);
  margin: 16px 0;
}

.rc-summary-label-total {
  font-size: 18px;
  color: #e9ecef;
  color: var(--rc-text-primary);
  font-weight: 700;
}

.rc-summary-value-total {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--rc-orange), var(--rc-orange-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Orbitron', monospace;
}

/* ============================================ */
/* WALLET CARD */
/* ============================================ */
.rc-wallet-card {
  border-radius: 16px;
  padding: 24px;
  border: 2px solid;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.rc-wallet-success {
  background: rgba(39, 174, 96, 0.1);
  border-color: #27ae60;
  border-color: var(--rc-success);
}

.rc-wallet-error {
  background: rgba(231, 76, 60, 0.1);
  border-color: #e74c3c;
  border-color: var(--rc-danger);
}

.rc-wallet-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.rc-wallet-label {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--rc-text-secondary);
  font-weight: 500;
}

.rc-wallet-value {
  font-size: 16px;
  color: #e9ecef;
  color: var(--rc-text-primary);
  font-weight: 600;
  font-family: 'Orbitron', monospace;
}

.rc-wallet-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 12px 0;
}

.rc-wallet-label-bold {
  font-size: 18px;
  color: #e9ecef;
  color: var(--rc-text-primary);
  font-weight: 700;
}

.rc-wallet-value-bold {
  font-size: 24px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
}

.rc-wallet-warning {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid #e74c3c;
  border: 1px solid var(--rc-danger);
  border-radius: 8px;
  color: #e74c3c;
  color: var(--rc-danger);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* ============================================ */
/* ERROR MESSAGE */
/* ============================================ */
.rc-error-message {
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid #e74c3c;
  border: 1px solid var(--rc-danger);
  color: #e74c3c;
  color: var(--rc-danger);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  animation: rc-shake 0.5s ease-in-out;
}

/* ============================================ */
/* BUY BUTTON */
/* ============================================ */
.rc-buy-button {
  width: 100%;
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--rc-orange), var(--rc-orange-light));
  color: white;
  border: none;
  padding: 20px 24px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 6px 24px rgba(243, 156, 18, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rc-buy-button:hover:not(.rc-buy-button-disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(243, 156, 18, 0.7);
  background: linear-gradient(135deg, #f7b731, #e67e22);
  background: linear-gradient(135deg, var(--rc-orange-light), var(--rc-orange-dark));
}

.rc-buy-button-disabled {
  background: #4b5563;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.rc-button-icon-spin {
  animation: rc-spin 1s linear infinite;
}

/* ============================================ */
/* NOTES */
/* ============================================ */
.rc-info-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 14px;
  color: #27ae60;
  color: var(--rc-success);
  margin: 0;
  padding: 12px 20px;
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid #27ae60;
  border: 1px solid var(--rc-success);
  border-radius: 10px;
  font-weight: 600;
}

.rc-info-note svg {
  flex-shrink: 0;
}

.rc-warning-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 14px;
  color: #3498db;
  color: var(--rc-info);
  margin: 0;
  font-weight: 600;
  background: rgba(52, 152, 219, 0.1);
  padding: 14px 20px;
  border-radius: 10px;
  border: 1px solid #3498db;
  border: 1px solid var(--rc-info);
}

.rc-warning-note svg {
  flex-shrink: 0;
}

/* ============================================ */
/* MODAL SUCCESS */
/* ============================================ */
.rc-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: rc-fadeIn 0.4s ease-out;
}

.rc-modal-content {
  background: rgba(20, 20, 20, 0.95);
  background: var(--rc-bg-card);
  border: 2px solid #f39c12;
  border: 2px solid var(--rc-orange);
  border-radius: 20px;
  max-width: 550px;
  width: 100%;
  padding: 40px 32px;
  box-shadow: 0 30px 80px rgba(243, 156, 18, 0.5);
  animation: rc-bounceIn 0.6s ease-out;
  position: relative;
}

.rc-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #b7bcc4;
  color: var(--rc-text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.rc-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--rc-text-primary);
}

.rc-success-icon-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.rc-success-icon {
  width: 80px;
  height: 80px;
  color: #f39c12;
  color: var(--rc-orange);
  animation: rc-checkmark 0.8s ease-out;
}

.rc-success-title {
  font-size: 28px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--rc-text-primary);
  text-align: center;
  margin: 0 0 24px 0;
  font-family: 'Rajdhani', sans-serif;
}

.rc-success-details {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--rc-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.rc-success-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 16px;
}

.rc-success-label {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--rc-text-secondary);
  font-weight: 500;
}

.rc-success-value {
  font-size: 16px;
  color: #e9ecef;
  color: var(--rc-text-primary);
  font-weight: 700;
  text-align: right;
}

.rc-success-email {
  font-size: 13px;
  font-family: 'Orbitron', monospace;
  word-break: break-all;
  max-width: 60%;
}

.rc-success-fecha {
  color: #27ae60;
  color: var(--rc-success);
  font-size: 17px;
}

.rc-success-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #f39c12, transparent);
  background: linear-gradient(90deg, transparent, var(--rc-orange), transparent);
  margin: 12px 0;
}

.rc-success-label-bold {
  font-size: 17px;
  color: #e9ecef;
  color: var(--rc-text-primary);
  font-weight: 700;
}

.rc-success-value-bold {
  font-size: 22px;
  font-weight: 900;
  color: #27ae60;
  color: var(--rc-success);
  font-family: 'Orbitron', monospace;
}

.rc-success-message {
  text-align: center;
  font-size: 15px;
  color: #b7bcc4;
  color: var(--rc-text-secondary);
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.rc-success-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.rc-success-button-primary {
  flex: 1 1;
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--rc-orange), var(--rc-orange-light));
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.rc-success-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
}

.rc-success-button-secondary {
  flex: 1 1;
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--rc-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--rc-border);
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.rc-success-button-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #f39c12;
  border-color: var(--rc-orange);
}

.rc-success-auto-redirect {
  text-align: center;
  font-size: 13px;
  color: #b7bcc4;
  color: var(--rc-text-secondary);
  margin: 0;
  font-style: italic;
}

/* ============================================ */
/* LOADING */
/* ============================================ */
.rc-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 20px;
}

.rc-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.1);
  border-top: 6px solid #f39c12;
  border-top: 6px solid var(--rc-orange);
  border-radius: 50%;
  animation: rc-spin 1s linear infinite;
}

.rc-loading-text {
  font-size: 18px;
  color: #b7bcc4;
  color: var(--rc-text-secondary);
  font-weight: 600;
}

/* ============================================ */
/* ERROR CONTAINER */
/* ============================================ */
.rc-error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  text-align: center;
}

.rc-error-icon {
  font-size: 80px;
  margin-bottom: 24px;
}

.rc-error-title {
  font-size: 28px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--rc-text-primary);
  margin: 0 0 20px 0;
}

.rc-back-button {
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--rc-orange), var(--rc-orange-light));
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.rc-back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */
@keyframes rc-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes rc-bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes rc-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rc-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.05);
  }
}

@keyframes rc-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

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

@keyframes rc-shimmer {
  0% { box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5); }
  50% { box-shadow: 0 8px 30px rgba(243, 156, 18, 0.7); }
  100% { box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5); }
}

@keyframes rc-glow {
  0%, 100% { box-shadow: 0 8px 32px rgba(243, 156, 18, 0.3); }
  50% { box-shadow: 0 12px 40px rgba(243, 156, 18, 0.5); }
}

@keyframes rc-checkmark {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

@keyframes rc-pulseGreen {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(39, 174, 96, 0);
  }
}

@keyframes rc-slideRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

/* ============================================ */
/* RESPONSIVE - TABLETS */
/* ============================================ */
@media (max-width: 1024px) {
  .rc-product-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .rc-product-name {
    font-size: 30px;
  }

  .rc-price-value {
    font-size: 36px;
  }

  .rc-timeline {
    flex-direction: column;
    gap: 20px;
  }

  .rc-timeline-arrow {
    transform: rotate(90deg);
  }
}

/* ============================================ */
/* RESPONSIVE - MOBILE */
/* ============================================ */
@media (max-width: 768px) {
  .rc-header-content {
    flex-wrap: wrap;
    gap: 12px;
  }

  .rc-logo {
    font-size: 18px;
  }

  .rc-wallet-button {
    font-size: 14px;
    padding: 10px 16px;
  }

  .rc-product-name {
    font-size: 24px;
  }

  .rc-price-value {
    font-size: 32px;
  }

  .rc-timeline-icon {
    width: 50px;
    height: 50px;
  }

  .rc-success-buttons {
    flex-direction: column;
  }

  .rc-modal-content {
    padding: 32px 24px;
  }

  .rc-vendor-row {
    flex-direction: column;
    gap: 12px;
  }

  .rc-vendor-separator {
    display: none;
  }
}

/* ============================================
   MIS CUENTAS - DARK THEME
   ============================================ */

.cmc-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
  color: #e0e0e0;
}

/* ============================================
   HEADER
   ============================================ */
.cmc-header {
  background: rgba(26, 26, 46, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cmc-header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cmc-back-button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.cmc-back-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-3px);
}

.cmc-header-center {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cmc-header-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.cmc-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.cmc-perfil-button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.cmc-perfil-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.cmc-main {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.cmc-main-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ============================================
   TÍTULO
   ============================================ */
.cmc-title-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cmc-title-wrapper {
  flex: 1 1;
}

.cmc-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}

.cmc-subtitle {
  color: #9ca3af;
  font-size: 0.95rem;
  margin: 0;
}

.cmc-btn-explorar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.cmc-btn-explorar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* ============================================
   ESTADÍSTICAS
   ============================================ */
.cmc-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.cmc-stat-card {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.cmc-stat-card:hover {
  background: rgba(26, 26, 46, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.cmc-stat-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cmc-stat-activo .cmc-stat-icon-wrapper {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.cmc-stat-por-vencer .cmc-stat-icon-wrapper {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.cmc-stat-vencido .cmc-stat-icon-wrapper {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.cmc-stat-total .cmc-stat-icon-wrapper {
  background: rgba(102, 126, 234, 0.15);
  color: #667eea;
}

.cmc-stat-info {
  flex: 1 1;
}

.cmc-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
}

.cmc-stat-label {
  font-size: 0.9rem;
  color: #9ca3af;
  margin: 0;
}

/* ============================================
   BÚSQUEDA Y FILTROS
   ============================================ */
.cmc-controls-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cmc-search-box {
  position: relative;
  width: 100%;
}

.cmc-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.cmc-search-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #e0e0e0;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.cmc-search-input:focus {
  outline: none;
  border-color: #667eea;
  background: rgba(26, 26, 46, 0.8);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.cmc-search-input::placeholder {
  color: #6b7280;
}

.cmc-search-clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.cmc-search-clear:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ef4444;
}

.cmc-filters-section {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cmc-filter-btn {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cmc-filter-btn:hover {
  background: rgba(26, 26, 46, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  color: #e0e0e0;
}

.cmc-filter-active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ============================================
   SERVICIOS GRID
   ============================================ */
.cmc-servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.cmc-servicio-card {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cmc-servicio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Estados */
.cmc-estado-activo {
  border-left: 4px solid #22c55e;
}

.cmc-estado-por-vencer {
  border-left: 4px solid #fbbf24;
}

.cmc-estado-vencido {
  border-left: 4px solid #ef4444;
}

/* ============================================
   HEADER DE LA TARJETA
   ============================================ */
.cmc-servicio-header {
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cmc-servicio-header-left {
  display: flex;
  gap: 1rem;
  flex: 1 1;
}

.cmc-servicio-imagen-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
}

.cmc-servicio-imagen-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cmc-servicio-info-header {
  flex: 1 1;
  min-width: 0;
}

.cmc-servicio-nombre {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cmc-servicio-meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #9ca3af;
  flex-wrap: wrap;
}

.cmc-servicio-codigo {
  background: rgba(102, 126, 234, 0.2);
  color: #667eea;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-weight: 600;
}

.cmc-servicio-perfil {
  color: #9ca3af;
}

.cmc-servicio-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.cmc-badge-activo {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.cmc-badge-por-vencer {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.cmc-badge-vencido {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ============================================
   FECHAS
   ============================================ */
.cmc-servicio-fechas {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.1);
}

.cmc-fecha-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
  flex: 1 1;
}

.cmc-fecha-content {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.cmc-fecha-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cmc-fecha-valor {
  font-size: 0.9rem;
  color: #e0e0e0;
  font-weight: 600;
}

.cmc-fecha-separador {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   DÍAS RESTANTES
   ============================================ */
.cmc-dias-restantes {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cmc-dias-activo {
  color: #22c55e;
}

.cmc-dias-por-vencer {
  color: #fbbf24;
}

.cmc-dias-vencido {
  color: #ef4444;
}

.cmc-dias-content {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.cmc-dias-texto {
  font-size: 0.95rem;
  font-weight: 700;
  color: inherit;
}

.cmc-dias-detalle {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* ============================================
   CREDENCIALES
   ============================================ */
.cmc-credenciales-section {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cmc-btn-toggle-credenciales {
  width: 100%;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  color: #667eea;
  padding: 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cmc-btn-toggle-credenciales:hover {
  background: rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.4);
}

.cmc-credenciales-content {
  margin-top: 1rem;
  animation: slideDown 0.3s ease;
}

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

.cmc-credencial-block {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.cmc-credencial-field {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.875rem;
}

.cmc-field-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.cmc-field-valor-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cmc-field-valor {
  color: #e0e0e0;
  font-size: 0.95rem;
  font-weight: 500;
  word-break: break-all;
}

.cmc-btn-copy {
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  color: #667eea;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.cmc-btn-copy:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: scale(1.05);
}

.cmc-btn-copy.copiado {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.cmc-url-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #667eea;
  text-decoration: none;
  padding: 0.625rem;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cmc-url-link:hover {
  background: rgba(102, 126, 234, 0.15);
  transform: translateX(3px);
}

/* ============================================
   ACCIONES
   ============================================ */
.cmc-servicio-acciones {
  padding: 1rem 1.25rem;
  display: flex;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cmc-btn-comprar-nuevo,
.cmc-btn-renovar,
.cmc-btn-detalles,
.cmc-btn-chat {
  flex: 1 1;
  padding: 0.75rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.cmc-btn-comprar-nuevo {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.cmc-btn-comprar-nuevo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.cmc-btn-renovar {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.cmc-btn-renovar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4);
}

.cmc-btn-detalles {
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  color: #667eea;
}

.cmc-btn-detalles:hover {
  background: rgba(102, 126, 234, 0.2);
}

.cmc-btn-chat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

.cmc-btn-chat:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   FOOTER
   ============================================ */
.cmc-servicio-footer {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cmc-servicio-footer-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.cmc-vendedor-label {
  font-size: 0.85rem;
  color: #6b7280;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.cmc-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.cmc-empty-icon {
  color: #6b7280;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.cmc-empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.75rem 0;
}

.cmc-empty-text {
  font-size: 1rem;
  color: #9ca3af;
  margin: 0 0 2rem 0;
}

/* ============================================
   LOADING
   ============================================ */
.cmc-loading-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
}

.cmc-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(102, 126, 234, 0.2);
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.cmc-loading-text {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: #9ca3af;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .cmc-main {
    padding: 1rem;
  }

  .cmc-servicios-grid {
    grid-template-columns: 1fr;
  }

  .cmc-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cmc-title {
    font-size: 1.5rem;
  }

  .cmc-servicio-acciones {
    flex-direction: column;
  }

  .cmc-filters-section {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}

:root {
  --rs-bg-primary: #0a0a0a;
  --rs-bg-secondary: rgba(13, 13, 13, 0.97);
  --rs-bg-card: rgba(22, 22, 22, 0.97);
  --rs-text-primary: #e9ecef;
  --rs-text-secondary: #b7bcc4;
  --rs-gold: #d4af37;
  --rs-gold-light: #f0d574;
  --rs-green: #27ae60;
  --rs-red: #e50914;
  --rs-red-light: #ff1a25;
  --rs-blue: #4dd2ff;
  --rs-purple: #915cdd;
  --rs-border: rgba(255,255,255,0.09);
}

/* ----------- CONTENEDOR Y BASE -------------- */
.rs-container {
  min-height: 100vh;
  background: linear-gradient(180deg, #101010 0%, #16151a 50%, #101010 100%);
  color: #e9ecef;
  color: var(--rs-text-primary);
  font-family: 'Rajdhani', 'Arial', sans-serif;
}

/* ----------- HEADER -------------- */
.rs-header {
  background: rgba(13, 13, 13, 0.97);
  background: var(--rs-bg-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.09);
  border-bottom: 1px solid var(--rs-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
  padding: 18px 28px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.rs-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.rs-header-center {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rs-logo {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--rs-gold), var(--rs-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.17);
}
.rs-header-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 2px solid #d4af37;
  border: 2px solid var(--rs-gold);
  object-fit: cover;
  background: #181818;
}
.rs-back-button-header,
.rs-wallet-button {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.09);
  border: 1.5px solid var(--rs-border);
  color: #e9ecef;
  color: var(--rs-text-primary);
  border-radius: 10px;
  font-weight: 700;
  padding: 9px 20px;
  transition: all 0.3s;
  cursor: pointer;
}
.rs-back-button-header:hover,
.rs-wallet-button:hover {
  border-color: #d4af37;
  border-color: var(--rs-gold);
  color: #d4af37;
  color: var(--rs-gold);
}

/* ----------- MAIN -------------- */
.rs-main {
  max-width: 1260px;
  margin: 0 auto;
  padding: 36px 12px;
}
.rs-main-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* -------- SERVICIO ACTUAL -------- */
.rs-servicio-actual-card {
  background: rgba(22, 22, 22, 0.97);
  background: var(--rs-bg-card);
  border: 1px solid rgba(255,255,255,0.09);
  border: 1px solid var(--rs-border);
  border-radius: 14px;
  padding: 26px 28px;
}
.rs-servicio-actual-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d4af37;
  color: var(--rs-gold);
  font-size: 20px;
  font-weight: 700;
}
.rs-servicio-nombre {
  font-size: 22px;
  margin: 10px 0 0 0;
  font-weight: 700;
}
.rs-servicio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 18px;
}
.rs-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: #b7bcc4;
  color: var(--rs-text-secondary);
  font-size: 15px;
}
.rs-meta-estado {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 14px;
}
.rs-estado-activo { background: rgba(39, 174, 96, 0.12); color: #27ae60; color: var(--rs-green);}
.rs-estado-por-vencer { background: rgba(243,156,18,0.15); color: #d4af37; color: var(--rs-gold);}
.rs-estado-vencido { background: rgba(229,9,20,0.16); color: #e50914; color: var(--rs-red);}

/* -------- Credenciales -------- */
.rs-credenciales-resumen {
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.09);
  border-top: 1px solid var(--rs-border);
  padding-top: 11px;
}
.rs-credenciales-titulo {
  font-size: 15px;
  font-weight: 700;
  color: #4dd2ff;
  color: var(--rs-blue);
  margin-bottom: 6px;
}
.rs-credencial-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: rgba(255,255,255,0.045);
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.09);
  border: 1px solid var(--rs-border);
}
.rs-credencial-field {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e9ecef;
  color: var(--rs-text-primary);
  font-size: 14px;
}
.rs-credenciales-mas {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--rs-text-secondary);
  margin-top: 3px;
}

/* -------- PRODUCT LAYOUT -------- */
.rs-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 28px;
  gap: 28px;
}

/* -------- IMAGEN Y BADGES -------- */
.rs-image-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.rs-badges-container {
  position: absolute;
  top: 9px;
  left: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 1;
}
.rs-renovacion-badge {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--rs-gold), var(--rs-gold-light));
  color: #0a0a0a;
  padding: 6px 12px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.17);
}
.rs-code-badge {
  background: rgba(232,169,71,0.07);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  color: #d4af37;
  color: var(--rs-gold);
  font-weight: 700;
  border: 1px solid #d4af37;
  border: 1px solid var(--rs-gold);
}

.rs-image-wrapper {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.09);
  border: 1px solid var(--rs-border);
  overflow: hidden;
  background: #181818;
}
.rs-product-image {
  width: 100%;
  height: auto;
  min-height: 170px;
  background: #222;
  object-fit: cover;
  transition: all 0.4s;
}
.rs-product-image:hover { transform: scale(1.04); }

.rs-vendor-card {
  background: rgba(13, 13, 13, 0.97);
  background: var(--rs-bg-secondary);
  border: 1px solid rgba(255,255,255,0.09);
  border: 1px solid var(--rs-border);
  border-radius: 10px;
  padding: 11px 16px;
  margin-top: 10px;
}
.rs-vendor-header {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b7bcc4;
  color: var(--rs-text-secondary);
  font-weight: 600;
  margin-bottom: 10px;
}
.rs-vendor-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rs-vendor-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d4af37;
  border: 2px solid var(--rs-gold);
}
.rs-vendor-name {
  font-weight: 600;
  color: #e9ecef;
  color: var(--rs-text-primary);
  font-size: 15px;
}

/* -------- INFORMACIÓN -------- */
.rs-info-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rs-afiliado-badge {
  background: linear-gradient(135deg, #915cdd, #4dd2ff);
  background: linear-gradient(135deg, var(--rs-purple), var(--rs-blue));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 7px;
  padding: 8px 16px;
  align-self: start;
  display: flex;
  align-items: center;
  gap: 7px;
}
.rs-product-name {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 4px;
}
.rs-product-details {
  color: #b7bcc4;
  color: var(--rs-text-secondary);
  line-height: 1.6;
  font-size: 14px;
}

/* -------- PRECIO -------- */
.rs-price-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border: 1px solid var(--rs-border);
  border-radius: 9px;
  padding: 13px 18px;
}
.rs-price-row {
  display: flex;
  align-items: baseline;
  gap: 13px;
}
.rs-price-new {
  font-size: 26px;
  font-weight: 700;
  color: #d4af37;
  color: var(--rs-gold);
}
.rs-price-unit {
  color: #b7bcc4;
  color: var(--rs-text-secondary);
  font-size: 14px;
}
.rs-price-breakdown {
  margin-top: 6px;
  color: #4dd2ff;
  color: var(--rs-blue);
  font-size: 13px;
  font-weight: 700;
}
.rs-price-detail { margin-left: 2px; }

/* -------- DURACIÓN -------- */
.rs-duration-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rs-duration-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 2px;
}
.rs-duration-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  gap: 10px;
}
.rs-duration-option {
  background: rgba(255,255,255,0.057);
  padding: 13px;
  border-radius: 10px;
  border: 1.3px solid rgba(255,255,255,0.09);
  border: 1.3px solid var(--rs-border);
  cursor: pointer;
  transition: all 0.25s;
  font-size: 14px;
  font-weight: 600;
}
.rs-duration-option:hover {
  border-color: #d4af37;
  border-color: var(--rs-gold);
  background: rgba(212,175,55,0.05);
}
.rs-duration-active {
  border-color: #d4af37;
  border-color: var(--rs-gold);
  background: rgba(212,175,55,0.09);
}
.rs-duration-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}
.rs-duration-meses {
  color: #e9ecef;
  color: var(--rs-text-primary);
  font-size: 16px;
}
.rs-duration-precio {
  font-weight: 700;
  color: #d4af37;
  color: var(--rs-gold);
}
.rs-duration-nueva-fecha {
  color: #b7bcc4;
  color: var(--rs-text-secondary);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.rs-duration-radio { display: none; }

/* -------- RESUMEN -------- */
.rs-summary-card {
  background: rgba(13, 13, 13, 0.97);
  background: var(--rs-bg-secondary);
  border: 1px solid rgba(255,255,255,0.09);
  border: 1px solid var(--rs-border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 0;
}
.rs-summary-title {
  font-weight: 700;
  color: #d4af37;
  color: var(--rs-gold);
  font-size: 17px;
  margin-bottom: 10px;
}
.rs-summary-row {
  display: flex;
  justify-content: space-between;
  margin: 3px 0;
  font-size: 15px;
}
.rs-summary-divider {
  height: 1.5px;
  background: rgba(255,255,255,0.09);
  background: var(--rs-border);
  margin: 8px 0;
  border-radius: 3px;
}
.rs-summary-label-total {
  font-weight: 700;
}
.rs-summary-value-total {
  color: #d4af37;
  color: var(--rs-gold);
  font-size: 19px;
  font-weight: 700;
}
.rs-summary-note {
  font-size: 13.5px;
  color: #4dd2ff;
  color: var(--rs-blue);
  margin-bottom: 0;
  margin-top: 10px;
}

/* -------- WALLET -------- */
.rs-wallet-card {
  border-radius: 10px;
  padding: 15px 16px;
  border: 2px solid;
  transition: all 0.3s;
  margin-bottom: 0;
}
.rs-wallet-success {
  border-color: rgba(39,174,96,0.4);
  background: rgba(39,174,96,0.13);
}
.rs-wallet-error {
  border-color: rgba(231,76,60,0.5);
  background: rgba(231,76,60,0.13);
}
.rs-wallet-row {
  display: flex;
  justify-content: space-between;
  margin: 3px 0;
  font-size: 14.5px;
}
.rs-wallet-label-bold {
  font-weight: 700;
}
.rs-wallet-value-bold {
  font-size: 18px;
  font-weight: 700;
}
.rs-wallet-divider {
  height: 1px;
  background: rgba(255,255,255,0.09);
  background: var(--rs-border);
  margin: 7px 0;
}
.rs-wallet-warning {
  text-align: center;
  color: #e50914;
  color: var(--rs-red);
  font-size: 14px;
  font-weight: 600;
  margin-top: 5px;
}

/* -------- ERROR MENSAJE -------- */
.rs-error-message {
  padding: 11px 16px;
  background: rgba(231, 76, 60, 0.12);
  border-radius: 9px;
  border: 1px solid rgba(231, 76, 60, 0.18);
  font-size: 14.5px;
  color: #e50914;
  color: var(--rs-red);
  font-weight: 700;
  margin: 6px 0;
}

/* -------- INFO BOTONES -------- */
.rs-info-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
}
.rs-info-button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.09);
  border: 1px solid var(--rs-border);
  color: #e9ecef;
  color: var(--rs-text-primary);
  font-weight: 700;
  border-radius: 8px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.22s;
  font-size: 14px;
}
.rs-info-button:hover {
  border-color: #d4af37;
  border-color: var(--rs-gold);
  color: #d4af37;
  color: var(--rs-gold);
}

/* -------- BOTÓN PRINCIPAL -------- */
.rs-renovar-button {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--rs-gold), var(--rs-gold-light));
  color: #0a0a0a;
  padding: 15px 19px;
  font-weight: 800;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  font-size: 15.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  transition: all 0.25s;
}
.rs-renovar-button:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 9px 22px rgba(212, 175, 55, 0.37);
}
.rs-renovar-button-disabled {
  background: #666;
  cursor: not-allowed;
  color: #dedede;
  opacity: 0.7;
}
.rs-info-note {
  font-size: 14px;
  color: #4dd2ff;
  color: var(--rs-blue);
  margin-top: 7px;
  text-align: center;
}

/* -------- MODAL DE ÉXITO -------- */
.rs-modal-overlay-success {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  -webkit-backdrop-filter: blur(13px);
          backdrop-filter: blur(13px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.32s;
}
.rs-modal-content-success {
  background: rgba(13, 13, 13, 0.97);
  background: var(--rs-bg-secondary);
  border: 1px solid rgba(255,255,255,0.09);
  border: 1px solid var(--rs-border);
  border-radius: 17px;
  padding: 40px 34px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: slideUp 0.36s;
}
.rs-modal-close-success {
  position: absolute;
  top: 15px;
  right: 16px;
  background: none;
  border: none;
  color: #b7bcc4;
  color: var(--rs-text-secondary);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s;
}
.rs-modal-close-success:hover { color: #e50914; color: var(--rs-red); }
.rs-success-title {
  font-size: 25px;
  font-weight: 700;
  color: #d4af37;
  color: var(--rs-gold);
  margin: 7px 0 14px 0;
}
.rs-success-details {
  background: rgba(255,255,255,0.02);
  border-radius: 9px;
  padding: 15px 13px 8px 13px;
  margin-bottom: 19px;
  border: 1px solid rgba(255,255,255,0.09);
  border: 1px solid var(--rs-border);
}
.rs-success-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  font-size: 15px;
}
.rs-success-label-bold, .rs-success-value-bold { font-size: 17px; font-weight: 900; color: #d4af37; color: var(--rs-gold); }
.rs-success-divider {
  border-top: 1px solid #d4af37;
  border-top: 1px solid var(--rs-gold);
  margin: 13px 0;
}
.rs-success-buttons {
  display: flex;
  gap: 12px;
  margin: 18px 0 8px 0;
  justify-content: center;
}
.rs-success-button-primary {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  background: linear-gradient(135deg, var(--rs-green), #2ecc71);
  padding: 10px 19px;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
  transition: all 0.2s;
}
.rs-success-button-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.09);
  border: 1px solid var(--rs-border);
  color: #e9ecef;
  color: var(--rs-text-primary);
  border-radius: 10px;
  padding: 10px 19px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}
.rs-success-button-secondary:hover { border-color: #d4af37; border-color: var(--rs-gold); color: #d4af37; color: var(--rs-gold); }
.rs-success-auto-redirect {
  font-size: 12.5px;
  color: #b7bcc4;
  color: var(--rs-text-secondary);
  margin-top: 8px;
}

/* -------- MODAL DE INFO -------- */
.rs-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1080;
}
.rs-modal-content {
  background: rgba(13, 13, 13, 0.97);
  background: var(--rs-bg-secondary);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.09);
  border: 1px solid var(--rs-border);
  max-width: 470px;
  width: 100%;
  box-shadow: 0 7px 46px rgba(0,0,0,0.6);
  animation: slideUp 0.32s;
}
.rs-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  border-bottom: 1px solid var(--rs-border);
}
.rs-modal-titulo {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.rs-modal-close {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--rs-text-primary);
  cursor: pointer;
  font-size: 23px;
  transition: all 0.19s;
}
.rs-modal-close:hover { color: #d4af37; color: var(--rs-gold); }
.rs-modal-body {
  padding: 22px;
  color: #b7bcc4;
  color: var(--rs-text-secondary);
}
.rs-modal-footer {
  padding: 13px 22px;
  border-top: 1px solid rgba(255,255,255,0.09);
  border-top: 1px solid var(--rs-border);
  text-align: right;
}
.rs-modal-button-cerrar {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--rs-red), var(--rs-red-light));
  border: none;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
}

/* -------- LOADING Y ERROR -------- */
.rs-loading-container,
.rs-error-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  gap: 19px;
}
.rs-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid #241a0a2a;
  border-top: 4px solid #d4af37;
  border-top: 4px solid var(--rs-gold);
  border-right: 4px solid #4dd2ff;
  border-right: 4px solid var(--rs-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.rs-error-icon {
  font-size: 48px;
  color: #e50914;
  color: var(--rs-red);
}
.rs-error-title {
  font-weight: 800;
  font-size: 20px;
  margin: 0;
}
.rs-back-button {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--rs-gold), var(--rs-gold-light));
  color: #000;
  border: none;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 8px;
  cursor: pointer;
}

/* -------- ANIMACIONES -------- */
@keyframes slideUp {
  from { transform: translateY(45px); opacity: 0;}
  to { transform: translateY(0); opacity: 1;}
}
@keyframes fadeIn {
  from { opacity: 0;}
  to { opacity: 1;}
}
@keyframes spin {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}


/* ============================================ */
/* 🆕 BADGE MAYORISTA/AFILIADO */
/* ============================================ */

/* Badge en el header del servicio actual */
.rs-badge-mayorista {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--cmc-gold), var(--cmc-gold-light));
  color: var(--cmc-bg-primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  animation: rs-pulse-gold 2s infinite;
}

@keyframes rs-pulse-gold {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  }
  50% {
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.6);
  }
}

/* Badge en la sección de info (desktop) */
.rs-afiliado-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--cmc-gold), var(--cmc-gold-light));
  color: var(--cmc-bg-primary);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* ============================================ */
/* 🆕 ICONOS DE CATEGORÍA */
/* ============================================ */

/* Contenedor del nombre con icono en servicio actual */
.rs-servicio-nombre-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

/* Imagen del icono de categoría (pequeño) */
.rs-categoria-icono-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--cmc-gold);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Emoji del icono de categoría (pequeño) */
.rs-categoria-icono-emoji {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
}

/* Nombre del servicio (ajustado para tener icono) */
.rs-servicio-nombre {
  font-size: 20px;
  font-weight: 700;
  color: var(--cmc-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  flex: 1 1;
}

/* Contenedor del nombre del producto principal */
.rs-product-name-container {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

/* Imagen del icono de categoría (grande) */
.rs-product-categoria-icono-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--cmc-gold);
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.4);
}

/* Emoji del icono de categoría (grande) */
.rs-product-categoria-icono-emoji {
  font-size: 48px;
  flex-shrink: 0;
  line-height: 1;
}

/* Nombre del producto (ajustado para tener icono) */
.rs-product-name {
  font-size: 28px;
  font-weight: bold;
  color: var(--cmc-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.2;
  flex: 1 1;
}

/* ============================================ */
/* 📱 RESPONSIVE - MOBILE */
/* ============================================ */
@media (max-width: 768px) {
  /* Badge mayorista más pequeño en móvil */
  .rs-badge-mayorista {
    padding: 6px 12px;
    font-size: 11px;
    gap: 4px;
  }

  .rs-badge-mayorista svg {
    width: 14px;
    height: 14px;
  }

  .rs-afiliado-badge {
    padding: 10px 16px;
    font-size: 13px;
  }

  /* Iconos más pequeños en móvil */
  .rs-categoria-icono-img {
    width: 28px;
    height: 28px;
  }

  .rs-categoria-icono-emoji {
    font-size: 28px;
  }

  .rs-product-categoria-icono-img {
    width: 40px;
    height: 40px;
  }

  .rs-product-categoria-icono-emoji {
    font-size: 40px;
  }

  /* Nombres más pequeños */
  .rs-servicio-nombre {
    font-size: 18px;
  }

  .rs-product-name {
    font-size: 24px;
  }

  /* Contenedores ajustados */
  .rs-servicio-nombre-container,
  .rs-product-name-container {
    gap: 10px;
  }
}


/* ============================================
   MISTOCK.CSS - COMPLETO
   ============================================ */

/* ============================================
   VARIABLES
   ============================================ */
:root {
  --ms-bg-primary: #0f0f23;
  --ms-bg-secondary: #1a1a2e;
  --ms-bg-card: rgba(26, 26, 46, 0.6);
  --ms-border: rgba(255, 255, 255, 0.1);
  --ms-text-primary: #ffffff;
  --ms-text-secondary: #9ca3af;
  --ms-gradient-primary: linear-gradient(135deg, #667eea, #764ba2);
  --ms-color-success: #22c55e;
  --ms-color-warning: #fbbf24;
  --ms-color-danger: #ef4444;
  --ms-color-info: #3b82f6;
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */
.ms-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
  color: #ffffff;
  color: var(--ms-text-primary);
}

.ms-main {
  padding: 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.ms-main-content {
  width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.ms-header {
  background: #1a1a2e;
  background: var(--ms-bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid var(--ms-border);
  padding: 1.5rem 2rem;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.ms-header-content {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.ms-back-button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border: 1px solid var(--ms-border);
  color: #9ca3af;
  color: var(--ms-text-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ms-back-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  color: var(--ms-text-primary);
  transform: translateX(-5px);
}

.ms-header-center {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1;
  justify-content: center;
}

.ms-header-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
}

.ms-title {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  background: var(--ms-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.ms-header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.ms-btn-crear {
  background: linear-gradient(135deg, #667eea, #764ba2);
  background: var(--ms-gradient-primary);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.ms-btn-crear:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.ms-logout-button {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ms-logout-button:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
}

/* ============================================
   ESTADÍSTICAS
   ============================================ */
.ms-stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ms-stat-card {
  background: rgba(26, 26, 46, 0.6);
  background: var(--ms-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border: 1px solid var(--ms-border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.ms-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.ms-stat-icon {
  font-size: 2.5rem;
}

.ms-stat-info {
  flex: 1 1;
}

.ms-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  color: var(--ms-text-primary);
}

.ms-stat-text {
  font-size: 0.9rem;
  color: #9ca3af;
  color: var(--ms-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ms-stat-ocupados {
  border-left: 4px solid #fbbf24;
  border-left: 4px solid var(--ms-color-warning);
}

.ms-stat-disponibles {
  border-left: 4px solid #22c55e;
  border-left: 4px solid var(--ms-color-success);
}

/* ============================================
   FILTROS POR TIPO
   ============================================ */
.ms-tipo-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.ms-tipo-btn {
  flex: 1 1;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #9ca3af;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.ms-tipo-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.ms-tipo-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ============================================
   CONTROLES (BÚSQUEDA Y FILTROS)
   ============================================ */
.ms-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ms-search-box {
  position: relative;
  width: 100%;
}

.ms-search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border: 1px solid var(--ms-border);
  border-radius: 12px;
  color: #ffffff;
  color: var(--ms-text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.ms-search-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.ms-search-input::placeholder {
  color: #6b7280;
}

.ms-search-clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(239, 68, 68, 0.2);
  border: none;
  color: #ef4444;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ms-search-clear:hover {
  background: rgba(239, 68, 68, 0.3);
}

.ms-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ms-filter-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border: 1px solid var(--ms-border);
  border-radius: 10px;
  color: #9ca3af;
  color: var(--ms-text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ms-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  color: var(--ms-text-primary);
}

.ms-filter-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  background: var(--ms-gradient-primary);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ============================================
   SECCIONES
   ============================================ */
.ms-seccion {
  margin-bottom: 3rem;
}

.ms-seccion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.ms-seccion-titulo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.ms-seccion-stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.ms-seccion-stats span {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
}

/* ============================================
   LISTA DE CUENTAS
   ============================================ */
.ms-cuentas-lista {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ============================================
   TARJETA DE CUENTA
   ============================================ */
.ms-cuenta-card {
  background: rgba(26, 26, 46, 0.6);
  background: var(--ms-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border: 1px solid var(--ms-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ms-cuenta-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.ms-cuenta-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1.5rem;
}

/* LOGO DEL PRODUCTO */
.ms-producto-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1;
  min-width: 0;
}

.ms-producto-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ms-producto-emoji {
  font-size: 2rem;
}

.ms-producto-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.ms-producto-nombre {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ms-producto-tipo {
  font-size: 0.85rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ms-cuenta-stats-inline {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.ms-stat-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ms-stat-label {
  font-size: 0.8rem;
  color: #9ca3af;
  color: var(--ms-text-secondary);
  margin-bottom: 0.25rem;
}

.ms-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  color: var(--ms-text-primary);
}

.ms-stat-value.ms-stat-ocupados {
  color: #fbbf24;
  color: var(--ms-color-warning);
}

.ms-stat-value.ms-stat-disponibles {
  color: #22c55e;
  color: var(--ms-color-success);
}

.ms-cuenta-actions-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ms-btn-gestionar {
  background: linear-gradient(135deg, #667eea, #764ba2);
  background: var(--ms-gradient-primary);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.ms-btn-gestionar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.ms-expand-icon {
  font-size: 1.25rem;
  color: #9ca3af;
  color: var(--ms-text-secondary);
  transition: transform 0.3s ease;
}

/* ============================================
   DETALLES DE CUENTA (EXPANDIDO)
   ============================================ */
.ms-cuenta-detalles {
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid var(--ms-border);
  animation: slideDown 0.3s ease;
}

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

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

.ms-detalle-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ms-detalle-item.ms-detalle-full {
  grid-column: 1 / -1;
}

.ms-detalle-label {
  font-size: 0.85rem;
  color: #9ca3af;
  color: var(--ms-text-secondary);
  font-weight: 600;
}

.ms-detalle-value {
  font-size: 1rem;
  color: #ffffff;
  color: var(--ms-text-primary);
  font-family: 'Courier New', monospace;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem;
  border-radius: 8px;
  word-break: break-all;
}

.ms-detalle-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.ms-detalle-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* ============================================
   ESPACIOS PREVIEW
   ============================================ */
.ms-espacios-preview {
  margin-top: 1.5rem;
}

.ms-espacios-titulo {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  color: var(--ms-text-primary);
  margin-bottom: 1rem;
}

.ms-espacios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.ms-espacio-badge {
  padding: 0.75rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: all 0.3s ease;
}

.ms-espacio-badge.disponible {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.ms-espacio-badge.ocupado {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.ms-espacio-badge:hover {
  transform: translateY(-2px);
}

.ms-espacio-numero {
  font-size: 0.85rem;
  font-weight: 700;
  color: #9ca3af;
  color: var(--ms-text-secondary);
}

.ms-espacio-nombre {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  color: var(--ms-text-primary);
}

.ms-espacio-cliente {
  font-size: 0.8rem;
  color: #9ca3af;
  color: var(--ms-text-secondary);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.ms-empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.ms-empty-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.ms-empty-state h3 {
  font-size: 1.5rem;
  color: #ffffff;
  color: var(--ms-text-primary);
  margin-bottom: 0.5rem;
}

.ms-empty-state p {
  color: #9ca3af;
  color: var(--ms-text-secondary);
  margin-bottom: 2rem;
}

.ms-btn-crear-empty {
  background: linear-gradient(135deg, #667eea, #764ba2);
  background: var(--ms-gradient-primary);
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ms-btn-crear-empty:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* ============================================
   LOADING
   ============================================ */
.ms-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 1rem;
  color: #ffffff;
  color: var(--ms-text-primary);
}

.ms-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(102, 126, 234, 0.2);
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .ms-header-content {
    flex-wrap: wrap;
  }

  .ms-cuenta-header {
    flex-wrap: wrap;
  }

  .ms-cuenta-stats-inline {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .ms-main {
    padding: 1rem;
  }

  .ms-header {
    padding: 1rem;
  }

  .ms-header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .ms-title {
    font-size: 1.5rem;
  }

  .ms-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .ms-tipo-filters {
    flex-direction: column;
  }

  .ms-seccion-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .ms-seccion-stats {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

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

  .ms-producto-logo {
    width: 50px;
    height: 50px;
  }

  .ms-producto-emoji {
    font-size: 1.5rem;
  }

  .ms-cuenta-stats-inline {
    width: 100%;
    justify-content: space-around;
  }

  .ms-cuenta-actions-preview {
    width: 100%;
    justify-content: space-between;
  }

  .ms-espacios-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}


/* ============================================
   CREAR STOCK - ESTILOS PROFESIONALES
   ============================================ */

/* CONTAINER PRINCIPAL */
.crear-stock-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f1f5f9;
}

/* ============================================
   HEADER
   ============================================ */
.crear-stock-header {
  background: rgba(15, 23, 42, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left,
.header-right {
  flex: 1 1;
}

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

.back-button {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: rgba(59, 130, 246, 0.2);
  transform: translateX(-2px);
}

.header-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(251, 191, 36, 0.5);
}

.header-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fbbf24;
  margin: 0;
}

.header-vendor {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

.header-role {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.crear-stock-main {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.crear-stock-content {
  background: rgba(30, 41, 59, 0.6);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ============================================
   MODO SELECTOR
   ============================================ */
.modo-selector {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 0.5rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.modo-btn {
  flex: 1 1;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  color: #94a3b8;
}

.modo-btn:hover:not(:disabled) {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
}

.modo-btn.active {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.modo-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   ERRORES
   ============================================ */
.errores-container {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 2rem;
}

.errores-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fca5a5;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.errores-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.error-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 6px;
}

.error-badge {
  background: #ef4444;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.error-text {
  color: #fca5a5;
  font-size: 0.9rem;
}

/* ============================================
   FORMULARIO
   ============================================ */
.crear-stock-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-section {
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fbbf24;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================
   INPUTS - SOLUCIÓN PRINCIPAL
   ============================================ */
.input-group {
  margin-bottom: 1.25rem;
}

.input-label {
  display: block;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.required {
  color: #f87171;
  margin-left: 0.25rem;
}

.input-field,
.input-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

/* 🔥 SOLUCIÓN DEL SELECT - DROPDOWN OSCURO */
.input-select {
  background: rgba(15, 23, 42, 0.95);
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 fill=%27%2394a3b8%27 viewBox=%270 0 16 16%27%3E%3Cpath d=%27M8 11L3 6h10l-5 5z%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

/* Estilos para las opciones del select */
.input-select option {
  background: #0f172a;
  color: #f1f5f9;
  padding: 0.75rem;
}

.input-select option:hover,
.input-select option:checked {
  background: #1e293b;
  color: #fbbf24;
}

.input-field:focus,
.input-select:focus {
  border-color: #3b82f6;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-field:disabled,
.input-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: rgba(15, 23, 42, 0.5);
}

.input-hint {
  display: block;
  color: #94a3b8;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* ============================================
   INFO BOX
   ============================================ */
.info-box {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  padding: 1rem;
  color: #93c5fd;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ============================================
   CHECKBOX
   ============================================ */
.checkbox-group {
  margin-bottom: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #3b82f6;
}

/* ============================================
   ARCHIVO TXT
   ============================================ */
.plantilla-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.descargar-plantilla {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.descargar-plantilla:hover {
  background: rgba(16, 185, 129, 0.2);
  transform: translateY(-1px);
}

.file-input-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.file-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-name {
  display: block;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-input:hover + .file-name {
  border-color: #3b82f6;
  background: rgba(15, 23, 42, 0.95);
}

/* ============================================
   PLANTILLA EJEMPLO
   ============================================ */
.plantilla-ejemplo {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.plantilla-text {
  background: #0f172a;
  color: #6ee7b7;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  overflow-x: auto;
  margin: 0.75rem 0;
  font-family: 'Courier New', monospace;
}

.plantilla-ejemplo small {
  display: block;
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ============================================
   DATOS PREVIEW
   ============================================ */
.datos-preview {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.preview-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.preview-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 6px;
}

.preview-num {
  background: #10b981;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
}

.preview-email {
  color: #e2e8f0;
  flex: 1 1;
  font-size: 0.9rem;
}

.preview-espacios {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.preview-more {
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
  padding: 0.5rem;
}

.resumen-carga {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.resumen-item {
  color: #e2e8f0;
  font-size: 0.95rem;
}

.resumen-item strong {
  color: #fbbf24;
  margin-left: 0.5rem;
}

/* ============================================
   PROGRESO
   ============================================ */
.progress-section {
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  border-radius: 6px;
  transition: width 0.3s ease;
}

.progress-text {
  text-align: center;
  color: #6ee7b7;
  font-weight: 600;
  margin: 0;
}

/* ============================================
   BOTONES
   ============================================ */
.button-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.submit-button {
  flex: 1 1;
  padding: 1rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.submit-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.cancel-button {
  flex: 1 1;
  padding: 1rem;
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cancel-button:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.2);
}

.cancel-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* src/pages/vendedor/GestionarStock.css */



:root {
  --gestionar-bg-primary: #0a0a0a;
  --gestionar-bg-secondary: rgba(10, 10, 10, 0.95);
  --gestionar-bg-card: rgba(20, 20, 20, 0.95);
  --gestionar-gold: #d4af37;
  --gestionar-gold-light: #f0d574;
  --gestionar-text-primary: #e9ecef;
  --gestionar-text-secondary: #b7bcc4;
  --gestionar-border: rgba(255, 255, 255, 0.12);
  --gestionar-success: #27ae60;
  --gestionar-warning: #f39c12;
  --gestionar-danger: #e74c3c;
  --gestionar-info: #3498db;
}

* {
  box-sizing: border-box;
}

/* ============================================ */
/* CONTENEDOR PRINCIPAL */
/* ============================================ */
.gestionar-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--gestionar-bg-primary);
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* HEADER */
/* ============================================ */
.gestionar-header {
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--gestionar-bg-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--gestionar-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1800px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

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

.back-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gestionar-border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  white-space: nowrap;
}

.back-button:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateX(-2px);
}

.header-left h1 {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  margin: 0;
  font-family: 'Orbitron', monospace;
}

.header-right {
  display: flex;
  gap: 12px;
}

.nav-button,
.logout-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gestionar-border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  white-space: nowrap;
}

.nav-button:hover,
.logout-button:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* ============================================ */
/* MAIN CONTENT */
/* ============================================ */
.gestionar-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 24px;
}

.gestionar-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ============================================ */
/* LOADING */
/* ============================================ */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: #b7bcc4;
  color: var(--gestionar-text-secondary);
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border: 4px solid var(--gestionar-border);
  border-top: 4px solid #d4af37;
  border-top: 4px solid var(--gestionar-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================ */
/* ERROR */
/* ============================================ */
.error-container {
  text-align: center;
  padding: 80px 20px;
  color: #e9ecef;
  color: var(--gestionar-text-primary);
}

.error-container h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

.error-container button {
  background-color: #e74c3c;
  background-color: var(--gestionar-danger);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

.error-alert {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  border: 1px solid var(--gestionar-danger);
  border-radius: 8px;
  padding: 16px 20px;
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  font-size: 15px;
}

.error-alert button {
  background: none;
  border: none;
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  cursor: pointer;
  font-size: 20px;
  padding: 0;
}

/* ============================================ */
/* INFO CARD */
/* ============================================ */
.cuenta-info-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--gestionar-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gestionar-border);
  border-radius: 12px;
  padding: 20px;
}

.cuenta-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gestionar-border);
}

.stat-item span:first-child {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--gestionar-text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-item span:last-child {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  font-family: 'Orbitron', monospace;
}

.stat-item .warning {
  color: #f39c12;
  color: var(--gestionar-warning);
}

.stat-item .success {
  color: #27ae60;
  color: var(--gestionar-success);
}

/* ============================================ */
/* TABS */
/* ============================================ */
.tabs-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tab-button {
  background-color: rgba(255, 255, 255, 0.05);
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gestionar-border);
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tab-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #d4af37;
  border-color: var(--gestionar-gold);
}

.tab-button.active {
  background-color: #d4af37;
  background-color: var(--gestionar-gold);
  color: #0a0a0a;
  color: var(--gestionar-bg-primary);
  border-color: #d4af37;
  border-color: var(--gestionar-gold);
}

/* ============================================ */
/* TAB PANEL */
/* ============================================ */
.tab-panel {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--gestionar-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gestionar-border);
  border-radius: 12px;
  padding: 30px;
}

.tab-panel h3 {
  font-size: 20px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  margin: 0 0 24px 0;
}

.tab-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.tab-header-actions h3 {
  margin: 0;
}

.empty-message {
  text-align: center;
  padding: 40px 20px;
  color: #b7bcc4;
  color: var(--gestionar-text-secondary);
  font-size: 16px;
}

/* ============================================ */
/* FORM ELEMENTS */
/* ============================================ */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  margin-bottom: 10px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gestionar-border);
  border-radius: 8px;
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  font-size: 15px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--gestionar-gold);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

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

.input-with-copy {
  display: flex;
  gap: 8px;
  align-items: center;
}

.input-with-copy .form-input {
  flex: 1 1;
}

.btn-copy {
  background-color: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  color: var(--gestionar-gold);
  border: 1px solid #d4af37;
  border: 1px solid var(--gestionar-gold);
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.btn-copy:hover {
  background-color: rgba(212, 175, 55, 0.3);
}

/* ============================================ */
/* BUTTONS */
/* ============================================ */
.btn-primary {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--gestionar-gold), var(--gestionar-gold-light));
  color: #0a0a0a;
  color: var(--gestionar-bg-primary);
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-danger {
  background-color: #e74c3c;
  background-color: var(--gestionar-danger);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.btn-danger:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.btn-danger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================ */
/* PERFILES */
/* ============================================ */
.perfiles-lista {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.perfil-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gestionar-border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.perfil-card.ocupado {
  border-color: #f39c12;
  border-color: var(--gestionar-warning);
  background-color: rgba(243, 156, 18, 0.05);
}

.perfil-card.disponible {
  border-color: #27ae60;
  border-color: var(--gestionar-success);
  background-color: rgba(39, 174, 96, 0.05);
}

.perfil-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.perfil-numero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--gestionar-gold), var(--gestionar-gold-light));
  color: #0a0a0a;
  color: var(--gestionar-bg-primary);
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  font-family: 'Orbitron', monospace;
  flex-shrink: 0;
}

.perfil-info-editable {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.perfil-nombre-input {
  width: 100%;
  padding: 10px 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gestionar-border);
  border-radius: 6px;
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  font-size: 15px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.perfil-nombre-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--gestionar-gold);
  background-color: rgba(255, 255, 255, 0.08);
}

.perfil-nombre-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================ */
/* PIN CONTAINER */
/* ============================================ */
.perfil-pin-container {
  display: flex;
  gap: 8px;
  align-items: center;
}

.perfil-pin-input {
  flex: 1 1;
  padding: 10px 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gestionar-border);
  border-radius: 6px;
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.perfil-pin-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--gestionar-gold);
  background-color: rgba(255, 255, 255, 0.08);
}

.perfil-pin-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.perfil-pin-input::placeholder {
  color: #b7bcc4;
  color: var(--gestionar-text-secondary);
}

.btn-guardar-pin {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--gestionar-gold), var(--gestionar-gold-light));
  color: #0a0a0a;
  color: var(--gestionar-bg-primary);
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  min-width: 40px;
  font-weight: 600;
  flex-shrink: 0;
}

.btn-guardar-pin:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

.btn-guardar-pin:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================ */
/* PERFIL ACTIONS */
/* ============================================ */
.perfil-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.perfil-estado {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.perfil-estado.ocupado {
  background-color: rgba(243, 156, 18, 0.2);
  color: #f39c12;
  color: var(--gestionar-warning);
}

.perfil-estado.disponible {
  background-color: rgba(39, 174, 96, 0.2);
  color: #27ae60;
  color: var(--gestionar-success);
}

/* ============================================ */
/* BOTÓN ELIMINAR PERFIL (TRASH) */
/* ============================================ */
.btn-eliminar-perfil {
  background-color: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  color: var(--gestionar-danger);
  border: 1px solid #e74c3c;
  border: 1px solid var(--gestionar-danger);
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-eliminar-perfil:hover:not(:disabled) {
  background-color: rgba(231, 76, 60, 0.3);
  transform: scale(1.05);
}

.btn-eliminar-perfil:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================ */
/* PERFIL INFO CLIENTE */
/* ============================================ */
.perfil-info-cliente {
  background-color: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--gestionar-border);
  padding-top: 16px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.info-row strong {
  color: #b7bcc4;
  color: var(--gestionar-text-secondary);
  min-width: 100px;
}

.info-row span {
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  text-align: right;
}

.text-danger {
  color: #e74c3c !important;
  color: var(--gestionar-danger) !important;
}

.text-warning {
  color: #f39c12 !important;
  color: var(--gestionar-warning) !important;
}

.btn-liberar {
  width: 100%;
  margin-top: 12px;
  background-color: #27ae60;
  background-color: var(--gestionar-success);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-liberar:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
}

.btn-liberar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================ */
/* TABLA DE HISTORIAL */
/* ============================================ */
.historial-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 24px;
}

.stat-box {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gestionar-border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.stat-numero {
  font-size: 28px;
  font-weight: 700;
  color: #d4af37;
  color: var(--gestionar-gold);
  margin: 0 0 8px 0;
  font-family: 'Orbitron', monospace;
}

.stat-texto {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--gestionar-text-secondary);
  margin: 0;
}

.tabla-responsive {
  overflow-x: auto;
}

.historial-tabla {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.historial-tabla thead {
  background-color: rgba(255, 255, 255, 0.05);
}

.historial-tabla th {
  padding: 12px;
  text-align: left;
  color: #b7bcc4;
  color: var(--gestionar-text-secondary);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--gestionar-border);
}

.historial-tabla td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--gestionar-border);
  color: #e9ecef;
  color: var(--gestionar-text-primary);
}

.tabla-perfil {
  font-weight: 600;
  color: #d4af37;
  color: var(--gestionar-gold);
}

.tabla-perfil small {
  color: #b7bcc4;
  color: var(--gestionar-text-secondary);
  font-size: 12px;
}

.tabla-cliente,
.tabla-telefono {
  color: #b7bcc4;
  color: var(--gestionar-text-secondary);
}

.tabla-precio {
  color: #27ae60;
  color: var(--gestionar-success);
  font-weight: 600;
}

.tabla-fecha {
  font-size: 13px;
}

.tabla-dias {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
}

.tabla-dias.success {
  background-color: rgba(39, 174, 96, 0.2);
  color: #27ae60;
  color: var(--gestionar-success);
}

.tabla-dias.warning {
  background-color: rgba(243, 156, 18, 0.2);
  color: #f39c12;
  color: var(--gestionar-warning);
}

.tabla-dias.danger {
  background-color: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  color: var(--gestionar-danger);
}

.btn-liberar-small {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gestionar-border);
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-liberar-small:hover:not(:disabled) {
  background-color: #27ae60;
  background-color: var(--gestionar-success);
  border-color: #27ae60;
  border-color: var(--gestionar-success);
}

.btn-liberar-small:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================ */
/* HISTORIAL ACCORDION */
/* ============================================ */
.historial-accordion {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gestionar-border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.historial-accordion summary {
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.historial-accordion summary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.historial-tabla-mini {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.historial-tabla-mini th {
  padding: 10px;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.02);
  color: #b7bcc4;
  color: var(--gestionar-text-secondary);
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--gestionar-border);
}

.historial-tabla-mini td {
  padding: 10px;
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================ */
/* DANGER ZONE */
/* ============================================ */
.danger-zone {
  border: 1px solid #e74c3c;
  border: 1px solid var(--gestionar-danger);
  background-color: rgba(231, 76, 60, 0.05);
}

.danger-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px;
  background-color: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  border: 1px solid var(--gestionar-danger);
  border-radius: 8px;
}

.danger-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: #e74c3c;
  color: var(--gestionar-danger);
  margin: 0 0 8px 0;
}

.danger-info p {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--gestionar-text-secondary);
  margin: 0 0 8px 0;
}

.danger-info p:last-child {
  margin: 0;
}

.danger-warning {
  color: #f39c12 !important;
  color: var(--gestionar-warning) !important;
}

/* ============================================ */
/* MODALES */
/* ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.modal-content {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--gestionar-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gestionar-border);
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.modal-icon {
  font-size: 64px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon.success {
  color: #27ae60;
  color: var(--gestionar-success);
}

.modal-icon.warning {
  color: #f39c12;
  color: var(--gestionar-warning);
}

.modal-icon.danger {
  color: #e74c3c;
  color: var(--gestionar-danger);
}

.modal-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  margin: 0 0 16px 0;
}

.modal-message {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--gestionar-text-secondary);
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.modal-info {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gestionar-border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
}

.modal-info p {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--gestionar-text-secondary);
  margin: 0 0 12px 0;
}

.modal-info p:last-child {
  margin: 0;
}

.modal-info ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}

.modal-info li {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--gestionar-text-secondary);
  padding: 4px 0;
}

.modal-info-highlight {
  color: #d4af37 !important;
  color: var(--gestionar-gold) !important;
  font-weight: 600 !important;
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.modal-button {
  flex: 1 1;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.modal-button:not(.danger):not(.secondary) {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--gestionar-gold), var(--gestionar-gold-light));
  color: #0a0a0a;
  color: var(--gestionar-bg-primary);
}

.modal-button.danger {
  background-color: #e74c3c;
  background-color: var(--gestionar-danger);
  color: white;
}

.modal-button.danger:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.modal-button.secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--gestionar-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gestionar-border);
}

.modal-button.secondary:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.15);
}

.modal-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */
@media (max-width: 1200px) {
  .perfiles-lista {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 16px;
  }

  .header-left,
  .header-right {
    width: 100%;
    justify-content: center;
  }

  .gestionar-main {
    padding: 20px 16px;
  }

  .tab-panel {
    padding: 20px;
  }

  .perfiles-lista {
    grid-template-columns: 1fr;
  }

  .danger-action {
    flex-direction: column;
    align-items: flex-start;
  }

  .tabla-responsive {
    font-size: 12px;
  }

  .historial-tabla th,
  .historial-tabla td {
    padding: 8px;
  }

  .modal-content {
    padding: 24px;
  }

  .modal-actions {
    flex-direction: column;
  }
}

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

  .back-button,
  .nav-button,
  .logout-button {
    font-size: 12px;
    padding: 8px 12px;
  }

  .tabs-container {
    gap: 8px;
  }

  .tab-button {
    font-size: 12px;
    padding: 10px 14px;
  }

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

  .perfil-actions {
    flex-direction: row;
    width: 100%;
  }

  .btn-eliminar-perfil {
    flex: 1 1;
  }
}

/* ============================================
   🆕 SOLO BOTONES NUEVOS
   ============================================ */

.actions-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-secondary {
  padding: 0.625rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-secondary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .actions-group {
    gap: 0.5rem;
  }
  
  .btn-secondary {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
  }
}

/* src/pages/vendedor/MisChats.css */
/* PREFIJO: vmc- (Vendedor Mis Chats) */


/* ============================================
   VARIABLES Y COLORES
   ============================================ */
:root {
  --vmc-gold: #d4af37;
  --vmc-gold-light: #f0d574;
  --vmc-gold-dark: #b8941f;
  --vmc-bg-primary: #0a0a0a;
  --vmc-bg-secondary: rgba(20, 20, 20, 0.95);
  --vmc-bg-tertiary: rgba(30, 30, 30, 0.8);
  --vmc-bg-quaternary: rgba(25, 25, 25, 0.9);
  --vmc-text-primary: #e9ecef;
  --vmc-text-secondary: #b7bcc4;
  --vmc-text-muted: #8b95a5;
  --vmc-border: rgba(255, 255, 255, 0.12);
  --vmc-border-light: rgba(255, 255, 255, 0.08);
  --vmc-success: #27ae60;
  --vmc-error: #e74c3c;
  --vmc-info: #3498db;
  --vmc-online-green: #2ecc71;
  --vmc-bubble-sent: linear-gradient(135deg, #2c5f7a 0%, #1a4a5e 100%);
  --vmc-bubble-received: rgba(40, 40, 40, 0.95);
  --vmc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --vmc-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --vmc-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}


/* ============================================
   CONTAINER PRINCIPAL - ESTILO MESSENGER
   ============================================ */
.vmc-messenger-container {
  display: flex;
  height: 100vh;
  background: #0a0a0a;
  background: var(--vmc-bg-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
  overflow: hidden;
  position: relative;
}


.vmc-messenger-container * {
  box-sizing: border-box;
}


/* ============================================
   SIDEBAR - LISTA DE CHATS
   ============================================ */
.vmc-sidebar {
  width: 360px;
  background: rgba(20, 20, 20, 0.95);
  background: var(--vmc-bg-secondary);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid var(--vmc-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}


/* HEADER SIDEBAR */
.vmc-sidebar-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(30, 30, 30, 0.8);
  background: var(--vmc-bg-tertiary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vmc-border);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}


.vmc-back-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmc-border);
  border-radius: 8px;
  color: #e9ecef;
  color: var(--vmc-text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}


.vmc-back-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #d4af37;
  border-color: var(--vmc-gold);
  color: #d4af37;
  color: var(--vmc-gold);
  transform: translateX(-4px);
}


.vmc-sidebar-title {
  flex: 1 1;
  font-size: 22px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--vmc-text-primary);
  margin: 0;
}


.vmc-sidebar-count {
  background: #d4af37;
  background: var(--vmc-gold);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  min-width: 24px;
  text-align: center;
}


/* ============================================
   TABS
   ============================================ */
.vmc-tabs-container {
  display: flex;
  padding: 12px 16px;
  gap: 8px;
  background: rgba(25, 25, 25, 0.9);
  background: var(--vmc-bg-quaternary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vmc-border);
}


.vmc-tab {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--vmc-border-light);
  border-radius: 10px;
  color: #b7bcc4;
  color: var(--vmc-text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}


.vmc-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  border-color: var(--vmc-border);
}


.vmc-tab-active {
  background: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
  border-color: var(--vmc-gold);
  color: #d4af37;
  color: var(--vmc-gold);
}


.vmc-tab-badge {
  background: #d4af37;
  background: var(--vmc-gold);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}


/* ============================================
   BUSCADOR
   ============================================ */
.vmc-search-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(25, 25, 25, 0.9);
  background: var(--vmc-bg-quaternary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vmc-border);
}


.vmc-search-container svg {
  color: #8b95a5;
  color: var(--vmc-text-muted);
  flex-shrink: 0;
}


.vmc-search-input {
  flex: 1 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmc-border);
  border-radius: 8px;
  padding: 10px 14px;
  color: #e9ecef;
  color: var(--vmc-text-primary);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}


.vmc-search-input::placeholder {
  color: #8b95a5;
  color: var(--vmc-text-muted);
}


.vmc-search-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #d4af37;
  border-color: var(--vmc-gold);
}


/* ============================================
   LISTA DE CHATS
   ============================================ */
.vmc-chats-list {
  flex: 1 1;
  overflow-y: auto;
  padding: 8px;
}


.vmc-chats-list::-webkit-scrollbar {
  width: 6px;
}


.vmc-chats-list::-webkit-scrollbar-track {
  background: transparent;
}


.vmc-chats-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}


.vmc-chats-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}


/* ITEM DE CHAT */
.vmc-chat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--vmc-border-light);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}


.vmc-chat-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  border-color: var(--vmc-border);
  transform: translateX(4px);
}


.vmc-chat-item-active {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  border-color: var(--vmc-gold);
}


.vmc-chat-item-unread {
  background: rgba(255, 255, 255, 0.06);
  border-color: #d4af37;
  border-color: var(--vmc-gold);
}


/* AVATAR */
.vmc-chat-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(30, 30, 30, 0.8);
  background: var(--vmc-bg-tertiary);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--vmc-border);
}


.vmc-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.vmc-chat-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
  color: #d4af37;
  color: var(--vmc-gold);
}


/* INFO DEL CHAT */
.vmc-chat-info {
  flex: 1 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}


.vmc-chat-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}


.vmc-chat-name {
  font-size: 15px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--vmc-text-primary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.vmc-chat-time {
  font-size: 12px;
  color: #8b95a5;
  color: var(--vmc-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}


.vmc-chat-last-message {
  display: flex;
  align-items: center;
  gap: 8px;
}


.vmc-chat-message-text {
  flex: 1 1;
  font-size: 13px;
  color: #b7bcc4;
  color: var(--vmc-text-secondary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.vmc-chat-unread-dot {
  width: 10px;
  height: 10px;
  background: #d4af37;
  background: var(--vmc-gold);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px #d4af37;
  box-shadow: 0 0 8px var(--vmc-gold);
}


.vmc-chat-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}


/* BADGES */
.vmc-badge-small {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: capitalize;
}


.vmc-badge-pendiente {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}


.vmc-badge-proceso {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}


.vmc-badge-entregado {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}


.vmc-badge-completado {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}


.vmc-badge-cancelado {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}


.vmc-badge-default {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}


/* EMPTY STATE */
.vmc-empty-chats {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #8b95a5;
  color: var(--vmc-text-muted);
  text-align: center;
}


.vmc-empty-chats svg {
  margin-bottom: 16px;
  opacity: 0.4;
}


.vmc-empty-chats p {
  margin: 0;
  font-size: 15px;
}


/* ============================================
   ÁREA DE CHAT
   ============================================ */
.vmc-chat-area {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  background: var(--vmc-bg-primary);
  position: relative;
}


/* NO CHAT SELECTED */
.vmc-no-chat-selected {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8b95a5;
  color: var(--vmc-text-muted);
  text-align: center;
  gap: 16px;
}


.vmc-no-chat-selected svg {
  opacity: 0.3;
}


.vmc-no-chat-selected h3 {
  margin: 0;
  font-size: 24px;
  color: #b7bcc4;
  color: var(--vmc-text-secondary);
}


.vmc-no-chat-selected p {
  margin: 0;
  font-size: 15px;
}


/* ============================================
   HEADER DEL CHAT
   ============================================ */
.vmc-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(20, 20, 20, 0.95);
  background: var(--vmc-bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vmc-border);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}


.vmc-chat-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1;
  min-width: 0;
}


.vmc-chat-header-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(30, 30, 30, 0.8);
  background: var(--vmc-bg-tertiary);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--vmc-border);
}


.vmc-chat-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.vmc-chat-header-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
  color: #d4af37;
  color: var(--vmc-gold);
}


.vmc-chat-header-info {
  flex: 1 1;
  min-width: 0;
}


.vmc-chat-header-name {
  font-size: 17px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--vmc-text-primary);
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.vmc-chat-header-status {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--vmc-text-secondary);
  margin: 0;
}


.vmc-typing {
  color: #d4af37;
  color: var(--vmc-gold);
  font-weight: 500;
}


.vmc-online {
  color: #2ecc71;
  color: var(--vmc-online-green);
}


.vmc-offline {
  color: #8b95a5;
  color: var(--vmc-text-muted);
}


.vmc-product-name {
  color: #b7bcc4;
  color: var(--vmc-text-secondary);
}


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


.vmc-header-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmc-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--vmc-text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}


.vmc-header-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #d4af37;
  border-color: var(--vmc-gold);
  color: #d4af37;
  color: var(--vmc-gold);
  transform: translateY(-2px);
}


.vmc-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  text-transform: capitalize;
}


/* MENÚ DE OPCIONES */
.vmc-opciones-container {
  position: relative;
}


.vmc-opciones-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(30, 30, 30, 0.8);
  background: var(--vmc-bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmc-border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  box-shadow: var(--vmc-shadow-lg);
  min-width: 200px;
  overflow: hidden;
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}


.vmc-opcion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--vmc-text-primary);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}


.vmc-opcion-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #d4af37;
  color: var(--vmc-gold);
}


.vmc-opcion-item svg {
  flex-shrink: 0;
}


/* ============================================
   BARRA DE BÚSQUEDA DE MENSAJES
   ============================================ */
.vmc-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(25, 25, 25, 0.9);
  background: var(--vmc-bg-quaternary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vmc-border);
}


.vmc-search-bar svg {
  color: #8b95a5;
  color: var(--vmc-text-muted);
  flex-shrink: 0;
}


.vmc-search-input-messages {
  flex: 1 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmc-border);
  border-radius: 8px;
  padding: 8px 12px;
  color: #e9ecef;
  color: var(--vmc-text-primary);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}


.vmc-search-input-messages::placeholder {
  color: #8b95a5;
  color: var(--vmc-text-muted);
}


.vmc-search-input-messages:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #d4af37;
  border-color: var(--vmc-gold);
}


.vmc-search-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmc-border);
  border-radius: 6px;
  color: #8b95a5;
  color: var(--vmc-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}


.vmc-search-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #e9ecef;
  color: var(--vmc-text-primary);
}


/* ============================================
   CONTENEDOR DE MENSAJES
   ============================================ */
.vmc-messages-container {
  flex: 1 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.02) 0%, transparent 50%);
}


.vmc-messages-container::-webkit-scrollbar {
  width: 8px;
}


.vmc-messages-container::-webkit-scrollbar-track {
  background: transparent;
}


.vmc-messages-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}


.vmc-messages-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}


/* NO MESSAGES */
.vmc-no-messages {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8b95a5;
  color: var(--vmc-text-muted);
  text-align: center;
  gap: 12px;
}


.vmc-no-messages svg {
  opacity: 0.3;
}


.vmc-no-messages p {
  margin: 0;
  font-size: 15px;
}


/* ============================================
   MENSAJES
   ============================================ */
.vmc-message {
  display: flex;
  gap: 10px;
  max-width: 70%;
  animation: messageSlideIn 0.3s ease-out;
}


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


.vmc-message-sent {
  align-self: flex-end;
  flex-direction: row-reverse;
}


.vmc-message-received {
  align-self: flex-start;
}


.vmc-message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(30, 30, 30, 0.8);
  background: var(--vmc-bg-tertiary);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--vmc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b95a5;
  color: var(--vmc-text-muted);
  flex-shrink: 0;
}


.vmc-message-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1;
  min-width: 0;
  position: relative;
}


.vmc-message-content:hover .vmc-mensaje-acciones {
  opacity: 1;
  visibility: visible;
}


.vmc-message-sender {
  font-size: 13px;
  font-weight: 600;
  color: #d4af37;
  color: var(--vmc-gold);
  margin: 0 0 4px 0;
  padding: 0 12px;
}


.vmc-message-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  box-shadow: var(--vmc-shadow-sm);
}


.vmc-bubble-sent {
  background: linear-gradient(135deg, #2c5f7a 0%, #1a4a5e 100%);
  background: var(--vmc-bubble-sent);
  color: #e9ecef;
  color: var(--vmc-text-primary);
  border-bottom-right-radius: 4px;
}


.vmc-bubble-received {
  background: rgba(40, 40, 40, 0.95);
  background: var(--vmc-bubble-received);
  color: #e9ecef;
  color: var(--vmc-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--vmc-border-light);
  border-bottom-left-radius: 4px;
}


/* REPLY PREVIEW */
.vmc-reply-preview {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  margin-bottom: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-left: 3px solid #d4af37;
  border-left: 3px solid var(--vmc-gold);
  border-radius: 6px;
}


.vmc-reply-preview svg {
  color: #d4af37;
  color: var(--vmc-gold);
  flex-shrink: 0;
  margin-top: 2px;
}


.vmc-reply-author {
  font-size: 12px;
  font-weight: 600;
  color: #d4af37;
  color: var(--vmc-gold);
  margin: 0 0 4px 0;
}


.vmc-reply-text {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--vmc-text-secondary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* IMAGEN EN MENSAJE */
.vmc-message-image-container {
  margin-bottom: 8px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
}


.vmc-message-image-container:hover {
  transform: scale(1.02);
}


.vmc-message-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  border-radius: 12px;
}


.vmc-message-text {
  font-size: 15px;
  line-height: 1.5;
  color: inherit;
  margin: 0;
  white-space: pre-wrap;
}


.vmc-message-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 6px;
}


.vmc-message-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}


.vmc-message-check {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}


.vmc-check-leido {
  color: #d4af37;
  color: var(--vmc-gold);
}


.vmc-star-importante {
  flex-shrink: 0;
}


/* REACCIONES */
.vmc-reacciones-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  padding: 0 12px;
}


.vmc-reaccion {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmc-border);
  border-radius: 12px;
  padding: 4px 8px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}


/* ACCIONES DEL MENSAJE */
.vmc-mensaje-acciones {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}


.vmc-accion-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmc-border);
  border-radius: 8px;
  color: #8b95a5;
  color: var(--vmc-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}


.vmc-accion-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #d4af37;
  border-color: var(--vmc-gold);
  color: #d4af37;
  color: var(--vmc-gold);
  transform: translateY(-2px);
}


/* ============================================
   PREVIEW DE IMAGEN
   ============================================ */
.vmc-image-preview-bar {
  padding: 12px 24px;
  background: rgba(25, 25, 25, 0.9);
  background: var(--vmc-bg-quaternary);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--vmc-border);
}


.vmc-image-preview-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmc-border);
  border-radius: 12px;
  position: relative;
}


.vmc-image-preview-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--vmc-border);
}


.vmc-image-preview-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #ef4444;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
}


.vmc-image-preview-close:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.25);
  transform: scale(1.05);
}


.vmc-image-preview-close:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


.vmc-uploading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
}


.vmc-uploading-overlay p {
  color: #e9ecef;
  color: var(--vmc-text-primary);
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}


/* ============================================
   RESPONDER PREVIEW
   ============================================ */
.vmc-responder-preview {
  padding: 12px 24px;
  background: rgba(25, 25, 25, 0.9);
  background: var(--vmc-bg-quaternary);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--vmc-border);
}


.vmc-responder-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-left: 3px solid #d4af37;
  border-left: 3px solid var(--vmc-gold);
  border-radius: 10px;
}


.vmc-responder-content svg {
  color: #d4af37;
  color: var(--vmc-gold);
  flex-shrink: 0;
}


.vmc-responder-info {
  flex: 1 1;
  min-width: 0;
}


.vmc-responder-author {
  font-size: 12px;
  font-weight: 600;
  color: #d4af37;
  color: var(--vmc-gold);
  margin: 0 0 4px 0;
}


.vmc-responder-text {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--vmc-text-secondary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.vmc-responder-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmc-border);
  border-radius: 8px;
  color: #8b95a5;
  color: var(--vmc-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}


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


/* ============================================
   INPUT DE MENSAJE
   ============================================ */
.vmc-input-container {
  padding: 16px 24px;
  background: rgba(20, 20, 20, 0.95);
  background: var(--vmc-bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--vmc-border);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}


.vmc-input-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  background: rgba(30, 30, 30, 0.8);
  background: var(--vmc-bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmc-border);
  border-radius: 24px;
  padding: 10px 12px;
  transition: all 0.3s ease;
}


.vmc-input-form:focus-within {
  border-color: #d4af37;
  border-color: var(--vmc-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}


.vmc-input-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmc-border);
  border-radius: 50%;
  color: #e9ecef;
  color: var(--vmc-text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}


.vmc-input-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: #d4af37;
  border-color: var(--vmc-gold);
  color: #d4af37;
  color: var(--vmc-gold);
  transform: scale(1.05);
}


.vmc-input-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}


.vmc-emoji-picker {
  position: absolute;
  bottom: 80px;
  left: 24px;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  box-shadow: var(--vmc-shadow-lg);
  border-radius: 12px;
  overflow: hidden;
}


.vmc-input-field {
  flex: 1 1;
  background: transparent;
  border: none;
  outline: none;
  color: #e9ecef;
  color: var(--vmc-text-primary);
  font-size: 15px;
  font-family: inherit;
  resize: none;
  max-height: 100px;
  overflow-y: auto;
  padding: 8px 4px;
  line-height: 1.5;
}


.vmc-input-field::placeholder {
  color: #8b95a5;
  color: var(--vmc-text-muted);
}


.vmc-input-field::-webkit-scrollbar {
  width: 4px;
}


.vmc-input-field::-webkit-scrollbar-track {
  background: transparent;
}


.vmc-input-field::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}


.vmc-send-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  background: linear-gradient(135deg, var(--vmc-gold) 0%, var(--vmc-gold-dark) 100%);
  border: none;
  border-radius: 50%;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}


.vmc-send-button:hover:not(:disabled) {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}


.vmc-send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}


/* ============================================
   LOADING & SPINNER
   ============================================ */
.vmc-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #0a0a0a;
  background: var(--vmc-bg-primary);
  gap: 16px;
}


.vmc-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #d4af37;
  border-top-color: var(--vmc-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}


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


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


.vmc-loading-text {
  color: #b7bcc4;
  color: var(--vmc-text-secondary);
  font-size: 15px;
  margin: 0;
}


/* ============================================
   🆕 ESTILOS DEL MODAL DE CONFIRMACIÓN
   ============================================ */

.confirm-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s ease-out;
}

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

.confirm-modal-container {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 20px;
  padding: 40px 30px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: slideUp 0.3s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.confirm-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.confirm-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  animation: iconPulse 0.5s ease-out;
}

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

.confirm-modal-icon-warning {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.confirm-modal-icon-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.confirm-modal-icon-archive {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.confirm-modal-icon-restore {
  background: rgba(14, 165, 233, 0.15);
  color: #0ea5e9;
}

.confirm-modal-title {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 15px 0;
}

.confirm-modal-message {
  color: #cbd5e1;
  font-size: 16px;
  text-align: center;
  margin: 0 0 30px 0;
  line-height: 1.5;
}

.confirm-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.confirm-modal-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 120px;
}

.confirm-modal-btn-cancel {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.confirm-modal-btn-cancel:hover {
  background: rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  transform: translateY(-2px);
}

.confirm-modal-btn-confirm {
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.confirm-modal-btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.confirm-modal-btn-warning {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.confirm-modal-btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.confirm-modal-btn-archive {
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.confirm-modal-btn-restore {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.confirm-modal-btn:active {
  transform: translateY(0);
}


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

@media (max-width: 768px) {
  .vmc-sidebar {
    width: 100%;
    border-right: none;
  }

  .vmc-chat-area {
    display: none;
  }

  .vmc-chat-item-active ~ * {
    display: none;
  }

  .vmc-message {
    max-width: 85%;
  }

  .vmc-chat-header {
    padding: 12px 16px;
  }

  .vmc-messages-container {
    padding: 16px;
  }

  .vmc-input-container {
    padding: 12px 16px;
  }

  .confirm-modal-container {
    padding: 30px 20px;
  }

  .confirm-modal-title {
    font-size: 20px;
  }

  .confirm-modal-message {
    font-size: 14px;
  }

  .confirm-modal-actions {
    flex-direction: column;
  }

  .confirm-modal-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .vmc-sidebar {
    width: 100%;
  }

  .vmc-sidebar-title {
    font-size: 18px;
  }

  .vmc-chat-name {
    font-size: 14px;
  }

  .vmc-message {
    max-width: 90%;
  }

  .vmc-message-text {
    font-size: 14px;
  }
}
/* ========================================
   FORMATO WHATSAPP Y EMAIL COPIABLE
======================================== */

.vmc-message-text strong {
  font-weight: 700;
  color: inherit;
}

.vmc-message-text em {
  font-style: italic;
  color: inherit;
}

.vmc-message-text span[style*="line-through"] {
  text-decoration: line-through;
  opacity: 0.7;
}

.vmc-message-text code {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.9em;
  background-color: rgba(0, 0, 0, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
  color: #d63031;
}

.vmc-email-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(0, 0, 0, 0.04);
  padding: 4px 8px;
  border-radius: 6px;
  margin: 2px 0;
  flex-wrap: wrap;
}

.vmc-email-text {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.9em;
  color: #2c3e50;
  background: transparent;
  padding: 0;
}

.vmc-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 0.75em;
  font-weight: 600;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.vmc-copy-btn:hover {
  background-color: #2980b9;
  transform: scale(1.05);
}

.vmc-copy-btn:active {
  transform: scale(0.95);
}

.vmc-copy-btn-copiado {
  background-color: #27ae60 !important;
  pointer-events: none;
}

.vmc-copy-btn svg,
.vmc-copy-btn span {
  pointer-events: none;
}

@media (max-width: 480px) {
  .vmc-email-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .vmc-copy-btn {
    width: 100%;
    justify-content: center;
  }
}

/* src/pages/vendedor/Tickets.css */

/* ============================================
   CONTENEDOR PRINCIPAL
============================================ */
.tickets-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 20px;
}

/* ============================================
   HEADER
============================================ */
.tickets-header {
  background: linear-gradient(135deg, #1f1f1f 0%, #121212 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.tickets-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 16px;
  color: #e9ecef;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.tickets-back-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  transform: translateX(-4px);
}

.tickets-header-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tickets-header-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  flex-shrink: 0;
}

.tickets-header-content h1 {
  font-size: 28px;
  font-weight: 700;
  color: #e9ecef;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.tickets-header-content p {
  font-size: 15px;
  color: #8b95a5;
  margin: 0;
}

/* ============================================
   ESTADÍSTICAS
============================================ */
.tickets-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: linear-gradient(135deg, #1f1f1f 0%, #121212 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.3);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-total {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
  color: #d4af37;
}

.stat-abiertos {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(231, 76, 60, 0.05) 100%);
  color: #e74c3c;
}

.stat-atendidos {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.2) 0%, rgba(243, 156, 18, 0.05) 100%);
  color: #f39c12;
}

.stat-cerrados {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.2) 0%, rgba(39, 174, 96, 0.05) 100%);
  color: #27ae60;
}

.stat-label {
  font-size: 13px;
  color: #8b95a5;
  margin: 0 0 6px 0;
  font-weight: 500;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #e9ecef;
  margin: 0;
  line-height: 1;
}

/* ============================================
   CONTROLES (BÚSQUEDA Y FILTROS)
============================================ */
.tickets-controls {
  background: linear-gradient(135deg, #1f1f1f 0%, #121212 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.tickets-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.tickets-search:focus-within {
  background: rgba(255, 255, 255, 0.08);
  border-color: #d4af37;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.tickets-search svg {
  color: #8b95a5;
  flex-shrink: 0;
}

.tickets-search input {
  flex: 1 1;
  background: transparent;
  border: none;
  outline: none;
  color: #e9ecef;
  font-size: 15px;
  font-family: inherit;
}

.tickets-search input::placeholder {
  color: #8b95a5;
}

.tickets-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #b7bcc4;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #e9ecef;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  border-color: #d4af37;
  color: #0a0a0a;
  font-weight: 600;
}

/* ============================================
   TABLA DE TICKETS
============================================ */
.tickets-table-container {
  background: linear-gradient(135deg, #1f1f1f 0%, #121212 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.tickets-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tickets-table thead {
  background: rgba(212, 175, 55, 0.1);
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.tickets-table th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  color: #d4af37;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
  transition: all 0.2s ease;
}

.tickets-table th:hover {
  background: rgba(212, 175, 55, 0.15);
}

.tickets-table th.th-acciones {
  cursor: default;
  text-align: center;
}

.tickets-table th.th-acciones:hover {
  background: transparent;
}

.th-content {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.th-active {
  color: #d4af37;
}

.tickets-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.tickets-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.05);
  transform: scale(1.01);
}

.tickets-table td {
  padding: 16px;
  color: #e9ecef;
  vertical-align: middle;
}

/* Columna Ticket ID */
.td-ticket-id {
  font-weight: 600;
}

.ticket-id-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d4af37;
}

.ticket-id-cell svg {
  flex-shrink: 0;
}

/* Columna Cliente */
.cliente-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cliente-nombre {
  font-weight: 500;
  color: #e9ecef;
}

/* Columna Asunto */
.td-asunto {
  max-width: 300px;
}

.asunto-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.asunto-texto {
  font-weight: 600;
  color: #e9ecef;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.asunto-detalle {
  font-size: 12px;
  color: #8b95a5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

/* Columna Prioridad */
.prioridad-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-left: 3px solid;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

/* Columna Estado */
.estado-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-abierto {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.badge-atendido {
  background: rgba(243, 156, 18, 0.15);
  color: #f39c12;
  border: 1px solid rgba(243, 156, 18, 0.3);
}

.badge-cerrado {
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

/* Columna Fecha */
.fecha-texto {
  font-size: 13px;
  color: #8b95a5;
  font-weight: 500;
}

/* Columna Acciones */
.td-acciones {
  text-align: center;
}

.acciones-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.accion-btn {
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}

.accion-externo {
  background: rgba(255, 255, 255, 0.08);
  color: #b7bcc4;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px;
}

.accion-externo:hover {
  background: rgba(52, 152, 219, 0.15);
  color: #3498db;
  border-color: rgba(52, 152, 219, 0.3);
  transform: translateY(-2px);
}

.accion-chat {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #0a0a0a;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.accion-chat:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

/* ============================================
   ESTADO VACÍO
============================================ */
.tickets-empty {
  text-align: center;
  padding: 80px 20px;
  color: #8b95a5;
}

.tickets-empty svg {
  color: #d4af37;
  opacity: 0.3;
  margin-bottom: 24px;
}

.tickets-empty h3 {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  margin: 0 0 12px 0;
}

.tickets-empty p {
  font-size: 16px;
  color: #8b95a5;
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   LOADING
============================================ */
.tickets-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.tickets-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(212, 175, 55, 0.2);
  border-top-color: #d4af37;
  border-radius: 50%;
  animation: ticketSpin 0.8s linear infinite;
  margin-bottom: 20px;
}

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

.tickets-loading p {
  font-size: 16px;
  color: #8b95a5;
  font-weight: 500;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1200px) {
  .td-asunto {
    max-width: 200px;
  }
}

@media (max-width: 968px) {
  .tickets-container {
    padding: 16px;
  }

  .tickets-header {
    padding: 20px;
  }

  .tickets-header-icon {
    width: 48px;
    height: 48px;
  }

  .tickets-header-content h1 {
    font-size: 22px;
  }

  .tickets-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Tabla se convierte en cards en móvil */
  .tickets-table-container {
    overflow-x: auto;
  }

  .tickets-table {
    min-width: 900px;
  }
}

@media (max-width: 768px) {
  .tickets-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-value {
    font-size: 28px;
  }

  .tickets-filters {
    gap: 8px;
  }

  .filter-btn {
    flex: 1 1;
    min-width: calc(50% - 4px);
    text-align: center;
  }

  .tickets-table {
    font-size: 13px;
  }

  .tickets-table th,
  .tickets-table td {
    padding: 12px 8px;
  }

  .asunto-texto {
    font-size: 13px;
  }

  .asunto-detalle {
    font-size: 11px;
  }

  .accion-chat span {
    display: none;
  }
}

@media (max-width: 480px) {
  .tickets-stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
  }

  .filter-btn {
    min-width: 100%;
  }
}

/* ============================================
   ACCESIBILIDAD
============================================ */
@media (prefers-reduced-motion: reduce) {
  .tickets-spinner,
  .filter-btn,
  .accion-btn,
  .tickets-table tbody tr {
    animation: none;
    transition: none;
  }
}

/* ============================================
   MODAL ENTREGA PEDIDO - DARK THEME
   ============================================ */

.mep-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}

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

.mep-modal {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: slideUp 0.3s ease;
}

.mep-modal-large {
  max-width: 800px;
}

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

/* ============================================
   HEADER
   ============================================ */
.mep-header {
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.mep-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mep-subtitle {
  font-size: 0.95rem;
  color: #9ca3af;
  margin: 0;
}

.mep-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mep-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
  transform: rotate(90deg);
}

/* ============================================
   BODY
   ============================================ */
.mep-body {
  padding: 2rem;
}

.mep-step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
}

.mep-section {
  margin-bottom: 1.5rem;
}

.mep-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e0e0e0;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   CANTIDAD INFO
   ============================================ */
.mep-cantidad-info {
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  color: #667eea;
  font-weight: 600;
}

.mep-asignados {
  background: rgba(102, 126, 234, 0.2);
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

/* ============================================
   ASIGNACIONES ACTUALES
   ============================================ */
.mep-asignaciones-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mep-asignacion-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.mep-asignacion-item:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(34, 197, 94, 0.5);
}

.mep-asignacion-numero {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}

.mep-asignacion-info {
  flex: 1 1;
  min-width: 0;
}

.mep-asignacion-info strong {
  display: block;
  color: #e0e0e0;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mep-asignacion-info small {
  display: block;
  color: #9ca3af;
  font-size: 0.85rem;
}

.mep-btn-eliminar {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.mep-btn-eliminar:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  transform: scale(1.05);
}

/* ============================================
   STOCKS EXPANDIBLES
   ============================================ */
.mep-stocks-expandable {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mep-stock-details {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mep-stock-details[open] {
  border-color: rgba(102, 126, 234, 0.3);
  background: rgba(102, 126, 234, 0.05);
}

.mep-stock-summary {
  padding: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  list-style: none;
}

.mep-stock-summary::-webkit-details-marker {
  display: none;
}

.mep-stock-summary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mep-stock-info strong {
  display: block;
  color: #e0e0e0;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.mep-stock-info small {
  display: block;
  color: #9ca3af;
  font-size: 0.85rem;
}

.mep-badge-disponible {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================
   ESPACIOS GRID
   ============================================ */
.mep-espacios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  grid-gap: 0.75rem;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
}

.mep-espacio-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.mep-espacio-btn:hover {
  background: rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

.mep-espacio-numero-small {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.95rem;
}

.mep-espacio-nombre {
  color: #e0e0e0;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  word-break: break-word;
}

.mep-espacio-pin {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.75rem;
}

/* ============================================
   DURACIÓN
   ============================================ */
.mep-duracion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.mep-duracion-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
}

.mep-duracion-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #e0e0e0;
}

.mep-duracion-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.mep-personalizado {
  margin-top: 1rem;
}

.mep-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #e0e0e0;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.mep-input:focus {
  outline: none;
  border-color: #667eea;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.mep-input::placeholder {
  color: #6b7280;
}

/* ============================================
   RESUMEN
   ============================================ */
.mep-resumen {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.mep-resumen-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  color: #9ca3af;
  font-size: 0.95rem;
}

.mep-resumen-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mep-resumen-item strong {
  color: #e0e0e0;
}

.mep-resumen-item span,
.mep-resumen-item code {
  color: #ffffff;
  font-weight: 500;
}

.mep-resumen-item code {
  background: rgba(102, 126, 234, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.mep-password-censored {
  letter-spacing: 2px;
}

.mep-vencimiento {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 8px;
  padding: 1rem !important;
  margin: 0.75rem 0;
}

.mep-vencimiento span {
  color: #fbbf24;
}

.mep-monto {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  padding: 1rem !important;
  margin-top: 0.75rem;
}

.mep-precio {
  font-size: 1.5rem;
  font-weight: 700;
  color: #22c55e !important;
}

.mep-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0.75rem 0;
}

/* ============================================
   CREDENCIALES PREVIEW
   ============================================ */
.mep-credenciales-preview {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mep-credencial-preview {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mep-preview-numero {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.mep-preview-info {
  flex: 1 1;
  min-width: 0;
}

.mep-preview-info strong {
  display: block;
  color: #e0e0e0;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mep-preview-info small {
  display: block;
  color: #9ca3af;
  font-size: 0.85rem;
}

/* ============================================
   ALERTAS
   ============================================ */
.mep-alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ef4444;
  font-weight: 500;
}

.mep-alert-info {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #22c55e;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.mep-error-large {
  text-align: center;
  padding: 3rem 2rem;
}

.mep-error-large svg {
  color: #ef4444;
  margin-bottom: 1rem;
}

.mep-error-large h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0 0 1rem 0;
}

.mep-error-large p {
  color: #9ca3af;
  margin: 0.5rem 0;
}

/* ============================================
   ERRORES
   ============================================ */
.mep-errores {
  padding: 0 2rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mep-error-item {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ef4444;
  font-size: 0.9rem;
}

/* ============================================
   BOTONES
   ============================================ */
.mep-buttons {
  display: flex;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  margin: 0 -2rem -2rem -2rem;
  border-radius: 0 0 20px 20px;
}

.mep-btn-cancelar,
.mep-btn-atras,
.mep-btn-siguiente,
.mep-btn-confirmar {
  flex: 1 1;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.mep-btn-cancelar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
}

.mep-btn-cancelar:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

.mep-btn-atras {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
}

.mep-btn-atras:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

.mep-btn-siguiente {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.mep-btn-siguiente:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.mep-btn-siguiente:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.mep-btn-confirmar {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.mep-btn-confirmar:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

.mep-btn-confirmar:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   LOADING
   ============================================ */
.mep-loading {
  text-align: center;
  padding: 3rem 2rem;
}

.mep-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(102, 126, 234, 0.2);
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
}

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

.mep-loading p {
  color: #9ca3af;
  font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .mep-modal {
    max-width: 95%;
    max-height: 95vh;
  }

  .mep-header {
    padding: 1.5rem;
  }

  .mep-body {
    padding: 1.5rem;
  }

  .mep-buttons {
    padding: 1rem 1.5rem;
    margin: 0 -1.5rem -1.5rem -1.5rem;
  }

  .mep-duracion-grid {
    grid-template-columns: 1fr;
  }

  .mep-espacios-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}

/* src/pages/vendedor/VendedorPedidoDetalle.css */
/* PREFIJO: vpd- (Vendedor Pedido Detalle) */

/* ============================================
   VARIABLES
   ============================================ */
:root {
  --vpd-bg-primary: #0a0a0a;
  --vpd-bg-secondary: rgba(20, 20, 20, 0.95);
  --vpd-bg-tertiary: rgba(30, 30, 30, 0.8);
  --vpd-bg-quaternary: rgba(25, 25, 25, 0.9);
  --vpd-gold: #d4af37;
  --vpd-gold-light: #f0d574;
  --vpd-gold-dark: #b8941f;
  --vpd-text-primary: #e9ecef;
  --vpd-text-secondary: #b7bcc4;
  --vpd-text-muted: #8b95a5;
  --vpd-border: rgba(255, 255, 255, 0.12);
  --vpd-border-light: rgba(255, 255, 255, 0.08);
  --vpd-success: #27ae60;
  --vpd-error: #e74c3c;
  --vpd-info: #3498db;
  --vpd-warning: #f39c12;
  --vpd-online-green: #2ecc71;
  --vpd-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --vpd-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --vpd-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ============================================
   CONTAINER PRINCIPAL
   ============================================ */
.vpd-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  background: linear-gradient(135deg, var(--vpd-bg-primary) 0%, #1a1a1a 100%);
  color: #e9ecef;
  color: var(--vpd-text-primary);
  padding-bottom: 2rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
}

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

/* ============================================
   HEADER
   ============================================ */
.vpd-header {
  background: rgba(20, 20, 20, 0.95);
  background: var(--vpd-bg-secondary);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vpd-border);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  box-shadow: var(--vpd-shadow-lg);
}

.vpd-back-button-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(212, 175, 55, 0.1);
  color: #f0d574;
  color: var(--vpd-gold-light);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.vpd-back-button-header:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: #d4af37;
  border-color: var(--vpd-gold);
  color: #d4af37;
  color: var(--vpd-gold);
  transform: translateX(-4px);
}

.vpd-header-center {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.vpd-header-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #e9ecef;
  color: var(--vpd-text-primary);
  margin: 0;
  line-height: 1.2;
}

.vpd-header-id {
  font-size: 0.875rem;
  color: #8b95a5;
  color: var(--vpd-text-muted);
  font-weight: 500;
  margin: 0;
  font-family: 'Courier New', monospace;
}

/* Estados de presencia del cliente */
.vpd-typing-indicator {
  font-size: 0.85rem;
  color: #d4af37;
  color: var(--vpd-gold);
  font-weight: 600;
  font-style: italic;
  margin: 0.25rem 0 0 0;
  animation: vpd-pulse 1.5s ease-in-out infinite;
}

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

.vpd-online-indicator {
  font-size: 0.85rem;
  color: #2ecc71;
  color: var(--vpd-online-green);
  font-weight: 600;
  margin: 0.25rem 0 0 0;
}

.vpd-offline-indicator {
  font-size: 0.8rem;
  color: #8b95a5;
  color: var(--vpd-text-muted);
  margin: 0.25rem 0 0 0;
}

.vpd-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vpd-search-button {
  padding: 0.625rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vpd-border);
  border-radius: 8px;
  color: #e9ecef;
  color: var(--vpd-text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vpd-search-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #d4af37;
  border-color: var(--vpd-gold);
  color: #d4af37;
  color: var(--vpd-gold);
  transform: scale(1.05);
}

/* BADGES DE ESTADO */
.vpd-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  box-shadow: var(--vpd-shadow-sm);
}

.vpd-badge-pendiente {
  background: rgba(241, 196, 15, 0.15);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.3);
}

.vpd-badge-proceso {
  background: rgba(52, 152, 219, 0.15);
  color: #3498db;
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.vpd-badge-entregado {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.vpd-badge-completado {
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.vpd-badge-cancelado {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

/* ============================================
   BARRA DE BÚSQUEDA
   ============================================ */
.vpd-search-bar-container {
  background: rgba(20, 20, 20, 0.95);
  background: var(--vpd-bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vpd-border);
  padding: 0.75rem 2rem;
  animation: vpd-slideDown 0.3s ease-out;
}

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

.vpd-search-bar {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vpd-border);
  border-radius: 8px;
}

.vpd-search-bar svg {
  color: #8b95a5;
  color: var(--vpd-text-muted);
  flex-shrink: 0;
}

.vpd-search-input-field {
  flex: 1 1;
  background: none;
  border: none;
  outline: none;
  color: #e9ecef;
  color: var(--vpd-text-primary);
  font-size: 0.9rem;
  font-family: inherit;
}

.vpd-search-input-field::placeholder {
  color: #8b95a5;
  color: var(--vpd-text-muted);
}

.vpd-search-close {
  background: none;
  border: none;
  color: #8b95a5;
  color: var(--vpd-text-muted);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.vpd-search-close:hover {
  color: #e9ecef;
  color: var(--vpd-text-primary);
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   BANNERS
   ============================================ */
.vpd-success-banner,
.vpd-error-banner {
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vpd-border);
  animation: vpd-slideDown 0.3s ease-out;
}

.vpd-success-banner {
  background: rgba(39, 174, 96, 0.15);
  border-bottom-color: rgba(39, 174, 96, 0.3);
}

.vpd-error-banner {
  background: rgba(231, 76, 60, 0.15);
  border-bottom-color: rgba(231, 76, 60, 0.3);
}

.vpd-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vpd-success-banner .vpd-banner-content {
  color: #27ae60;
  color: var(--vpd-success);
}

.vpd-error-banner .vpd-banner-content {
  color: #e74c3c;
  color: var(--vpd-error);
}

.vpd-banner-content svg {
  flex-shrink: 0;
}

.vpd-banner-content > div {
  flex: 1 1;
}

.vpd-banner-content strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.vpd-banner-content p {
  font-size: 0.875rem;
  margin: 0;
  opacity: 0.9;
}

.vpd-banner-close {
  background: none;
  border: none;
  color: currentColor;
  cursor: pointer;
  padding: 0.25rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.vpd-banner-close:hover {
  opacity: 1;
}

/* ============================================
   CONTENIDO PRINCIPAL
   ============================================ */
.vpd-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 400px 1fr;
  grid-gap: 2rem;
  gap: 2rem;
  align-items: start;
}

/* ============================================
   COLUMNAS
   ============================================ */
.vpd-left-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vpd-right-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ============================================
   CARDS
   ============================================ */
.vpd-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--vpd-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vpd-border);
  border-radius: 12px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--vpd-shadow-md);
  transition: all 0.3s ease;
}

.vpd-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  box-shadow: var(--vpd-shadow-lg);
}

.vpd-card-header {
  padding: 1.25rem 1.5rem;
  background: rgba(30, 30, 30, 0.8);
  background: var(--vpd-bg-tertiary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vpd-border);
}

.vpd-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #e9ecef;
  color: var(--vpd-text-primary);
  margin: 0;
}

.vpd-card-title svg {
  color: #d4af37;
  color: var(--vpd-gold);
}

.vpd-card-body {
  padding: 1.5rem;
}

/* ============================================
   SECCIÓN DE PRODUCTO
   ============================================ */
.vpd-product-section {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.vpd-product-image-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--vpd-border);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  box-shadow: var(--vpd-shadow-sm);
}

.vpd-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vpd-product-info {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.vpd-product-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #e9ecef;
  color: var(--vpd-text-primary);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.vpd-product-code,
.vpd-product-type,
.vpd-product-stock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.vpd-label {
  color: #8b95a5;
  color: var(--vpd-text-muted);
  font-weight: 500;
}

.vpd-value {
  color: #b7bcc4;
  color: var(--vpd-text-secondary);
  font-weight: 600;
}

.vpd-prices-section {
  padding: 1rem 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid var(--vpd-border-light);
}

.vpd-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.vpd-price-row.vpd-total {
  padding-top: 0.75rem;
  font-size: 1.125rem;
}

.vpd-value-total {
  font-size: 1.5rem;
  font-weight: 700;
  color: #d4af37;
  color: var(--vpd-gold);
}

.vpd-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  background: var(--vpd-border-light);
  margin: 0.75rem 0;
}

/* ============================================
   SECCIÓN DE CLIENTE
   ============================================ */
.vpd-client-section {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.vpd-client-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #e9ecef;
  color: var(--vpd-text-primary);
  margin: 0 0 0.75rem 0;
}

.vpd-client-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.vpd-client-item svg {
  color: #d4af37;
  color: var(--vpd-gold);
  flex-shrink: 0;
}

/* ============================================
   CHAT CARD
   ============================================ */
.vpd-chat-card {
  height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
}

.vpd-chat-body {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

/* ÁREA DE MENSAJES */
.vpd-messages-area {
  flex: 1 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.vpd-messages-area::-webkit-scrollbar {
  width: 8px;
}

.vpd-messages-area::-webkit-scrollbar-track {
  background: transparent;
}

.vpd-messages-area::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.vpd-messages-area::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Drag & Drop */
.vpd-dragging {
  border: 2px dashed #d4af37;
  border: 2px dashed var(--vpd-gold);
  background: rgba(212, 175, 55, 0.05);
}

.vpd-drop-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(10, 10, 10, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  z-index: 10;
  color: #d4af37;
  color: var(--vpd-gold);
  font-size: 1.125rem;
  font-weight: 600;
  pointer-events: none;
}

/* MENSAJES */
.vpd-loading-messages,
.vpd-empty-messages {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #8b95a5;
  color: var(--vpd-text-muted);
  padding: 3rem 1rem;
  text-align: center;
}

.vpd-empty-messages svg {
  opacity: 0.4;
}

.vpd-hint {
  font-size: 0.875rem;
  color: #8b95a5;
  color: var(--vpd-text-muted);
  margin-top: 0.5rem;
}

.vpd-message {
  display: flex;
  flex-direction: column;
  max-width: 75%;
  animation: vpd-fadeIn 0.3s ease-out;
}

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

.vpd-message-sender {
  align-self: flex-end;
}

.vpd-message-receiver {
  align-self: flex-start;
}

.vpd-message-bubble {
  padding: 0.75rem 1rem;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  box-shadow: var(--vpd-shadow-sm);
  word-wrap: break-word;
  word-break: break-word;
  transition: all 0.2s ease;
  position: relative;
}

.vpd-message-bubble:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--vpd-shadow-md);
  transform: translateY(-1px);
}

.vpd-message-sender .vpd-message-bubble {
  background: linear-gradient(135deg, #2c5f7a 0%, #1a4a5e 100%);
  border-bottom-right-radius: 4px;
}

.vpd-message-receiver .vpd-message-bubble {
  background: rgba(40, 40, 40, 0.95);
  border-bottom-left-radius: 4px;
}

/* REPLY PREVIEW (Responder a mensaje) */
.vpd-reply-preview {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  background: rgba(0, 0, 0, 0.2);
  border-left: 3px solid #d4af37;
  border-left: 3px solid var(--vpd-gold);
  border-radius: 6px;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
}

.vpd-reply-preview svg {
  color: #d4af37;
  color: var(--vpd-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.vpd-reply-author {
  font-weight: 600;
  color: #d4af37;
  color: var(--vpd-gold);
  margin: 0 0 0.25rem 0;
  font-size: 0.75rem;
}

.vpd-reply-text {
  color: #b7bcc4;
  color: var(--vpd-text-secondary);
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

/* IMAGEN EN MENSAJE */
.vpd-message-image-container {
  margin-bottom: 0.5rem;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vpd-message-image-container:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  box-shadow: var(--vpd-shadow-lg);
}

.vpd-message-image {
  max-width: 280px;
  max-height: 280px;
  width: auto;
  height: auto;
  display: block;
  border-radius: 10px;
}

.vpd-message-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #e9ecef;
  color: var(--vpd-text-primary);
  white-space: pre-wrap;
}

.vpd-message-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.375rem;
  justify-content: flex-end;
}

.vpd-message-time {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.vpd-message-check {
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.vpd-check-leido {
  color: #3498db;
}

.vpd-star-importante {
  color: #d4af37;
  color: var(--vpd-gold);
  animation: vpd-starPulse 2s ease-in-out infinite;
}

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

/* REACCIONES */
.vpd-reacciones-container {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-top: 0.375rem;
}

.vpd-reaccion {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 0.8125rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.vpd-reaccion:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

/* ACCIONES DEL MENSAJE */
.vpd-mensaje-acciones {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.375rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.vpd-message:hover .vpd-mensaje-acciones {
  opacity: 1;
}

.vpd-accion-btn {
  padding: 0.375rem 0.625rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #b7bcc4;
  color: var(--vpd-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vpd-accion-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #d4af37;
  border-color: var(--vpd-gold);
  color: #d4af37;
  color: var(--vpd-gold);
  transform: scale(1.05);
}

/* ============================================
   PREVIEW DE IMAGEN (antes de enviar)
   ============================================ */
.vpd-image-preview {
  padding: 1rem;
  background: rgba(20, 20, 20, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--vpd-border);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vpd-slideUp 0.3s ease-out;
}

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

.vpd-preview-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vpd-border);
  border-radius: 8px;
  color: #e9ecef;
  color: var(--vpd-text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.vpd-preview-close:hover:not(:disabled) {
  background: rgba(255, 0, 0, 0.7);
  border-color: #e74c3c;
}

.vpd-preview-close:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.vpd-preview-img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  box-shadow: var(--vpd-shadow-lg);
}

.vpd-uploading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.vpd-uploading p {
  color: #e9ecef;
  color: var(--vpd-text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
}

/* ============================================
   PREVIEW DE RESPUESTA (en input)
   ============================================ */
.vpd-responder-preview {
  padding: 0.75rem 1.5rem;
  background: rgba(20, 20, 20, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--vpd-border);
  animation: vpd-slideUp 0.3s ease-out;
}

.vpd-responder-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #d4af37;
  border-left: 3px solid var(--vpd-gold);
  border-radius: 8px;
}

.vpd-responder-content svg {
  color: #d4af37;
  color: var(--vpd-gold);
  flex-shrink: 0;
}

.vpd-responder-info {
  flex: 1 1;
  min-width: 0;
}

.vpd-responder-author {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #d4af37;
  color: var(--vpd-gold);
  margin: 0 0 0.25rem 0;
}

.vpd-responder-text {
  font-size: 0.875rem;
  color: #b7bcc4;
  color: var(--vpd-text-secondary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vpd-responder-close {
  padding: 0.375rem;
  background: none;
  border: none;
  color: #8b95a5;
  color: var(--vpd-text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.vpd-responder-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--vpd-text-primary);
}

/* ============================================
   BARRA DE ESCRITURA
   ============================================ */
.vpd-message-input-wrapper {
  padding: 1rem 1.5rem;
  background: rgba(30, 30, 30, 0.8);
  background: var(--vpd-bg-tertiary);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--vpd-border);
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.vpd-input-group {
  flex: 1 1;
  display: flex;
  align-items: flex-end;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vpd-border);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
  position: relative;
}

.vpd-input-group:focus-within {
  border-color: #d4af37;
  border-color: var(--vpd-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.vpd-emoji-button {
  padding: 0.5rem;
  background: none;
  border: none;
  color: #8b95a5;
  color: var(--vpd-text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vpd-emoji-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  color: #d4af37;
  color: var(--vpd-gold);
}

.vpd-emoji-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.vpd-emoji-picker-wrapper {
  position: absolute;
  bottom: 100%;
  left: 0.75rem;
  margin-bottom: 0.75rem;
  z-index: 1000;
  animation: vpd-popIn 0.2s ease-out;
}

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

.vpd-message-input {
  flex: 1 1;
  background: none;
  border: none;
  outline: none;
  color: #e9ecef;
  color: var(--vpd-text-primary);
  font-size: 0.9375rem;
  font-family: inherit;
  resize: none;
  max-height: 120px;
  min-height: 24px;
  line-height: 1.5;
  padding: 0.25rem 0;
}

.vpd-message-input::placeholder {
  color: #8b95a5;
  color: var(--vpd-text-muted);
}

.vpd-message-input::-webkit-scrollbar {
  width: 6px;
}

.vpd-message-input::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.vpd-send-button {
  padding: 0.625rem 0.75rem;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  background: linear-gradient(135deg, var(--vpd-gold) 0%, var(--vpd-gold-dark) 100%);
  border: none;
  border-radius: 8px;
  color: #0a0a0a;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  box-shadow: var(--vpd-shadow-sm);
}

.vpd-send-button:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--vpd-shadow-md);
  background: linear-gradient(135deg, #f0d574 0%, #d4af37 100%);
  background: linear-gradient(135deg, var(--vpd-gold-light) 0%, var(--vpd-gold) 100%);
}

.vpd-send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   ACCIONES
   ============================================ */
.vpd-actions-body {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.vpd-action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  box-shadow: var(--vpd-shadow-sm);
}

.vpd-action-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--vpd-shadow-md);
}

.vpd-action-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.vpd-action-primary {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: #fff;
}

.vpd-action-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #5dade2 0%, #3498db 100%);
}

.vpd-action-success {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
  background: linear-gradient(135deg, var(--vpd-success) 0%, #229954 100%);
  color: #fff;
}

.vpd-action-success:hover:not(:disabled) {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  background: linear-gradient(135deg, #2ecc71 0%, var(--vpd-success) 100%);
}

.vpd-action-danger {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  background: linear-gradient(135deg, var(--vpd-error) 0%, #c0392b 100%);
  color: #fff;
}

.vpd-action-danger:hover:not(:disabled) {
  background: linear-gradient(135deg, #ec7063 0%, #e74c3c 100%);
  background: linear-gradient(135deg, #ec7063 0%, var(--vpd-error) 100%);
}

.vpd-no-actions {
  text-align: center;
  padding: 1.5rem 1rem;
  color: #b7bcc4;
  color: var(--vpd-text-secondary);
}

.vpd-no-actions p {
  margin: 0.5rem 0;
}

.vpd-info-text {
  font-size: 0.875rem;
  color: #8b95a5;
  color: var(--vpd-text-muted);
}

/* ============================================
   LOADING Y ERRORES
   ============================================ */
.vpd-loading-container,
.vpd-error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 1.25rem;
  padding: 2rem;
  text-align: center;
}

.vpd-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border: 4px solid var(--vpd-border);
  border-top-color: #d4af37;
  border-top-color: var(--vpd-gold);
  border-radius: 50%;
  animation: vpd-spin 0.8s linear infinite;
}

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

.vpd-spinner-small {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #0a0a0a;
  border-radius: 50%;
  animation: vpd-spin 0.6s linear infinite;
}

.vpd-loading-text {
  color: #b7bcc4;
  color: var(--vpd-text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
}

.vpd-error-icon {
  color: #e74c3c;
  color: var(--vpd-error);
  opacity: 0.8;
}

.vpd-error-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #e9ecef;
  color: var(--vpd-text-primary);
  margin: 0;
}

.vpd-back-button {
  padding: 0.75rem 1.5rem;
  background: #d4af37;
  background: var(--vpd-gold);
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.vpd-back-button:hover {
  background: #f0d574;
  background: var(--vpd-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--vpd-shadow-md);
}

/* ============================================
   ACCESIBILIDAD
   ============================================ */
.vpd-container *:focus-visible {
  outline: 2px solid #d4af37;
  outline: 2px solid var(--vpd-gold);
  outline-offset: 2px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .vpd-main {
    grid-template-columns: 350px 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .vpd-main {
    grid-template-columns: 1fr;
  }
  
  .vpd-chat-card {
    height: 600px;
  }
}

@media (max-width: 768px) {
  .vpd-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .vpd-header-center {
    align-items: flex-start;
  }
  
  .vpd-header-right {
    width: 100%;
    justify-content: space-between;
  }
  
  .vpd-main {
    padding: 1rem;
  }
  
  .vpd-message {
    max-width: 85%;
  }
}

css/* ============================================
   ESTILOS PARA MENSAJES DEL ASISTENTE NOODLE
   ============================================ */

.vpd-message-sistema .vpd-message-bubble {
  background: linear-gradient(135deg, #f0f0ff 0%, #e8e0ff 100%) !important;
  border: 1px solid #667eea40 !important;
}

.vpd-message-sender-name {
  color: #667eea;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 6px;
}

/* Badge de entrega automática */
.vpd-credenciales-badge {
  margin-top: 8px;
  padding: 4px 10px;
  background: #667eea20;
  border-radius: 12px;
  font-size: 11px;
  color: #667eea;
  font-weight: 600;
  display: inline-block;
}

/* ========================================
   FORMATO WHATSAPP Y EMAIL COPIABLE
======================================== */

.vpd-message-text strong {
  font-weight: 700;
  color: inherit;
}

.vpd-message-text em {
  font-style: italic;
  color: inherit;
}

.vpd-message-text span[style*="line-through"] {
  text-decoration: line-through;
  opacity: 0.7;
}

.vpd-message-text code {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.9em;
  background-color: rgba(0, 0, 0, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
  color: #d63031;
}

.vpd-email-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(0, 0, 0, 0.04);
  padding: 4px 8px;
  border-radius: 6px;
  margin: 2px 0;
  flex-wrap: wrap;
}

.vpd-email-text {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.9em;
  color: #2c3e50;
  background: transparent;
  padding: 0;
}

.vpd-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 0.75em;
  font-weight: 600;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.vpd-copy-btn:hover {
  background-color: #2980b9;
  transform: scale(1.05);
}

.vpd-copy-btn:active {
  transform: scale(0.95);
}

.vpd-copy-btn-copiado {
  background-color: #27ae60 !important;
  pointer-events: none;
}

.vpd-copy-btn svg,
.vpd-copy-btn span {
  pointer-events: none;
}

@media (max-width: 480px) {
  .vpd-email-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .vpd-copy-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =============================================
   MODO ASISTENTE NOODLE - ESTILOS
   Prefijo: man- (Modo Asistente Noodle)
============================================= */

/* OVERLAY */
.man-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

/* MODAL */
.man-modal {
  background: #1a1a2e;
  border-radius: 1rem;
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

/* ========== HEADER ========== */
.man-header {
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.man-header-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.man-header-icon {
  color: white;
}

.man-header-text {
  display: flex;
  flex-direction: column;
}

.man-title {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.man-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin: 0;
}

.man-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

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

/* ========== BODY ========== */
.man-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1 1;
  max-height: 60vh;
}

/* INFO PRODUCTO */
.man-producto-info {
  background: #252540;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.man-producto-nombre {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
}

.man-producto-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.man-stat {
  color: #9ca3af;
  font-size: 0.875rem;
}

.man-stat-value {
  color: #60a5fa;
}

.man-stat-ok {
  color: #34d399;
}

.man-stat-error {
  color: #f87171;
}

/* ALERTAS */
.man-alerta {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
}

.man-alerta-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.man-alerta-icon {
  color: #f87171;
  flex-shrink: 0;
  margin-top: 2px;
}

.man-alerta-content {
  flex: 1 1;
}

.man-alerta-titulo {
  color: #f87171;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.man-alerta-desc {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0.25rem 0 0 0;
}

.man-btn-recargar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #374151;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  transition: background 0.2s;
}

.man-btn-recargar:hover {
  background: #4b5563;
}

.man-btn-recargar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* TOGGLE ACTIVAR */
.man-toggle-section {
  background: #252540;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.man-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.man-toggle-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.man-icon-activo {
  color: #fbbf24;
}

.man-icon-inactivo {
  color: #6b7280;
}

.man-toggle-titulo {
  color: #fff;
  font-weight: 600;
  margin: 0;
}

.man-toggle-desc {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0.25rem 0 0 0;
}

/* SWITCH */
.man-switch {
  width: 3.5rem;
  height: 1.75rem;
  border-radius: 999px;
  padding: 0.25rem;
  cursor: pointer;
  transition: background 0.3s;
}

.man-switch-on {
  background: #10b981;
}

.man-switch-off {
  background: #4b5563;
}

.man-switch-thumb {
  width: 1.25rem;
  height: 1.25rem;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.man-switch-on .man-switch-thumb {
  transform: translateX(1.75rem);
}

/* SECCIONES DE CONFIGURACIÓN */
.man-config-section {
  margin-bottom: 1.25rem;
}

.man-config-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

/* OPCIONES RADIO */
.man-opciones-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.man-opcion {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #252540;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 2px solid #374151;
  cursor: pointer;
  transition: all 0.2s;
}

.man-opcion:hover {
  border-color: #6b7280;
}

.man-opcion-activa {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.man-radio-hidden {
  display: none;
}

.man-opcion-icon {
  color: #6b7280;
  flex-shrink: 0;
}

.man-opcion-activa .man-opcion-icon {
  color: #10b981;
}

.man-opcion-titulo {
  color: #fff;
  font-weight: 600;
  margin: 0;
}

.man-opcion-desc {
  color: #9ca3af;
  font-size: 0.8rem;
  margin: 0.25rem 0 0 0;
}

/* CHECKBOX */
.man-checkbox-section {
  background: #252540;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.man-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.man-checkbox-titulo {
  color: #fff;
  font-weight: 600;
  margin: 0;
  flex: 1 1;
}

.man-checkbox-desc {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0.25rem 0 0 0;
}

.man-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.25rem;
  background: #374151;
  border: 1px solid #4b5563;
  cursor: pointer;
}

/* TEXTAREA */
.man-textarea {
  width: 100%;
  background: #252540;
  border: 1px solid #374151;
  border-radius: 0.5rem;
  padding: 0.75rem;
  color: #fff;
  font-size: 0.9rem;
  resize: none;
  font-family: inherit;
}

.man-textarea::placeholder {
  color: #6b7280;
}

.man-textarea:focus {
  outline: none;
  border-color: #7c3aed;
}

.man-contador {
  color: #6b7280;
  font-size: 0.75rem;
  text-align: right;
  margin: 0.25rem 0 0 0;
}

/* SECCIÓN DE CUENTAS */
.man-cuentas-section {
  margin-bottom: 1.25rem;
}

.man-cuentas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.man-cuentas-acciones {
  display: flex;
  gap: 0.5rem;
}

.man-btn-mini {
  background: #374151;
  color: #d1d5db;
  border: none;
  padding: 0.35rem 0.75rem;
  border-radius: 0.35rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.man-btn-seleccionar:hover {
  background: #3b82f6;
  color: white;
}

.man-btn-deseleccionar:hover {
  background: #6b7280;
  color: white;
}

/* LISTA DE CUENTAS */
.man-cuentas-lista {
  background: #252540;
  border-radius: 0.75rem;
  padding: 0.75rem;
  max-height: 200px;
  overflow-y: auto;
}

.man-cargando {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #9ca3af;
  gap: 0.5rem;
}

.man-sin-cuentas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #6b7280;
  text-align: center;
}

.man-sin-cuentas-hint {
  font-size: 0.8rem;
  color: #4b5563;
  margin-top: 0.25rem;
}

.man-cuenta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(55, 65, 81, 0.5);
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.man-cuenta-item:last-child {
  margin-bottom: 0;
}

.man-cuenta-item:hover {
  background: rgba(55, 65, 81, 0.8);
}

.man-cuenta-seleccionada {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.1);
}

.man-cuenta-llena {
  opacity: 0.5;
  cursor: not-allowed;
}

.man-cuenta-checkbox {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  flex-shrink: 0;
}

.man-cuenta-info {
  flex: 1 1;
  min-width: 0;
}

.man-cuenta-email {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.man-cuenta-espacios {
  color: #9ca3af;
  font-size: 0.75rem;
  margin: 0.25rem 0 0 0;
}

.man-cuenta-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  flex-shrink: 0;
}

.man-badge-disponible {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.man-badge-lleno {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.man-cuentas-resumen {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0.5rem 0 0 0;
}

.man-espacios-totales {
  color: #60a5fa;
}

/* SPINNER */
.man-spin {
  animation: man-spin 1s linear infinite;
}

@keyframes man-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ========== FOOTER ========== */
.man-footer {
  border-top: 1px solid #374151;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  background: #16162a;
}

.man-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.man-btn-cancelar {
  background: #374151;
  color: #d1d5db;
}

.man-btn-cancelar:hover {
  background: #4b5563;
}

.man-btn-guardar {
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  color: white;
}

.man-btn-guardar:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.man-btn-guardar:disabled {
  background: #4b5563;
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.man-btn-loading {
  cursor: wait;
}

/* SCROLLBAR */
.man-body::-webkit-scrollbar,
.man-cuentas-lista::-webkit-scrollbar {
  width: 6px;
}

.man-body::-webkit-scrollbar-track,
.man-cuentas-lista::-webkit-scrollbar-track {
  background: #1a1a2e;
}

.man-body::-webkit-scrollbar-thumb,
.man-cuentas-lista::-webkit-scrollbar-thumb {
  background: #4b5563;
  border-radius: 3px;
}

.man-body::-webkit-scrollbar-thumb:hover,
.man-cuentas-lista::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

/* ========== VERSION SIMPLE ========== */
.man-modal-simple {
  background: #1a1a2e;
  border-radius: 1rem;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.man-body-simple {
  padding: 1.5rem;
}

.man-text-ok {
  color: #34d399;
}

.man-text-error {
  color: #f87171;
}

.man-alerta-bloqueo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  color: #f87171;
}

.man-alerta-bloqueo .man-alerta-titulo {
  color: #f87171;
  font-weight: 600;
  margin: 0;
}

.man-alerta-bloqueo .man-alerta-desc {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0.25rem 0 0 0;
}

/* SWITCH GRANDE */
.man-switch-big {
  position: relative;
  width: 80px;
  height: 40px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
}

.man-switch-thumb-big {
  position: absolute;
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
  left: 4px;
}

.man-switch-on .man-switch-thumb-big {
  transform: translateX(40px);
}

.man-switch-label {
  position: absolute;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
}

.man-switch-on .man-switch-label {
  left: 12px;
}

.man-switch-off .man-switch-label {
  right: 10px;
}

/* ESTADO ACTUAL */
.man-estado-actual {
  background: #252540;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-top: 1rem;
}

.man-estado-label {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0 0 0.5rem 0;
}

.man-estado-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
}

.man-badge-activo {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.man-badge-inactivo {
  background: rgba(107, 114, 128, 0.2);
  color: #9ca3af;
}

/* MENSAJE */
.man-mensaje {
  padding: 0.75rem;
  border-radius: 0.5rem;
  text-align: center;
  font-weight: 600;
  margin-top: 1rem;
}

.man-mensaje-ok {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.man-mensaje-error {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .man-modal,
  .man-modal-simple {
    max-height: 95vh;
  }
  
  .man-header {
    padding: 1rem;
  }
  
  .man-body,
  .man-body-simple {
    padding: 1rem;
  }
  
  .man-footer {
    padding: 0.75rem 1rem;
  }
  
  .man-producto-stats {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* SECCIÓN DE DURACIÓN */
/* ═══════════════════════════════════════════════════════════ */

.man-duracion-section {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.man-duracion-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.man-duracion-header svg {
  color: #495057;
}

.man-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #212529;
  margin: 0;
}

.man-duracion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 0.75rem;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.man-duracion-btn {
  padding: 0.75rem 1rem;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  background: white;
  font-size: 0.9rem;
  font-weight: 500;
  color: #495057;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.man-duracion-btn:hover {
  border-color: #adb5bd;
  background: #f8f9fa;
  transform: translateY(-2px);
}

.man-duracion-btn.active {
  border-color: #7c3aed;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.man-duracion-btn.active:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%);
  transform: translateY(-2px);
}

.man-personalizado {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.man-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #212529;
  transition: all 0.2s ease;
  background: white;
}

.man-input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.man-input::placeholder {
  color: #adb5bd;
}

.man-hint {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1.4;
}

.man-hint-small {
  font-size: 0.8rem;
  color: #868e96;
}

/* Badge con duración */
.man-badge-duracion {
  margin-left: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .man-duracion-grid {
    grid-template-columns: 1fr;
  }
}

/* src/pages/vendedor/MisPedidos.css */
/* PREFIJO: vmp- (Vendedor Mis Pedidos) */

/* ============================================ */
/* VARIABLES */
/* ============================================ */
:root {
  --vmp-bg-primary: #0a0a0a;
  --vmp-bg-secondary: rgba(10, 10, 10, 0.95);
  --vmp-bg-card: rgba(20, 20, 20, 0.95);
  --vmp-gold: #d4af37;
  --vmp-gold-light: #f0d574;
  --vmp-text-primary: #e9ecef;
  --vmp-text-secondary: #b7bcc4;
  --vmp-border: rgba(255, 255, 255, 0.12);
  --vmp-success: #27ae60;
  --vmp-warning: #f39c12;
  --vmp-danger: #e74c3c;
  --vmp-info: #3498db;
  --vmp-purple: #9b59b6;
}

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

.vmp-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border: 4px solid var(--vmp-border);
  border-top-color: #d4af37;
  border-top-color: var(--vmp-gold);
  border-radius: 50%;
  animation: vmp-spin 1s linear infinite;
}

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

.vmp-loading-text {
  margin-top: 20px;
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
  font-size: 16px;
}

/* ============================================ */
/* CONTAINER PRINCIPAL */
/* ============================================ */
.vmp-container {
  min-height: 100vh;
  background: #0a0a0a;
  background: var(--vmp-bg-primary);
  padding: 20px;
}

/* ============================================ */
/* HEADER */
/* ============================================ */
.vmp-header {
  background: rgba(20, 20, 20, 0.95);
  background: var(--vmp-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmp-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

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

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

.vmp-header-icon {
  color: #d4af37;
  color: var(--vmp-gold);
}

.vmp-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vmp-title {
  font-size: 28px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--vmp-text-primary);
  margin: 0;
}

.vmp-subtitle {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
  margin: 0;
}

/* SALDO VENDEDOR */
.vmp-wallet-display {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid #d4af37;
  border: 1px solid var(--vmp-gold);
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.vmp-wallet-display:hover {
  background: rgba(212, 175, 55, 0.15);
}

.vmp-wallet-icon {
  color: #d4af37;
  color: var(--vmp-gold);
}

.vmp-wallet-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vmp-wallet-label {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
}

.vmp-wallet-amount {
  font-size: 20px;
  font-weight: 600;
  color: #d4af37;
  color: var(--vmp-gold);
}

/* ============================================ */
/* ESTADÍSTICAS */
/* ============================================ */
.vmp-stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 24px;
}

.vmp-stat-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--vmp-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmp-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.vmp-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vmp-stat-total {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
  color: var(--vmp-info);
}

.vmp-stat-pendiente {
  background: rgba(243, 156, 18, 0.1);
  color: #f39c12;
  color: var(--vmp-warning);
}

.vmp-stat-proceso {
  background: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
  color: var(--vmp-purple);
}

.vmp-stat-entregado {
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
  color: var(--vmp-success);
}

.vmp-stat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vmp-stat-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
}

.vmp-stat-value {
  font-size: 28px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--vmp-text-primary);
}

/* ============================================ */
/* CONTROLES (FILTROS Y BÚSQUEDA) */
/* ============================================ */
.vmp-controls-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.vmp-controls-left {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1 1;
}

/* FILTRO */
.vmp-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 20, 20, 0.95);
  background: var(--vmp-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmp-border);
  border-radius: 8px;
  padding: 10px 14px;
}

.vmp-filter-icon {
  color: #d4af37;
  color: var(--vmp-gold);
}

.vmp-select-filter {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--vmp-text-primary);
  font-size: 14px;
  cursor: pointer;
  outline: none;
  min-width: 180px;
}

.vmp-select-filter option {
  background: rgba(20, 20, 20, 0.95);
  background: var(--vmp-bg-card);
  color: #e9ecef;
  color: var(--vmp-text-primary);
}

/* BÚSQUEDA */
.vmp-search-group {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 20, 20, 0.95);
  background: var(--vmp-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmp-border);
  border-radius: 8px;
  padding: 10px 14px;
  flex: 1 1;
  max-width: 400px;
}

.vmp-search-icon {
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
}

.vmp-search-input {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--vmp-text-primary);
  font-size: 14px;
  outline: none;
  width: 100%;
}

.vmp-search-input::placeholder {
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
}

/* TOGGLE DE VISTA */
.vmp-view-toggle {
  display: flex;
  gap: 8px;
  background: rgba(20, 20, 20, 0.95);
  background: var(--vmp-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmp-border);
  border-radius: 8px;
  padding: 4px;
}

.vmp-view-button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.vmp-view-button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.vmp-view-active {
  background: #d4af37;
  background: var(--vmp-gold);
  color: #0a0a0a;
  color: var(--vmp-bg-primary);
}

.vmp-view-active:hover {
  background: #f0d574;
  background: var(--vmp-gold-light);
}

/* ============================================ */
/* CONTADOR DE RESULTADOS */
/* ============================================ */
.vmp-results-info {
  margin-bottom: 16px;
}

.vmp-results-text {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
}

/* ============================================ */
/* VISTA DE TARJETAS */
/* ============================================ */
.vmp-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.vmp-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--vmp-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmp-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* CARD HEADER */
.vmp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vmp-border);
}

.vmp-card-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
}

/* CARD BODY */
.vmp-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1;
}

/* PRODUCTO */
.vmp-card-producto {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.vmp-card-imagen {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmp-border);
}

.vmp-card-producto-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1;
}

.vmp-card-producto-nombre {
  font-size: 16px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--vmp-text-primary);
  margin: 0;
  line-height: 1.4;
}

.vmp-card-codigo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
}

/* CLIENTE */
.vmp-card-cliente {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.vmp-card-icon {
  color: #d4af37;
  color: var(--vmp-gold);
  margin-top: 2px;
}

.vmp-card-cliente-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vmp-card-label {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
}

.vmp-card-cliente-nombre {
  font-size: 15px;
  font-weight: 500;
  color: #e9ecef;
  color: var(--vmp-text-primary);
}

.vmp-card-tipo {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
}

.vmp-tipo-mayorista {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  color: var(--vmp-gold);
}

/* DETALLES (CANTIDAD Y PRECIO) */
.vmp-card-detalles {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.vmp-card-cantidad,
.vmp-card-precio {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vmp-card-valor,
.vmp-card-precio-valor {
  font-size: 15px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--vmp-text-primary);
}

.vmp-card-precio-valor {
  color: #27ae60;
  color: var(--vmp-success);
}

/* CARD FOOTER */
.vmp-card-footer {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--vmp-border);
}

.vmp-card-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #d4af37;
  background: var(--vmp-gold);
  color: #0a0a0a;
  color: var(--vmp-bg-primary);
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.vmp-card-button:hover {
  background: #f0d574;
  background: var(--vmp-gold-light);
}

/* BADGES DE ESTADO */
.vmp-badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.vmp-badge-pendiente {
  background: rgba(243, 156, 18, 0.2);
  color: #f39c12;
  color: var(--vmp-warning);
  border: 1px solid #f39c12;
  border: 1px solid var(--vmp-warning);
}

.vmp-badge-proceso {
  background: rgba(155, 89, 182, 0.2);
  color: #9b59b6;
  color: var(--vmp-purple);
  border: 1px solid #9b59b6;
  border: 1px solid var(--vmp-purple);
}

.vmp-badge-entregado {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
  color: var(--vmp-success);
  border: 1px solid #27ae60;
  border: 1px solid var(--vmp-success);
}

.vmp-badge-completado {
  background: rgba(52, 152, 219, 0.2);
  color: #3498db;
  color: var(--vmp-info);
  border: 1px solid #3498db;
  border: 1px solid var(--vmp-info);
}

.vmp-badge-cancelado {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  color: var(--vmp-danger);
  border: 1px solid #e74c3c;
  border: 1px solid var(--vmp-danger);
}

.vmp-badge-default {
  background: rgba(255, 255, 255, 0.1);
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmp-border);
}

/* ============================================ */
/* VISTA DE TABLA */
/* ============================================ */
.vmp-table-container {
  background: rgba(20, 20, 20, 0.95);
  background: var(--vmp-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmp-border);
  border-radius: 12px;
  overflow: hidden;
}

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

.vmp-table-head {
  background: rgba(212, 175, 55, 0.1);
}

.vmp-th {
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #d4af37;
  color: var(--vmp-gold);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vmp-border);
}

.vmp-table-body .vmp-table-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vmp-border);
  transition: background 0.2s ease;
}

.vmp-table-body .vmp-table-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.vmp-td {
  padding: 14px 16px;
  color: #e9ecef;
  color: var(--vmp-text-primary);
  font-size: 14px;
}

/* COLUMNAS ESPECÍFICAS */
.vmp-td-imagen {
  width: 60px;
}

.vmp-table-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmp-border);
}

.vmp-td-nombre {
  max-width: 250px;
  font-weight: 500;
}

.vmp-td-codigo {
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
  font-size: 13px;
}

.vmp-table-cliente {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vmp-table-mayorista {
  color: #d4af37;
  color: var(--vmp-gold);
  font-size: 16px;
}

.vmp-td-cantidad,
.vmp-td-precio {
  font-weight: 600;
}

.vmp-td-precio {
  color: #27ae60;
  color: var(--vmp-success);
}

.vmp-td-estado {
  width: 140px;
}

.vmp-table-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.vmp-td-fecha {
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
  font-size: 13px;
  white-space: nowrap;
}

.vmp-td-acciones {
  width: 100px;
}

.vmp-table-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #d4af37;
  background: var(--vmp-gold);
  color: #0a0a0a;
  color: var(--vmp-bg-primary);
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.vmp-table-button:hover {
  background: #f0d574;
  background: var(--vmp-gold-light);
}

/* ============================================ */
/* ESTADO VACÍO */
/* ============================================ */
.vmp-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.vmp-empty-icon {
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
  opacity: 0.5;
  margin-bottom: 20px;
}

.vmp-empty-title {
  font-size: 22px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--vmp-text-primary);
  margin: 0 0 12px 0;
}

.vmp-empty-text {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
  max-width: 400px;
  margin: 0;
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */
@media (max-width: 768px) {
  .vmp-container {
    padding: 12px;
  }

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

  .vmp-wallet-display {
    width: 100%;
    justify-content: center;
  }

  .vmp-stats-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .vmp-controls-section {
    flex-direction: column;
    align-items: stretch;
  }

  .vmp-controls-left {
    flex-direction: column;
  }

  .vmp-search-group {
    max-width: 100%;
  }

  .vmp-view-toggle {
    justify-content: center;
  }

  .vmp-cards-container {
    grid-template-columns: 1fr;
  }

  .vmp-table-container {
    overflow-x: auto;
  }

  .vmp-table {
    min-width: 900px;
  }
}

@media (max-width: 480px) {
  .vmp-stats-section {
    grid-template-columns: 1fr;
  }

  .vmp-title {
    font-size: 22px;
  }

  .vmp-stat-value {
    font-size: 24px;
  }
}

/* ============================================ */
/* HEADER SUPERIOR - NAVEGACIÓN */
/* ============================================ */
.vmp-top-header {
  background: rgba(20, 20, 20, 0.95);
  background: var(--vmp-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmp-border);
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 20px;
}

.vmp-top-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* LOGO Y MARCA */
.vmp-brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vmp-brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.vmp-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vmp-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #d4af37;
  color: var(--vmp-gold);
  margin: 0;
  letter-spacing: 1px;
}

.vmp-vendor-name {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
  margin: 0;
}

/* NAVEGACIÓN */
.vmp-nav {
  display: flex;
  gap: 8px;
}

.vmp-nav-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmp-border);
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.vmp-nav-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--vmp-gold);
  color: #e9ecef;
  color: var(--vmp-text-primary);
}

.vmp-nav-active {
  background: #d4af37;
  background: var(--vmp-gold);
  border-color: #d4af37;
  border-color: var(--vmp-gold);
  color: #0a0a0a;
  color: var(--vmp-bg-primary);
}

.vmp-nav-active:hover {
  background: #f0d574;
  background: var(--vmp-gold-light);
}

/* SECCIÓN DERECHA */
.vmp-right-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vmp-logout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmp-border);
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vmp-logout-button:hover {
  background: rgba(231, 76, 60, 0.1);
  border-color: #e74c3c;
  border-color: var(--vmp-danger);
  color: #e74c3c;
  color: var(--vmp-danger);
}

/* PAGE HEADER */
.vmp-page-header {
  background: rgba(20, 20, 20, 0.95);
  background: var(--vmp-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vmp-border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.vmp-page-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vmp-page-icon {
  color: #d4af37;
  color: var(--vmp-gold);
}

.vmp-page-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vmp-page-title {
  font-size: 24px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--vmp-text-primary);
  margin: 0;
}

.vmp-page-subtitle {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--vmp-text-secondary);
  margin: 0;
}

/* RESPONSIVE PARA HEADER */
@media (max-width: 1024px) {
  .vmp-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .vmp-top-header-content {
    flex-direction: column;
    align-items: stretch;
  }

  .vmp-nav {
    flex-direction: column;
  }

  .vmp-nav-button {
    justify-content: center;
  }

  .vmp-right-section {
    justify-content: space-between;
  }

  .vmp-wallet-display {
    flex: 1 1;
  }
}

/* src/pages/vendedor/ChatPedido.css */
/* PREFIJO: vchat- (Vendedor Chat) */

/* ============================================ */
/* IMPORTS */
/* ============================================ */

/* ============================================ */
/* VARIABLES */
/* ============================================ */
:root {
  --vchat-bg-primary: #0a0a0a;
  --vchat-bg-secondary: rgba(10, 10, 10, 0.95);
  --vchat-bg-card: rgba(20, 20, 20, 0.95);
  --vchat-gold: #d4af37;
  --vchat-gold-light: #f0d574;
  --vchat-text-primary: #e9ecef;
  --vchat-text-secondary: #b7bcc4;
  --vchat-border: rgba(255, 255, 255, 0.12);
  --vchat-success: #27ae60;
  --vchat-danger: #e74c3c;
  --vchat-info: #3498db;
  --vchat-warning: #f39c12;
  --vchat-purple: #6366f1;
  --vchat-admin: #ef4444;
}

/* ============================================ */
/* RESET & BASE */
/* ============================================ */
.vchat-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%);
  background: linear-gradient(135deg, var(--vchat-bg-primary) 0%, #0f0f0f 100%);
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* HEADER */
/* ============================================ */
.vchat-header {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 0.95));
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vchat-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  animation: vchat-slideDown 0.5s ease-out;
}

.vchat-header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.vchat-back-button-header {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--vchat-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vchat-border);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vchat-back-button-header:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.vchat-header-center {
  flex: 1 1;
  display: flex;
  justify-content: center;
}

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

.vchat-header-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--vchat-gold), var(--vchat-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  color: var(--vchat-bg-primary);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.vchat-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vchat-header-title {
  font-size: 20px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--vchat-text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vchat-mayorista-badge {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--vchat-gold), var(--vchat-gold-light));
  color: #0a0a0a;
  color: var(--vchat-bg-primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.vchat-header-subtitle {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--vchat-text-secondary);
  margin: 0;
}

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

.vchat-admin-badge {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  background: linear-gradient(135deg, var(--vchat-admin), #dc2626);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.vchat-pedido-button {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--vchat-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vchat-border);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vchat-pedido-button:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: #d4af37;
  border-color: var(--vchat-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* ============================================ */
/* INFO BAR */
/* ============================================ */
.vchat-pedido-info-bar {
  background: rgba(20, 20, 20, 0.95);
  background: var(--vchat-bg-card);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vchat-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.vchat-pedido-info-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.vchat-pedido-info-imagen {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #d4af37;
  border: 2px solid var(--vchat-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.vchat-pedido-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #e9ecef;
  color: var(--vchat-text-primary);
}

.vchat-pedido-info-label {
  color: #b7bcc4;
  color: var(--vchat-text-secondary);
  font-weight: 500;
}

.vchat-pedido-info-value {
  font-weight: 600;
  color: #e9ecef;
  color: var(--vchat-text-primary);
}

.vchat-pedido-info-value-price {
  font-weight: 700;
  color: #d4af37;
  color: var(--vchat-gold);
  font-family: 'Orbitron', monospace;
  font-size: 16px;
}

.vchat-pedido-info-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.12);
  background: var(--vchat-border);
}

.vchat-pedido-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: white;
}

.vchat-badge-pendiente {
  background: #f39c12;
  background: var(--vchat-warning);
}

.vchat-badge-proceso {
  background: #3498db;
  background: var(--vchat-info);
}

.vchat-badge-entregado {
  background: #27ae60;
  background: var(--vchat-success);
}

.vchat-badge-completado {
  background: #27ae60;
  background: var(--vchat-success);
}

.vchat-badge-cancelado {
  background: #e74c3c;
  background: var(--vchat-danger);
}

.vchat-badge-default {
  background: #6b7280;
}

/* ============================================ */
/* CHAT CONTAINER */
/* ============================================ */
.vchat-chat-container {
  flex: 1 1;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
}

.vchat-mensajes-lista {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* ============================================ */
/* EMPTY STATE */
/* ============================================ */
.vchat-empty-chat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  text-align: center;
  color: #b7bcc4;
  color: var(--vchat-text-secondary);
}

.vchat-empty-icon {
  color: #d4af37;
  color: var(--vchat-gold);
  margin-bottom: 20px;
  opacity: 0.5;
}

.vchat-empty-title {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--vchat-text-primary);
  margin: 0 0 12px 0;
}

.vchat-empty-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--vchat-text-secondary);
  margin: 0;
  max-width: 400px;
  line-height: 1.6;
}

/* ============================================ */
/* MENSAJES */
/* ============================================ */
.vchat-mensaje-wrapper {
  display: flex;
  margin: 15px 0;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 8px;
  animation: vchat-fadeIn 0.3s ease-out;
}

.vchat-mensaje-wrapper.vchat-mensaje-mio {
  justify-content: flex-end;
}

.vchat-mensaje-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.vchat-avatar-admin {
  background: #ef4444;
  background: var(--vchat-admin);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.vchat-avatar-cliente {
  background: #27ae60;
  background: var(--vchat-success);
  box-shadow: 0 0 15px rgba(39, 174, 96, 0.4);
}

.vchat-avatar-vendedor {
  background: #6366f1;
  background: var(--vchat-purple);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.vchat-mensaje-content {
  max-width: 70%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vchat-mensaje-content.vchat-mensaje-content-mio {
  align-items: flex-end;
}

.vchat-mensaje-sender {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--vchat-text-secondary);
  margin-bottom: 4px;
  font-weight: 600;
}

.vchat-mensaje-sender.vchat-sender-admin {
  color: #ef4444;
  color: var(--vchat-admin);
}

.vchat-mensaje-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  word-break: break-word;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: vchat-scaleIn 0.3s ease-out;
}

.vchat-bubble-mio {
  background: linear-gradient(135deg, #6366f1, #5558e3);
  background: linear-gradient(135deg, var(--vchat-purple), #5558e3);
  color: white;
  border-radius: 18px 18px 4px 18px;
}

.vchat-bubble-admin {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  background: linear-gradient(135deg, var(--vchat-admin), #dc2626);
  color: white;
  border-radius: 18px 18px 18px 4px;
}

.vchat-bubble-otro {
  background: #374151;
  color: white;
  border-radius: 18px 18px 18px 4px;
}

.vchat-mensaje-texto {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: white;
}

.vchat-mensaje-time {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
}

/* ============================================ */
/* INPUT CONTAINER */
/* ============================================ */
.vchat-input-container {
  background: rgba(20, 20, 20, 0.95);
  background: var(--vchat-bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--vchat-border);
  padding: 20px 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.vchat-input-form {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
}

.vchat-input-field {
  flex: 1 1;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vchat-border);
  border-radius: 12px;
  color: #e9ecef;
  color: var(--vchat-text-primary);
  font-size: 15px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.vchat-input-field:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--vchat-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

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

.vchat-input-field::placeholder {
  color: #b7bcc4;
  color: var(--vchat-text-secondary);
}

.vchat-send-button {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #6366f1, #5558e3);
  background: linear-gradient(135deg, var(--vchat-purple), #5558e3);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.vchat-send-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.vchat-send-button:disabled {
  background: #4b5563;
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}

.vchat-send-button.vchat-send-button-admin {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  background: linear-gradient(135deg, var(--vchat-admin), #dc2626);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.vchat-send-button.vchat-send-button-admin:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
}

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

/* ============================================ */
/* MODAL */
/* ============================================ */
.vchat-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: vchat-fadeIn 0.3s ease-out;
}

.vchat-modal-content {
  background: rgba(20, 20, 20, 0.95);
  background: var(--vchat-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vchat-border);
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  animation: vchat-scaleIn 0.3s ease-out;
}

.vchat-modal-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vchat-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: rgba(20, 20, 20, 0.95);
  background: var(--vchat-bg-card);
  z-index: 10;
}

.vchat-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--vchat-text-primary);
  margin: 0;
}

.vchat-modal-close {
  background: none;
  border: none;
  color: #b7bcc4;
  color: var(--vchat-text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.vchat-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--vchat-text-primary);
}

.vchat-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vchat-modal-imagen-container {
  width: 100%;
  max-height: 300px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #d4af37;
  border: 2px solid var(--vchat-gold);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3);
}

.vchat-modal-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vchat-modal-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vchat-border);
  border-radius: 12px;
  padding: 20px;
}

.vchat-modal-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--vchat-text-primary);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d4af37;
  color: var(--vchat-gold);
}

.vchat-modal-info-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vchat-modal-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vchat-modal-info-item:last-child {
  border-bottom: none;
}

.vchat-modal-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--vchat-text-secondary);
  font-weight: 500;
}

.vchat-modal-label-bold {
  font-size: 16px;
  color: #e9ecef;
  color: var(--vchat-text-primary);
  font-weight: 700;
}

.vchat-modal-value {
  font-size: 15px;
  color: #e9ecef;
  color: var(--vchat-text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vchat-modal-value-small {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--vchat-text-secondary);
  font-family: 'Courier New', monospace;
}

.vchat-modal-value-bold {
  font-size: 20px;
  font-weight: 900;
  color: #d4af37;
  color: var(--vchat-gold);
  font-family: 'Orbitron', monospace;
}

.vchat-modal-value-discount {
  font-size: 15px;
  color: #27ae60;
  color: var(--vchat-success);
  font-weight: 700;
}

.vchat-modal-mayorista-badge {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--vchat-gold), var(--vchat-gold-light));
  color: #0a0a0a;
  color: var(--vchat-bg-primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 8px;
}

.vchat-modal-estado {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  color: white;
  justify-content: center;
}

.vchat-modal-id {
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border: 1px dashed var(--vchat-border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.vchat-modal-id-label {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--vchat-text-secondary);
  font-weight: 500;
}

.vchat-modal-id-value {
  font-size: 14px;
  color: #d4af37;
  color: var(--vchat-gold);
  font-family: 'Courier New', monospace;
  font-weight: 600;
}

.vchat-modal-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--vchat-border);
  display: flex;
  justify-content: flex-end;
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background: rgba(20, 20, 20, 0.95);
  background: var(--vchat-bg-card);
}

.vchat-modal-button-cerrar {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--vchat-gold), var(--vchat-gold-light));
  color: #0a0a0a;
  color: var(--vchat-bg-primary);
  border: none;
  padding: 12px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.vchat-modal-button-cerrar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* ============================================ */
/* LOADING */
/* ============================================ */
.vchat-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 20px;
}

.vchat-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.1);
  border-top: 6px solid #d4af37;
  border-top: 6px solid var(--vchat-gold);
  border-radius: 50%;
  animation: vchat-spin 1s linear infinite;
}

.vchat-loading-text {
  font-size: 18px;
  color: #b7bcc4;
  color: var(--vchat-text-secondary);
  font-weight: 600;
}

/* ============================================ */
/* ERROR */
/* ============================================ */
.vchat-error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  text-align: center;
}

.vchat-error-icon {
  font-size: 80px;
  margin-bottom: 24px;
}

.vchat-error-title {
  font-size: 28px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--vchat-text-primary);
  margin: 0 0 12px 0;
}

.vchat-error-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--vchat-text-secondary);
  margin: 0 0 24px 0;
}

.vchat-back-button {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--vchat-gold), var(--vchat-gold-light));
  color: #0a0a0a;
  color: var(--vchat-bg-primary);
  border: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.vchat-back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* ============================================ */
/* SCROLLBAR */
/* ============================================ */
.vchat-chat-container::-webkit-scrollbar,
.vchat-modal-content::-webkit-scrollbar {
  width: 8px;
}

.vchat-chat-container::-webkit-scrollbar-track,
.vchat-modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.vchat-chat-container::-webkit-scrollbar-thumb,
.vchat-modal-content::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--vchat-gold);
  border-radius: 10px;
}

.vchat-chat-container::-webkit-scrollbar-thumb:hover,
.vchat-modal-content::-webkit-scrollbar-thumb:hover {
  background: #f0d574;
  background: var(--vchat-gold-light);
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */
@keyframes vchat-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

@keyframes vchat-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================ */
/* RESPONSIVE - TABLETS */
/* ============================================ */
@media (max-width: 1024px) {
  .vchat-pedido-info-content {
    gap: 12px;
  }

  .vchat-mensaje-content {
    max-width: 80%;
  }
}

/* ============================================ */
/* RESPONSIVE - MOBILE */
/* ============================================ */
@media (max-width: 768px) {
  .vchat-header-content {
    flex-wrap: wrap;
    gap: 12px;
  }

  .vchat-header-title {
    font-size: 16px;
  }

  .vchat-pedido-info-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .vchat-pedido-info-divider {
    display: none;
  }

  .vchat-mensaje-content {
    max-width: 85%;
  }

  .vchat-input-form {
    gap: 8px;
  }

  .vchat-input-field {
    padding: 12px 16px;
    font-size: 14px;
  }

  .vchat-send-button {
    width: 44px;
    height: 44px;
  }

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

  .vchat-modal-body {
    padding: 16px;
  }
}


/* Estilos para mensajes del Asistente Noodle */
.vchat-avatar-sistema {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
}

.vchat-sender-sistema {
  color: #667eea !important;
  font-weight: 600 !important;
}

.vchat-bubble-sistema {
  background: linear-gradient(135deg, #f0f0ff 0%, #e8e0ff 100%) !important;
  border: 1px solid #667eea40 !important;
}
/* src/pages/admin/Dashboard.css */
/* PREFIJO: adx- (Admin Dashboard eXtended) */

/* ============================================ */
/* IMPORTS */
/* ============================================ */

/* ============================================ */
/* VARIABLES */
/* ============================================ */
:root {
  --adx-bg-primary: #0a0a0a;
  --adx-bg-secondary: rgba(10, 10, 10, 0.95);
  --adx-bg-card: rgba(20, 20, 20, 0.95);
  --adx-gold: #d4af37;
  --adx-gold-light: #f0d574;
  --adx-text-primary: #e9ecef;
  --adx-text-secondary: #b7bcc4;
  --adx-border: rgba(255, 255, 255, 0.12);
  --adx-success: #27ae60;
  --adx-warning: #f39c12;
  --adx-danger: #e74c3c;
  --adx-info: #3498db;
  --adx-purple: #9b59b6;
}

/* ============================================ */
/* RESET & BASE */
/* ============================================ */
.adx-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--adx-bg-primary);
  font-family: 'Rajdhani', sans-serif;
}

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

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

.adx-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top: 5px solid #d4af37;
  border-top: 5px solid var(--adx-gold);
  border-radius: 50%;
  animation: adx-spin 1s linear infinite;
}

@keyframes adx-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.adx-loading-text {
  color: #b7bcc4;
  color: var(--adx-text-secondary);
  font-size: 16px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

/* ============================================ */
/* HEADER */
/* ============================================ */
.adx-header {
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--adx-bg-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--adx-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.adx-header-content {
  max-width: 1800px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

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

.adx-logo-image {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid #d4af37;
  border: 2px solid var(--adx-gold);
  transition: transform 0.3s ease;
}

.adx-logo-image:hover {
  transform: scale(1.05);
}

.adx-header-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.adx-logo-text {
  font-size: 20px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  letter-spacing: 2px;
  margin: 0;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--adx-gold), var(--adx-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.adx-admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background-color: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  color: var(--adx-danger);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: -webkit-fit-content;
  width: fit-content;
}

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

.adx-user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.adx-user-name {
  font-size: 15px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--adx-text-primary);
  font-family: 'Rajdhani', sans-serif;
}

.adx-user-role {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--adx-text-secondary);
  font-family: 'Rajdhani', sans-serif;
}

.adx-logout-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--adx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--adx-border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.adx-logout-button:hover {
  background-color: rgba(231, 76, 60, 0.15);
  border-color: #e74c3c;
  border-color: var(--adx-danger);
  color: #e74c3c;
  color: var(--adx-danger);
  transform: translateY(-2px);
}

/* ============================================ */
/* MAIN */
/* ============================================ */
.adx-main {
  padding: 40px 24px;
}

.adx-main-content {
  max-width: 1800px;
  margin: 0 auto;
}

/* ============================================ */
/* BIENVENIDA */
/* ============================================ */
.adx-welcome-section {
  margin-bottom: 40px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.adx-page-title {
  font-size: 36px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--adx-text-primary);
  margin: 0 0 12px 0;
  font-family: 'Orbitron', monospace;
  display: flex;
  align-items: center;
  gap: 16px;
}

.adx-welcome-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--adx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.adx-welcome-text strong {
  color: #d4af37;
  color: var(--adx-gold);
  font-weight: 700;
}

/* ============================================ */
/* SECCIONES */
/* ============================================ */
.adx-section {
  margin-bottom: 48px;
}

.adx-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--adx-text-primary);
  margin: 0 0 24px 0;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ============================================ */
/* ESTADÍSTICAS GRID */
/* ============================================ */
.adx-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.adx-stat-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--adx-bg-card);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--adx-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.adx-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #f0d574);
  background: linear-gradient(90deg, var(--adx-gold), var(--adx-gold-light));
}

.adx-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  border-color: #d4af37;
  border-color: var(--adx-gold);
}

.adx-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--adx-gold), var(--adx-gold-light));
}

.adx-stat-primary .adx-stat-icon {
  background: linear-gradient(135deg, #3498db, #5dade2);
  background: linear-gradient(135deg, var(--adx-info), #5dade2);
}

.adx-stat-vendedores .adx-stat-icon {
  background: linear-gradient(135deg, #9b59b6, #ae78d4);
  background: linear-gradient(135deg, var(--adx-purple), #ae78d4);
}

.adx-stat-premium .adx-stat-icon {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--adx-gold), var(--adx-gold-light));
}

.adx-stat-clientes .adx-stat-icon {
  background: linear-gradient(135deg, #1abc9c, #48c9b0);
}

.adx-stat-productos .adx-stat-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.adx-stat-pendientes .adx-stat-icon {
  background: linear-gradient(135deg, #f39c12, #f8b739);
  background: linear-gradient(135deg, var(--adx-warning), #f8b739);
}

.adx-stat-aprobados .adx-stat-icon {
  background: linear-gradient(135deg, #27ae60, #52be80);
  background: linear-gradient(135deg, var(--adx-success), #52be80);
}

.adx-stat-rechazados .adx-stat-icon {
  background: linear-gradient(135deg, #e74c3c, #ec7063);
  background: linear-gradient(135deg, var(--adx-danger), #ec7063);
}

.adx-stat-pedidos .adx-stat-icon {
  background: linear-gradient(135deg, #3498db, #5dade2);
  background: linear-gradient(135deg, var(--adx-info), #5dade2);
}

.adx-stat-pedidos-pendientes .adx-stat-icon {
  background: linear-gradient(135deg, #f39c12, #f8b739);
  background: linear-gradient(135deg, var(--adx-warning), #f8b739);
}

.adx-stat-pedidos-aprobados .adx-stat-icon {
  background: linear-gradient(135deg, #3498db, #5dade2);
  background: linear-gradient(135deg, var(--adx-info), #5dade2);
}

.adx-stat-pedidos-entregados .adx-stat-icon {
  background: linear-gradient(135deg, #27ae60, #52be80);
  background: linear-gradient(135deg, var(--adx-success), #52be80);
}

.adx-stat-content {
  flex: 1 1;
  text-align: right;
}

.adx-stat-value {
  font-size: 32px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--adx-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1;
}

.adx-stat-label {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--adx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

/* ============================================ */
/* ACCIONES RÁPIDAS */
/* ============================================ */
.adx-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.adx-action-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--adx-bg-card);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--adx-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.adx-action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #f0d574);
  background: linear-gradient(90deg, var(--adx-gold), var(--adx-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.adx-action-card:hover::before {
  transform: scaleX(1);
}

.adx-action-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
  border-color: #d4af37;
  border-color: var(--adx-gold);
}

.adx-action-highlight {
  border: 2px solid #f39c12;
  border: 2px solid var(--adx-warning);
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.1) 0%, rgba(243, 156, 18, 0.05) 100%);
}

.adx-action-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(135deg, #3498db, #5dade2);
  background: linear-gradient(135deg, var(--adx-info), #5dade2);
  transition: transform 0.3s ease;
}

.adx-action-card:hover .adx-action-icon {
  transform: scale(1.1) rotate(5deg);
}

.adx-icon-crear {
  background: linear-gradient(135deg, #27ae60, #52be80);
  background: linear-gradient(135deg, var(--adx-success), #52be80);
}

.adx-icon-vendedores {
  background: linear-gradient(135deg, #9b59b6, #ae78d4);
  background: linear-gradient(135deg, var(--adx-purple), #ae78d4);
}

.adx-icon-mayoristas {
  background: linear-gradient(135deg, #1abc9c, #48c9b0);
}

.adx-icon-aprobar {
  background: linear-gradient(135deg, #f39c12, #f8b739);
  background: linear-gradient(135deg, var(--adx-warning), #f8b739);
}

.adx-icon-productos {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.adx-icon-chats {
  background: linear-gradient(135deg, #3498db, #5dade2);
  background: linear-gradient(135deg, var(--adx-info), #5dade2);
}

.adx-icon-pedidos {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--adx-gold), var(--adx-gold-light));
}

.adx-icon-categorias {
  background: linear-gradient(135deg, #e74c3c, #ec7063);
}

.adx-icon-asignar {
  background: linear-gradient(135deg, #f39c12, #f8b739);
}

.adx-icon-creditos {
  background: linear-gradient(135deg, #27ae60, #52be80);
}

.adx-icon-billeteras {
  background: linear-gradient(135deg, #3498db, #5dade2);
}

.adx-icon-transacciones {
  background: linear-gradient(135deg, #9b59b6, #ae78d4);
}

.adx-icon-estadisticas {
  background: linear-gradient(135deg, #d4af37, #f0d574);
}

.adx-icon-publicacion {
  background: linear-gradient(135deg, #1abc9c, #48c9b0);
}

.adx-icon-config {
  background: linear-gradient(135deg, #7f8c8d, #95a5a6);
}

.adx-action-title {
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--adx-text-primary);
  margin: 0 0 8px 0;
  font-family: 'Rajdhani', sans-serif;
}

.adx-action-desc {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--adx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.adx-action-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #e74c3c, #ec7063);
  background: linear-gradient(135deg, var(--adx-danger), #ec7063);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
  animation: adx-pulse-badge 2s ease-in-out infinite;
}

@keyframes adx-pulse-badge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
  }
}

/* ============================================ */
/* ACTIVIDAD RECIENTE */
/* ============================================ */
.adx-activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adx-activity-item {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--adx-bg-card);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--adx-border);
  transition: all 0.3s ease;
  cursor: pointer;
}

.adx-activity-item:hover {
  transform: translateX(8px);
  border-color: #d4af37;
  border-color: var(--adx-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.adx-activity-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--adx-gold), var(--adx-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  color: var(--adx-bg-primary);
  flex-shrink: 0;
}

.adx-activity-content {
  flex: 1 1;
  min-width: 0;
}

.adx-activity-text {
  font-size: 14px;
  color: #e9ecef;
  color: var(--adx-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adx-activity-time {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--adx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */
@media (max-width: 1024px) {
  .adx-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .adx-actions-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .adx-header-content {
    flex-wrap: wrap;
  }

  .adx-user-info {
    display: none;
  }

  .adx-page-title {
    font-size: 28px;
  }

  .adx-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adx-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .adx-main {
    padding: 24px 16px;
  }

  .adx-welcome-section {
    padding: 20px;
  }

  .adx-page-title {
    font-size: 24px;
  }

  .adx-stats-grid {
    grid-template-columns: 1fr;
  }

  .adx-actions-grid {
    grid-template-columns: 1fr;
  }

  .adx-logo-text {
    font-size: 16px;
  }
}
/* src/pages/admin/ProductosVendedor.css */
/* PREFIJO: pvx- (Productos Vendedor eXtended) */

/* ============================================ */
/* IMPORTS */
/* ============================================ */

/* ============================================ */
/* VARIABLES */
/* ============================================ */
:root {
  --pvx-bg-primary: #0a0a0a;
  --pvx-bg-secondary: rgba(10, 10, 10, 0.95);
  --pvx-bg-card: rgba(20, 20, 20, 0.95);
  --pvx-text-primary: #e9ecef;
  --pvx-text-secondary: #b7bcc4;
  --pvx-border: rgba(255, 255, 255, 0.12);
  --pvx-success: #27ae60;
  --pvx-warning: #f39c12;
  --pvx-danger: #e74c3c;
  --pvx-info: #3498db;
  --pvx-gold: #d4af37;
}

/* ============================================ */
/* BASE & LAYOUT */
/* ============================================ */
.pvx-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--pvx-bg-primary);
  color: #e9ecef;
  color: var(--pvx-text-primary);
  font-family: 'Rajdhani', sans-serif;
  padding: 24px;
}

.pvx-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.pvx-header button {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--pvx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pvx-border);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pvx-header button:hover {
  background-color: #d4af37;
  background-color: var(--pvx-gold);
  color: #0a0a0a;
  color: var(--pvx-bg-primary);
  border-color: #d4af37;
  border-color: var(--pvx-gold);
}

.pvx-header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

/* ============================================ */
/* ESTADÍSTICAS */
/* ============================================ */
.pvx-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.pvx-stats span {
  font-size: 14px;
  font-weight: 500;
  color: #b7bcc4;
  color: var(--pvx-text-secondary);
}

/* ============================================ */
/* FILTROS */
/* ============================================ */
.pvx-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.pvx-filters button {
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--pvx-bg-secondary);
  color: #e9ecef;
  color: var(--pvx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pvx-border);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pvx-filters button:hover {
  background-color: #3498db;
  background-color: var(--pvx-info);
  border-color: #3498db;
  border-color: var(--pvx-info);
  color: #0a0a0a;
  color: var(--pvx-bg-primary);
}

.pvx-filters .active {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--pvx-gold), #f0d574);
  border-color: #d4af37;
  border-color: var(--pvx-gold);
  color: #0a0a0a;
  color: var(--pvx-bg-primary);
}

/* ============================================ */
/* GRID DE PRODUCTOS */
/* ============================================ */
.pvx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

/* ============================================ */
/* TARJETA DE PRODUCTO */
/* ============================================ */
.pvx-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--pvx-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pvx-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pvx-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  border-color: #d4af37;
  border-color: var(--pvx-gold);
}

/* Badges */
.pvx-card-badges {
  display: flex;
  gap: 8px;
  padding: 12px;
}

.pvx-badge {
  background-color: #3498db;
  background-color: var(--pvx-info);
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.pvx-badge-off {
  background-color: #e74c3c;
  background-color: var(--pvx-danger);
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

/* Imagen */
.pvx-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pvx-card:hover .pvx-img {
  transform: scale(1.05);
}

/* Contenido */
.pvx-card h3 {
  margin: 16px 12px 8px;
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--pvx-text-primary);
}

.pvx-card p {
  margin: 4px 12px;
  font-size: 14px;
  color: #b7bcc4;
  color: var(--pvx-text-secondary);
}

.pvx-card p strong {
  color: #e9ecef;
  color: var(--pvx-text-primary);
  font-weight: 700;
}

.pvx-card del {
  color: #b7bcc4;
  color: var(--pvx-text-secondary);
  margin-right: 8px;
}

/* Stock info */
.pvx-card .pvx-stock {
  margin: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}

.pvx-stock-yes {
  color: #27ae60;
  color: var(--pvx-success);
}

.pvx-stock-no {
  color: #e74c3c;
  color: var(--pvx-danger);
}

/* ID */
.pvx-card .pvx-producto-id {
  margin: 4px 12px;
  font-size: 12px;
  color: #b7bcc4;
  color: var(--pvx-text-secondary);
}

/* Botón eliminar */
.pvx-card button {
  margin: 12px;
  padding: 8px 0;
  background-color: #e74c3c;
  background-color: var(--pvx-danger);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pvx-card button:hover {
  background-color: #c0392b;
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */
@media (max-width: 768px) {
  .pvx-stats {
    flex-direction: column;
    gap: 12px;
  }

  .pvx-filters {
    flex-wrap: wrap;
  }

  .pvx-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .pvx-grid {
    grid-template-columns: 1fr;
  }

  .pvx-header h1 {
    font-size: 20px;
  }
}

/* ============================================ */
/* 🎨 CATEGORÍAS ADMIN - COMPLETO ESTILO PC */
/* ============================================ */

/* VARIABLES */
:root {
  --acatx-bg-primary: #0a0a0a;
  --acatx-bg-secondary: rgba(10, 10, 10, 0.95);
  --acatx-bg-card: rgba(20, 20, 20, 0.95);
  --acatx-text-primary: #e9ecef;
  --acatx-text-secondary: #b7bcc4;
  --acatx-border: rgba(255, 255, 255, 0.12);
  --acatx-success: #27ae60;
  --acatx-warning: #f39c12;
  --acatx-danger: #e74c3c;
  --acatx-info: #3498db;
  --acatx-gold: #d4af37;
  --acatx-arrow: #f0d574;
}

/* CONTENEDOR PRINCIPAL */
.acatx-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--acatx-bg-primary);
  color: #e9ecef;
  color: var(--acatx-text-primary);
  font-family: 'Rajdhani', sans-serif;
  padding: 24px;
}

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

/* HEADER */
.acatx-header {
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--acatx-bg-secondary);
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--acatx-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.acatx-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.acatx-back-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255,255,255,0.1);
  color: #e9ecef;
  color: var(--acatx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--acatx-border);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.acatx-back-button:hover {
  background-color: #d4af37;
  background-color: var(--acatx-gold);
  color: #0a0a0a;
  color: var(--acatx-bg-primary);
  border-color: #d4af37;
  border-color: var(--acatx-gold);
}

.acatx-logo {
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--acatx-gold), #f0d574);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* MAIN CONTENT */
.acatx-main {
  padding: 32px 0;
}

.acatx-main-content {
  max-width: 1800px;
  margin: 0 auto;
}

/* TITLE SECTION */
.acatx-title-section {
  margin-bottom: 32px;
}

.acatx-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 700;
}

.acatx-subtitle {
  color: #b7bcc4;
  color: var(--acatx-text-secondary);
  margin-top: 4px;
}

/* GRID LAYOUT */
.acatx-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 24px;
  gap: 24px;
}

@media (max-width: 1024px) {
  .acatx-content-grid {
    grid-template-columns: 1fr;
  }
}

/* CARD BASE */
.acatx-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--acatx-bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--acatx-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  padding: 24px;
}

.acatx-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  margin-bottom: 16px;
  color: #e9ecef;
  color: var(--acatx-text-primary);
}

/* FORM SECTION */
.acatx-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.acatx-input-group,
.acatx-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.acatx-label {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.acatx-required {
  color: #e74c3c;
  color: var(--acatx-danger);
}

.acatx-input,
.acatx-select,
.acatx-textarea {
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--acatx-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--acatx-border);
  border-radius: 8px;
  padding: 8px 12px;
  color: #e9ecef;
  color: var(--acatx-text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}

.acatx-input:focus,
.acatx-select:focus,
.acatx-textarea:focus {
  border-color: #d4af37;
  border-color: var(--acatx-gold);
}

.acatx-select:disabled,
.acatx-input:disabled,
.acatx-textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.acatx-hint {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--acatx-text-secondary);
  margin-top: -4px;
}

.acatx-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.acatx-checkbox {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* 🆕 PREVIEW DE ICONOS */
.acatx-preview-icono {
  margin-top: 8px;
  padding: 12px;
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--acatx-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--acatx-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acatx-preview-img-small {
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
  border-radius: 6px;
}

.acatx-preview-img-large {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  border-radius: 8px;
}

/* FORM BUTTONS */
.acatx-button-group {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}

.acatx-submit-button,
.acatx-cancel-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.acatx-submit-button {
  background-color: #3498db;
  background-color: var(--acatx-info);
  color: #0a0a0a;
  color: var(--acatx-bg-primary);
}

.acatx-submit-button:hover:not(:disabled) {
  background-color: #2e86c1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.acatx-submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.acatx-cancel-button {
  background-color: #e74c3c;
  background-color: var(--acatx-danger);
  color: #fff;
}

.acatx-cancel-button:hover:not(:disabled) {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.acatx-btn-spinner {
  width: 16px;
  height: 16px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: acatx-spin 1s linear infinite;
}

@keyframes acatx-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* LIST SECTION */
.acatx-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.acatx-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(212, 175, 55, 0.2);
  border-top: 4px solid #d4af37;
  border-top: 4px solid var(--acatx-gold);
  border-radius: 50%;
  animation: acatx-spin 1s linear infinite;
}

.acatx-loading-text {
  margin-top: 16px;
  color: #b7bcc4;
  color: var(--acatx-text-secondary);
  font-size: 14px;
}

.acatx-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #b7bcc4;
  color: var(--acatx-text-secondary);
}

.acatx-empty-state svg {
  opacity: 0.3;
}

.acatx-empty-text {
  margin-top: 16px;
  font-size: 14px;
}

.acatx-categorias-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 8px;
}

/* Scrollbar para la lista */
.acatx-categorias-lista::-webkit-scrollbar {
  width: 6px;
}

.acatx-categorias-lista::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.acatx-categorias-lista::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--acatx-gold);
  border-radius: 3px;
}

.acatx-categorias-lista::-webkit-scrollbar-thumb:hover {
  background: #f0d574;
}

/* CATEGORÍA ITEM */
.acatx-categoria-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--acatx-bg-secondary);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--acatx-border);
  transition: all 0.3s ease;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
}

.acatx-categoria-item:hover {
  background-color: rgba(212, 175, 55, 0.1);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
}

.acatx-categoria-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1;
  min-width: 0;
}

.acatx-categoria-icon {
  font-size: 28px;
  -webkit-user-select: none;
          user-select: none;
  flex-shrink: 0;
  position: relative;
}

.acatx-categoria-icon-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.acatx-categoria-icon-emoji {
  display: block;
}

.acatx-categoria-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
  flex: 1 1;
}

.acatx-categoria-nombre {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.acatx-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  -webkit-user-select: none;
          user-select: none;
}

.acatx-badge-principal {
  background-color: #3498db;
  background-color: var(--acatx-info);
  color: #0a0a0a;
  color: var(--acatx-bg-primary);
}

.acatx-badge-sub {
  background-color: #d4af37;
  background-color: var(--acatx-gold);
  color: #0a0a0a;
  color: var(--acatx-bg-primary);
}

.acatx-categoria-padre,
.acatx-categoria-desc {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--acatx-text-secondary);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 🆕 ICONOS INFO */
.acatx-categoria-iconos-info {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.acatx-icono-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  background-color: rgba(52, 152, 219, 0.15);
  color: #3498db;
  color: var(--acatx-info);
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.acatx-icono-badge-large {
  background-color: rgba(212, 175, 55, 0.15);
  color: #d4af37;
  color: var(--acatx-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.acatx-categoria-estado {
  font-size: 22px;
  -webkit-user-select: none;
          user-select: none;
  flex-shrink: 0;
}

.acatx-estado-activo {
  color: #27ae60;
  color: var(--acatx-success);
  filter: drop-shadow(0 0 6px #27ae60);
  filter: drop-shadow(0 0 6px var(--acatx-success));
}

.acatx-estado-inactivo {
  color: #e74c3c;
  color: var(--acatx-danger);
  filter: drop-shadow(0 0 6px #e74c3c);
  filter: drop-shadow(0 0 6px var(--acatx-danger));
}

/* ITEM ACTIONS */
.acatx-categoria-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.acatx-orden-button,
.acatx-action-button {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--acatx-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--acatx-border);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  color: #e9ecef;
  color: var(--acatx-text-primary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-user-select: none;
          user-select: none;
}

.acatx-orden-button:disabled,
.acatx-action-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.acatx-orden-button:hover:not(:disabled) {
  background-color: #f0d574;
  background-color: var(--acatx-arrow);
  color: #0a0a0a;
  color: var(--acatx-bg-primary);
  transform: scale(1.1);
}

.acatx-action-button:hover:not(:disabled) {
  transform: scale(1.1);
}

.acatx-action-editar:hover:not(:disabled) {
  background-color: #d4af37;
  background-color: var(--acatx-gold);
  color: #0a0a0a;
  color: var(--acatx-bg-primary);
}

.acatx-action-eliminar:hover:not(:disabled) {
  background-color: #e74c3c;
  background-color: var(--acatx-danger);
  color: #fff;
}

/* NOTIFICACIÓN */
.acatx-notificacion {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  min-width: 320px;
  max-width: 500px;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  animation: slideInRight 0.3s ease;
}

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

.acatx-notificacion-success {
  background-color: rgba(39, 174, 96, 0.15);
  border: 1px solid #27ae60;
  border: 1px solid var(--acatx-success);
  color: #27ae60;
  color: var(--acatx-success);
}

.acatx-notificacion-error {
  background-color: rgba(231, 76, 60, 0.15);
  border: 1px solid #e74c3c;
  border: 1px solid var(--acatx-danger);
  color: #e74c3c;
  color: var(--acatx-danger);
}

.acatx-notificacion-info {
  background-color: rgba(52, 152, 219, 0.15);
  border: 1px solid #3498db;
  border: 1px solid var(--acatx-info);
  color: #3498db;
  color: var(--acatx-info);
}

.acatx-notificacion-contenido {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
}

.acatx-notificacion-cerrar {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.acatx-notificacion-cerrar:hover {
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .acatx-container {
    padding: 16px;
  }

  .acatx-content-grid {
    grid-template-columns: 1fr;
  }

  .acatx-categoria-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .acatx-categoria-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* src/pages/admin/TodosLosProductos.css */
/* PREFIJO: atprx- (Admin Todos PRoductos eXtended) */

/* ============================================ */
/* IMPORTS */
/* ============================================ */

/* ============================================ */
/* VARIABLES */
/* ============================================ */
:root {
  --atprx-bg-primary: #0a0a0a;
  --atprx-bg-secondary: rgba(10, 10, 10, 0.95);
  --atprx-bg-card: rgba(20, 20, 20, 0.95);
  --atprx-gold: #d4af37;
  --atprx-gold-light: #f0d574;
  --atprx-text-primary: #e9ecef;
  --atprx-text-secondary: #b7bcc4;
  --atprx-border: rgba(255, 255, 255, 0.12);
  --atprx-success: #27ae60;
  --atprx-warning: #f39c12;
  --atprx-danger: #e74c3c;
  --atprx-info: #3498db;
  --atprx-purple: #9b59b6;
}

/* ============================================ */
/* RESET & BASE */
/* ============================================ */
.atprx-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--atprx-bg-primary);
  font-family: 'Rajdhani', sans-serif;
}

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

/* ============================================ */
/* HEADER */
/* ============================================ */
.atprx-header {
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--atprx-bg-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--atprx-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.atprx-header-content {
  max-width: 1800px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.atprx-back-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--atprx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atprx-border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.atprx-back-button:hover {
  background-color: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
  border-color: var(--atprx-gold);
  color: #d4af37;
  color: var(--atprx-gold);
  transform: translateY(-2px);
}

.atprx-header-center {
  flex: 1 1;
  display: flex;
  justify-content: center;
}

.atprx-logo {
  font-size: 20px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  letter-spacing: 2px;
  margin: 0;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--atprx-gold), var(--atprx-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================ */
/* MAIN */
/* ============================================ */
.atprx-main {
  padding: 40px 24px;
}

.atprx-main-content {
  max-width: 1800px;
  margin: 0 auto;
}

/* ============================================ */
/* TÍTULO */
/* ============================================ */
.atprx-title-section {
  margin-bottom: 40px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.atprx-title {
  font-size: 36px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--atprx-text-primary);
  margin: 0 0 12px 0;
  font-family: 'Orbitron', monospace;
  display: flex;
  align-items: center;
  gap: 16px;
}

.atprx-subtitle {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--atprx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* ESTADÍSTICAS */
/* ============================================ */
.atprx-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 40px;
}

.atprx-stat-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atprx-bg-card);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atprx-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.atprx-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #f0d574);
  background: linear-gradient(90deg, var(--atprx-gold), var(--atprx-gold-light));
}

.atprx-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  border-color: #d4af37;
  border-color: var(--atprx-gold);
}

.atprx-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.atprx-stat-icon-total {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--atprx-gold), var(--atprx-gold-light));
}

.atprx-stat-icon-aprobado {
  background: linear-gradient(135deg, #27ae60, #52be80);
  background: linear-gradient(135deg, var(--atprx-success), #52be80);
}

.atprx-stat-icon-pendiente {
  background: linear-gradient(135deg, #f39c12, #f8b739);
  background: linear-gradient(135deg, var(--atprx-warning), #f8b739);
}

.atprx-stat-icon-rechazado {
  background: linear-gradient(135deg, #e74c3c, #ec7063);
  background: linear-gradient(135deg, var(--atprx-danger), #ec7063);
}

.atprx-stat-icon-sin-stock {
  background: linear-gradient(135deg, #9b59b6, #ae78d4);
  background: linear-gradient(135deg, var(--atprx-purple), #ae78d4);
}

.atprx-stat-content {
  flex: 1 1;
  text-align: right;
}

.atprx-stat-number {
  font-size: 32px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--atprx-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1;
}

.atprx-stat-label {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--atprx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

/* ============================================ */
/* FILTROS */
/* ============================================ */
.atprx-filters-section {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.atprx-search-box {
  position: relative;
  width: 100%;
}

.atprx-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #b7bcc4;
  color: var(--atprx-text-secondary);
}

.atprx-search-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atprx-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atprx-border);
  border-radius: 12px;
  color: #e9ecef;
  color: var(--atprx-text-primary);
  font-size: 15px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.atprx-search-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--atprx-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.atprx-search-input::placeholder {
  color: #b7bcc4;
  color: var(--atprx-text-secondary);
}

.atprx-filter-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.atprx-filter-label {
  font-size: 14px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--atprx-text-primary);
  font-family: 'Rajdhani', sans-serif;
}

.atprx-filter-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.atprx-filter-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atprx-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atprx-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--atprx-text-primary);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.atprx-filter-button:hover {
  background-color: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  border-color: var(--atprx-gold);
  transform: translateY(-2px);
}

.atprx-filter-active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
  border-color: #d4af37;
  border-color: var(--atprx-gold);
  color: #d4af37;
  color: var(--atprx-gold);
}

.atprx-select {
  padding: 12px 16px;
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atprx-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atprx-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--atprx-text-primary);
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.atprx-select:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--atprx-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.atprx-select option {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atprx-bg-card);
  color: #e9ecef;
  color: var(--atprx-text-primary);
}

/* ============================================ */
/* LOADING */
/* ============================================ */
.atprx-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 20px;
}

.atprx-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top: 5px solid #d4af37;
  border-top: 5px solid var(--atprx-gold);
  border-radius: 50%;
  animation: atprx-spin 1s linear infinite;
}

@keyframes atprx-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.atprx-loading-text {
  color: #b7bcc4;
  color: var(--atprx-text-secondary);
  font-size: 16px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

/* ============================================ */
/* EMPTY STATE */
/* ============================================ */
.atprx-empty-state {
  padding: 80px 20px;
  text-align: center;
}

.atprx-empty-icon {
  margin: 0 auto 24px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b7bcc4;
  color: var(--atprx-text-secondary);
  opacity: 0.5;
}

.atprx-empty-title {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--atprx-text-primary);
  margin: 0 0 12px 0;
  font-family: 'Rajdhani', sans-serif;
}

.atprx-empty-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--atprx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* GRID DE PRODUCTOS */
/* ============================================ */
.atprx-productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 32px;
}

/* ============================================ */
/* TARJETA DE PRODUCTO */
/* ============================================ */
.atprx-producto-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atprx-bg-card);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atprx-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.atprx-producto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
  border-color: #d4af37;
  border-color: var(--atprx-gold);
}

/* BADGES */
.atprx-producto-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.atprx-producto-estado {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.atprx-estado-aprobado {
  background-color: rgba(39, 174, 96, 0.15);
  color: #27ae60;
  color: var(--atprx-success);
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.atprx-estado-pendiente {
  background-color: rgba(243, 156, 18, 0.15);
  color: #f39c12;
  color: var(--atprx-warning);
  border: 1px solid rgba(243, 156, 18, 0.3);
}

.atprx-estado-rechazado {
  background-color: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  color: var(--atprx-danger);
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.atprx-producto-oferta {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #e74c3c, #ec7063);
  background: linear-gradient(135deg, var(--atprx-danger), #ec7063);
  color: white;
  border-radius: 15px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
}

.atprx-producto-sin-stock {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background-color: rgba(155, 89, 182, 0.15);
  color: #9b59b6;
  color: var(--atprx-purple);
  border: 1px solid rgba(155, 89, 182, 0.3);
  border-radius: 15px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
}

/* IMAGEN */
.atprx-producto-imagen-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.atprx-producto-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.atprx-producto-card:hover .atprx-producto-imagen {
  transform: scale(1.1);
}

.atprx-imagen-no-stock {
  opacity: 0.6;
  filter: grayscale(50%);
}

/* CONTENIDO */
.atprx-producto-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.atprx-producto-nombre {
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--atprx-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.3;
}

.atprx-producto-detalles {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--atprx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.atprx-producto-vendedor {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #b7bcc4;
  color: var(--atprx-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

.atprx-producto-categoria {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #d4af37;
  color: var(--atprx-gold);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

.atprx-producto-precio {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.atprx-precio-old {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--atprx-text-secondary);
  text-decoration: line-through;
  font-family: 'Rajdhani', sans-serif;
}

.atprx-precio-final {
  font-size: 22px;
  font-weight: 900;
  color: #d4af37;
  color: var(--atprx-gold);
  font-family: 'Rajdhani', sans-serif;
}

.atprx-producto-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
}

.atprx-stock-si {
  color: #27ae60;
  color: var(--atprx-success);
}

.atprx-stock-no {
  color: #e74c3c;
  color: var(--atprx-danger);
}

.atprx-producto-fecha {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--atprx-text-secondary);
  font-family: 'Rajdhani', sans-serif;
}

/* ACCIONES */
.atprx-producto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--atprx-border);
}

.atprx-producto-actions button {
  flex: 1 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.atprx-btn-aprobar {
  background: linear-gradient(135deg, #27ae60, #52be80);
  background: linear-gradient(135deg, var(--atprx-success), #52be80);
  color: white;
  border: none;
}

.atprx-btn-aprobar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.atprx-btn-rechazar {
  background-color: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  color: var(--atprx-danger);
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.atprx-btn-rechazar:hover {
  background-color: rgba(231, 76, 60, 0.2);
  transform: translateY(-2px);
}

.atprx-btn-vendedor {
  background-color: rgba(52, 152, 219, 0.1);
  color: #3498db;
  color: var(--atprx-info);
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.atprx-btn-vendedor:hover {
  background-color: rgba(52, 152, 219, 0.2);
  transform: translateY(-2px);
}

.atprx-btn-eliminar {
  background-color: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
  color: var(--atprx-purple);
  border: 1px solid rgba(155, 89, 182, 0.3);
}

.atprx-btn-eliminar:hover {
  background-color: rgba(155, 89, 182, 0.2);
  transform: translateY(-2px);
}

/* ============================================ */
/* RESUMEN */
/* ============================================ */
.atprx-resumen {
  padding: 16px;
  text-align: center;
  color: #b7bcc4;
  color: var(--atprx-text-secondary);
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

/* ============================================ */
/* NOTIFICACIÓN */
/* ============================================ */
.atprx-notificacion {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atprx-bg-card);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atprx-border);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 320px;
  animation: atprx-slide-in 0.3s ease;
}

@keyframes atprx-slide-in {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.atprx-notificacion-contenido {
  flex: 1 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e9ecef;
  color: var(--atprx-text-primary);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
}

.atprx-notificacion-success {
  border-left: 4px solid #27ae60;
  border-left: 4px solid var(--atprx-success);
}

.atprx-notificacion-error {
  border-left: 4px solid #e74c3c;
  border-left: 4px solid var(--atprx-danger);
}

.atprx-notificacion-info {
  border-left: 4px solid #3498db;
  border-left: 4px solid var(--atprx-info);
}

.atprx-notificacion-cerrar {
  background: transparent;
  border: none;
  color: #b7bcc4;
  color: var(--atprx-text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.atprx-notificacion-cerrar:hover {
  color: #e9ecef;
  color: var(--atprx-text-primary);
  transform: scale(1.1);
}

/* src/pages/admin/TodosLosPedidos.css */
/* PREFIJO: atpx- (Admin Todos Pedidos eXtended) */

/* ============================================ */
/* IMPORTS */
/* ============================================ */

/* ============================================ */
/* VARIABLES */
/* ============================================ */
:root {
  --atpx-bg-primary: #0a0a0a;
  --atpx-bg-secondary: rgba(10, 10, 10, 0.95);
  --atpx-bg-card: rgba(20, 20, 20, 0.95);
  --atpx-gold: #d4af37;
  --atpx-gold-light: #f0d574;
  --atpx-text-primary: #e9ecef;
  --atpx-text-secondary: #b7bcc4;
  --atpx-border: rgba(255, 255, 255, 0.12);
  --atpx-success: #27ae60;
  --atpx-warning: #f39c12;
  --atpx-danger: #e74c3c;
  --atpx-info: #3498db;
  --atpx-purple: #9b59b6;
}

/* ============================================ */
/* RESET & BASE */
/* ============================================ */
.atpx-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--atpx-bg-primary);
  font-family: 'Rajdhani', sans-serif;
}

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

/* ============================================ */
/* HEADER */
/* ============================================ */
.atpx-header {
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--atpx-bg-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--atpx-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.atpx-header-content {
  max-width: 1800px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.atpx-back-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--atpx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atpx-border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.atpx-back-button:hover {
  background-color: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
  border-color: var(--atpx-gold);
  color: #d4af37;
  color: var(--atpx-gold);
  transform: translateY(-2px);
}

.atpx-header-center {
  flex: 1 1;
  display: flex;
  justify-content: center;
}

.atpx-logo {
  font-size: 20px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  letter-spacing: 2px;
  margin: 0;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--atpx-gold), var(--atpx-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================ */
/* MAIN */
/* ============================================ */
.atpx-main {
  padding: 40px 24px;
}

.atpx-main-content {
  max-width: 1800px;
  margin: 0 auto;
}

/* ============================================ */
/* TÍTULO */
/* ============================================ */
.atpx-title-section {
  margin-bottom: 40px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.atpx-title {
  font-size: 36px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--atpx-text-primary);
  margin: 0 0 12px 0;
  font-family: 'Orbitron', monospace;
  display: flex;
  align-items: center;
  gap: 16px;
}

.atpx-subtitle {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--atpx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* ESTADÍSTICAS */
/* ============================================ */
.atpx-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 40px;
}

.atpx-stat-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atpx-bg-card);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atpx-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.atpx-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #f0d574);
  background: linear-gradient(90deg, var(--atpx-gold), var(--atpx-gold-light));
}

.atpx-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  border-color: #d4af37;
  border-color: var(--atpx-gold);
}

.atpx-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.atpx-stat-icon-total {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--atpx-gold), var(--atpx-gold-light));
}

.atpx-stat-icon-pendiente {
  background: linear-gradient(135deg, #f39c12, #f8b739);
  background: linear-gradient(135deg, var(--atpx-warning), #f8b739);
}

.atpx-stat-icon-proceso {
  background: linear-gradient(135deg, #3498db, #5dade2);
  background: linear-gradient(135deg, var(--atpx-info), #5dade2);
}

.atpx-stat-icon-entregado {
  background: linear-gradient(135deg, #27ae60, #52be80);
  background: linear-gradient(135deg, var(--atpx-success), #52be80);
}

.atpx-stat-icon-cancelado {
  background: linear-gradient(135deg, #e74c3c, #ec7063);
  background: linear-gradient(135deg, var(--atpx-danger), #ec7063);
}

.atpx-stat-icon-ingresos {
  background: linear-gradient(135deg, #1abc9c, #48c9b0);
}

.atpx-stat-icon-por-cobrar {
  background: linear-gradient(135deg, #9b59b6, #ae78d4);
  background: linear-gradient(135deg, var(--atpx-purple), #ae78d4);
}

.atpx-stat-content {
  flex: 1 1;
  text-align: right;
}

.atpx-stat-number {
  font-size: 32px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--atpx-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1;
}

.atpx-stat-label {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--atpx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

/* ============================================ */
/* FILTROS */
/* ============================================ */
.atpx-filters-section {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.atpx-search-box {
  position: relative;
  width: 100%;
}

.atpx-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #b7bcc4;
  color: var(--atpx-text-secondary);
}

.atpx-search-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atpx-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atpx-border);
  border-radius: 12px;
  color: #e9ecef;
  color: var(--atpx-text-primary);
  font-size: 15px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.atpx-search-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--atpx-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.atpx-search-input::placeholder {
  color: #b7bcc4;
  color: var(--atpx-text-secondary);
}

.atpx-filter-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.atpx-filter-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atpx-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atpx-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--atpx-text-primary);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.atpx-filter-button:hover {
  background-color: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  border-color: var(--atpx-gold);
  transform: translateY(-2px);
}

.atpx-filter-active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
  border-color: #d4af37;
  border-color: var(--atpx-gold);
  color: #d4af37;
  color: var(--atpx-gold);
}

.atpx-filter-count {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

/* ============================================ */
/* LOADING */
/* ============================================ */
.atpx-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 20px;
}

.atpx-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top: 5px solid #d4af37;
  border-top: 5px solid var(--atpx-gold);
  border-radius: 50%;
  animation: atpx-spin 1s linear infinite;
}

@keyframes atpx-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.atpx-loading-text {
  color: #b7bcc4;
  color: var(--atpx-text-secondary);
  font-size: 16px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

/* ============================================ */
/* EMPTY STATE */
/* ============================================ */
.atpx-empty-state {
  padding: 80px 20px;
  text-align: center;
}

.atpx-empty-icon {
  margin: 0 auto 24px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b7bcc4;
  color: var(--atpx-text-secondary);
  opacity: 0.5;
}

.atpx-empty-title {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--atpx-text-primary);
  margin: 0 0 12px 0;
  font-family: 'Rajdhani', sans-serif;
}

.atpx-empty-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--atpx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* GRID DE PEDIDOS */
/* ============================================ */
.atpx-pedidos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 32px;
}

/* ============================================ */
/* TARJETA DE PEDIDO */
/* ============================================ */
.atpx-pedido-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atpx-bg-card);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atpx-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.atpx-pedido-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
  border-color: #d4af37;
  border-color: var(--atpx-gold);
}

/* HEADER DEL PEDIDO */
.atpx-pedido-header {
  padding: 16px 20px;
  background-color: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--atpx-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.atpx-pedido-id-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.atpx-pedido-id {
  font-size: 13px;
  font-weight: 700;
  color: #d4af37;
  color: var(--atpx-gold);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.atpx-pedido-fecha {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--atpx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 4px;
}

.atpx-estado-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.atpx-estado-pendiente {
  background-color: rgba(243, 156, 18, 0.15);
  color: #f39c12;
  color: var(--atpx-warning);
  border: 1px solid rgba(243, 156, 18, 0.3);
}

.atpx-estado-en-proceso {
  background-color: rgba(52, 152, 219, 0.15);
  color: #3498db;
  color: var(--atpx-info);
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.atpx-estado-entregado,
.atpx-estado-completado {
  background-color: rgba(39, 174, 96, 0.15);
  color: #27ae60;
  color: var(--atpx-success);
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.atpx-estado-cancelado {
  background-color: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  color: var(--atpx-danger);
  border: 1px solid rgba(231, 76, 60, 0.3);
}

/* BODY DEL PEDIDO */
.atpx-pedido-body {
  padding: 20px;
  display: flex;
  gap: 16px;
  flex: 1 1;
}

.atpx-pedido-imagen-container {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--atpx-border);
}

.atpx-pedido-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.atpx-pedido-card:hover .atpx-pedido-imagen {
  transform: scale(1.1);
}

.atpx-pedido-info {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.atpx-pedido-nombre {
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--atpx-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.3;
}

.atpx-pedido-vendedor,
.atpx-pedido-cliente {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--atpx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}

.atpx-pedido-precio-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.atpx-precio-original {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--atpx-text-secondary);
  text-decoration: line-through;
  font-family: 'Rajdhani', sans-serif;
}

.atpx-precio-final {
  font-size: 20px;
  font-weight: 900;
  color: #d4af37;
  color: var(--atpx-gold);
  font-family: 'Rajdhani', sans-serif;
}

.atpx-descuento {
  padding: 4px 8px;
  background: linear-gradient(135deg, #e74c3c, #ec7063);
  background: linear-gradient(135deg, var(--atpx-danger), #ec7063);
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
}

/* FOOTER DEL PEDIDO */
.atpx-pedido-footer {
  padding: 16px 20px;
  background-color: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--atpx-border);
}

.atpx-pedido-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.atpx-pedido-actions button {
  flex: 1 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.atpx-btn-aprobar {
  background: linear-gradient(135deg, #3498db, #5dade2);
  background: linear-gradient(135deg, var(--atpx-info), #5dade2);
  color: white;
  border: none;
}

.atpx-btn-aprobar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.atpx-btn-entregar {
  background: linear-gradient(135deg, #27ae60, #52be80);
  background: linear-gradient(135deg, var(--atpx-success), #52be80);
  color: white;
  border: none;
}

.atpx-btn-entregar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.atpx-btn-cancelar {
  background-color: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  color: var(--atpx-danger);
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.atpx-btn-cancelar:hover {
  background-color: rgba(231, 76, 60, 0.2);
  transform: translateY(-2px);
}

.atpx-btn-disabled {
  background-color: rgba(255, 255, 255, 0.05);
  color: #b7bcc4;
  color: var(--atpx-text-secondary);
  cursor: not-allowed;
  opacity: 0.6;
}

/* ============================================ */
/* RESUMEN */
/* ============================================ */
.atpx-resumen {
  padding: 16px;
  text-align: center;
  color: #b7bcc4;
  color: var(--atpx-text-secondary);
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

/* ============================================ */
/* NOTIFICACIÓN */
/* ============================================ */
.atpx-notificacion {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atpx-bg-card);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atpx-border);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 320px;
  animation: atpx-slide-in 0.3s ease;
}

@keyframes atpx-slide-in {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.atpx-notificacion-contenido {
  flex: 1 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e9ecef;
  color: var(--atpx-text-primary);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
}

.atpx-notificacion-success {
  border-left: 4px solid #27ae60;
  border-left: 4px solid var(--atpx-success);
}

.atpx-notificacion-error {
  border-left: 4px solid #e74c3c;
  border-left: 4px solid var(--atpx-danger);
}

.atpx-notificacion-info {
  border-left: 4px solid #3498db;
  border-left: 4px solid var(--atpx-info);
}

.atpx-notificacion-cerrar {
  background: transparent;
  border: none;
  color: #b7bcc4;
  color: var(--atpx-text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.atpx-notificacion-cerrar:hover {
  color: #e9ecef;
  color: var(--atpx-text-primary);
  transform: scale(1.1);
}

/* src/pages/admin/MonitorearChats.css */
/* PREFIJO: amcx- (Admin Monitorear Chats eXtended) */

/* ============================================ */
/* IMPORTS */
/* ============================================ */

/* ============================================ */
/* VARIABLES */
/* ============================================ */
:root {
  --amcx-bg-primary: #0a0a0a;
  --amcx-bg-secondary: rgba(10, 10, 10, 0.95);
  --amcx-bg-card: rgba(20, 20, 20, 0.95);
  --amcx-gold: #d4af37;
  --amcx-gold-light: #f0d574;
  --amcx-text-primary: #e9ecef;
  --amcx-text-secondary: #b7bcc4;
  --amcx-border: rgba(255, 255, 255, 0.12);
  --amcx-success: #27ae60;
  --amcx-warning: #f39c12;
  --amcx-danger: #e74c3c;
  --amcx-info: #3498db;
}

/* ============================================ */
/* RESET & BASE */
/* ============================================ */
.amcx-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--amcx-bg-primary);
  font-family: 'Rajdhani', sans-serif;
}

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

/* ============================================ */
/* HEADER */
/* ============================================ */
.amcx-header {
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--amcx-bg-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--amcx-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.amcx-header-content {
  max-width: 1800px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.amcx-back-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--amcx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--amcx-border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.amcx-back-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
}

.amcx-header-center {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
  justify-content: center;
}

.amcx-logo {
  font-size: 20px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--amcx-text-primary);
  margin: 0;
  font-family: 'Orbitron', monospace;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--amcx-gold), var(--amcx-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.amcx-header-stats {
  display: flex;
  gap: 16px;
}

.amcx-stat-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--amcx-border);
}

.amcx-stat-mini-value {
  font-size: 20px;
  font-weight: 700;
  color: #d4af37;
  color: var(--amcx-gold);
  font-family: 'Rajdhani', sans-serif;
}

.amcx-stat-mini-label {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* MAIN */
/* ============================================ */
.amcx-main {
  padding: 40px 24px;
}

.amcx-main-content {
  max-width: 1800px;
  margin: 0 auto;
}

/* ============================================ */
/* TITLE SECTION */
/* ============================================ */
.amcx-title-section {
  margin-bottom: 32px;
}

.amcx-title {
  font-size: 32px;
  font-weight: bold;
  color: #e9ecef;
  color: var(--amcx-text-primary);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Rajdhani', sans-serif;
}

.amcx-subtitle {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* ESTADÍSTICAS */
/* ============================================ */
.amcx-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 40px;
}

.amcx-stat-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--amcx-bg-card);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--amcx-border);
  transition: all 0.3s ease;
}

.amcx-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.amcx-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.amcx-stat-icon-total {
  background-color: #d4af37;
  background-color: var(--amcx-gold);
}

.amcx-stat-icon-activos {
  background-color: #3498db;
  background-color: var(--amcx-info);
}

.amcx-stat-icon-mensajes {
  background-color: #27ae60;
  background-color: var(--amcx-success);
}

.amcx-stat-icon-pendientes {
  background-color: #f39c12;
  background-color: var(--amcx-warning);
}

.amcx-stat-info {
  flex: 1 1;
}

.amcx-stat-label {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
}

.amcx-stat-value {
  font-size: 28px;
  font-weight: bold;
  color: #e9ecef;
  color: var(--amcx-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

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

.amcx-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top: 5px solid #d4af37;
  border-top: 5px solid var(--amcx-gold);
  border-radius: 50%;
  animation: amcx-spin 1s linear infinite;
}

@keyframes amcx-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.amcx-loading-text {
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
  font-size: 16px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

/* ============================================ */
/* CHAT LAYOUT */
/* ============================================ */
.amcx-chat-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  grid-gap: 24px;
  gap: 24px;
  height: calc(100vh - 400px);
  min-height: 600px;
}

/* ============================================ */
/* LISTA DE CHATS */
/* ============================================ */
.amcx-chats-list {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--amcx-bg-card);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--amcx-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.amcx-chats-list-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--amcx-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.amcx-chats-list-title {
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--amcx-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.amcx-search-box {
  position: relative;
}

.amcx-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
}

.amcx-search-input {
  width: 100%;
  padding: 10px 10px 10px 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--amcx-border);
  border-radius: 8px;
  color: #e9ecef;
  color: var(--amcx-text-primary);
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.amcx-search-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--amcx-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.amcx-search-input::placeholder {
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
}

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

.amcx-filter-button {
  background-color: rgba(255, 255, 255, 0.05);
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--amcx-border);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.amcx-filter-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.amcx-filter-active {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--amcx-gold), var(--amcx-gold-light));
  color: #0a0a0a;
  color: var(--amcx-bg-primary);
  border-color: #d4af37;
  border-color: var(--amcx-gold);
  font-weight: 600;
}

.amcx-chats-items {
  flex: 1 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.amcx-chat-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--amcx-border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.amcx-chat-item:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: #d4af37;
  border-color: var(--amcx-gold);
}

.amcx-chat-item-selected {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  border-color: #d4af37;
  border-color: var(--amcx-gold);
}

.amcx-chat-item-imagen {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--amcx-border);
}

.amcx-chat-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amcx-chat-item-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.amcx-chat-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.amcx-chat-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--amcx-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.amcx-chat-item-time {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  flex-shrink: 0;
}

.amcx-chat-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
  font-family: 'Rajdhani', sans-serif;
}

.amcx-chat-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.amcx-chat-meta-divider {
  color: rgba(255, 255, 255, 0.12);
  color: var(--amcx-border);
}

.amcx-chat-item-ultimo-mensaje {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amcx-chat-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.amcx-chat-item-estado {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
}

.amcx-chat-item-mensajes {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
  font-family: 'Rajdhani', sans-serif;
}

.amcx-empty-chats {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
}

.amcx-empty-title {
  font-size: 18px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--amcx-text-primary);
  margin: 16px 0 8px 0;
  font-family: 'Rajdhani', sans-serif;
}

.amcx-empty-text {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* PANEL DE MENSAJES */
/* ============================================ */
.amcx-messages-panel {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--amcx-bg-card);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--amcx-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.amcx-no-selection {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  text-align: center;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
}

.amcx-no-selection-title {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--amcx-text-primary);
  margin: 20px 0 12px 0;
  font-family: 'Rajdhani', sans-serif;
}

.amcx-no-selection-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.amcx-chat-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--amcx-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background-color: rgba(255, 255, 255, 0.02);
  flex-wrap: wrap; /* 🆕 Permite wrap en pantallas pequeñas */
}

.amcx-chat-header-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1;
  min-width: 0;
}

.amcx-chat-header-imagen {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--amcx-border);
  flex-shrink: 0;
}

.amcx-chat-header-title {
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--amcx-text-primary);
  margin: 0 0 6px 0;
  font-family: 'Rajdhani', sans-serif;
}

.amcx-chat-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  flex-wrap: wrap;
}

.amcx-chat-header-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 🆕 ACCIONES DEL HEADER (WhatsApp + Estado) */
.amcx-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0; /* Evita que se comprima */
}

.amcx-chat-header-estado {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  flex-shrink: 0;
  white-space: nowrap; /* Evita que el texto se rompa */
}

/* 🆕 BOTÓN WHATSAPP */
.amcx-btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  white-space: nowrap; /* Evita que el texto se rompa */
}

.amcx-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.amcx-btn-whatsapp svg {
  flex-shrink: 0;
}

/* Responsive para header actions */
@media (max-width: 768px) {
  .amcx-chat-header-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .amcx-btn-whatsapp {
    flex: 1 1;
    justify-content: center;
  }
}

.amcx-messages-container {
  flex: 1 1;
  overflow-y: auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.2);
}

.amcx-no-messages {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
}

.amcx-no-messages-text {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
  margin: 12px 0 0 0;
  font-family: 'Rajdhani', sans-serif;
}

.amcx-messages-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.amcx-mensaje-wrapper {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.amcx-mensaje-vendedor {
  justify-content: flex-start;
}

.amcx-mensaje-cliente {
  justify-content: flex-start;
}

.amcx-mensaje-admin {
  justify-content: flex-start;
}

.amcx-mensaje-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #3498db;
  background-color: var(--amcx-info);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.amcx-avatar-admin {
  background-color: #e74c3c;
  background-color: var(--amcx-danger);
}

.amcx-mensaje-content {
  max-width: 70%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.amcx-mensaje-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.amcx-mensaje-sender {
  font-size: 12px;
  font-weight: 600;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
  font-family: 'Rajdhani', sans-serif;
}

.amcx-mensaje-time {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
  font-family: 'Rajdhani', sans-serif;
}

.amcx-mensaje-bubble {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--amcx-border);
}

.amcx-mensaje-texto {
  font-size: 14px;
  color: #e9ecef;
  color: var(--amcx-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.5;
  word-wrap: break-word;
}

.amcx-chat-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--amcx-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-color: rgba(255, 255, 255, 0.02);
  flex-wrap: wrap;
}

.amcx-chat-footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
  font-family: 'Rajdhani', sans-serif;
}

.amcx-footer-label {
  font-weight: 500;
}

.amcx-footer-value {
  font-weight: 600;
  color: #e9ecef;
  color: var(--amcx-text-primary);
}

.amcx-footer-btn-detalles {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--amcx-gold), var(--amcx-gold-light));
  color: #0a0a0a;
  color: var(--amcx-bg-primary);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}

.amcx-footer-btn-detalles:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* ============================================ */
/* SCROLLBAR */
/* ============================================ */
.amcx-chats-items::-webkit-scrollbar,
.amcx-messages-container::-webkit-scrollbar {
  width: 8px;
}

.amcx-chats-items::-webkit-scrollbar-track,
.amcx-messages-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.amcx-chats-items::-webkit-scrollbar-thumb,
.amcx-messages-container::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--amcx-gold);
  border-radius: 10px;
}

.amcx-chats-items::-webkit-scrollbar-thumb:hover,
.amcx-messages-container::-webkit-scrollbar-thumb:hover {
  background: #f0d574;
  background: var(--amcx-gold-light);
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */
@media (max-width: 1400px) {
  .amcx-chat-layout {
    grid-template-columns: 350px 1fr;
  }
}

@media (max-width: 1024px) {
  .amcx-chat-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .amcx-chats-list {
    max-height: 400px;
  }

  .amcx-messages-panel {
    min-height: 500px;
  }

  .amcx-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .amcx-header-content {
    flex-wrap: wrap;
  }

  .amcx-header-stats {
    width: 100%;
    justify-content: center;
  }

  .amcx-title {
    font-size: 24px;
  }

  .amcx-stats-grid {
    grid-template-columns: 1fr;
  }

  .amcx-filter-buttons {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}
/* ============================================ */
/* ADMIN INPUT SECTION */
/* ============================================ */
.amcx-footer-info-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--amcx-border);
  margin-bottom: 16px;
  width: 100%;
}

.amcx-admin-input-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.amcx-admin-badge-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.15), rgba(231, 76, 60, 0.05));
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #e74c3c;
  color: var(--amcx-danger);
  font-family: 'Rajdhani', sans-serif;
  width: -webkit-fit-content;
  width: fit-content;
}

.amcx-input-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.amcx-input-field {
  flex: 1 1;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--amcx-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--amcx-text-primary);
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.amcx-input-field:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--amcx-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  background-color: rgba(255, 255, 255, 0.08);
}

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

.amcx-input-field::placeholder {
  color: #b7bcc4;
  color: var(--amcx-text-secondary);
}

.amcx-send-button {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--amcx-gold), var(--amcx-gold-light));
  color: #0a0a0a;
  color: var(--amcx-bg-primary);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.amcx-send-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.amcx-send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.amcx-send-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(10, 10, 10, 0.2);
  border-top: 3px solid #0a0a0a;
  border-top: 3px solid var(--amcx-bg-primary);
  border-radius: 50%;
  animation: amcx-spin 0.8s linear infinite;
}

/* ============================================ */
/* RESPONSIVE - ADMIN INPUT */
/* ============================================ */
@media (max-width: 768px) {
  .amcx-footer-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .amcx-input-form {
    flex-direction: row;
  }

  .amcx-input-field {
    font-size: 16px; /* Evita zoom en iOS */
  }
}

/* ============================================ */
/* MENSAJES ESPECIALES - CREDENCIALES (ADMIN) */
/* ============================================ */
.amcx-mensaje-bubble.amcx-mensaje-credenciales {
  padding: 20px;
  max-width: 500px;
  line-height: 1.8;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.amcx-mensaje-vendedor .amcx-mensaje-bubble.amcx-mensaje-credenciales {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  border-color: #d4af37;
  border-color: var(--amcx-gold);
}

.amcx-mensaje-admin .amcx-mensaje-bubble.amcx-mensaje-credenciales {
  background: linear-gradient(135deg, #7c2d12 0%, #991b1b 100%);
  border-color: #fbbf24;
}

/* ============================================ */
/* FORMATO DE TEXTO EN MENSAJES (ADMIN) */
/* ============================================ */
.amcx-mensaje-texto {
  white-space: pre-wrap;
  word-wrap: break-word;
}

.amcx-mensaje-texto strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin: 12px 0 8px 0;
  color: #f0d574;
  color: var(--amcx-gold-light);
  letter-spacing: 0.5px;
}

.amcx-mensaje-vendedor .amcx-mensaje-texto strong:first-child,
.amcx-mensaje-admin .amcx-mensaje-texto strong:first-child {
  font-size: 18px;
  color: #fbbf24;
  text-align: center;
  margin-top: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================ */
/* SECCIONES Y LISTAS */
/* ============================================ */
.amcx-mensaje-seccion-titulo {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #d4af37;
  color: var(--amcx-gold);
  margin: 16px 0 8px 0;
  padding: 8px 12px;
  background-color: rgba(212, 175, 55, 0.15);
  border-left: 3px solid #d4af37;
  border-left: 3px solid var(--amcx-gold);
  border-radius: 4px;
}

.amcx-mensaje-lista {
  margin: 12px 0;
  padding-left: 0;
  list-style: none;
}

.amcx-mensaje-lista-item {
  padding: 8px 12px;
  margin: 6px 0;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  border-left: 3px solid rgba(255, 255, 255, 0.3);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================ */
/* DATOS DESTACADOS */
/* ============================================ */
.amcx-mensaje-dato-importante {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #fbbf24;
  margin: 4px 0;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

/* ============================================ */
/* ADVERTENCIAS */
/* ============================================ */
.amcx-mensaje-advertencia {
  display: block;
  margin-top: 16px;
  padding: 12px 16px;
  background-color: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-left: 4px solid #e74c3c;
  border-left: 4px solid var(--amcx-danger);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.7;
}

/* ============================================ */
/* CREDENCIALES ITEM */
/* ============================================ */
.amcx-credencial-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin: 6px 0;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  font-size: 14px;
}

.amcx-credencial-label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  min-width: 80px;
}

.amcx-credencial-valor {
  color: #f0d574;
  color: var(--amcx-gold-light);
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

/* ============================================ */
/* INSTRUCCIONES NUMERADAS */
/* ============================================ */
.amcx-instruccion-item {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  margin: 8px 0;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  align-items: flex-start;
}

.amcx-instruccion-numero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--amcx-gold), var(--amcx-gold-light));
  color: #0a0a0a;
  color: var(--amcx-bg-primary);
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.amcx-instruccion-texto {
  flex: 1 1;
  padding-top: 4px;
  line-height: 1.6;
}

/* ============================================ */
/* GARANTÍA Y EXPIRACIÓN */
/* ============================================ */
.amcx-mensaje-garantia {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  background-color: rgba(39, 174, 96, 0.15);
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-left: 4px solid #27ae60;
  border-left: 4px solid var(--amcx-success);
  border-radius: 8px;
}

.amcx-mensaje-expiracion {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-top: 12px;
  background-color: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 8px;
  font-weight: 700;
  color: #fbbf24;
}

/* ============================================ */
/* ENLACES */
/* ============================================ */
.amcx-mensaje-link {
  color: #60a5fa;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.amcx-mensaje-link:hover {
  color: #93c5fd;
}

/* ============================================ */
/* SEPARADORES */
/* ============================================ */
.amcx-mensaje-separador {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  margin: 16px 0;
}

/* ============================================ */
/* ESPACIADO */
/* ============================================ */
.amcx-mensaje-bubble p {
  margin: 8px 0;
}

.amcx-mensaje-bubble p:first-child {
  margin-top: 0;
}

.amcx-mensaje-bubble p:last-child {
  margin-bottom: 0;
}

/* ============================================ */
/* ANIMACIÓN */
/* ============================================ */
@keyframes amcx-pulso-suave {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
  }
}

.amcx-mensaje-bubble.amcx-mensaje-credenciales {
  animation: amcx-pulso-suave 3s ease-in-out infinite;
}

/* ============================================ */
/* EMOJIS GRANDES */
/* ============================================ */
.amcx-emoji-grande {
  font-size: 24px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

/* ============================================ */
/* BOTÓN WHATSAPP */
/* ============================================ */
.amcx-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.amcx-btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.amcx-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.amcx-btn-whatsapp svg {
  flex-shrink: 0;
}


/* ============================================ */
/* BOTÓN WHATSAPP EN FOOTER */
/* ============================================ */
.amcx-footer-btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  white-space: nowrap;
}

.amcx-footer-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.amcx-footer-btn-whatsapp svg {
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .amcx-footer-info-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .amcx-footer-btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}
.amcx-footer-btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.amcx-footer-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}


/* ============================================
   ESTILOS DIFERENCIADOS POR ROL
   ============================================ */

/* AVATARES */
.amcx-avatar-admin {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.amcx-avatar-vendedor {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.amcx-avatar-cliente {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

/* NOMBRES DE REMITENTE */
.amcx-sender-admin {
  color: #667eea;
  font-weight: 700;
}

.amcx-sender-vendedor {
  color: #f5576c;
  font-weight: 700;
}

.amcx-sender-cliente {
  color: #4facfe;
  font-weight: 700;
}

/* BURBUJAS DE MENSAJES */
.amcx-bubble-admin {
  background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
  border-left: 4px solid #667eea;
}

.amcx-bubble-vendedor {
  background: linear-gradient(135deg, #f093fb15 0%, #f5576c15 100%);
  border-left: 4px solid #f5576c;
}

.amcx-bubble-cliente {
  background: linear-gradient(135deg, #4facfe15 0%, #00f2fe15 100%);
  border-left: 4px solid #4facfe;
}

/* MENSAJES WRAPPER - ALINEACIÓN */
.amcx-mensaje-admin {
  justify-content: center;
}

.amcx-mensaje-vendedor {
  justify-content: flex-start;
}

.amcx-mensaje-cliente {
  justify-content: flex-end;
}

.amcx-mensaje-sistema {
  justify-content: center;
}

.amcx-avatar-sistema {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.amcx-sender-sistema {
  color: #667eea;
  font-weight: 600;
}

.amcx-bubble-sistema {
  background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
  border: 1px solid #667eea40;
  max-width: 80%;
}

.amcx-mensaje-badge-credenciales {
  margin-top: 8px;
  padding: 4px 8px;
  background: #667eea30;
  border-radius: 4px;
  font-size: 11px;
  color: #667eea;
  font-weight: 600;
  display: inline-block;
}


/* ========================================
   FORMATO WHATSAPP - TEXTOS
======================================== */

/* Negrita */
.amcx-mensaje-texto strong,
.amcx-chat-item-ultimo-mensaje strong {
  font-weight: 700;
  color: inherit;
}

/* Cursiva */
.amcx-mensaje-texto em,
.amcx-chat-item-ultimo-mensaje em {
  font-style: italic;
  color: inherit;
}

/* Tachado */
.amcx-mensaje-texto span[style*="line-through"],
.amcx-chat-item-ultimo-mensaje span[style*="line-through"] {
  text-decoration: line-through;
  color: inherit;
  opacity: 0.7;
}

/* Código (por si lo agregas después) */
.amcx-mensaje-texto code,
.amcx-chat-item-ultimo-mensaje code {
  font-family: 'Courier New', Consolas, Monaco, monospace;
  font-size: 0.95em;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 2px 4px;
  border-radius: 3px;
  color: inherit;
}

/* Mejorar legibilidad de formato en burbujas */
.amcx-mensaje-texto {
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Vista previa en lista */
.amcx-chat-item-ultimo-mensaje {
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Asegurar que el formato no rompa el diseño */
.amcx-mensaje-texto * {
  max-width: 100%;
}

/* src/pages/admin/GestionarMayoristas.css */
/* PREFIJO: agmx- (Admin Gestionar Mayoristas eXtended) */

/* ============================================ */
/* IMPORTS */
/* ============================================ */

/* ============================================ */
/* VARIABLES */
/* ============================================ */
:root {
  --agmx-bg-primary: #0a0a0a;
  --agmx-bg-secondary: rgba(10, 10, 10, 0.95);
  --agmx-bg-card: rgba(20, 20, 20, 0.95);
  --agmx-text-primary: #e9ecef;
  --agmx-text-secondary: #b7bcc4;
  --agmx-border: rgba(255, 255, 255, 0.12);
  --agmx-success: #27ae60;
  --agmx-warning: #f39c12;
  --agmx-danger: #e74c3c;
  --agmx-info: #3498db;
  --agmx-gold: #d4af37;
}

/* ============================================ */
/* BASE & CONTAINER */
/* ============================================ */
.agmx-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--agmx-bg-primary);
  color: #e9ecef;
  color: var(--agmx-text-primary);
  font-family: 'Rajdhani', sans-serif;
  padding: 24px;
}

.agmx-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 16px;
}

.agmx-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255,255,255,0.1);
  border-top: 5px solid #d4af37;
  border-top: 5px solid var(--agmx-gold);
  border-radius: 50%;
  animation: agmx-spin 1s linear infinite;
}

@keyframes agmx-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.agmx-loading-text {
  color: #b7bcc4;
  color: var(--agmx-text-secondary);
  font-size: 16px;
}

/* ============================================ */
/* HEADER */
/* ============================================ */
.agmx-header {
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--agmx-bg-secondary);
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--agmx-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.agmx-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.agmx-back-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255,255,255,0.1);
  color: #e9ecef;
  color: var(--agmx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--agmx-border);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.agmx-back-button:hover {
  background-color: #d4af37;
  background-color: var(--agmx-gold);
  color: #0a0a0a;
  color: var(--agmx-bg-primary);
  border-color: #d4af37;
  border-color: var(--agmx-gold);
}

.agmx-logo {
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, #d4af37, var(--agmx-gold-light));
  background: linear-gradient(135deg, var(--agmx-gold), var(--agmx-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================ */
/* MAIN CONTENT */
/* ============================================ */
.agmx-main {
  padding: 32px 0;
}

.agmx-main-content {
  max-width: 1800px;
  margin: 0 auto;
}

/* ============================================ */
/* TITLE SECTION */
/* ============================================ */
.agmx-title-section {
  margin-bottom: 32px;
}

.agmx-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 700;
}

.agmx-subtitle {
  color: #b7bcc4;
  color: var(--agmx-text-secondary);
  margin-top: 4px;
}

/* ============================================ */
/* INFO BANNER */
/* ============================================ */
.agmx-info-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--agmx-bg-card);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--agmx-border);
  margin-bottom: 32px;
}

.agmx-info-icon {
  color: #3498db;
  color: var(--agmx-info);
}

.agmx-info-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.agmx-info-text {
  color: #b7bcc4;
  color: var(--agmx-text-secondary);
  margin: 4px 0 0;
  font-size: 14px;
}

.agmx-info-text strong {
  color: #d4af37;
  color: var(--agmx-gold);
}

/* ============================================ */
/* STATS GRID */
/* ============================================ */
.agmx-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 32px;
}

.agmx-stat-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--agmx-bg-card);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--agmx-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.agmx-stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
}

.agmx-stat-icon-total { background: #3498db; background: var(--agmx-info); }
.agmx-stat-icon-normal { background: #27ae60; background: var(--agmx-success); }
.agmx-stat-icon-mayorista { background: #f39c12; background: var(--agmx-warning); }

.agmx-stat-content {
  flex: 1 1;
}

.agmx-stat-number {
  font-size: 24px;
  font-weight: 900;
  margin: 0;
}

.agmx-stat-label {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--agmx-text-secondary);
  margin: 4px 0 0;
}

/* ============================================ */
/* FILTERS */
/* ============================================ */
.agmx-filters-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.agmx-search-box {
  position: relative;
}

.agmx-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #b7bcc4;
  color: var(--agmx-text-secondary);
}

.agmx-search-input {
  width: 100%;
  padding: 10px 12px 10px 40px;
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--agmx-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--agmx-border);
  border-radius: 8px;
  color: #e9ecef;
  color: var(--agmx-text-primary);
  font-size: 14px;
}

.agmx-filter-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.agmx-filter-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--agmx-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--agmx-border);
  border-radius: 12px;
  color: #e9ecef;
  color: var(--agmx-text-primary);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.agmx-filter-button:hover {
  background-color: #3498db;
  background-color: var(--agmx-info);
  border-color: #3498db;
  border-color: var(--agmx-info);
  color: #0a0a0a;
  color: var(--agmx-bg-primary);
}

.agmx-filter-active {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--agmx-gold), #f0d574);
  border-color: #d4af37;
  border-color: var(--agmx-gold);
  color: #0a0a0a;
  color: var(--agmx-bg-primary);
}

/* ============================================ */
/* EMPTY STATE */
/* ============================================ */
.agmx-empty-state {
  text-align: center;
  padding: 60px 20px;
}

.agmx-empty-icon {
  color: #b7bcc4;
  color: var(--agmx-text-secondary);
  opacity: 0.6;
}

.agmx-empty-title {
  font-size: 20px;
  margin: 16px 0 8px;
}

.agmx-empty-text {
  color: #b7bcc4;
  color: var(--agmx-text-secondary);
  font-size: 14px;
}

/* ============================================ */
/* CLIENTE CARD */
/* ============================================ */
.agmx-clientes-lista {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agmx-cliente-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--agmx-bg-card);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--agmx-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

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

.agmx-cliente-avatar {
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--agmx-bg-secondary);
  padding: 12px;
  border-radius: 50%;
  color: #3498db;
  color: var(--agmx-info);
}

.agmx-cliente-info p {
  margin: 2px 0;
  font-size: 14px;
}

.agmx-cliente-nombre {
  font-weight: 700;
  color: #e9ecef;
  color: var(--agmx-text-primary);
}

.agmx-cliente-email,
.agmx-cliente-fecha {
  color: #b7bcc4;
  color: var(--agmx-text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

/* ============================================ */
/* CLIENTE ACTIONS */
/* ============================================ */
.agmx-cliente-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agmx-tipo-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.agmx-tipo-normal {
  background-color: rgba(39,174,96,0.15);
  color: #27ae60;
  color: var(--agmx-success);
  border: 1px solid rgba(39,174,96,0.3);
}

.agmx-tipo-mayorista {
  background-color: rgba(243,156,18,0.15);
  color: #f39c12;
  color: var(--agmx-warning);
  border: 1px solid rgba(243,156,18,0.3);
}

.agmx-btn-cambiar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.agmx-btn-a-mayorista {
  background-color: #3498db;
  background-color: var(--agmx-info);
  color: #0a0a0a;
  color: var(--agmx-bg-primary);
}

.agmx-btn-a-mayorista:hover {
  background-color: #2e86c1;
}

.agmx-btn-a-normal {
  background-color: #27ae60;
  background-color: var(--agmx-success);
  color: #0a0a0a;
  color: var(--agmx-bg-primary);
}

.agmx-btn-a-normal:hover {
  background-color: #229954;
}

.agmx-btn-cambiar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================ */
/* NOTIFICACIÓN */
/* ============================================ */
.agmx-notificacion {
  position: fixed;
  top: 24px;
  right: 24px;
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--agmx-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--agmx-border);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
}

.agmx-notificacion-success {
  border-left: 4px solid #27ae60;
  border-left: 4px solid var(--agmx-success);
}

.agmx-notificacion-error {
  border-left: 4px solid #e74c3c;
  border-left: 4px solid var(--agmx-danger);
}

.agmx-notificacion-info {
  border-left: 4px solid #3498db;
  border-left: 4px solid var(--agmx-info);
}

.agmx-notificacion-contenido {
  flex: 1 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.agmx-notificacion-cerrar {
  background: transparent;
  border: none;
  color: #b7bcc4;
  color: var(--agmx-text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.agmx-notificacion-cerrar:hover {
  color: #e9ecef;
  color: var(--agmx-text-primary);
}

/* src/pages/admin/RecargarCreditos.css */
/* PREFIJO: arc- (Admin Recargar Créditos) */

/* ============================================ */
/* IMPORTS */
/* ============================================ */

/* ============================================ */
/* VARIABLES */
/* ============================================ */
:root {
  --arc-bg-primary: #0a0a0a;
  --arc-bg-secondary: rgba(10, 10, 10, 0.95);
  --arc-bg-card: rgba(20, 20, 20, 0.95);
  --arc-gold: #d4af37;
  --arc-gold-light: #f0d574;
  --arc-text-primary: #e9ecef;
  --arc-text-secondary: #b7bcc4;
  --arc-border: rgba(255, 255, 255, 0.12);
  --arc-success: #27ae60;
  --arc-warning: #f39c12;
  --arc-danger: #e74c3c;
  --arc-info: #3498db;
}

/* ============================================ */
/* RESET & BASE */
/* ============================================ */
.arc-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--arc-bg-primary);
  font-family: 'Rajdhani', sans-serif;
}

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

/* ============================================ */
/* HEADER */
/* ============================================ */
.arc-header {
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--arc-bg-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--arc-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.arc-header-content {
  max-width: 1800px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

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

.arc-logo-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.arc-logo {
  font-size: 20px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--arc-text-primary);
  margin: 0;
  font-family: 'Orbitron', monospace;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--arc-gold), var(--arc-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.arc-back-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--arc-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--arc-border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.arc-back-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
}

.arc-header-center {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
  justify-content: center;
  color: #d4af37;
  color: var(--arc-gold);
}

.arc-header-title {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--arc-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.arc-header-spacer {
  width: 150px;
}

/* ============================================ */
/* LOADING */
/* ============================================ */
.arc-loading-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--arc-bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #b7bcc4;
  color: var(--arc-text-secondary);
}

.arc-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border: 4px solid var(--arc-border);
  border-top: 4px solid #d4af37;
  border-top: 4px solid var(--arc-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.arc-loading-text {
  font-size: 18px;
  font-weight: 500;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* MAIN CONTENT */
/* ============================================ */
.arc-main {
  max-width: 1800px;
  margin: 0 auto;
  padding: 30px 24px;
}

.arc-content-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  grid-gap: 24px;
  gap: 24px;
}

/* ============================================ */
/* LEFT PANEL - LISTA DE CLIENTES */
/* ============================================ */
.arc-left-panel {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--arc-bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--arc-border);
  padding: 20px;
  height: -webkit-fit-content;
  height: fit-content;
  max-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
}

.arc-search-box {
  position: relative;
  margin-bottom: 20px;
}

.arc-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #b7bcc4;
  color: var(--arc-text-secondary);
}

.arc-search-input {
  width: 100%;
  padding: 12px 12px 12px 42px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--arc-border);
  border-radius: 8px;
  color: #e9ecef;
  color: var(--arc-text-primary);
  font-size: 15px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.arc-search-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--arc-gold);
  background-color: rgba(255, 255, 255, 0.08);
}

.arc-search-input::placeholder {
  color: #b7bcc4;
  color: var(--arc-text-secondary);
}

.arc-clientes-header {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--arc-border);
}

.arc-clientes-title {
  font-size: 18px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--arc-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.arc-clientes-list {
  flex: 1 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 5px;
}

.arc-clientes-list::-webkit-scrollbar {
  width: 6px;
}

.arc-clientes-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.arc-clientes-list::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--arc-gold);
  border-radius: 3px;
}

.arc-cliente-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--arc-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.arc-cliente-card:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: #d4af37;
  border-color: var(--arc-gold);
  transform: translateX(4px);
}

.arc-cliente-card-active {
  background-color: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
  border-color: var(--arc-gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

.arc-cliente-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--arc-gold), var(--arc-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #0a0a0a;
  color: var(--arc-bg-primary);
  flex-shrink: 0;
}

.arc-cliente-info {
  flex: 1 1;
  min-width: 0;
}

.arc-cliente-nombre {
  font-size: 16px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--arc-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arc-cliente-email {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--arc-text-secondary);
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arc-cliente-saldo {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--arc-text-secondary);
  margin: 0;
}

.arc-cliente-saldo strong {
  color: #d4af37;
  color: var(--arc-gold);
  font-weight: 600;
}

.arc-check-icon {
  color: #d4af37;
  color: var(--arc-gold);
  flex-shrink: 0;
}

/* ============================================ */
/* EMPTY STATE */
/* ============================================ */
.arc-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.arc-empty-icon {
  color: #b7bcc4;
  color: var(--arc-text-secondary);
  margin-bottom: 15px;
  opacity: 0.5;
}

.arc-empty-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--arc-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* RIGHT PANEL - FORMULARIO */
/* ============================================ */
.arc-right-panel {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--arc-bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--arc-border);
  padding: 30px;
  min-height: 500px;
}

.arc-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
}

.arc-placeholder-icon {
  font-size: 80px;
  margin-bottom: 20px;
  animation: bounce 2s infinite;
}

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

.arc-placeholder-title {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--arc-text-primary);
  margin: 0 0 12px 0;
  font-family: 'Rajdhani', sans-serif;
}

.arc-placeholder-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--arc-text-secondary);
  margin: 0;
  max-width: 400px;
}

.arc-recarga-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.arc-form-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--arc-border);
  color: #d4af37;
  color: var(--arc-gold);
}

.arc-form-title {
  font-size: 26px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--arc-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.arc-cliente-selected {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background-color: rgba(212, 175, 55, 0.1);
  border: 1px solid #d4af37;
  border: 1px solid var(--arc-gold);
  border-radius: 10px;
}

.arc-cliente-selected-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--arc-gold), var(--arc-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: #0a0a0a;
  color: var(--arc-bg-primary);
  flex-shrink: 0;
}

.arc-cliente-selected-nombre {
  font-size: 20px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--arc-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
}

.arc-cliente-selected-email {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--arc-text-secondary);
  margin: 0;
}

.arc-saldo-actual-card {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--arc-border);
  border-radius: 10px;
  text-align: center;
}

.arc-saldo-actual-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--arc-text-secondary);
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.arc-saldo-actual-monto {
  font-size: 32px;
  font-weight: 700;
  color: #d4af37;
  color: var(--arc-gold);
  margin: 0;
  font-family: 'Orbitron', monospace;
}

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

.arc-label {
  font-size: 15px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--arc-text-primary);
  font-family: 'Rajdhani', sans-serif;
}

.arc-input {
  width: 100%;
  padding: 14px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--arc-border);
  border-radius: 8px;
  color: #e9ecef;
  color: var(--arc-text-primary);
  font-size: 18px;
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  transition: all 0.3s ease;
}

.arc-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--arc-gold);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.arc-input::placeholder {
  color: #b7bcc4;
  color: var(--arc-text-secondary);
}

.arc-resumen-card {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--arc-border);
  border-radius: 10px;
}

.arc-resumen-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.arc-resumen-row:last-child {
  margin-bottom: 0;
}

.arc-resumen-label {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--arc-text-secondary);
}

.arc-resumen-value {
  font-size: 16px;
  color: #e9ecef;
  color: var(--arc-text-primary);
  font-family: 'Orbitron', monospace;
  font-weight: 500;
}

.arc-resumen-value-green {
  font-size: 16px;
  color: #27ae60;
  color: var(--arc-success);
  font-family: 'Orbitron', monospace;
  font-weight: 600;
}

.arc-resumen-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.12);
  background-color: var(--arc-border);
  margin: 16px 0;
}

.arc-resumen-label-bold {
  font-size: 17px;
  color: #e9ecef;
  color: var(--arc-text-primary);
  font-weight: 700;
}

.arc-resumen-value-bold {
  font-size: 22px;
  color: #d4af37;
  color: var(--arc-gold);
  font-family: 'Orbitron', monospace;
  font-weight: 700;
}

.arc-form-actions {
  display: flex;
  gap: 12px;
}

.arc-btn-cancel,
.arc-btn-recargar {
  flex: 1 1;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.arc-btn-cancel {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--arc-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--arc-border);
}

.arc-btn-cancel:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.arc-btn-cancel:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.arc-btn-recargar {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--arc-gold), var(--arc-gold-light));
  color: #0a0a0a;
  color: var(--arc-bg-primary);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.arc-btn-recargar:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.arc-btn-recargar:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.arc-info-box {
  padding: 16px;
  background-color: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.3);
  border-radius: 8px;
}

.arc-info-text {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--arc-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */
@media (max-width: 1200px) {
  .arc-content-grid {
    grid-template-columns: 350px 1fr;
  }
}

@media (max-width: 992px) {
  .arc-content-grid {
    grid-template-columns: 1fr;
  }
  
  .arc-left-panel {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .arc-header-content {
    flex-direction: column;
    gap: 12px;
  }
  
  .arc-header-spacer {
    display: none;
  }
  
  .arc-header-center {
    order: -1;
  }
  
  .arc-main {
    padding: 20px 16px;
  }
  
  .arc-right-panel {
    padding: 20px;
  }
}

/* src/pages/admin/AsignarCreditosPublicacion.css */
/* PREFIJO: aacpx- (Admin Asignar Créditos eXtended) */

/* ============================================ */
/* IMPORTS */
/* ============================================ */

/* ============================================ */
/* VARIABLES */
/* ============================================ */
:root {
  --aacpx-bg-primary: #0a0a0a;
  --aacpx-bg-secondary: rgba(10, 10, 10, 0.95);
  --aacpx-bg-card: rgba(20, 20, 20, 0.95);
  --aacpx-text-primary: #e9ecef;
  --aacpx-text-secondary: #b7bcc4;
  --aacpx-border: rgba(255, 255, 255, 0.12);
  --aacpx-success: #27ae60;
  --aacpx-warning: #f39c12;
  --aacpx-danger: #e74c3c;
  --aacpx-info: #3498db;
  --aacpx-gold: #d4af37;
}

/* ============================================ */
/* RESET & BASE */
/* ============================================ */
.aacpx-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--aacpx-bg-primary);
  color: #e9ecef;
  color: var(--aacpx-text-primary);
  font-family: 'Rajdhani', sans-serif;
  padding: 24px;
  box-sizing: border-box;
}

/* ============================================ */
/* HEADER */
/* ============================================ */
.aacpx-header {
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--aacpx-bg-secondary);
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--aacpx-border);
  display: flex;
  align-items: center;
  gap: 16px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.aacpx-back-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255,255,255,0.1);
  color: #e9ecef;
  color: var(--aacpx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aacpx-border);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.aacpx-back-button:hover {
  background-color: #d4af37;
  background-color: var(--aacpx-gold);
  color: #0a0a0a;
  color: var(--aacpx-bg-primary);
  border-color: #d4af37;
  border-color: var(--aacpx-gold);
}

.aacpx-header-title {
  flex: 1 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
}

/* ============================================ */
/* INFO BANNER */
/* ============================================ */
.aacpx-info-banner {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--aacpx-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aacpx-border);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  margin: 24px 0;
}

.aacpx-info-banner-icon {
  color: #3498db;
  color: var(--aacpx-info);
}

.aacpx-info-banner-content p {
  margin: 4px 0;
  font-size: 14px;
  color: #b7bcc4;
  color: var(--aacpx-text-secondary);
}

.aacpx-info-banner-title {
  color: #e9ecef;
  color: var(--aacpx-text-primary);
  font-weight: 600;
}

/* ============================================ */
/* LAYOUT GRID */
/* ============================================ */
.aacpx-content-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-gap: 24px;
  gap: 24px;
}

@media (max-width: 1024px) {
  .aacpx-content-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================ */
/* LEFT PANEL */
/* ============================================ */
.aacpx-left-panel .aacpx-search-box {
  position: relative;
  margin-bottom: 16px;
}

.aacpx-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #b7bcc4;
  color: var(--aacpx-text-secondary);
}

.aacpx-search-input {
  width: 100%;
  padding: 10px 12px 10px 40px;
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--aacpx-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aacpx-border);
  border-radius: 8px;
  color: #e9ecef;
  color: var(--aacpx-text-primary);
}

/* VENDEDOR CARD */
.aacpx-vendedores-lista {
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aacpx-vendedor-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--aacpx-bg-secondary);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aacpx-border);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.aacpx-vendedor-card:hover {
  background-color: #3498db;
  background-color: var(--aacpx-info);
}

.aacpx-vendedor-active {
  background-color: #d4af37;
  background-color: var(--aacpx-gold);
  border-color: #d4af37;
  border-color: var(--aacpx-gold);
}

.aacpx-vendedor-avatar {
  background-color: #0a0a0a;
  background-color: var(--aacpx-bg-primary);
  padding: 8px;
  border-radius: 50%;
  color: #b7bcc4;
  color: var(--aacpx-text-secondary);
}

.aacpx-vendedor-info p {
  margin: 2px 0;
  font-size: 14px;
}

.aacpx-check-icon {
  margin-left: auto;
  color: #27ae60;
  color: var(--aacpx-success);
}

/* ============================================ */
/* RIGHT PANEL */
/* ============================================ */
.aacpx-right-panel {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--aacpx-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aacpx-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aacpx-placeholder {
  text-align: center;
  color: #b7bcc4;
  color: var(--aacpx-text-secondary);
}

.aacpx-placeholder-icon {
  color: #b7bcc4;
  color: var(--aacpx-text-secondary);
  margin-bottom: 12px;
}

.aacpx-form-header {
  margin-bottom: 16px;
}

.aacpx-form-title {
  font-size: 20px;
  font-weight: 700;
}

/* SELECTED VENDEDOR INFO */
.aacpx-vendedor-selected {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.aacpx-vendedor-selected-avatar {
  background-color: #0a0a0a;
  background-color: var(--aacpx-bg-primary);
  padding: 8px;
  border-radius: 50%;
  color: #b7bcc4;
  color: var(--aacpx-text-secondary);
}

/* CREDITOS ACTUALES */
.aacpx-creditos-actuales {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.aacpx-creditos-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--aacpx-text-secondary);
}

.aacpx-creditos-value {
  font-size: 16px;
  font-weight: 700;
}

/* FORM GROUP */
.aacpx-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aacpx-label {
  font-size: 14px;
  font-weight: 600;
}

.aacpx-input {
  padding: 8px 12px;
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--aacpx-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aacpx-border);
  border-radius: 8px;
  color: #e9ecef;
  color: var(--aacpx-text-primary);
  font-size: 14px;
}

/* RESUMEN */
.aacpx-resumen {
  background-color: #0a0a0a;
  background-color: var(--aacpx-bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aacpx-border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aacpx-resumen-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.aacpx-resumen-value-green {
  color: #27ae60;
  color: var(--aacpx-success);
}

.aacpx-resumen-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--aacpx-border);
  margin: 8px 0;
}

/* FORM ACTIONS */
.aacpx-form-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.aacpx-btn-cancel,
.aacpx-btn-asignar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.aacpx-btn-cancel {
  background-color: #e74c3c;
  background-color: var(--aacpx-danger);
  color: #fff;
}

.aacpx-btn-cancel:hover {
  background-color: #c0392b;
}

.aacpx-btn-asignar {
  background-color: #27ae60;
  background-color: var(--aacpx-success);
  color: #0a0a0a;
  color: var(--aacpx-bg-primary);
}

.aacpx-btn-asignar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.aacpx-btn-spinner {
  width: 16px;
  height: 16px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: acp-spin 1s linear infinite;
}

@keyframes acp-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================ */
/* INFO BOX */
/* ============================================ */
.aacpx-info-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--aacpx-bg-secondary);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aacpx-border);
}

.aacpx-info-text {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--aacpx-text-secondary);
}

/* ============================================ */
/* NOTIFICACIÓN */
/* ============================================ */
.aacpx-notificacion {
  position: fixed;
  top: 24px;
  right: 24px;
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--aacpx-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aacpx-border);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.7);
  z-index: 1000;
}

.aacpx-notificacion-success { border-left: 4px solid #27ae60; border-left: 4px solid var(--aacpx-success); }
.aacpx-notificacion-error   { border-left: 4px solid #e74c3c; border-left: 4px solid var(--aacpx-danger); }
.aacpx-notificacion-info    { border-left: 4px solid #3498db; border-left: 4px solid var(--aacpx-info); }

.aacpx-notificacion-contenido {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1;
}

.aacpx-notificacion-cerrar {
  background: transparent;
  border: none;
  color: #b7bcc4;
  color: var(--aacpx-text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.aacpx-notificacion-cerrar:hover {
  color: #e9ecef;
  color: var(--aacpx-text-primary);
}
/* Variables de color */
:root {
  --bg: #121212;
  --card: #1f1f1f;
  --border: #2a2a2a;
  --text: #e0e0e0;
  --subtext: #a0a0a0;
  --primary: #d4af37;
  --hover: #f0d574;
  --success: #27ae60;
  --error: #e74c3c;
}

/* Base */
body {
  background: #121212;
  background: var(--bg);
  color: #e0e0e0;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  margin: 0;
}

/* Contenedor principal */
.acatx-container {
  padding: 32px;
}

/* Tarjetas */
.acatx-card {
  background: #1f1f1f;
  background: var(--card);
  border: 1px solid #2a2a2a;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  transition: transform .2s, box-shadow .2s;
}

.acatx-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.8);
}

/* Botones */
.acatx-back-button,
.acatx-submit-button,
.acatx-cancel-button,
.acatx-orden-button,
.acatx-action-button {
  background: #1f1f1f;
  background: var(--card);
  border: 1px solid #2a2a2a;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #e0e0e0;
  color: var(--text);
  padding: 10px 16px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.acatx-back-button:hover,
.acatx-submit-button:hover,
.acatx-cancel-button:hover,
.acatx-orden-button:hover:not(:disabled),
.acatx-action-button:hover:not(:disabled) {
  background: #f0d574;
  background: var(--hover);
  border-color: #d4af37;
  border-color: var(--primary);
  color: #121212;
  color: var(--bg);
}

/* Iconos de orden */
.acatx-orden-button {
  font-size: 18px;
  color: #d4af37;
  color: var(--primary);
}

.acatx-orden-button:hover:not(:disabled) {
  color: #121212;
  color: var(--bg);
}

/* Estados activo/inactivo */
.acatx-estado-activo { color: #27ae60; color: var(--success); }
.acatx-estado-inactivo { color: #e74c3c; color: var(--error); }

/* Notificaciones */
.acatx-notificacion {
  background: #1f1f1f;
  background: var(--card);
  border-left: 4px solid #d4af37;
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.7);
}

/* Inputs */
.acatx-input,
.acatx-select,
.acatx-textarea,
.aacpx-search-input {
  background: #121212;
  background: var(--bg);
  border: 1px solid #2a2a2a;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  color: #e0e0e0;
  color: var(--text);
  transition: border-color .2s;
}

.acatx-input:focus,
.acatx-select:focus,
.acatx-textarea:focus,
.aacpx-search-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--primary);
}

/* Lista de items */
.acatx-categoria-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  transition: background .2s;
}

.acatx-categoria-item:hover {
  background: #2a2a2a;
  background: var(--border);
}

/* Tipografía */
.acatx-title,
.acatx-card-title,
.aacpx-header-title {
  color: #d4af37;
  color: var(--primary);
  font-weight: 700;
}

.acatx-subtitle,
.aacpx-placeholder-text {
  color: #a0a0a0;
  color: var(--subtext);
  font-size: 14px;
}

/* ============================================
   SOLICITUDES RECARGA - ADMIN PANEL
   ESTILO RAJDHANI - SOLO DESKTOP
   ============================================ */

/* Variables CSS */
:root {
  --asr-bg-primary: #0a0a0a;
  --asr-bg-secondary: #1a1a1a;
  --asr-bg-card: #141414;
  --asr-border: #2c2c2c;
  --asr-text-primary: #ffffff;
  --asr-text-secondary: #aaa;
  --asr-text-muted: #666;
  --asr-accent-gold: #ffd700;
  --asr-success: #27ae60;
  --asr-error: #e74c3c;
  --asr-warning: #f39c12;
  --asr-info: #3498db;
}

/* Container Principal */
.asr-container {
  min-height: 100vh;
  background: #0a0a0a;
  background: var(--asr-bg-primary);
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
   NAVBAR
   ============================================ */
.asr-navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid #2c2c2c;
  border-bottom: 1px solid var(--asr-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.asr-navbar-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.asr-navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.asr-navbar-logo:hover {
  transform: translateY(-2px);
}

.asr-logo-wrapper {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #ffd700;
  border: 2px solid var(--asr-accent-gold);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.asr-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asr-logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  color: var(--asr-text-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.asr-nav-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  color: #aaa;
  color: var(--asr-text-secondary);
  border: 1px solid #2c2c2c;
  border: 1px solid var(--asr-border);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.asr-nav-button:hover {
  background: #141414;
  background: var(--asr-bg-card);
  color: #ffffff;
  color: var(--asr-text-primary);
  border-color: #ffd700;
  border-color: var(--asr-accent-gold);
  transform: translateY(-2px);
}

.asr-nav-button.whatsapp {
  color: #25D366;
  border-color: #25D366;
}

.asr-nav-button.whatsapp:hover {
  background: rgba(37, 211, 102, 0.1);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

.asr-nav-button.logout {
  color: #e74c3c;
  color: var(--asr-error);
  border-color: #e74c3c;
  border-color: var(--asr-error);
}

.asr-nav-button.logout:hover {
  background: rgba(231, 76, 60, 0.1);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.asr-main {
  padding: 30px 20px;
}

.asr-main-content {
  max-width: 1400px;
  margin: 0 auto;
}

/* ============================================
   HEADER
   ============================================ */
.asr-header {
  margin-bottom: 30px;
}

.asr-header-title {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #ffd700;
  color: var(--asr-accent-gold);
}

.asr-header-title h1 {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   ESTADÍSTICAS GRID
   ============================================ */
.asr-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 30px;
}

.asr-stat-card {
  background: #141414;
  background: var(--asr-bg-card);
  border: 1px solid #2c2c2c;
  border: 1px solid var(--asr-border);
  border-left: 4px solid;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.asr-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.asr-stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.asr-stat-content {
  flex: 1 1;
}

.asr-stat-label {
  font-size: 14px;
  color: #aaa;
  color: var(--asr-text-secondary);
  margin: 0 0 5px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.asr-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  color: var(--asr-text-primary);
  margin: 0;
}

/* ============================================
   FILTROS
   ============================================ */
.asr-filtros-container {
  background: #141414;
  background: var(--asr-bg-card);
  border: 1px solid #2c2c2c;
  border: 1px solid var(--asr-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.asr-filtros-botones {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1 1;
}

.asr-filtro-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  color: #aaa;
  color: var(--asr-text-secondary);
  border: 1px solid #2c2c2c;
  border: 1px solid var(--asr-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.asr-filtro-btn:hover {
  background: #1a1a1a;
  background: var(--asr-bg-secondary);
  border-color: #ffd700;
  border-color: var(--asr-accent-gold);
  color: #ffffff;
  color: var(--asr-text-primary);
}

.asr-filtro-btn.active {
  background: #ffd700;
  background: var(--asr-accent-gold);
  color: #0a0a0a;
  border-color: #ffd700;
  border-color: var(--asr-accent-gold);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.asr-busqueda-container {
  position: relative;
  min-width: 300px;
}

.asr-busqueda-container svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  color: var(--asr-text-muted);
}

.asr-busqueda-input {
  width: 100%;
  padding: 10px 15px 10px 45px;
  background: #1a1a1a;
  background: var(--asr-bg-secondary);
  color: #ffffff;
  color: var(--asr-text-primary);
  border: 1px solid #2c2c2c;
  border: 1px solid var(--asr-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.asr-busqueda-input:focus {
  outline: none;
  border-color: #ffd700;
  border-color: var(--asr-accent-gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.asr-busqueda-input::placeholder {
  color: #666;
  color: var(--asr-text-muted);
}

/* ============================================
   LISTA DE SOLICITUDES
   ============================================ */
.asr-solicitudes-lista {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.asr-solicitud-card {
  background: #141414;
  background: var(--asr-bg-card);
  border: 1px solid #2c2c2c;
  border: 1px solid var(--asr-border);
  border-left: 4px solid;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.asr-solicitud-card:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.asr-solicitud-card.expandida {
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

/* Header de solicitud */
.asr-solicitud-header {
  display: grid;
  grid-template-columns: 60px 150px 1fr 120px 120px 180px 140px 50px;
  grid-gap: 15px;
  gap: 15px;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.asr-solicitud-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.asr-solicitud-numero {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #ffd700;
  background: var(--asr-accent-gold);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.asr-solicitud-ticket {
  display: flex;
  align-items: center;
}

.asr-ticket-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid #ffd700;
  border: 1px solid var(--asr-accent-gold);
  border-radius: 6px;
  color: #ffd700;
  color: var(--asr-accent-gold);
  font-size: 12px;
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

.asr-solicitud-cliente {
  display: flex;
  align-items: center;
  gap: 10px;
}

.asr-solicitud-cliente svg {
  color: #ffd700;
  color: var(--asr-accent-gold);
  flex-shrink: 0;
}

.asr-cliente-nombre {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  color: var(--asr-text-primary);
  margin: 0 0 3px 0;
}

.asr-cliente-email {
  font-size: 12px;
  color: #aaa;
  color: var(--asr-text-secondary);
  margin: 0;
}

.asr-solicitud-monto,
.asr-solicitud-metodo,
.asr-solicitud-fecha {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #aaa;
  color: var(--asr-text-secondary);
  font-weight: 600;
}

.asr-solicitud-monto svg,
.asr-solicitud-metodo svg,
.asr-solicitud-fecha svg {
  color: #ffd700;
  color: var(--asr-accent-gold);
}

.asr-solicitud-estado {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.asr-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid #2c2c2c;
  border: 1px solid var(--asr-border);
  color: #aaa;
  color: var(--asr-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.asr-toggle-btn:hover {
  background: #1a1a1a;
  background: var(--asr-bg-secondary);
  color: #ffd700;
  color: var(--asr-accent-gold);
  border-color: #ffd700;
  border-color: var(--asr-accent-gold);
}

/* ============================================
   DETALLES EXPANDIDOS
   ============================================ */
.asr-solicitud-detalles {
  padding: 0 20px 20px 20px;
  animation: slideDown 0.3s ease;
}

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

.asr-detalles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 15px;
  gap: 15px;
  margin-bottom: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.asr-detalle-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.asr-detalle-item.full-width {
  grid-column: 1 / -1;
}

.asr-detalle-item label {
  font-size: 12px;
  color: #666;
  color: var(--asr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.asr-detalle-valor {
  font-size: 14px;
  color: #ffffff;
  color: var(--asr-text-primary);
  font-weight: 600;
  padding: 8px 12px;
  background: #1a1a1a;
  background: var(--asr-bg-secondary);
  border-left: 3px solid #ffd700;
  border-left: 3px solid var(--asr-accent-gold);
  border-radius: 4px;
  font-family: 'Courier New', monospace;
}

.asr-detalle-valor.error {
  border-left-color: #e74c3c;
  border-left-color: var(--asr-error);
  color: #e74c3c;
  color: var(--asr-error);
  background: rgba(231, 76, 60, 0.1);
}

/* ============================================
   COMPROBANTE
   ============================================ */
.asr-comprobante-section {
  margin-bottom: 20px;
}

.asr-comprobante-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #aaa;
  color: var(--asr-text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.asr-comprobante-preview {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #2c2c2c;
  border: 1px solid var(--asr-border);
  border-radius: 8px;
}

.asr-comprobante-imagen {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #ffd700;
  border: 2px solid var(--asr-accent-gold);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.asr-comprobante-imagen:hover {
  transform: scale(1.05);
}

.asr-btn-ver-grande {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #ffd700;
  background: var(--asr-accent-gold);
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
}

.asr-btn-ver-grande:hover {
  background: #ffed4e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* ============================================
   ACCIONES
   ============================================ */
.asr-acciones-container {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.asr-btn-aprobar,
.asr-btn-rechazar,
.asr-btn-whatsapp-personalizado,
.asr-btn-cerrar-ticket {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.asr-btn-aprobar {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
  background: linear-gradient(135deg, var(--asr-success) 0%, #229954 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.asr-btn-aprobar:hover:not(:disabled) {
  background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(39, 174, 96, 0.5);
}

.asr-btn-rechazar {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  background: linear-gradient(135deg, var(--asr-error) 0%, #c0392b 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.asr-btn-rechazar:hover:not(:disabled) {
  background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(231, 76, 60, 0.5);
}

.asr-btn-whatsapp-personalizado {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.asr-btn-whatsapp-personalizado:hover:not(:disabled) {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.asr-btn-cerrar-ticket {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  background: linear-gradient(135deg, var(--asr-info) 0%, #2980b9 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.asr-btn-cerrar-ticket:hover:not(:disabled) {
  background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(52, 152, 219, 0.5);
}

.asr-btn-aprobar:disabled,
.asr-btn-rechazar:disabled,
.asr-btn-whatsapp-personalizado:disabled,
.asr-btn-cerrar-ticket:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.asr-estado-cerrado {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: rgba(127, 140, 141, 0.1);
  border: 1px solid #7f8c8d;
  border-radius: 8px;
  color: #7f8c8d;
  font-weight: 600;
  text-transform: uppercase;
}

/* ============================================
   MODALES
   ============================================ */
.asr-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.asr-modal-whatsapp,
.asr-modal-editar-mensaje,
.asr-modal-confirmar,
.asr-modal-rechazar,
.asr-modal-cerrar {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10001;
  width: 90%;
  max-width: 600px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 2px solid #2c2c2c;
  border: 2px solid var(--asr-border);
  border-radius: 20px;
  overflow: hidden;
  animation: slideUp 0.4s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.asr-modal-header {
  padding: 30px;
  text-align: center;
  border-bottom: 1px solid #2c2c2c;
  border-bottom: 1px solid var(--asr-border);
  background: rgba(255, 255, 255, 0.02);
}

.asr-modal-icono {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconPulse 2s ease-in-out infinite;
}

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

.asr-modal-icono.success {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
  color: var(--asr-success);
  border: 2px solid #27ae60;
  border: 2px solid var(--asr-success);
}

.asr-modal-icono.error {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  color: var(--asr-error);
  border: 2px solid #e74c3c;
  border: 2px solid var(--asr-error);
}

.asr-modal-icono.warning {
  background: rgba(243, 156, 18, 0.2);
  color: #f39c12;
  color: var(--asr-warning);
  border: 2px solid #f39c12;
  border: 2px solid var(--asr-warning);
}

.asr-modal-icono.info {
  background: rgba(52, 152, 219, 0.2);
  color: #3498db;
  color: var(--asr-info);
  border: 2px solid #3498db;
  border: 2px solid var(--asr-info);
}

.asr-modal-icono.whatsapp {
  background: rgba(37, 211, 102, 0.2);
  color: #25D366;
  border: 2px solid #25D366;
}

.asr-modal-titulo {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  color: var(--asr-text-primary);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.asr-modal-body {
  padding: 30px;
}

.asr-modal-texto {
  font-size: 15px;
  color: #aaa;
  color: var(--asr-text-secondary);
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.asr-modal-info {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #2c2c2c;
  border: 1px solid var(--asr-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.asr-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #2c2c2c;
  border-bottom: 1px solid var(--asr-border);
  font-size: 14px;
  color: #aaa;
  color: var(--asr-text-secondary);
}

.asr-info-item:last-child {
  border-bottom: none;
}

.asr-info-item svg {
  color: #ffd700;
  color: var(--asr-accent-gold);
  flex-shrink: 0;
}

.asr-info-item strong {
  color: #ffffff;
  color: var(--asr-text-primary);
}

.asr-modal-alerta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid #f39c12;
  border: 1px solid var(--asr-warning);
  border-radius: 8px;
  color: #f39c12;
  color: var(--asr-warning);
  font-size: 13px;
}

.asr-modal-alerta p {
  margin: 0;
}

.asr-modal-footer {
  padding: 20px 30px;
  display: flex;
  gap: 15px;
  border-top: 1px solid #2c2c2c;
  border-top: 1px solid var(--asr-border);
  background: rgba(255, 255, 255, 0.02);
}

.asr-modal-btn {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.asr-modal-btn.cancelar {
  background: transparent;
  color: #aaa;
  color: var(--asr-text-secondary);
  border: 1px solid #2c2c2c;
  border: 1px solid var(--asr-border);
}

.asr-modal-btn.cancelar:hover:not(:disabled) {
  background: #141414;
  background: var(--asr-bg-card);
  color: #ffffff;
  color: var(--asr-text-primary);
  border-color: #ffd700;
  border-color: var(--asr-accent-gold);
}

.asr-modal-btn.confirmar {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
  background: linear-gradient(135deg, var(--asr-success) 0%, #229954 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.asr-modal-btn.confirmar:hover:not(:disabled) {
  background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(39, 174, 96, 0.5);
}

.asr-modal-btn.rechazar {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  background: linear-gradient(135deg, var(--asr-error) 0%, #c0392b 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.asr-modal-btn.rechazar:hover:not(:disabled) {
  background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(231, 76, 60, 0.5);
}

.asr-modal-btn.whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.asr-modal-btn.whatsapp:hover:not(:disabled) {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.asr-modal-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   FORM GROUPS
   ============================================ */
.asr-form-group {
  margin-bottom: 20px;
}

.asr-form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #aaa;
  color: var(--asr-text-secondary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.asr-form-textarea {
  width: 100%;
  padding: 12px 15px;
  background: #1a1a1a;
  background: var(--asr-bg-secondary);
  color: #ffffff;
  color: var(--asr-text-primary);
  border: 1px solid #2c2c2c;
  border: 1px solid var(--asr-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  resize: vertical;
  transition: all 0.3s ease;
}

.asr-form-textarea:focus {
  outline: none;
  border-color: #ffd700;
  border-color: var(--asr-accent-gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.asr-form-textarea::placeholder {
  color: #666;
  color: var(--asr-text-muted);
}

/* ============================================
   VARIABLES DE MENSAJE
   ============================================ */
.asr-variables-disponibles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
  gap: 10px;
  margin-bottom: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #2c2c2c;
  border: 1px solid var(--asr-border);
  border-radius: 8px;
}

.asr-variable-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #aaa;
  color: var(--asr-text-secondary);
}

.asr-variable-item code {
  padding: 4px 8px;
  background: #141414;
  background: var(--asr-bg-card);
  color: #ffd700;
  color: var(--asr-accent-gold);
  border: 1px solid #ffd700;
  border: 1px solid var(--asr-accent-gold);
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: 600;
}

.asr-variable-item span {
  color: #666;
  color: var(--asr-text-muted);
}

.asr-variable-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.asr-var-btn {
  padding: 6px 12px;
  background: transparent;
  color: #ffd700;
  color: var(--asr-accent-gold);
  border: 1px solid #ffd700;
  border: 1px solid var(--asr-accent-gold);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
}

.asr-var-btn:hover {
  background: #ffd700;
  background: var(--asr-accent-gold);
  color: #0a0a0a;
}

/* ============================================
   PREVIEW DE MENSAJE
   ============================================ */
.asr-preview-mensaje {
  margin-top: 15px;
}

.asr-preview-label {
  font-size: 13px;
  color: #666;
  color: var(--asr-text-muted);
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.asr-preview-content {
  padding: 15px;
  background: #141414;
  background: var(--asr-bg-card);
  border: 1px solid #2c2c2c;
  border: 1px solid var(--asr-border);
  border-left: 3px solid #ffd700;
  border-left: 3px solid var(--asr-accent-gold);
  border-radius: 8px;
  color: #ffffff;
  color: var(--asr-text-primary);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================
   MODAL IMAGEN AMPLIADA
   ============================================ */
.asr-modal-imagen {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10001;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: #000;
  border: 2px solid #ffd700;
  border: 2px solid var(--asr-accent-gold);
  border-radius: 12px;
  overflow: hidden;
  animation: slideUp 0.4s ease;
  box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
}

.asr-btn-cerrar-imagen {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10002;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #ffd700;
  border: 2px solid var(--asr-accent-gold);
  color: #ffd700;
  color: var(--asr-accent-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.asr-btn-cerrar-imagen:hover {
  background: #ffd700;
  background: var(--asr-accent-gold);
  color: #000;
  transform: rotate(90deg);
}

.asr-imagen-ampliada {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ============================================
   SISTEMA DE TICKETS (NOTIFICACIONES)
   ============================================ */
.asr-tickets-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.asr-ticket {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-radius: 10px;
  border-left: 4px solid;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: slideInRight 0.4s ease, fadeOut 0.5s ease 3.5s;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

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

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(100px);
  }
}

.asr-ticket-success {
  background: rgba(39, 174, 96, 0.95);
  border-left-color: #1e8449;
  color: #fff;
}

.asr-ticket-error {
  background: rgba(231, 76, 60, 0.95);
  border-left-color: #c0392b;
  color: #fff;
}

.asr-ticket-warning {
  background: rgba(243, 156, 18, 0.95);
  border-left-color: #d68910;
  color: #fff;
}

.asr-ticket-info {
  background: rgba(52, 152, 219, 0.95);
  border-left-color: #2980b9;
  color: #fff;
}

.asr-ticket-icono {
  flex-shrink: 0;
}

.asr-ticket-mensaje {
  flex: 1 1;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.asr-empty-state {
  text-align: center;
  padding: 80px 20px;
}

.asr-empty-icon {
  margin-bottom: 20px;
  color: #666;
  color: var(--asr-text-muted);
  opacity: 0.3;
}

.asr-empty-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  color: var(--asr-text-primary);
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.asr-empty-text {
  font-size: 15px;
  color: #aaa;
  color: var(--asr-text-secondary);
  margin: 0;
}

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

.asr-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #2c2c2c;
  border: 4px solid var(--asr-border);
  border-top-color: #ffd700;
  border-top-color: var(--asr-accent-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

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

.asr-loading-text {
  margin-top: 20px;
  font-size: 16px;
  color: #aaa;
  color: var(--asr-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==================== GESTIÓN DE RETIROS - ADMIN ==================== */
:root {
  --grt-bg: #0d0d11;
  --grt-card: #1a1b22;
  --grt-border: rgba(255,255,255,0.08);
  --grt-white: #ecf0f1;
  --grt-gray: #b7bcc4;
  --grt-gold: #d4af37;
  --grt-blue: #4dd2ff;
  --grt-purple: #7c5cff;
  --grt-green: #27ae60;
  --grt-red: #e50914;
  --grt-orange: #f39c12;
}

/* CONTENEDOR */
.gestion-retiros-container {
  min-height: 100vh;
  background: linear-gradient(180deg, #101015 0%, #13141c 100%);
  color: #ecf0f1;
  color: var(--grt-white);
  font-family: 'Rajdhani', Arial, sans-serif;
}

/* HEADER */
.gestion-retiros-header {
  background: #1a1b22;
  background: var(--grt-card);
  border-bottom: 2px solid rgba(255,255,255,0.08);
  border-bottom: 2px solid var(--grt-border);
  box-shadow: 0 4px 25px rgba(0,0,0,0.5);
  padding: 24px 40px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}
.gestion-retiros-header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.gestion-retiros-back-button {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.08);
  border: 2px solid var(--grt-border);
  color: #ecf0f1;
  color: var(--grt-white);
  font-weight: 700;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.gestion-retiros-back-button:hover {
  border-color: #d4af37;
  border-color: var(--grt-gold);
  color: #d4af37;
  color: var(--grt-gold);
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
}
.gestion-retiros-header-info {
  flex: 1 1;
}
.gestion-retiros-header-title {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, #d4af37, #fffac2);
  background: linear-gradient(135deg, var(--grt-gold), #fffac2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 6px 0;
}
.gestion-retiros-header-subtitle {
  color: #b7bcc4;
  color: var(--grt-gray);
  font-size: 16px;
  margin: 0;
}

/* MAIN */
.gestion-retiros-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 44px 40px;
}

/* LOADING */
.gestion-retiros-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 20px;
}
.gestion-retiros-spinner {
  width: 52px;
  height: 52px;
  border: 5px solid rgba(255,255,255,0.12);
  border-top: 5px solid #d4af37;
  border-top: 5px solid var(--grt-gold);
  border-right: 5px solid #4dd2ff;
  border-right: 5px solid var(--grt-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.gestion-retiros-loading-text {
  font-size: 18px;
  font-weight: 700;
  color: #b7bcc4;
  color: var(--grt-gray);
}

/* ESTADÍSTICAS */
.gestion-retiros-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease;
}
.gestion-retiros-stat-card {
  background: #1a1b22;
  background: var(--grt-card);
  border: 1px solid rgba(255,255,255,0.08);
  border: 1px solid var(--grt-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.gestion-retiros-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gestion-retiros-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(212,175,55,0.25);
}
.gestion-retiros-stat-card:hover::before {
  opacity: 1;
}
.gestion-retiros-stat-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}
.gestion-retiros-stat-pendiente .gestion-retiros-stat-icon {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  background: linear-gradient(135deg, var(--grt-orange), #e67e22);
  box-shadow: 0 0 20px rgba(243,156,18,0.4);
}
.gestion-retiros-stat-aprobado .gestion-retiros-stat-icon {
  background: linear-gradient(135deg, #27ae60, #229954);
  background: linear-gradient(135deg, var(--grt-green), #229954);
  box-shadow: 0 0 20px rgba(39,174,96,0.4);
}
.gestion-retiros-stat-rechazado .gestion-retiros-stat-icon {
  background: linear-gradient(135deg, #e50914, #c0392b);
  background: linear-gradient(135deg, var(--grt-red), #c0392b);
  box-shadow: 0 0 20px rgba(229,9,20,0.4);
}
.gestion-retiros-stat-total .gestion-retiros-stat-icon {
  background: linear-gradient(135deg, #4dd2ff, #7c5cff);
  background: linear-gradient(135deg, var(--grt-blue), var(--grt-purple));
  box-shadow: 0 0 20px rgba(77,210,255,0.4);
}
.gestion-retiros-stat-content {
  flex: 1 1;
}
.gestion-retiros-stat-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--grt-gray);
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.gestion-retiros-stat-value {
  font-size: 36px;
  font-weight: 900;
  margin: 0;
  color: #ecf0f1;
  color: var(--grt-white);
  line-height: 1;
}
.gestion-retiros-stat-subtext {
  font-size: 13px;
  color: #d4af37;
  color: var(--grt-gold);
  font-weight: 700;
  margin-top: 6px;
}

/* FILTROS */
.gestion-retiros-filtros {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  animation: fadeIn 0.8s ease;
}
.gestion-retiros-filtro-btn {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.08);
  border: 2px solid var(--grt-border);
  color: #ecf0f1;
  color: var(--grt-white);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.gestion-retiros-filtro-btn:hover,
.gestion-retiros-filtro-activo {
  background: linear-gradient(135deg, #d4af37, #fffac2);
  background: linear-gradient(135deg, var(--grt-gold), #fffac2);
  color: #111;
  border-color: #d4af37;
  border-color: var(--grt-gold);
  box-shadow: 0 0 20px rgba(212,175,55,0.4);
}

/* EMPTY STATE */
.gestion-retiros-empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #b7bcc4;
  color: var(--grt-gray);
}
.gestion-retiros-empty-icon {
  font-size: 80px;
  opacity: 0.3;
  margin-bottom: 16px;
}
.gestion-retiros-empty-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px 0;
}
.gestion-retiros-empty-text {
  font-size: 16px;
  margin: 0;
}

/* LISTA DE SOLICITUDES */
.gestion-retiros-solicitudes-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeIn 1s ease;
}

/* CARD DE SOLICITUD */
.gestion-retiros-solicitud-card {
  background: #1a1b22;
  background: var(--grt-card);
  border: 2px solid rgba(255,255,255,0.08);
  border: 2px solid var(--grt-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  animation: slideInUp 0.5s ease;
}
.gestion-retiros-solicitud-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(212,175,55,0.2);
}
.gestion-retiros-solicitud-pendiente {
  border-left: 4px solid #f39c12;
  border-left: 4px solid var(--grt-orange);
}
.gestion-retiros-solicitud-aprobado {
  border-left: 4px solid #27ae60;
  border-left: 4px solid var(--grt-green);
}
.gestion-retiros-solicitud-rechazado {
  border-left: 4px solid #e50914;
  border-left: 4px solid var(--grt-red);
}

/* HEADER SOLICITUD */
.gestion-retiros-solicitud-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 24px;
  gap: 20px;
}
.gestion-retiros-solicitud-vendedor {
  flex: 1 1;
}
.gestion-retiros-vendedor-nombre {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px 0;
  color: #ecf0f1;
  color: var(--grt-white);
}
.gestion-retiros-vendedor-email {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--grt-gray);
  margin: 0;
}
.gestion-retiros-solicitud-badge {
  padding: 8px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.gestion-retiros-solicitud-pendiente .gestion-retiros-solicitud-badge {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  background: linear-gradient(135deg, var(--grt-orange), #e67e22);
  color: white;
  box-shadow: 0 0 15px rgba(243,156,18,0.4);
}
.gestion-retiros-solicitud-aprobado .gestion-retiros-solicitud-badge {
  background: linear-gradient(135deg, #27ae60, #229954);
  background: linear-gradient(135deg, var(--grt-green), #229954);
  color: white;
  box-shadow: 0 0 15px rgba(39,174,96,0.4);
}
.gestion-retiros-solicitud-rechazado .gestion-retiros-solicitud-badge {
  background: linear-gradient(135deg, #e50914, #c0392b);
  background: linear-gradient(135deg, var(--grt-red), #c0392b);
  color: white;
  box-shadow: 0 0 15px rgba(229,9,20,0.4);
}

/* BODY SOLICITUD */
.gestion-retiros-solicitud-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gestion-retiros-solicitud-monto-card {
  background: rgba(212,175,55,0.1);
  border: 2px solid #d4af37;
  border: 2px solid var(--grt-gold);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}
.gestion-retiros-monto-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--grt-gray);
  font-weight: 700;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}
.gestion-retiros-monto-value {
  font-size: 40px;
  font-weight: 900;
  color: #d4af37;
  color: var(--grt-gold);
  margin: 0;
  text-shadow: 0 0 20px rgba(212,175,55,0.5);
}

/* INFO GRID */
.gestion-retiros-solicitud-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 16px;
  gap: 16px;
}
.gestion-retiros-info-item {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  border: 1px solid var(--grt-border);
}
.gestion-retiros-info-label {
  font-weight: 700;
  color: #b7bcc4;
  color: var(--grt-gray);
}
.gestion-retiros-info-value {
  font-weight: 700;
  color: #ecf0f1;
  color: var(--grt-white);
}

/* MENSAJES */
.gestion-retiros-mensaje-vendedor {
  background: rgba(77,210,255,0.1);
  border: 1px solid #4dd2ff;
  border: 1px solid var(--grt-blue);
  border-radius: 12px;
  padding: 16px;
}
.gestion-retiros-mensaje-label {
  font-size: 13px;
  font-weight: 700;
  color: #4dd2ff;
  color: var(--grt-blue);
  margin: 0 0 8px 0;
  text-transform: uppercase;
}
.gestion-retiros-mensaje-texto {
  font-size: 15px;
  color: #ecf0f1;
  color: var(--grt-white);
  margin: 0;
  line-height: 1.6;
}

/* RESPUESTA ADMIN */
.gestion-retiros-respuesta-admin {
  border-radius: 12px;
  padding: 16px;
  border: 1px solid;
}
.gestion-retiros-respuesta-aprobado {
  background: rgba(39,174,96,0.1);
  border-color: #27ae60;
  border-color: var(--grt-green);
}
.gestion-retiros-respuesta-rechazo {
  background: rgba(229,9,20,0.1);
  border-color: #e50914;
  border-color: var(--grt-red);
}
.gestion-retiros-respuesta-label {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}
.gestion-retiros-respuesta-aprobado .gestion-retiros-respuesta-label {
  color: #27ae60;
  color: var(--grt-green);
}
.gestion-retiros-respuesta-rechazo .gestion-retiros-respuesta-label {
  color: #e50914;
  color: var(--grt-red);
}
.gestion-retiros-respuesta-texto {
  font-size: 15px;
  color: #ecf0f1;
  color: var(--grt-white);
  margin: 0 0 8px 0;
  line-height: 1.6;
}
.gestion-retiros-respuesta-autor {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--grt-gray);
  margin: 0;
  font-style: italic;
}

/* ACCIONES */
.gestion-retiros-solicitud-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.gestion-retiros-btn-detalle,
.gestion-retiros-btn-aprobar,
.gestion-retiros-btn-rechazar {
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.gestion-retiros-btn-detalle {
  background: linear-gradient(135deg, #4dd2ff, #7c5cff);
  background: linear-gradient(135deg, var(--grt-blue), var(--grt-purple));
  color: white;
  box-shadow: 0 4px 15px rgba(77,210,255,0.3);
}
.gestion-retiros-btn-detalle:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(77,210,255,0.5);
}
.gestion-retiros-btn-aprobar {
  background: linear-gradient(135deg, #27ae60, #229954);
  background: linear-gradient(135deg, var(--grt-green), #229954);
  color: white;
  box-shadow: 0 4px 15px rgba(39,174,96,0.3);
}
.gestion-retiros-btn-aprobar:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(39,174,96,0.5);
}
.gestion-retiros-btn-rechazar {
  background: linear-gradient(135deg, #e50914, #c0392b);
  background: linear-gradient(135deg, var(--grt-red), #c0392b);
  color: white;
  box-shadow: 0 4px 15px rgba(229,9,20,0.3);
}
.gestion-retiros-btn-rechazar:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(229,9,20,0.5);
}

/* MODALES */
.gestion-retiros-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}
.gestion-retiros-modal {
  background: #1a1b22;
  background: var(--grt-card);
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  border: 2px solid rgba(255,255,255,0.08);
  border: 2px solid var(--grt-border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: slideUp 0.4s ease;
  max-height: 85vh;
  overflow-y: auto;
}
.gestion-retiros-modal-header {
  padding: 24px 28px;
  border-bottom: 2px solid rgba(255,255,255,0.08);
  border-bottom: 2px solid var(--grt-border);
}
.gestion-retiros-modal-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: #d4af37;
  color: var(--grt-gold);
}
.gestion-retiros-modal-content {
  padding: 28px;
}
.gestion-retiros-modal-info-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border: 1px solid var(--grt-border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 20px;
}
.gestion-retiros-modal-info-box p {
  margin: 8px 0;
  font-size: 15px;
}
.gestion-retiros-form-group {
  margin-bottom: 20px;
}
.gestion-retiros-label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ecf0f1;
  color: var(--grt-white);
  font-size: 15px;
}
.gestion-retiros-textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid rgba(255,255,255,0.08);
  border: 2px solid var(--grt-border);
  border-radius: 12px;
  background: rgba(0,0,0,0.3);
  color: #ecf0f1;
  color: var(--grt-white);
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
  outline: none;
  transition: border-color 0.3s ease;
}
.gestion-retiros-textarea:focus {
  border-color: #d4af37;
  border-color: var(--grt-gold);
}
.gestion-retiros-modal-warning {
  background: rgba(243,156,18,0.1);
  border: 1px solid #f39c12;
  border: 1px solid var(--grt-orange);
  border-radius: 10px;
  padding: 14px;
  margin-top: 16px;
}
.gestion-retiros-modal-warning p {
  margin: 0;
  color: #f39c12;
  color: var(--grt-orange);
  font-weight: 700;
  font-size: 14px;
}
.gestion-retiros-modal-actions {
  display: flex;
  gap: 12px;
  padding: 20px 28px;
  border-top: 2px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--grt-border);
  justify-content: flex-end;
}
.gestion-retiros-btn-cancelar,
.gestion-retiros-btn-confirmar-aprobar,
.gestion-retiros-btn-confirmar-rechazar,
.gestion-retiros-btn-cerrar {
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.gestion-retiros-btn-cancelar {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.08);
  border: 2px solid var(--grt-border);
  color: #ecf0f1;
  color: var(--grt-white);
}
.gestion-retiros-btn-cancelar:hover {
  border-color: #d4af37;
  border-color: var(--grt-gold);
  color: #d4af37;
  color: var(--grt-gold);
}
.gestion-retiros-btn-confirmar-aprobar {
  background: linear-gradient(135deg, #27ae60, #229954);
  background: linear-gradient(135deg, var(--grt-green), #229954);
  color: white;
  box-shadow: 0 4px 15px rgba(39,174,96,0.3);
}
.gestion-retiros-btn-confirmar-aprobar:hover {
  box-shadow: 0 8px 25px rgba(39,174,96,0.5);
  transform: translateY(-2px);
}
.gestion-retiros-btn-confirmar-rechazar {
  background: linear-gradient(135deg, #e50914, #c0392b);
  background: linear-gradient(135deg, var(--grt-red), #c0392b);
  color: white;
  box-shadow: 0 4px 15px rgba(229,9,20,0.3);
}
.gestion-retiros-btn-confirmar-rechazar:hover {
  box-shadow: 0 8px 25px rgba(229,9,20,0.5);
  transform: translateY(-2px);
}
.gestion-retiros-btn-cerrar {
  background: linear-gradient(135deg, #d4af37, #fffac2);
  background: linear-gradient(135deg, var(--grt-gold), #fffac2);
  color: #111;
  box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}
.gestion-retiros-btn-cerrar:hover {
  box-shadow: 0 8px 25px rgba(212,175,55,0.5);
  transform: translateY(-2px);
}

/* DETALLE */
.gestion-retiros-detalle-section {
  margin-bottom: 24px;
}
.gestion-retiros-detalle-subtitle {
  font-size: 16px;
  font-weight: 800;
  color: #d4af37;
  color: var(--grt-gold);
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.gestion-retiros-detalle-section p {
  margin: 8px 0;
  font-size: 15px;
}

/* MODAL RESULTADO */
.gestion-retiros-modal-resultado {
  text-align: center;
  max-width: 420px;
  padding: 44px 32px;
}

/* src/pages/admin/Transacciones.css */
/* PREFIJO: atrx- (Admin TRansacciones eXtended) */

/* ============================================ */
/* IMPORTS */
/* ============================================ */

/* ============================================ */
/* VARIABLES */
/* ============================================ */
:root {
  --atrx-bg-primary: #0a0a0a;
  --atrx-bg-secondary: rgba(10, 10, 10, 0.95);
  --atrx-bg-card: rgba(20, 20, 20, 0.95);
  --atrx-gold: #d4af37;
  --atrx-gold-light: #f0d574;
  --atrx-text-primary: #e9ecef;
  --atrx-text-secondary: #b7bcc4;
  --atrx-border: rgba(255, 255, 255, 0.12);
  --atrx-success: #27ae60;
  --atrx-warning: #f39c12;
  --atrx-danger: #e74c3c;
  --atrx-info: #3498db;
}

/* ============================================ */
/* RESET & BASE */
/* ============================================ */
.atrx-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--atrx-bg-primary);
  font-family: 'Rajdhani', sans-serif;
}

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

/* ============================================ */
/* HEADER */
/* ============================================ */
.atrx-header {
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--atrx-bg-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--atrx-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.atrx-header-content {
  max-width: 1800px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.atrx-back-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--atrx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atrx-border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.atrx-back-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
}

.atrx-header-info {
  flex: 1 1;
}

.atrx-header-title {
  font-size: 28px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--atrx-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Orbitron', monospace;
  display: flex;
  align-items: center;
  gap: 12px;
}

.atrx-header-subtitle {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--atrx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.atrx-export-button {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--atrx-gold), var(--atrx-gold-light));
  color: #0a0a0a;
  color: var(--atrx-bg-primary);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.atrx-export-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ============================================ */
/* MAIN */
/* ============================================ */
.atrx-main {
  padding: 40px 24px;
}

.atrx-main-content {
  max-width: 1800px;
  margin: 0 auto;
}

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

.atrx-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top: 5px solid #d4af37;
  border-top: 5px solid var(--atrx-gold);
  border-radius: 50%;
  animation: atrx-spin 1s linear infinite;
}

@keyframes atrx-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.atrx-loading-text {
  color: #b7bcc4;
  color: var(--atrx-text-secondary);
  font-size: 16px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

/* ============================================ */
/* NOTIFICACIÓN */
/* ============================================ */
.atrx-notificacion {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atrx-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atrx-border);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  animation: atrx-slideInRight 0.3s ease-out;
}

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

.atrx-notificacion-success {
  border-left: 4px solid #27ae60;
  border-left: 4px solid var(--atrx-success);
}

.atrx-notificacion-error {
  border-left: 4px solid #e74c3c;
  border-left: 4px solid var(--atrx-danger);
}

.atrx-notificacion-info {
  border-left: 4px solid #3498db;
  border-left: 4px solid var(--atrx-info);
}

.atrx-notificacion-contenido {
  flex: 1 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e9ecef;
  color: var(--atrx-text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.atrx-notificacion-success .atrx-notificacion-contenido {
  color: #27ae60;
  color: var(--atrx-success);
}

.atrx-notificacion-error .atrx-notificacion-contenido {
  color: #e74c3c;
  color: var(--atrx-danger);
}

.atrx-notificacion-info .atrx-notificacion-contenido {
  color: #3498db;
  color: var(--atrx-info);
}

.atrx-notificacion-cerrar {
  background: none;
  border: none;
  color: #b7bcc4;
  color: var(--atrx-text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.atrx-notificacion-cerrar:hover {
  color: #e9ecef;
  color: var(--atrx-text-primary);
}

/* ============================================ */
/* ESTADÍSTICAS */
/* ============================================ */
.atrx-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 40px;
}

.atrx-stat-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atrx-bg-card);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atrx-border);
  transition: all 0.3s ease;
}

.atrx-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.atrx-stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  color: white;
}

.atrx-stat-icon-total {
  background: linear-gradient(135deg, #3498db, #5dade2);
  background: linear-gradient(135deg, var(--atrx-info), #5dade2);
}

.atrx-stat-icon-recarga {
  background: linear-gradient(135deg, #27ae60, #52be80);
  background: linear-gradient(135deg, var(--atrx-success), #52be80);
}

.atrx-stat-icon-compra {
  background: linear-gradient(135deg, #e74c3c, #ec7063);
  background: linear-gradient(135deg, var(--atrx-danger), #ec7063);
}

.atrx-stat-icon-venta {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--atrx-gold), var(--atrx-gold-light));
}

.atrx-stat-content {
  flex: 1 1;
}

.atrx-stat-label {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--atrx-text-secondary);
  margin: 0 0 6px 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

.atrx-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--atrx-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1;
}

/* ============================================ */
/* FILTROS Y BÚSQUEDA */
/* ============================================ */
.atrx-filters-section {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atrx-bg-card);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atrx-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.atrx-search-box {
  position: relative;
  width: 100%;
}

.atrx-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #b7bcc4;
  color: var(--atrx-text-secondary);
}

.atrx-search-input {
  width: 100%;
  padding: 12px 12px 12px 48px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atrx-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--atrx-text-primary);
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.atrx-search-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--atrx-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.atrx-search-input::placeholder {
  color: #b7bcc4;
  color: var(--atrx-text-secondary);
}

.atrx-date-filters {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.atrx-date-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.atrx-date-label {
  font-size: 13px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--atrx-text-primary);
  font-family: 'Rajdhani', sans-serif;
}

.atrx-date-input {
  padding: 10px 14px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atrx-border);
  border-radius: 8px;
  color: #e9ecef;
  color: var(--atrx-text-primary);
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.atrx-date-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--atrx-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.atrx-clear-dates {
  background-color: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  color: var(--atrx-danger);
  border: 1px solid rgba(231, 76, 60, 0.3);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}

.atrx-clear-dates:hover {
  background-color: rgba(231, 76, 60, 0.25);
  border-color: #e74c3c;
  border-color: var(--atrx-danger);
}

.atrx-filter-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.atrx-filter-button {
  background-color: rgba(255, 255, 255, 0.05);
  color: #b7bcc4;
  color: var(--atrx-text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atrx-border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.atrx-filter-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #d4af37;
  border-color: var(--atrx-gold);
}

.atrx-filter-active {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--atrx-gold), var(--atrx-gold-light));
  color: #0a0a0a;
  color: var(--atrx-bg-primary);
  border-color: #d4af37;
  border-color: var(--atrx-gold);
  font-weight: 600;
}

/* ============================================ */
/* EMPTY STATE */
/* ============================================ */
.atrx-empty-state {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atrx-bg-card);
  border-radius: 16px;
  padding: 80px 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atrx-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.atrx-empty-icon {
  color: #b7bcc4;
  color: var(--atrx-text-secondary);
  margin-bottom: 24px;
  opacity: 0.5;
}

.atrx-empty-title {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--atrx-text-primary);
  margin: 0 0 12px 0;
  font-family: 'Rajdhani', sans-serif;
}

.atrx-empty-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--atrx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* TABLA */
/* ============================================ */
.atrx-tabla-container {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atrx-bg-card);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atrx-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.atrx-tabla {
  width: 100%;
  border-collapse: collapse;
}

.atrx-tabla-head {
  background-color: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--atrx-border);
}

.atrx-tabla-th {
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--atrx-text-primary);
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.atrx-tabla-body {
  background-color: transparent;
}

.atrx-tabla-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--atrx-border);
  transition: all 0.3s ease;
}

.atrx-tabla-row:last-child {
  border-bottom: none;
}

.atrx-tabla-row:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.atrx-tabla-td {
  padding: 16px 20px;
  font-size: 14px;
  color: #e9ecef;
  color: var(--atrx-text-primary);
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* BADGES Y ELEMENTOS DE TABLA */
/* ============================================ */
.atrx-tipo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
}

.atrx-tipo-recarga {
  background-color: rgba(39, 174, 96, 0.15);
  color: #27ae60;
  color: var(--atrx-success);
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.atrx-tipo-compra {
  background-color: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  color: var(--atrx-danger);
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.atrx-tipo-venta {
  background-color: rgba(212, 175, 55, 0.15);
  color: #d4af37;
  color: var(--atrx-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.atrx-tipo-reembolso {
  background-color: rgba(52, 152, 219, 0.15);
  color: #3498db;
  color: var(--atrx-info);
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.atrx-tipo-devolucion {
  background-color: rgba(243, 156, 18, 0.15);
  color: #f39c12;
  color: var(--atrx-warning);
  border: 1px solid rgba(243, 156, 18, 0.3);
}

.atrx-tipo-default {
  background-color: rgba(127, 140, 141, 0.15);
  color: #7f8c8d;
  border: 1px solid rgba(127, 140, 141, 0.3);
}

.atrx-usuario-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.atrx-usuario-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--atrx-gold), var(--atrx-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  color: var(--atrx-bg-primary);
  flex-shrink: 0;
}

.atrx-usuario-nombre {
  font-size: 14px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--atrx-text-primary);
  margin: 0 0 2px 0;
  font-family: 'Rajdhani', sans-serif;
}

.atrx-usuario-email {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--atrx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.atrx-descripcion {
  font-size: 14px;
  color: #e9ecef;
  color: var(--atrx-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
}

.atrx-pedido-id {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--atrx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 4px;
}

.atrx-fecha {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--atrx-text-secondary);
  font-family: 'Rajdhani', sans-serif;
}

.atrx-monto {
  font-size: 16px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
}

.atrx-btn-ver {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--atrx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atrx-border);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.atrx-btn-ver:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #d4af37;
  border-color: var(--atrx-gold);
  transform: translateY(-2px);
}

/* ============================================ */
/* MODALES */
/* ============================================ */
.atrx-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  animation: atrx-fadeIn 0.3s ease-out;
}

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

.atrx-modal-content {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--atrx-bg-card);
  border-radius: 16px;
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atrx-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
  animation: atrx-slideUp 0.3s ease-out;
}

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

.atrx-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--atrx-border);
}

.atrx-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--atrx-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.atrx-modal-close {
  background: none;
  border: none;
  color: #b7bcc4;
  color: var(--atrx-text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.atrx-modal-close:hover {
  color: #e9ecef;
  color: var(--atrx-text-primary);
  transform: rotate(90deg);
}

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

.atrx-modal-tipo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.03);
  border-left: 4px solid;
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
}

.atrx-modal-section {
  margin-bottom: 24px;
}

.atrx-modal-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--atrx-text-primary);
  margin: 0 0 16px 0;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.atrx-modal-usuario {
  display: flex;
  gap: 16px;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atrx-border);
}

.atrx-modal-usuario-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--atrx-gold), var(--atrx-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  color: var(--atrx-bg-primary);
  flex-shrink: 0;
}

.atrx-modal-usuario-nombre {
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--atrx-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
}

.atrx-modal-usuario-email {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--atrx-text-secondary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
}

.atrx-modal-usuario-rol {
  font-size: 12px;
  color: #d4af37;
  color: var(--atrx-gold);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

.atrx-modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
}

.atrx-modal-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.atrx-modal-info-label {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--atrx-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.atrx-modal-info-value {
  font-size: 14px;
  color: #e9ecef;
  color: var(--atrx-text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

.atrx-modal-info-value-monto {
  font-size: 20px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
}

.atrx-modal-id {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atrx-border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.atrx-modal-id-label {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--atrx-text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.atrx-modal-id-code {
  font-size: 12px;
  color: #d4af37;
  color: var(--atrx-gold);
  font-family: 'Courier New', monospace;
  background-color: rgba(212, 175, 55, 0.1);
  padding: 8px;
  border-radius: 6px;
  word-break: break-all;
}

.atrx-modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--atrx-border);
}

.atrx-modal-btn-cerrar {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--atrx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--atrx-border);
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.atrx-modal-btn-cerrar:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #d4af37;
  border-color: var(--atrx-gold);
}

/* ============================================ */
/* SCROLLBAR PERSONALIZADO */
/* ============================================ */
.atrx-tabla-container::-webkit-scrollbar,
.atrx-modal-content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.atrx-tabla-container::-webkit-scrollbar-track,
.atrx-modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.atrx-tabla-container::-webkit-scrollbar-thumb,
.atrx-modal-content::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--atrx-gold);
  border-radius: 10px;
}

.atrx-tabla-container::-webkit-scrollbar-thumb:hover,
.atrx-modal-content::-webkit-scrollbar-thumb:hover {
  background: #f0d574;
  background: var(--atrx-gold-light);
}

/* src/pages/admin/Billeteras.css */
/* PREFIJO: abwx- (Admin Billeteras eXtended) */

/* ============================================ */
/* IMPORTS */
/* ============================================ */

/* ============================================ */
/* VARIABLES */
/* ============================================ */
:root {
  --abwx-bg-primary: #0a0a0a;
  --abwx-bg-secondary: rgba(10, 10, 10, 0.95);
  --abwx-bg-card: rgba(20, 20, 20, 0.95);
  --abwx-gold: #d4af37;
  --abwx-gold-light: #f0d574;
  --abwx-text-primary: #e9ecef;
  --abwx-text-secondary: #b7bcc4;
  --abwx-border: rgba(255, 255, 255, 0.12);
  --abwx-success: #27ae60;
  --abwx-warning: #f39c12;
  --abwx-danger: #e74c3c;
  --abwx-info: #3498db;
}

/* ============================================ */
/* RESET & BASE */
/* ============================================ */
.abwx-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--abwx-bg-primary);
  font-family: 'Rajdhani', sans-serif;
}

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

/* ============================================ */
/* HEADER */
/* ============================================ */
.abwx-header {
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--abwx-bg-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--abwx-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.abwx-header-content {
  max-width: 1800px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.abwx-back-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--abwx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--abwx-border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.abwx-back-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
}

.abwx-header-info {
  flex: 1 1;
}

.abwx-header-title {
  font-size: 28px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--abwx-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Orbitron', monospace;
  display: flex;
  align-items: center;
  gap: 12px;
}

.abwx-header-subtitle {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* MAIN */
/* ============================================ */
.abwx-main {
  padding: 40px 24px;
}

.abwx-main-content {
  max-width: 1800px;
  margin: 0 auto;
}

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

.abwx-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top: 5px solid #d4af37;
  border-top: 5px solid var(--abwx-gold);
  border-radius: 50%;
  animation: abwx-spin 1s linear infinite;
}

@keyframes abwx-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.abwx-loading-text {
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  font-size: 16px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

/* ============================================ */
/* NOTIFICACIÓN */
/* ============================================ */
.abwx-notificacion {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--abwx-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--abwx-border);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  animation: abwx-slideInRight 0.3s ease-out;
}

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

.abwx-notificacion-success {
  border-left: 4px solid #27ae60;
  border-left: 4px solid var(--abwx-success);
}

.abwx-notificacion-error {
  border-left: 4px solid #e74c3c;
  border-left: 4px solid var(--abwx-danger);
}

.abwx-notificacion-info {
  border-left: 4px solid #3498db;
  border-left: 4px solid var(--abwx-info);
}

.abwx-notificacion-contenido {
  flex: 1 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e9ecef;
  color: var(--abwx-text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.abwx-notificacion-success .abwx-notificacion-contenido {
  color: #27ae60;
  color: var(--abwx-success);
}

.abwx-notificacion-error .abwx-notificacion-contenido {
  color: #e74c3c;
  color: var(--abwx-danger);
}

.abwx-notificacion-info .abwx-notificacion-contenido {
  color: #3498db;
  color: var(--abwx-info);
}

.abwx-notificacion-cerrar {
  background: none;
  border: none;
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.abwx-notificacion-cerrar:hover {
  color: #e9ecef;
  color: var(--abwx-text-primary);
}

/* ============================================ */
/* ESTADÍSTICAS */
/* ============================================ */
.abwx-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 40px;
}

.abwx-stat-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--abwx-bg-card);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--abwx-border);
  transition: all 0.3s ease;
}

.abwx-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.abwx-stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  color: white;
}

.abwx-stat-icon-total {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--abwx-gold), var(--abwx-gold-light));
}

.abwx-stat-icon-clientes {
  background: linear-gradient(135deg, #3498db, #5dade2);
  background: linear-gradient(135deg, var(--abwx-info), #5dade2);
}

.abwx-stat-icon-vendedores {
  background: linear-gradient(135deg, #27ae60, #52be80);
  background: linear-gradient(135deg, var(--abwx-success), #52be80);
}

.abwx-stat-icon-usuarios {
  background: linear-gradient(135deg, #f39c12, #f8b739);
  background: linear-gradient(135deg, var(--abwx-warning), #f8b739);
}

.abwx-stat-content {
  flex: 1 1;
}

.abwx-stat-label {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  margin: 0 0 6px 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

.abwx-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--abwx-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1;
}

/* ============================================ */
/* FILTROS Y BÚSQUEDA */
/* ============================================ */
.abwx-filters-section {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--abwx-bg-card);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--abwx-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.abwx-search-box {
  position: relative;
  flex: 1 1;
  min-width: 300px;
}

.abwx-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
}

.abwx-search-input {
  width: 100%;
  padding: 12px 12px 12px 48px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--abwx-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--abwx-text-primary);
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.abwx-search-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--abwx-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.abwx-search-input::placeholder {
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
}

.abwx-filter-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.abwx-filter-button {
  background-color: rgba(255, 255, 255, 0.05);
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--abwx-border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.abwx-filter-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #d4af37;
  border-color: var(--abwx-gold);
}

.abwx-filter-active {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--abwx-gold), var(--abwx-gold-light));
  color: #0a0a0a;
  color: var(--abwx-bg-primary);
  border-color: #d4af37;
  border-color: var(--abwx-gold);
  font-weight: 600;
}

/* ============================================ */
/* EMPTY STATE */
/* ============================================ */
.abwx-empty-state {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--abwx-bg-card);
  border-radius: 16px;
  padding: 80px 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--abwx-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.abwx-empty-icon {
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  margin-bottom: 24px;
  opacity: 0.5;
}

.abwx-empty-title {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--abwx-text-primary);
  margin: 0 0 12px 0;
  font-family: 'Rajdhani', sans-serif;
}

.abwx-empty-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* GRID DE USUARIOS */
/* ============================================ */
.abwx-usuarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.abwx-usuario-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--abwx-bg-card);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--abwx-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.abwx-usuario-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  border-color: #d4af37;
  border-color: var(--abwx-gold);
}

.abwx-usuario-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.abwx-usuario-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--abwx-gold), var(--abwx-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  color: var(--abwx-bg-primary);
  flex-shrink: 0;
}

.abwx-usuario-info {
  flex: 1 1;
  min-width: 0;
}

.abwx-usuario-nombre {
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--abwx-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.abwx-usuario-email {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  margin: 0 0 8px 0;
  font-family: 'Rajdhani', sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.abwx-usuario-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.abwx-badge-cliente {
  background-color: rgba(52, 152, 219, 0.15);
  color: #3498db;
  color: var(--abwx-info);
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.abwx-badge-vendedor {
  background-color: rgba(39, 174, 96, 0.15);
  color: #27ae60;
  color: var(--abwx-success);
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.abwx-usuario-saldo {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--abwx-border);
}

.abwx-saldo-label {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  margin: 0 0 8px 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.abwx-saldo-valor {
  font-size: 32px;
  font-weight: 900;
  color: #d4af37;
  color: var(--abwx-gold);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1;
}

.abwx-saldo-movimientos {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.abwx-usuario-actions {
  display: flex;
  gap: 12px;
}

.abwx-btn-ver,
.abwx-btn-recargar {
  flex: 1 1;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
}

.abwx-btn-ver {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--abwx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--abwx-border);
}

.abwx-btn-ver:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #d4af37;
  border-color: var(--abwx-gold);
}

.abwx-btn-recargar {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--abwx-gold), var(--abwx-gold-light));
  color: #0a0a0a;
  color: var(--abwx-bg-primary);
}

.abwx-btn-recargar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ============================================ */
/* MODALES */
/* ============================================ */
.abwx-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  animation: abwx-fadeIn 0.3s ease-out;
}

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

.abwx-modal-content {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--abwx-bg-card);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--abwx-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
  animation: abwx-slideUp 0.3s ease-out;
}

.abwx-modal-wide {
  max-width: 800px;
}

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

.abwx-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--abwx-border);
}

.abwx-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--abwx-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.abwx-modal-close {
  background: none;
  border: none;
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.abwx-modal-close:hover {
  color: #e9ecef;
  color: var(--abwx-text-primary);
  transform: rotate(90deg);
}

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

.abwx-modal-usuario-info {
  display: flex;
  gap: 16px;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--abwx-border);
}

.abwx-modal-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--abwx-gold), var(--abwx-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  color: var(--abwx-bg-primary);
  flex-shrink: 0;
}

.abwx-modal-usuario-nombre {
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--abwx-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
}

.abwx-modal-usuario-email {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  margin: 0 0 8px 0;
  font-family: 'Rajdhani', sans-serif;
}

.abwx-modal-usuario-saldo {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.abwx-modal-usuario-saldo strong {
  color: #d4af37;
  color: var(--abwx-gold);
  font-weight: 700;
}

.abwx-form-group {
  margin-bottom: 24px;
}

.abwx-form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--abwx-text-primary);
  margin-bottom: 8px;
  font-family: 'Rajdhani', sans-serif;
}

.abwx-form-input {
  width: 100%;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--abwx-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--abwx-text-primary);
  font-size: 16px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.abwx-form-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--abwx-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.abwx-preview-recarga {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.abwx-preview-recarga p:first-child {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  margin: 0 0 8px 0;
  font-family: 'Rajdhani', sans-serif;
}

.abwx-preview-valor {
  font-size: 28px;
  font-weight: 900;
  color: #d4af37;
  color: var(--abwx-gold);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.abwx-modal-footer {
  display: flex;
  gap: 12px;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--abwx-border);
}

.abwx-modal-btn-cancelar,
.abwx-modal-btn-confirmar,
.abwx-modal-btn-cerrar {
  flex: 1 1;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  border: none;
}

.abwx-modal-btn-cancelar {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--abwx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--abwx-border);
}

.abwx-modal-btn-cancelar:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.15);
}

.abwx-modal-btn-confirmar {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--abwx-gold), var(--abwx-gold-light));
  color: #0a0a0a;
  color: var(--abwx-bg-primary);
}

.abwx-modal-btn-confirmar:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.abwx-modal-btn-confirmar:disabled,
.abwx-modal-btn-cancelar:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.abwx-modal-btn-cerrar {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--abwx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--abwx-border);
}

.abwx-modal-btn-cerrar:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.abwx-modal-empty {
  text-align: center;
  padding: 40px 20px;
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* LISTA DE MOVIMIENTOS */
/* ============================================ */
.abwx-movimientos-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
}

.abwx-movimiento-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--abwx-border);
  transition: all 0.3s ease;
}

.abwx-movimiento-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--abwx-gold);
}

.abwx-movimiento-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.abwx-movimiento-info {
  flex: 1 1;
  min-width: 0;
}

.abwx-movimiento-tipo {
  font-size: 15px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--abwx-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
}

.abwx-movimiento-descripcion {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.abwx-movimiento-fecha {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--abwx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.abwx-movimiento-monto {
  font-size: 18px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  flex-shrink: 0;
}

/* ============================================ */
/* SCROLLBAR PERSONALIZADO */
/* ============================================ */
.abwx-movimientos-lista::-webkit-scrollbar,
.abwx-modal-content::-webkit-scrollbar {
  width: 8px;
}

.abwx-movimientos-lista::-webkit-scrollbar-track,
.abwx-modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.abwx-movimientos-lista::-webkit-scrollbar-thumb,
.abwx-modal-content::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--abwx-gold);
  border-radius: 10px;
}

.abwx-movimientos-lista::-webkit-scrollbar-thumb:hover,
.abwx-modal-content::-webkit-scrollbar-thumb:hover {
  background: #f0d574;
  background: var(--abwx-gold-light);
}

/* src/pages/admin/Estadisticas.css */
/* PREFIJO: aestx- (Admin ESTadisticas eXtended) */

/* ============================================ */
/* IMPORTS */
/* ============================================ */

/* ============================================ */
/* VARIABLES */
/* ============================================ */
:root {
  --aestx-bg-primary: #0a0a0a;
  --aestx-bg-secondary: rgba(10, 10, 10, 0.95);
  --aestx-bg-card: rgba(20, 20, 20, 0.95);
  --aestx-gold: #d4af37;
  --aestx-gold-light: #f0d574;
  --aestx-text-primary: #e9ecef;
  --aestx-text-secondary: #b7bcc4;
  --aestx-border: rgba(255, 255, 255, 0.12);
  --aestx-success: #27ae60;
  --aestx-warning: #f39c12;
  --aestx-danger: #e74c3c;
  --aestx-info: #3498db;
}

/* ============================================ */
/* RESET & BASE */
/* ============================================ */
.aestx-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--aestx-bg-primary);
  font-family: 'Rajdhani', sans-serif;
}

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

/* ============================================ */
/* HEADER */
/* ============================================ */
.aestx-header {
  background-color: rgba(10, 10, 10, 0.95);
  background-color: var(--aestx-bg-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--aestx-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.aestx-header-content {
  max-width: 1800px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.aestx-back-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--aestx-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aestx-border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.aestx-back-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
}

.aestx-header-info {
  flex: 1 1;
}

.aestx-header-title {
  font-size: 28px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--aestx-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Orbitron', monospace;
  display: flex;
  align-items: center;
  gap: 12px;
}

.aestx-header-subtitle {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--aestx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.aestx-periodo-selector {
  display: flex;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aestx-border);
}

.aestx-periodo-btn {
  background-color: transparent;
  color: #b7bcc4;
  color: var(--aestx-text-secondary);
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.aestx-periodo-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.aestx-periodo-active {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--aestx-gold), var(--aestx-gold-light));
  color: #0a0a0a;
  color: var(--aestx-bg-primary);
  font-weight: 600;
}

/* ============================================ */
/* MAIN */
/* ============================================ */
.aestx-main {
  padding: 40px 24px;
}

.aestx-main-content {
  max-width: 1800px;
  margin: 0 auto;
}

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

.aestx-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top: 5px solid #d4af37;
  border-top: 5px solid var(--aestx-gold);
  border-radius: 50%;
  animation: aestx-spin 1s linear infinite;
}

@keyframes aestx-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.aestx-loading-text {
  color: #b7bcc4;
  color: var(--aestx-text-secondary);
  font-size: 16px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

/* ============================================ */
/* NOTIFICACIÓN */
/* ============================================ */
.aestx-notificacion {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--aestx-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aestx-border);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  animation: aestx-slideInRight 0.3s ease-out;
}

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

.aestx-notificacion-success {
  border-left: 4px solid #27ae60;
  border-left: 4px solid var(--aestx-success);
}

.aestx-notificacion-error {
  border-left: 4px solid #e74c3c;
  border-left: 4px solid var(--aestx-danger);
}

.aestx-notificacion-info {
  border-left: 4px solid #3498db;
  border-left: 4px solid var(--aestx-info);
}

.aestx-notificacion-contenido {
  flex: 1 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e9ecef;
  color: var(--aestx-text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.aestx-notificacion-success .aestx-notificacion-contenido {
  color: #27ae60;
  color: var(--aestx-success);
}

.aestx-notificacion-error .aestx-notificacion-contenido {
  color: #e74c3c;
  color: var(--aestx-danger);
}

.aestx-notificacion-info .aestx-notificacion-contenido {
  color: #3498db;
  color: var(--aestx-info);
}

.aestx-notificacion-cerrar {
  background: none;
  border: none;
  color: #b7bcc4;
  color: var(--aestx-text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.aestx-notificacion-cerrar:hover {
  color: #e9ecef;
  color: var(--aestx-text-primary);
}

/* ============================================ */
/* SECCIONES */
/* ============================================ */
.aestx-section {
  margin-bottom: 48px;
}

.aestx-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--aestx-text-primary);
  margin: 0 0 24px 0;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ============================================ */
/* MÉTRICAS PRINCIPALES */
/* ============================================ */
.aestx-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.aestx-metric-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--aestx-bg-card);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aestx-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.aestx-metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #f0d574);
  background: linear-gradient(90deg, var(--aestx-gold), var(--aestx-gold-light));
}

.aestx-metric-primary::before {
  background: linear-gradient(90deg, #d4af37, #f0d574);
  background: linear-gradient(90deg, var(--aestx-gold), var(--aestx-gold-light));
}

.aestx-metric-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}

.aestx-metric-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--aestx-gold), var(--aestx-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  color: var(--aestx-bg-primary);
  flex-shrink: 0;
}

.aestx-icon-info {
  background: linear-gradient(135deg, #3498db, #5dade2);
  background: linear-gradient(135deg, var(--aestx-info), #5dade2);
}

.aestx-icon-success {
  background: linear-gradient(135deg, #27ae60, #52be80);
  background: linear-gradient(135deg, var(--aestx-success), #52be80);
}

.aestx-icon-wallet {
  background: linear-gradient(135deg, #f39c12, #f8b739);
  background: linear-gradient(135deg, var(--aestx-warning), #f8b739);
}

.aestx-metric-content {
  flex: 1 1;
}

.aestx-metric-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--aestx-text-secondary);
  margin: 0 0 8px 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.aestx-metric-value {
  font-size: 36px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--aestx-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1;
}

.aestx-metric-subtext {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--aestx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* ESTADÍSTICAS GRID */
/* ============================================ */
.aestx-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.aestx-stat-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--aestx-bg-card);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aestx-border);
  transition: all 0.3s ease;
}

.aestx-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  border-color: #d4af37;
  border-color: var(--aestx-gold);
}

.aestx-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.aestx-stat-icon-total {
  background: linear-gradient(135deg, #3498db, #5dade2);
  background: linear-gradient(135deg, var(--aestx-info), #5dade2);
}

.aestx-stat-icon-pendiente {
  background: linear-gradient(135deg, #f39c12, #f8b739);
  background: linear-gradient(135deg, var(--aestx-warning), #f8b739);
}

.aestx-stat-icon-proceso {
  background: linear-gradient(135deg, #3498db, #5dade2);
  background: linear-gradient(135deg, var(--aestx-info), #5dade2);
}

.aestx-stat-icon-entregado {
  background: linear-gradient(135deg, #27ae60, #52be80);
  background: linear-gradient(135deg, var(--aestx-success), #52be80);
}

.aestx-stat-icon-completado {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--aestx-gold), var(--aestx-gold-light));
}

.aestx-stat-icon-cancelado {
  background: linear-gradient(135deg, #e74c3c, #ec7063);
  background: linear-gradient(135deg, var(--aestx-danger), #ec7063);
}

.aestx-stat-icon-clientes {
  background: linear-gradient(135deg, #3498db, #5dade2);
  background: linear-gradient(135deg, var(--aestx-info), #5dade2);
}

.aestx-stat-icon-vendedores {
  background: linear-gradient(135deg, #27ae60, #52be80);
  background: linear-gradient(135deg, var(--aestx-success), #52be80);
}

.aestx-stat-icon-productos {
  background: linear-gradient(135deg, #f39c12, #f8b739);
  background: linear-gradient(135deg, var(--aestx-warning), #f8b739);
}

.aestx-stat-icon-aprobados {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--aestx-gold), var(--aestx-gold-light));
}

.aestx-stat-content {
  flex: 1 1;
  text-align: right;
}

.aestx-stat-value {
  font-size: 32px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--aestx-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1;
}

.aestx-stat-label {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--aestx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

/* ============================================ */
/* RANKINGS */
/* ============================================ */
.aestx-ranking-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aestx-ranking-item {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--aestx-bg-card);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aestx-border);
  transition: all 0.3s ease;
}

.aestx-ranking-item:hover {
  transform: translateX(8px);
  border-color: #d4af37;
  border-color: var(--aestx-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.aestx-ranking-position {
  flex-shrink: 0;
}

.aestx-position-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  color: white;
}

.aestx-position-1 {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.aestx-position-2 {
  background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
  box-shadow: 0 4px 12px rgba(192, 192, 192, 0.4);
}

.aestx-position-3 {
  background: linear-gradient(135deg, #cd7f32, #d89a5a);
  box-shadow: 0 4px 12px rgba(205, 127, 50, 0.4);
}

.aestx-position-4,
.aestx-position-5 {
  background: linear-gradient(135deg, #3498db, #5dade2);
  background: linear-gradient(135deg, var(--aestx-info), #5dade2);
}

.aestx-ranking-info {
  flex: 1 1;
  min-width: 0;
}

.aestx-ranking-nombre {
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--aestx-text-primary);
  margin: 0 0 4px 0;
  font-family: 'Rajdhani', sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aestx-ranking-meta {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--aestx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.aestx-ranking-valor {
  text-align: right;
  flex-shrink: 0;
}

.aestx-ranking-monto {
  font-size: 22px;
  font-weight: 900;
  color: #d4af37;
  color: var(--aestx-gold);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.aestx-empty-ranking {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--aestx-bg-card);
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aestx-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.aestx-empty-ranking p {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--aestx-text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* RESUMEN FINANCIERO */
/* ============================================ */
.aestx-financial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.aestx-financial-card {
  background-color: rgba(20, 20, 20, 0.95);
  background-color: var(--aestx-bg-card);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--aestx-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.aestx-financial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.aestx-financial-income::before {
  background: linear-gradient(90deg, #27ae60, #52be80);
  background: linear-gradient(90deg, var(--aestx-success), #52be80);
}

.aestx-financial-recargas::before {
  background: linear-gradient(90deg, #3498db, #5dade2);
  background: linear-gradient(90deg, var(--aestx-info), #5dade2);
}

.aestx-financial-reembolsos::before {
  background: linear-gradient(90deg, #f39c12, #f8b739);
  background: linear-gradient(90deg, var(--aestx-warning), #f8b739);
}

.aestx-financial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}

.aestx-financial-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aestx-financial-income .aestx-financial-icon {
  color: #27ae60;
  color: var(--aestx-success);
}

.aestx-financial-recargas .aestx-financial-icon {
  color: #3498db;
  color: var(--aestx-info);
}

.aestx-financial-reembolsos .aestx-financial-icon {
  color: #f39c12;
  color: var(--aestx-warning);
}

.aestx-financial-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--aestx-text-secondary);
  margin: 0 0 8px 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.aestx-financial-value {
  font-size: 28px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--aestx-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1;
}















/* ============================================ */
/* ESTILOS FALTANTES - TARJETAS FINANCIERAS DE RETIROS */
/* ============================================ */

.aestx-financial-retiros::before {
  background: linear-gradient(90deg, #e74c3c, #ec7063);
  background: linear-gradient(90deg, var(--aestx-danger), #ec7063);
}

.aestx-financial-retiros-pendientes::before {
  background: linear-gradient(90deg, #f39c12, #f8b739);
  background: linear-gradient(90deg, var(--aestx-warning), #f8b739);
}

.aestx-financial-retiros-rechazados::before {
  background: linear-gradient(90deg, #95a5a6, #bdc3c7);
}

.aestx-financial-retiros .aestx-financial-icon {
  color: #e74c3c;
  color: var(--aestx-danger);
}

.aestx-financial-retiros-pendientes .aestx-financial-icon {
  color: #f39c12;
  color: var(--aestx-warning);
}

.aestx-financial-retiros-rechazados .aestx-financial-icon {
  color: #95a5a6;
}


