@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;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;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;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&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&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 */

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

* {
  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;
}

/* NAVBAR */
.noodle-navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.98);
  background: 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;
}

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

.noodle-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.noodle-logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 12px;
}

.noodle-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.noodle-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #d4af37;
  color: var(--noodle-gold);
}

.noodle-nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
}

.noodle-nav-link {
  color: #e9ecef;
  color: var(--noodle-text-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.noodle-btn-ingresar {
  background: #d4af37;
  background: var(--noodle-gold);
  color: #0a0a0a;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.noodle-btn-ingresar:hover {
  background: #f0d574;
  background: var(--noodle-gold-light);
}

.noodle-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  cursor: pointer;
}

.noodle-mobile-menu {
  display: none;
  background: rgba(10, 10, 10, 0.98);
  background: var(--noodle-bg-secondary);
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--noodle-border-color);
}

.noodle-mobile-menu.open {
  display: block;
}

.noodle-mobile-links {
  list-style: none;
  margin-bottom: 16px;
}

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

.noodle-mobile-links a {
  color: #e9ecef;
  color: var(--noodle-text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

.noodle-mobile-buttons {
  display: flex;
  justify-content: center;
}

.noodle-mobile-btn {
  background: #d4af37;
  background: var(--noodle-gold);
  color: #0a0a0a;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.noodle-mobile-btn:hover {
  background: #f0d574;
  background: var(--noodle-gold-light);
}

/* HERO */
.noodle-hero {
  background: #0a0a0a;
  background: var(--noodle-bg-primary);
  position: relative;
  height: 600px;
  overflow: hidden;
}

.noodle-hero-container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.noodle-slideshow {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

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

.noodle-hero-content {
  position: relative;
  text-align: center;
  z-index: 10;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  padding: 20px;
}

.noodle-hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #d4af37;
  color: var(--noodle-gold);
}

.noodle-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.noodle-hero-btn {
  background: #d4af37;
  background: var(--noodle-gold);
  color: #0a0a0a;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.noodle-hero-btn:hover {
  background: #f0d574;
  background: var(--noodle-gold-light);
}

.noodle-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
}

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

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

.noodle-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.noodle-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
}

.noodle-dot.active {
  background: #d4af37;
  background: var(--noodle-gold);
}

/* CINTA DE LOGOS */
.noodle-brands {
  background: rgba(10, 10, 10, 0.98);
  background: var(--noodle-bg-secondary);
  padding: 24px 0;
  overflow: hidden;
}

.noodle-brands-track {
  display: flex;
  animation: scroll 20s linear infinite;
}

.noodle-brand-item {
  flex: 0 0 100px;
  margin-right: 24px;
}

.noodle-brand-item img {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.noodle-brand-item img:hover {
  filter: grayscale(0);
  opacity: 1;
}

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

/* TUS NOODLE FAVS */
.noodle-favs-section {
  background: #0a0a0a;
  background: var(--noodle-bg-primary);
  padding: 40px 24px;
}

.noodle-favs-container {
  max-width: 1400px;
  margin: 0 auto;
}

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

.noodle-favs-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.noodle-favs-title {
  font-size: 2rem;
  color: #d4af37;
  color: var(--noodle-gold);
  font-weight: 700;
}

.noodle-title-underline {
  width: 100px;
  height: 4px;
  background: #d4af37;
  background: var(--noodle-gold);
  border-radius: 2px;
}

.noodle-afiliados-card {
  background: rgba(10, 10, 10, 0.98);
  background: var(--noodle-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.noodle-afiliados-card:hover {
  background: #d4af37;
  background: var(--noodle-gold);
  color: #0a0a0a;
}

.afiliados-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.afiliados-content {
  flex: 1 1;
}

.afiliados-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.afiliados-text {
  font-size: 0.9rem;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
}

.afiliados-arrow {
  color: #d4af37;
  color: var(--noodle-gold);
}

/* CARRUSEL CATEGORÍAS */
.nld-carrusel-categorias-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto 20px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nld-carrusel-flecha {
  background: rgba(10, 10, 10, 0.98);
  background: var(--noodle-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  color: #e9ecef;
  color: var(--noodle-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;
}

.nld-carrusel-flecha:hover:not(.disabled) {
  background: #d4af37;
  background: var(--noodle-gold);
  color: #0a0a0a;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.nld-carrusel-flecha.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.nld-carrusel-wrapper {
  flex: 1 1;
  overflow: hidden;
  border-radius: 12px;
}

.nld-carrusel-track {
  display: flex;
  gap: 12px;
  transition: transform 0.5s ease;
}

.nld-carrusel-item {
  flex: 0 0 90px;
  min-width: 0;
  cursor: pointer;
}

.nld-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(--noodle-gold), var(--noodle-red), var(--noodle-purple), var(--noodle-cyan), var(--noodle-gold));
  background-size: 400% 400%;
  animation: ledChaseCarrusel 3s linear infinite;
}

@keyframes ledChaseCarrusel {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 400% 50%;
  }
}

.nld-carrusel-imagen:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5);
}

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

.nld-carrusel-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 9px;
  background-color: #0a0a0a;
  background-color: var(--noodle-bg-primary);
}

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

.nld-carrusel-contador {
  font-size: 14px;
  font-weight: 700;
  color: #d4af37;
  color: var(--noodle-gold);
  font-family: 'Rajdhani', sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* LAYOUT PRINCIPAL */
.nld-main-layout {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px;
  gap: 24px;
}

.nld-dashboard-sidebar {
  width: 240px;
  background: rgba(10, 10, 10, 0.98);
  background: var(--noodle-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 12px;
  padding: 16px;
  transition: transform 0.3s ease;
  transform: translateX(-100%);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
}

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

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

.nld-sidebar-title {
  font-size: 1.2rem;
  color: #d4af37;
  color: var(--noodle-gold);
  font-weight: 700;
}

.nld-sidebar-close {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  cursor: pointer;
}

.nld-sidebar-content {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.nld-categorias-simple-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nld-categoria-simple-button {
  background: rgba(10, 10, 10, 0.98);
  background: var(--noodle-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  color: #e9ecef;
  color: var(--noodle-text-primary);
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.nld-categoria-simple-button:hover,
.nld-categoria-simple-button.active {
  background: #d4af37;
  background: var(--noodle-gold);
  color: #0a0a0a;
}

.nld-categoria-simple-icono {
  width: 24px;
  height: 24px;
}

.nld-categoria-simple-icono img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nld-categoria-simple-texto {
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  flex: 1 1;
}

.nld-contador-categoria {
  color: #d4af37;
  color: var(--noodle-gold);
  font-weight: 700;
}

.nld-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99;
}

.nld-main-content {
  flex: 1 1;
  min-width: 0;
}

.nld-menu-button-landing {
  display: none;
  background: rgba(10, 10, 10, 0.98);
  background: var(--noodle-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  color: #e9ecef;
  color: var(--noodle-text-primary);
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.nld-menu-button-landing span {
  margin-left: 8px;
}

.nld-search-bar-landing {
  margin-bottom: 24px;
}

.nld-search-container-landing {
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.98);
  background: var(--noodle-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 8px;
  padding: 8px 12px;
}

.nld-search-icon {
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  margin-right: 8px;
}

.nld-search-input {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  font-size: 1rem;
  flex: 1 1;
  outline: none;
}

.nld-content-header {
  margin-bottom: 16px;
}

.nld-content-title {
  font-size: 1.5rem;
  color: #d4af37;
  color: var(--noodle-gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nld-productos-count {
  font-size: 1rem;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
}

.nld-loading-container {
  text-align: center;
  padding: 40px 0;
}

.nld-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border: 4px solid var(--noodle-border-color);
  border-top: 4px solid #d4af37;
  border-top: 4px solid var(--noodle-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

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

.nld-loading-text {
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
}

.nld-empty-state {
  text-align: center;
  padding: 40px 0;
}

.nld-empty-icon {
  font-size: 2rem;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  margin-bottom: 12px;
}

.nld-empty-title {
  font-size: 1.2rem;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  margin-bottom: 8px;
}

.nld-empty-text {
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  margin-bottom: 16px;
}

.nld-limpiar-todo-button {
  background: #d4af37;
  background: var(--noodle-gold);
  color: #0a0a0a;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.nld-limpiar-todo-button:hover {
  background: #f0d574;
  background: var(--noodle-gold-light);
}

.nld-productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 24px;
}

.nld-product-card {
  position: relative;
  background: rgba(10, 10, 10, 0.98);
  background: var(--noodle-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.nld-neon-card-border {
  position: absolute;
  inset: 0;
  border: 2px solid #d4af37;
  border: 2px solid var(--noodle-gold);
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.nld-card-inner-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.nld-badges-container {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.nld-badge-codigo,
.nld-badge-oferta,
.nld-badge-agotado {
  background: #d4af37;
  background: var(--noodle-gold);
  color: #0a0a0a;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

.nld-badge-agotado {
  background: #e50914;
  background: var(--noodle-red);
}

.nld-product-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.nld-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nld-product-image.no-stock {
  filter: grayscale(100%);
  opacity: 0.5;
}

.nld-vendor-logo-container {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  background: #0a0a0a;
  background: var(--noodle-bg-primary);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #d4af37;
  border: 2px solid var(--noodle-gold);
}

.nld-vendor-logo-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nld-vendor-logo {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.nld-product-content {
  padding: 16px;
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

.nld-product-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #d4af37;
  color: var(--noodle-gold);
}

.nld-product-vendor {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  margin-bottom: 8px;
}

.nld-tipo-cuenta-badge {
  font-size: 0.8rem;
  background: rgba(10, 10, 10, 0.98);
  background: var(--noodle-bg-secondary);
  padding: 2px 6px;
  border-radius: 4px;
}

.nld-detalles-expandibles {
  margin-bottom: 12px;
}

.nld-detalles-texto {
  font-size: 0.9rem;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  line-height: 1.4;
}

.nld-info-icons-container {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.nld-info-button {
  background: rgba(10, 10, 10, 0.98);
  background: var(--noodle-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nld-info-button:hover {
  background: #d4af37;
  background: var(--noodle-gold);
  color: #0a0a0a;
}

.nld-info-button-entrega {
  background: #27ae60;
  background: var(--noodle-green);
  color: #0a0a0a;
}

.nld-info-button-entrega:hover {
  background: #2ecc71;
}

.nld-price-container {
  margin-bottom: 12px;
}

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

.nld-price-old {
  text-decoration: line-through;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  font-size: 0.9rem;
}

.nld-price-new {
  font-size: 1.2rem;
  font-weight: 700;
  color: #d4af37;
  color: var(--noodle-gold);
}

.nld-renovacion-container {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
}

.nld-renovacion-icon {
  font-size: 1rem;
}

.nld-stock-container {
  margin-bottom: 16px;
}

.nld-stock-badge {
  font-size: 0.9rem;
  font-weight: 700;
  color: #27ae60;
  color: var(--noodle-green);
}

.nld-stock-badge.no {
  color: #e50914;
  color: var(--noodle-red);
}

.nld-product-button {
  background: #d4af37;
  background: var(--noodle-gold);
  color: #0a0a0a;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.nld-product-button:hover:not(.disabled) {
  background: #f0d574;
  background: var(--noodle-gold-light);
}

.nld-product-button.disabled {
  background: rgba(10, 10, 10, 0.98);
  background: var(--noodle-bg-secondary);
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  cursor: not-allowed;
}

.nld-paginacion {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.nld-paginacion-button,
.nld-paginacion-numero {
  background: rgba(10, 10, 10, 0.98);
  background: var(--noodle-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  color: #e9ecef;
  color: var(--noodle-text-primary);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nld-paginacion-button:hover,
.nld-paginacion-numero:hover {
  background: #d4af37;
  background: var(--noodle-gold);
  color: #0a0a0a;
}

.nld-paginacion-button.disabled,
.nld-paginacion-numero.active {
  background: #d4af37;
  background: var(--noodle-gold);
  color: #0a0a0a;
  cursor: default;
}

.nld-paginacion-dots {
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
}

/* MODAL */
.nld-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.nld-modal-box {
  background: rgba(10, 10, 10, 0.98);
  background: var(--noodle-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--noodle-border-color);
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
}

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

.nld-modal-titulo {
  font-size: 1.5rem;
  color: #d4af37;
  color: var(--noodle-gold);
  font-weight: 700;
}

.nld-modal-close-button {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--noodle-text-primary);
  cursor: pointer;
}

.nld-modal-body {
  margin-bottom: 16px;
}

.nld-modal-texto {
  color: #b7bcc4;
  color: var(--noodle-text-secondary);
  line-height: 1.5;
}

.nld-modal-footer {
  display: flex;
  justify-content: flex-end;
}

.nld-modal-button-cerrar {
  background: #d4af37;
  background: var(--noodle-gold);
  color: #0a0a0a;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.nld-modal-button-cerrar:hover {
  background: #f0d574;
  background: var(--noodle-gold-light);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .nld-main-layout {
    flex-direction: column;
  }
  .nld-dashboard-sidebar {
    width: 100%;
  }
  .nld-menu-button-landing {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .noodle-navbar-wrapper {
    flex-wrap: wrap;
  }
  .noodle-nav-menu {
    display: none;
  }
  .noodle-menu-toggle {
    display: block;
  }
  .noodle-hero-title {
    font-size: 2.5rem;
  }
  .nld-productos-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}


/* ============================================
   CARRUSEL CON DRAG 
   ============================================ */
.nld-carrusel-wrapper-drag {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  -webkit-user-select: none;
          user-select: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #8b5cf6 #1a1a2e;
}

.nld-carrusel-wrapper-drag:active {
  cursor: grabbing;
}

.nld-carrusel-wrapper-drag::-webkit-scrollbar {
  height: 8px;
}

.nld-carrusel-wrapper-drag::-webkit-scrollbar-track {
  background: #1a1a2e;
  border-radius: 10px;
}

.nld-carrusel-wrapper-drag::-webkit-scrollbar-thumb {
  background: #8b5cf6;
  border-radius: 10px;
}

.nld-carrusel-wrapper-drag::-webkit-scrollbar-thumb:hover {
  background: #a78bfa;
}

.nld-carrusel-track-drag {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
}

/* ==========================================
   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 ============ */

/* ============================================
   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);
  }
}

/* ============================================
   CARRUSEL CON DRAG Y SCROLL VISIBLE
   ============================================ */
.carrusel-wrapper-drag {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  -webkit-user-select: none;
          user-select: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #8b5cf6 #1a1a2e;
}

.carrusel-wrapper-drag:active {
  cursor: grabbing;
}

.carrusel-wrapper-drag::-webkit-scrollbar {
  height: 8px;
}

.carrusel-wrapper-drag::-webkit-scrollbar-track {
  background: #1a1a2e;
  border-radius: 10px;
}

.carrusel-wrapper-drag::-webkit-scrollbar-thumb {
  background: #8b5cf6;
  border-radius: 10px;
}

.carrusel-wrapper-drag::-webkit-scrollbar-thumb:hover {
  background: #a78bfa;
}

.carrusel-track-drag {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
}

/* ============================================
   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;
  }
}
.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;
  }
}

.login-link-button {
  background: none;
  border: none;
  padding: 0;
  color: #4f46e5;
  cursor: pointer;
  font: inherit;
}

.login-link-button:hover {
  text-decoration: underline;
}

/* ==========================================
   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);
}

/* src/pages/cliente/panel/PanelGuia.css */

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

/* ============================================
   WRAPPER PRINCIPAL
   ============================================ */
.pguia-wrapper {
  min-height: 100vh;
  padding: 2rem;
  background-color: #0a0a0a;
  background-color: var(--bg-primary);
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================
   HEADER
   ============================================ */
.pguia-header {
  margin-bottom: 3rem;
  text-align: center;
}

.pguia-title-section {
  max-width: 800px;
  margin: 0 auto;
}

.pguia-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #d4af37, #4dd2ff);
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pguia-title svg {
  color: #d4af37;
  color: var(--accent-gold);
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
  -webkit-text-fill-color: initial;
}

.pguia-subtitle {
  font-size: 1.125rem;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ============================================
   CARD WRAPPER Y GALERÍA
   ============================================ */
.pguia-card-wrapper {
  max-width: 1400px;
  margin: 0 auto 3rem;
}

.pguia-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

/* ============================================
   TUTORIAL CARD
   ============================================ */
.pguia-tutorial-card {
  background: rgba(10, 10, 10, 0.98);
  background: var(--bg-secondary);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.pguia-tutorial-card:hover {
  border-color: #d4af37;
  border-color: var(--accent-gold);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.25);
  transform: translateY(-8px);
}

/* ============================================
   THUMBNAIL PREVIEW
   ============================================ */
.pguia-tutorial-preview {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.pguia-thumbnail {
  width: 100%;
  height: 100%;
  background-color: rgba(20, 20, 20, 0.9);
  position: relative;
  transition: transform 0.4s ease;
}

.pguia-tutorial-card:hover .pguia-thumbnail {
  transform: scale(1.05);
}

/* Placeholder cuando no hay thumbnail */
.pguia-thumbnail-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(77, 210, 255, 0.1));
  color: #d4af37;
  color: var(--accent-gold);
}

.pguia-thumbnail-placeholder svg {
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

/* Duración del video */
.pguia-duracion {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.85);
  color: #e9ecef;
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  z-index: 2;
}

/* Overlay hover */
.pguia-tutorial-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.3),
    rgba(10, 10, 10, 0.8)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pguia-tutorial-card:hover .pguia-tutorial-overlay {
  opacity: 1;
}

.pguia-btn-overlay {
  background: linear-gradient(135deg, #d4af37, #4dd2ff);
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan));
  color: #0a0a0a;
  color: var(--bg-primary);
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pguia-btn-overlay:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
}

/* ============================================
   INFO DEL TUTORIAL
   ============================================ */
.pguia-tutorial-info {
  padding: 1.75rem;
}

.pguia-tutorial-titulo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0 0 0.75rem 0;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.pguia-tutorial-card:hover .pguia-tutorial-titulo {
  color: #d4af37;
  color: var(--accent-gold);
}

.pguia-tutorial-descripcion {
  font-size: 1rem;
  line-height: 1.6;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
}

/* ============================================
   FOOTER INFO
   ============================================ */
.pguia-footer-info {
  max-width: 1400px;
  margin: 0 auto;
}

.pguia-info-card {
  background: rgba(10, 10, 10, 0.98);
  background: var(--bg-secondary);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.pguia-info-icon {
  color: #d4af37;
  color: var(--accent-gold);
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.pguia-info-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.pguia-info-content p {
  font-size: 1rem;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   MODAL
   ============================================ */
.pguia-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  z-index: 9998;
  animation: pguia-fadein 0.3s ease;
}

.pguia-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  background: rgba(10, 10, 10, 0.98);
  background: var(--bg-secondary);
  border: 2px solid #d4af37;
  border: 2px solid var(--accent-gold);
  border-radius: 16px;
  z-index: 9999;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
  animation: pguia-slideup 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pguia-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pguia-slideup {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.pguia-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
  border-bottom: 2px solid var(--border-color);
  background: rgba(212, 175, 55, 0.05);
}

.pguia-modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pguia-modal-title svg {
  color: #d4af37;
  color: var(--accent-gold);
}

.pguia-modal-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  color: #e9ecef;
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pguia-modal-close:hover {
  background: rgba(229, 9, 20, 0.2);
  border-color: #e50914;
  border-color: var(--accent-red);
  color: #ff1a25;
  color: var(--accent-red-light);
}

.pguia-modal-body {
  padding: 2rem;
  max-height: calc(90vh - 120px);
  overflow-y: auto;
}

.pguia-video-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

.pguia-video-player {
  width: 100%;
  height: auto;
  max-height: 600px;
  display: block;
}

.pguia-video-descripcion {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.pguia-video-descripcion p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .pguia-galeria {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .pguia-wrapper {
    padding: 1.5rem 1rem;
  }

  .pguia-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .pguia-subtitle {
    font-size: 1rem;
  }

  .pguia-galeria {
    grid-template-columns: 1fr;
  }

  .pguia-tutorial-preview {
    height: 220px;
  }

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

  .pguia-modal-header {
    padding: 1.25rem;
  }

  .pguia-modal-body {
    padding: 1.25rem;
  }

  .pguia-info-card {
    flex-direction: column;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .pguia-title {
    font-size: 1.75rem;
  }

  .pguia-tutorial-titulo {
    font-size: 1.25rem;
  }

  .pguia-tutorial-descripcion {
    font-size: 0.9375rem;
  }

  .pguia-btn-overlay {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* ============================================
   SCROLLBAR
   ============================================ */
.pguia-modal-body::-webkit-scrollbar {
  width: 8px;
}

.pguia-modal-body::-webkit-scrollbar-track {
  background: #0a0a0a;
  background: var(--bg-primary);
}

.pguia-modal-body::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--accent-gold);
  border-radius: 4px;
}

.pguia-modal-body::-webkit-scrollbar-thumb:hover {
  background: #4dd2ff;
  background: var(--accent-cyan);
}

/* src/pages/cliente/panel/PanelLayout.css */

: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;
  --sidebar-width-open: 280px;
  --sidebar-width-closed: 70px;
}

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

/* ============================================
   CONTAINER PRINCIPAL
   ============================================ */
.panel-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--bg-primary);
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================
   NAVBAR
   ============================================ */
.panel-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);
}

.panel-navbar-content {
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Botón sidebar toggle desktop */
.panel-sidebar-toggle {
  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: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

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

/* Botón menú móvil */
.panel-menu-button-mobile {
  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;
}

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

/* Logo con animación SHINE */
.panel-navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

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

.panel-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: logoShine 3s ease-in-out infinite;
}

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

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

.panel-logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 18px;
  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;
  animation: textShine 2s ease-in-out infinite;
}

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

/* Navbar right */
.panel-navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

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

.panel-nav-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.panel-user-info {
  padding: 8px 12px;
}

.panel-user-name {
  font-size: 14px;
  font-weight: 600;
  color: #d4af37;
  color: var(--accent-gold);
}

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

.panel-logout-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */
.panel-main-layout {
  display: flex;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

/* ============================================
   SIDEBAR DESKTOP - COLAPSABLE
   ============================================ */
.panel-sidebar {
  width: 280px;
  width: var(--sidebar-width-open);
  flex-shrink: 0;
  position: -webkit-sticky;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  overflow-x: hidden;
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid var(--border-color);
  transition: width 0.3s ease, transform 0.3s ease;
  z-index: 100;
}

.panel-sidebar.closed {
  width: 70px;
  width: var(--sidebar-width-closed);
}

.panel-sidebar-content {
  padding: 16px 0;
}

.panel-sidebar-header {
  padding: 0 16px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.panel-sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0;
}

/* Scrollbar personalizado */
.panel-sidebar::-webkit-scrollbar {
  width: 6px;
}

.panel-sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.panel-sidebar::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--accent-gold);
  border-radius: 3px;
}

/* Nav items */
.panel-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 12px;
}

.panel-sidebar-item {
  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: 12px;
  text-align: left;
  white-space: nowrap;
}

.panel-sidebar-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--accent-gold);
  transform: translateX(4px);
}

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

/* Sidebar cerrado - solo iconos centrados */
.panel-sidebar.closed .panel-sidebar-item {
  justify-content: center;
  padding: 12px;
}

.panel-sidebar.closed .panel-sidebar-text,
.panel-sidebar.closed .panel-sidebar-arrow {
  display: none;
}

.panel-sidebar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.panel-sidebar-text {
  flex: 1 1;
}

.panel-sidebar-arrow {
  flex-shrink: 0;
  opacity: 0.5;
}

.panel-sidebar-logout {
  margin-top: 16px;
  border-color: rgba(229, 9, 20, 0.3);
}

.panel-sidebar-logout:hover {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
  border: none;
}

/* ============================================
   SIDEBAR MOBILE
   ============================================ */
.panel-sidebar-mobile {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid var(--border-color);
  transition: left 0.3s ease;
  z-index: 1100;
  overflow-y: auto;
}

.panel-sidebar-mobile.open {
  left: 0;
}

.panel-sidebar-mobile-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;
}

.panel-sidebar-close {
  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;
}

.panel-sidebar-close:hover {
  color: #e50914;
  color: var(--accent-red);
  transform: rotate(90deg);
}

.panel-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1099;
}

/* ============================================
   CONTENIDO PRINCIPAL
   ============================================ */
.panel-content {
  flex: 1 1;
  min-width: 0;
  padding: 24px;
  transition: margin-left 0.3s ease;
}

.panel-content.full-width {
  margin-left: 0;
}

/* ============================================
   BOTÓN FLOTANTE WHATSAPP CON ANIMACIÓN LED
   ============================================ */
.panel-whatsapp-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 999;
  text-decoration: none;
  border: 3px solid transparent;
  background-clip: padding-box;
  animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 6px 40px rgba(37, 211, 102, 0.8);
    transform: scale(1.05);
  }
}

.panel-whatsapp-button:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 40px rgba(37, 211, 102, 0.9);
  animation: none;
}

.panel-whatsapp-button::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(90deg, 
    #d4af37, 
    #27ae60, 
    #4dd2ff, 
    #d4af37
  );
  background: linear-gradient(90deg, 
    var(--accent-gold), 
    var(--success-green), 
    var(--accent-cyan), 
    var(--accent-gold)
  );
  background-size: 400% 400%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ledChaseWhatsapp 3s linear infinite;
}

@keyframes ledChaseWhatsapp {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 400% 50%;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .panel-sidebar {
    display: none;
  }

  .panel-menu-button-mobile {
    display: flex;
  }

  .panel-sidebar-toggle {
    display: none;
  }

  .panel-content {
    margin-left: 0 !important;
  }

  .panel-logo-text {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .panel-button-text {
    display: none;
  }

  .panel-user-name {
    display: none;
  }

  .panel-navbar-content {
    gap: 8px;
  }

  .panel-content {
    padding: 16px;
  }

  .panel-whatsapp-button {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
}
/* Agregar al final de PanelLayout.css */

/* ============================================
   LOADING SCREEN
   ============================================ */
.panel-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--bg-primary);
}

.panel-loading-spinner {
  width: 50px;
  height: 50px;
  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); }
}

.panel-loading-text {
  margin-top: 20px;
  font-size: 18px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-family: 'Rajdhani', sans-serif;
}
/* FAB contenedor */
.panel-fab-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

/* Overlay solo cuando está abierto */
.panel-fab-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(1.5px);
          backdrop-filter: blur(1.5px);
  z-index: 1100;
  animation: fabOverlayIn 0.18s ease;
}

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

/* Acciones secundarias */
.panel-fab-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.panel-fab-container.open .panel-fab-actions {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Botones secundarios */
.panel-fab-action {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.panel-fab-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.65);
}

.panel-fab-label {
  font-size: 12px;
  letter-spacing: 0.4px;
}

/* Botón principal flotante */
.panel-fab-main {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 0%, #1e1e24, #050507);
  border: 2px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  z-index: 1201; /* por encima del pulso */
}

/* Anillo fino */
.panel-fab-main::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.9);
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Pulso DETRÁS del botón, más pequeño */
.panel-fab-main::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.5), transparent 70%);
  opacity: 0.8;
  animation: fabSoftPulse 2.2s ease-in-out infinite;
}

@keyframes fabSoftPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.25);
    opacity: 0;
  }
}

.panel-fab-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 1);
  border-color: rgba(212, 175, 55, 1);
}
.panel-fab-main:hover::before {
  opacity: 1;
}

/* Estado abierto: sin pulso, color morado */
.panel-fab-main.open {
  transform: rotate(45deg);
  background: linear-gradient(135deg, #7c5cff, #a78bfa);
  border-color: rgba(167, 139, 250, 0.9);
  box-shadow: 0 8px 26px rgba(124, 92, 255, 0.6);
}
.panel-fab-main.open::after {
  animation: none;
  opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .panel-fab-container {
    bottom: 20px;
    right: 20px;
  }
  .panel-fab-main {
    width: 52px;
    height: 52px;
  }
}
@media (max-width: 480px) {
  .panel-fab-container {
    bottom: 14px;
    right: 14px;
  }
  .panel-fab-main {
    width: 48px;
    height: 48px;
  }
  .panel-fab-label {
    display: none;
  }
  .panel-fab-action {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
}


/* ============================================
   CAMPANITA Y DROPDOWN DE NOTIFICACIONES
   ============================================ */

.panel-noti-wrapper {
  position: relative;
  margin-right: 8px;
}

.panel-noti-button {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.8));
  color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.panel-noti-button:hover {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.9));
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
  transform: translateY(-1px);
}

.panel-noti-open {
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.6);
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.2), rgba(0, 0, 0, 0.9));
}

.panel-noti-badge {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4b5c, #ff9a3c);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dropdown */

.panel-noti-dropdown {
  position: absolute;
  top: 44px;
  right: 0;
  width: 320px;
  max-height: 380px;
  background: radial-gradient(circle at top, #181820, #050507);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  animation: panel-noti-fade 0.16s ease-out;
}

@keyframes panel-noti-fade {
  0% {
    opacity: 0;
    transform: translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-noti-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.12), transparent);
}

.panel-noti-header span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.panel-noti-close {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-noti-list {
  flex: 1 1;
  max-height: 260px;
  overflow-y: auto;
}

/* Scroll suave */
.panel-noti-list::-webkit-scrollbar {
  width: 6px;
}
.panel-noti-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}
.panel-noti-list::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.7);
  border-radius: 999px;
}

.panel-noti-empty {
  padding: 18px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0.85;
}

.panel-noti-empty svg {
  color: rgba(255, 255, 255, 0.6);
}

/* Item de notificación (últimos chats/tickets) */

.panel-noti-item {
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  transition: background 0.12s ease;
}

.panel-noti-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.panel-noti-avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f8f9fa;
  font-size: 13px;
  flex-shrink: 0;
}

.panel-noti-content {
  flex: 1 1;
  min-width: 0;
}

.panel-noti-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #f8f9fa;
}

.panel-noti-pill {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}

.panel-noti-subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-noti-meta {
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

/* Footer con enlaces */

.panel-noti-footer {
  padding: 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 6px;
}

.panel-noti-footer button {
  flex: 1 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.7);
  color: #f8f9fa;
  font-size: 11px;
  padding: 6px 0;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.panel-noti-footer button:hover {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.6);
}

/* Responsive */

@media (max-width: 768px) {
  .panel-noti-dropdown {
    right: -40px;
    width: 90vw;
  }
}

/* src/pages/cliente/panel/MisCuentasPanel.css */

:root {
  --pmc-bg-primary: #0a0a0a;
  --pmc-bg-secondary: rgba(20, 20, 20, 0.96);
  --pmc-bg-card: rgba(18, 18, 18, 0.96);
  --pmc-gold: #d4af37;
  --pmc-gold-light: #f0d574;
  --pmc-text-primary: #e9ecef;
  --pmc-text-secondary: #b7bcc4;
  --pmc-text-muted: #8b95a5;
  --pmc-border: rgba(255, 255, 255, 0.12);
  --pmc-success: #27ae60;
  --pmc-warning: #f39c12;
  --pmc-danger: #e74c3c;
  --pmc-info: #3498db;
  --pmc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --pmc-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --pmc-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* ============================================
   WRAPPER PRINCIPAL
============================================ */
.pmc-wrapper {
  min-height: calc(100vh - 70px);
  padding: 20px;
  background:
    radial-gradient(circle at top, rgba(212, 175, 55, 0.08), transparent),
    radial-gradient(circle at bottom, rgba(37, 99, 235, 0.12), transparent),
    #0a0a0a;
  background:
    radial-gradient(circle at top, rgba(212, 175, 55, 0.08), transparent),
    radial-gradient(circle at bottom, rgba(37, 99, 235, 0.12), transparent),
    var(--pmc-bg-primary);
  color: #e9ecef;
  color: var(--pmc-text-primary);
  font-family: inherit;
}

/* LOADING */
.pmc-loading-container {
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  background: var(--pmc-bg-primary);
}

.pmc-spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border: 4px solid var(--pmc-border);
  border-top-color: #d4af37;
  border-top-color: var(--pmc-gold);
  animation: pmc-spin 0.8s linear infinite;
}

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

.pmc-loading-text {
  margin-top: 16px;
  font-size: 14px;
  color: #b7bcc4;
  color: var(--pmc-text-secondary);
}

/* ============================================
   HEADER
============================================ */
.pmc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.pmc-title-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pmc-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.pmc-title svg {
  color: #d4af37;
  color: var(--pmc-gold);
}

.pmc-subtitle {
  margin: 0;
  font-size: 13px;
  color: #8b95a5;
  color: var(--pmc-text-muted);
}

.pmc-btn-explorar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #e50914, #ff1a25);
  color: #fff;
  box-shadow: 0 10px 28px rgba(229, 9, 20, 0.65);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.15s ease;
}

.pmc-btn-explorar:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(229, 9, 20, 0.85);
  filter: brightness(1.05);
}

/* ============================================
   STATS
============================================ */
.pmc-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
  margin-bottom: 18px;
}

.pmc-stat-card {
  background: rgba(18, 18, 18, 0.96);
  background: var(--pmc-bg-card);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pmc-border);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  box-shadow: var(--pmc-shadow-sm);
}

.pmc-stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pmc-stat-card.activos .pmc-stat-icon {
  background: rgba(39, 174, 96, 0.18);
  color: #27ae60;
  color: var(--pmc-success);
}

.pmc-stat-card.por-vencer .pmc-stat-icon {
  background: rgba(243, 156, 18, 0.18);
  color: #f39c12;
  color: var(--pmc-warning);
}

.pmc-stat-card.vencidos .pmc-stat-icon {
  background: rgba(231, 76, 60, 0.18);
  color: #e74c3c;
  color: var(--pmc-danger);
}

.pmc-stat-card.total .pmc-stat-icon {
  background: rgba(52, 152, 219, 0.18);
  color: #3498db;
  color: var(--pmc-info);
}

.pmc-stat-content {
  display: flex;
  flex-direction: column;
}

.pmc-stat-number {
  font-size: 18px;
  font-weight: 700;
}

.pmc-stat-label {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--pmc-text-secondary);
}

/* ============================================
   CONTROLES (BUSQUEDA + FILTROS)
============================================ */
.pmc-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pmc-search-container {
  flex: 1 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 18, 18, 0.96);
  background: var(--pmc-bg-card);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pmc-border);
  padding: 8px 14px;
}

.pmc-search-icon {
  color: #8b95a5;
  color: var(--pmc-text-muted);
}

.pmc-search-input {
  flex: 1 1;
  border: none;
  outline: none;
  background: none;
  color: #e9ecef;
  color: var(--pmc-text-primary);
  font-size: 13px;
}

.pmc-search-input::placeholder {
  color: #8b95a5;
  color: var(--pmc-text-muted);
}

.pmc-search-clear {
  border: none;
  background: transparent;
  color: #8b95a5;
  color: var(--pmc-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pmc-filtros {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pmc-filtro-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pmc-border);
  background: rgba(15, 15, 18, 0.96);
  color: #b7bcc4;
  color: var(--pmc-text-secondary);
  font-size: 12px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pmc-filtro-btn svg {
  width: 14px;
  height: 14px;
}

.pmc-filtro-btn:hover {
  border-color: #d4af37;
  border-color: var(--pmc-gold);
  color: #e9ecef;
  color: var(--pmc-text-primary);
}

.pmc-filtro-btn.active {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--pmc-gold), var(--pmc-gold-light));
  color: #0a0a0a;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.45);
}

/* ============================================
   EMPTY STATE
============================================ */
.pmc-empty-state {
  margin-top: 20px;
  background: rgba(18, 18, 18, 0.96);
  background: var(--pmc-bg-card);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pmc-border);
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--pmc-shadow-md);
}

.pmc-empty-icon {
  color: #b7bcc4;
  color: var(--pmc-text-secondary);
  opacity: 0.8;
  margin-bottom: 12px;
}

.pmc-empty-title {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 600;
}

.pmc-empty-text {
  margin: 0 0 14px 0;
  font-size: 14px;
  color: #b7bcc4;
  color: var(--pmc-text-secondary);
}

/* ============================================
   GRID DE SERVICIOS
============================================ */
.pmc-servicios-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

/* CARD SERVICIO */
.pmc-servicio-card {
  position: relative;
  background: rgba(18, 18, 18, 0.96);
  background: var(--pmc-bg-card);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pmc-border);
  padding: 14px 14px 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  box-shadow: var(--pmc-shadow-lg);
}

.pmc-servicio-card.activo {
  box-shadow: 0 18px 40px rgba(39, 174, 96, 0.22);
}

.pmc-servicio-card.por-vencer {
  box-shadow: 0 18px 40px rgba(243, 156, 18, 0.22);
}

.pmc-servicio-card.vencido {
  box-shadow: 0 18px 40px rgba(231, 76, 60, 0.22);
}

/* HEADER CARD */
.pmc-card-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.pmc-header-left {
  display: flex;
  gap: 10px;
}

.pmc-servicio-imagen {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.pmc-servicio-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pmc-servicio-icon,
.pmc-servicio-icon-fallback {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.pmc-servicio-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pmc-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.pmc-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
  font-size: 11px;
  color: #b7bcc4;
  color: var(--pmc-text-secondary);
}

.pmc-codigo {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-family: monospace;
}

.pmc-perfil {
  opacity: 0.9;
}

/* BADGE ESTADO */
.pmc-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.pmc-card-badge.activo {
  background: rgba(39, 174, 96, 0.16);
  color: #27ae60;
  color: var(--pmc-success);
  border: 1px solid rgba(39, 174, 96, 0.7);
}

.pmc-card-badge.por-vencer {
  background: rgba(243, 156, 18, 0.16);
  color: #f39c12;
  color: var(--pmc-warning);
  border: 1px solid rgba(243, 156, 18, 0.7);
}

.pmc-card-badge.vencido {
  background: rgba(231, 76, 60, 0.16);
  color: #e74c3c;
  color: var(--pmc-danger);
  border: 1px solid rgba(231, 76, 60, 0.7);
}

/* ============================================
   FECHAS Y DÍAS RESTANTES
============================================ */
.pmc-card-info {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.pmc-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b7bcc4;
  color: var(--pmc-text-secondary);
}

.pmc-fecha-content {
  display: flex;
  flex-direction: column;
}

.pmc-label {
  font-size: 11px;
  color: #8b95a5;
  color: var(--pmc-text-muted);
}

.pmc-valor {
  font-size: 12px;
  color: #e9ecef;
  color: var(--pmc-text-primary);
}

.pmc-dias-restantes {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 12px;
}

.pmc-dias-restantes.activo {
  background: linear-gradient(90deg, rgba(39, 174, 96, 0.2), transparent);
}

.pmc-dias-restantes.por-vencer {
  background: linear-gradient(90deg, rgba(243, 156, 18, 0.2), transparent);
}

.pmc-dias-restantes.vencido {
  background: linear-gradient(90deg, rgba(231, 76, 60, 0.2), transparent);
}

.pmc-dias-info {
  display: flex;
  flex-direction: column;
}

.pmc-dias-texto {
  font-weight: 600;
}

.pmc-dias-detalle {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--pmc-text-secondary);
}

/* ============================================
   CREDENCIALES
============================================ */
.pmc-credenciales-section {
  margin-top: 4px;
}

.pmc-toggle-credenciales {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pmc-border);
  background: rgba(15, 15, 20, 0.96);
  color: #e9ecef;
  color: var(--pmc-text-primary);
  font-size: 12px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pmc-toggle-credenciales:hover {
  border-color: #d4af37;
  border-color: var(--pmc-gold);
}

.pmc-credenciales-content {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pmc-credencial-item {
  background: rgba(12, 12, 18, 0.96);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
}

.pmc-credencial-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #8b95a5;
  color: var(--pmc-text-muted);
}

.pmc-credencial-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  word-break: break-all;
}

.pmc-copy-btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #b7bcc4;
  color: var(--pmc-text-secondary);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pmc-copy-btn:hover {
  border-color: #d4af37;
  border-color: var(--pmc-gold);
  color: #f0d574;
  color: var(--pmc-gold-light);
}

.pmc-copy-btn.copiado {
  background: rgba(39, 174, 96, 0.2);
  border-color: #27ae60;
  border-color: var(--pmc-success);
  color: #27ae60;
  color: var(--pmc-success);
}

.pmc-credencial-full .pmc-credencial-value {
  flex-direction: column;
  align-items: flex-start;
}

.pmc-url-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(10, 10, 16, 0.96);
  color: #93c5fd;
  font-size: 12px;
  text-decoration: none;
  word-break: break-all;
}

.pmc-url-link:hover {
  background: rgba(37, 99, 235, 0.22);
}

/* ============================================
   ACCIONES Y FOOTER
============================================ */
.pmc-card-actions {
  margin-top: 6px;
  display: flex;
  gap: 8px;
}

.pmc-btn-renovar,
.pmc-btn-detalles,
.pmc-btn-chat {
  flex: 1 1;
  border-radius: 999px;
  border: none;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}

/* Renovar */
.pmc-btn-renovar.vencido {
  background: rgba(231, 76, 60, 0.2);
  color: #fecaca;
}

.pmc-btn-renovar.por-vencer {
  background: rgba(243, 156, 18, 0.2);
  color: #fed7aa;
}

.pmc-btn-renovar:hover {
  filter: brightness(1.05);
}

/* Ver producto */
.pmc-btn-detalles {
  background: rgba(52, 152, 219, 0.22);
  color: #bfdbfe;
}

.pmc-btn-detalles:hover {
  background: rgba(52, 152, 219, 0.32);
}

/* Chat soporte */
.pmc-btn-chat {
  background: linear-gradient(135deg, #10b981, #22c55e);
  color: #022c22;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.65);
}

.pmc-btn-chat:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.9);
}

/* FOOTER CARD */
.pmc-card-footer {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #b7bcc4;
  color: var(--pmc-text-secondary);
}

.pmc-footer-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pmc-vendedor {
  opacity: 0.9;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .pmc-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .pmc-wrapper {
    padding: 14px;
  }

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

  .pmc-stats-grid {
    grid-template-columns: 1fr;
  }

  .pmc-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .pmc-card-info {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .pmc-servicios-grid {
    grid-template-columns: 1fr;
  }

  .pmc-title {
    font-size: 20px;
  }
}
.pmc-btn-renovar.activo {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.pmc-btn-renovar.activo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* src/pages/cliente/panel/PanelMiBilletera.css */

: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;
  --warning-yellow: #f39c12;
  --error-red: #e74c3c;
}

/* ============================================
   WRAPPER PRINCIPAL
   ============================================ */
.pmb-wrapper {
  min-height: 100vh;
  padding: 0;
  font-family: 'Rajdhani', sans-serif;
  color: #e9ecef;
  color: var(--text-primary);
  background-color: #0a0a0a;
  background-color: var(--bg-primary);
}

/* ============================================
   HEADER
   ============================================ */
.pmb-header {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.pmb-title-section {
  flex: 1 1;
}

.pmb-title {
  font-size: 32px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  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;
  animation: textShine 2s ease-in-out infinite;
}

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

.pmb-subtitle {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0;
}

.pmb-btn-explorar {
  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: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

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

/* ============================================
   CARD DE SALDO CON BORDE LED
   ============================================ */
.pmb-saldo-card-wrapper {
  position: relative;
  border-radius: 16px;
  padding: 3px;
  margin-bottom: 32px;
  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: ledChase 3s linear infinite;
}

@keyframes ledChase {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

.pmb-saldo-card {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border-radius: 13px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.pmb-saldo-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  animation: rotate 10s linear infinite;
}

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

.pmb-saldo-icon-circle {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid #d4af37;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
  z-index: 1;
}

.pmb-saldo-logo-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pmb-saldo-icon-circle.error {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.1));
}

.pmb-saldo-icon-circle svg {
  color: #d4af37;
  color: var(--accent-gold);
  z-index: 2;
}

.pmb-saldo-info {
  flex: 1 1;
  z-index: 1;
}

.pmb-saldo-label {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0 0 8px 0;
  font-weight: 600;
}

.pmb-saldo-amount {
  font-size: 48px;
  font-weight: 900;
  color: #d4af37;
  color: var(--accent-gold);
  margin: 0;
  font-family: 'Orbitron', monospace;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.pmb-btn-recargar-circular {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
  z-index: 1;
  flex-shrink: 0;
}

.pmb-btn-recargar-circular:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 30px rgba(229, 9, 20, 0.6);
}

.pmb-btn-circular-logo {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pmb-circular-logo-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pmb-btn-circular-logo.error {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
}

.pmb-btn-circular-logo svg {
  color: white;
  z-index: 2;
}

/* ============================================
   ESTADÍSTICAS CON BORDE LED
   ============================================ */
.pmb-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 32px;
}

.pmb-stat-card-wrapper {
  position: relative;
  border-radius: 12px;
  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: ledChase 3s linear infinite;
}

.pmb-stat-card {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border-radius: 9px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.pmb-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pmb-stat-icon-recarga {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.2), rgba(39, 174, 96, 0.05));
  color: #27ae60;
  color: var(--success-green);
}

.pmb-stat-icon-gasto {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2), rgba(229, 9, 20, 0.05));
  color: #e50914;
  color: var(--accent-red);
}

.pmb-stat-icon-reembolso {
  background: linear-gradient(135deg, rgba(77, 210, 255, 0.2), rgba(77, 210, 255, 0.05));
  color: #4dd2ff;
  color: var(--accent-cyan);
}

.pmb-stat-content {
  flex: 1 1;
}

.pmb-stat-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0 0 4px 0;
  font-weight: 500;
}

.pmb-stat-value {
  font-size: 24px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Orbitron', monospace;
  margin: 0;
}

/* ============================================
   TABS
   ============================================ */
.pmb-section-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.pmb-tab-btn {
  flex: 1 1;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.03);
  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: 700;
  padding: 16px 20px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.pmb-tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

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

.pmb-tab-label {
  flex: 1 1;
  text-align: left;
}

.pmb-tab-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  min-width: 30px;
  text-align: center;
}

.pmb-tab-btn.active .pmb-tab-badge {
  background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   CONTENIDO TAB
   ============================================ */
.pmb-tab-content {
  animation: fadeIn 0.3s ease;
}

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

/* ============================================
   EMPTY STATE
   ============================================ */
.pmb-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
  padding: 40px 20px;
}

.pmb-empty-icon {
  color: #b7bcc4;
  color: var(--text-secondary);
  opacity: 0.5;
  margin-bottom: 20px;
}

.pmb-empty-title {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.pmb-empty-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   SOLICITUDES LISTA
   ============================================ */
.pmb-solicitudes-lista {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pmb-solicitud-card-wrapper {
  position: relative;
  border-radius: 12px;
  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: ledChase 3s linear infinite;
  transition: all 0.3s ease;
}

.pmb-solicitud-card-wrapper:hover {
  transform: translateY(-2px);
}

.pmb-solicitud-card {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border-radius: 9px;
  overflow: hidden;
}

.pmb-solicitud-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pmb-solicitud-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.pmb-solicitud-numero {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--accent-gold), #f0d574);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #0a0a0a;
  flex-shrink: 0;
}

.pmb-solicitud-info {
  flex: 1 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.pmb-solicitud-ticket,
.pmb-solicitud-monto,
.pmb-solicitud-metodo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-weight: 600;
}

.pmb-solicitud-fecha {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #b7bcc4;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.pmb-solicitud-estado {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.pmb-toggle-btn {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.pmb-toggle-btn:hover {
  color: #d4af37;
  color: var(--accent-gold);
  transform: scale(1.1);
}

.pmb-solicitud-detalles {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideDown 0.3s ease;
}

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

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

.pmb-detalle-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pmb-detalle-item label {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-weight: 600;
}

.pmb-detalle-item span {
  font-size: 14px;
  color: #e9ecef;
  color: var(--text-primary);
  font-weight: 700;
}

/* ============================================
   MENSAJES DE ESTADO
   ============================================ */
.pmb-estado-mensaje {
  padding: 16px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: fadeIn 0.3s ease;
}

.pmb-estado-mensaje.pendiente {
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid #f39c12;
  border: 1px solid var(--warning-yellow);
  color: #f39c12;
  color: var(--warning-yellow);
}

.pmb-estado-mensaje.aprobado {
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid #27ae60;
  border: 1px solid var(--success-green);
  color: #27ae60;
  color: var(--success-green);
}

.pmb-estado-mensaje.rechazado {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  border: 1px solid var(--error-red);
  color: #e74c3c;
  color: var(--error-red);
}

.pmb-estado-mensaje.cerrado {
  background: rgba(127, 140, 141, 0.1);
  border: 1px solid #7f8c8d;
  color: #7f8c8d;
}

.pmb-estado-mensaje strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.pmb-estado-mensaje p {
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

.pmb-motivo-rechazo {
  margin-top: 8px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

/* ============================================
   COMPROBANTE
   ============================================ */
.pmb-comprobante-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pmb-comprobante-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pmb-comprobante-preview {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
}

.pmb-comprobante-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pmb-comprobante-img:hover {
  transform: scale(1.05);
}

/* ============================================
   BOTÓN WHATSAPP
   ============================================ */
.pmb-btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border: none;
  border-radius: 8px;
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.pmb-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

/* ============================================
   MOVIMIENTOS LISTA
   ============================================ */
.pmb-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.pmb-filtro-btn {
  background: rgba(255, 255, 255, 0.03);
  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: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

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

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

.pmb-movimientos-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pmb-movimiento-card-wrapper {
  position: relative;
  border-radius: 12px;
  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: ledChase 3s linear infinite;
  transition: all 0.3s ease;
}

.pmb-movimiento-card-wrapper:hover {
  transform: translateY(-2px);
}

.pmb-movimiento-card {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border-radius: 9px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pmb-movimiento-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pmb-movimiento-info {
  flex: 1 1;
}

.pmb-movimiento-tipo {
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.pmb-movimiento-descripcion {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0 0 6px 0;
}

.pmb-movimiento-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #b7bcc4;
  color: var(--text-secondary);
}

.pmb-movimiento-monto {
  font-size: 20px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  flex-shrink: 0;
}

/* ============================================
   INFO CARD
   ============================================ */
.pmb-info-card {
  margin-top: 32px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.pmb-info-title {
  font-size: 18px;
  font-weight: 700;
  color: #d4af37;
  color: var(--accent-gold);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pmb-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pmb-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #b7bcc4;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pmb-info-item svg {
  color: #27ae60;
  color: var(--success-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   MODAL OVERLAY
   ============================================ */
.pmb-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;
  animation: fadeIn 0.3s ease;
}

/* ============================================
   MODAL DE RECARGA
   ============================================ */
.pmb-modal-recarga {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  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: 16px;
  z-index: 2001;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
  from {
    transform: translate(-50%, -45%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

.pmb-modal-header {
  padding: 20px 24px;
  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;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  z-index: 10;
}

.pmb-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pmb-modal-logo-container {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--accent-gold), #f0d574);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pmb-modal-logo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pmb-modal-logo-container.error {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--accent-gold), #f0d574);
}

.pmb-modal-logo-container svg {
  color: #0a0a0a;
  z-index: 2;
}

.pmb-modal-close {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.pmb-modal-close:hover {
  color: #e50914;
  color: var(--accent-red);
  transform: rotate(90deg);
}

.pmb-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ============================================
   FORM GROUPS
   ============================================ */
.pmb-form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pmb-form-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pmb-form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  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;
}

.pmb-form-input:focus {
  border-color: #d4af37;
  border-color: var(--accent-gold);
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* ============================================
   MONTOS RÁPIDOS
   ============================================ */
.pmb-montos-rapidos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pmb-monto-rapido {
  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-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pmb-monto-rapido:hover {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--accent-gold), #f0d574);
  border: none;
  color: #0a0a0a;
  transform: translateY(-2px);
}

/* ============================================
   MÉTODOS DE PAGO
   ============================================ */
.pmb-metodos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.pmb-metodo-card {
  position: relative;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.pmb-metodo-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.pmb-metodo-card.active {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.pmb-metodo-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.pmb-metodo-nombre {
  font-size: 13px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
}

.pmb-metodo-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #27ae60;
  background: var(--success-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* ============================================
   DETALLES DEL MÉTODO
   ============================================ */
.pmb-metodo-detalles {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  animation: fadeIn 0.3s ease;
}

.pmb-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(--border-color);
}

.pmb-detalles-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.pmb-detalles-header h4 {
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0;
}

.pmb-qr-container,
.pmb-cuenta-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pmb-qr-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  margin: 0 auto;
  display: block;
}

.pmb-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.pmb-info-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pmb-info-label {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-weight: 600;
}

.pmb-info-value {
  font-size: 14px;
  color: #e9ecef;
  color: var(--text-primary);
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

.pmb-info-item > span:not(.pmb-info-label):not(.pmb-info-value) {
  flex: 1 1;
  font-size: 14px;
  color: #e9ecef;
  color: var(--text-primary);
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

.pmb-btn-copiar {
  background: rgba(255, 255, 255, 0.1);
  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: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.pmb-btn-copiar:hover {
  background: #d4af37;
  background: var(--accent-gold);
  color: #0a0a0a;
  border-color: #d4af37;
  border-color: var(--accent-gold);
}

/* ============================================
   UPLOAD ÁREA
   ============================================ */
.pmb-upload-area {
  position: relative;
}

.pmb-file-input {
  display: none;
}

.pmb-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

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

.pmb-upload-label span {
  font-size: 14px;
  color: #e9ecef;
  color: var(--text-primary);
  font-weight: 700;
}

.pmb-upload-label small {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--text-secondary);
}

.pmb-preview-container {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

.pmb-preview-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.5);
}

.pmb-preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: all 0.3s ease;
  color: white;
  font-weight: 700;
}

.pmb-preview-container:hover .pmb-preview-overlay {
  opacity: 1;
}

/* ============================================
   BOTÓN ENVIAR SOLICITUD
   ============================================ */
.pmb-btn-enviar-solicitud {
  width: 100%;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  background: linear-gradient(135deg, var(--success-green), #2ecc71);
  border: none;
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.pmb-btn-enviar-solicitud:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(39, 174, 96, 0.6);
}

.pmb-btn-enviar-solicitud:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pmb-spinner-small {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ============================================
   MODAL DE ÉXITO
   ============================================ */
.pmb-modal-exito {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  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: 16px;
  z-index: 2001;
  animation: slideUp 0.3s ease;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.pmb-modal-exito-content {
  padding: 40px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.pmb-exito-icon {
  color: #27ae60;
  color: var(--success-green);
  animation: pulse 1s ease-in-out infinite;
}

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

.pmb-exito-title {
  font-size: 28px;
  font-weight: 900;
  color: #27ae60;
  color: var(--success-green);
  margin: 0;
}

.pmb-exito-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.pmb-exito-detalles {
  width: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pmb-exito-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pmb-exito-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-weight: 600;
}

.pmb-exito-value {
  font-size: 16px;
  color: #e9ecef;
  color: var(--text-primary);
  font-weight: 700;
}

.pmb-exito-whatsapp {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pmb-exito-whatsapp p {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0;
}

.pmb-btn-whatsapp-exito {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border: none;
  border-radius: 8px;
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.pmb-btn-whatsapp-exito:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.pmb-btn-cerrar-exito {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  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: 700;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pmb-btn-cerrar-exito:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #d4af37;
  border-color: var(--accent-gold);
}

/* ============================================
   LOADING
   ============================================ */
.pmb-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

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

.pmb-loading-text {
  margin-top: 16px;
  font-size: 16px;
  color: #b7bcc4;
  color: var(--text-secondary);
}

/* ============================================
   SCROLLBAR
   ============================================ */
.pmb-modal-recarga::-webkit-scrollbar {
  width: 6px;
}

.pmb-modal-recarga::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.pmb-modal-recarga::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--accent-gold);
  border-radius: 3px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .pmb-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .pmb-saldo-card {
    flex-direction: column;
    text-align: center;
  }

  .pmb-saldo-amount {
    font-size: 36px;
  }

  .pmb-stats-grid {
    grid-template-columns: 1fr;
  }

  .pmb-section-tabs {
    flex-direction: column;
  }

  .pmb-tab-btn {
    min-width: 100%;
  }

  .pmb-solicitud-header {
    flex-wrap: wrap;
  }

  .pmb-solicitud-info {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .pmb-detalles-grid {
    grid-template-columns: 1fr;
  }

  .pmb-metodos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pmb-modal-recarga {
    width: 95%;
    max-height: 95vh;
  }

  .pmb-movimiento-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .pmb-movimiento-monto {
    width: 100%;
    text-align: right;
  }
}

/* src/pages/cliente/panel/PanelMiPerfil.css */

: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;
  --warning-yellow: #f39c12;
  --error-red: #e74c3c;
}

/* ============================================
   WRAPPER PRINCIPAL
   ============================================ */
.pmp-wrapper {
  min-height: 100vh;
  padding: 0;
  font-family: 'Rajdhani', sans-serif;
  color: #e9ecef;
  color: var(--text-primary);
  background-color: #0a0a0a;
  background-color: var(--bg-primary);
}

/* ============================================
   HEADER
   ============================================ */
.pmp-header {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.pmp-title-section {
  flex: 1 1;
}

.pmp-title {
  font-size: 32px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  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;
  animation: textShine 2s ease-in-out infinite;
}

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

.pmp-subtitle {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0;
}

.pmp-btn-explorar {
  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: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

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

/* ============================================
   MENSAJE
   ============================================ */
.pmp-mensaje {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease;
}

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

.pmp-mensaje-success {
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid #27ae60;
  border: 1px solid var(--success-green);
  color: #27ae60;
  color: var(--success-green);
}

.pmp-mensaje-error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  border: 1px solid var(--error-red);
  color: #e74c3c;
  color: var(--error-red);
}

.pmp-mensaje-icon {
  flex-shrink: 0;
}

.pmp-mensaje-text {
  flex: 1 1;
  font-size: 14px;
  font-weight: 600;
}

/* ============================================
   CARDS CONTAINER
   ============================================ */
.pmp-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 32px;
}

/* ============================================
   CARD CON BORDE LED
   ============================================ */
.pmp-card-wrapper {
  position: relative;
  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: ledChase 3s linear infinite;
  transition: all 0.3s ease;
}

@keyframes ledChase {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

.pmp-card-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.pmp-card {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border-radius: 13px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ============================================
   CARD HEADER
   ============================================ */
.pmp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--border-color);
}

.pmp-card-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
}

.pmp-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  color: var(--accent-gold);
}

.pmp-card-icon-danger {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(231, 76, 60, 0.05));
  color: #e74c3c;
  color: var(--error-red);
}

.pmp-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0;
}

.pmp-edit-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-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.pmp-edit-button:hover {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--accent-gold), #f0d574);
  border: none;
  color: #0a0a0a;
  transform: translateY(-2px);
}

/* ============================================
   FORM
   ============================================ */
.pmp-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pmp-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pmp-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pmp-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  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;
}

.pmp-input:focus {
  border-color: #d4af37;
  border-color: var(--accent-gold);
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.pmp-input-disabled {
  background-color: rgba(255, 255, 255, 0.03);
  cursor: not-allowed;
  opacity: 0.7;
}

.pmp-hint {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

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

.pmp-password-wrapper .pmp-input {
  padding-right: 48px;
}

.pmp-password-toggle {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: #b7bcc4;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.pmp-password-toggle:hover {
  color: #d4af37;
  color: var(--accent-gold);
}

/* ============================================
   ROLE BADGE
   ============================================ */
.pmp-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
}

/* ============================================
   TARJETA VIP AFILIADO 3D
   ============================================ */
.pmp-afiliado-card-3d-container {
  perspective: 1000px;
  margin: 8px 0;
}

.pmp-afiliado-card-3d {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 240px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  animation: cardFloat 3s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0px) rotateY(0deg); }
  50% { transform: translateY(-10px) rotateY(5deg); }
}

.pmp-afiliado-card-3d:hover {
  animation: cardRotate 1s ease-in-out;
}

@keyframes cardRotate {
  0% { transform: rotateY(0deg); }
  50% { transform: rotateY(10deg); }
  100% { transform: rotateY(0deg); }
}

.pmp-afiliado-card-front {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
  border: 2px solid #d4af37;
  border: 2px solid var(--accent-gold);
}

.pmp-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: rotateGlow 10s linear infinite;
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.pmp-afiliado-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d4af37;
  color: var(--accent-gold);
  font-size: 18px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  z-index: 1;
}

.pmp-afiliado-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1;
}

.pmp-afiliado-card-chip {
  width: 50px;
  height: 40px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.pmp-afiliado-card-chip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 60%;
  background: #0a0a0a;
  border-radius: 4px;
}

.pmp-afiliado-card-email {
  font-size: 14px;
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Courier New', monospace;
  word-break: break-all;
  margin: 0;
}

.pmp-afiliado-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 1;
}

.pmp-afiliado-card-date {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pmp-card-label {
  font-size: 10px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 1px;
}

.pmp-card-value {
  font-size: 14px;
  color: #e9ecef;
  color: var(--text-primary);
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

.pmp-afiliado-infinity {
  font-size: 48px;
  color: #d4af37;
  color: var(--accent-gold);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

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

/* ============================================
   BUTTON GROUP
   ============================================ */
.pmp-button-group {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.pmp-save-button {
  flex: 1 1;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  background: linear-gradient(135deg, var(--success-green), #2ecc71);
  border: none;
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.pmp-save-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(39, 174, 96, 0.6);
}

.pmp-save-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pmp-cancel-button {
  flex: 1 1;
  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-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.pmp-cancel-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: #e74c3c;
  border-color: var(--error-red);
  color: #e74c3c;
  color: var(--error-red);
}

/* ============================================
   PASSWORD INFO
   ============================================ */
.pmp-password-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 20px;
  text-align: center;
  color: #b7bcc4;
  color: var(--text-secondary);
}

.pmp-password-info svg {
  color: #d4af37;
  color: var(--accent-gold);
  opacity: 0.5;
}

.pmp-password-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   INFO LIST
   ============================================ */
.pmp-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pmp-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  gap: 12px;
}

.pmp-info-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pmp-info-value {
  font-size: 14px;
  color: #e9ecef;
  color: var(--text-primary);
  font-weight: 700;
  text-align: right;
}

.pmp-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.pmp-badge-success {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
  color: var(--success-green);
  border: 1px solid #27ae60;
  border: 1px solid var(--success-green);
}

.pmp-badge-error {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  color: var(--error-red);
  border: 1px solid #e74c3c;
  border: 1px solid var(--error-red);
}

/* ============================================
   CARD LOGOUT
   ============================================ */
.pmp-card-logout-wrapper .pmp-card-wrapper {
  background: linear-gradient(90deg, 
    #e74c3c, 
    #ff1a25, 
    #e74c3c
  );
  background: linear-gradient(90deg, 
    var(--error-red), 
    #ff1a25, 
    var(--error-red)
  );
  background-size: 400% 400%;
  animation: ledChase 3s linear infinite;
}

.pmp-logout-info {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.pmp-logout-button {
  width: 100%;
  background: linear-gradient(135deg, #e74c3c, #ff1a25);
  background: linear-gradient(135deg, var(--error-red), #ff1a25);
  border: none;
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
  margin-top: 16px;
}

.pmp-logout-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(231, 76, 60, 0.6);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .pmp-cards-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pmp-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .pmp-cards-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pmp-card {
    padding: 20px;
  }

  .pmp-button-group {
    flex-direction: column;
  }

  .pmp-afiliado-card-3d {
    max-width: 100%;
    height: 220px;
  }

  .pmp-afiliado-card-front {
    padding: 20px;
  }

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

  .pmp-edit-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .pmp-afiliado-card-3d {
    height: 200px;
  }

  .pmp-afiliado-card-front {
    padding: 16px;
  }

  .pmp-afiliado-card-header {
    font-size: 16px;
  }

  .pmp-afiliado-card-email {
    font-size: 12px;
  }

  .pmp-afiliado-infinity {
    font-size: 36px;
  }
}

/* src/pages/cliente/panel/PanelChatPedido.css */
/* PREFIJO: pcp- (Panel Chat Pedido) */

/* ============================================
   VARIABLES (heredadas del panel)
============================================ */
:root {
  --pcp-bg-primary: #0a0a0a;
  --pcp-bg-secondary: rgba(20, 20, 20, 0.95);
  --pcp-bg-tertiary: rgba(30, 30, 30, 0.8);
  --pcp-gold: #d4af37;
  --pcp-gold-light: #f0d574;
  --pcp-gold-dark: #b8941f;
  --pcp-text-primary: #e9ecef;
  --pcp-text-secondary: #b7bcc4;
  --pcp-text-muted: #8b95a5;
  --pcp-border: rgba(255, 255, 255, 0.12);
  --pcp-success: #27ae60;
  --pcp-error: #e74c3c;
  --pcp-info: #3498db;
  --pcp-bubble-cliente: linear-gradient(135deg, #2c5f7a 0%, #1a4a5e 100%);
  --pcp-bubble-vendedor: rgba(40, 40, 40, 0.95);
  --pcp-bubble-admin: linear-gradient(135deg, #6b4e71 0%, #4a3452 100%);
  --pcp-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --pcp-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --pcp-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ============================================
   WRAPPER PRINCIPAL (se adapta al panel)
============================================ */
.pcp-wrapper {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 70px); /* Resta altura del navbar del panel */
  background: #0a0a0a;
  background: var(--pcp-bg-primary);
  color: #e9ecef;
  color: var(--pcp-text-primary);
  font-family: inherit;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pcp-border);
}

/* ============================================
   LOADING Y ERROR
============================================ */
.pcp-loading,
.pcp-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 20px;
  text-align: center;
  padding: 40px;
}

.pcp-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border: 4px solid var(--pcp-border);
  border-top-color: #d4af37;
  border-top-color: var(--pcp-gold);
  border-radius: 50%;
  animation: pcp-spin 0.8s linear infinite;
}

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

.pcp-error svg {
  color: #e74c3c;
  color: var(--pcp-error);
  opacity: 0.8;
}

.pcp-error h2 {
  font-size: 24px;
  margin: 0;
  color: #e9ecef;
  color: var(--pcp-text-primary);
}

.pcp-error p {
  color: #b7bcc4;
  color: var(--pcp-text-secondary);
  margin: 0;
}

.pcp-btn-volver {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  background: linear-gradient(135deg, var(--pcp-gold) 0%, var(--pcp-gold-dark) 100%);
  color: #0a0a0a;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pcp-btn-volver:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--pcp-shadow-md);
}

/* ============================================
   NOTIFICACIÓN
============================================ */
.pcp-notificacion {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(20, 20, 20, 0.95);
  background: var(--pcp-bg-secondary);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  box-shadow: var(--pcp-shadow-lg);
  z-index: 100;
  animation: pcp-slideIn 0.3s ease;
}

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

.pcp-notificacion-success { border-left: 4px solid #27ae60; border-left: 4px solid var(--pcp-success); }
.pcp-notificacion-error { border-left: 4px solid #e74c3c; border-left: 4px solid var(--pcp-error); }
.pcp-notificacion-info { border-left: 4px solid #3498db; border-left: 4px solid var(--pcp-info); }

.pcp-notificacion button {
  background: none;
  border: none;
  color: #8b95a5;
  color: var(--pcp-text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
}

.pcp-notificacion button:hover {
  color: #e9ecef;
  color: var(--pcp-text-primary);
}

/* ============================================
   HEADER DEL CHAT
============================================ */
.pcp-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(20, 20, 20, 0.95);
  background: var(--pcp-bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--pcp-border);
}

.pcp-btn-back {
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pcp-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--pcp-text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
}

.pcp-btn-back:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #d4af37;
  border-color: var(--pcp-gold);
  color: #d4af37;
  color: var(--pcp-gold);
}

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

.pcp-header-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--pcp-border);
}

.pcp-header-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  background: linear-gradient(135deg, var(--pcp-gold) 0%, var(--pcp-gold-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
}

.pcp-header-text h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #e9ecef;
  color: var(--pcp-text-primary);
}

.pcp-header-status {
  font-size: 13px;
  color: #8b95a5;
  color: var(--pcp-text-muted);
}

.pcp-typing {
  color: #d4af37;
  color: var(--pcp-gold);
  font-style: italic;
  animation: pcp-pulse 1.5s infinite;
}

@keyframes pcp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pcp-online {
  color: #2ecc71;
  font-weight: 500;
}

.pcp-offline {
  color: #8b95a5;
  color: var(--pcp-text-muted);
}

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

.pcp-btn-icon {
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pcp-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--pcp-text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
}

.pcp-btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #d4af37;
  border-color: var(--pcp-gold);
  color: #d4af37;
  color: var(--pcp-gold);
}

/* ============================================
   BARRA DE BÚSQUEDA
============================================ */
.pcp-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--pcp-border);
  animation: pcp-slideDown 0.2s ease;
}

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

.pcp-search-bar svg {
  color: #d4af37;
  color: var(--pcp-gold);
  flex-shrink: 0;
}

.pcp-search-bar input {
  flex: 1 1;
  background: none;
  border: none;
  outline: none;
  color: #e9ecef;
  color: var(--pcp-text-primary);
  font-size: 14px;
}

.pcp-search-bar input::placeholder {
  color: #8b95a5;
  color: var(--pcp-text-muted);
}

.pcp-search-bar button {
  background: none;
  border: none;
  color: #8b95a5;
  color: var(--pcp-text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
}

.pcp-search-bar button:hover {
  color: #e74c3c;
  color: var(--pcp-error);
}

/* ============================================
   INFO DEL PEDIDO (Toggle)
============================================ */
.pcp-pedido-info {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  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(--pcp-border);
  animation: pcp-slideDown 0.3s ease;
  position: relative;
}

.pcp-pedido-img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #d4af37;
  border: 2px solid var(--pcp-gold);
}

.pcp-pedido-details {
  flex: 1 1;
  min-width: 0;
}

.pcp-pedido-details h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #e9ecef;
  color: var(--pcp-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pcp-codigo {
  font-size: 12px;
  color: #8b95a5;
  color: var(--pcp-text-muted);
  font-family: monospace;
}

.pcp-pedido-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.pcp-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.pcp-badge-pendiente { background: rgba(241, 196, 15, 0.2); color: #f1c40f; }
.pcp-badge-proceso { background: rgba(52, 152, 219, 0.2); color: #3498db; }
.pcp-badge-entregado { background: rgba(46, 204, 113, 0.2); color: #2ecc71; }
.pcp-badge-completado { background: rgba(39, 174, 96, 0.2); color: #27ae60; }
.pcp-badge-cancelado { background: rgba(231, 76, 60, 0.2); color: #e74c3c; }

.pcp-precio {
  font-size: 15px;
  font-weight: 700;
  color: #d4af37;
  color: var(--pcp-gold);
}

.pcp-close-info {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: #8b95a5;
  color: var(--pcp-text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
}

.pcp-close-info:hover {
  color: #e74c3c;
  color: var(--pcp-error);
}

/* ============================================
   CONTENEDOR DE MENSAJES
============================================ */
.pcp-mensajes-container {
  flex: 1 1;
  overflow-y: auto;
  overflow-x: hidden;
  background: #0a0a0a;
  background: var(--pcp-bg-primary);
}

.pcp-mensajes-container::-webkit-scrollbar {
  width: 8px;
}

.pcp-mensajes-container::-webkit-scrollbar-track {
  background: transparent;
}

.pcp-mensajes-container::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 4px;
}

.pcp-mensajes-lista {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ============================================
   EMPTY STATE
============================================ */
.pcp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 60px 20px;
  text-align: center;
  color: #8b95a5;
  color: var(--pcp-text-muted);
}

.pcp-empty svg {
  opacity: 0.5;
  margin-bottom: 16px;
}

.pcp-empty h3 {
  font-size: 18px;
  margin: 0 0 8px 0;
  color: #b7bcc4;
  color: var(--pcp-text-secondary);
}

.pcp-empty p {
  margin: 0;
  font-size: 14px;
}

/* ============================================
   MENSAJES
============================================ */
.pcp-mensaje {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  animation: pcp-messageIn 0.3s ease;
}

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

.pcp-mensaje-mio {
  flex-direction: row-reverse;
}

.pcp-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 73, 94, 0.8);
  color: #fff;
  flex-shrink: 0;
  font-size: 14px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--pcp-border);
}

.pcp-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.pcp-avatar-admin {
  background: linear-gradient(135deg, #6b4e71 0%, #4a3452 100%);
}

.pcp-mensaje-content {
  max-width: 65%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pcp-mensaje-mio .pcp-mensaje-content {
  align-items: flex-end;
}

.pcp-mensaje-nombre {
  font-size: 12px;
  font-weight: 600;
  color: #b7bcc4;
  color: var(--pcp-text-secondary);
  padding: 0 12px;
}

.pcp-nombre-admin {
  color: #9b7fa3;
}

.pcp-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  box-shadow: var(--pcp-shadow-sm);
  word-wrap: break-word;
  word-break: break-word;
}

.pcp-bubble-mio {
  background: linear-gradient(135deg, #2c5f7a 0%, #1a4a5e 100%);
  background: var(--pcp-bubble-cliente);
  border-bottom-right-radius: 4px;
}

.pcp-bubble-vendedor {
  background: rgba(40, 40, 40, 0.95);
  background: var(--pcp-bubble-vendedor);
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pcp-bubble-admin {
  background: linear-gradient(135deg, #6b4e71 0%, #4a3452 100%);
  background: var(--pcp-bubble-admin);
  border-bottom-left-radius: 4px;
}

/* Reply preview */
.pcp-reply-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.2);
  border-left: 3px solid #d4af37;
  border-left: 3px solid var(--pcp-gold);
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #b7bcc4;
  color: var(--pcp-text-secondary);
}

.pcp-reply-preview svg {
  color: #d4af37;
  color: var(--pcp-gold);
  flex-shrink: 0;
}

/* Imagen en mensaje */
.pcp-mensaje-imagen {
  max-width: 280px;
  max-height: 280px;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: transform 0.2s ease;
}

.pcp-mensaje-imagen:hover {
  transform: scale(1.02);
}

/* Texto */
.pcp-mensaje-texto {
  font-size: 14px;
  line-height: 1.5;
  color: #e9ecef;
  color: var(--pcp-text-primary);
  white-space: pre-wrap;
}

.pcp-code {
  font-family: monospace;
  background: rgba(0, 0, 0, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: #d63031;
}

/* Meta del mensaje */
.pcp-mensaje-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  justify-content: flex-end;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.pcp-check {
  display: flex;
  color: rgba(255, 255, 255, 0.5);
}

.pcp-check-leido {
  color: #3498db;
}

/* Reacciones */
.pcp-reacciones {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.pcp-reacciones span {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 13px;
  cursor: pointer;
}

/* Acciones del mensaje */
.pcp-mensaje-acciones {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pcp-mensaje:hover .pcp-mensaje-acciones {
  opacity: 1;
}

.pcp-mensaje-acciones button {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 6px;
  color: #b7bcc4;
  color: var(--pcp-text-secondary);
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.pcp-mensaje-acciones button:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #d4af37;
  color: var(--pcp-gold);
}

/* ============================================
   EMAIL COPIABLE
============================================ */
.pcp-email-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
}

.pcp-email-text {
  font-family: monospace;
  font-size: 13px;
  color: #e9ecef;
  color: var(--pcp-text-primary);
}

.pcp-copy-btn {
  padding: 4px 8px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.pcp-copy-btn:hover {
  background: #2980b9;
}

.pcp-copy-success {
  background: #27ae60 !important;
}

/* ============================================
   PREVIEW DE IMAGEN
============================================ */
.pcp-imagen-preview {
  padding: 16px 20px;
  background: rgba(10, 10, 10, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--pcp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pcp-imagen-preview img {
  max-height: 200px;
  border-radius: 10px;
}

.pcp-preview-close {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 8px;
  color: #e9ecef;
  color: var(--pcp-text-primary);
  cursor: pointer;
}

.pcp-preview-close:hover {
  background: #e74c3c;
  background: var(--pcp-error);
}

.pcp-subiendo {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 8px;
  font-size: 13px;
}

/* ============================================
   RESPONDER PREVIEW
============================================ */
.pcp-responder-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(20, 20, 20, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--pcp-border);
}

.pcp-responder-preview svg {
  color: #d4af37;
  color: var(--pcp-gold);
  flex-shrink: 0;
}

.pcp-responder-preview > div {
  flex: 1 1;
  min-width: 0;
}

.pcp-responder-nombre {
  font-size: 12px;
  font-weight: 600;
  color: #d4af37;
  color: var(--pcp-gold);
  display: block;
}

.pcp-responder-texto {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--pcp-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.pcp-responder-preview button {
  background: none;
  border: none;
  color: #8b95a5;
  color: var(--pcp-text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
}

.pcp-responder-preview button:hover {
  color: #e74c3c;
  color: var(--pcp-error);
}

/* ============================================
   INPUT AREA
============================================ */
.pcp-input-area {
  padding: 14px 20px;
  background: rgba(20, 20, 20, 0.95);
  background: var(--pcp-bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--pcp-border);
}

.pcp-input-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pcp-border);
  border-radius: 12px;
  padding: 8px 12px;
  transition: all 0.3s ease;
}

.pcp-input-form:focus-within {
  border-color: #d4af37;
  border-color: var(--pcp-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.pcp-input-form textarea {
  flex: 1 1;
  background: none;
  border: none;
  outline: none;
  color: #e9ecef;
  color: var(--pcp-text-primary);
  font-size: 14px;
  font-family: inherit;
  resize: none;
  max-height: 100px;
  min-height: 24px;
  line-height: 1.5;
  padding: 4px 0;
}

.pcp-input-form textarea::placeholder {
  color: #8b95a5;
  color: var(--pcp-text-muted);
}

.pcp-emoji-picker {
  position: absolute;
  bottom: 100%;
  left: 60px;
  margin-bottom: 10px;
  z-index: 1000;
  animation: pcp-popIn 0.2s ease;
}

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

.pcp-btn-send {
  padding: 10px 12px;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  background: linear-gradient(135deg, var(--pcp-gold) 0%, var(--pcp-gold-dark) 100%);
  border: none;
  border-radius: 8px;
  color: #0a0a0a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pcp-btn-send:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-shadow: var(--pcp-shadow-md);
}

.pcp-btn-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

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

/* ============================================
   MODAL DE IMAGEN
============================================ */
.pcp-modal-imagen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 40px;
  animation: pcp-fadeIn 0.2s ease;
}

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

.pcp-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pcp-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pcp-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--pcp-text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.pcp-modal-close:hover {
  background: #e74c3c;
  background: var(--pcp-error);
  transform: rotate(90deg);
}

.pcp-modal-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  object-fit: contain;
}

.pcp-btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pcp-border);
  border-radius: 10px;
  color: #e9ecef;
  color: var(--pcp-text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pcp-btn-download:hover {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  background: linear-gradient(135deg, var(--pcp-gold) 0%, var(--pcp-gold-dark) 100%);
  color: #0a0a0a;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
  .pcp-wrapper {
    height: calc(100vh - 60px);
    border-radius: 0;
    border: none;
  }

  .pcp-mensaje-content {
    max-width: 80%;
  }

  .pcp-mensaje-acciones {
    opacity: 1;
  }

  .pcp-pedido-info {
    flex-wrap: wrap;
  }

  .pcp-pedido-meta {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .pcp-header {
    padding: 10px 14px;
  }

  .pcp-header-text h2 {
    font-size: 14px;
  }

  .pcp-mensajes-lista {
    padding: 14px;
  }

  .pcp-mensaje-content {
    max-width: 85%;
  }

  .pcp-input-area {
    padding: 10px 14px;
  }
}
/* ============================================
   FIX: BOTONES CLICKEABLES
============================================ */

/* Asegurar que el header tenga z-index correcto */
.pcp-header {
  position: relative;
  z-index: 10;
}

/* Botón de retroceder clickeable */
.pcp-btn-back {
  position: relative;
  z-index: 20;
  pointer-events: auto;
  cursor: pointer;
}

/* Botones de acciones del header */
.pcp-header-actions {
  position: relative;
  z-index: 20;
}

.pcp-btn-icon {
  pointer-events: auto;
  cursor: pointer;
}

/* Botón de enviar */
.pcp-btn-send {
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

/* Input area */
.pcp-input-area {
  position: relative;
  z-index: 10;
}

.pcp-input-form {
  position: relative;
  z-index: 15;
}

/* Acciones de mensajes */
.pcp-mensaje-acciones button {
  pointer-events: auto;
}

/* Close buttons */
.pcp-close-info,
.pcp-preview-close,
.pcp-modal-close {
  pointer-events: auto;
  cursor: pointer;
  z-index: 30;
}
/* Al final de PanelLayout.css */

/* FAB no debe bloquear contenido interactivo */
.panel-fab-container {
  pointer-events: none; /* El contenedor no atrapa clicks */
}

.panel-fab-main,
.panel-fab-action {
  pointer-events: auto; /* Solo los botones sí */
}

.panel-fab-overlay {
  pointer-events: auto; /* El overlay cierra el menú */
}

/* ============================================
   BURBUJA DE TICKET DE SOPORTE
   ============================================ */

.pcp-ticket-ref {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pcp-ticket-ref-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.pcp-ticket-ref-header svg {
  color: #d4af37;
  color: var(--accent-gold, #d4af37);
}

.pcp-ticket-ref-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
}

.pcp-ticket-ref-row {
  display: flex;
  gap: 4px;
}

.pcp-ticket-ref-label {
  color: rgba(255, 255, 255, 0.6);
  min-width: 65px;
}

.pcp-ticket-ref-value {
  font-weight: 500;
}

.pcp-ticket-ref-imagenes {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.pcp-ticket-ref-imagenes img {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pcp-ticket-ref-imagenes img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.pcp-ticket-ref-mas {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  align-self: center;
}

/* ============================================
   REACCIONES EN MENSAJES
   ============================================ */

.pcp-reacciones {
  display: inline-flex;
  gap: 4px;
  margin-top: 4px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 11px;
}

.pcp-reacciones span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

/* Botones de reacciones / acciones */

.pcp-mensaje-acciones {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(2px);
  pointer-events: none;
  transition: all 0.15s ease;
}

.pcp-mensaje:hover .pcp-mensaje-acciones {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pcp-mensaje-acciones button {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
  border-radius: 999px;
  font-size: 13px;
  transition: background 0.15s ease, transform 0.1s ease;
}

.pcp-mensaje-acciones button:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

/* ============================================
   PREVIEW DE RESPUESTA
   ============================================ */

.pcp-reply-preview {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  margin-bottom: 4px;
  border-left: 3px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

.pcp-reply-preview span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Barra inferior cuando respondes */

.pcp-responder-preview {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(10, 10, 10, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pcp-responder-nombre {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #d4af37;
  color: var(--accent-gold, #d4af37);
}

.pcp-responder-texto {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

.pcp-responder-preview button {
  margin-left: auto;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   ANIMACIONES PEQUEÑAS
   ============================================ */

.pcp-typing {
  font-size: 12px;
  color: #4dd2ff;
  color: var(--accent-cyan, #4dd2ff);
  position: relative;
}

.pcp-typing::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 4px;
  border-radius: 50%;
  background: #4dd2ff;
  background: var(--accent-cyan, #4dd2ff);
  animation: pcp-pulse 1s infinite ease-in-out;
}

@keyframes pcp-pulse {
  0% {
    transform: scale(0.7);
    opacity: 0.6;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.7);
    opacity: 0.6;
  }
}

/* Bubble hover leve para mensajes propios */

.pcp-bubble-mio {
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.pcp-mensaje-mio:hover .pcp-bubble-mio {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

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

@media (max-width: 768px) {
  .pcp-mensaje-acciones {
    opacity: 1;
    pointer-events: auto;
  }

  .pcp-reply-preview span {
    max-width: 180px;
  }

  .pcp-responder-texto {
    max-width: 70vw;
  }
}

.pcp-pedido-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.pcp-pedido-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* 🆕 PLACEHOLDER */
.pcp-pedido-img-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

/* src/pages/cliente/panel/PanelMisChats.css */

.pmc-wrapper {
  padding: 16px 18px 20px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Header */

.pmc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.16), rgba(0, 0, 0, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pmc-header-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  color: var(--accent-gold, #d4af37);
}

.pmc-header h1 {
  font-size: 18px;
  margin: 0;
}

.pmc-header p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Toolbar */

.pmc-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.pmc-search {
  flex: 1 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.pmc-search svg {
  color: rgba(255, 255, 255, 0.65);
}

.pmc-search input {
  flex: 1 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 12px;
  color: #f8f9fa;
}

.pmc-search input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.pmc-search-clear {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.pmc-summary {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.8);
  color: rgba(255, 255, 255, 0.75);
}

/* Lista */

.pmc-list {
  border-radius: 14px;
  background: radial-gradient(circle at top, #111218, #050506);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 0;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.85);
}

/* Item */

.pmc-item {
  width: 100%;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.08s ease;
}

.pmc-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pmc-item:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.pmc-item-left {
  flex-shrink: 0;
}

.pmc-item-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.pmc-item-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(10, 10, 10, 0.9);
}

/* Centro */

.pmc-item-center {
  flex: 1 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pmc-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.pmc-item-title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.pmc-item-status {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: capitalize;
}

/* Colores de estado de pedido si los usas */
.pmc-status-pendiente {
  background: rgba(243, 156, 18, 0.15);
  color: #f1c40f;
}
.pmc-status-en-proceso {
  background: rgba(52, 152, 219, 0.15);
  color: #3498db;
}
.pmc-status-entregado,
.pmc-status-completado {
  background: rgba(39, 174, 96, 0.15);
  color: #2ecc71;
}
.pmc-status-cancelado {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
}

.pmc-item-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Derecha */

.pmc-item-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.pmc-item-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.pmc-unread-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4b5c, #ff9a3c);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Loading / Empty */

.pmc-loading,
.pmc-empty {
  min-height: 220px;
  border-radius: 14px;
  background: radial-gradient(circle at top, #111218, #050506);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.pmc-loading p,
.pmc-empty p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.pmc-empty h2 {
  font-size: 16px;
  margin: 0;
}

.pmc-spinner {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: #d4af37;
  border-top-color: var(--accent-gold, #d4af37);
  animation: pmc-spin 0.8s linear infinite;
}

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

/* Responsive */

@media (max-width: 768px) {
  .pmc-wrapper {
    padding: 12px;
  }

  .pmc-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .pmc-summary {
    align-self: flex-end;
  }

  .pmc-item-img,
  .pmc-item-placeholder {
    width: 38px;
    height: 38px;
  }

  .pmc-item-title {
    font-size: 12px;
  }

  .pmc-item-sub {
    font-size: 11px;
  }
}


/* Fecha de expiración - Tema Oscuro Premium */
.pmc-expiracion {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: -webkit-fit-content;
  width: fit-content;
  max-width: -webkit-max-content;
  max-width: max-content;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.pmc-expiracion::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  transition: width 0.25s ease;
}

.pmc-expiracion:hover::before {
  width: 4px;
}

.pmc-expiracion span {
  line-height: 1.3;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.pmc-expiracion svg {
  flex-shrink: 0;
}

/* Estado: Activo - Verde Oscuro Elegante */
.pmc-expiracion.activo {
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.18), rgba(0, 0, 0, 0.85));
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
}

.pmc-expiracion.activo::before {
  background: linear-gradient(180deg, #10b981, #059669);
}

.pmc-expiracion.activo svg {
  color: #10b981;
  filter: drop-shadow(0 0 2px rgba(16, 185, 129, 0.5));
}

.pmc-expiracion.activo:hover {
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.24), rgba(0, 0, 0, 0.8));
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.2);
}

/* Estado: Por Vencer - Naranja/Dorado Alerta */
.pmc-expiracion.por-vencer {
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.2), rgba(0, 0, 0, 0.85));
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
  animation: pulse-warning-dark 2.5s ease-in-out infinite;
}

.pmc-expiracion.por-vencer::before {
  background: linear-gradient(180deg, #f59e0b, #d97706);
  animation: slide-glow 2s ease-in-out infinite;
}

.pmc-expiracion.por-vencer svg {
  color: #fbbf24;
  filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.6));
  animation: shake-alert 2s ease-in-out infinite;
}

.pmc-expiracion.por-vencer:hover {
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.28), rgba(0, 0, 0, 0.8));
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 3px 14px rgba(245, 158, 11, 0.25);
}

/* Estado: Vencido - Rojo Oscuro Sutil */
.pmc-expiracion.vencido {
  background: radial-gradient(circle at top left, rgba(239, 68, 68, 0.16), rgba(0, 0, 0, 0.85));
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.12);
  opacity: 0.9;
}

.pmc-expiracion.vencido::before {
  background: linear-gradient(180deg, #ef4444, #dc2626);
}

.pmc-expiracion.vencido svg {
  color: #ef4444;
  filter: drop-shadow(0 0 2px rgba(239, 68, 68, 0.5));
}

.pmc-expiracion.vencido:hover {
  background: radial-gradient(circle at top left, rgba(239, 68, 68, 0.22), rgba(0, 0, 0, 0.8));
  border-color: rgba(239, 68, 68, 0.4);
  opacity: 1;
}

/* Animaciones Premium Oscuras */
@keyframes pulse-warning-dark {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
  }
  50% {
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3), 0 0 20px rgba(245, 158, 11, 0.08);
  }
}

@keyframes slide-glow {
  0%, 100% {
    transform: translateY(-100%);
    opacity: 0.5;
  }
  50% {
    transform: translateY(100%);
    opacity: 1;
  }
}

@keyframes shake-alert {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: rotate(-4deg);
  }
  20%, 40%, 60%, 80% {
    transform: rotate(4deg);
  }
}

/* Efecto de brillo sutil al hover */
.pmc-expiracion::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.pmc-expiracion:hover::after {
  left: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .pmc-expiracion {
    font-size: 10px;
    padding: 4px 8px;
    gap: 5px;
  }
  
  .pmc-expiracion svg {
    width: 12px;
    height: 12px;
  }
}

/* src/pages/cliente/panel/PanelMisPedidos.css */

: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;
  --warning-yellow: #f39c12;
}

/* ============================================
   WRAPPER PRINCIPAL
   ============================================ */
.pmp-wrapper {
  min-height: 100vh;
  padding: 0;
  font-family: 'Rajdhani', sans-serif;
  color: #e9ecef;
  color: var(--text-primary);
  background-color: #0a0a0a;
  background-color: var(--bg-primary);
}

/* ============================================
   HEADER
   ============================================ */
.pmp-header {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.pmp-title-section {
  flex: 1 1;
}

.pmp-title {
  font-size: 32px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  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;
  animation: textShine 2s ease-in-out infinite;
}

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

.pmp-subtitle {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0;
}

.pmp-btn-explorar {
  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: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

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

/* ============================================
   ESTADÍSTICAS CON BORDE LED
   ============================================ */
.pmp-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 32px;
}

.pmp-stat-card-wrapper {
  position: relative;
  border-radius: 12px;
  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: ledChase 3s linear infinite;
}

@keyframes ledChase {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

.pmp-stat-card {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border-radius: 9px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.pmp-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pmp-stat-icon-total {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
  color: #d4af37;
  color: var(--accent-gold);
}

.pmp-stat-icon-pendiente {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.2), rgba(243, 156, 18, 0.05));
  color: #f39c12;
  color: var(--warning-yellow);
}

.pmp-stat-icon-proceso {
  background: linear-gradient(135deg, rgba(77, 210, 255, 0.2), rgba(77, 210, 255, 0.05));
  color: #4dd2ff;
  color: var(--accent-cyan);
}

.pmp-stat-icon-entregado {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.2), rgba(39, 174, 96, 0.05));
  color: #27ae60;
  color: var(--success-green);
}

.pmp-stat-info {
  flex: 1 1;
}

.pmp-stat-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0 0 4px 0;
  font-weight: 500;
}

.pmp-stat-value {
  font-size: 28px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Orbitron', monospace;
  margin: 0;
}

/* ============================================
   FILTROS Y BÚSQUEDA
   ============================================ */
.pmp-filters-section {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pmp-search-box {
  position: relative;
  width: 100%;
  max-width: 500px;
}

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

.pmp-search-input {
  width: 100%;
  padding: 12px 12px 12px 44px;
  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;
}

.pmp-search-input:focus {
  border-color: #d4af37;
  border-color: var(--accent-gold);
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

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

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

.pmp-filter-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: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.pmp-filter-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

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

/* ============================================
   EMPTY STATE
   ============================================ */
.pmp-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
  padding: 40px 20px;
}

.pmp-empty-icon {
  color: #b7bcc4;
  color: var(--text-secondary);
  opacity: 0.5;
  margin-bottom: 20px;
}

.pmp-empty-title {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.pmp-empty-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
}

/* ============================================
   GRID DE PEDIDOS
   ============================================ */
.pmp-pedidos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 32px;
}

/* ============================================
   TARJETA DE PEDIDO CON BORDE LED
   ============================================ */
.pmp-pedido-card-wrapper {
  position: relative;
  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: ledChase 3s linear infinite;
  transition: transform 0.3s ease;
}

.pmp-pedido-card-wrapper:hover {
  transform: translateY(-4px);
}

.pmp-pedido-led-border {
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pmp-pedido-card-wrapper:hover .pmp-pedido-led-border {
  opacity: 1;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.pmp-pedido-card {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border-radius: 13px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

/* Header de la tarjeta */
.pmp-pedido-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pmp-pedido-codigo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-weight: 600;
}

.pmp-pedido-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.pmp-badge-pendiente {
  background: rgba(243, 156, 18, 0.2);
  color: #f39c12;
  color: var(--warning-yellow);
  border: 1px solid #f39c12;
  border: 1px solid var(--warning-yellow);
}

.pmp-badge-proceso {
  background: rgba(77, 210, 255, 0.2);
  color: #4dd2ff;
  color: var(--accent-cyan);
  border: 1px solid #4dd2ff;
  border: 1px solid var(--accent-cyan);
}

.pmp-badge-entregado {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
  color: var(--success-green);
  border: 1px solid #27ae60;
  border: 1px solid var(--success-green);
}

.pmp-badge-completado {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
  color: var(--success-green);
  border: 1px solid #27ae60;
  border: 1px solid var(--success-green);
}

.pmp-badge-cancelado {
  background: rgba(229, 9, 20, 0.2);
  color: #e50914;
  color: var(--accent-red);
  border: 1px solid #e50914;
  border: 1px solid var(--accent-red);
}

/* Timeline */
.pmp-pedido-timeline {
  display: flex;
  align-items: center;
  padding: 12px 0;
}

.pmp-timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1 1;
}

.pmp-timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  background: var(--border-color);
  transition: all 0.3s ease;
}

.pmp-timeline-active .pmp-timeline-dot {
  background: #d4af37;
  background: var(--accent-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.pmp-timeline-label {
  font-size: 10px;
  color: #b7bcc4;
  color: var(--text-secondary);
  text-align: center;
}

.pmp-timeline-active .pmp-timeline-label {
  color: #d4af37;
  color: var(--accent-gold);
  font-weight: 700;
}

.pmp-timeline-line {
  height: 2px;
  flex: 1 1;
  background: rgba(255, 255, 255, 0.12);
  background: var(--border-color);
  margin-bottom: 16px;
}

/* Contenido */
.pmp-pedido-content {
  display: flex;
  gap: 16px;
}

.pmp-pedido-imagen-container {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.pmp-pedido-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pmp-pedido-info {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pmp-pedido-nombre {
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.pmp-pedido-codigo-producto {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pmp-pedido-vendedor {
  font-size: 12px;
  color: #d4af37;
  color: var(--accent-gold);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pmp-pedido-detalles {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.pmp-pedido-detalle-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #b7bcc4;
  color: var(--text-secondary);
}

.pmp-precio {
  color: #d4af37;
  color: var(--accent-gold);
  font-weight: 700;
}

.pmp-pedido-fecha {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pmp-pedido-renovacion-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(77, 210, 255, 0.15);
  border: 1px solid #4dd2ff;
  border: 1px solid var(--accent-cyan);
  border-radius: 4px;
  font-size: 11px;
  color: #4dd2ff;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Mensaje de estado */
.pmp-pedido-mensaje-estado {
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid #27ae60;
  border: 1px solid var(--success-green);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #27ae60;
  color: var(--success-green);
}

.pmp-mensaje-cancelado {
  background: rgba(229, 9, 20, 0.15);
  border-color: #e50914;
  border-color: var(--accent-red);
  color: #e50914;
  color: var(--accent-red);
}

/* Acciones */
.pmp-pedido-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.pmp-btn-ver,
.pmp-btn-chat {
  flex: 1 1;
  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: 10px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.pmp-btn-ver:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
  border-color: var(--accent-gold);
  color: #d4af37;
  color: var(--accent-gold);
}

.pmp-btn-chat:hover {
  background: rgba(77, 210, 255, 0.15);
  border-color: #4dd2ff;
  border-color: var(--accent-cyan);
  color: #4dd2ff;
  color: var(--accent-cyan);
}

/* ============================================
   LOADING
   ============================================ */
.pmp-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

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

.pmp-loading-text {
  margin-top: 16px;
  font-size: 16px;
  color: #b7bcc4;
  color: var(--text-secondary);
}

/* ============================================
   NOTIFICACIÓN
   ============================================ */
.pmp-notificacion {
  position: fixed;
  top: 20px;
  right: 20px;
  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);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.3s ease;
}

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

.pmp-notificacion-contenido {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.pmp-notificacion-success {
  border-color: #27ae60;
  border-color: var(--success-green);
  color: #27ae60;
  color: var(--success-green);
}

.pmp-notificacion-error {
  border-color: #e50914;
  border-color: var(--accent-red);
  color: #e50914;
  color: var(--accent-red);
}

.pmp-notificacion-info {
  border-color: #4dd2ff;
  border-color: var(--accent-cyan);
  color: #4dd2ff;
  color: var(--accent-cyan);
}

.pmp-notificacion-cerrar {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.pmp-notificacion-cerrar:hover {
  color: #e50914;
  color: var(--accent-red);
  transform: rotate(90deg);
}

/* ============================================
   MODAL
   ============================================ */
.pmp-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; }
}

.pmp-modal-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  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: ledChase 3s linear infinite;
}

.pmp-modal-content {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border-radius: 13px;
  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;
  }
}

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

.pmp-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0;
}

.pmp-modal-close {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.pmp-modal-close:hover {
  color: #e50914;
  color: var(--accent-red);
  transform: scale(1.1) rotate(90deg);
}

.pmp-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pmp-modal-imagen-container {
  width: 100%;
  max-height: 200px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
}

.pmp-modal-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pmp-modal-estado-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.pmp-modal-estado-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-weight: 600;
}

.pmp-modal-badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.pmp-modal-badge-pendiente {
  background: rgba(243, 156, 18, 0.2);
  color: #f39c12;
  color: var(--warning-yellow);
}

.pmp-modal-badge-proceso {
  background: rgba(77, 210, 255, 0.2);
  color: #4dd2ff;
  color: var(--accent-cyan);
}

.pmp-modal-badge-entregado {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
  color: var(--success-green);
}

.pmp-modal-badge-completado {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
  color: var(--success-green);
}

.pmp-modal-badge-cancelado {
  background: rgba(229, 9, 20, 0.2);
  color: #e50914;
  color: var(--accent-red);
}

.pmp-modal-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pmp-modal-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #d4af37;
  color: var(--accent-gold);
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--border-color);
}

.pmp-modal-info-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pmp-modal-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.pmp-modal-label {
  color: #b7bcc4;
  color: var(--text-secondary);
  font-weight: 500;
}

.pmp-modal-value {
  color: #e9ecef;
  color: var(--text-primary);
  font-weight: 700;
}

.pmp-modal-value-small {
  color: #e9ecef;
  color: var(--text-primary);
  font-size: 12px;
}

.pmp-modal-label-total {
  color: #d4af37;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 16px;
}

.pmp-modal-value-total {
  color: #d4af37;
  color: var(--accent-gold);
  font-weight: 900;
  font-size: 20px;
  font-family: 'Orbitron', monospace;
}

.pmp-modal-id {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pmp-modal-id-label {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--text-secondary);
  font-weight: 600;
}

.pmp-modal-id-code {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #4dd2ff;
  color: var(--accent-cyan);
  word-break: break-all;
}

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

.pmp-modal-btn-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 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pmp-modal-btn-cerrar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

/* Scrollbar para modal */
.pmp-modal-content::-webkit-scrollbar {
  width: 6px;
}

.pmp-modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.pmp-modal-content::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--accent-gold);
  border-radius: 3px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .pmp-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .pmp-stats-grid {
    grid-template-columns: 1fr;
  }

  .pmp-pedidos-grid {
    grid-template-columns: 1fr;
  }

  .pmp-filter-buttons {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}


/* Permitir clicks a través del borde LED */
.pmp-pedido-led-border {
  pointer-events: none;
}

/* Asegurar que los botones sean clickeables */
.pmp-pedido-actions {
  position: relative;
  z-index: 10;
}

.pmp-btn-ver,
.pmp-btn-chat {
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 11;
}

/* Lo mismo para el modal */
.pmp-modal-led-border {
  pointer-events: none;
}

/* Lo mismo para las stats */
.pmp-stat-led-border {
  pointer-events: none;
}

/* src/pages/cliente/modales/TicketCliente.css */

.ticket-modal-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1400;
}

.ticket-modal-content {
  position: relative;
  background: linear-gradient(145deg, #0d0d0f, #050506);
  border-radius: 18px;
  max-width: 720px;
  width: 100%;
  padding: 20px 22px 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.22);
  color: #e9ecef;
  color: var(--text-primary, #e9ecef);
  font-family: 'Rajdhani', sans-serif;
}

.ticket-modal-large {
  max-height: 90vh;
  overflow-y: auto;
}

/* Scroll interno suave */
.ticket-modal-content::-webkit-scrollbar {
  width: 6px;
}
.ticket-modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}
.ticket-modal-content::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--accent-gold, #d4af37);
  border-radius: 4px;
}

/* Borde glow interno */
.ticket-modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.35), transparent 65%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
  pointer-events: none;
}

/* Cerrar */
.ticket-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 15, 18, 0.9);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 1;
}

.ticket-modal-close:hover {
  background: rgba(229, 9, 20, 0.12);
  border-color: rgba(229, 9, 20, 0.7);
  transform: rotate(90deg);
}

/* Header */

.ticket-modal-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 4px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.ticket-header-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.4), rgba(10, 10, 10, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  color: var(--accent-gold, #d4af37);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
}

.ticket-modal-header h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticket-modal-header p {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--text-secondary, #b7bcc4);
}

/* Mensajes */

.ticket-mensaje {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  margin-bottom: 10px;
}

.ticket-mensaje svg {
  flex-shrink: 0;
}

.ticket-mensaje-success {
  background: rgba(39, 174, 96, 0.08);
  color: #2ecc71;
  border: 1px solid rgba(39, 174, 96, 0.5);
}

.ticket-mensaje-error {
  background: rgba(231, 76, 60, 0.08);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.5);
}

/* Form */

.ticket-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.ticket-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--text-primary, #e9ecef);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticket-required {
  color: #e74c3c;
  margin-left: 2px;
}

/* Inputs base */

.ticket-form-group input,
.ticket-form-group textarea {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), rgba(5, 5, 8, 0.98));
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 10px;
  font-size: 13px;
  color: #e9ecef;
  color: var(--text-primary, #e9ecef);
  outline: none;
  transition: all 0.2s ease;
  font-family: 'Rajdhani', sans-serif;
}

.ticket-form-group input:focus,
.ticket-form-group textarea:focus {
  border-color: #d4af37;
  border-color: var(--accent-gold, #d4af37);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.5);
}

.ticket-form-group input::placeholder,
.ticket-form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.ticket-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.ticket-helper-text {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--text-secondary, #b7bcc4);
}

/* Contador */

.ticket-contador {
  align-self: flex-end;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

/* Selects custom */

.ticket-custom-select {
  position: relative;
}

.ticket-select-button {
  width: 100%;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), rgba(5, 5, 8, 0.98));
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e9ecef;
  color: var(--text-primary, #e9ecef);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ticket-select-button span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 8px;
  border-left: 3px solid transparent;
}

.ticket-select-button:hover {
  border-color: #d4af37;
  border-color: var(--accent-gold, #d4af37);
}

.ticket-dropdown-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #050608;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  z-index: 20;
  max-height: 260px;
  overflow-y: auto;
}

/* Scroll select */
.ticket-dropdown-options::-webkit-scrollbar {
  width: 6px;
}
.ticket-dropdown-options::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.8);
  border-radius: 3px;
}

.ticket-option {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--text-primary, #e9ecef);
  padding: 7px 10px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.ticket-option:hover {
  background: rgba(255, 255, 255, 0.04);
}

.ticket-option-active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(124, 92, 255, 0.2));
}

/* Chevron rotado */

.ticket-chevron-rotated {
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

/* Selector pedidos */

.ticket-dropdown-pedidos {
  max-height: 280px;
  overflow-y: auto;
}

.ticket-pedido-option {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticket-pedido-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.ticket-pedido-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ticket-pedido-nombre {
  font-size: 13px;
  font-weight: 600;
}

.ticket-pedido-meta {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--text-secondary, #b7bcc4);
}

/* Upload imágenes */

.ticket-upload-area {
  margin-top: 4px;
  padding: 14px 10px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.04), rgba(5, 5, 8, 0.95));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ticket-upload-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  background: linear-gradient(135deg, #667eea, #7c5cff);
  color: #fff;
  box-shadow: 0 6px 22px rgba(102, 126, 234, 0.5);
  transition: all 0.2s ease;
}

.ticket-upload-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(102, 126, 234, 0.7);
}

.ticket-upload-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.ticket-upload-hint {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--text-secondary, #b7bcc4);
  text-align: center;
}

.ticket-upload-hint kbd {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 1px 5px;
  font-family: monospace;
  font-size: 10px;
}

/* Preview imágenes */

.ticket-imagenes-preview {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.ticket-imagen-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
  aspect-ratio: 1;
}

.ticket-imagen-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticket-imagen-eliminar {
  position: absolute;
  top: 4px;
  right: 4px;
  border: none;
  border-radius: 999px;
  width: 26px;
  height: 26px;
  background: rgba(231, 76, 60, 0.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.7);
  transition: all 0.2s ease;
}

.ticket-imagen-eliminar:hover {
  transform: scale(1.05);
}

/* Botones acción */

.ticket-form-actions {
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.ticket-btn {
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.2s ease;
}

.ticket-btn-cancel {
  background: transparent;
  color: #b7bcc4;
  color: var(--text-secondary, #b7bcc4);
  border-color: rgba(255, 255, 255, 0.16);
}

.ticket-btn-cancel:hover {
  border-color: rgba(229, 9, 20, 0.7);
  color: #fff;
}

.ticket-btn-submit {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--accent-gold, #d4af37), #f0d574);
  color: #0b0b0c;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.6);
}

.ticket-btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.75);
}

.ticket-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

/* Spinner */

.ticket-spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-top-color: #000;
  animation: ticket-spin 0.7s linear infinite;
}

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

/* Modal confirmación */

.ticket-confirmacion-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
}

.ticket-confirmacion-content {
  background: #050608;
  border-radius: 16px;
  padding: 18px 18px 14px;
  width: 100%;
  max-width: 420px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #e9ecef;
  color: var(--text-primary, #e9ecef);
}

.ticket-confirmacion-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
  color: #f1c40f;
}

.ticket-confirmacion-content h3 {
  text-align: center;
  font-size: 17px;
  margin-bottom: 4px;
}

.ticket-confirmacion-content p {
  text-align: center;
  font-size: 13px;
  color: #b7bcc4;
  color: var(--text-secondary, #b7bcc4);
  margin-bottom: 10px;
}

.ticket-confirmacion-detalles {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.ticket-confirmacion-item {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 13px;
}

.ticket-confirmacion-item strong {
  color: #b7bcc4;
  color: var(--text-secondary, #b7bcc4);
}

.ticket-confirmacion-acciones {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.ticket-btn-confirmar {
  padding: 7px 14px;
  border-radius: 999px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
}

.ticket-btn-confirmar-cancel {
  background: transparent;
  color: #b7bcc4;
  color: var(--text-secondary, #b7bcc4);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.ticket-btn-confirmar-ok {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--accent-red, #e50914), var(--accent-red-light, #ff1a25));
  color: #fff;
  box-shadow: 0 6px 18px rgba(229, 9, 20, 0.7);
}

/* Responsive */

@media (max-width: 768px) {
  .ticket-modal-content {
    margin: 0 10px;
    padding: 16px 14px 12px;
  }

  .ticket-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ticket-btn {
    justify-content: center;
  }
}

/* src/pages/cliente/panel/PanelTickets.css */

.pt-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
}

/* HEADER */

.pt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.pt-title-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pt-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
}

.pt-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

/* STATS */

.pt-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.pt-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pt-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.pt-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.pt-stat-value {
  font-size: 18px;
  font-weight: 700;
}

/* Colores de stats */

.pt-stat-total .pt-stat-icon {
  background: rgba(255, 255, 255, 0.06);
}

.pt-stat-abiertos .pt-stat-icon {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
}

.pt-stat-proceso .pt-stat-icon {
  background: rgba(241, 196, 15, 0.15);
  color: #f1c40f;
}

.pt-stat-resueltos .pt-stat-icon {
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
}

/* CONTROLES */

.pt-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.pt-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pt-search-icon {
  color: var(--text-secondary);
}

.pt-search input {
  flex: 1 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 14px;
}

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

.pt-search-clear {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pt-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
}

.pt-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pt-filter-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-secondary);
}

.pt-filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pt-filter-btn:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.pt-filter-btn.active {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
  color: white;
  border-color: transparent;
}

/* LISTA */

.pt-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pt-item {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 55%),
              rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pt-item-main {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pt-item-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.pt-item-id {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.pt-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pt-badge-estado,
.pt-badge-prioridad {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

/* Estados */

.pt-estado-abierto {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.pt-estado-proceso {
  background: rgba(241, 196, 15, 0.12);
  color: #f1c40f;
}

.pt-estado-resuelto {
  background: rgba(39, 174, 96, 0.12);
  color: #2ecc71;
}

.pt-estado-cerrado {
  background: rgba(149, 165, 166, 0.18);
  color: #bdc3c7;
}

.pt-estado-rechazado {
  background: rgba(155, 89, 182, 0.14);
  color: #9b59b6;
}

.pt-estado-default {
  background: rgba(127, 140, 141, 0.15);
  color: #ecf0f1;
}

/* Prioridad */

.pt-badge-prioridad {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pt-prioridad-baja {
  background: rgba(39, 174, 96, 0.08);
  color: #2ecc71;
}

.pt-prioridad-media {
  background: rgba(241, 196, 15, 0.08);
  color: #f1c40f;
}

.pt-prioridad-alta {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.pt-prioridad-default {
  background: rgba(127, 140, 141, 0.15);
  color: #bdc3c7;
}

/* Asunto e info */

.pt-item-asunto {
  font-size: 15px;
  font-weight: 700;
}

.pt-item-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 2px;
}

.pt-info-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Fechas */

.pt-item-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 6px;
}

.pt-item-fecha {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ACCIONES */

.pt-item-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.pt-btn-chat,
.pt-btn-detalle {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  font-size: 12px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pt-btn-chat {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  border-color: transparent;
}

.pt-btn-chat:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 92, 255, 0.4);
}

.pt-btn-detalle:hover {
  border-color: var(--accent-gold);
}

/* EMPTY STATE */

.pt-empty {
  margin-top: 20px;
  padding: 32px 20px;
  border-radius: 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.pt-empty-icon {
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.pt-empty-title {
  font-size: 18px;
  margin-bottom: 4px;
}

.pt-empty-text {
  font-size: 14px;
  color: var(--text-secondary);
}

/* LOADING */

.pt-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  gap: 10px;
}

.pt-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-gold);
  animation: pt-spin 1s linear infinite;
}

.pt-loading p {
  font-size: 14px;
  color: var(--text-secondary);
}

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

/* RESPONSIVE */

@media (max-width: 1024px) {
  .pt-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .pt-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pt-item {
    flex-direction: column;
  }

  .pt-item-actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .pt-controls {
    gap: 10px;
  }

  .pt-filters {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .pt-stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pt-item-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Botón crear ticket en header */
.pt-btn-nuevo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  background: linear-gradient(135deg, var(--accent-gold), #f0d574);
  color: #0a0a0a;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.45);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pt-btn-nuevo svg {
  flex-shrink: 0;
}

.pt-btn-nuevo:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.6);
}

.pt-btn-nuevo:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.4);
}

@media (max-width: 768px) {
  .pt-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .pt-btn-nuevo {
    align-self: stretch;
    justify-content: center;
  }
}

/* src/pages/cliente/panel/PanelPublicidad.css */

: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-purple: #7c5cff;
  --accent-cyan: #4dd2ff;
  --success-green: #27ae60;
}

/* ============================================
   WRAPPER
   ============================================ */
.ppub-wrapper {
  min-height: 100vh;
  padding: 0;
  font-family: 'Rajdhani', sans-serif;
  color: #e9ecef;
  color: var(--text-primary);
  background-color: #0a0a0a;
  background-color: var(--bg-primary);
}

/* ============================================
   HEADER
   ============================================ */
.ppub-header {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.ppub-title-section {
  flex: 1 1;
}

.ppub-title {
  font-size: 32px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  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;
}

.ppub-subtitle {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   ESTADÍSTICAS
   ============================================ */
.ppub-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 32px;
}

.ppub-stat-card-wrapper {
  position: relative;
  border-radius: 12px;
  padding: 3px;
  background: linear-gradient(135deg, #d4af37, #7c5cff);
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-purple));
}

.ppub-stat-card {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border-radius: 9px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.ppub-stat-card:hover {
  transform: translateY(-3px);
}

.ppub-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ppub-stat-icon.vistas {
  background: linear-gradient(135deg, rgba(77, 210, 255, 0.2), rgba(77, 210, 255, 0.05));
  color: #4dd2ff;
  color: var(--accent-cyan);
}

.ppub-stat-icon.clicks {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(124, 92, 255, 0.05));
  color: #7c5cff;
  color: var(--accent-purple);
}

.ppub-stat-icon.comisiones {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
  color: #d4af37;
  color: var(--accent-gold);
}

.ppub-stat-content {
  flex: 1 1;
}

.ppub-stat-number {
  font-size: 24px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--text-primary);
  font-family: 'Orbitron', monospace;
  display: block;
  margin-bottom: 4px;
}

.ppub-stat-label {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--text-secondary);
}

/* ============================================
   CARD
   ============================================ */
.ppub-card-wrapper {
  position: relative;
  border-radius: 16px;
  padding: 3px;
  background: linear-gradient(135deg, #d4af37, #e50914, #7c5cff);
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-red), var(--accent-purple));
}

.ppub-card {
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--bg-secondary);
  border-radius: 13px;
  padding: 40px;
  min-height: 400px;
}

/* ============================================
   HOLA MUNDO
   ============================================ */
.ppub-hola-mundo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 350px;
  gap: 20px;
}

.ppub-hola-icono {
  color: #d4af37;
  color: var(--accent-gold);
  opacity: 0.8;
  animation: floatIcon 3s ease-in-out infinite;
}

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

.ppub-hola-titulo {
  font-size: 48px;
  font-weight: 900;
  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;
  margin: 0;
}

.ppub-hola-texto {
  font-size: 18px;
  color: #b7bcc4;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0;
  line-height: 1.6;
}

.ppub-hola-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.ppub-badge {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
  border: 1px solid #d4af37;
  border: 1px solid var(--accent-gold);
  color: #d4af37;
  color: var(--accent-gold);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

/* ============================================
   ACCESO DENEGADO
   ============================================ */
.ppub-acceso-denegado {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 40px 20px;
}

.ppub-acceso-icono {
  color: #e50914;
  color: var(--accent-red);
  margin-bottom: 20px;
  opacity: 0.7;
}

.ppub-acceso-titulo {
  font-size: 32px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.ppub-acceso-texto {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--text-secondary);
  margin: 0 0 32px 0;
  max-width: 500px;
}

.ppub-btn-volver {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--accent-red), #ff1a25);
  border: none;
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .ppub-wrapper {
    padding: 0;
  }

  .ppub-stats-grid {
    grid-template-columns: 1fr;
  }

  .ppub-hola-titulo {
    font-size: 36px;
  }

  .ppub-card {
    padding: 24px;
  }
}

/* ============================================
   GALERÍA DE PLANTILLAS
   ============================================ */
.ppub-card-header {
  margin-bottom: 24px;
}

.ppub-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.ppub-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.ppub-plantilla-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ppub-plantilla-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  border-color: #d4af37;
  border-color: var(--accent-gold);
}

.ppub-plantilla-preview {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.ppub-plantilla-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ppub-plantilla-card:hover .ppub-plantilla-img {
  transform: scale(1.05);
}

.ppub-plantilla-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ppub-plantilla-card:hover .ppub-plantilla-overlay {
  opacity: 1;
}

.ppub-btn-overlay {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--accent-gold), #f0d574);
  border: none;
  color: #0a0a0a;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.ppub-btn-overlay:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.ppub-btn-overlay.secondary {
  background: transparent;
  border: 2px solid #d4af37;
  border: 2px solid var(--accent-gold);
  color: #d4af37;
  color: var(--accent-gold);
}

.ppub-plantilla-info {
  padding: 16px;
  text-align: center;
}

.ppub-plantilla-nombre {
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0;
}

/* ============================================
   MODAL EDITOR
   ============================================ */
.ppub-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: 1000;
}

.ppub-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  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: 16px;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1001;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.ppub-modal-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ppub-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ppub-modal-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  color: #b7bcc4;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ppub-modal-close:hover {
  background: rgba(229, 9, 20, 0.2);
  border-color: #e50914;
  border-color: var(--accent-red);
  color: #e50914;
  color: var(--accent-red);
}

.ppub-modal-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 24px;
  gap: 24px;
}

.ppub-editor-preview {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--border-color);
}

.ppub-preview-img {
  width: 100%;
  height: auto;
  display: block;
}

.ppub-preview-texto {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  font-weight: 900;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  text-align: center;
  white-space: nowrap;
  font-family: 'Orbitron', monospace;
}

.ppub-preview-texto.precio {
  top: 8%;
  font-size: 24px;
}

.ppub-preview-texto.contacto {
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
}

.ppub-preview-texto.whatsapp {
  bottom: 8%;
  font-size: 18px;
}

.ppub-editor-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.ppub-label {
  font-size: 14px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.ppub-input:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.ppub-modal-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.ppub-btn-cancelar,
.ppub-btn-descargar {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ppub-btn-cancelar {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  color: #e9ecef;
  color: var(--text-primary);
}

.ppub-btn-cancelar:hover {
  background: rgba(255, 255, 255, 0.05);
}

.ppub-btn-descargar {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--accent-gold), #f0d574);
  border: none;
  color: #0a0a0a;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

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

.ppub-stat-icon.plantillas {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(124, 92, 255, 0.05));
  color: #7c5cff;
  color: var(--accent-purple);
}

.ppub-stat-icon.descargas {
  background: linear-gradient(135deg, rgba(77, 210, 255, 0.2), rgba(77, 210, 255, 0.05));
  color: #4dd2ff;
  color: var(--accent-cyan);
}

/* Responsive */
@media (max-width: 768px) {
  .ppub-modal-body {
    grid-template-columns: 1fr;
  }

  .ppub-galeria {
    grid-template-columns: 1fr;
  }

  .ppub-preview-texto {
    font-size: 14px !important;
  }

  .ppub-preview-texto.precio {
    font-size: 18px !important;
  }
}

:root {
  --pr-bg-primary: #0a0a0a;
  --pr-bg-secondary: #1a1a1a;
  --pr-bg-card: rgba(20, 20, 20, 0.95);
  --pr-gold: #d4af37;
  --pr-gold-light: #f0d574;
  --pr-gold-dark: #b8941f;
  --pr-orange: #f39c12;
  --pr-orange-light: #f7b731;
  --pr-orange-dark: #e67e22;
  --pr-text-primary: #e9ecef;
  --pr-text-secondary: #b7bcc4;
  --pr-border: rgba(255, 255, 255, 0.12);
  --pr-success: #27ae60;
  --pr-danger: #e74c3c;
  --pr-info: #3498db;
  --pr-warning: #f39c12;
}

.pr-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 20px;
  background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%);
  background: linear-gradient(135deg, var(--pr-bg-primary) 0%, #0f0f0f 100%);
}

.pr-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.1);
  border-top: 6px solid #f39c12;
  border-top: 6px solid var(--pr-orange);
  border-radius: 50%;
  animation: pr-spin 1s linear infinite;
}

.pr-loading-text {
  font-size: 18px;
  color: #b7bcc4;
  color: var(--pr-text-secondary);
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
}

.pr-error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%);
  background: linear-gradient(135deg, var(--pr-bg-primary) 0%, #0f0f0f 100%);
}

.pr-error-icon {
  font-size: 80px;
  margin-bottom: 24px;
}

.pr-error-title {
  font-size: 28px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--pr-text-primary);
  margin: 0 0 20px 0;
  font-family: 'Rajdhani', sans-serif;
}

.pr-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%);
  background: linear-gradient(135deg, var(--pr-bg-primary) 0%, #0f0f0f 100%);
  font-family: 'Rajdhani', sans-serif;
}

.pr-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(--pr-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  animation: pr-slideDown 0.5s ease-out;
}

.pr-back-button {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--pr-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pr-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;
}

.pr-back-button:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.pr-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
  justify-content: center;
}

.pr-header-title h1 {
  font-size: 24px;
  font-weight: 900;
  margin: 0;
  font-family: 'Orbitron', monospace;
  letter-spacing: 2px;
  color: #e9ecef;
  color: var(--pr-text-primary);
}

.pr-wallet-display {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--pr-gold), var(--pr-gold-light));
  color: #0a0a0a;
  color: var(--pr-bg-primary);
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.pr-content {
  padding: 40px 24px;
}

.pr-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px;
  gap: 40px;
  animation: pr-fadeIn 0.6s ease-out;
}

.pr-left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pr-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pr-badge {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
}

.pr-badge-renovacion {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  background: linear-gradient(135deg, var(--pr-orange), var(--pr-orange-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.5);
  animation: pr-pulse 2s ease-in-out infinite;
}

.pr-badge-code {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--pr-text-primary);
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pr-border);
  font-family: 'Orbitron', monospace;
}

.pr-badge-vencido {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 8px 16px;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.pr-badge-porvencer {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
  padding: 8px 16px;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
  animation: pr-pulse 2s ease-in-out infinite;
}

.pr-image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(20, 20, 20, 0.95);
  background: var(--pr-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pr-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.pr-product-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.pr-product-image:hover {
  transform: scale(1.05);
}

.pr-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--pr-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pr-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.pr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(243, 156, 18, 0.2);
}

.pr-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--pr-text-primary);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
}

.pr-info-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pr-info-item {
  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;
}

.pr-info-item:hover {
  background: rgba(243, 156, 18, 0.1);
  border-color: #f39c12;
  border-color: var(--pr-orange);
  transform: translateX(4px);
}

.pr-info-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pr-info-label svg {
  color: #f39c12;
  color: var(--pr-orange);
  width: 16px;
  height: 16px;
}

.pr-info-label span {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--pr-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pr-info-value {
  font-size: 16px;
  color: #e9ecef;
  color: var(--pr-text-primary);
  font-weight: 700;
  margin: 0;
  font-family: 'Orbitron', monospace;
  word-break: break-all;
}

.pr-info-value.pr-vencido {
  color: #e74c3c;
  color: var(--pr-danger);
}

.pr-info-value.pr-porvencer {
  color: #f39c12;
  color: var(--pr-warning);
}

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

.pr-vendor-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--pr-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pr-border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.pr-vendor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(243, 156, 18, 0.2);
}

.pr-vendor-grid {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.pr-vendor-item {
  flex: 1 1;
  min-width: 0;
}

.pr-vendor-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pr-vendor-label svg {
  color: #f39c12;
  color: var(--pr-orange);
  width: 16px;
  height: 16px;
}

.pr-vendor-label span {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--pr-text-secondary);
  font-weight: 600;
}

.pr-vendor-value {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pr-vendor-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f39c12;
  border: 2px solid var(--pr-orange);
  box-shadow: 0 0 10px rgba(243, 156, 18, 0.3);
}

.pr-vendor-value p {
  font-size: 15px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--pr-text-primary);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pr-categoria-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid #3498db;
  border: 2px solid var(--pr-info);
}

.pr-right-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pr-main-badge {
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--pr-orange), var(--pr-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: pr-shimmer 3s ease-in-out infinite;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pr-product-name {
  font-size: 36px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--pr-text-primary);
  margin: 0;
  line-height: 1.2;
  font-family: 'Rajdhani', sans-serif;
}

.pr-description {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--pr-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.pr-price-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--pr-bg-card);
  border: 2px solid #f39c12;
  border: 2px solid var(--pr-orange);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(243, 156, 18, 0.3);
}

.pr-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.pr-price-label {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--pr-text-secondary);
  font-weight: 600;
}

.pr-price-value {
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--pr-orange), var(--pr-orange-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Orbitron', monospace;
}

.pr-price-duration {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #b7bcc4;
  color: var(--pr-text-secondary);
  font-weight: 500;
  font-style: italic;
}

.pr-timeline-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--pr-bg-card);
  border: 2px solid #3498db;
  border: 2px solid var(--pr-info);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(52, 152, 219, 0.2);
}

.pr-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pr-timeline-item {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

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

.pr-timeline-current {
  background: rgba(231, 76, 60, 0.2);
  border-color: #e74c3c;
  border-color: var(--pr-danger);
  color: #e74c3c;
  color: var(--pr-danger);
}

.pr-timeline-new {
  background: rgba(39, 174, 96, 0.2);
  border-color: #27ae60;
  border-color: var(--pr-success);
  color: #27ae60;
  color: var(--pr-success);
  animation: pr-pulseGreen 2s ease-in-out infinite;
}

.pr-timeline-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pr-timeline-label {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--pr-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pr-timeline-date {
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--pr-text-primary);
  font-family: 'Orbitron', monospace;
}

.pr-date-vencido {
  color: #e74c3c;
  color: var(--pr-danger);
}

.pr-date-porvencer {
  color: #f39c12;
  color: var(--pr-warning);
}

.pr-date-nueva {
  color: #27ae60;
  color: var(--pr-success);
  font-size: 18px;
}

.pr-timeline-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #27ae60;
  color: var(--pr-success);
  font-weight: 700;
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  animation: pr-slideRight 2s ease-in-out infinite;
}

.pr-summary-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--pr-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pr-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.pr-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pr-summary-row:last-child {
  border-bottom: none;
}

.pr-summary-total {
  padding-top: 16px;
  border-top: 2px solid #f39c12;
  border-top: 2px solid var(--pr-orange);
}

.pr-summary-label {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--pr-text-secondary);
  font-weight: 500;
}

.pr-summary-value {
  font-size: 15px;
  color: #e9ecef;
  color: var(--pr-text-primary);
  font-weight: 600;
}

.pr-summary-email {
  font-size: 13px;
  font-family: 'Orbitron', monospace;
  word-break: break-all;
  text-align: right;
  max-width: 60%;
}

.pr-summary-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #f39c12, transparent);
  background: linear-gradient(90deg, transparent, var(--pr-orange), transparent);
  margin: 16px 0;
}

.pr-summary-total .pr-summary-label {
  font-size: 18px;
  color: #e9ecef;
  color: var(--pr-text-primary);
  font-weight: 700;
}

.pr-summary-total .pr-summary-value {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--pr-orange), var(--pr-orange-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Orbitron', monospace;
}

.pr-wallet-card {
  border-radius: 16px;
  padding: 24px;
  border: 2px solid;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.pr-wallet-success {
  background: rgba(39, 174, 96, 0.1);
  border-color: #27ae60;
  border-color: var(--pr-success);
}

.pr-wallet-error {
  background: rgba(231, 76, 60, 0.1);
  border-color: #e74c3c;
  border-color: var(--pr-danger);
}

.pr-wallet-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.pr-wallet-row span:first-child {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--pr-text-secondary);
  font-weight: 500;
}

.pr-wallet-row span:last-child {
  font-size: 16px;
  color: #e9ecef;
  color: var(--pr-text-primary);
  font-weight: 600;
  font-family: 'Orbitron', monospace;
}

.pr-wallet-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 12px 0;
}

.pr-wallet-total {
  padding-top: 8px;
}

.pr-wallet-total span:first-child {
  font-size: 18px;
  color: #e9ecef;
  color: var(--pr-text-primary);
  font-weight: 700;
}

.pr-wallet-total span:last-child {
  font-size: 24px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
}

.pr-wallet-warning {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid #e74c3c;
  border: 1px solid var(--pr-danger);
  border-radius: 8px;
  color: #e74c3c;
  color: var(--pr-danger);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.pr-error-alert {
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid #e74c3c;
  border: 1px solid var(--pr-danger);
  color: #e74c3c;
  color: var(--pr-danger);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  animation: pr-shake 0.5s ease-in-out;
}

.pr-button {
  width: 100%;
  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;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pr-button-primary {
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--pr-orange), var(--pr-orange-light));
  color: white;
  box-shadow: 0 6px 24px rgba(243, 156, 18, 0.5);
}

.pr-button-primary:hover:not(.pr-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(--pr-orange-light), var(--pr-orange-dark));
}

.pr-button-disabled {
  background: #4b5563;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.pr-button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--pr-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pr-border);
}

.pr-button-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #f39c12;
  border-color: var(--pr-orange);
}

.pr-icon-spin {
  animation: pr-spin 1s linear infinite;
}

.pr-info-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 14px;
  color: #27ae60;
  color: var(--pr-success);
  margin: 0;
  padding: 12px 20px;
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid #27ae60;
  border: 1px solid var(--pr-success);
  border-radius: 10px;
  font-weight: 600;
}

.pr-info-note svg {
  flex-shrink: 0;
}

.pr-warning-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 14px;
  color: #3498db;
  color: var(--pr-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(--pr-info);
}

.pr-warning-note svg {
  flex-shrink: 0;
}

.pr-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: pr-fadeIn 0.4s ease-out;
}

.pr-modal-content {
  background: rgba(20, 20, 20, 0.95);
  background: var(--pr-bg-card);
  border: 2px solid #f39c12;
  border: 2px solid var(--pr-orange);
  border-radius: 20px;
  max-width: 550px;
  width: 100%;
  padding: 40px 32px;
  box-shadow: 0 30px 80px rgba(243, 156, 18, 0.5);
  animation: pr-bounceIn 0.6s ease-out;
  position: relative;
}

.pr-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #b7bcc4;
  color: var(--pr-text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.pr-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--pr-text-primary);
}

.pr-success-icon {
  width: 80px;
  height: 80px;
  color: #f39c12;
  color: var(--pr-orange);
  animation: pr-checkmark 0.8s ease-out;
  margin: 0 auto 24px;
  display: block;
}

.pr-success-title {
  font-size: 28px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--pr-text-primary);
  text-align: center;
  margin: 0 0 24px 0;
  font-family: 'Rajdhani', sans-serif;
}

.pr-success-details {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pr-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.pr-success-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 16px;
}

.pr-success-row span:first-child {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--pr-text-secondary);
  font-weight: 500;
}

.pr-success-row span:last-child {
  font-size: 16px;
  color: #e9ecef;
  color: var(--pr-text-primary);
  font-weight: 700;
  text-align: right;
}

.pr-success-email {
  font-size: 13px;
  font-family: 'Orbitron', monospace;
  word-break: break-all;
  max-width: 60%;
}

.pr-success-fecha {
  color: #27ae60;
  color: var(--pr-success);
  font-size: 17px;
}

.pr-success-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #f39c12, transparent);
  background: linear-gradient(90deg, transparent, var(--pr-orange), transparent);
  margin: 12px 0;
}

.pr-success-total {
  padding-top: 12px;
  border-top: 2px solid #f39c12;
  border-top: 2px solid var(--pr-orange);
}

.pr-success-total span:first-child {
  font-size: 17px;
  color: #e9ecef;
  color: var(--pr-text-primary);
  font-weight: 700;
}

.pr-success-total span:last-child {
  font-size: 22px;
  font-weight: 900;
  color: #27ae60;
  color: var(--pr-success);
  font-family: 'Orbitron', monospace;
}

.pr-success-message {
  text-align: center;
  font-size: 15px;
  color: #b7bcc4;
  color: var(--pr-text-secondary);
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.pr-success-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.pr-success-redirect {
  text-align: center;
  font-size: 13px;
  color: #b7bcc4;
  color: var(--pr-text-secondary);
  margin: 0;
  font-style: italic;
}

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

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

@keyframes pr-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 pr-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pr-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.05);
  }
}

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

@keyframes pr-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 pr-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 pr-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 pr-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 pr-slideRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

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

@media (max-width: 1024px) {
  .pr-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pr-product-name {
    font-size: 30px;
  }

  .pr-price-value {
    font-size: 36px;
  }

  .pr-timeline {
    flex-direction: column;
    gap: 20px;
  }

  .pr-timeline-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .pr-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .pr-header-title h1 {
    font-size: 18px;
  }

  .pr-wallet-display {
    font-size: 14px;
    padding: 10px 16px;
  }

  .pr-product-name {
    font-size: 24px;
  }

  .pr-price-value {
    font-size: 32px;
  }

  .pr-timeline-icon {
    width: 50px;
    height: 50px;
  }

  .pr-success-buttons {
    flex-direction: column;
  }

  .pr-modal-content {
    padding: 32px 24px;
  }

  .pr-vendor-grid {
    flex-direction: column;
    gap: 12px;
  }
}

/* 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);
  }
}


/* src/pages/vendedor/VendedorLayout.css */

:root {
  --vendedor-bg-primary: #0a0a0a;
  --vendedor-bg-secondary: rgba(10, 10, 10, 0.98);
  --vendedor-border-color: rgba(255, 255, 255, 0.12);
  --vendedor-text-primary: #e9ecef;
  --vendedor-text-secondary: #b7bcc4;
  --vendedor-accent-gold: #d4af37;
  --vendedor-accent-red: #e50914;
  --vendedor-accent-red-light: #ff1a25;
  --vendedor-accent-purple: #7c5cff;
  --vendedor-accent-cyan: #4dd2ff;
  --vendedor-success-green: #27ae60;
  --vendedor-sidebar-width-open: 280px;
  --vendedor-sidebar-width-closed: 70px;
}

/* ============================================
   CONTAINER PRINCIPAL
   ============================================ */
.vendedor-container {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--vendedor-bg-primary);
  font-family: 'Rajdhani', sans-serif;
  color: #e9ecef;
  color: var(--vendedor-text-primary);
}

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

.vendedor-navbar-content {
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Botón sidebar toggle desktop */
.vendedor-sidebar-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vendedor-border-color);
  color: #e9ecef;
  color: var(--vendedor-text-primary);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

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

/* Botón menú móvil */
.vendedor-menu-button-mobile {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vendedor-border-color);
  color: #e9ecef;
  color: var(--vendedor-text-primary);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

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

/* Logo con animación SHINE */
.vendedor-navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

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

.vendedor-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: vendedorLogoShine 3s ease-in-out infinite;
}

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

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

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

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

/* Navbar right */
.vendedor-navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.vendedor-nav-button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vendedor-border-color);
  color: #e9ecef;
  color: var(--vendedor-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;
}

.vendedor-nav-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--vendedor-accent-gold);
  transform: translateY(-2px);
}

.vendedor-user-info {
  padding: 8px 12px;
}

.vendedor-user-name {
  font-size: 14px;
  font-weight: 600;
  color: #d4af37;
  color: var(--vendedor-accent-gold);
}

.vendedor-logout-button {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--vendedor-accent-red), var(--vendedor-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;
}

.vendedor-logout-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */
.vendedor-main-layout {
  display: flex;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

/* ============================================
   SIDEBAR DESKTOP - COLAPSABLE
   ============================================ */
.vendedor-sidebar {
  width: 280px;
  width: var(--vendedor-sidebar-width-open);
  flex-shrink: 0;
  position: -webkit-sticky;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  overflow-x: hidden;
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--vendedor-bg-secondary);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid var(--vendedor-border-color);
  transition: width 0.3s ease, transform 0.3s ease;
  z-index: 100;
}

.vendedor-sidebar.closed {
  width: 70px;
  width: var(--vendedor-sidebar-width-closed);
}

.vendedor-sidebar-content {
  padding: 16px 0;
}

.vendedor-sidebar-header {
  padding: 0 16px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vendedor-border-color);
  margin-bottom: 16px;
}

.vendedor-sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--vendedor-text-primary);
  margin: 0;
}

/* Scrollbar personalizado */
.vendedor-sidebar::-webkit-scrollbar {
  width: 6px;
}

.vendedor-sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.vendedor-sidebar::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--vendedor-accent-gold);
  border-radius: 3px;
}

/* Nav items */
.vendedor-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 12px;
}

.vendedor-sidebar-item {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e9ecef;
  color: var(--vendedor-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: 12px;
  text-align: left;
  white-space: nowrap;
}

.vendedor-sidebar-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #d4af37;
  border-color: var(--vendedor-accent-gold);
  transform: translateX(4px);
}

.vendedor-sidebar-item.active {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--vendedor-accent-red), var(--vendedor-accent-red-light));
  border: none;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

/* Sidebar cerrado - solo iconos centrados */
.vendedor-sidebar.closed .vendedor-sidebar-item {
  justify-content: center;
  padding: 12px;
}

.vendedor-sidebar.closed .vendedor-sidebar-text,
.vendedor-sidebar.closed .vendedor-sidebar-arrow {
  display: none;
}

.vendedor-sidebar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vendedor-sidebar-text {
  flex: 1 1;
}

.vendedor-sidebar-arrow {
  flex-shrink: 0;
  opacity: 0.5;
}

.vendedor-sidebar-logout {
  margin-top: 16px;
  border-color: rgba(229, 9, 20, 0.3);
}

.vendedor-sidebar-logout:hover {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--vendedor-accent-red), var(--vendedor-accent-red-light));
  border: none;
}

/* ============================================
   SIDEBAR MOBILE
   ============================================ */
.vendedor-sidebar-mobile {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background-color: rgba(10, 10, 10, 0.98);
  background-color: var(--vendedor-bg-secondary);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid var(--vendedor-border-color);
  transition: left 0.3s ease;
  z-index: 1100;
  overflow-y: auto;
}

.vendedor-sidebar-mobile.open {
  left: 0;
}

.vendedor-sidebar-mobile-header {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vendedor-border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vendedor-sidebar-close {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--vendedor-text-primary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.vendedor-sidebar-close:hover {
  color: #e50914;
  color: var(--vendedor-accent-red);
  transform: rotate(90deg);
}

.vendedor-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1099;
}

.vendedor-sidebar-logout-mobile {
  margin-top: 16px;
  border-color: rgba(229, 9, 20, 0.3);
}

.vendedor-sidebar-logout-mobile:hover {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--vendedor-accent-red), var(--vendedor-accent-red-light));
  border: none;
}

/* ============================================
   CONTENIDO PRINCIPAL
   ============================================ */
.vendedor-content {
  flex: 1 1;
  min-width: 0;
  padding: 24px;
  transition: margin-left 0.3s ease;
}

.vendedor-content.full-width {
  margin-left: 0;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.vendedor-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--vendedor-bg-primary);
}

.vendedor-loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid #d4af37;
  border-top: 4px solid var(--vendedor-accent-gold);
  border-radius: 50%;
  animation: vendedorSpin 1s linear infinite;
}

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

.vendedor-loading-text {
  margin-top: 20px;
  font-size: 18px;
  color: #b7bcc4;
  color: var(--vendedor-text-secondary);
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================
   CAMPANITA Y DROPDOWN DE NOTIFICACIONES
   ============================================ */

.vendedor-noti-wrapper {
  position: relative;
  margin-right: 8px;
}

.vendedor-noti-button {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.8));
  color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.vendedor-noti-button:hover {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.9));
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
  transform: translateY(-1px);
}

.vendedor-noti-open {
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.6);
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.2), rgba(0, 0, 0, 0.9));
}

.vendedor-noti-badge {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4b5c, #ff9a3c);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dropdown */

.vendedor-noti-dropdown {
  position: absolute;
  top: 44px;
  right: 0;
  width: 320px;
  max-height: 380px;
  background: radial-gradient(circle at top, #181820, #050507);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  animation: vendedorNotiFade 0.16s ease-out;
}

@keyframes vendedorNotiFade {
  0% {
    opacity: 0;
    transform: translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.vendedor-noti-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.12), transparent);
}

.vendedor-noti-header span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.vendedor-noti-close {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vendedor-noti-list {
  flex: 1 1;
  max-height: 260px;
  overflow-y: auto;
}

/* Scroll suave */
.vendedor-noti-list::-webkit-scrollbar {
  width: 6px;
}
.vendedor-noti-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}
.vendedor-noti-list::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.7);
  border-radius: 999px;
}

.vendedor-noti-empty {
  padding: 18px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0.85;
}

.vendedor-noti-empty svg {
  color: rgba(255, 255, 255, 0.6);
}

/* Footer con enlaces */

.vendedor-noti-footer {
  padding: 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 6px;
}

.vendedor-noti-footer button {
  flex: 1 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.7);
  color: #f8f9fa;
  font-size: 11px;
  padding: 6px 0;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.vendedor-noti-footer button:hover {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.6);
}

/* ============================================
   FLOATING ACTION BUTTON (FAB) EXPANDIBLE
   ============================================ */

.vendedor-fab-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

/* Overlay solo cuando está abierto */
.vendedor-fab-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(1.5px);
          backdrop-filter: blur(1.5px);
  z-index: 1100;
  animation: vendedorFabOverlayIn 0.18s ease;
}

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

/* Acciones secundarias */
.vendedor-fab-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.vendedor-fab-container.open .vendedor-fab-actions {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Botones secundarios */
.vendedor-fab-action {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.vendedor-fab-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.65);
}

.vendedor-fab-label {
  font-size: 12px;
  letter-spacing: 0.4px;
}

/* Botón principal flotante */
.vendedor-fab-main {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 0%, #1e1e24, #050507);
  border: 2px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  z-index: 1201;
}

/* Anillo fino */
.vendedor-fab-main::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.9);
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Pulso DETRÁS del botón, más pequeño */
.vendedor-fab-main::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.5), transparent 70%);
  opacity: 0.8;
  animation: vendedorFabSoftPulse 2.2s ease-in-out infinite;
}

@keyframes vendedorFabSoftPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.25);
    opacity: 0;
  }
}

.vendedor-fab-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 1);
  border-color: rgba(212, 175, 55, 1);
}
.vendedor-fab-main:hover::before {
  opacity: 1;
}

/* Estado abierto: sin pulso, color morado */
.vendedor-fab-main.open {
  transform: rotate(45deg);
  background: linear-gradient(135deg, #7c5cff, #a78bfa);
  border-color: rgba(167, 139, 250, 0.9);
  box-shadow: 0 8px 26px rgba(124, 92, 255, 0.6);
}
.vendedor-fab-main.open::after {
  animation: none;
  opacity: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .vendedor-sidebar {
    display: none;
  }

  .vendedor-menu-button-mobile {
    display: flex;
  }

  .vendedor-sidebar-toggle {
    display: none;
  }

  .vendedor-content {
    margin-left: 0 !important;
  }

  .vendedor-logo-text {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .vendedor-button-text {
    display: none;
  }

  .vendedor-user-name {
    display: none;
  }

  .vendedor-navbar-content {
    gap: 8px;
  }

  .vendedor-content {
    padding: 16px;
  }

  .vendedor-fab-container {
    bottom: 20px;
    right: 20px;
  }
  .vendedor-fab-main {
    width: 52px;
    height: 52px;
  }

  .vendedor-noti-dropdown {
    right: -40px;
    width: 90vw;
  }
}

@media (max-width: 480px) {
  .vendedor-fab-container {
    bottom: 14px;
    right: 14px;
  }
  .vendedor-fab-main {
    width: 48px;
    height: 48px;
  }
  .vendedor-fab-label {
    display: none;
  }
  .vendedor-fab-action {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
}


/* ============================================
   ITEMS DE NOTIFICACIÓN (CHATS)
   ============================================ */

.vendedor-noti-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background 0.15s ease;
  background: transparent;
}

.vendedor-noti-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.vendedor-noti-item:last-child {
  border-bottom: none;
}

/* Item no leído con fondo destacado */
.vendedor-noti-item.unread {
  background: rgba(212, 175, 55, 0.08);
}

.vendedor-noti-item.unread:hover {
  background: rgba(212, 175, 55, 0.14);
}

/* Avatar del producto */
.vendedor-noti-item-avatar {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vendedor-noti-item-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vendedor-noti-item-placeholder {
  font-size: 20px;
  opacity: 0.7;
}

/* Contenido del item */
.vendedor-noti-item-content {
  flex: 1 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vendedor-noti-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #d4af37;
  color: var(--vendedor-accent-gold);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vendedor-noti-item-message {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vendedor-noti-item-product {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Meta info (tiempo + dot) */
.vendedor-noti-item-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.vendedor-noti-item-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.vendedor-noti-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4b5c, #ff9a3c);
  box-shadow: 0 0 8px rgba(255, 75, 92, 0.6);
  animation: vendedorDotPulse 1.8s ease-in-out infinite;
}

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

/* Header left con ícono */
.vendedor-noti-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d4af37;
  color: var(--vendedor-accent-gold);
}

.vendedor-noti-count {
  font-size: 11px;
  font-weight: 700;
  color: #ff4b5c;
  background: rgba(255, 75, 92, 0.15);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Footer button mejorado */
.vendedor-noti-footer-button {
  flex: 1 1;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.08);
  color: #d4af37;
  color: var(--vendedor-accent-gold);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.3px;
}

.vendedor-noti-footer-button:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

/* Responsive para notificaciones */
@media (max-width: 768px) {
  .vendedor-noti-item-avatar {
    width: 38px;
    height: 38px;
  }

  .vendedor-noti-item-name {
    font-size: 12px;
  }

  .vendedor-noti-item-message {
    font-size: 11px;
  }

  .vendedor-noti-item-product {
    font-size: 10px;
  }
}


/* ============================================
   BADGES EN SIDEBAR
   ============================================ */

.vendedor-sidebar-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e50914, #ff1a25);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: 8px;
  box-shadow: 0 2px 8px rgba(229, 9, 20, 0.5);
  animation: vendedorBadgePulse 2s ease-in-out infinite;
}

@keyframes vendedorBadgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(229, 9, 20, 0.5);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.8);
  }
}

/* Badge cuando sidebar está cerrado */
.vendedor-sidebar-badge-mini {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e50914, #ff1a25);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(229, 9, 20, 0.6);
}

.vendedor-sidebar.closed .vendedor-sidebar-item {
  position: relative;
}

/* Counter en dropdown de notificaciones */
.vendedor-noti-item-counter {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e50914, #ff1a25);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}

/* =============================================
   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/panel/PanelVendedorMisProductos.css */

:root {
  --panel-vendedor-bg-primary: #0a0a0a;
  --panel-vendedor-bg-secondary: rgba(10, 10, 10, 0.98);
  --panel-vendedor-border-color: rgba(255, 255, 255, 0.12);
  --panel-vendedor-text-primary: #e9ecef;
  --panel-vendedor-text-secondary: #b7bcc4;
  --panel-vendedor-accent-gold: #d4af37;
  --panel-vendedor-accent-red: #e50914;
  --panel-vendedor-success-green: #27ae60;
  --panel-vendedor-warning-orange: #f39c12;
  --panel-vendedor-error-red: #e74c3c;
}

/* ============================================
   CONTAINER PRINCIPAL
   ============================================ */
.panel-vendedor-productos-container {
  padding: 24px;
  font-family: 'Rajdhani', sans-serif;
  color: #e9ecef;
  color: var(--panel-vendedor-text-primary);
  min-height: 100vh;
}

/* ============================================
   HEADER
   ============================================ */
.panel-vendedor-productos-header {
  margin-bottom: 32px;
}

.panel-vendedor-productos-title {
  font-family: 'Orbitron', monospace;
  font-size: 32px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--panel-vendedor-text-primary);
  margin: 0 0 8px 0;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--panel-vendedor-accent-gold), #f0d574);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.panel-vendedor-productos-subtitle {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--panel-vendedor-text-secondary);
  margin: 0;
}

/* ============================================
   MENSAJE DE NOTIFICACIÓN
   ============================================ */
.panel-vendedor-productos-mensaje {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 15px;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  animation: panelVendedorSlideIn 0.3s ease-out;
}

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

.panel-vendedor-productos-mensaje.success {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  background: linear-gradient(135deg, var(--panel-vendedor-success-green), #2ecc71);
}

.panel-vendedor-productos-mensaje.error {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  background: linear-gradient(135deg, var(--panel-vendedor-error-red), #c0392b);
}

/* ============================================
   FILTROS
   ============================================ */
.panel-vendedor-productos-filters {
  background: rgba(10, 10, 10, 0.98);
  background: var(--panel-vendedor-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--panel-vendedor-border-color);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-vendedor-productos-filter-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-vendedor-productos-filter-label {
  font-size: 14px;
  font-weight: 600;
  color: #d4af37;
  color: var(--panel-vendedor-accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.panel-vendedor-productos-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-vendedor-productos-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--panel-vendedor-border-color);
  color: #e9ecef;
  color: var(--panel-vendedor-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;
}

.panel-vendedor-productos-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #d4af37;
  border-color: var(--panel-vendedor-accent-gold);
  transform: translateY(-2px);
}

.panel-vendedor-productos-filter-btn.active {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--panel-vendedor-accent-red), #ff1a25);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

/* ============================================
   LOADING
   ============================================ */
.panel-vendedor-productos-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 16px;
}

.panel-vendedor-productos-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid #d4af37;
  border-top: 4px solid var(--panel-vendedor-accent-gold);
  border-radius: 50%;
  animation: panelVendedorSpin 1s linear infinite;
}

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

.panel-vendedor-productos-loading p {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--panel-vendedor-text-secondary);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.panel-vendedor-productos-empty {
  text-align: center;
  padding: 60px 20px;
  background: rgba(10, 10, 10, 0.98);
  background: var(--panel-vendedor-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--panel-vendedor-border-color);
  border-radius: 12px;
}

.panel-vendedor-productos-empty-icon {
  font-size: 80px;
  margin-bottom: 20px;
  opacity: 0.6;
}

.panel-vendedor-productos-empty-title {
  font-size: 24px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--panel-vendedor-text-primary);
  margin: 0 0 12px 0;
}

.panel-vendedor-productos-empty-text {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--panel-vendedor-text-secondary);
  margin: 0 0 24px 0;
}

.panel-vendedor-productos-empty-btn {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--panel-vendedor-accent-gold), #f0d574);
  border: none;
  color: #0a0a0a;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.panel-vendedor-productos-empty-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5);
}

/* ============================================
   GRID DE PRODUCTOS
   ============================================ */
.panel-vendedor-productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

/* ============================================
   CARD DE PRODUCTO
   ============================================ */
.panel-vendedor-producto-card {
  background: rgba(10, 10, 10, 0.98);
  background: var(--panel-vendedor-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--panel-vendedor-border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.panel-vendedor-producto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  border-color: #d4af37;
  border-color: var(--panel-vendedor-accent-gold);
}

/* Imagen */
.panel-vendedor-producto-imagen-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.panel-vendedor-producto-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-vendedor-producto-estado {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  color: white;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Info */
.panel-vendedor-producto-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1;
}

.panel-vendedor-producto-nombre {
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--panel-vendedor-text-primary);
  margin: 0;
  line-height: 1.3;
}

.panel-vendedor-producto-precio {
  font-size: 24px;
  font-weight: 900;
  color: #d4af37;
  color: var(--panel-vendedor-accent-gold);
  margin: 0;
}

/* Días restantes */
.panel-vendedor-producto-dias {
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(52, 152, 219, 0.2);
  border: 1px solid rgba(52, 152, 219, 0.3);
  color: #3498db;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.panel-vendedor-producto-dias.urgente {
  background: rgba(231, 76, 60, 0.2);
  border-color: rgba(231, 76, 60, 0.3);
  color: #e74c3c;
  animation: panelVendedorPulse 2s ease-in-out infinite;
}

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

/* Stock */
.panel-vendedor-producto-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #b7bcc4;
  color: var(--panel-vendedor-text-secondary);
}

.panel-vendedor-producto-stock-icon {
  font-size: 16px;
}

.panel-vendedor-producto-stock-badge {
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  color: var(--panel-vendedor-accent-gold);
  font-size: 11px;
  margin-left: auto;
}

/* Acciones */
.panel-vendedor-producto-acciones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.panel-vendedor-producto-btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.panel-vendedor-producto-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.panel-vendedor-producto-btn.editar {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.panel-vendedor-producto-btn.renovar {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--panel-vendedor-accent-gold), #f0d574);
  color: #0a0a0a;
}

.panel-vendedor-producto-btn.enlazar {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: white;
}

.panel-vendedor-producto-btn.stock {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  background: linear-gradient(135deg, var(--panel-vendedor-success-green), #2ecc71);
  color: white;
}

.panel-vendedor-producto-btn.eliminar {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  background: linear-gradient(135deg, var(--panel-vendedor-error-red), #c0392b);
  color: white;
}

/* ============================================
   MODALES
   ============================================ */
.panel-vendedor-productos-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  animation: panelVendedorFadeIn 0.2s ease-out;
}

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

.panel-vendedor-productos-modal {
  background: rgba(10, 10, 10, 0.98);
  background: var(--panel-vendedor-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--panel-vendedor-border-color);
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  animation: panelVendedorModalSlideUp 0.3s ease-out;
}

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

/* Header del modal */
.panel-vendedor-productos-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--panel-vendedor-border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-vendedor-productos-modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--panel-vendedor-text-primary);
  margin: 0;
}

.panel-vendedor-productos-modal-header button {
  background: transparent;
  border: none;
  color: #b7bcc4;
  color: var(--panel-vendedor-text-secondary);
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.panel-vendedor-productos-modal-header button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--panel-vendedor-text-primary);
}

/* Body del modal */
.panel-vendedor-productos-modal-body {
  padding: 24px;
}

.panel-vendedor-productos-modal-body p {
  margin: 0 0 16px 0;
  font-size: 15px;
  color: #e9ecef;
  color: var(--panel-vendedor-text-primary);
  line-height: 1.5;
}

.panel-vendedor-productos-modal-body p strong {
  color: #d4af37;
  color: var(--panel-vendedor-accent-gold);
}

.panel-vendedor-productos-modal-body .warning {
  color: #f39c12;
  color: var(--panel-vendedor-warning-orange);
  font-weight: 600;
  padding: 12px;
  background: rgba(243, 156, 18, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(243, 156, 18, 0.2);
}

.panel-vendedor-productos-modal-body .info {
  color: #3498db;
  font-weight: 600;
  padding: 12px;
  background: rgba(52, 152, 219, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(52, 152, 219, 0.2);
}

/* Renovar info */
.renovar-info {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--panel-vendedor-border-color);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.renovar-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.renovar-info-item span:first-child {
  color: #b7bcc4;
  color: var(--panel-vendedor-text-secondary);
}

.renovar-info-item span:last-child {
  color: #e9ecef;
  color: var(--panel-vendedor-text-primary);
  font-weight: 700;
}

/* Stock real */
.stock-real-empty {
  text-align: center;
  padding: 20px;
}

.stock-real-empty p {
  color: #f39c12;
  color: var(--panel-vendedor-warning-orange);
  margin-bottom: 16px;
}

.btn-crear-stock {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--panel-vendedor-accent-gold), #f0d574);
  border: none;
  color: #0a0a0a;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-crear-stock:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
}

.stock-real-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stock-real-title {
  font-weight: 600;
  color: #d4af37;
  color: var(--panel-vendedor-accent-gold);
  margin-bottom: 8px;
}

.stock-real-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stock-real-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--panel-vendedor-border-color);
  border-radius: 8px;
  padding: 12px;
}

.stock-real-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--panel-vendedor-text-primary);
}

.stock-real-item-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #b7bcc4;
  color: var(--panel-vendedor-text-secondary);
}

.stock-real-total {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.stock-real-total p:first-child {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--panel-vendedor-text-secondary);
  margin: 0 0 4px 0;
}

.stock-real-total p:last-child {
  font-size: 24px;
  font-weight: 900;
  color: #d4af37;
  color: var(--panel-vendedor-accent-gold);
  margin: 0;
}

/* Footer del modal */
.panel-vendedor-productos-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--panel-vendedor-border-color);
  display: flex;
  gap: 12px;
}

.panel-vendedor-productos-modal-footer button {
  flex: 1 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.panel-vendedor-productos-modal-footer button:hover {
  transform: translateY(-2px);
}

.panel-vendedor-productos-modal-footer .btn-cancel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--panel-vendedor-border-color);
  color: #e9ecef;
  color: var(--panel-vendedor-text-primary);
}

.panel-vendedor-productos-modal-footer .btn-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
}

.panel-vendedor-productos-modal-footer .btn-confirm {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--panel-vendedor-accent-red), #ff1a25);
  color: white;
}

.panel-vendedor-productos-modal-footer .btn-confirm:hover {
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.5);
}

.panel-vendedor-productos-modal-footer .btn-confirm:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

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

  .panel-vendedor-productos-title {
    font-size: 24px;
  }

  .panel-vendedor-productos-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .panel-vendedor-productos-filter-buttons {
    flex-direction: column;
  }

  .panel-vendedor-productos-filter-btn {
    width: 100%;
  }

  .panel-vendedor-productos-modal {
    width: 95%;
    max-width: none;
  }

  .panel-vendedor-productos-mensaje {
    top: 10px;
    right: 10px;
    left: 10px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .panel-vendedor-productos-header {
    margin-bottom: 20px;
  }

  .panel-vendedor-productos-title {
    font-size: 20px;
  }

  .panel-vendedor-productos-subtitle {
    font-size: 14px;
  }

  .panel-vendedor-producto-imagen-container {
    height: 160px;
  }

  .panel-vendedor-productos-modal-footer {
    flex-direction: column;
  }

  .panel-vendedor-productos-modal-footer button {
    width: 100%;
  }
}

/* src/pages/vendedor/panel/PanelVendedorAgregarProducto.css */

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */
.panel-vendedor-agregar-producto-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  background: rgba(10, 10, 10, 0.6);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

/* ============================================
   TÍTULO
   ============================================ */
.panel-vendedor-agregar-title-section {
  margin-bottom: 32px;
  text-align: center;
}

.panel-vendedor-agregar-title {
  font-size: 32px;
  font-weight: 800;
  color: #e9ecef;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.panel-vendedor-agregar-subtitle {
  font-size: 16px;
  color: #b7bcc4;
  font-weight: 400;
}

/* ============================================
   BANNERS DE CRÉDITOS Y PREMIUM
   ============================================ */
.panel-vendedor-agregar-creditos,
.panel-vendedor-agregar-premium {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  animation: panelVendedorFadeIn 0.5s ease-out;
}

.panel-vendedor-agregar-creditos.success {
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.panel-vendedor-agregar-creditos.warning {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.panel-vendedor-agregar-premium {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(240, 213, 116, 0.15));
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.creditos-icon,
.premium-icon {
  font-size: 32px;
}

.creditos-title,
.premium-title {
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  margin-bottom: 4px;
}

.creditos-text,
.premium-text {
  font-size: 14px;
  color: #b7bcc4;
}

/* ============================================
   MENSAJE DE ERROR
   ============================================ */
.panel-vendedor-agregar-error {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e74c3c;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  animation: panelVendedorShake 0.5s ease-out;
}

/* ============================================
   FORMULARIO
   ============================================ */
.panel-vendedor-agregar-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ============================================
   SECCIONES
   ============================================ */
.panel-vendedor-agregar-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.panel-vendedor-agregar-section:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
}

.panel-vendedor-agregar-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   FORM GROUPS
   ============================================ */
.panel-vendedor-agregar-form-group {
  margin-bottom: 20px;
}

.panel-vendedor-agregar-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #e9ecef;
  margin-bottom: 8px;
}

.panel-vendedor-agregar-input,
.panel-vendedor-agregar-select,
.panel-vendedor-agregar-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #e9ecef;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.panel-vendedor-agregar-input:focus,
.panel-vendedor-agregar-select:focus,
.panel-vendedor-agregar-textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.panel-vendedor-agregar-input:disabled,
.panel-vendedor-agregar-select:disabled,
.panel-vendedor-agregar-textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.panel-vendedor-agregar-textarea {
  resize: vertical;
  min-height: 100px;
}

.panel-vendedor-agregar-hint {
  font-size: 12px;
  color: #95a5a6;
  margin-top: 6px;
  font-style: italic;
}

/* ============================================
   RADIO BUTTONS
   ============================================ */
.panel-vendedor-agregar-radio-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.panel-vendedor-agregar-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #e9ecef;
  font-weight: 500;
}

.panel-vendedor-agregar-radio {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #d4af37;
}

/* ============================================
   CHECKBOXES
   ============================================ */
.panel-vendedor-agregar-checkbox-group {
  margin-bottom: 16px;
}

.panel-vendedor-agregar-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #e9ecef;
  font-weight: 500;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.panel-vendedor-agregar-checkbox-label:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

.panel-vendedor-agregar-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #d4af37;
}

/* ============================================
   GARANTÍA CONTAINER
   ============================================ */
.panel-vendedor-agregar-garantia-container {
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.2);
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  animation: panelVendedorSlideDown 0.3s ease-out;
}

/* ============================================
   FORM ROW (2 COLUMNAS)
   ============================================ */
.panel-vendedor-agregar-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

/* ============================================
   OFERTA CONTAINER
   ============================================ */
.panel-vendedor-agregar-oferta-container {
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid rgba(243, 156, 18, 0.2);
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  animation: panelVendedorSlideDown 0.3s ease-out;
}

.panel-vendedor-agregar-precio-final {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid rgba(39, 174, 96, 0.3);
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
}

.precio-final-label {
  font-size: 14px;
  color: #e9ecef;
  font-weight: 600;
}

.precio-final-value {
  font-size: 20px;
  font-weight: 800;
  color: #27ae60;
}

/* ============================================
   IMAGE UPLOAD
   ============================================ */
.panel-vendedor-agregar-image-upload {
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.panel-vendedor-agregar-image-upload:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.05);
}

.upload-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.upload-option {
  width: 100%;
}

.file-label {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.file-label:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.file-input {
  display: none;
}

.preview-container {
  margin-top: 20px;
  animation: panelVendedorFadeIn 0.4s ease-out;
}

.preview-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 12px;
  object-fit: cover;
}

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

.file-name {
  flex: 1 1;
  font-size: 13px;
  color: #b7bcc4;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button,
.delete-button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-button {
  background: rgba(52, 152, 219, 0.2);
  color: #3498db;
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.copy-button:hover {
  background: rgba(52, 152, 219, 0.3);
  transform: translateY(-2px);
}

.delete-button {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.delete-button:hover {
  background: rgba(231, 76, 60, 0.3);
  transform: translateY(-2px);
}

/* ============================================
   BOTONES DE ACCIÓN
   ============================================ */
.panel-vendedor-agregar-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-vendedor-agregar-btn-cancel,
.panel-vendedor-agregar-btn-submit {
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
}

.panel-vendedor-agregar-btn-cancel {
  background: rgba(255, 255, 255, 0.05);
  color: #e9ecef;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-vendedor-agregar-btn-cancel:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.panel-vendedor-agregar-btn-submit {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.panel-vendedor-agregar-btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.5);
}

.panel-vendedor-agregar-btn-submit:disabled,
.panel-vendedor-agregar-btn-cancel:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   MODAL DE ÉXITO
   ============================================ */
.panel-vendedor-agregar-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: panelVendedorFadeIn 0.3s ease-out;
}

.panel-vendedor-agregar-modal-content {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(30, 30, 30, 0.98));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: panelVendedorSlideUp 0.4s ease-out;
}

.panel-vendedor-agregar-modal-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.panel-vendedor-agregar-modal-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: #27ae60;
  margin: 0;
}

.panel-vendedor-agregar-modal-body {
  padding: 24px;
  color: #e9ecef;
  font-size: 15px;
  line-height: 1.6;
}

.panel-vendedor-agregar-expiracion-info {
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  display: flex;
  gap: 16px;
  animation: panelVendedorFadeIn 0.5s ease-out;
}

.expiracion-icono {
  font-size: 36px;
}

.expiracion-texto {
  flex: 1 1;
}

.expiracion-subtitulo {
  font-size: 14px;
  color: #b7bcc4;
  margin-bottom: 8px;
  font-weight: 600;
}

.expiracion-fecha {
  font-size: 16px;
  font-weight: 700;
  color: #f39c12;
  margin-bottom: 6px;
}

.expiracion-dias {
  font-size: 14px;
  color: #e9ecef;
  margin-bottom: 12px;
  font-weight: 600;
}

.expiracion-aviso {
  font-size: 13px;
  color: #95a5a6;
  font-style: italic;
}

.panel-vendedor-agregar-modal-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
}

.panel-vendedor-agregar-modal-btn {
  padding: 12px 48px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  border: none;
  border-radius: 8px;
  color: #0a0a0a;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.panel-vendedor-agregar-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

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

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

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

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .panel-vendedor-agregar-producto-container {
    padding: 16px;
  }

  .panel-vendedor-agregar-title {
    font-size: 24px;
  }

  .panel-vendedor-agregar-subtitle {
    font-size: 14px;
  }

  .panel-vendedor-agregar-section {
    padding: 16px;
  }

  .panel-vendedor-agregar-section-title {
    font-size: 18px;
  }

  .panel-vendedor-agregar-form-row {
    grid-template-columns: 1fr;
  }

  .panel-vendedor-agregar-actions {
    flex-direction: column;
  }

  .panel-vendedor-agregar-btn-cancel,
  .panel-vendedor-agregar-btn-submit {
    width: 100%;
  }

  .panel-vendedor-agregar-radio-group {
    flex-direction: column;
    gap: 12px;
  }

  .preview-actions {
    flex-direction: column;
  }

  .file-name {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .panel-vendedor-agregar-title {
    font-size: 20px;
  }

  .panel-vendedor-agregar-creditos,
  .panel-vendedor-agregar-premium {
    flex-direction: column;
    text-align: center;
  }

  .panel-vendedor-agregar-expiracion-info {
    flex-direction: column;
    text-align: center;
  }
}
/* ============================================
   SELECT - OPCIONES DEL DROPDOWN
   ============================================ */

.panel-vendedor-agregar-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #e9ecef;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
  
  /* 🆕 IMPORTANTE: Cursor pointer */
  cursor: pointer;
}

/* 🆕 ESTILIZAR LAS OPCIONES DEL SELECT */
.panel-vendedor-agregar-select option {
  background: #1a1a1a;  /* Fondo oscuro */
  color: #4589cc;       /* Texto claro */
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
}

/* 🆕 OPCIÓN HOVER (funciona en algunos navegadores) */
.panel-vendedor-agregar-select option:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
}

/* 🆕 OPCIÓN SELECCIONADA */
.panel-vendedor-agregar-select option:checked {
  background: rgba(6, 46, 37, 0.548);
  color: #d4af37;
  font-weight: 700;
}

/* 🆕 OPCIÓN DISABLED */
.panel-vendedor-agregar-select option:disabled {
  color: #666;
  background: #0a0a0a;
}

/* En tu .panel-vendedor-agregar-select */
.panel-vendedor-agregar-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #e9ecef;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
  
  /* 🔥 ESTO CAMBIA EL TEMA DEL DROPDOWN */
  color-scheme: dark;
}

/* src/pages/vendedor/panel/PanelVendedorEditarProducto.css */

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */
.panel-vendedor-editar-producto-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  background: rgba(10, 10, 10, 0.6);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

/* ============================================
   TÍTULO
   ============================================ */
.panel-vendedor-editar-title-section {
  margin-bottom: 32px;
  text-align: center;
}

.panel-vendedor-editar-title {
  font-size: 32px;
  font-weight: 800;
  color: #e9ecef;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.panel-vendedor-editar-subtitle {
  font-size: 16px;
  color: #b7bcc4;
  font-weight: 400;
}

/* ============================================
   MENSAJES DE ALERTA
   ============================================ */
.panel-vendedor-editar-error,
.panel-vendedor-editar-warning,
.panel-vendedor-editar-danger {
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  animation: panelVendedorEditarFadeIn 0.5s ease-out;
}

.panel-vendedor-editar-error {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e74c3c;
}

.panel-vendedor-editar-warning {
  background: rgba(243, 156, 18, 0.15);
  border: 1px solid rgba(243, 156, 18, 0.3);
  color: #f39c12;
}

.panel-vendedor-editar-danger {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e74c3c;
}

.panel-vendedor-editar-warning-message,
.panel-vendedor-editar-info-message {
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.panel-vendedor-editar-warning-message {
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid rgba(243, 156, 18, 0.2);
  color: #f39c12;
}

.panel-vendedor-editar-info-message {
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.2);
  color: #3498db;
}

/* ============================================
   FORMULARIO
   ============================================ */
.panel-vendedor-editar-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ============================================
   SECCIONES
   ============================================ */
.panel-vendedor-editar-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.panel-vendedor-editar-section:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
}

.panel-vendedor-editar-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   FORM GROUPS
   ============================================ */
.panel-vendedor-editar-form-group {
  margin-bottom: 20px;
}

.panel-vendedor-editar-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #e9ecef;
  margin-bottom: 8px;
}

.panel-vendedor-editar-input,
.panel-vendedor-editar-select,
.panel-vendedor-editar-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #e9ecef;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.panel-vendedor-editar-input:focus,
.panel-vendedor-editar-select:focus,
.panel-vendedor-editar-textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.panel-vendedor-editar-input:disabled,
.panel-vendedor-editar-select:disabled,
.panel-vendedor-editar-textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.panel-vendedor-editar-textarea {
  resize: vertical;
  min-height: 100px;
}

.panel-vendedor-editar-hint {
  font-size: 12px;
  color: #95a5a6;
  margin-top: 6px;
  font-style: italic;
}

/* ============================================
   SELECT - OPCIONES DEL DROPDOWN
   ============================================ */
.panel-vendedor-editar-select {
  cursor: pointer;
  color-scheme: dark;
}

.panel-vendedor-editar-select option {
  background: #1a1a1a;
  color: #e9ecef;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
}

.panel-vendedor-editar-select option:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
}

.panel-vendedor-editar-select option:checked {
  background: rgba(212, 175, 55, 0.3);
  color: #d4af37;
  font-weight: 700;
}

.panel-vendedor-editar-select option:disabled {
  color: #666;
  background: #0a0a0a;
}

/* ============================================
   RADIO BUTTONS
   ============================================ */
.panel-vendedor-editar-radio-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.panel-vendedor-editar-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #e9ecef;
  font-weight: 500;
}

.panel-vendedor-editar-radio {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #d4af37;
}

/* ============================================
   CHECKBOXES
   ============================================ */
.panel-vendedor-editar-checkbox-group {
  margin-bottom: 16px;
}

.panel-vendedor-editar-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #e9ecef;
  font-weight: 500;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.panel-vendedor-editar-checkbox-label:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

.panel-vendedor-editar-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #d4af37;
}

/* ============================================
   GARANTÍA CONTAINER
   ============================================ */
.panel-vendedor-editar-garantia-container {
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.2);
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  animation: panelVendedorEditarSlideDown 0.3s ease-out;
}

/* ============================================
   FORM ROW (2 COLUMNAS)
   ============================================ */
.panel-vendedor-editar-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

/* ============================================
   OFERTA CONTAINER
   ============================================ */
.panel-vendedor-editar-oferta-container {
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid rgba(243, 156, 18, 0.2);
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  animation: panelVendedorEditarSlideDown 0.3s ease-out;
}

.panel-vendedor-editar-precio-final {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid rgba(39, 174, 96, 0.3);
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
}

.precio-final-label {
  font-size: 14px;
  color: #e9ecef;
  font-weight: 600;
}

.precio-final-value {
  font-size: 20px;
  font-weight: 800;
  color: #27ae60;
}

/* ============================================
   IMAGE UPLOAD
   ============================================ */
.panel-vendedor-editar-image-upload {
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.panel-vendedor-editar-image-upload:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.05);
}

.upload-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.upload-option {
  width: 100%;
}

.file-label {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.file-label:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.file-input {
  display: none;
}

.preview-container {
  margin-top: 20px;
  animation: panelVendedorEditarFadeIn 0.4s ease-out;
}

.preview-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 12px;
  object-fit: cover;
}

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

.file-name {
  flex: 1 1;
  font-size: 13px;
  color: #b7bcc4;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cambio-pendiente {
  font-size: 12px;
  color: #f39c12;
  font-weight: 700;
  background: rgba(243, 156, 18, 0.15);
  padding: 4px 8px;
  border-radius: 4px;
}

.copy-button,
.delete-button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-button {
  background: rgba(52, 152, 219, 0.2);
  color: #3498db;
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.copy-button:hover:not(:disabled) {
  background: rgba(52, 152, 219, 0.3);
  transform: translateY(-2px);
}

.delete-button {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.delete-button:hover:not(:disabled) {
  background: rgba(231, 76, 60, 0.3);
  transform: translateY(-2px);
}

.copy-button:disabled,
.delete-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   BOTONES DE ACCIÓN
   ============================================ */
.panel-vendedor-editar-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-vendedor-editar-btn-cancel,
.panel-vendedor-editar-btn-submit {
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
}

.panel-vendedor-editar-btn-cancel {
  background: rgba(255, 255, 255, 0.05);
  color: #e9ecef;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-vendedor-editar-btn-cancel:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.panel-vendedor-editar-btn-submit {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.panel-vendedor-editar-btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.5);
}

.panel-vendedor-editar-btn-submit:disabled,
.panel-vendedor-editar-btn-cancel:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   LOADING Y ERROR
   ============================================ */
.panel-vendedor-editar-loading-container,
.panel-vendedor-editar-error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
  padding: 40px;
}

.panel-vendedor-editar-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(212, 175, 55, 0.2);
  border-top-color: #d4af37;
  border-radius: 50%;
  animation: panelVendedorEditarSpin 1s linear infinite;
  margin-bottom: 20px;
}

.panel-vendedor-editar-error-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.panel-vendedor-editar-error-title {
  font-size: 20px;
  color: #e74c3c;
  margin-bottom: 20px;
}

.panel-vendedor-editar-back-button-error {
  padding: 12px 24px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.panel-vendedor-editar-back-button-error:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

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

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

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .panel-vendedor-editar-producto-container {
    padding: 16px;
  }

  .panel-vendedor-editar-title {
    font-size: 24px;
  }

  .panel-vendedor-editar-subtitle {
    font-size: 14px;
  }

  .panel-vendedor-editar-section {
    padding: 16px;
  }

  .panel-vendedor-editar-section-title {
    font-size: 18px;
  }

  .panel-vendedor-editar-form-row {
    grid-template-columns: 1fr;
  }

  .panel-vendedor-editar-actions {
    flex-direction: column;
  }

  .panel-vendedor-editar-btn-cancel,
  .panel-vendedor-editar-btn-submit {
    width: 100%;
  }

  .panel-vendedor-editar-radio-group {
    flex-direction: column;
    gap: 12px;
  }

  .preview-actions {
    flex-direction: column;
  }

  .file-name {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .panel-vendedor-editar-title {
    font-size: 20px;
  }
}


:root {
  --pvm-bg-primary: #0a0a0a;
  --pvm-bg-secondary: #111;
  --pvm-bg-card: #1a1a1a;
  --pvm-text-primary: #e9ecef;
  --pvm-text-secondary: #888;
  --pvm-border: #2c2c2c;
  --pvm-accent: #3498db;
  --pvm-accent-hover: #2980b9;
  --pvm-success: #27ae60;
  --pvm-warning: #f39c12;
  --pvm-admin: #9b59b6;
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */
.pvm-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  height: calc(100vh - 80px);
  background: #0a0a0a;
  background: var(--pvm-bg-primary);
  grid-gap: 0;
  gap: 0;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   SIDEBAR - LISTA DE CHATS
   ============================================ */
.pvm-sidebar {
  display: flex;
  flex-direction: column;
  background: #111;
  background: var(--pvm-bg-secondary);
  border-right: 1px solid #2c2c2c;
  border-right: 1px solid var(--pvm-border);
  overflow: hidden;
}

.pvm-sidebar-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2c2c2c;
  border-bottom: 1px solid var(--pvm-border);
  flex-shrink: 0;
}

.pvm-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e9ecef;
  color: var(--pvm-text-primary);
}

.pvm-header-title h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.pvm-count {
  background: #1a1a1a;
  background: var(--pvm-bg-card);
  color: #888;
  color: var(--pvm-text-secondary);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}

/* BUSCADOR */
.pvm-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #1a1a1a;
  background: var(--pvm-bg-card);
  border-bottom: 1px solid #2c2c2c;
  border-bottom: 1px solid var(--pvm-border);
  flex-shrink: 0;
}

.pvm-search svg {
  color: #888;
  color: var(--pvm-text-secondary);
  flex-shrink: 0;
}

.pvm-search input {
  flex: 1 1;
  background: transparent;
  border: none;
  outline: none;
  color: #e9ecef;
  color: var(--pvm-text-primary);
  font-size: 14px;
}

.pvm-search input::placeholder {
  color: #888;
  color: var(--pvm-text-secondary);
}

/* LISTA DE CHATS */
.pvm-chats-list {
  flex: 1 1;
  overflow-y: auto;
  padding: 8px;
}

.pvm-chats-list::-webkit-scrollbar {
  width: 6px;
}

.pvm-chats-list::-webkit-scrollbar-track {
  background: transparent;
}

.pvm-chats-list::-webkit-scrollbar-thumb {
  background: #2c2c2c;
  background: var(--pvm-border);
  border-radius: 3px;
}

.pvm-chats-list::-webkit-scrollbar-thumb:hover {
  background: #3a3a3a;
}

/* CHAT ITEM */
.pvm-chat-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 4px;
}

.pvm-chat-item:hover {
  background: #1a1a1a;
  background: var(--pvm-bg-card);
}

.pvm-chat-item.selected {
  background: rgba(52, 152, 219, 0.15);
  border-left: 3px solid #3498db;
  border-left: 3px solid var(--pvm-accent);
}

.pvm-chat-avatar {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #3498db, #2980b9);
  background: linear-gradient(135deg, var(--pvm-accent), var(--pvm-accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.pvm-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pvm-chat-info {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.pvm-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.pvm-chat-header h3 {
  font-size: 14px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--pvm-text-primary);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pvm-time {
  font-size: 11px;
  color: #888;
  color: var(--pvm-text-secondary);
  flex-shrink: 0;
}

.pvm-chat-cliente {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #888;
  color: var(--pvm-text-secondary);
}

.pvm-preview {
  font-size: 13px;
  color: #888;
  color: var(--pvm-text-secondary);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pvm-chat-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pvm-estado {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
}

/* EMPTY STATE SIDEBAR */
.pvm-empty {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #888;
  color: var(--pvm-text-secondary);
  padding: 40px 20px;
}

.pvm-empty p {
  font-size: 14px;
  margin: 0;
}

/* ============================================
   CHAT CONTAINER
   ============================================ */
.pvm-chat-container {
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  background: var(--pvm-bg-primary);
  overflow: hidden;
}

/* NO CHAT SELECTED */
.pvm-no-chat {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #888;
  color: var(--pvm-text-secondary);
}

.pvm-no-chat h2 {
  font-size: 24px;
  color: #e9ecef;
  color: var(--pvm-text-primary);
  margin: 0;
}

.pvm-no-chat p {
  font-size: 14px;
  margin: 0;
}

/* HEADER DEL CHAT */
.pvm-chat-header {
  padding: 16px 20px;
  background: #111;
  background: var(--pvm-bg-secondary);
  border-bottom: 1px solid #2c2c2c;
  border-bottom: 1px solid var(--pvm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  min-height: 80px;
}

.pvm-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
  min-width: 0;
}

.pvm-avatar-large {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #3498db, #2980b9);
  background: linear-gradient(135deg, var(--pvm-accent), var(--pvm-accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.pvm-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pvm-header-info {
  flex: 1 1;
  min-width: 0;
}

.pvm-header-info h2 {
  font-size: 16px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--pvm-text-primary);
  margin: 0 0 4px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pvm-header-info p {
  font-size: 13px;
  color: #888;
  color: var(--pvm-text-secondary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pvm-producto-nombre {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pvm-typing {
  color: #3498db;
  color: var(--pvm-accent);
  font-weight: 500;
  animation: pvm-pulse 1.5s ease-in-out infinite;
}

@keyframes pvm-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pvm-online {
  color: #27ae60;
  color: var(--pvm-success);
  font-weight: 500;
}

.pvm-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #888;
  color: var(--pvm-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.pvm-btn-icon:hover:not(:disabled) {
  background: #1a1a1a;
  background: var(--pvm-bg-card);
  color: #e9ecef;
  color: var(--pvm-text-primary);
}

.pvm-btn-icon:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* INFO DEL PEDIDO */
.pvm-pedido-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #1a1a1a;
  background: var(--pvm-bg-card);
  border-bottom: 1px solid #2c2c2c;
  border-bottom: 1px solid var(--pvm-border);
  animation: pvm-slideDown 0.3s ease;
}

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

.pvm-pedido-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.pvm-pedido-details {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pvm-pedido-details h4 {
  font-size: 15px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--pvm-text-primary);
  margin: 0;
}

.pvm-codigo {
  font-size: 12px;
  color: #888;
  color: var(--pvm-text-secondary);
  font-family: monospace;
}

.pvm-pedido-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.pvm-precio {
  font-weight: 600;
  color: #27ae60;
  color: var(--pvm-success);
}

.pvm-close-info {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #888;
  color: var(--pvm-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.pvm-close-info:hover {
  background: #111;
  background: var(--pvm-bg-secondary);
  color: #e9ecef;
  color: var(--pvm-text-primary);
}

/* ============================================
   MENSAJES
   ============================================ */
.pvm-mensajes {
  flex: 1 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.pvm-mensajes::-webkit-scrollbar {
  width: 6px;
}

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

.pvm-mensajes::-webkit-scrollbar-thumb {
  background: #2c2c2c;
  background: var(--pvm-border);
  border-radius: 3px;
}

.pvm-mensajes::-webkit-scrollbar-thumb:hover {
  background: #3a3a3a;
}

.pvm-empty-messages {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #888;
  color: var(--pvm-text-secondary);
}

.pvm-empty-messages p {
  font-size: 14px;
  margin: 0;
}

/* FECHA DIVISOR */
.pvm-fecha-divisor {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
}

.pvm-fecha-divisor span {
  background: #1a1a1a;
  background: var(--pvm-bg-card);
  color: #888;
  color: var(--pvm-text-secondary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* MENSAJE */
.pvm-mensaje {
  display: flex;
  gap: 10px;
  max-width: 70%;
  flex-shrink: 0;
  animation: pvm-fadeIn 0.3s ease;
}

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

.pvm-mensaje.cliente {
  align-self: flex-start;
}

.pvm-mensaje.mio {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.pvm-mensaje.sistema,
.pvm-mensaje.admin {
  align-self: center;
  max-width: 80%;
}

.pvm-mensaje-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3498db, #2980b9);
  background: linear-gradient(135deg, var(--pvm-accent), var(--pvm-accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  font-size: 14px;
}

.pvm-mensaje-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.pvm-mensaje-nombre {
  font-size: 12px;
  font-weight: 600;
  color: #3498db;
  color: var(--pvm-accent);
  margin: 0 0 2px 0;
}

.pvm-sistema-label {
  font-size: 12px;
  font-weight: 600;
  color: #9b59b6;
  margin: 0 0 4px 0;
  text-align: center;
}

.pvm-admin-label {
  font-size: 12px;
  font-weight: 600;
  color: #9b59b6;
  color: var(--pvm-admin);
  margin: 0 0 4px 0;
  text-align: center;
}

.pvm-mensaje-bubble {
  background: #1a1a1a;
  background: var(--pvm-bg-card);
  color: #e9ecef;
  color: var(--pvm-text-primary);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  white-space: pre-wrap;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.pvm-mensaje.mio .pvm-mensaje-bubble {
  background: #3498db;
  background: var(--pvm-accent);
  color: white;
  border-bottom-right-radius: 4px;
}

.pvm-mensaje.cliente .pvm-mensaje-bubble {
  border-bottom-left-radius: 4px;
}

.pvm-mensaje.sistema .pvm-mensaje-bubble {
  background: rgba(155, 89, 182, 0.15);
  border: 1px solid rgba(155, 89, 182, 0.3);
  color: #e9ecef;
  color: var(--pvm-text-primary);
  text-align: center;
}

.pvm-mensaje.admin .pvm-mensaje-bubble {
  background: rgba(155, 89, 182, 0.2);
  border: 1px solid #9b59b6;
  border: 1px solid var(--pvm-admin);
  color: #e9ecef;
  color: var(--pvm-text-primary);
}

.pvm-mensaje-bubble strong {
  font-weight: 700;
}

.pvm-mensaje-bubble em {
  font-style: italic;
}

.pvm-mensaje-bubble code {
  font-family: 'Courier New', monospace;
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* REPLY PREVIEW */
.pvm-reply-preview {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-left: 3px solid #3498db;
  border-left: 3px solid var(--pvm-accent);
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #888;
  color: var(--pvm-text-secondary);
}

.pvm-reply-preview span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* IMAGEN EN MENSAJE */
.pvm-mensaje-imagen {
  max-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 8px;
  transition: transform 0.2s;
}

.pvm-mensaje-imagen:hover {
  transform: scale(1.02);
}

/* ARCHIVO EN MENSAJE */
.pvm-mensaje-archivo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid #2c2c2c;
  border: 1px solid var(--pvm-border);
  margin-bottom: 8px;
}

.pvm-mensaje-archivo a {
  color: #3498db;
  color: var(--pvm-accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.pvm-mensaje-archivo a:hover {
  text-decoration: underline;
}

/* TICKET REF */
.pvm-ticket-ref {
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.pvm-ticket-ref-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(52, 152, 219, 0.15);
  border-bottom: 1px solid rgba(52, 152, 219, 0.3);
  font-weight: 600;
  font-size: 13px;
  color: #3498db;
  color: var(--pvm-accent);
}

.pvm-ticket-ref-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pvm-ticket-ref-row {
  display: flex;
  gap: 8px;
  font-size: 12px;
}

.pvm-ticket-ref-label {
  font-weight: 600;
  color: #888;
  color: var(--pvm-text-secondary);
  min-width: 80px;
}

.pvm-ticket-ref-value {
  color: #e9ecef;
  color: var(--pvm-text-primary);
  flex: 1 1;
}

.pvm-ticket-ref-imagenes {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(52, 152, 219, 0.2);
  flex-wrap: wrap;
}

.pvm-ticket-ref-imagenes img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}

.pvm-ticket-ref-imagenes img:hover {
  transform: scale(1.1);
}

.pvm-ticket-ref-mas {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #1a1a1a;
  background: var(--pvm-bg-card);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #888;
  color: var(--pvm-text-secondary);
}

/* FOOTER DEL MENSAJE */
.pvm-mensaje-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 4px 8px 0;
  font-size: 11px;
}

.pvm-hora {
  color: #888;
  color: var(--pvm-text-secondary);
}

.pvm-check {
  display: flex;
  align-items: center;
}

.pvm-check .enviado {
  color: #888;
  color: var(--pvm-text-secondary);
}

.pvm-check .leido {
  color: #00d9ff;
}

/* REACCIONES */
.pvm-reacciones {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 4px 0;
}

.pvm-reacciones span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 8px;
  background: #1a1a1a;
  background: var(--pvm-bg-card);
  border-radius: 12px;
  font-size: 12px;
  border: 1px solid #2c2c2c;
  border: 1px solid var(--pvm-border);
}

/* ACCIONES DEL MENSAJE */
.pvm-mensaje-acciones {
  display: flex;
  gap: 4px;
  padding: 8px 0;
  margin-top: 4px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.pvm-mensaje-acciones.visible {
  opacity: 1;
  max-height: 50px;
}

/* Botón de menú (tres puntos) */
.pvm-mensaje-menu-btn {
  position: absolute;
  top: -18px;
  right: 8px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  border-radius: 6px;
  color: #888;
  color: var(--pvm-text-secondary);
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  opacity: 0;
  transition: all 0.2s;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.pvm-mensaje:hover .pvm-mensaje-menu-btn {
  opacity: 1;
}

.pvm-mensaje-menu-btn:hover {
  background: rgba(0, 0, 0, 0.4);
  color: #e9ecef;
  color: var(--pvm-text-primary);
}

.pvm-mensaje-menu-btn.active {
  opacity: 1;
  background: #3498db;
  background: var(--pvm-accent);
  color: white;
}


.pvm-mensaje-acciones button {
  padding: 4px 8px;
  background: #1a1a1a;
  background: var(--pvm-bg-card);
  border: 1px solid #2c2c2c;
  border: 1px solid var(--pvm-border);
  border-radius: 6px;
  color: #888;
  color: var(--pvm-text-secondary);
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pvm-mensaje-acciones button:hover {
  background: #111;
  background: var(--pvm-bg-secondary);
  color: #e9ecef;
  color: var(--pvm-text-primary);
  transform: translateY(-1px);
}

/* ============================================
   PREVIEW ARCHIVO
   ============================================ */
.pvm-preview-container {
  padding: 16px 20px;
  background: #0d0d0d;
  border-top: 1px solid #2c2c2c;
  border-top: 1px solid var(--pvm-border);
  flex-shrink: 0;
  animation: pvm-slideUp 0.3s ease;
}

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

.pvm-preview {
  position: relative;
  max-width: 200px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pvm-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.pvm-file-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: #1a1a1a;
  background: var(--pvm-bg-card);
  color: #e9ecef;
  color: var(--pvm-text-primary);
}

.pvm-file-preview span {
  font-size: 13px;
  text-align: center;
}

.pvm-preview-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.pvm-preview-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

/* RESPONDER PREVIEW */
.pvm-responder-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(52, 152, 219, 0.1);
  border-top: 1px solid rgba(52, 152, 219, 0.3);
  border-left: 3px solid #3498db;
  border-left: 3px solid var(--pvm-accent);
  animation: pvm-slideUp 0.3s ease;
}

.pvm-responder-preview > div {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pvm-responder-nombre {
  font-size: 12px;
  font-weight: 600;
  color: #3498db;
  color: var(--pvm-accent);
}

.pvm-responder-texto {
  font-size: 13px;
  color: #888;
  color: var(--pvm-text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pvm-responder-preview button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #888;
  color: var(--pvm-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.pvm-responder-preview button:hover {
  background: #1a1a1a;
  background: var(--pvm-bg-card);
  color: #e9ecef;
  color: var(--pvm-text-primary);
}

/* ============================================
   INPUT AREA
   ============================================ */
.pvm-input-area {
  padding: 16px 20px;
  background: #111;
  background: var(--pvm-bg-secondary);
  border-top: 1px solid #2c2c2c;
  border-top: 1px solid var(--pvm-border);
  display: flex;
  align-items: flex-end;
  gap: 12px;
  position: relative;
  flex-shrink: 0;
  min-height: 74px;
}

/* Botones del input (adjuntar y emoji) */
.pvm-input-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #2c2c2c;
  border: 1px solid var(--pvm-border);
  color: #888;
  color: var(--pvm-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.pvm-input-btn:hover:not(:disabled) {
  background: #1a1a1a;
  background: var(--pvm-bg-card);
  color: #e9ecef;
  color: var(--pvm-text-primary);
  border-color: #3498db;
  border-color: var(--pvm-accent);
  transform: scale(1.05);
}

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

.pvm-emoji-picker {
  position: absolute;
  bottom: 100%;
  left: 60px;
  margin-bottom: 8px;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  overflow: hidden;
}

.pvm-textarea {
  flex: 1 1;
  background: #1a1a1a;
  background: var(--pvm-bg-card);
  border: 1px solid #2c2c2c;
  border: 1px solid var(--pvm-border);
  border-radius: 20px;
  padding: 12px 16px;
  color: #e9ecef;
  color: var(--pvm-text-primary);
  font-size: 14px;
  font-family: inherit;
  resize: none;
  max-height: 120px;
  min-height: 42px;
  height: 42px;
  outline: none;
  transition: border-color 0.2s;
  overflow-y: auto;
}

.pvm-textarea::-webkit-scrollbar {
  width: 6px;
}

.pvm-textarea::-webkit-scrollbar-thumb {
  background: #2c2c2c;
  background: var(--pvm-border);
  border-radius: 3px;
}

.pvm-textarea:focus {
  border-color: #3498db;
  border-color: var(--pvm-accent);
}

.pvm-textarea::placeholder {
  color: #888;
  color: var(--pvm-text-secondary);
}

.pvm-textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pvm-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #3498db;
  background: var(--pvm-accent);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.pvm-send-btn:hover:not(:disabled) {
  background: #2980b9;
  background: var(--pvm-accent-hover);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.pvm-send-btn:disabled {
  background: #2c2c2c;
  background: var(--pvm-border);
  cursor: not-allowed;
  opacity: 0.5;
}

/* ============================================
   MODAL IMAGEN
   ============================================ */
.pvm-modal-imagen {
  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: 9999;
  padding: 20px;
  animation: pvm-fadeIn 0.2s ease;
}

.pvm-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.pvm-modal-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.pvm-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.pvm-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.pvm-btn-download {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #3498db;
  background: var(--pvm-accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.pvm-btn-download:hover {
  background: #2980b9;
  background: var(--pvm-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

/* ============================================
   LOADING
   ============================================ */
.pvm-loading {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #888;
  color: var(--pvm-text-secondary);
  padding: 40px;
}

.pvm-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #2c2c2c;
  border: 3px solid var(--pvm-border);
  border-top-color: #3498db;
  border-top-color: var(--pvm-accent);
  border-radius: 50%;
  animation: pvm-spin 0.8s linear infinite;
}

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

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

.pvm-loading p {
  font-size: 14px;
  margin: 0;
}


@media (max-width: 1024px) {
  .pvm-layout {
    grid-template-columns: 320px 1fr;
  }

  .pvm-mensaje {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .pvm-layout {
    grid-template-columns: 1fr;
  }

  .pvm-sidebar {
    display: none;
  }

  .pvm-mensaje {
    max-width: 85%;
  }

  .pvm-textarea {
    font-size: 16px; 
  }

  .pvm-header-info h2 {
    font-size: 14px;
  }

  .pvm-header-info p {
    font-size: 12px;
  }

    .pvm-pedido-info {
      flex-wrap: wrap;
    }
  }

  .pvm-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pvm-btn-icon {
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pvm-btn-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.pvm-btn-icon:active {
  transform: translateY(0);
}

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


.pvm-btn-detalle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.pvm-btn-detalle:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.pvm-btn-detalle:active {
  transform: translateY(0);
}

.pvm-btn-detalle span {
  white-space: nowrap;
}

.pvm-btn-icon {
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pvm-btn-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.pvm-btn-icon:active {
  transform: translateY(0);
}


@media (max-width: 768px) {
  .pvm-btn-detalle span {
    display: none;
  }
  
  .pvm-btn-detalle {
    padding: 8px;
  }
}


.pvm-mensaje-bubble {
  position: relative;
  padding-right: 40px; 
}

.pvm-mensaje.mio .pvm-mensaje-bubble {
  padding-right: 16px;
  padding-left: 40px;
}

.pvm-mensaje.mio .pvm-mensaje-menu-btn {
  right: auto;
  left: 8px;
}

/* ===================================
   🔥 BADGES DE DÍAS RESTANTES - PREMIUM
   =================================== */

/* Badge en la lista de chats (pequeño) */
.pvm-dias-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  white-space: nowrap;
}

.pvm-dias-badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  transition: width 0.25s ease;
}

.pvm-dias-badge:hover::before {
  width: 3px;
}

/* Badge en el header (grande) */
.pvm-dias-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  cursor: default;
}

.pvm-dias-badge-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  transition: width 0.25s ease;
}

.pvm-dias-badge-header:hover::before {
  width: 5px;
}

/* ===================================
   🎯 ESTADOS - ACTIVO
   =================================== */

.pvm-dias-badge.activo,
.pvm-dias-badge-header.activo {
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.18), rgba(0, 0, 0, 0.85));
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
}

.pvm-dias-badge.activo::before,
.pvm-dias-badge-header.activo::before {
  background: linear-gradient(180deg, #10b981, #059669);
}

.pvm-dias-badge.activo svg,
.pvm-dias-badge-header.activo svg {
  color: #10b981;
  filter: drop-shadow(0 0 2px rgba(16, 185, 129, 0.5));
}

.pvm-dias-badge.activo:hover,
.pvm-dias-badge-header.activo:hover {
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.24), rgba(0, 0, 0, 0.8));
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.2);
}

/* ===================================
   ⏰ ESTADOS - POR VENCER
   =================================== */

.pvm-dias-badge.por-vencer,
.pvm-dias-badge-header.por-vencer {
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.2), rgba(0, 0, 0, 0.85));
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
  animation: pulse-warning-dark 2.5s ease-in-out infinite;
}

.pvm-dias-badge.por-vencer::before,
.pvm-dias-badge-header.por-vencer::before {
  background: linear-gradient(180deg, #f59e0b, #d97706);
  animation: slide-glow 2s ease-in-out infinite;
}

.pvm-dias-badge.por-vencer svg,
.pvm-dias-badge-header.por-vencer svg {
  color: #fbbf24;
  filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.6));
  animation: shake-alert 2s ease-in-out infinite;
}

.pvm-dias-badge.por-vencer:hover,
.pvm-dias-badge-header.por-vencer:hover {
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.28), rgba(0, 0, 0, 0.8));
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 3px 14px rgba(245, 158, 11, 0.25);
}

/* ===================================
   ⚠️ ESTADOS - VENCIDO
   =================================== */

.pvm-dias-badge.vencido,
.pvm-dias-badge-header.vencido {
  background: radial-gradient(circle at top left, rgba(239, 68, 68, 0.16), rgba(0, 0, 0, 0.85));
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.12);
  opacity: 0.9;
}

.pvm-dias-badge.vencido::before,
.pvm-dias-badge-header.vencido::before {
  background: linear-gradient(180deg, #ef4444, #dc2626);
}

.pvm-dias-badge.vencido svg,
.pvm-dias-badge-header.vencido svg {
  color: #ef4444;
  filter: drop-shadow(0 0 2px rgba(239, 68, 68, 0.5));
}

.pvm-dias-badge.vencido:hover,
.pvm-dias-badge-header.vencido:hover {
  background: radial-gradient(circle at top left, rgba(239, 68, 68, 0.22), rgba(0, 0, 0, 0.8));
  border-color: rgba(239, 68, 68, 0.4);
  opacity: 1;
}

/* ===================================
   ✨ ANIMACIONES PREMIUM
   =================================== */

@keyframes pulse-warning-dark {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
  }
  50% {
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3), 0 0 20px rgba(245, 158, 11, 0.08);
  }
}

@keyframes slide-glow {
  0%, 100% {
    transform: translateY(-100%);
    opacity: 0.5;
  }
  50% {
    transform: translateY(100%);
    opacity: 1;
  }
}

@keyframes shake-alert {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: rotate(-4deg);
  }
  20%, 40%, 60%, 80% {
    transform: rotate(4deg);
  }
}

/* Efecto de brillo sutil al hover */
.pvm-dias-badge::after,
.pvm-dias-badge-header::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.pvm-dias-badge:hover::after,
.pvm-dias-badge-header:hover::after {
  left: 100%;
}

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

@media (max-width: 768px) {
  .pvm-dias-badge {
    font-size: 9px;
    padding: 2px 6px;
    gap: 3px;
  }
  
  .pvm-dias-badge-header {
    font-size: 11px;
    padding: 6px 12px;
    gap: 5px;
  }
  
  .pvm-dias-badge svg,
  .pvm-dias-badge-header svg {
    width: 12px;
    height: 12px;
  }
}
/* Badge en la lista de chats (más ancho para el texto completo) */
.pmc-expiracion {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: -webkit-fit-content;
  width: fit-content;
  max-width: 100%;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

/* Badge en el header (más ancho) */
.pvm-dias-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  cursor: default;
  max-width: -webkit-max-content;
  max-width: max-content;
}

.pvm-dias-badge-header span {
  white-space: nowrap;
}

:root {
  --pvs-bg-primary: #0a0a0a;
  --pvs-bg-secondary: rgba(10, 10, 10, 0.98);
  --pvs-border-color: rgba(255, 255, 255, 0.12);
  --pvs-text-primary: #e9ecef;
  --pvs-text-secondary: #b7bcc4;
  --pvs-accent-gold: #d4af37;
  --pvs-accent-red: #e50914;
  --pvs-success-green: #27ae60;
  --pvs-warning-orange: #f39c12;
  --pvs-error-red: #e74c3c;
}

/* CONTENEDOR PRINCIPAL */
.pvs-wrapper {
  padding: 24px;
  font-family: 'Rajdhani', sans-serif;
  color: #e9ecef;
  color: var(--pvs-text-primary);
  min-height: 100vh;
}

/* HEADER */
.pvs-header {
  margin-bottom: 24px;
}

.pvs-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', monospace;
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 6px 0;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--pvs-accent-gold), #f0d574);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pvs-title svg {
  color: #d4af37;
  color: var(--pvs-accent-gold);
}

.pvs-subtitle {
  margin: 0;
  font-size: 15px;
  color: #b7bcc4;
  color: var(--pvs-text-secondary);
}

/* BLOQUE INFO VENDEDOR (DEBUG) */
.pvs-debug-vendedor {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border: 1px dashed var(--pvs-border-color);
  font-size: 13px;
  color: #b7bcc4;
  color: var(--pvs-text-secondary);
}

.pvs-debug-vendedor h4 {
  margin: 0 0 6px 0;
  font-size: 14px;
  color: #d4af37;
  color: var(--pvs-accent-gold);
}

/* LOADING */
.pvs-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 12px;
  color: #b7bcc4;
  color: var(--pvs-text-secondary);
}

.pvs-spinner {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #d4af37;
  border-top-color: var(--pvs-accent-gold);
  animation: pvs-spin 0.8s linear infinite;
}

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

/* ESTADO VACÍO */
.pvs-empty {
  margin-top: 24px;
  padding: 40px 20px;
  text-align: center;
  background: rgba(10, 10, 10, 0.98);
  background: var(--pvs-bg-secondary);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pvs-border-color);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}

.pvs-empty-icon {
  color: #b7bcc4;
  color: var(--pvs-text-secondary);
  margin-bottom: 10px;
}

.pvs-empty h3 {
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 600;
}

.pvs-empty p {
  margin: 0;
  font-size: 14px;
  color: #b7bcc4;
  color: var(--pvs-text-secondary);
}

/* LISTA DE TICKETS */
.pvs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

/* ITEM TICKET */
.pvs-item {
  display: flex;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(10, 10, 10, 0.98);
  background: var(--pvs-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pvs-border-color);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.pvs-item-main {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* HEADER DEL ITEM */
.pvs-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.pvs-item-id {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #b7bcc4;
  color: var(--pvs-text-secondary);
}

.pvs-item-id svg {
  color: #d4af37;
  color: var(--pvs-accent-gold);
}

/* BADGE ESTADO */
.pvs-badge-estado {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.pvs-badge-estado svg {
  width: 14px;
  height: 14px;
}

/* Estados */
.pvs-estado-abierto {
  background: rgba(229, 160, 13, 0.12);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.5);
}

.pvs-estado-proceso {
  background: rgba(52, 152, 219, 0.12);
  color: #3498db;
  border: 1px solid rgba(52, 152, 219, 0.6);
}

.pvs-estado-resuelto {
  background: rgba(39, 174, 96, 0.12);
  color: #27ae60;
  color: var(--pvs-success-green);
  border: 1px solid rgba(39, 174, 96, 0.6);
}

.pvs-estado-cerrado,
.pvs-estado-rechazado {
  background: rgba(231, 76, 60, 0.12);
  color: #e74c3c;
  color: var(--pvs-error-red);
  border: 1px solid rgba(231, 76, 60, 0.6);
}

.pvs-estado-default {
  background: rgba(255, 255, 255, 0.05);
  color: #b7bcc4;
  color: var(--pvs-text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pvs-border-color);
}

/* ASUNTO */
.pvs-item-asunto {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

/* INFO DEL TICKET */
.pvs-item-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
}

.pvs-info-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b7bcc4;
  color: var(--pvs-text-secondary);
}

.pvs-info-row svg {
  width: 14px;
  height: 14px;
  color: #b7bcc4;
  color: var(--pvs-text-secondary);
}

/* FOOTER (FECHAS) */
.pvs-item-footer {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
  color: #b7bcc4;
  color: var(--pvs-text-secondary);
}

.pvs-item-fecha {
  opacity: 0.85;
}

/* ACCIONES */
.pvs-item-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.pvs-btn-chat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--pvs-accent-red), #ff1a25);
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pvs-btn-chat svg {
  width: 16px;
  height: 16px;
}

.pvs-btn-chat:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.7);
}

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

  .pvs-item {
    flex-direction: column;
  }

  .pvs-item-actions {
    flex-direction: row;
    justify-content: flex-start;
  }
}

/* src/pages/vendedor/panel/PanelVendedorMisPedidos.css */

:root {
  --pvp-bg-primary: #0a0a0a;
  --pvp-bg-secondary: rgba(10, 10, 10, 0.95);
  --pvp-bg-card: rgba(20, 20, 20, 0.95);
  --pvp-gold: #d4af37;
  --pvp-gold-light: #f0d574;
  --pvp-text-primary: #e9ecef;
  --pvp-text-secondary: #b7bcc4;
  --pvp-border: rgba(255, 255, 255, 0.12);
  --pvp-success: #27ae60;
  --pvp-warning: #f39c12;
  --pvp-danger: #e74c3c;
  --pvp-info: #3498db;
}

/* LOADING */
.pvp-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  background: transparent;
}

.pvp-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border: 4px solid var(--pvp-border);
  border-top-color: #d4af37;
  border-top-color: var(--pvp-gold);
  border-radius: 50%;
  animation: pvp-spin 1s linear infinite;
}

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

.pvp-loading-text {
  margin-top: 16px;
  color: #b7bcc4;
  color: var(--pvp-text-secondary);
  font-size: 15px;
}

/* CONTAINER PRINCIPAL */
.pvp-container {
  background: #0a0a0a;
  background: var(--pvp-bg-primary);
  padding: 20px;
  min-height: calc(100vh - 70px);
  color: #e9ecef;
  color: var(--pvp-text-primary);
  font-family: 'Rajdhani', sans-serif;
}

/* HEADER DE PÁGINA */
.pvp-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

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

.pvp-page-icon {
  color: #d4af37;
  color: var(--pvp-gold);
}

.pvp-page-text {
  display: flex;
  flex-direction: column;
}

.pvp-page-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.pvp-page-subtitle {
  margin: 0;
  font-size: 14px;
  color: #b7bcc4;
  color: var(--pvp-text-secondary);
}

/* SALDO */
.pvp-page-header-right {
  display: flex;
  align-items: center;
}

.pvp-wallet-display {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.95);
  background: var(--pvp-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pvp-border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pvp-wallet-display:hover {
  border-color: #d4af37;
  border-color: var(--pvp-gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.pvp-wallet-icon {
  color: #d4af37;
  color: var(--pvp-gold);
}

.pvp-wallet-info {
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

.pvp-wallet-label {
  color: #b7bcc4;
  color: var(--pvp-text-secondary);
}

.pvp-wallet-amount {
  font-weight: 700;
}

/* STATS */
.pvp-stats-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 18px;
}

.pvp-stat-card {
  background: rgba(10, 10, 10, 0.95);
  background: var(--pvp-bg-secondary);
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pvp-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pvp-stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pvp-stat-total {
  background: rgba(212, 175, 55, 0.1);
  color: #f0d574;
  color: var(--pvp-gold-light);
}

.pvp-stat-pendiente {
  background: rgba(243, 156, 18, 0.1);
  color: #f39c12;
  color: var(--pvp-warning);
}

.pvp-stat-proceso {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
  color: var(--pvp-info);
}

.pvp-stat-entregado {
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
  color: var(--pvp-success);
}

.pvp-stat-info {
  display: flex;
  flex-direction: column;
}

.pvp-stat-label {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--pvp-text-secondary);
}

.pvp-stat-value {
  font-size: 18px;
  font-weight: 700;
}

/* CONTROLES */
.pvp-controls-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pvp-controls-left {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pvp-filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 10, 10, 0.95);
  background: var(--pvp-bg-secondary);
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pvp-border);
}

.pvp-filter-icon {
  color: #b7bcc4;
  color: var(--pvp-text-secondary);
}

.pvp-select-filter {
  background: transparent;
  border: none;
  color: #e9ecef;
  color: var(--pvp-text-primary);
  font-size: 13px;
  outline: none;
}

.pvp-search-group {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 10, 10, 0.95);
  background: var(--pvp-bg-secondary);
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pvp-border);
  min-width: 220px;
}

.pvp-search-icon {
  color: #b7bcc4;
  color: var(--pvp-text-secondary);
}

.pvp-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #e9ecef;
  color: var(--pvp-text-primary);
  font-size: 13px;
  width: 100%;
}

/* TOGGLE VISTA */
.pvp-view-toggle {
  display: flex;
  gap: 8px;
}

.pvp-view-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pvp-border);
  background: rgba(10, 10, 10, 0.95);
  background: var(--pvp-bg-secondary);
  color: #b7bcc4;
  color: var(--pvp-text-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pvp-view-button svg {
  width: 16px;
  height: 16px;
}

.pvp-view-active {
  border-color: #d4af37;
  border-color: var(--pvp-gold);
  color: #f0d574;
  color: var(--pvp-gold-light);
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.4);
}

/* RESULTADOS */
.pvp-results-info {
  margin-bottom: 10px;
}

.pvp-results-text {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--pvp-text-secondary);
}

/* EMPTY STATE */
.pvp-empty-state {
  padding: 40px 20px;
  text-align: center;
  background: rgba(10, 10, 10, 0.95);
  background: var(--pvp-bg-secondary);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pvp-border);
}

.pvp-empty-icon {
  color: #b7bcc4;
  color: var(--pvp-text-secondary);
  margin-bottom: 8px;
}

.pvp-empty-title {
  margin: 0 0 4px 0;
  font-size: 18px;
}

.pvp-empty-text {
  margin: 0;
  font-size: 14px;
  color: #b7bcc4;
  color: var(--pvp-text-secondary);
}

/* TARJETAS */
.pvp-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

.pvp-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--pvp-bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pvp-border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* HEADER CARD */
.pvp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pvp-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.pvp-badge-pendiente {
  background: rgba(243, 156, 18, 0.12);
  color: #f39c12;
  color: var(--pvp-warning);
}

.pvp-badge-proceso {
  background: rgba(52, 152, 219, 0.12);
  color: #3498db;
  color: var(--pvp-info);
}

.pvp-badge-entregado {
  background: rgba(39, 174, 96, 0.12);
  color: #27ae60;
  color: var(--pvp-success);
}

.pvp-badge-completado {
  background: rgba(155, 89, 182, 0.12);
  color: #9b59b6;
}

.pvp-badge-cancelado {
  background: rgba(231, 76, 60, 0.12);
  color: #e74c3c;
  color: var(--pvp-danger);
}

.pvp-badge-default {
  background: rgba(255, 255, 255, 0.05);
  color: #b7bcc4;
  color: var(--pvp-text-secondary);
}

.pvp-card-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #b7bcc4;
  color: var(--pvp-text-secondary);
}

/* BODY CARD */
.pvp-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pvp-card-producto {
  display: flex;
  gap: 10px;
}

.pvp-card-imagen {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pvp-border);
}

.pvp-card-producto-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pvp-card-producto-nombre {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.pvp-card-codigo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #b7bcc4;
  color: var(--pvp-text-secondary);
}

.pvp-card-cliente {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pvp-card-icon {
  color: #b7bcc4;
  color: var(--pvp-text-secondary);
}

.pvp-card-cliente-info {
  display: flex;
  flex-direction: column;
}

.pvp-card-label {
  font-size: 11px;
  color: #b7bcc4;
  color: var(--pvp-text-secondary);
}

.pvp-card-cliente-nombre {
  font-size: 13px;
  font-weight: 600;
}

.pvp-card-detalles {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.pvp-card-valor,
.pvp-card-precio-valor {
  font-size: 13px;
  font-weight: 600;
}

/* FOOTER CARD */
.pvp-card-footer {
  margin-top: 4px;
  display: flex;
  justify-content: flex-end;
}

.pvp-card-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  background: linear-gradient(135deg, #e50914, #ff1a25);
  color: white;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pvp-card-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.7);
}

/* TABLA */
.pvp-table-container {
  margin-top: 10px;
  background: rgba(10, 10, 10, 0.95);
  background: var(--pvp-bg-secondary);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pvp-border);
  overflow: auto;
}

.pvp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.pvp-table-head {
  background: rgba(255, 255, 255, 0.03);
}

.pvp-th,
.pvp-td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--pvp-border);
  text-align: left;
}

.pvp-th {
  font-weight: 600;
  color: #b7bcc4;
  color: var(--pvp-text-secondary);
  font-size: 12px;
}

.pvp-table-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.pvp-td-imagen {
  width: 40px;
}

.pvp-table-img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
}

.pvp-table-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
}

.pvp-table-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--pvp-border);
  background: transparent;
  color: #e9ecef;
  color: var(--pvp-text-primary);
  cursor: pointer;
  font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .pvp-stats-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pvp-controls-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .pvp-page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .pvp-cards-container {
    grid-template-columns: 1fr;
  }

  .pvp-stats-section {
    grid-template-columns: 1fr;
  }
}


.vpd-back-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #e9ecef;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vpd-back-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(-2px);
}

.vpd-back-button:active {
  transform: translateX(0);
}

.vpd-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  /* resto de estilos... */
}

/* ============================================
   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));
  }
}


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

:root {
  --ms-bg-primary: #0a0a0a;
  --ms-bg-secondary: #1a1a1a;
  --ms-bg-card: rgba(20, 20, 20, 0.95);
  --ms-gold: #d4af37;
  --ms-gold-light: #f0d574;
  --ms-gold-dark: #b8941f;
  --ms-orange: #f39c12;
  --ms-orange-light: #f7b731;
  --ms-orange-dark: #e67e22;
  --ms-text-primary: #e9ecef;
  --ms-text-secondary: #b7bcc4;
  --ms-border: rgba(255, 255, 255, 0.12);
  --ms-success: #27ae60;
  --ms-danger: #e74c3c;
  --ms-info: #3498db;
  --ms-warning: #f39c12;
}

.ms-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 20px;
  background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%);
  background: linear-gradient(135deg, var(--ms-bg-primary) 0%, #0f0f0f 100%);
}

.ms-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.1);
  border-top: 6px solid #f39c12;
  border-top: 6px solid var(--ms-orange);
  border-radius: 50%;
  animation: ms-spin 1s linear infinite;
}

.ms-loading-container p {
  font-size: 18px;
  color: #b7bcc4;
  color: var(--ms-text-secondary);
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
}

.ms-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%);
  background: linear-gradient(135deg, var(--ms-bg-primary) 0%, #0f0f0f 100%);
  font-family: 'Rajdhani', sans-serif;
}

.ms-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(--ms-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  animation: ms-slideDown 0.5s ease-out;
}

.ms-header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.ms-header-center {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
  justify-content: center;
}

.ms-header-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(243, 156, 18, 0.5));
  animation: ms-float 3s ease-in-out infinite;
}

.ms-title {
  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(--ms-orange), var(--ms-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);
}

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

.ms-btn-crear {
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--ms-orange), var(--ms-orange-light));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ms-btn-crear:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.7);
}

.ms-main {
  padding: 40px 24px;
}

.ms-main-content {
  max-width: 1400px;
  margin: 0 auto;
  animation: ms-fadeIn 0.6s ease-out;
}

.ms-stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 30px;
}

.ms-stat-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--ms-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--ms-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.ms-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(243, 156, 18, 0.2);
  border-color: #f39c12;
  border-color: var(--ms-orange);
}

.ms-stat-icon {
  font-size: 48px;
  filter: drop-shadow(0 0 10px rgba(243, 156, 18, 0.3));
}

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

.ms-stat-number {
  font-size: 32px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--ms-text-primary);
  font-family: 'Orbitron', monospace;
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--ms-orange), var(--ms-orange-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ms-stat-text {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--ms-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ms-stat-card.ms-stat-ocupados {
  border-color: #e74c3c;
  border-color: var(--ms-danger);
}

.ms-stat-card.ms-stat-ocupados:hover {
  box-shadow: 0 8px 32px rgba(231, 76, 60, 0.2);
}

.ms-stat-card.ms-stat-disponibles {
  border-color: #27ae60;
  border-color: var(--ms-success);
}

.ms-stat-card.ms-stat-disponibles:hover {
  box-shadow: 0 8px 32px rgba(39, 174, 96, 0.2);
}

.ms-tipo-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.ms-tipo-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--ms-border);
  color: #b7bcc4;
  color: var(--ms-text-secondary);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.ms-tipo-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #f39c12;
  border-color: var(--ms-orange);
  transform: translateY(-2px);
}

.ms-tipo-btn.active {
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--ms-orange), var(--ms-orange-light));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.5);
}

.ms-controls {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.ms-search-box {
  flex: 1 1;
  min-width: 300px;
  position: relative;
}

.ms-search-input {
  width: 100%;
  background: rgba(20, 20, 20, 0.95);
  background: var(--ms-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--ms-border);
  color: #e9ecef;
  color: var(--ms-text-primary);
  padding: 14px 40px 14px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.ms-search-input:focus {
  outline: none;
  border-color: #f39c12;
  border-color: var(--ms-orange);
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

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

.ms-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #b7bcc4;
  color: var(--ms-text-secondary);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 18px;
}

.ms-search-clear:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e74c3c;
  color: var(--ms-danger);
}

.ms-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ms-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--ms-border);
  color: #b7bcc4;
  color: var(--ms-text-secondary);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.ms-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #f39c12;
  border-color: var(--ms-orange);
}

.ms-filter-btn.active {
  background: #f39c12;
  background: var(--ms-orange);
  color: white;
  border-color: #f39c12;
  border-color: var(--ms-orange);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

.ms-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}

.ms-empty-icon {
  font-size: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px rgba(243, 156, 18, 0.3));
  animation: ms-float 3s ease-in-out infinite;
}

.ms-empty-state h3 {
  font-size: 28px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--ms-text-primary);
  margin: 0 0 12px 0;
  font-family: 'Rajdhani', sans-serif;
}

.ms-empty-state p {
  font-size: 16px;
  color: #b7bcc4;
  color: var(--ms-text-secondary);
  margin: 0 0 24px 0;
}

.ms-btn-crear-empty {
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--ms-orange), var(--ms-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;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.5);
}

.ms-btn-crear-empty:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.7);
}

.ms-seccion {
  margin-bottom: 40px;
}

.ms-seccion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: rgba(20, 20, 20, 0.95);
  background: var(--ms-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--ms-border);
  border-radius: 12px;
}

.ms-seccion-titulo {
  font-size: 22px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--ms-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.ms-seccion-stats {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #b7bcc4;
  color: var(--ms-text-secondary);
  font-weight: 600;
}

.ms-cuentas-lista {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ms-cuenta-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--ms-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--ms-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.ms-cuenta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(243, 156, 18, 0.2);
  border-color: #f39c12;
  border-color: var(--ms-orange);
}

.ms-cuenta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  gap: 20px;
  transition: all 0.3s ease;
}

.ms-cuenta-header:hover {
  background: rgba(243, 156, 18, 0.05);
}

.ms-producto-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1;
  min-width: 0;
}

.ms-producto-logo-img-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  background: #1a1a1a;
  background: var(--ms-bg-secondary);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--ms-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ms-producto-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ms-producto-logo-img-wrapper:hover .ms-producto-logo-img {
  transform: scale(1.1);
}

.ms-producto-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.ms-producto-emoji {
  font-size: 32px;
}

.ms-producto-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ms-producto-nombre {
  font-size: 18px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--ms-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ms-producto-tipo {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--ms-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  width: -webkit-fit-content;
  width: fit-content;
}

.ms-cuenta-stats-inline {
  display: flex;
  gap: 24px;
  align-items: center;
}

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

.ms-stat-label {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--ms-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ms-stat-value {
  font-size: 24px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--ms-text-primary);
  font-family: 'Orbitron', monospace;
}

.ms-stat-value.ms-stat-ocupados {
  color: #e74c3c;
  color: var(--ms-danger);
}

.ms-stat-value.ms-stat-disponibles {
  color: #27ae60;
  color: var(--ms-success);
}

.ms-cuenta-actions-preview {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ms-btn-gestionar {
  background: linear-gradient(135deg, #3498db, #2980b9);
  background: linear-gradient(135deg, var(--ms-info), #2980b9);
  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(52, 152, 219, 0.4);
}

.ms-btn-gestionar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(52, 152, 219, 0.6);
}

.ms-expand-icon {
  font-size: 18px;
  color: #f39c12;
  color: var(--ms-orange);
  font-weight: 700;
  transition: all 0.3s ease;
}

.ms-cuenta-detalles {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--ms-border);
  padding: 24px;
  background: rgba(0, 0, 0, 0.3);
  animation: ms-slideDown 0.3s ease-out;
}

.ms-detalles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 24px;
}

.ms-detalle-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ms-detalle-full {
  grid-column: 1 / -1;
}

.ms-detalle-label {
  font-size: 13px;
  color: #b7bcc4;
  color: var(--ms-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ms-detalle-value {
  font-size: 15px;
  color: #e9ecef;
  color: var(--ms-text-primary);
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  word-break: break-all;
}

.ms-detalle-link {
  font-size: 14px;
  color: #3498db;
  color: var(--ms-info);
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
  transition: all 0.3s ease;
}

.ms-detalle-link:hover {
  color: #f39c12;
  color: var(--ms-orange);
  text-decoration: underline;
}

.ms-espacios-preview {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 20px;
}

.ms-espacios-titulo {
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--ms-text-primary);
  margin: 0 0 16px 0;
  font-family: 'Rajdhani', sans-serif;
}

.ms-espacios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.ms-espacio-badge {
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.3s ease;
}

.ms-espacio-badge.disponible {
  border-color: #27ae60;
  border-color: var(--ms-success);
}

.ms-espacio-badge.ocupado {
  border-color: #e74c3c;
  border-color: var(--ms-danger);
  background: rgba(231, 76, 60, 0.1);
}

.ms-espacio-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ms-espacio-numero {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--ms-text-secondary);
  font-weight: 700;
  font-family: 'Orbitron', monospace;
}

.ms-espacio-nombre {
  font-size: 15px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--ms-text-primary);
}

.ms-espacio-cliente {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--ms-text-secondary);
  font-weight: 600;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  margin-top: 4px;
}

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

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

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

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

@media (max-width: 1024px) {
  .ms-stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .ms-cuenta-header {
    flex-wrap: wrap;
  }

  .ms-cuenta-stats-inline {
    gap: 16px;
  }

  .ms-detalles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ms-header-content {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ms-title {
    font-size: 18px;
  }

  .ms-stats-container {
    grid-template-columns: 1fr;
  }

  .ms-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .ms-search-box {
    min-width: 100%;
  }

  .ms-filters {
    width: 100%;
  }

  .ms-filter-btn {
    flex: 1 1;
    min-width: 0;
  }

  .ms-tipo-filters {
    flex-direction: column;
  }

  .ms-tipo-btn {
    width: 100%;
  }

  .ms-cuenta-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .ms-producto-logo-wrapper {
    width: 100%;
  }

  .ms-cuenta-stats-inline {
    width: 100%;
    justify-content: space-around;
  }

  .ms-cuenta-actions-preview {
    width: 100%;
    justify-content: space-between;
  }

  .ms-seccion-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ms-seccion-stats {
    flex-direction: column;
    gap: 8px;
  }

  .ms-espacios-grid {
    grid-template-columns: 1fr;
  }
}

.modal-warning {
  border-color: #f39c12;
  border-color: var(--cs-warning);
}

.modal-icon-warning {
  color: #f39c12;
  color: var(--cs-warning);
  filter: drop-shadow(0 0 20px rgba(243, 156, 18, 0.5));
}

.modal-message-center {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--cs-text-secondary);
  line-height: 1.8;
  margin: 0 0 24px 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cs-border);
}

.modal-message-center strong {
  color: #f39c12;
  color: var(--cs-warning);
  display: block;
  margin-top: 8px;
}

.modal-buttons {
  display: flex;
  gap: 12px;
  width: 100%;
}

.modal-button-danger {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  background: linear-gradient(135deg, var(--cs-danger), #c0392b);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.5);
}

.modal-button-danger:hover {
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.7);
}

.modal-button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--cs-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cs-border);
}

.modal-button-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #f39c12;
  border-color: var(--cs-orange);
}

@media (max-width: 768px) {
  .modal-buttons {
    flex-direction: column;
  }
}


.modal-warning {
  border-color: #f39c12;
  border-color: var(--cs-warning);
}

.modal-icon-warning {
  color: #f39c12;
  color: var(--cs-warning);
  filter: drop-shadow(0 0 20px rgba(243, 156, 18, 0.5));
}

.modal-message-center {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--cs-text-secondary);
  line-height: 1.8;
  margin: 0 0 24px 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cs-border);
}

.modal-message-center strong {
  color: #f39c12;
  color: var(--cs-warning);
  display: block;
  margin-top: 8px;
}

.modal-buttons {
  display: flex;
  gap: 12px;
  width: 100%;
}

.modal-button-danger {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  background: linear-gradient(135deg, var(--cs-danger), #c0392b);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.5);
}

.modal-button-danger:hover {
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.7);
}

.modal-button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--cs-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cs-border);
}

.modal-button-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #f39c12;
  border-color: var(--cs-orange);
}

@media (max-width: 768px) {
  .modal-buttons {
    flex-direction: column;
  }
}

:root {
  --cs-bg-primary: #0a0a0a;
  --cs-bg-secondary: #1a1a1a;
  --cs-bg-card: rgba(20, 20, 20, 0.95);
  --cs-gold: #d4af37;
  --cs-gold-light: #f0d574;
  --cs-gold-dark: #b8941f;
  --cs-orange: #f39c12;
  --cs-orange-light: #f7b731;
  --cs-orange-dark: #e67e22;
  --cs-text-primary: #e9ecef;
  --cs-text-secondary: #b7bcc4;
  --cs-border: rgba(255, 255, 255, 0.12);
  --cs-success: #27ae60;
  --cs-danger: #e74c3c;
  --cs-info: #3498db;
  --cs-warning: #f39c12;
}

.crear-stock-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%);
  background: linear-gradient(135deg, var(--cs-bg-primary) 0%, #0f0f0f 100%);
  font-family: 'Rajdhani', sans-serif;
}

.crear-stock-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(--cs-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  animation: cs-slideDown 0.5s ease-out;
}

.crear-stock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.header-left,
.header-right {
  flex: 1 1;
}

.header-right {
  display: flex;
  justify-content: flex-end;
}

.back-button {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--cs-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cs-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;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

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

.header-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(243, 156, 18, 0.5));
  animation: cs-float 3s ease-in-out infinite;
}

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

.header-title {
  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(--cs-orange), var(--cs-orange-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-vendor {
  font-size: 12px;
  color: #b7bcc4;
  color: var(--cs-text-secondary);
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.header-role {
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--cs-orange), var(--cs-orange-light));
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

.crear-stock-main {
  padding: 40px 24px;
}

.crear-stock-content {
  max-width: 900px;
  margin: 0 auto;
  animation: cs-fadeIn 0.6s ease-out;
}

.modo-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  background: rgba(20, 20, 20, 0.95);
  background: var(--cs-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cs-border);
  border-radius: 12px;
  padding: 8px;
}

.modo-btn {
  flex: 1 1;
  background: transparent;
  border: none;
  color: #b7bcc4;
  color: var(--cs-text-secondary);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.modo-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
}

.modo-btn.active {
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--cs-orange), var(--cs-orange-light));
  color: white;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.5);
}

.modo-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.errores-container {
  background: rgba(231, 76, 60, 0.1);
  border: 2px solid #e74c3c;
  border: 2px solid var(--cs-danger);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  animation: cs-shake 0.5s ease-in-out;
}

.errores-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #e74c3c;
  color: var(--cs-danger);
}

.errores-titulo {
  font-size: 18px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
}

.errores-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.error-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border-left: 3px solid #e74c3c;
  border-left: 3px solid var(--cs-danger);
}

.error-badge {
  background: #e74c3c;
  background: var(--cs-danger);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.error-text {
  color: #e9ecef;
  color: var(--cs-text-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.crear-stock-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-section {
  background: rgba(20, 20, 20, 0.95);
  background: var(--cs-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cs-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--cs-text-primary);
  margin: 0 0 20px 0;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group:last-child {
  margin-bottom: 0;
}

.input-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #b7bcc4;
  color: var(--cs-text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.required {
  color: #e74c3c;
  color: var(--cs-danger);
  margin-left: 4px;
}

.input-field,
.input-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cs-border);
  color: #e9ecef;
  color: var(--cs-text-primary);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.input-field:focus,
.input-select:focus {
  outline: none;
  border-color: #f39c12;
  border-color: var(--cs-orange);
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.input-field::placeholder {
  color: #b7bcc4;
  color: var(--cs-text-secondary);
  opacity: 0.6;
}

.input-field:disabled,
.input-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.input-hint {
  display: block;
  font-size: 12px;
  color: #b7bcc4;
  color: var(--cs-text-secondary);
  margin-top: 6px;
  font-style: italic;
}

.info-box {
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid #3498db;
  border: 1px solid var(--cs-info);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  color: #e9ecef;
  color: var(--cs-text-primary);
  line-height: 1.6;
}

.info-box strong {
  color: #3498db;
  color: var(--cs-info);
  display: block;
  margin-bottom: 4px;
}

.checkbox-group {
  margin-bottom: 16px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--cs-text-primary);
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.checkbox-label:hover {
  background: rgba(255, 255, 255, 0.08);
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #f39c12;
  accent-color: var(--cs-orange);
}

.plantilla-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.descargar-plantilla {
  background: linear-gradient(135deg, #3498db, #2980b9);
  background: linear-gradient(135deg, var(--cs-info), #2980b9);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.descargar-plantilla:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(52, 152, 219, 0.6);
}

.file-input-wrapper {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border: 2px dashed var(--cs-border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-input-wrapper:hover {
  border-color: #f39c12;
  border-color: var(--cs-orange);
  background: rgba(243, 156, 18, 0.05);
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-name {
  font-size: 15px;
  font-weight: 600;
  color: #b7bcc4;
  color: var(--cs-text-secondary);
}

.plantilla-ejemplo {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cs-border);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
}

.plantilla-ejemplo strong {
  display: block;
  font-size: 14px;
  color: #e9ecef;
  color: var(--cs-text-primary);
  margin-bottom: 12px;
  font-family: 'Rajdhani', sans-serif;
}

.plantilla-texto {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cs-border);
  border-radius: 8px;
  padding: 12px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #27ae60;
  color: var(--cs-success);
  overflow-x: auto;
  white-space: pre;
  margin: 12px 0;
}

.plantilla-ejemplo small {
  display: block;
  font-size: 12px;
  color: #b7bcc4;
  color: var(--cs-text-secondary);
  line-height: 1.6;
  margin-top: 8px;
}

.datos-preview {
  background: rgba(39, 174, 96, 0.1);
  border: 2px solid #27ae60;
  border: 2px solid var(--cs-success);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.datos-preview > strong {
  display: block;
  font-size: 16px;
  color: #27ae60;
  color: var(--cs-success);
  margin-bottom: 16px;
  font-family: 'Rajdhani', sans-serif;
}

.preview-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.preview-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border-left: 3px solid #27ae60;
  border-left: 3px solid var(--cs-success);
}

.preview-num {
  background: #27ae60;
  background: var(--cs-success);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.preview-email {
  flex: 1 1;
  font-size: 14px;
  font-weight: 600;
  color: #e9ecef;
  color: var(--cs-text-primary);
  font-family: 'Orbitron', monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-espacios {
  font-size: 13px;
  font-weight: 700;
  color: #f39c12;
  color: var(--cs-orange);
  padding: 4px 10px;
  background: rgba(243, 156, 18, 0.2);
  border-radius: 6px;
}

.preview-more {
  text-align: center;
  padding: 10px;
  font-size: 14px;
  color: #b7bcc4;
  color: var(--cs-text-secondary);
  font-weight: 600;
  font-style: italic;
}

.resumen-carga {
  display: flex;
  gap: 20px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border-top: 2px solid #27ae60;
  border-top: 2px solid var(--cs-success);
}

.resumen-item {
  flex: 1 1;
  font-size: 14px;
  color: #b7bcc4;
  color: var(--cs-text-secondary);
  font-weight: 600;
}

.resumen-item strong {
  color: #e9ecef;
  color: var(--cs-text-primary);
  font-size: 18px;
  font-family: 'Orbitron', monospace;
}

.progress-section {
  background: rgba(20, 20, 20, 0.95);
  background: var(--cs-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cs-border);
  border-radius: 12px;
  padding: 20px;
}

.progress-bar {
  width: 100%;
  height: 30px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cs-border);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--cs-orange), var(--cs-orange-light));
  transition: width 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(243, 156, 18, 0.5);
}

.progress-text {
  text-align: center;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--cs-text-primary);
  font-family: 'Orbitron', monospace;
}

.button-group {
  display: flex;
  gap: 12px;
}

.submit-button {
  flex: 1 1;
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--cs-orange), var(--cs-orange-light));
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 24px rgba(243, 156, 18, 0.5);
}

.submit-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(243, 156, 18, 0.7);
}

.submit-button:disabled {
  background: #4b5563;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.cancel-button {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--cs-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cs-border);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.cancel-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  border-color: #e74c3c;
  border-color: var(--cs-danger);
  color: #e74c3c;
  color: var(--cs-danger);
}

.cancel-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.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: cs-fadeIn 0.4s ease-out;
}

.modal-content {
  background: rgba(20, 20, 20, 0.95);
  background: var(--cs-bg-card);
  border: 2px solid #f39c12;
  border: 2px solid var(--cs-orange);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  padding: 40px 32px;
  box-shadow: 0 30px 80px rgba(243, 156, 18, 0.5);
  animation: cs-bounceIn 0.6s ease-out;
  position: relative;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #b7bcc4;
  color: var(--cs-text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--cs-text-primary);
}

.modal-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: cs-checkmark 0.8s ease-out;
}

.modal-title {
  font-size: 28px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--cs-text-primary);
  margin: 0 0 20px 0;
  font-family: 'Rajdhani', sans-serif;
}

.modal-message {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--cs-text-secondary);
  line-height: 1.8;
  margin: 0 0 24px 0;
  text-align: left;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--cs-border);
}

.modal-button {
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--cs-orange), var(--cs-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;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.5);
  width: 100%;
}

.modal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.7);
}

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

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

@keyframes cs-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 cs-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

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

@keyframes cs-checkmark {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .crear-stock-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .header-left,
  .header-right {
    flex: initial;
  }

  .header-center {
    width: 100%;
    order: -1;
  }

  .header-title {
    font-size: 18px;
  }

  .modo-selector {
    flex-direction: column;
  }

  .button-group {
    flex-direction: column;
  }

  .resumen-carga {
    flex-direction: column;
    gap: 12px;
  }

  .modal-content {
    padding: 32px 24px;
  }

  .plantilla-texto {
    font-size: 10px;
  }
}

.acciones-grupo {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-notificar {
  flex: 1 1;
  background: linear-gradient(135deg, var(--gs-info), #2980b9);
  color: white;
  border: none;
  padding: 14px 28px;
  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(52, 152, 219, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-notificar:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.7);
}

.btn-notificar:disabled {
  background: #4b5563;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.alerta-notificacion {
  background: rgba(243, 156, 18, 0.1);
  border: 2px solid var(--gs-warning);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  color: var(--gs-warning);
  font-weight: 700;
  text-align: center;
  animation: pulse 2s infinite;
}

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



.tab-panel {
  width: 100%;
  animation: fadeIn 0.4s ease-out;
}


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

.tab-header-actions h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--gs-text-primary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
}

.actions-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   BOTONES PRINCIPALES
   ============================================ */

.btn-primary {
  background: linear-gradient(135deg, var(--gs-orange), var(--gs-orange-light));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.7);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gs-text-primary);
  border: 1px solid var(--gs-border);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  white-space: nowrap;
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gs-orange);
  transform: translateY(-2px);
}

.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   SUB-PESTAÑAS (DISPONIBLES/OCUPADOS)
   ============================================ */

.sub-tabs-container {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gs-border);
  border-radius: 12px;
  padding: 6px;
}

.sub-tab-button {
  flex: 1 1;
  background: transparent;
  border: none;
  color: var(--gs-text-secondary);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  white-space: nowrap;
}

.sub-tab-button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.sub-tab-button.active {
  background: linear-gradient(135deg, var(--gs-orange), var(--gs-orange-light));
  color: white;
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

/* ============================================
   MENSAJE VACÍO
   ============================================ */

.empty-message {
  text-align: center;
  padding: 60px 20px;
  color: var(--gs-text-secondary);
  font-size: 16px;
  font-style: italic;
  margin: 0;
}

/* ============================================
   TABLA DE PERFILES
   ============================================ */

.perfiles-tabla-container {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--gs-border);
  -webkit-overflow-scrolling: touch;
}

.perfiles-tabla {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.3);
  min-width: 800px;
}

.perfiles-tabla thead {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.15), rgba(247, 183, 49, 0.1));
  border-bottom: 2px solid var(--gs-orange);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

.perfiles-tabla th {
  padding: 16px 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--gs-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-family: 'Rajdhani', sans-serif;
}

.perfiles-tabla tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.perfiles-tabla tbody tr:hover {
  background: rgba(243, 156, 18, 0.05);
}

.perfiles-tabla tbody tr.ocupado {
  background: rgba(231, 76, 60, 0.05);
}

.perfiles-tabla tbody tr.disponible {
  background: rgba(39, 174, 96, 0.03);
}

.perfiles-tabla td {
  padding: 16px 12px;
  color: var(--gs-text-primary);
  font-weight: 600;
  vertical-align: middle;
}

/* ============================================
   COLUMNAS ESPECÍFICAS
   ============================================ */

.tabla-numero {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  color: var(--gs-orange);
  font-size: 16px;
  text-align: center;
  min-width: 60px;
}

.tabla-nombre-input {
  width: 100%;
  min-width: 160px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--gs-border);
  color: var(--gs-text-primary);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.tabla-nombre-input:focus {
  outline: none;
  border-color: var(--gs-orange);
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

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

.tabla-pin-container {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tabla-pin-input {
  width: 100%;
  max-width: 120px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--gs-border);
  color: var(--gs-text-primary);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  text-align: center;
  transition: all 0.3s ease;
}

.tabla-pin-input:focus {
  outline: none;
  border-color: var(--gs-orange);
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

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

.btn-guardar-pin {
  background: linear-gradient(135deg, var(--gs-info), #2980b9);
  border: none;
  color: white;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
  flex-shrink: 0;
}

.btn-guardar-pin:hover:not(:disabled) {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(52, 152, 219, 0.6);
}

.btn-guardar-pin:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.tabla-estado {
  text-align: center;
  min-width: 120px;
}

.perfil-estado {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: inline-block;
}

.perfil-estado.disponible {
  background: rgba(39, 174, 96, 0.2);
  color: var(--gs-success);
  border: 1px solid var(--gs-success);
}

.perfil-estado.ocupado {
  background: rgba(231, 76, 60, 0.2);
  color: var(--gs-danger);
  border: 1px solid var(--gs-danger);
}

.tabla-cliente-info {
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cliente-nombre {
  font-weight: 700;
  color: var(--gs-text-primary);
  font-size: 15px;
}

.cliente-telefono {
  font-size: 13px;
  color: var(--gs-text-secondary);
  font-family: 'Orbitron', monospace;
}

.tabla-precio {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  color: var(--gs-success);
  text-align: right;
  white-space: nowrap;
  font-size: 16px;
}

.tabla-fechas {
  min-width: 160px;
}

.fecha-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0;
  font-size: 13px;
}

.fecha-label {
  color: var(--gs-text-secondary);
  font-weight: 600;
}

.fecha-valor {
  color: var(--gs-text-primary);
  font-weight: 700;
}

.tabla-dias {
  text-align: center;
}

.dias-badge {
  padding: 6px 12px;
  border-radius: 8px;
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 14px;
  display: inline-block;
}

.dias-badge.success {
  background: rgba(39, 174, 96, 0.2);
  color: var(--gs-success);
  border: 1px solid var(--gs-success);
}

.dias-badge.warning {
  background: rgba(243, 156, 18, 0.2);
  color: var(--gs-warning);
  border: 1px solid var(--gs-warning);
}

.dias-badge.danger {
  background: rgba(231, 76, 60, 0.2);
  color: var(--gs-danger);
  border: 1px solid var(--gs-danger);
}

.tabla-acciones {
  text-align: center;
  min-width: 120px;
}

.acciones-group {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.btn-liberar-tabla {
  background: linear-gradient(135deg, var(--gs-warning), #e67e22);
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

.btn-liberar-tabla:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(243, 156, 18, 0.6);
}

.btn-liberar-tabla:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-eliminar-tabla {
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid var(--gs-danger);
  color: var(--gs-danger);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-eliminar-tabla:hover:not(:disabled) {
  background: var(--gs-danger);
  color: white;
  transform: scale(1.1);
}

.btn-eliminar-tabla:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

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

.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: fadeIn 0.3s ease-out;
}

.modal-content {
  background: var(--gs-bg-card);
  border: 2px solid var(--gs-orange);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  padding: 40px 32px;
  box-shadow: 0 30px 80px rgba(243, 156, 18, 0.5);
  animation: bounceIn 0.5s ease-out;
  text-align: center;
}

.modal-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: pulse 0.6s ease-out;
}

.modal-icon.success {
  color: var(--gs-success);
}

.modal-icon.warning {
  color: var(--gs-warning);
}

.modal-icon.danger {
  color: var(--gs-danger);
}

.modal-content h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--gs-text-primary);
  margin: 0 0 16px 0;
  font-family: 'Rajdhani', sans-serif;
}

.modal-message {
  font-size: 15px;
  color: var(--gs-text-secondary);
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.modal-info {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gs-border);
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
  text-align: left;
}

.modal-info p {
  margin: 8px 0;
  font-size: 14px;
  color: var(--gs-text-secondary);
}

.modal-info strong {
  color: var(--gs-orange);
  font-weight: 700;
}

.modal-info-highlight {
  color: var(--gs-warning) !important;
  font-weight: 700 !important;
  font-style: italic;
  text-align: center !important;
  margin-top: 16px !important;
}

.modal-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

.modal-button {
  flex: 1 1;
  background: linear-gradient(135deg, var(--gs-orange), var(--gs-orange-light));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

.modal-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.7);
}

.modal-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.modal-button.danger {
  background: linear-gradient(135deg, var(--gs-danger), #c0392b);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.5);
}

.modal-button.danger:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.7);
}

.modal-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--gs-border);
  color: var(--gs-text-primary);
}

.modal-button.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   ANIMACIONES
   ============================================ */

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

@keyframes 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 pulse {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

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

@media (max-width: 1024px) {
  .tab-header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions-group {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .tab-header-actions h3 {
    font-size: 20px;
  }

  .sub-tabs-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .perfiles-tabla-container {
    font-size: 12px;
  }

  .perfiles-tabla th,
  .perfiles-tabla td {
    padding: 10px 8px;
  }

  .tabla-nombre-input,
  .tabla-pin-input {
    font-size: 13px;
    padding: 8px 10px;
  }

  .modal-content {
    padding: 30px 20px;
  }

  .modal-icon {
    font-size: 48px;
  }

  .modal-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .actions-group {
    gap: 8px;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 13px;
    padding: 10px 16px;
  }

  .modal-content h3 {
    font-size: 20px;
  }
}

/* src/pages/vendedor/panel/components/GestionClientes.css */

.tab-panel {
  background: var(--gs-bg-card);
  border: 1px solid var(--gs-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  animation: gc-fadeIn 0.4s ease-out;
}

.tab-panel h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gs-text-primary);
  margin: 0 0 24px 0;
  font-family: 'Rajdhani', sans-serif;
}

.tab-panel h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gs-text-primary);
  margin: 0 0 16px 0;
  font-family: 'Rajdhani', sans-serif;
}

.sub-tabs-container {
  display: flex;
  gap: 8px;
  margin: 24px 0;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gs-border);
  border-radius: 10px;
  padding: 6px;
  overflow-x: auto;
}

.sub-tab-button {
  flex: 1 1;
  min-width: 120px;
  background: transparent;
  border: none;
  color: var(--gs-text-secondary);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  white-space: nowrap;
}

.sub-tab-button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.sub-tab-button.active {
  background: linear-gradient(135deg, var(--gs-info), #2980b9);
  color: white;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.empty-message {
  text-align: center;
  color: var(--gs-text-secondary);
  font-size: 16px;
  padding: 40px 20px;
  font-style: italic;
}

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

.clientes-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 24px;
}

.stat-box-cliente {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gs-border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.stat-numero-cliente {
  font-size: 36px;
  font-weight: 900;
  color: var(--gs-text-primary);
  margin: 0 0 8px 0;
  font-family: 'Orbitron', monospace;
  background: linear-gradient(135deg, var(--gs-orange), var(--gs-orange-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-texto-cliente {
  font-size: 14px;
  color: var(--gs-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}

/* ============================================
   TABLA DE CLIENTES
   ============================================ */

.clientes-tabla-container {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--gs-border);
}

.clientes-tabla {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.3);
}

.clientes-tabla thead {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.15), rgba(247, 183, 49, 0.1));
  border-bottom: 2px solid var(--gs-orange);
}

.clientes-tabla th {
  padding: 16px 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--gs-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-family: 'Rajdhani', sans-serif;
}

.clientes-tabla tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.clientes-tabla tbody tr:hover {
  background: rgba(243, 156, 18, 0.05);
}

.clientes-tabla td {
  padding: 16px 12px;
  color: var(--gs-text-primary);
  font-weight: 600;
  vertical-align: middle;
}

.tabla-numero-cliente {
  font-family: 'Orbitron', monospace;
  font-size: 18px;
  font-weight: 900;
  color: var(--gs-orange);
  text-align: center;
  width: 80px;
}

.tabla-perfil-cliente {
  min-width: 150px;
}

.tabla-perfil-cliente strong {
  font-weight: 700;
  color: var(--gs-text-primary);
  font-size: 15px;
}

.tabla-cliente-nombre {
  min-width: 150px;
}

.nombre-cliente {
  font-weight: 700;
  color: var(--gs-text-primary);
  display: block;
  margin-bottom: 4px;
}

.telefono-cliente {
  font-size: 13px;
  color: var(--gs-text-secondary);
  display: block;
}

.tabla-precio-cliente {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  color: var(--gs-success);
  text-align: right;
  white-space: nowrap;
}

.tabla-fecha-cliente {
  font-size: 14px;
  color: var(--gs-text-primary);
  white-space: nowrap;
}

.tabla-dias-cliente {
  text-align: center;
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 16px;
  white-space: nowrap;
}

.dias-badge-cliente {
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-block;
}

.dias-badge-cliente.success {
  background: rgba(39, 174, 96, 0.2);
  color: var(--gs-success);
  border: 1px solid var(--gs-success);
}

.dias-badge-cliente.warning {
  background: rgba(243, 156, 18, 0.2);
  color: var(--gs-warning);
  border: 1px solid var(--gs-warning);
}

.dias-badge-cliente.danger {
  background: rgba(231, 76, 60, 0.2);
  color: var(--gs-danger);
  border: 1px solid var(--gs-danger);
}

.tabla-acciones-cliente {
  text-align: center;
  width: 80px;
}

.btn-liberar-cliente {
  background: linear-gradient(135deg, var(--gs-warning), #e67e22);
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

.btn-liberar-cliente:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(243, 156, 18, 0.6);
}

.btn-liberar-cliente:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   HISTORIAL
   ============================================ */

.historial-section {
  margin-top: 20px;
}

.historial-accordion {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gs-border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.historial-accordion summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--gs-text-primary);
  padding: 8px 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
}

.historial-accordion summary::-webkit-details-marker {
  display: none;
}

.historial-accordion summary::before {
  content: '▶';
  font-size: 12px;
  color: var(--gs-orange);
  transition: transform 0.3s ease;
}

.historial-accordion[open] summary::before {
  transform: rotate(90deg);
}

.historial-tabla-container {
  margin-top: 12px;
}

.historial-tabla-mini {
  width: 100%;
  border-collapse: collapse;
}

.historial-tabla-mini th {
  padding: 10px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--gs-text-secondary);
  text-transform: uppercase;
  border-bottom: 1px solid var(--gs-border);
}

.historial-tabla-mini td {
  padding: 10px;
  font-size: 13px;
  color: var(--gs-text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.text-danger {
  color: var(--gs-danger) !important;
}

.text-warning {
  color: var(--gs-warning) !important;
}

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

.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: gc-fadeIn 0.4s ease-out;
}

.modal-content {
  background: var(--gs-bg-card);
  border: 2px solid var(--gs-orange);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  padding: 40px 32px;
  box-shadow: 0 30px 80px rgba(243, 156, 18, 0.5);
  animation: gc-bounceIn 0.6s ease-out;
  position: relative;
  text-align: center;
}

.modal-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: gc-pulse 0.8s ease-out;
}

.modal-icon.success {
  color: var(--gs-success);
}

.modal-icon.warning {
  color: var(--gs-warning);
}

.modal-content h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--gs-text-primary);
  margin: 0 0 20px 0;
  font-family: 'Rajdhani', sans-serif;
}

.modal-message {
  font-size: 15px;
  color: var(--gs-text-secondary);
  line-height: 1.8;
  margin: 0 0 24px 0;
  text-align: left;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--gs-border);
}

.modal-info {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gs-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.modal-info p {
  margin: 8px 0;
  color: var(--gs-text-secondary);
  font-size: 14px;
}

.modal-info strong {
  color: var(--gs-text-primary);
  font-weight: 700;
}

.modal-info-highlight {
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid var(--gs-orange);
  border-radius: 8px;
  padding: 12px;
  color: var(--gs-orange);
  font-weight: 700;
  margin-top: 12px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

.modal-button {
  flex: 1 1;
  background: linear-gradient(135deg, var(--gs-orange), var(--gs-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;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.5);
}

.modal-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.7);
}

.modal-button.danger {
  background: linear-gradient(135deg, var(--gs-danger), #c0392b);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.5);
}

.modal-button.danger:hover {
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.7);
}

.modal-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gs-text-primary);
  border: 1px solid var(--gs-border);
  box-shadow: none;
}

.modal-button.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gs-orange);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

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

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

@keyframes gc-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 gc-pulse {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

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

@media (max-width: 1024px) {
  .clientes-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tab-panel {
    padding: 20px;
  }

  .sub-tabs-container {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }

  .sub-tab-button {
    min-width: 100px;
    font-size: 13px;
    padding: 8px 12px;
  }

  .clientes-tabla-container {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }

  .clientes-tabla {
    font-size: 12px;
  }

  .clientes-tabla th,
  .clientes-tabla td {
    padding: 10px 8px;
  }

  .modal-actions {
    flex-direction: column;
  }
}

.historial-stats-global {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gs-border);
  border-radius: 12px;
  padding: 20px;
}

.stat-historial {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--gs-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
}

.stat-value {
  font-size: 24px;
  font-weight: 900;
  color: var(--gs-orange);
  font-family: 'Orbitron', monospace;
}

/* src/pages/vendedor/panel/components/ZonaPeligro.css */

.zona-peligro {
  border: 3px solid var(--gs-danger) !important;
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.05), rgba(192, 57, 43, 0.05)) !important;
}

.zona-peligro-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.icono-peligro {
  color: var(--gs-danger);
  animation: pulse-danger 2s infinite;
}

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

.advertencia-eliminar {
  background: rgba(231, 76, 60, 0.1);
  border: 2px solid var(--gs-danger);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.advertencia-texto {
  font-size: 16px;
  font-weight: 700;
  color: var(--gs-danger);
  margin: 0 0 16px 0;
}

.advertencia-descripcion {
  font-size: 14px;
  color: var(--gs-text-primary);
  margin: 0 0 12px 0;
  font-weight: 600;
}

.advertencia-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.advertencia-lista li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--gs-text-secondary);
  font-weight: 600;
}

.bloqueo-eliminacion {
  background: rgba(243, 156, 18, 0.1);
  border: 2px solid var(--gs-warning);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.bloqueo-eliminacion p {
  margin: 8px 0;
  color: var(--gs-warning);
  font-weight: 700;
}

.btn-eliminar-cuenta {
  width: 100%;
  background: linear-gradient(135deg, var(--gs-danger), #c0392b);
  color: white;
  border: none;
  padding: 16px 32px;
  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(231, 76, 60, 0.5);
}

.btn-eliminar-cuenta:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.7);
}

.btn-eliminar-cuenta:disabled {
  background: #4b5563;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.modal-eliminar {
  max-width: 600px;
}

.advertencia-final {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid var(--gs-danger);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.advertencia-final p {
  margin: 0 0 8px 0;
  font-weight: 700;
  color: var(--gs-danger);
}

.advertencia-final ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}

.advertencia-final li {
  padding: 4px 0;
  font-size: 14px;
  color: var(--gs-text-secondary);
}

.confirmacion-input {
  margin: 24px 0;
}

.confirmacion-input label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--gs-text-primary);
  font-weight: 600;
}

.confirmacion-input strong {
  color: var(--gs-danger);
  font-family: 'Orbitron', monospace;
}

.input-confirmacion {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--gs-border);
  color: var(--gs-text-primary);
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  text-align: center;
  transition: all 0.3s ease;
}

.input-confirmacion:focus {
  outline: none;
  border-color: var(--gs-danger);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

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

:root {
  --gs-bg-primary: #0a0a0a;
  --gs-bg-secondary: #1a1a1a;
  --gs-bg-card: rgba(20, 20, 20, 0.95);
  --gs-gold: #d4af37;
  --gs-gold-light: #f0d574;
  --gs-gold-dark: #b8941f;
  --gs-orange: #f39c12;
  --gs-orange-light: #f7b731;
  --gs-orange-dark: #e67e22;
  --gs-text-primary: #e9ecef;
  --gs-text-secondary: #b7bcc4;
  --gs-border: rgba(255, 255, 255, 0.12);
  --gs-success: #27ae60;
  --gs-danger: #e74c3c;
  --gs-info: #3498db;
  --gs-warning: #f39c12;
}

.gestionar-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%);
  background: linear-gradient(135deg, var(--gs-bg-primary) 0%, #0f0f0f 100%);
  font-family: 'Rajdhani', sans-serif;
}

.loading-container,
.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 20px;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.1);
  border-top: 6px solid #f39c12;
  border-top: 6px solid var(--gs-orange);
  border-radius: 50%;
  animation: gs-spin 1s linear infinite;
}

.loading-container p,
.error-container h2 {
  font-size: 18px;
  color: #e9ecef;
  color: var(--gs-text-primary);
  font-weight: 600;
}

.error-container button {
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--gs-orange), var(--gs-orange-light));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.5);
}

.error-container button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.7);
}

.gestionar-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(--gs-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  animation: gs-slideDown 0.5s ease-out;
}

.header-content {
  max-width: 1400px;
  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: 20px;
}

.header-left h1 {
  font-size: 24px;
  font-weight: 900;
  margin: 0;
  font-family: 'Orbitron', monospace;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--gs-orange), var(--gs-orange-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.back-button {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--gs-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gs-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;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.gestionar-main {
  padding: 40px 24px;
}

.gestionar-content {
  max-width: 1400px;
  margin: 0 auto;
  animation: gs-fadeIn 0.6s ease-out;
}

.cuenta-info-card {
  background: rgba(20, 20, 20, 0.95);
  background: var(--gs-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gs-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.cuenta-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
}

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

.stat-item span:first-child {
  font-size: 14px;
  color: #b7bcc4;
  color: var(--gs-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
}

.stat-item span:last-child {
  font-size: 32px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--gs-text-primary);
  font-family: 'Orbitron', monospace;
}

.stat-item .warning {
  color: #e74c3c;
  color: var(--gs-danger);
}

.stat-item .success {
  color: #27ae60;
  color: var(--gs-success);
}

.error-alert {
  background: rgba(231, 76, 60, 0.1);
  border: 2px solid #e74c3c;
  border: 2px solid var(--gs-danger);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e9ecef;
  color: var(--gs-text-primary);
  font-weight: 600;
  animation: gs-shake 0.5s ease-in-out;
}

.error-alert button {
  background: none;
  border: none;
  color: #e74c3c;
  color: var(--gs-danger);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.error-alert button:hover {
  background: rgba(231, 76, 60, 0.2);
}

.tabs-container {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: rgba(20, 20, 20, 0.95);
  background: var(--gs-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gs-border);
  border-radius: 12px;
  padding: 8px;
  overflow-x: auto;
}

.tab-button {
  flex: 1 1;
  min-width: 150px;
  background: transparent;
  border: none;
  color: #b7bcc4;
  color: var(--gs-text-secondary);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  white-space: nowrap;
}

.tab-button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.tab-button.active {
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--gs-orange), var(--gs-orange-light));
  color: white;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.5);
}

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

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

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

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

@media (max-width: 1024px) {
  .header-content {
    flex-wrap: wrap;
  }

  .header-left h1 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .header-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .tabs-container {
    overflow-x: scroll;
  }

  .tab-button {
    min-width: 120px;
  }

  .cuenta-stats {
    flex-direction: column;
    gap: 20px;
  }
}
/* src/pages/vendedor/panel/components/InformacionGeneral.css */

.tab-panel {
  background: rgba(20, 20, 20, 0.95);
  background: var(--gs-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gs-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  animation: ig-fadeIn 0.4s ease-out;
}

.tab-panel h3 {
  font-size: 22px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--gs-text-primary);
  margin: 0 0 24px 0;
  font-family: 'Rajdhani', sans-serif;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #b7bcc4;
  color: var(--gs-text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-with-copy {
  display: flex;
  gap: 8px;
  align-items: center;
}

.form-input {
  flex: 1 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gs-border);
  color: #e9ecef;
  color: var(--gs-text-primary);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #f39c12;
  border-color: var(--gs-orange);
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

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

.btn-copy {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gs-border);
  color: #e9ecef;
  color: var(--gs-text-primary);
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-copy:hover {
  background: linear-gradient(135deg, #3498db, #2980b9);
  background: linear-gradient(135deg, var(--gs-info), #2980b9);
  border-color: transparent;
  color: white;
  transform: scale(1.05);
}

.btn-primary {
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--gs-orange), var(--gs-orange-light));
  color: white;
  border: none;
  padding: 14px 28px;
  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(243, 156, 18, 0.5);
  width: 100%;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.7);
}

.btn-primary:disabled {
  background: #4b5563;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.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: ig-fadeIn 0.4s ease-out;
}

.modal-content {
  background: rgba(20, 20, 20, 0.95);
  background: var(--gs-bg-card);
  border: 2px solid #f39c12;
  border: 2px solid var(--gs-orange);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  padding: 40px 32px;
  box-shadow: 0 30px 80px rgba(243, 156, 18, 0.5);
  animation: ig-bounceIn 0.6s ease-out;
  position: relative;
  text-align: center;
}

.modal-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: ig-checkmark 0.8s ease-out;
}

.modal-icon.success {
  color: #27ae60;
  color: var(--gs-success);
}

.modal-message {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--gs-text-secondary);
  line-height: 1.8;
  margin: 0 0 24px 0;
  text-align: left;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gs-border);
}

.modal-button {
  width: 100%;
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--gs-orange), var(--gs-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;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.5);
}

.modal-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.7);
}

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

@keyframes ig-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 ig-checkmark {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .tab-panel {
    padding: 20px;
  }

  .input-with-copy {
    flex-direction: column;
  }

  .btn-copy {
    width: 100%;
  }
}

/* src/pages/vendedor/panel/components/ZonaPeligro.css */

.tab-panel {
  background: rgba(20, 20, 20, 0.95);
  background: var(--gs-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gs-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  animation: zp-fadeIn 0.4s ease-out;
}

.tab-panel.danger-zone {
  border-color: #e74c3c;
  border-color: var(--gs-danger);
}

.tab-panel h3 {
  font-size: 22px;
  font-weight: 700;
  color: #e9ecef;
  color: var(--gs-text-primary);
  margin: 0 0 24px 0;
  font-family: 'Rajdhani', sans-serif;
}

.danger-action {
  background: rgba(231, 76, 60, 0.05);
  border: 1px solid #e74c3c;
  border: 1px solid var(--gs-danger);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.danger-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: #e74c3c;
  color: var(--gs-danger);
  margin: 0 0 12px 0;
  font-family: 'Rajdhani', sans-serif;
}

.danger-info p {
  margin: 8px 0;
  color: #b7bcc4;
  color: var(--gs-text-secondary);
  font-size: 14px;
}

.danger-info ul {
  margin-left: 20px;
  margin-top: 8px;
  list-style: none;
  padding: 0;
}

.danger-info ul li {
  margin: 6px 0;
  color: #b7bcc4;
  color: var(--gs-text-secondary);
  font-size: 14px;
}

.danger-warning {
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid #f39c12;
  border: 1px solid var(--gs-warning);
  border-radius: 8px;
  padding: 12px;
  margin-top: 12px;
  color: #f39c12;
  color: var(--gs-warning);
  font-weight: 700;
}

.btn-danger {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  background: linear-gradient(135deg, var(--gs-danger), #c0392b);
  color: white;
  border: none;
  padding: 14px 28px;
  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(231, 76, 60, 0.5);
  white-space: nowrap;
}

.btn-danger:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.7);
}

.btn-danger:disabled {
  background: #4b5563;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.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: zp-fadeIn 0.4s ease-out;
}

.modal-content {
  background: rgba(20, 20, 20, 0.95);
  background: var(--gs-bg-card);
  border: 2px solid #f39c12;
  border: 2px solid var(--gs-orange);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  padding: 40px 32px;
  box-shadow: 0 30px 80px rgba(243, 156, 18, 0.5);
  animation: zp-bounceIn 0.6s ease-out;
  position: relative;
  text-align: center;
}

.modal-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: zp-pulse 0.8s ease-out;
}

.modal-icon.success {
  color: #27ae60;
  color: var(--gs-success);
}

.modal-icon.danger {
  color: #e74c3c;
  color: var(--gs-danger);
}

.modal-content h3 {
  font-size: 24px;
  font-weight: 900;
  color: #e9ecef;
  color: var(--gs-text-primary);
  margin: 0 0 20px 0;
  font-family: 'Rajdhani', sans-serif;
}

.modal-message {
  font-size: 15px;
  color: #b7bcc4;
  color: var(--gs-text-secondary);
  line-height: 1.8;
  margin: 0 0 24px 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gs-border);
}

.modal-info {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gs-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.modal-info p {
  margin: 8px 0;
  color: #b7bcc4;
  color: var(--gs-text-secondary);
  font-size: 14px;
}

.modal-info strong {
  color: #e9ecef;
  color: var(--gs-text-primary);
  font-weight: 700;
}

.modal-info ul {
  margin: 12px 0;
  padding-left: 20px;
  list-style: none;
}

.modal-info li {
  margin: 6px 0;
  color: #b7bcc4;
  color: var(--gs-text-secondary);
}

.modal-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

.modal-button {
  flex: 1 1;
  background: linear-gradient(135deg, #f39c12, #f7b731);
  background: linear-gradient(135deg, var(--gs-orange), var(--gs-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;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.5);
}

.modal-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.7);
}

.modal-button.danger {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  background: linear-gradient(135deg, var(--gs-danger), #c0392b);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.5);
}

.modal-button.danger:hover {
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.7);
}

.modal-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
  color: var(--gs-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gs-border);
  box-shadow: none;
}

.modal-button.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #f39c12;
  border-color: var(--gs-orange);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

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

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

@keyframes zp-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 zp-pulse {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .tab-panel {
    padding: 20px;
  }

  .danger-action {
    flex-direction: column;
    text-align: center;
  }

  .btn-danger {
    width: 100%;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-button {
    width: 100%;
  }
}

/* Botón volver */
.btn-volver {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-volver:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateX(-2px);
}

.btn-volver-error {
  padding: 12px 24px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.2s;
}

.btn-volver-error:hover {
  background: #5568d3;
  transform: translateY(-2px);
}

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

.header-left h1 {
  margin: 0;
}

/* ============================================
   ROOT & VARIABLES
   ============================================ */
:root {
  --gold: #d4af37;
  --gold-light: #f4d03f;
  --gold-dark: #b8960c;
  --bg-dark: #0a0b0f;
  --bg-card: #12131a;
  --bg-card-hover: #1a1b24;
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --border: rgba(255, 255, 255, 0.08);
}

/* ============================================
   BASE CONTAINER
   ============================================ */
.retiros-container {
  min-height: 100vh;
  background: #0a0b0f;
  background: var(--bg-dark);
  background-image: 
    radial-gradient(ellipse at top, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
  color: #ffffff;
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   NOTIFICACIÓN
   ============================================ */
.notificacion {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #12131a;
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid;
  max-width: 380px;
}

.notificacion-success { border-color: #22c55e; border-color: var(--success); }
.notificacion-success .notificacion-icon { color: #22c55e; color: var(--success); }
.notificacion-error { border-color: #ef4444; border-color: var(--danger); }
.notificacion-error .notificacion-icon { color: #ef4444; color: var(--danger); }
.notificacion-warning { border-color: #f59e0b; border-color: var(--warning); }
.notificacion-warning .notificacion-icon { color: #f59e0b; color: var(--warning); }

.notificacion-content h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.notificacion-content p { margin: 0; font-size: 13px; color: #9ca3af; color: var(--text-secondary); }
.notificacion-close {
  background: none;
  border: none;
  color: #9ca3af;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}
.notificacion-close:hover { color: #ffffff; color: var(--text-primary); }

@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================
   IMAGE MODAL
   ============================================ */
.image-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.image-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.image-modal-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
}

.image-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.image-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* ============================================
   HEADER
   ============================================ */
.retiros-header {
  background: rgba(18, 19, 26, 0.8);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.back-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #d4af37;
  color: var(--gold);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.back-button:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateX(-4px);
}

.header-title-section { flex: 1 1; }

.page-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
}

.title-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0b0f;
  color: var(--bg-dark);
}

.page-subtitle {
  margin: 0;
  color: #9ca3af;
  color: var(--text-secondary);
  font-size: 14px;
}

/* ============================================
   MAIN
   ============================================ */
.retiros-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}

.loading-container {
  text-align: center;
  padding: 80px 20px;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border: 3px solid var(--border);
  border-top-color: #d4af37;
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

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

/* ============================================
   STATS GRID
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 32px;
}

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
}

.stat-card {
  background: #12131a;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.3);
}

.stat-card-principal {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, #12131a 100%);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, var(--bg-card) 100%);
  border: 2px solid rgba(212, 175, 55, 0.4);
}

.stat-card-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.stat-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0b0f;
  color: var(--bg-dark);
}

.stat-icon-wrapper.success { background: linear-gradient(135deg, #22c55e, #4ade80); }
.stat-icon-wrapper.warning { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.stat-icon-wrapper.danger { background: linear-gradient(135deg, #ef4444, #f87171); }

.stat-info { display: flex; flex-direction: column; gap: 4px; }
.stat-label { font-size: 13px; color: #9ca3af; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-value { font-size: 28px; font-weight: 800; color: #d4af37; color: var(--gold); }

.btn-solicitar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0b0f;
  color: var(--bg-dark);
  border: none;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: auto;
}

.btn-solicitar:hover:not(:disabled) {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.btn-solicitar:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============================================
   INFO CARD
   ============================================ */
.info-card {
  background: #12131a;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-bottom: 32px;
  overflow: hidden;
}

.info-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}

.info-header:hover { background: rgba(255, 255, 255, 0.02); }

.info-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d4af37;
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
}

.info-chevron {
  color: #d4af37;
  color: var(--gold);
  transition: transform 0.3s;
}

.info-chevron.expanded { transform: rotate(180deg); }

.info-content { padding: 0 24px 24px; }

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

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.info-item svg { color: #d4af37; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.info-item strong { display: block; font-size: 14px; margin-bottom: 2px; }
.info-item span { font-size: 12px; color: #9ca3af; color: var(--text-secondary); }

/* ============================================
   HISTORIAL SECTION
   ============================================ */
.historial-section { margin-top: 32px; }

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-header h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #d4af37;
  color: var(--gold);
}

.badge-count {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  background: #12131a;
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border: 1px dashed var(--border);
}

.empty-icon { font-size: 72px; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { margin: 0 0 8px; font-size: 20px; }
.empty-state p { margin: 0; color: #9ca3af; color: var(--text-secondary); }

/* ============================================
   SOLICITUDES GRID (CARDS)
   ============================================ */
.solicitudes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

@media (max-width: 640px) {
  .solicitudes-grid { grid-template-columns: 1fr; }
}

.solicitud-card {
  background: #12131a;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
}

.solicitud-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.solicitud-card.status-aprobado { border-top: 3px solid #22c55e; border-top: 3px solid var(--success); }
.solicitud-card.status-rechazado { border-top: 3px solid #ef4444; border-top: 3px solid var(--danger); }
.solicitud-card.status-pendiente { border-top: 3px solid #f59e0b; border-top: 3px solid var(--warning); }

/* Card Header */
.card-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.02);
}

.card-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: white;
}

.card-monto {
  text-align: right;
}

.monto-label {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.monto-value {
  font-size: 24px;
  font-weight: 800;
  color: #d4af37;
  color: var(--gold);
}

/* Card Body */
.card-body {
  padding: 16px 20px;
}

.card-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.info-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
}

.metodo-icon { font-size: 16px; }

.card-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
  color: var(--text-secondary);
  font-size: 13px;
}

/* Admin Response */
.admin-response {
  margin: 0 20px 16px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 14px;
}

.response-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d4af37;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.response-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
  color: var(--text-primary);
}

/* Voucher Section */
.voucher-section {
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid var(--border);
}

.voucher-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #d4af37;
  color: var(--gold);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.voucher-toggle:hover {
  background: rgba(212, 175, 55, 0.2);
}

.toggle-icon {
  transition: transform 0.3s;
}

.toggle-icon.rotated {
  transform: rotate(180deg);
}

.voucher-preview {
  margin-top: 16px;
  animation: fadeIn 0.3s ease;
}

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

.voucher-preview img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.voucher-preview img:hover {
  border-color: #d4af37;
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-fullscreen {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #9ca3af;
  color: var(--text-secondary);
  padding: 10px;
  border-radius: 10px;
  margin-top: 10px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-fullscreen:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  color: var(--text-primary);
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal {
  background: #12131a;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #d4af37;
  color: var(--gold);
}

.modal-close {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #9ca3af;
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

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

.modal-content { padding: 24px; }

.saldo-display {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.saldo-label {
  display: block;
  font-size: 12px;
  color: #9ca3af;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.saldo-amount {
  font-size: 36px;
  font-weight: 900;
  color: #d4af37;
  color: var(--gold);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #d4af37;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: #ffffff;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 60px;
}

/* Métodos Grid */
.metodos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  gap: 10px;
}

.metodo-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border: 2px solid var(--border);
  border-radius: 14px;
  color: #9ca3af;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.metodo-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.metodo-btn.active {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  border-color: var(--gold);
  color: #d4af37;
  color: var(--gold);
}

.metodo-emoji { font-size: 24px; }

.modal-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
}

.btn-cancel,
.btn-confirm {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cancel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: #9ca3af;
  color: var(--text-secondary);
}

.btn-cancel:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  color: var(--text-primary);
}

.btn-confirm {
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  color: #0a0b0f;
  color: var(--bg-dark);
}

.btn-confirm:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.btn-confirm:disabled,
.btn-cancel:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #0a0b0f;
  border-top-color: var(--bg-dark);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
  .header-content { flex-direction: column; align-items: flex-start; }
  .page-title { font-size: 22px; }
  .stat-value { font-size: 24px; }
  .metodos-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-footer { flex-direction: column; }
}



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

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

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

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

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

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

/* ============================================
   CONTAINER PRINCIPAL
   ============================================ */
.vendedor-estadisticas {
  min-height: 100vh;
  background-color: #0a0a0a;
  background-color: var(--vendedor-bg-primary);
  color: #e9ecef;
  color: var(--vendedor-text-primary);
  font-family: 'Rajdhani', sans-serif;
}

/* ============================================
   HEADER
   ============================================ */
.estadisticas-header {
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.15), rgba(10, 10, 10, 0.98));
  border-bottom: 2px solid #d4af37;
  border-bottom: 2px solid var(--vendedor-accent-gold);
  padding: 1.5rem 2rem;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(212, 175, 55, 0.2);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  animation: fadeInDown 0.6s ease-out;
}

.estadisticas-header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ============================================
   BOTÓN VOLVER (SOLO ICONO)
   ============================================ */
.estadisticas-back-button {
  width: 48px;
  height: 48px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.9));
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--vendedor-border-color);
  color: #e9ecef;
  color: var(--vendedor-text-primary);
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.estadisticas-back-button::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #d4af37, transparent);
  background: linear-gradient(45deg, var(--vendedor-accent-gold), transparent);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.estadisticas-back-button:hover {
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.2), rgba(0, 0, 0, 0.95));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  border-color: #d4af37;
  border-color: var(--vendedor-accent-gold);
}

.estadisticas-back-button:hover::before {
  opacity: 0.3;
}

.estadisticas-back-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.estadisticas-back-icon {
  font-size: 1.5rem;
}

/* ============================================
   HEADER INFO
   ============================================ */
.estadisticas-header-info {
  flex: 1 1;
  min-width: 250px;
}

.estadisticas-header-title {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  font-family: 'Orbitron', monospace;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 2px;
  line-height: 1.2;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--vendedor-accent-gold), #f0d574);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 2s ease-in-out infinite;
}

.estadisticas-header-subtitle {
  margin: 0.75rem 0 0 0;
  opacity: 0.85;
  font-size: 1.05rem;
  font-weight: 500;
  color: #b7bcc4;
  color: var(--vendedor-text-secondary);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-badge {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(212, 175, 55, 0.3));
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.4);
  white-space: nowrap;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.estadisticas-main {
  padding: 2rem;
  animation: fadeIn 0.8s ease-out;
}

.estadisticas-main-content {
  max-width: 1400px;
  margin: 0 auto;
}

/* ============================================
   LOADING
   ============================================ */
.estadisticas-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  gap: 1rem;
}

.estadisticas-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top: 5px solid #d4af37;
  border-top: 5px solid var(--vendedor-accent-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.estadisticas-loading-text {
  font-size: 1.1rem;
  color: #b7bcc4;
  color: var(--vendedor-text-secondary);
  font-weight: 600;
}

/* ============================================
   WALLET SECTION
   ============================================ */
.estadisticas-wallet-section {
  margin-bottom: 2rem;
  animation: slideUp 0.6s ease-out;
}

.estadisticas-wallet-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #d4af37;
  color: var(--vendedor-accent-gold);
  letter-spacing: 1px;
}

.estadisticas-wallet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.estadisticas-wallet-card {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), rgba(10, 10, 10, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vendedor-border-color);
  padding: 1.5rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.estadisticas-wallet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  border-color: #d4af37;
  border-color: var(--vendedor-accent-gold);
}

.estadisticas-wallet-card-principal {
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.15), rgba(10, 10, 10, 0.95));
  border: 2px solid #d4af37;
  border: 2px solid var(--vendedor-accent-gold);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.estadisticas-wallet-card-principal:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
}

.estadisticas-wallet-icon {
  font-size: 2.5rem;
  opacity: 0.9;
}

.estadisticas-wallet-icon-principal {
  font-size: 3rem;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
}

.estadisticas-wallet-content {
  flex: 1 1;
}

.estadisticas-wallet-label {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.estadisticas-wallet-amount {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: #e9ecef;
  color: var(--vendedor-text-primary);
}

.estadisticas-wallet-amount-principal {
  color: #d4af37;
  color: var(--vendedor-accent-gold);
  font-size: 2rem;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* ============================================
   STATS GRID
   ============================================ */
.estadisticas-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 2rem;
  animation: slideUp 0.7s ease-out;
}

.estadisticas-stat-card {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), rgba(10, 10, 10, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vendedor-border-color);
  padding: 1.5rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.estadisticas-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  border-color: #d4af37;
  border-color: var(--vendedor-accent-gold);
}

.estadisticas-stat-icon {
  font-size: 2.5rem;
}

.estadisticas-stat-content {
  flex: 1 1;
}

.estadisticas-stat-label {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.estadisticas-stat-value {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #e9ecef;
  color: var(--vendedor-text-primary);
}

/* ============================================
   FILTROS SECTION
   ============================================ */
.estadisticas-filtros-section {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), rgba(10, 10, 10, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vendedor-border-color);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.8s ease-out;
}

.estadisticas-filtros-title {
  margin: 0 0 1.5rem 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #d4af37;
  color: var(--vendedor-accent-gold);
  letter-spacing: 1px;
}

.estadisticas-filtros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.estadisticas-filtro-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.estadisticas-filtro-label {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
  color: #b7bcc4;
  color: var(--vendedor-text-secondary);
}

.estadisticas-filtro-input,
.estadisticas-filtro-select {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vendedor-border-color);
  background: rgba(0, 0, 0, 0.5);
  color: #e9ecef;
  color: var(--vendedor-text-primary);
  font-size: 1rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.estadisticas-filtro-input:focus,
.estadisticas-filtro-select:focus {
  outline: none;
  border-color: #d4af37;
  border-color: var(--vendedor-accent-gold);
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.estadisticas-filtro-select {
  cursor: pointer;
}

.estadisticas-filtro-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   FILTROS ACCIONES
   ============================================ */
.estadisticas-filtros-acciones {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.estadisticas-btn-limpiar,
.estadisticas-btn-exportar {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vendedor-border-color);
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.estadisticas-btn-limpiar {
  background: radial-gradient(circle at top, rgba(229, 9, 20, 0.2), rgba(0, 0, 0, 0.9));
  color: #ff1a25;
  color: var(--vendedor-accent-red-light);
  border-color: #e50914;
  border-color: var(--vendedor-accent-red);
}

.estadisticas-btn-limpiar:hover {
  background: linear-gradient(135deg, #e50914, #ff1a25);
  background: linear-gradient(135deg, var(--vendedor-accent-red), var(--vendedor-accent-red-light));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.5);
}

.estadisticas-btn-exportar {
  background: radial-gradient(circle at top, rgba(39, 174, 96, 0.2), rgba(0, 0, 0, 0.9));
  color: #27ae60;
  color: var(--vendedor-success-green);
  border-color: #27ae60;
  border-color: var(--vendedor-success-green);
}

.estadisticas-btn-exportar:hover {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.5);
}

/* ============================================
   TABLA SECTION
   ============================================ */
.estadisticas-tabla-section {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), rgba(10, 10, 10, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vendedor-border-color);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.9s ease-out;
}

.estadisticas-tabla-title {
  margin: 0 0 1.5rem 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #d4af37;
  color: var(--vendedor-accent-gold);
  letter-spacing: 1px;
}

.estadisticas-empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.estadisticas-empty-icon {
  font-size: 4rem;
  margin: 0 0 1rem 0;
  opacity: 0.5;
}

.estadisticas-empty-text {
  font-size: 1.2rem;
  opacity: 0.6;
  color: #b7bcc4;
  color: var(--vendedor-text-secondary);
}

.estadisticas-tabla-container {
  overflow-x: auto;
  border-radius: 10px;
}

.estadisticas-tabla {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.estadisticas-tabla thead {
  background: rgba(0, 0, 0, 0.5);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

.estadisticas-tabla th {
  padding: 1rem;
  text-align: left;
  border-bottom: 2px solid #d4af37;
  border-bottom: 2px solid var(--vendedor-accent-gold);
  font-weight: 700;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
  color: #e9ecef;
  color: var(--vendedor-text-primary);
}

.estadisticas-tabla th:hover {
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  color: var(--vendedor-accent-gold);
}

.estadisticas-tabla td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--vendedor-border-color);
  color: #e9ecef;
  color: var(--vendedor-text-primary);
}

.estadisticas-tabla .tr-par {
  background: rgba(255, 255, 255, 0.02);
}

.estadisticas-tabla .tr-impar {
  background: transparent;
}

.estadisticas-tabla tbody tr {
  transition: background 0.2s ease;
}

.estadisticas-tabla tbody tr:hover {
  background: rgba(212, 175, 55, 0.08);
}

/* ============================================
   BADGES Y ELEMENTOS DE TABLA
   ============================================ */
.codigo-badge {
  background: linear-gradient(135deg, #7c5cff, #a78bfa);
  background: linear-gradient(135deg, var(--vendedor-accent-purple), #a78bfa);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  box-shadow: 0 2px 8px rgba(124, 92, 255, 0.3);
}

.cliente-nombre {
  font-weight: 600;
  color: #e9ecef;
  color: var(--vendedor-text-primary);
}

.telefono-badge,
.email-badge {
  font-size: 0.85rem;
  opacity: 0.8;
  color: #b7bcc4;
  color: var(--vendedor-text-secondary);
}

.imagen-producto {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vendedor-border-color);
}

.cuenta-badge {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
  color: var(--vendedor-success-green);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.dias-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid;
  white-space: nowrap;
}

.dias-verde {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
  color: var(--vendedor-success-green);
  border-color: rgba(39, 174, 96, 0.5);
}

.dias-naranja {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border-color: rgba(255, 193, 7, 0.5);
}

.dias-rojo {
  background: rgba(229, 9, 20, 0.2);
  color: #ff1a25;
  color: var(--vendedor-accent-red-light);
  border-color: rgba(229, 9, 20, 0.5);
}

.monto-texto {
  font-weight: 700;
  color: #27ae60;
  color: var(--vendedor-success-green);
  font-size: 1rem;
}

.estado-badge {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
  color: var(--vendedor-success-green);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

/* ============================================
   TOP PRODUCTOS SECTION
   ============================================ */
.estadisticas-top-section {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), rgba(10, 10, 10, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vendedor-border-color);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  animation: slideUp 1s ease-out;
}

.estadisticas-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.estadisticas-top-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #d4af37;
  color: var(--vendedor-accent-gold);
  letter-spacing: 1px;
}

/* 🔥 FILTROS DEL TOP */
.estadisticas-top-filtros {
  display: flex;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.3rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vendedor-border-color);
}

.estadisticas-top-btn {
  background: transparent;
  border: none;
  color: #b7bcc4;
  color: var(--vendedor-text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.estadisticas-top-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #e9ecef;
  color: var(--vendedor-text-primary);
}

.estadisticas-top-btn.active {
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--vendedor-accent-gold), #f0d574);
  color: #000;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.estadisticas-top-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.estadisticas-top-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--vendedor-border-color);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.estadisticas-top-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  border-color: #d4af37;
  border-color: var(--vendedor-accent-gold);
}

.estadisticas-top-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #d4af37, #f0d574);
  background: linear-gradient(135deg, var(--vendedor-accent-gold), #f0d574);
  color: #000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.5);
}

.estadisticas-top-imagen {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border: 2px solid var(--vendedor-border-color);
}

.estadisticas-top-info {
  text-align: center;
  width: 100%;
}

.estadisticas-top-nombre {
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  font-size: 1rem;
  color: #e9ecef;
  color: var(--vendedor-text-primary);
}

.estadisticas-top-codigo {
  margin: 0 0 0.5rem 0;
  font-size: 0.85rem;
  opacity: 0.7;
  color: #b7bcc4;
  color: var(--vendedor-text-secondary);
}

.estadisticas-top-unidades {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  color: #7c5cff;
  color: var(--vendedor-accent-purple);
  font-weight: 600;
}

.estadisticas-top-ingresos {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #27ae60;
  color: var(--vendedor-success-green);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .estadisticas-header {
    padding: 1rem;
  }

  .estadisticas-header-content {
    gap: 1rem;
  }

  .estadisticas-header-title {
    font-size: 1.5rem;
  }

  .estadisticas-header-subtitle {
    font-size: 0.9rem;
  }

  .estadisticas-back-button {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .estadisticas-main {
    padding: 1rem;
  }

  .estadisticas-wallet-grid,
  .estadisticas-stats-grid,
  .estadisticas-top-grid {
    grid-template-columns: 1fr;
  }

  .estadisticas-filtros-grid {
    grid-template-columns: 1fr;
  }

  .estadisticas-tabla-container {
    font-size: 0.8rem;
  }

  .estadisticas-tabla th,
  .estadisticas-tabla td {
    padding: 0.75rem 0.5rem;
  }

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

  .estadisticas-top-filtros {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .estadisticas-header-title {
    font-size: 1.25rem;
  }

  .estadisticas-wallet-card-principal {
    transform: scale(1);
  }

  .estadisticas-filtros-acciones {
    flex-direction: column;
  }

  .estadisticas-btn-limpiar,
  .estadisticas-btn-exportar {
    width: 100%;
    justify-content: center;
  }

  .estadisticas-top-filtros {
    flex-direction: column;
  }

  .estadisticas-top-btn {
    width: 100%;
  }
}




.vd-container {
  min-height: 100vh;
  background: radial-gradient(circle at top, #0a0a0a, #000000);
  color: #f8f9fa;
}

.vd-header {
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.95), rgba(5, 5, 5, 0.98));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.vd-header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

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

.vd-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vd-logo-image {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid rgba(212, 175, 55, 0.3);
}

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

.vd-logo {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #d4af37, #f4e5b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

.vd-shop-name {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.vd-vendor-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.vd-vendor-name {
  font-size: 14px;
  font-weight: 600;
  color: #f8f9fa;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vd-vendor-role {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

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

/* ===================================
   NOTIFICACIONES
   =================================== */

.vd-notification-wrapper {
  position: relative;
}

.vd-notification-button {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8f9fa;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.vd-notification-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

.vd-notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0a0a0a;
}

.vd-notification-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-height: 500px;
  background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  animation: slideDown 0.3s ease;
  z-index: 1000;
}

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

.vd-notification-header {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vd-notification-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f8f9fa;
}

.vd-notification-count {
  font-size: 11px;
  padding: 3px 8px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
}

.vd-notification-list {
  max-height: 350px;
  overflow-y: auto;
}

.vd-notification-list::-webkit-scrollbar {
  width: 6px;
}

.vd-notification-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.vd-notification-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.vd-notification-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

.vd-notification-empty {
  padding: 40px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.vd-notification-empty p {
  margin: 0;
  font-size: 13px;
}

.vd-notification-item {
  padding: 14px 20px;
  display: flex;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vd-notification-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.vd-notification-item.unread {
  background: rgba(212, 175, 55, 0.05);
  border-left: 3px solid #d4af37;
}

.vd-notification-item-left {
  flex-shrink: 0;
}

.vd-notification-image {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vd-notification-image-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.vd-notification-item-content {
  flex: 1 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vd-notification-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #f8f9fa;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vd-notification-item-message {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vd-notification-item-product {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vd-notification-item-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.vd-notification-item-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.vd-notification-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border-radius: 999px;
  animation: pulse 2s ease-in-out infinite;
}

.vd-notification-footer {
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vd-notification-view-all {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  color: #d4af37;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vd-notification-view-all:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  transform: translateY(-2px);
}

/* ===================================
   BOTONES DEL HEADER
   =================================== */

.vd-nav-button {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #f8f9fa;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vd-nav-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

.vd-logout-button {
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(192, 57, 43, 0.3));
  border: 1px solid rgba(231, 76, 60, 0.5);
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vd-logout-button:hover {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.3), rgba(192, 57, 43, 0.4));
  border-color: #e74c3c;
  transform: translateY(-2px);
}

/* ===================================
   CONTENIDO PRINCIPAL
   =================================== */

.vd-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
}

.vd-main-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vd-title-section {
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
}

.vd-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px 0;
  background: linear-gradient(135deg, #d4af37, #f4e5b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vd-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

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

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

.vd-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #d4af37;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.vd-loading p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ===================================
   ALERTA FLOTANTE
   =================================== */

.vd-alert-banner {
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.15), rgba(192, 57, 43, 0.1));
  border: 1px solid rgba(231, 76, 60, 0.4);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(231, 76, 60, 0.2);
}

.vd-alert-banner.pulsing {
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.2);
  }
  50% {
    box-shadow: 0 12px 32px rgba(231, 76, 60, 0.4);
  }
}

.vd-alert-icon {
  color: #e74c3c;
  flex-shrink: 0;
  animation: shake 2s ease-in-out infinite;
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  10%, 30%, 50%, 70%, 90% { transform: rotate(-3deg); }
  20%, 40%, 60%, 80% { transform: rotate(3deg); }
}

.vd-alert-content {
  flex: 1 1;
  min-width: 0;
}

.vd-alert-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px 0;
}

.vd-alert-description {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.vd-alert-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vd-alert-button {
  padding: 10px 20px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.vd-alert-button:hover {
  background: linear-gradient(135deg, #c0392b, #a93226);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.vd-alert-close {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.vd-alert-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* ===================================
   WALLET SECTION
   =================================== */

.vd-wallet-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.vd-wallet-card {
  padding: 24px;
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.15), rgba(39, 174, 96, 0.05));
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vd-wallet-card:hover {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.2), rgba(39, 174, 96, 0.08));
  border-color: #27ae60;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(39, 174, 96, 0.2);
}

.vd-wallet-card.secondary {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(155, 89, 182, 0.05));
  border-color: rgba(155, 89, 182, 0.3);
}

.vd-wallet-card.secondary:hover {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.2), rgba(155, 89, 182, 0.08));
  border-color: #9b59b6;
  box-shadow: 0 8px 24px rgba(155, 89, 182, 0.2);
}

.vd-wallet-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #27ae60, #229954);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.vd-wallet-card.secondary .vd-wallet-icon {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.vd-wallet-content {
  flex: 1 1;
}

.vd-wallet-amount {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
}

.vd-wallet-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

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

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

.vd-stat-card {
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s ease;
}

.vd-stat-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.vd-stat-card.success {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.12), rgba(39, 174, 96, 0.04));
  border-color: rgba(39, 174, 96, 0.3);
}

.vd-stat-card.warning {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.12), rgba(243, 156, 18, 0.04));
  border-color: rgba(243, 156, 18, 0.3);
}

.vd-stat-card.danger {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.12), rgba(231, 76, 60, 0.04));
  border-color: rgba(231, 76, 60, 0.3);
}

.vd-stat-card.info {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.12), rgba(52, 152, 219, 0.04));
  border-color: rgba(52, 152, 219, 0.3);
}

.vd-stat-card.alert {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.18), rgba(231, 76, 60, 0.08));
  border-color: rgba(231, 76, 60, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

.vd-stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.vd-stat-card.success .vd-stat-icon {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
}

.vd-stat-card.warning .vd-stat-icon {
  background: rgba(243, 156, 18, 0.2);
  color: #f39c12;
}

.vd-stat-card.danger .vd-stat-icon {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

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

.vd-stat-card.alert .vd-stat-icon {
  background: rgba(231, 76, 60, 0.3);
  color: #e74c3c;
}

.vd-stat-content {
  flex: 1 1;
}

.vd-stat-number {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
}

.vd-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ===================================
   SECCIONES
   =================================== */

.vd-section {
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.vd-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.vd-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #f8f9fa;
  margin: 0;
}

.vd-view-all-button {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  color: #d4af37;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vd-view-all-button:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  transform: translateY(-2px);
}

/* ===================================
   ACCESOS RÁPIDOS
   =================================== */

.vd-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

.vd-action-card {
  position: relative;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.vd-action-card:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.05));
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.vd-action-card.alert {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.12), rgba(231, 76, 60, 0.05));
  border-color: rgba(231, 76, 60, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.vd-action-card.alert:hover {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.18), rgba(231, 76, 60, 0.08));
  border-color: #e74c3c;
}

.vd-action-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
}

.vd-action-card.alert .vd-action-icon {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

.vd-action-title {
  font-size: 13px;
  font-weight: 600;
  color: #f8f9fa;
  margin: 0;
}

.vd-action-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0a0a0a;
}

/* ===================================
   LISTA DE PEDIDOS
   =================================== */

.vd-pedidos-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vd-pedido-item {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vd-pedido-item:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateX(4px);
}

.vd-pedido-item.pending {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.08), rgba(243, 156, 18, 0.03));
  border-color: rgba(243, 156, 18, 0.3);
}

.vd-pedido-item.pending:hover {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.12), rgba(243, 156, 18, 0.05));
  border-color: #f39c12;
}

.vd-pedido-info {
  flex: 1 1;
  min-width: 0;
}

.vd-pedido-nombre {
  font-size: 14px;
  font-weight: 600;
  color: #f8f9fa;
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vd-pedido-cliente {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.vd-pedido-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vd-pedido-estado {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.vd-pedido-estado.pendiente {
  background: rgba(243, 156, 18, 0.2);
  color: #f39c12;
}

.vd-pedido-estado.aprobado {
  background: rgba(52, 152, 219, 0.2);
  color: #3498db;
}

.vd-pedido-estado.entregado {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
}

.vd-pedido-precio {
  font-size: 15px;
  font-weight: 700;
  color: #d4af37;
}

/* ===================================
   EMPTY STATE
   =================================== */

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

.vd-empty-icon {
  color: rgba(255, 255, 255, 0.2);
}

.vd-empty-title {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.vd-empty-button {
  padding: 14px 28px;
  background: linear-gradient(135deg, #d4af37, #f4e5b8);
  border: none;
  border-radius: 12px;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vd-empty-button:hover {
  background: linear-gradient(135deg, #f4e5b8, #d4af37);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

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

@media (max-width: 768px) {
  .vd-header-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .vd-header-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .vd-vendor-info {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
  }

  .vd-header-right {
    justify-content: space-between;
  }

  .vd-notification-dropdown {
    width: calc(100vw - 32px);
    right: -200px;
  }

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

  .vd-quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .vd-wallet-section {
    grid-template-columns: 1fr;
  }
}

/* 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;
}


