/* Estilos propios de cursos.html (antes estaban dentro de la página) */
:root {
    --primary: #c5a059; 
    --dark-bg: #0a0b10;
    --card-bg: #16181d;
    --text: #e0e0e0;
    --venta: #28a745; 
}

* { box-sizing: border-box; }

html { height: 100%; }
body { margin: 0; height: 100%; background-color: var(--dark-bg); color: var(--text); font-family: 'Inter', sans-serif; overflow-x: hidden; }

.word-wrap-strict {
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

/* --- SECCIONES --- */
.page-content { display: none; padding-top: 100px; min-height: 100vh; animation: fadeIn 0.5s ease; }
.active { display: block; }

/* CORRECCIÓN DEFINITIVA DEL FONDO: Uso de capa fantasma (::before) para evitar bugs de celulares */
.content-bg {
    position: relative;
    padding-bottom: 60px;
    z-index: 1; /* Crea un contexto de apilamiento */
}
.content-bg::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 11, 16, 0.65), rgba(10, 11, 16, 0.90)), url('/img/ui/fondo.jpg') no-repeat center center/cover;
    z-index: -1; /* Manda el fondo detrás del contenido */
}

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

/* --- ENCABEZADO IMPACTANTE --- */
#catalogo-header { width: 100%; text-align: center; padding: 20px 20px 0; }
.titulo-seccion {
    font-size: 3.2rem;
    font-weight: 900;
    margin: 0 auto 15px;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}
.titulo-seccion span {
    color: var(--primary);
}

/* --- BOTONES GENERALES --- */
.btn-primary { background: var(--primary); color: #000; font-weight: bold; border: none; padding: 15px 30px; border-radius: 8px; cursor: pointer; text-transform: uppercase; transition: 0.3s; }
.btn-primary:hover { box-shadow: 0 0 15px var(--primary); transform: scale(1.05); }
.btn-outline { background: rgba(10, 11, 16, 0.5); color: var(--primary); font-weight: bold; border: 2px solid var(--primary); padding: 15px 30px; border-radius: 8px; cursor: pointer; text-transform: uppercase; transition: 0.3s; backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; gap: 6px;}
.btn-outline:hover { background: var(--primary); color: #000; transform: scale(1.05); }

.btn-full { display: block; width: 100%; padding: 12px; text-align: center; border-radius: 6px; font-weight: bold; cursor: pointer; text-decoration: none; margin-top: 10px; border: none; transition: 0.3s; font-family: 'Inter', sans-serif;}

.btn-comprar { background: var(--primary); color: #000; font-weight: bold; border: none; padding: 12px; border-radius: 8px; cursor: pointer; text-transform: uppercase; transition: 0.3s; width: 100%; font-family: 'Inter', sans-serif; margin-top: 10px; font-size: 0.9rem; text-decoration: none; display: flex; justify-content: center; align-items: center; gap: 8px; }
.btn-comprar:hover { box-shadow: 0 0 15px var(--primary); transform: scale(1.02); }

.btn-link { background: #222; border: 1px solid #444; color: #fff; font-size: 0.85rem; padding: 8px; width: 100%; cursor: pointer; border-radius: 6px; transition: 0.3s; margin-top: 5px; font-family: 'Inter', sans-serif;}
.btn-link:hover { border-color: var(--primary); color: var(--primary); }

.btn-share-icon { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--primary); font-size: 1.2rem; padding: 10px 15px; border-radius: 8px; cursor: pointer; transition: 0.3s; flex-shrink: 0; }
.btn-share-icon:hover { background: var(--primary); color: #000; }

.btn-edit { background: #333; border: 1px solid var(--primary); color: var(--primary); font-size: 0.75rem; padding: 5px; margin-top: 5px; border-radius: 4px; cursor: pointer; transition: 0.3s;}
.btn-edit:hover { background: var(--primary); color: #000; }
.btn-delete { background: #333; border: 1px solid #dc3545; color: #dc3545; font-size: 0.75rem; padding: 5px; margin-top: 5px; border-radius: 4px; cursor: pointer; transition: 0.3s;}
.btn-delete:hover { background: #dc3545; color: #fff; }
.btn-puente { background: #222; border: 1px solid #cca35e; color: #cca35e; font-size: 0.75rem; padding: 5px; margin-top: 5px; border-radius: 4px; cursor: pointer; transition: 0.3s;}
.btn-puente:hover { background: #cca35e; color: #000;}

/* --- BOTÓN FLOTANTE "VOLVER" (MÓVIL APP-LIKE) --- */
.btn-volver-app {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 20;
    background: rgba(10,11,16,0.6);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(5px);
    font-size: 0.9rem;
    transition: 0.3s;
}
.btn-volver-app:hover { background: var(--primary); color: #000; border-color: var(--primary); }

/* --- MEJORAS VISUALES MODERNAS --- */
/* Modo Claro */
body.light-mode { --dark-bg: #f8f9fa; --card-bg: #ffffff; --text: #1e2228; }
.light-mode .content-bg::before { background: linear-gradient(rgba(248, 249, 250, 0.85), rgba(248, 249, 250, 0.95)), url('/img/ui/fondo.jpg') no-repeat center center/cover; }
.light-mode .card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 18px !important;
    padding: 20px !important;
    overflow: hidden !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
    will-change: transform, box-shadow;
    transform-style: preserve-3d;
}

/* Efecto de Barrido de Luz (Shimmer Sweep) Dinámico sobre las Ventanas */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        rgba(234, 179, 8, 0.16),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 4;
}
.card:hover::before {
    left: 160%;
}

/* Modo Oscuro (Obsidian Glass + Acento Oro + Animación de Movimiento Dinámico) */
body:not(.light-mode) .card {
    background: linear-gradient(165deg, rgba(20, 24, 34, 0.96) 0%, rgba(11, 14, 20, 0.98) 100%) !important;
    border: 1px solid rgba(197, 160, 89, 0.28) !important;
    border-top: 3px solid #c5a059 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65), 0 0 25px rgba(197, 160, 89, 0.08) !important;
}
body:not(.light-mode) .card:hover {
    transform: translateY(-9px) scale(1.015) !important;
    border-color: rgba(250, 204, 21, 0.7) !important;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(234, 179, 8, 0.28) !important;
}

/* Modo Claro (Lujo Ejecutivo Blanco Puro + Acento Oro) */
body.light-mode .card {
    background: #ffffff !important;
    border: 1px solid rgba(197, 160, 89, 0.32) !important;
    border-top: 3px solid #c5a059 !important;
    box-shadow: 0 14px 34px -4px rgba(15, 23, 42, 0.08), 0 0 20px rgba(197, 160, 89, 0.12) !important;
}
body.light-mode .card:hover {
    transform: translateY(-9px) scale(1.015) !important;
    border-color: #ca8a04 !important;
    box-shadow: 0 26px 55px -4px rgba(15, 23, 42, 0.18), 0 0 35px rgba(197, 160, 89, 0.3) !important;
}

/* Animación de Badges Flotantes */
.badge-oferta {
    animation: vfBadgeFloat 2.8s ease-in-out infinite !important;
}
.badge-top {
    animation: vfBadgeFloat 2.8s ease-in-out infinite 0.7s !important;
}
@keyframes vfBadgeFloat {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(239, 68, 68, 0.45);
    }
    50% {
        transform: translateY(-3px);
        box-shadow: 0 8px 22px rgba(239, 68, 68, 0.75);
    }
}

/* Carrusel de Imágenes */
.carousel {
    position: relative !important;
    width: 100% !important;
    height: 310px !important;
    background: #06080c !important;
    border-radius: 12px !important;
    margin-bottom: 16px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
body.light-mode .carousel {
    border-color: rgba(0, 0, 0, 0.08) !important;
    background: #0f172a !important;
}
.carousel img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: none;
    transition: transform 0.4s ease, opacity 0.3s ease !important;
}
.carousel img.active {
    display: block !important;
}
.carousel:hover img.active {
    transform: scale(1.03) !important;
}

/* Badges Flotantes de Lujo en Carrusel */
.badge-oferta {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
    color: #fff !important;
    padding: 5px 12px !important;
    font-weight: 800 !important;
    font-size: 0.74rem !important;
    z-index: 10 !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.45) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}
.badge-top {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    background: linear-gradient(135deg, #fae29f 0%, #c5a059 100%) !important;
    color: #000 !important;
    padding: 5px 12px !important;
    font-weight: 900 !important;
    font-size: 0.74rem !important;
    border-radius: 6px !important;
    z-index: 10 !important;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.45) !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    letter-spacing: 0.4px !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

/* Pill de Categoría */
.vf-cat-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    width: fit-content !important;
    margin-bottom: 8px !important;
    font-family: 'Inter', sans-serif !important;
}
.vf-cat-cursos { background: rgba(37, 99, 235, 0.12) !important; color: #3b82f6 !important; border: 1px solid rgba(59, 130, 246, 0.35) !important; }
.vf-cat-software { background: rgba(249, 115, 22, 0.12) !important; color: #f97316 !important; border: 1px solid rgba(249, 115, 22, 0.35) !important; }
.vf-cat-plantillas { background: rgba(16, 185, 129, 0.12) !important; color: #10b981 !important; border: 1px solid rgba(16, 185, 129, 0.35) !important; }
.vf-cat-packs { background: rgba(168, 85, 247, 0.12) !important; color: #a855f7 !important; border: 1px solid rgba(168, 85, 247, 0.35) !important; }
.vf-cat-otros { background: rgba(197, 160, 89, 0.12) !important; color: var(--primary) !important; border: 1px solid rgba(197, 160, 89, 0.35) !important; }

/* Título de la Tarjeta */
.vf-card-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.2rem !important;
    line-height: 1.35 !important;
    margin: 0 0 8px 0 !important;
    color: #ffffff !important;
    transition: color 0.25s !important;
    cursor: pointer !important;
}
.vf-card-title:hover {
    color: var(--primary, #c5a059) !important;
}
body.light-mode .vf-card-title {
    color: #0f172a !important;
}
body.light-mode .vf-card-title:hover {
    color: #b08d44 !important;
}

/* Fila de Valoración Dinámica con Estrellas en Movimiento */
.vf-rating-row {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    margin-bottom: 10px !important;
    font-size: 0.82rem !important;
    flex-wrap: wrap !important;
}

/* Estrellas con Animación de Movimiento Ondulante y Brillo */
.vf-stars {
    color: #f59e0b !important;
    display: flex !important;
    gap: 3px !important;
    align-items: center !important;
}
.vf-stars i {
    display: inline-block !important;
    animation: vfStarWaveMotion 2.4s ease-in-out infinite !important;
    transform-origin: center center !important;
    transition: transform 0.2s ease !important;
}
.vf-stars i:nth-child(1) { animation-delay: 0.0s !important; }
.vf-stars i:nth-child(2) { animation-delay: 0.2s !important; }
.vf-stars i:nth-child(3) { animation-delay: 0.4s !important; }
.vf-stars i:nth-child(4) { animation-delay: 0.6s !important; }
.vf-stars i:nth-child(5) { animation-delay: 0.8s !important; }

@keyframes vfStarWaveMotion {
    0%, 100% {
        transform: scale(1) translateY(0) rotate(0deg);
        color: #f59e0b;
        filter: drop-shadow(0 0 1px rgba(245, 158, 11, 0.4));
    }
    25% {
        transform: scale(1.22) translateY(-2px) rotate(8deg);
        color: #fde047;
        filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.95));
    }
    50% {
        transform: scale(1.06) translateY(0) rotate(-6deg);
        color: #fbbf24;
        filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.6));
    }
    75% {
        transform: scale(1.16) translateY(-1px) rotate(4deg);
        color: #fef08a;
        filter: drop-shadow(0 0 5px rgba(254, 240, 138, 0.9));
    }
}

.vf-rating-score {
    font-weight: 800 !important;
    color: #fae29f !important;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 0.3px !important;
}
body.light-mode .vf-rating-score {
    color: #b45309 !important;
}

/* Nuevo Badge Dinámico con Estrella en Movimiento Continuo (Reemplaza a Verificado CIP) */
.vf-badge-live-star {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.16), rgba(245, 158, 11, 0.26)) !important;
    color: #fde047 !important;
    border: 1px solid rgba(234, 179, 8, 0.45) !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.25) !important;
    animation: vfBadgeGlowPulse 2.8s infinite ease-in-out !important;
}
body.light-mode .vf-badge-live-star {
    background: linear-gradient(135deg, #fef08a, #fde047) !important;
    color: #854d0e !important;
    border-color: #eab308 !important;
    box-shadow: 0 2px 8px rgba(202, 138, 4, 0.2) !important;
}

/* Estrella Giratoria y Pulsante */
.vf-star-spin {
    display: inline-block !important;
    color: #fef08a !important;
    filter: drop-shadow(0 0 5px #eab308) !important;
    animation: vfStarSpinPulse 3.2s infinite ease-in-out !important;
    transform-origin: center center !important;
}
body.light-mode .vf-star-spin {
    color: #b45309 !important;
    filter: drop-shadow(0 0 3px #ca8a04) !important;
}

@keyframes vfStarSpinPulse {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(1.3);
    }
    50% {
        transform: rotate(180deg) scale(1.05);
    }
    75% {
        transform: rotate(270deg) scale(1.28);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes vfBadgeGlowPulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(234, 179, 8, 0.2);
        border-color: rgba(234, 179, 8, 0.35);
    }
    50% {
        box-shadow: 0 0 18px rgba(250, 204, 21, 0.55);
        border-color: rgba(250, 204, 21, 0.85);
    }
}

/* Caja de Descripción con 'Ver Más' */
.desc-card-container {
    max-height: 56px !important;
    overflow: hidden !important;
    position: relative !important;
    transition: max-height 0.35s ease !important;
    margin-bottom: 4px !important;
}
.desc-card-container.expanded {
    max-height: 600px !important;
}
.desc-card-container p {
    font-size: 0.88rem !important;
    color: #94a3b8 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    white-space: pre-line !important;
}
body.light-mode .desc-card-container p {
    color: #334155 !important;
}
.btn-ver-mas {
    background: none !important;
    border: none !important;
    color: var(--primary, #c5a059) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    padding: 4px 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: color 0.2s !important;
}
.btn-ver-mas:hover {
    color: #fae29f !important;
}
body.light-mode .btn-ver-mas {
    color: #9a6e1a !important;
}

/* Fila de Precios y Disponibilidad */
.card-price-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
body.light-mode .card-price-row {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}
.card-price-original {
    font-size: 0.95rem !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    margin-right: 8px !important;
    font-weight: 600 !important;
}
.card-price-value {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.65rem !important;
    font-weight: 900 !important;
    color: #22c55e !important;
    letter-spacing: -0.5px !important;
}
body.light-mode .card-price-value {
    color: #16a34a !important;
}
.vf-disp-pill {
    font-size: 0.74rem !important;
    color: #22c55e !important;
    font-weight: 800 !important;
    background: rgba(34, 197, 94, 0.12) !important;
    border: 1px solid rgba(34, 197, 94, 0.35) !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}
body.light-mode .vf-disp-pill {
    color: #15803d !important;
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
}

/* --- PILA DE BOTONES DINÁMICOS DE LUJO --- */
.vf-card-buttons-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 14px !important;
    width: 100% !important;
}

/* Botón 1: PAGAR AQUÍ (Nacional) */
.vf-btn-pagar {
    width: 100% !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    font-size: 0.88rem !important;
    font-weight: 900 !important;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 0.4px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}
.vf-btn-pagar:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.55) !important;
    filter: brightness(1.08) !important;
}
.vf-bolt-icon {
    font-size: 1rem !important;
    color: #fae29f !important;
    animation: vfBoltPulse 2s infinite ease-in-out !important;
}
@keyframes vfBoltPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.85; }
}

/* Botón 2: COMPRAR EN HOTMART (Internacional / Tarjetas) */
.vf-btn-hotmart {
    width: 100% !important;
    background: linear-gradient(135deg, #ff5722 0%, #ea580c 50%, #c2185b 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35) !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.vf-btn-hotmart:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(234, 88, 12, 0.55) !important;
    filter: brightness(1.08) !important;
}
.vf-btn-hotmart-content {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: left !important;
}
.vf-hotmart-flame {
    font-size: 1.3rem !important;
    color: #ffeb3b !important;
    filter: drop-shadow(0 0 6px rgba(255, 235, 59, 0.8)) !important;
    animation: vfFlamePulse 1.8s infinite ease-in-out !important;
}
@keyframes vfFlamePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}
.vf-hotmart-text-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
}
.vf-hotmart-main-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    font-size: 0.84rem !important;
    letter-spacing: 0.5px !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
}
.vf-hotmart-sub-title {
    font-size: 0.68rem !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 600 !important;
}
.vf-hotmart-ext-icon {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Fila de Acciones Secundarias (Ficha + WhatsApp + Compartir) */
.vf-card-secondary-grid {
    display: grid !important;
    grid-template-columns: 1.3fr 1.3fr auto !important;
    gap: 8px !important;
    align-items: center !important;
}
.vf-btn-sec {
    padding: 8px 10px !important;
    border-radius: 8px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    font-family: 'Inter', sans-serif !important;
}
.vf-btn-ficha {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(197, 160, 89, 0.35) !important;
    color: var(--primary, #c5a059) !important;
}
.vf-btn-ficha:hover {
    background: var(--gold-gradient, linear-gradient(135deg, #fae29f 0%, #c5a059 100%)) !important;
    color: #000 !important;
    border-color: var(--primary, #c5a059) !important;
}
body.light-mode .vf-btn-ficha {
    background: #f8fafc !important;
    border-color: rgba(197, 160, 89, 0.5) !important;
    color: #855d14 !important;
}
body.light-mode .vf-btn-ficha:hover {
    background: var(--primary, #c5a059) !important;
    color: #000 !important;
}
.vf-btn-wsp {
    background: rgba(37, 211, 102, 0.1) !important;
    border: 1px solid rgba(37, 211, 102, 0.35) !important;
    color: #25d366 !important;
}
.vf-btn-wsp:hover {
    background: #25d366 !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
}
.vf-btn-share {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #94a3b8 !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
}
.vf-btn-share:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}
body.light-mode .vf-btn-share {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

/* Fila de Administrador */
.vf-card-admin-row {
    display: flex !important;
    gap: 8px !important;
    margin-top: 4px !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.1) !important;
    padding-top: 10px !important;
}
body.light-mode .vf-card-admin-row {
    border-top-color: rgba(0, 0, 0, 0.1) !important;
}
.vf-admin-btn {
    padding: 7px 12px !important;
    border-radius: 6px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}
.vf-admin-edit {
    flex: 1 !important;
    background: rgba(37, 99, 235, 0.15) !important;
    border: 1px solid rgba(37, 99, 235, 0.4) !important;
    color: #3b82f6 !important;
}
.vf-admin-edit:hover {
    background: #2563eb !important;
    color: #fff !important;
}
.vf-admin-del {
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    color: #ef4444 !important;
}
.vf-admin-del:hover {
    background: #ef4444 !important;
    color: #fff !important;
}

/* Ajustes Mobile de Botones */
@media (max-width: 680px) {
    .grid {
        grid-template-columns: 1fr !important;
        padding: 16px 14px 40px !important;
        gap: 24px !important;
    }
    .card {
        padding: 16px !important;
    }
    .carousel {
        height: 240px !important;
    }
    .vf-card-secondary-grid {
        grid-template-columns: 1fr 1fr auto !important;
    }
}


/* ========================================================
   DASHBOARD VIP EJECUTIVO VARFLO (Estilos Modernos & Lujo)
   ======================================================== */
.vf-dash-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px 80px;
}

/* 1. Header Ejecutivo */
.vf-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(20, 24, 34, 0.95), rgba(13, 16, 23, 0.98));
    border: 1px solid rgba(234, 179, 8, 0.25);
    border-radius: 18px;
    padding: 22px 28px;
    margin-bottom: 24px;
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    flex-wrap: wrap;
}

body.light-mode .vf-dash-header {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid rgba(202, 138, 4, 0.35);
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.08);
}

.vf-dash-profile {
    display: flex;
    align-items: center;
    gap: 18px;
}

.vf-dash-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #eab308;
    box-shadow: 0 0 16px rgba(234, 179, 8, 0.35);
}

.vf-dash-profile-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vf-dash-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vf-dash-name-row strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.3px;
}

body.light-mode .vf-dash-name-row strong {
    color: #0f172a;
}

.vf-dash-badge-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: #0b0f19;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.35);
}

.vf-dash-email {
    font-size: 0.88rem;
    color: #94a3b8;
    font-family: monospace;
}

body.light-mode .vf-dash-email {
    color: #64748b;
}

.vf-dash-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vf-dash-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
    white-space: nowrap;
}

.vf-dash-btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}
.vf-dash-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-1px);
}
body.light-mode .vf-dash-btn-ghost {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}
body.light-mode .vf-dash-btn-ghost:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.vf-dash-btn-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.vf-dash-btn-gold:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.vf-dash-btn-danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}
.vf-dash-btn-danger:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.vf-dash-btn-sm {
    padding: 6px 12px;
    font-size: 0.78rem;
    border-radius: 8px;
}

/* 2. KPI Metrics Ribbon (4 Tarjetas) */
.vf-dash-kpis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.vf-kpi-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: linear-gradient(145deg, rgba(20, 24, 34, 0.9), rgba(15, 18, 26, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.vf-kpi-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: transparent;
    transition: background 0.3s;
}

.vf-kpi-card:hover {
    transform: translateY(-3px);
    border-color: rgba(234, 179, 8, 0.3);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
.vf-kpi-card:hover::before {
    background: linear-gradient(90deg, #eab308, #f59e0b);
}

body.light-mode .vf-kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
body.light-mode .vf-kpi-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.vf-kpi-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 1px solid;
}

.vf-kpi-data {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vf-kpi-lbl {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94a3b8;
    font-weight: 700;
}
body.light-mode .vf-kpi-lbl { color: #64748b; }

.vf-kpi-val {
    font-size: 1.7rem;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.15;
    margin: 2px 0;
}
body.light-mode .vf-kpi-val { color: #0f172a; }

.vf-kpi-sub {
    font-size: 0.78rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.light-mode .vf-kpi-sub { color: #94a3b8; }

/* 3. Navegación de Pestañas (Tabs) */
.vf-dash-tabs-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
}
body.light-mode .vf-dash-tabs-nav {
    border-bottom: 1px solid #e2e8f0;
}

.vf-dash-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    padding: 11px 20px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.vf-dash-tab-btn:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
}
body.light-mode .vf-dash-tab-btn { color: #64748b; }
body.light-mode .vf-dash-tab-btn:hover { color: #0f172a; background: #f1f5f9; }

.vf-dash-tab-btn.active {
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(234, 179, 8, 0.35);
    color: #facc15;
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.15);
}
body.light-mode .vf-dash-tab-btn.active {
    background: #fef08a;
    border-color: #ca8a04;
    color: #854d0e;
}

.vf-dash-tab-btn .badge-counter {
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    padding: 2px 7px;
    border-radius: 12px;
    font-weight: 800;
}

/* 4. Paneles de Pestañas */
.vf-dash-tab-pane, .vf-dash-tab-content {
    display: none;
    animation: vfFadeIn 0.25s ease;
}
.vf-dash-tab-pane.active, .vf-dash-tab-content.active {
    display: block;
}

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

.vf-dash-panel {
    background: linear-gradient(160deg, rgba(20, 24, 34, 0.95), rgba(15, 18, 26, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.4);
}
body.light-mode .vf-dash-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.vf-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.vf-panel-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
body.light-mode .vf-panel-title { color: #0f172a; }

.vf-panel-desc {
    font-size: 0.88rem;
    color: #94a3b8;
    margin: 0;
}
body.light-mode .vf-panel-desc { color: #64748b; }

/* 5. Tabla Ejecutiva del Catálogo */
.vf-dash-table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 13, 20, 0.5);
}
body.light-mode .vf-dash-table-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.vf-dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
    min-width: 780px;
}

.vf-dash-table thead th {
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    padding: 14px 16px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.light-mode .vf-dash-table thead th {
    background: #f1f5f9;
    color: #475569;
    border-bottom: 1px solid #cbd5e1;
}

.vf-dash-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
    color: #e2e8f0;
}
body.light-mode .vf-dash-table tbody td {
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
}

.vf-dash-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.025);
}
body.light-mode .vf-dash-table tbody tr:hover td {
    background: #f8fafc;
}

/* 6. Formulario Crear / Editar Curso */
.vf-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

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

.vf-form-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}
body.light-mode .vf-form-label { color: #334155; }

.vf-form-input, .vf-form-select, .vf-form-textarea {
    width: 100%;
    padding: 11px 14px;
    background: rgba(13, 17, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.vf-form-input:focus, .vf-form-select:focus, .vf-form-textarea:focus {
    outline: none;
    border-color: #eab308;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.18);
}
body.light-mode .vf-form-input, 
body.light-mode .vf-form-select, 
body.light-mode .vf-form-textarea {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}
body.light-mode .vf-form-input:focus, 
body.light-mode .vf-form-select:focus, 
body.light-mode .vf-form-textarea:focus {
    border-color: #ca8a04;
    box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.15);
}

.vf-form-help {
    font-size: 0.74rem;
    color: #64748b;
}

/* Filtro botones de categorías en tabla admin */
.vf-dash-cat-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 16px;
}
.vf-dash-cat-pill {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.vf-dash-cat-pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
.vf-dash-cat-pill.active {
    background: #eab308;
    color: #0b0f19;
    border-color: #eab308;
    font-weight: 800;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .vf-dash-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .vf-dash-header-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .vf-dash-kpis-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .vf-dash-kpis-grid {
        grid-template-columns: 1fr;
    }
    .vf-dash-panel {
        padding: 18px 14px;
    }
}


/* Aliases & Complementos del Dashboard VIP */
.vf-dash-nav-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
}
body.light-mode .vf-dash-nav-tabs {
    border-bottom: 1px solid #e2e8f0;
}

.vf-dash-pill-badge {
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    padding: 2px 7px;
    border-radius: 12px;
    font-weight: 800;
}

.vf-dash-card {
    background: linear-gradient(160deg, rgba(20, 24, 34, 0.95), rgba(15, 18, 26, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.4);
}
body.light-mode .vf-dash-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.vf-dash-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.vf-dash-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
body.light-mode .vf-dash-card-title { color: #0f172a; }

.vf-dash-card-desc {
    font-size: 0.88rem;
    color: #94a3b8;
    margin: 0;
}
body.light-mode .vf-dash-card-desc { color: #64748b; }

.vf-dash-card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.vf-table-search-bar {
    position: relative;
    margin-bottom: 14px;
}
.vf-table-search-bar i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}
.vf-table-search-bar input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: rgba(13, 17, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.9rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.vf-table-search-bar input:focus {
    outline: none;
    border-color: #eab308;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.18);
}
body.light-mode .vf-table-search-bar input {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

.vf-table-filters-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 16px;
}

.vf-tbl-pill {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.vf-tbl-pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
.vf-tbl-pill.active {
    background: #eab308;
    color: #0b0f19;
    border-color: #eab308;
    font-weight: 800;
}

.vf-table-responsive-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 13, 20, 0.5);
}
body.light-mode .vf-table-responsive-wrapper {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}


/* ========================================================
   Estilos Específicos para Filas de la Tabla del Dashboard
   ======================================================== */
.vf-tbl-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.vf-tbl-title {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vf-tbl-title:hover {
    color: #facc15;
}
body.light-mode .vf-tbl-title {
    color: #0f172a;
}
body.light-mode .vf-tbl-title:hover {
    color: #ca8a04;
}

.vf-tbl-sub {
    font-size: 0.76rem;
    color: #64748b;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vf-tbl-cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.vf-tbl-cat.cat-curso {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.3);
}
.vf-tbl-cat.cat-software {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.3);
}
.vf-tbl-cat.cat-plantilla {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.3);
}
.vf-tbl-cat.cat-pack {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.3);
}

.vf-tbl-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-oferta-mini {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}
.badge-top-mini {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.vf-tbl-link-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}
.vf-tbl-link-tag.hotmart-active {
    background: rgba(255, 87, 34, 0.15);
    color: #ff7043;
    border: 1px solid rgba(255, 87, 34, 0.35);
}
.vf-tbl-link-tag.hotmart-active:hover {
    background: #ff5722;
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.4);
}
.vf-tbl-link-tag.desc-active {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}
.vf-tbl-link-tag.desc-active:hover {
    background: #10b981;
    color: #fff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.vf-tbl-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    margin-left: 4px;
}
.btn-edit-mini {
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(234, 179, 8, 0.3);
    color: #facc15;
}
.btn-edit-mini:hover {
    background: #facc15;
    color: #0b0f19;
    transform: translateY(-1px);
}
.btn-view-mini {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}
.btn-view-mini:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateY(-1px);
}
.btn-del-mini {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}
.btn-del-mini:hover {
    background: #ef4444;
    color: #ffffff;
    transform: translateY(-1px);
}


/* ========================================================
   CUADRÍCULA DE CATÁLOGO: EXACTAMENTE 4 EN CADA FILA
   ======================================================== */
.grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    padding: 30px 24px 70px !important;
    max-width: 1620px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
    align-items: stretch !important;
}

.card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 18px !important;
    padding: 18px !important;
    overflow: hidden !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
    will-change: transform, box-shadow;
    transform-style: preserve-3d;
    box-sizing: border-box !important;
    height: 100% !important;
}

.carousel {
    position: relative !important;
    width: 100% !important;
    height: 260px !important;
    background: #06080c !important;
    border-radius: 12px !important;
    margin-bottom: 14px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.vf-card-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    margin: 0 0 8px 0 !important;
    color: #ffffff !important;
    transition: color 0.25s !important;
    cursor: pointer !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.7em !important;
}

/* Responsive Breakpoints: 4 -> 3 -> 2 -> 1 */
@media (max-width: 1360px) {
    .grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
}
@media (max-width: 960px) {
    .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        padding: 20px 16px 50px !important;
    }
}
@media (max-width: 620px) {
    .grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 16px 12px 40px !important;
    }
    .card {
        padding: 16px !important;
    }
    .carousel {
        height: 240px !important;
    }
}


/* ========================================================
   DISTRIBUCIÓN Y ALINEACIÓN DE LUJO COHERENTE VARFLO
   ======================================================== */

/* 1. Header y Sección Superior */
#cursos.page-content {
    padding-top: 85px !important;
}
#catalogo-header {
    padding: 15px 20px 8px !important;
    text-align: center !important;
}
#catalogo-header .titulo-seccion {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
    margin: 0 auto 6px !important;
    font-weight: 900 !important;
    letter-spacing: -0.5px !important;
}
#catalogo-header p {
    font-size: 0.92rem !important;
    max-width: 720px !important;
    margin: 0 auto 12px !important;
    color: #94a3b8 !important;
    line-height: 1.5 !important;
}

/* 2. Filtros de Categoría */
.filtros-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin: 10px auto 16px !important;
    max-width: 850px !important;
}
.btn-filtro {
    padding: 7px 18px !important;
    border-radius: 25px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #94a3b8 !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    letter-spacing: 0.3px !important;
}
.btn-filtro:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(234, 179, 8, 0.4) !important;
    transform: translateY(-1px) !important;
}
.btn-filtro.active-filter {
    background: linear-gradient(135deg, #eab308, #ca8a04) !important;
    color: #0b0f19 !important;
    border-color: #eab308 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35) !important;
}
body.light-mode .btn-filtro {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}
body.light-mode .btn-filtro:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}
body.light-mode .btn-filtro.active-filter {
    background: linear-gradient(135deg, #eab308, #ca8a04) !important;
    color: #0b0f19 !important;
    border-color: #ca8a04 !important;
}

/* 3. Cuadrícula de 4 Columnas con Estiramiento Uniforme */
.grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    padding: 10px 20px 80px !important;
    max-width: 1640px !important;
    margin: 0 auto !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* 4. Tarjeta Coherente con Altura 100% */
.card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 18px !important;
    padding: 16px !important;
    overflow: hidden !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
    will-change: transform, box-shadow;
    transform-style: preserve-3d;
    box-sizing: border-box !important;
    height: 100% !important;
}

/* Carrusel Compacto */
.carousel {
    position: relative !important;
    width: 100% !important;
    height: 215px !important;
    background: #06080c !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    flex-shrink: 0 !important;
}

/* Cuerpo Superior */
.vf-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

/* Título Uniforme (Exactamente 2 Líneas) */
.vf-card-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.98rem !important;
    line-height: 1.35 !important;
    margin: 0 0 6px 0 !important;
    color: #ffffff !important;
    transition: color 0.25s !important;
    cursor: pointer !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 2.7em !important;
    min-height: 2.7em !important;
}
body.light-mode .vf-card-title { color: #0f172a !important; }

/* Fila de Calificación y Badge */
.vf-rating-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
    font-size: 0.8rem !important;
    min-height: 26px !important;
}

/* Descripción Nítida de 2 Líneas */
.desc-card-container {
    height: 38px !important;
    max-height: 38px !important;
    overflow: hidden !important;
    position: relative !important;
    margin-bottom: 4px !important;
    transition: max-height 0.35s ease !important;
}
.desc-card-container.expanded {
    height: auto !important;
    max-height: 500px !important;
}
.desc-card-container p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.desc-card-container.expanded p {
    display: block !important;
    -webkit-line-clamp: unset !important;
}
body.light-mode .desc-card-container p { color: #475569 !important; }

.btn-ver-mas {
    background: none !important;
    border: none !important;
    color: var(--primary, #c5a059) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    align-self: flex-start !important;
}

/* 5. Pie de Tarjeta Anclado al Fondo: OCUPA 100% DEL ANCHO */
.vf-card-footer {
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
body.light-mode .vf-card-footer {
    border-top-color: #e2e8f0 !important;
}

/* Fila de Precios a Todo lo Ancho */
.card-price-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
.card-price-wrap {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
}
.card-price-value {
    font-size: 1.4rem !important;
    font-weight: 900 !important;
    color: #22c55e !important;
    font-family: 'Montserrat', sans-serif !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}
.card-price-original {
    font-size: 0.85rem !important;
    color: #64748b !important;
    text-decoration: line-through !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}
.vf-disp-pill {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #22c55e !important;
    background: rgba(34, 197, 94, 0.12) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
}

/* Pila de Botones: CADA UNO A TODO LO ANCHO (100%) */
.vf-card-buttons-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.vf-btn-pagar {
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 11px 14px !important;
    border-radius: 10px !important;
    font-size: 0.88rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35) !important;
    transition: all 0.22s ease !important;
    margin: 0 !important;
}
.vf-btn-pagar:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5) !important;
    background: linear-gradient(135deg, #2ae06a 0%, #1db854 100%) !important;
}

.vf-btn-hotmart {
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 9px 12px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35) !important;
    transition: all 0.22s ease !important;
    margin: 0 !important;
}
.vf-btn-hotmart:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.5) !important;
}
.vf-hotmart-content {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.vf-hotmart-flame {
    font-size: 1.15rem !important;
    color: #ffeb3b !important;
    filter: drop-shadow(0 0 5px rgba(255, 235, 59, 0.6)) !important;
}
.vf-hotmart-text-col {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
}
.vf-hotmart-main-title {
    font-size: 0.78rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.4px !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
}
.vf-hotmart-sub-title {
    font-size: 0.68rem !important;
    opacity: 0.9 !important;
    color: #ffccbc !important;
}

/* Fila Secundaria (Ficha, WhatsApp, Compartir) */
.vf-card-secondary-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr auto !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 2px !important;
}
.vf-btn-sec {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 7px 10px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #e2e8f0 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}
.vf-btn-sec:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}
body.light-mode .vf-btn-sec {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}
body.light-mode .vf-btn-sec:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}
.vf-btn-wsp {
    background: rgba(37, 211, 102, 0.12) !important;
    border-color: rgba(37, 211, 102, 0.35) !important;
    color: #25d366 !important;
}
.vf-btn-wsp:hover {
    background: #25d366 !important;
    color: #000 !important;
    border-color: #25d366 !important;
}
.vf-btn-share {
    width: 36px !important;
    padding: 0 !important;
}

/* Fila de Botones Admin (Editar / Borrar) */
.vf-card-admin-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    width: 100% !important;
    margin-top: 4px !important;
    padding-top: 6px !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.1) !important;
}
.vf-admin-btn {
    padding: 6px 10px !important;
    border-radius: 8px !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
}
.vf-admin-edit {
    background: rgba(59, 130, 246, 0.15) !important;
    border: 1px solid rgba(59, 130, 246, 0.35) !important;
    color: #60a5fa !important;
}
.vf-admin-edit:hover {
    background: #3b82f6 !important;
    color: #fff !important;
}
.vf-admin-del {
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    color: #ef4444 !important;
}
.vf-admin-del:hover {
    background: #ef4444 !important;
    color: #fff !important;
}

/* Breakpoints Responsivos */
@media (max-width: 1360px) {
    .grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 18px !important;
    }
}
@media (max-width: 960px) {
    .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        padding: 10px 16px 60px !important;
    }
}
@media (max-width: 620px) {
    .grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        padding: 10px 12px 50px !important;
    }
    .carousel {
        height: 230px !important;
    }
}

/* =========================================================
   MODALES INTERACTIVOS: PAGO DIRECTO, COMPARTIR Y EDICIÓN
   ========================================================= */
.pago-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.88) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
}

.pago-modal-overlay.active {
    display: flex !important;
}

.pago-modal-card {
    background: #0d1017 !important;
    border: 1px solid rgba(197, 160, 89, 0.45) !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 35px rgba(197, 160, 89, 0.25) !important;
    width: 100% !important;
    max-width: 660px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    padding: 24px !important;
    position: relative !important;
    color: #e2e8f0 !important;
    margin: auto !important;
    animation: vfModalFadeIn 0.22s ease-out !important;
    box-sizing: border-box !important;
}

@keyframes vfModalFadeIn {
    from { opacity: 0; transform: scale(0.96) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.pago-modal-close {
    position: absolute !important;
    top: 14px !important;
    right: 16px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
    font-size: 1.45rem !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    z-index: 10 !important;
    line-height: 1 !important;
}
.pago-modal-close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #fff !important;
    transform: rotate(90deg) !important;
}

.pago-grid-2col {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}

@media (max-width: 600px) {
    .pago-grid-2col {
        grid-template-columns: 1fr !important;
    }
    .pago-modal-card {
        padding: 16px !important;
        max-height: 94vh !important;
    }
}

/* ========================================================
   ESTILOS VIP: MARKETING, FLYER STUDIO & CAMPAÑA
   ======================================================== */
.vf-copy-box {
    background: rgba(14, 18, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.vf-copy-header {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.vf-btn-copy-chip {
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #fae29f;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.vf-btn-copy-chip:hover {
    background: var(--primary);
    color: #000;
}
.vf-copy-textarea {
    width: 100%;
    background: #090c14;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    padding: 14px;
    font-size: 0.84rem;
    font-family: inherit;
    line-height: 1.5;
    resize: vertical;
}
.vf-copy-textarea:focus {
    outline: none;
    background: #0d121f;
}

.vf-btn-format-select {
    background: #090b10;
    border: 1px solid #333;
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}
.vf-btn-format-select strong { display: block; font-size: 0.85rem; color: #fae29f; }
.vf-btn-format-select span { font-size: 0.72rem; color: #94a3b8; }
.vf-btn-format-select.active, .vf-btn-format-select:hover {
    border-color: var(--primary);
    background: rgba(197, 160, 89, 0.12);
}

/* Calendario de Campaña 14 días */
.vf-campana-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}
@media (max-width: 900px) {
    .vf-campana-calendar-grid { grid-template-columns: repeat(2, 1fr); }
}
.vf-day-card {
    background: rgba(15, 20, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px;
    font-size: 0.78rem;
    position: relative;
    transition: transform 0.2s ease;
}
.vf-day-card:hover { transform: translateY(-2px); border-color: rgba(197, 160, 89, 0.4); }
.vf-day-card.active { border-color: #22c55e; background: rgba(34, 197, 94, 0.08); }
.vf-day-card-num {
    font-weight: 800;
    color: #fae29f;
    font-size: 0.9rem;
    margin-bottom: 2px;
}
.vf-day-card-date { font-size: 0.68rem; color: #94a3b8; margin-bottom: 6px; display: block; }
.vf-day-card-task { color: #cbd5e1; line-height: 1.3; font-size: 0.72rem; }

/* Embudo de Conversión */
.vf-funnel-step { margin-bottom: 10px; }
.vf-funnel-bar {
    padding: 10px 14px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #fff;
    transition: width 0.6s ease;
}
