/* =============================================================================
 * VisageTech - Custom Styles v2.0 (Modern)
 * 
 * Paleta oscura premium + Bootstrap 5 overrides.
 * Diseño moderno tipo Next.js/SPA con Alpine.js + HTMX
 * 
 * Autor: informaticadeguatemala.com
 * Fecha: 2026-05-21
 * Propósito: Estilos personalizados para la plataforma. Modificado el 2026-05-21
 *   para agregar estilos de modales y overlay con desenfoque de fondo y alto contraste.
 * Modificado 2026-05-25: Corregido color fallback del logo y documentado bug loading/carousel.
 * Modificado 2026-05-28: Autor: Ing. Walter Rodríguez. Propósito: Definición de .text-primary-bright,
 *   .btn-xs y .vt-btn-ghost-sm para asegurar visibilidad óptima de los iconos de acción en el catálogo.
 * @version 1.9.1
 * ============================================================================= */

/* ─── Alpine.js x-cloak ─────────────────────────────────────────────────── */
[x-cloak] { display: none !important; }

/* ─── CSS Custom Properties ─────────────────────────────────────────────── */
:root {
    --vt-ink: #020617;
    --vt-panel: #0f172a;
    --vt-panel-soft: #1e293b;
    --vt-primary: #9333ea;
    --vt-primary-bright: #c084fc;
    --vt-primary-glow: rgba(147, 51, 234, 0.3);
    --vt-rose: #ec4899;
    --vt-emerald: #10b981;
    --vt-amber: #f59e0b;
    --vt-red: #ef4444;
    --vt-text: #f8fafc;
    --vt-muted: #94a3b8;
    --vt-glass: rgba(15, 23, 42, 0.8);
    --vt-gradient: linear-gradient(135deg, #9333ea 0%, #ec4899 50%, #f59e0b 100%);
    --vt-gradient-subtle: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

/* ─── Base ──────────────────────────────────────────────────────────────── */
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--vt-ink);
    color: var(--vt-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─── Smooth Page Transitions (Alpine.js + HTMX) ───────────────────────── */
[data-transition] {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
[data-transition].loaded {
    opacity: 1;
    transform: translateY(0);
}

.htmx-swapping {
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* ─── Glassmorphism ─────────────────────────────────────────────────────── */
.glass {
    background: var(--vt-glass) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
}
.glass-card {
    background: var(--vt-glass) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(148, 163, 184, 0.08) !important;
    border-radius: 20px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
    border-color: rgba(147, 51, 234, 0.2) !important;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ─── Gradient Text ───────────────────────────────────────────────────── */
.gradient-text {
    /* IMPORTANTE (informaticadeguatemala.com | 2026-05-25):
     * El color:white es necesario como fallback visible en navegadores que no soporten
     * background-clip:text, y también garantiza que el texto se vea si la imagen del logo
     * u otro elemento solapante interfiere. Sin este fallback, el texto puede volverse
     * invisible contra fondos oscuros cuando background-clip falla o se mezcla con
     * elementos de posicionamiento absoluto. */
    color: white;
    background: var(--vt-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Glow Effects ──────────────────────────────────────────────────────── */
.glow {
    box-shadow: 0 0 20px var(--vt-primary-glow);
}
.glow-text {
    text-shadow: 0 0 20px var(--vt-primary-glow);
}
.glow-border {
    border-color: var(--vt-primary) !important;
    box-shadow: 0 0 15px var(--vt-primary-glow);
}

/* ─── Backgrounds ───────────────────────────────────────────────────────── */
.bg-ink { background-color: var(--vt-ink) !important; }
.bg-panel { background-color: var(--vt-panel) !important; }
.bg-panel-soft { background-color: var(--vt-panel-soft) !important; }
.bg-gradient-subtle { background: var(--vt-gradient-subtle) !important; }

/* ─── Animated Gradient Background ──────────────────────────────────────── */
.bg-animated {
    background: linear-gradient(-45deg, #020617, #0f172a, #1e1b4b, #0f172a);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ─── Hero Section ──────────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: hero-glow 8s ease-in-out infinite;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: hero-glow 8s ease-in-out infinite reverse;
}
@keyframes hero-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* ─── Floating Particles ────────────────────────────────────────────────── */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--vt-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}
.particle:nth-child(2) { left: 20%; animation-delay: 1s; width: 6px; height: 6px; }
.particle:nth-child(3) { left: 40%; animation-delay: 2s; }
.particle:nth-child(4) { left: 60%; animation-delay: 3s; width: 3px; height: 3px; }
.particle:nth-child(5) { left: 80%; animation-delay: 4s; width: 5px; height: 5px; }
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-20px) scale(1.5); opacity: 0.6; }
}

/* ─── Borders ───────────────────────────────────────────────────────────── */
.border-panel { border-color: rgba(148, 163, 184, 0.1) !important; }

/* ─── Text ──────────────────────────────────────────────────────────────── */
.text-primary { color: var(--vt-primary) !important; }
.text-muted { color: var(--vt-muted) !important; }
/* Autor: Ing. Walter Rodríguez | Fecha: 2026-05-28 */
/* Motivo: Utilidad para texto de color morado brillante (primary-bright) */
.text-primary-bright { color: var(--vt-primary-bright) !important; }

/* ─── Buttons Modernos ──────────────────────────────────────────────────── */
.btn {
    border-radius: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}
.btn-primary {
    background: var(--vt-gradient) !important;
    border: none !important;
    color: #fff !important;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--vt-primary-glow) !important;
}
.btn-outline-primary {
    border: 2px solid var(--vt-primary) !important;
    color: var(--vt-primary) !important;
    background: transparent !important;
}
.btn-outline-primary:hover {
    background: var(--vt-gradient) !important;
    color: #fff !important;
    border-color: transparent !important;
    transform: translateY(-2px);
}
.btn-outline-light { 
    border: 1px solid rgba(248, 250, 252, 0.2) !important; 
    color: var(--vt-text) !important; 
}
.btn-outline-light:hover { 
    background: rgba(248, 250, 252, 0.1) !important; 
    transform: translateY(-2px);
}
.btn-outline-danger { border-color: rgba(239, 68, 68, 0.3) !important; }
.btn-lg { padding: 0.8rem 2rem !important; border-radius: 14px !important; }
.btn-sm { border-radius: 10px !important; }

/* ─── Cards Modernas ────────────────────────────────────────────────────── */
.card {
    border-radius: 20px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.card.bg-panel { 
    background-color: var(--vt-panel) !important; 
    border: 1px solid rgba(148, 163, 184, 0.08) !important; 
}
.card.bg-panel:hover {
    border-color: rgba(147, 51, 234, 0.2) !important;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.card-img-top {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover .card-img-top {
    transform: scale(1.05);
}

/* ─── Navbar Moderno ────────────────────────────────────────────────────── */
.navbar {
    min-height: 64px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(2, 6, 23, 0.8) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08) !important;
}
.navbar-dark .navbar-nav .nav-link { 
    color: var(--vt-muted) !important; 
    padding: 0.5rem 1rem; 
    border-radius: 10px; 
    margin: 0 2px;
    transition: all 0.2s ease;
    font-weight: 500;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active { 
    color: var(--vt-text) !important; 
    background: rgba(148, 163, 184, 0.08);
}
.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

/* ─── Badges ────────────────────────────────────────────────────────────── */
.badge { 
    font-weight: 500; 
    letter-spacing: 0.3px; 
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
}

/* ─── Tables ────────────────────────────────────────────────────────────── */
.table-dark { 
    --bs-table-bg: var(--vt-panel); 
    --bs-table-hover-bg: var(--vt-panel-soft); 
    border-radius: 16px;
    overflow: hidden;
}
.table-dark th { 
    border-bottom-color: rgba(148, 163, 184, 0.15); 
    color: var(--vt-text); 
    font-weight: 600; 
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}
.table-dark td { border-color: rgba(148, 163, 184, 0.08); }

/* ─── Forms Modernos ────────────────────────────────────────────────────── */
.form-control, .form-select {
    background-color: var(--vt-panel-soft) !important;
    border: 1px solid rgba(148, 163, 184, 0.15) !important;
    color: var(--vt-text) !important;
    border-radius: 14px !important;
    min-height: 48px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--vt-primary) !important;
    box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.15) !important;
    transform: translateY(-1px);
}
.form-control::placeholder { color: var(--vt-muted); opacity: 0.6; }
.form-label { color: var(--vt-text); font-weight: 500; margin-bottom: 0.4rem; font-size: 0.9rem; }
.form-control-lg { min-height: 56px; font-size: 1.1rem; }

/* ─── Modals ────────────────────────────────────────────────────────────── */
.modal-content { 
    background-color: var(--vt-panel) !important; 
    border: 1px solid rgba(148, 163, 184, 0.1) !important; 
    border-radius: 24px !important; 
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.modal-header { border-bottom-color: rgba(148, 163, 184, 0.1) !important; }
.modal-footer { border-top-color: rgba(148, 163, 184, 0.1) !important; }
.btn-close { filter: invert(1) !important; }

/* =============================================================================
 * Autor: Ing. Walter Rodríguez
 * Fecha: 2026-05-21
 * Propósito: Estilos para Modales Personalizados y Overlay de fondos para vistas admin (Leads, Clientas).
 *   Proporciona interactividad, suavidad de transiciones y fondo oscuro con desenfoque
 *   para garantizar un contraste óptimo.
 * ============================================================================= */
.vt-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2, 6, 23, 0.85); /* Fondo oscuro con alto contraste */
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.vt-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}
.vt-modal {
    background: var(--vt-panel) !important;
    border: 1px solid rgba(148, 163, 184, 0.15) !important;
    border-radius: 24px !important;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6) !important;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.vt-modal-overlay.show .vt-modal {
    transform: translateY(0);
}
.vt-modal__header {
    padding: 1.25rem 1.5rem !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(148, 163, 184, 0.02) !important;
}
.vt-modal__body {
    padding: 1.5rem !important;
    overflow-y: auto;
    flex: 1;
}
.vt-modal__footer {
    padding: 1.25rem 1.5rem !important;
    border-top: 1px solid rgba(148, 163, 184, 0.1) !important;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    background: rgba(148, 163, 184, 0.02) !important;
}

/* =============================================================================
 * Autor: Ing. Walter Rodríguez
 * Fecha: 2026-05-21
 * Propósito: Estilos para Buscador Reactivo y Selección de Estado en vistas admin (Leads).
 *   Corrige y mejora el contraste, visualización y estilo de buscador e inputs.
 * ============================================================================= */
.vt-search-bar {
    position: relative;
    width: 100%;
}
.vt-search-bar i, .vt-search-bar__icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vt-muted);
    font-size: 0.9rem;
    pointer-events: none;
}
.vt-search-bar input, .vt-search-bar__input {
    width: 100%;
    background: var(--vt-panel-soft) !important;
    border: 1px solid rgba(148, 163, 184, 0.15) !important;
    border-radius: 14px !important;
    padding: 0.75rem 1rem 0.75rem 2.5rem !important;
    color: var(--vt-text) !important;
    outline: none;
    transition: all 0.3s ease;
    min-height: 48px;
    font-size: 0.875rem;
}
.vt-search-bar input:focus, .vt-search-bar__input:focus {
    border-color: var(--vt-primary) !important;
    box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.15) !important;
}
.vt-search-bar__clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vt-muted);
    cursor: pointer;
    transition: color 0.2s;
}
.vt-search-bar__clear:hover {
    color: var(--vt-text);
}
.vt-status-select {
    padding: 0.25rem 1.75rem 0.25rem 0.75rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    border: 1px solid !important;
    outline: none !important;
    cursor: pointer !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23c084fc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.5rem center !important;
    background-size: 10px 10px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* ─── Alerts ────────────────────────────────────────────────────────────── */
.alert { border-radius: 14px; border: none; }

/* ─── Dropdowns ─────────────────────────────────────────────────────────── */
.dropdown-menu-dark { 
    background-color: var(--vt-panel); 
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 0.5rem;
}
.dropdown-item { border-radius: 10px; padding: 0.6rem 1rem; }

/* ─── Line Clamp ────────────────────────────────────────────────────────── */
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ─── Responsive Tables ─────────────────────────────────────────────────── */
.table-responsive-stack {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ─── Admin Dashboard Cards ─────────────────────────────────────────────── */
.stat-card {
    padding: 1.5rem;
    border-radius: 20px;
    background: var(--vt-panel);
    border: 1px solid rgba(148, 163, 184, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--vt-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.stat-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(147, 51, 234, 0.2);
}
.stat-card:hover::before { opacity: 1; }
.stat-number { font-size: 2rem; font-weight: 700; line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--vt-muted); margin-top: 0.3rem; }

/* ─── Skeleton Loading ──────────────────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, var(--vt-panel-soft) 25%, rgba(148, 163, 184, 0.1) 50%, var(--vt-panel-soft) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 12px;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ─── Loading Spinner ───────────────────────────────────────────────────── */
.spinner-modern {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(147, 51, 234, 0.1);
    border-top-color: var(--vt-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Progress Bar ──────────────────────────────────────────────────────── */
.progress-modern {
    height: 4px;
    background: var(--vt-panel-soft);
    border-radius: 2px;
    overflow: hidden;
}
.progress-modern-bar {
    height: 100%;
    background: var(--vt-gradient);
    border-radius: 2px;
    transition: width 0.5s ease;
}

/* ─── Scrollbar ─────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--vt-ink); }
::-webkit-scrollbar-thumb { background: var(--vt-panel-soft); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--vt-muted); }

/* ─── Tooltip Moderno ───────────────────────────────────────────────────── */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: var(--vt-panel-soft);
    color: var(--vt-text);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}
[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px);
}

/* ─── Image Zoom on Hover ───────────────────────────────────────────────── */
.img-zoom {
    overflow: hidden;
    border-radius: 16px;
}
.img-zoom img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-zoom:hover img {
    transform: scale(1.08);
}

/* ─── Counter Animation ─────────────────────────────────────────────────── */
.counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 576px) {
    .display-4 { font-size: 2rem; }
    .stat-number { font-size: 1.5rem; }
    .card-body { padding: 1rem !important; }
    .hero-section { min-height: 60vh; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .display-4 { font-size: 2.5rem; }
}

/* =============================================================================
 * Autor: Ing. Walter Rodríguez
 * Fecha: 2026-05-11
 * Propósito: Componentes premium v2.1 — Navbar, Footer, WhatsApp FAB, Home Hero.
 * Replicados fielmente desde el proyecto Next.js original.
 * ============================================================================= */

/* ─── Top Bar de Anuncios ───────────────────────────────────────────────── */
.vt-topbar {
    background: var(--vt-primary);
    padding: 0.4rem 1rem;
    text-align: center;
    overflow: hidden;
}
.vt-topbar__text {
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    animation: pulse 2s ease-in-out infinite;
}

/* ─── Navbar Premium ────────────────────────────────────────────────────── */
.vt-navbar {
    min-height: 64px;
    background: rgba(2, 6, 23, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08) !important;
    transition: background 0.3s ease;
}
.vt-navbar--admin  { background: rgba(2, 6, 23, 0.95) !important; }
.vt-navbar--portal { background: rgba(15, 23, 42, 0.95) !important; }

/* ─── Brand / Logo ──────────────────────────────────────────────────────── */
.vt-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.vt-brand__logo {
    height: 40px; width: auto;
    transition: transform 0.3s ease;
}
.vt-brand:hover .vt-brand__logo { transform: rotate(12deg); }
.vt-brand__text { display: flex; flex-direction: column; line-height: 1; }
.vt-brand__name {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    /* IMPORTANTE (informaticadeguatemala.com | 2026-05-25):
     * Se agrega color:white explícito como base.
     * El logo (logo01.png) actualizado tiene fondo oscuro/transparente; sin este
     * color base el texto puede quedar invisible contra el navbar oscuro cuando
     * gradient-text no aplica correctamente (e.g. en Safari o si hay un elemento
     * padre con background-clip heredado). Ver también .gradient-text arriba. */
    color: white;
}
.vt-brand__sub {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--vt-muted);
    margin-top: 3px;
}

/* ─── Nav Links con indicador animado ──────────────────────────────────── */
.vt-nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 10px;
    color: var(--vt-muted) !important;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
}
.vt-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0.85rem;
    width: 0; height: 2px;
    background: var(--vt-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.vt-nav-link:hover,
.vt-nav-link.active {
    color: var(--vt-text) !important;
    background: rgba(148, 163, 184, 0.08);
}
.vt-nav-link:hover::after,
.vt-nav-link.active::after { width: calc(100% - 1.7rem); }
.vt-nav-link--sm { font-size: 0.8rem; padding: 0.35rem 0.7rem; }

/* ─── Botones Navbar ────────────────────────────────────────────────────── */
.vt-btn-ghost {
    border: 1px solid rgba(248, 250, 252, 0.15) !important;
    color: var(--vt-text) !important;
    background: transparent !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
}
.vt-btn-ghost:hover { background: rgba(248, 250, 252, 0.08) !important; }

/* Autor: Ing. Walter Rodríguez | Fecha: 2026-05-28 */
/* Motivo: Botón extra pequeño (xs) y botón ghost premium sm para acciones rápidas y visibles */
.btn-xs {
    padding: 0.2rem 0.4rem !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
}
.vt-btn-ghost-sm {
    border: 1px solid rgba(248, 250, 252, 0.12) !important;
    color: var(--vt-text) !important;
    background: rgba(248, 250, 252, 0.05) !important;
    border-radius: 8px !important;
    padding: 0.25rem 0.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}
.vt-btn-ghost-sm:hover {
    background: rgba(248, 250, 252, 0.1) !important;
    border-color: rgba(248, 250, 252, 0.3) !important;
    color: #fff !important;
}
.vt-btn-ghost-sm.text-primary-bright {
    color: var(--vt-primary-bright) !important;
}
.vt-btn-cta {
    background: var(--vt-gradient) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 0.4rem 1.2rem !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 20px var(--vt-primary-glow);
    transition: all 0.3s ease !important;
}
.vt-btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--vt-primary-glow) !important; }
.vt-btn-danger {
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #ef4444 !important;
    background: transparent !important;
    border-radius: 10px !important;
}
.vt-btn-danger:hover { background: rgba(239, 68, 68, 0.1) !important; }

/* ─── User Pill (admin/portal) ──────────────────────────────────────────── */
.vt-user-pill {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.3rem 0.75rem;
    background: rgba(148, 163, 184, 0.08);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}
.vt-badge-role {
    background: var(--vt-primary) !important;
    font-size: 0.6rem !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 6px !important;
}

/* ─── Dropdown Moderno ──────────────────────────────────────────────────── */
.vt-dropdown {
    background: var(--vt-panel) !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    border-radius: 16px !important;
    padding: 0.5rem !important;
    min-width: 200px;
}
.vt-dropdown .dropdown-item {
    border-radius: 10px;
    color: var(--vt-muted);
    padding: 0.6rem 1rem;
    transition: all 0.2s ease;
}
.vt-dropdown .dropdown-item:hover {
    background: rgba(147, 51, 234, 0.1) !important;
    color: var(--vt-text) !important;
}

/* ─── WhatsApp FAB ──────────────────────────────────────────────────────── */
.vt-whatsapp-fab {
    position: fixed;
    bottom: 28px; left: 28px;
    width: 56px; height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    z-index: 1040;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vt-whatsapp-fab:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.5);
    color: #fff;
}
.vt-whatsapp-fab__pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
    0%   { opacity: 0.8; transform: scale(1); }
    100% { opacity: 0;   transform: scale(1.6); }
}

/* ─── Footer Premium ────────────────────────────────────────────────────── */
.vt-footer {
    background: var(--vt-ink);
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    margin-top: auto;
}
.vt-footer__heading {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--vt-text);
    margin-bottom: 1.25rem;
}
.vt-footer__links { margin: 0; }
.vt-footer__links li { margin-bottom: 0.75rem; }
.vt-footer__links a {
    color: var(--vt-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}
.vt-footer__links a:hover { color: var(--vt-text); transform: translateX(4px); }
.vt-footer__admin-link {
    color: rgba(147, 51, 234, 0.7) !important;
    font-weight: 600;
    font-style: italic;
}
.vt-footer__admin-link:hover { color: var(--vt-primary) !important; }
.vt-footer__bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    padding: 1.5rem 0;
}
.vt-footer__bottom-link {
    color: var(--vt-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.vt-footer__bottom-link:hover { color: var(--vt-primary); }

/* ─── Social Buttons ────────────────────────────────────────────────────── */
.vt-social-btn {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.1);
    color: var(--vt-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.vt-social-btn:hover {
    background: var(--vt-primary);
    border-color: var(--vt-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--vt-primary-glow);
}
.vt-social-btn--whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* ─── Newsletter Form ───────────────────────────────────────────────────── */
.vt-newsletter-form__row {
    display: flex;
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.15);
}
.vt-newsletter-form__input {
    flex: 1;
    background: var(--vt-panel-soft);
    border: none;
    color: var(--vt-text);
    padding: 0.7rem 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    outline: none;
}
.vt-newsletter-form__input::placeholder { color: var(--vt-muted); opacity: 0.6; }
.vt-newsletter-form__btn {
    background: var(--vt-primary);
    color: #fff;
    border: none;
    padding: 0.7rem 1.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex; align-items: center; gap: 0.4rem;
}
.vt-newsletter-form__btn:hover { background: #7c22d4; }

/* ─── Version Badge ─────────────────────────────────────────────────────── */
.vt-version-badge {
    position: fixed;
    bottom: 8px; left: 72px;
    font-size: 0.625rem;
    font-family: monospace;
    color: rgba(148, 163, 184, 0.4);
    background: rgba(2, 6, 23, 0.5);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    z-index: 10;
    pointer-events: none;
    transition: color 0.2s ease;
}
.vt-version-badge:hover { color: rgba(148, 163, 184, 0.8); }

/* ─── Hero Premium (home.php) ───────────────────────────────────────────── */
.vt-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 6rem 0;
}
.vt-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}
.vt-hero__blob--1 {
    top: -10%; left: 20%;
    width: 600px; height: 600px;
    background: rgba(147, 51, 234, 0.12);
    animation: float 8s ease-in-out infinite;
}
.vt-hero__blob--2 {
    bottom: -10%; right: 15%;
    width: 500px; height: 500px;
    background: rgba(236, 72, 153, 0.1);
    animation: float-reverse 10s ease-in-out infinite;
}
.vt-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(147, 51, 234, 0.15);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--vt-primary-bright);
    margin-bottom: 1.5rem;
    animation: bounce-subtle 2s ease-in-out infinite;
}
.vt-hero__title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--vt-text);
    margin-bottom: 1.5rem;
}
.vt-hero__title .highlight {
    background: var(--vt-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}
.vt-hero__lead {
    font-size: 1.05rem;
    color: var(--vt-muted);
    font-weight: 600;
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.vt-hero__cta-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--vt-gradient) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 18px !important;
    padding: 1rem 2.5rem !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
    box-shadow: 0 20px 40px var(--vt-primary-glow);
    transition: all 0.3s ease !important;
    text-decoration: none;
}
.vt-hero__cta-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 30px 60px var(--vt-primary-glow) !important;
    color: #fff !important;
}
.vt-hero__cta-secondary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    background: rgba(15, 23, 42, 0.5) !important;
    color: var(--vt-text) !important;
    border-radius: 18px !important;
    padding: 1rem 2.5rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    text-decoration: none;
}
.vt-hero__cta-secondary:hover {
    background: rgba(148, 163, 184, 0.1) !important;
    transform: scale(1.05);
    color: var(--vt-text) !important;
}

/* ─── Trust Bar ─────────────────────────────────────────────────────────── */
.vt-trust-bar {
    background: var(--vt-panel);
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    padding: 1.25rem 0;
}
.vt-trust-item {
    display: flex; align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
}
.vt-trust-item i { font-size: 1.5rem; color: var(--vt-primary); flex-shrink: 0; }
.vt-trust-item p { font-size: 0.8rem; font-weight: 600; color: var(--vt-text); margin: 0; }

/* ─── Feature Cards ─────────────────────────────────────────────────────── */
.vt-feature-card {
    background: var(--vt-panel);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: 2.5rem;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.vt-feature-card:hover {
    border-color: rgba(147, 51, 234, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}
.vt-feature-card__icon {
    width: 64px; height: 64px;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 1.25rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* ─── Product Cards ─────────────────────────────────────────────────────── */
.vt-product-card {
    background: #111a2e; /* Un tono más claro que el fondo ink */
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.vt-product-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
    border-color: rgba(147, 51, 234, 0.2);
}
.vt-product-card__img {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--vt-panel-soft);
    position: relative;
}
.vt-product-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.vt-product-card:hover .vt-product-card__img img { transform: scale(1.1); }
.vt-product-card__badge {
    position: absolute;
    top: 1rem; right: 1rem;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    color: #fff;
}
.vt-product-card__body { padding: 1.5rem; }
.vt-product-card__brand {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--vt-primary);
    margin-bottom: 0.35rem;
}
.vt-product-card__name {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--vt-text);
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vt-product-card:hover .vt-product-card__name { color: var(--vt-primary-bright); }
.vt-product-card__desc {
    font-size: 0.8rem;
    color: var(--vt-muted);
    font-weight: 500;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vt-product-card__footer {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    padding-top: 1rem;
}
.vt-product-card__price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--vt-text);
}

/* ─── Testimonial Cards ─────────────────────────────────────────────────── */
.vt-testimonial-card {
    background: var(--vt-panel);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: 2.5rem;
    padding: 2.5rem;
    transition: border-color 0.3s ease;
}
.vt-testimonial-card:hover { border-color: rgba(147, 51, 234, 0.3); }
.vt-testimonial-card__quote {
    font-size: 2.5rem;
    color: rgba(147, 51, 234, 0.1);
    line-height: 1;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    font-family: Georgia, serif;
}
.vt-testimonial-card:hover .vt-testimonial-card__quote { color: rgba(147, 51, 234, 0.25); }
.vt-testimonial-card__text {
    color: var(--vt-muted);
    font-style: italic;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.vt-testimonial-card__footer {
    display: flex; align-items: center; gap: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    padding-top: 1.25rem;
}
.vt-testimonial-card__avatar {
    width: 48px; height: 48px;
    background: var(--vt-primary);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
}
.vt-testimonial-card__name {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--vt-text);
}
.vt-testimonial-card__clinic {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--vt-primary);
}

/* ─── Section Headers ───────────────────────────────────────────────────── */
.vt-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--vt-text);
    margin-bottom: 0.5rem;
}
.vt-section-sub {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--vt-muted);
}

/* ─── Stat Counters ─────────────────────────────────────────────────────── */
.vt-stat { display: flex; flex-direction: column; gap: 0.25rem; }
.vt-stat__number { font-size: 2.25rem; font-weight: 900; color: var(--vt-text); line-height: 1; }
.vt-stat__label  { font-size: 0.75rem; color: var(--vt-muted); font-weight: 500; }

/* ─── FAQ Accordion ─────────────────────────────────────────────────────── */
.vt-faq .accordion-item {
    background: var(--vt-panel) !important;
    border: 1px solid rgba(148, 163, 184, 0.08) !important;
    border-radius: 16px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.vt-faq .accordion-button {
    background: var(--vt-panel) !important;
    color: var(--vt-text) !important;
    font-weight: 700;
    box-shadow: none !important;
}
.vt-faq .accordion-button:not(.collapsed) { color: var(--vt-primary-bright) !important; }
.vt-faq .accordion-body {
    background: var(--vt-panel-soft) !important;
    color: var(--vt-muted);
    font-weight: 500;
}

/* =============================================================================
 * Autor: Ing. Walter Rodríguez
 * Fecha: 2026-05-11
 * Propósito: Admin Panel — Sidebar, KPI Cards, Alert Panels, Alert Rows.
 * Migrado del layout.tsx + dashboard/page.tsx de Next.js original.
 * ============================================================================= */

/* ─── Admin Layout (Sidebar + Main) ────────────────────────────────────── */
.vt-admin-layout {
    display: flex;
    min-height: calc(100vh - 64px); /* descuenta la navbar */
}

/* ─── Sidebar ────────────────────────────────────────────────────────────── */
.vt-sidebar {
    width: 256px;
    flex-shrink: 0;
    background: #0a0f1e;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 64px);
    position: sticky;
    top: 64px; /* altura del navbar */
    overflow-y: auto;
    border-right: 1px solid rgba(148, 163, 184, 0.06);
    transition: width 0.3s ease;
}
.sidebar-collapsed .vt-sidebar {
    width: 80px;
}
.vt-sidebar__brand {
    padding: 2rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.vt-sidebar__subbrand {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--vt-muted);
}
.vt-sidebar__nav {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.vt-sidebar__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: var(--vt-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.sidebar-collapsed .vt-sidebar__item {
    justify-content: center;
    padding: 0.75rem 0;
}
.sidebar-collapsed .vt-sidebar__logout {
    justify-content: center;
}
.sidebar-collapsed .vt-sidebar__brand {
    padding: 2rem 1rem;
    flex-direction: column;
    gap: 1rem;
}
.vt-sidebar__item i { font-size: 1.1rem; flex-shrink: 0; }
.vt-sidebar__item:hover {
    background: rgba(148, 163, 184, 0.08);
    color: var(--vt-text);
}
.vt-sidebar__item.active {
    background: rgba(147, 51, 234, 0.15);
    color: var(--vt-primary-bright);
}
.vt-sidebar__item.active i { color: var(--vt-primary); }
.vt-sidebar__footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.vt-sidebar__logout {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--vt-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.vt-sidebar__logout:hover { color: var(--vt-text); }
.vt-sidebar__version {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.vt-sidebar__version span {
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: rgba(148, 163, 184, 0.3);
    text-transform: uppercase;
}
.vt-sidebar__version strong {
    font-size: 0.75rem;
    color: var(--vt-muted);
}

/* ─── Admin Main Area ────────────────────────────────────────────────────── */
.vt-admin-main {
    flex: 1;
    padding: 2rem;
    overflow-x: hidden;
    max-width: calc(100vw - 256px);
    transition: max-width 0.3s ease;
}
.sidebar-collapsed .vt-admin-main {
    max-width: calc(100vw - 80px);
}
.vt-admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.vt-admin-page-title {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--vt-text);
    margin: 0;
}
.vt-admin-page-sub {
    color: var(--vt-muted);
    font-size: 0.875rem;
    margin: 0.25rem 0 0;
}

/* ─── KPI Cards ──────────────────────────────────────────────────────────── */
.vt-kpi-card {
    background: var(--vt-panel);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.vt-kpi-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--vt-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.vt-kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(147, 51, 234, 0.2);
}
.vt-kpi-card:hover::before { opacity: 1; }
.vt-kpi-card__icon {
    width: 44px; height: 44px;
    background: rgba(var(--kpi-color, 147 51 234) / 0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    background: color-mix(in srgb, var(--kpi-color, #9333ea) 10%, transparent);
}
.vt-kpi-card__label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--vt-muted);
    margin: 0 0 0.25rem;
}
.vt-kpi-card__value {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--vt-text);
    margin: 0 0 0.25rem;
    line-height: 1.1;
}
.vt-kpi-card__sub {
    font-size: 0.65rem;
    color: var(--vt-muted);
    margin: 0;
}

/* ─── Alert Chips ────────────────────────────────────────────────────────── */
.vt-alert-chip {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    background: var(--vt-panel);
    border: 1px solid rgba(148, 163, 184, 0.08);
    transition: all 0.2s ease;
}
.vt-alert-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.vt-alert-chip__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.vt-alert-chip__num {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    margin: 0;
}
.vt-alert-chip__label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

/* ─── Admin Panels ───────────────────────────────────────────────────────── */
.vt-admin-panel {
    background: var(--vt-panel);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}
.vt-admin-panel--amber { border-color: rgba(245, 158, 11, 0.2); }
.vt-admin-panel--red   { border-color: rgba(239, 68, 68, 0.2); }
.vt-admin-panel__header {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--vt-text);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(148, 163, 184, 0.03);
}
.vt-admin-panel--amber .vt-admin-panel__header {
    background: rgba(245, 158, 11, 0.06);
    color: #fbbf24;
    border-bottom-color: rgba(245, 158, 11, 0.15);
}
.vt-admin-panel--red .vt-admin-panel__header {
    background: rgba(239, 68, 68, 0.06);
    color: #f87171;
    border-bottom-color: rgba(239, 68, 68, 0.15);
}
.vt-admin-panel__body { padding: 0.75rem; }

/* ─── Alert Rows ─────────────────────────────────────────────────────────── */
.vt-alert-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.75rem;
    border-radius: 12px;
    transition: background 0.2s ease;
}
.vt-alert-row:hover { background: rgba(148, 163, 184, 0.05); }
.vt-alert-row__name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--vt-text);
    margin: 0 0 0.1rem;
}
.vt-alert-row__detail {
    font-size: 0.75rem;
    color: var(--vt-muted);
    margin: 0;
}

/* ─── Badges Admin ───────────────────────────────────────────────────────── */
.vt-badge-amber {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
    border: none !important;
    font-size: 0.6rem !important;
    font-weight: 700 !important;
}
.vt-badge-red {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #f87171 !important;
    border: none !important;
    font-size: 0.6rem !important;
    font-weight: 700 !important;
}

/* ─── WhatsApp inline button ─────────────────────────────────────────────── */
.vt-btn-wa {
    background: rgba(37, 211, 102, 0.1) !important;
    border: 1px solid rgba(37, 211, 102, 0.3) !important;
    color: #25d366 !important;
    border-radius: 8px !important;
    padding: 0.25rem 0.6rem !important;
    font-size: 0.9rem !important;
}
.vt-btn-wa:hover {
    background: rgba(37, 211, 102, 0.2) !important;
    color: #25d366 !important;
}

/* ─── Responsive Sidebar (collapse en móvil) ─────────────────────────────── */
@media (max-width: 991px) {
    .vt-sidebar {
        display: none;
    }
    .vt-admin-main {
        max-width: 100vw;
        padding: 1rem;
    }
    .vt-admin-layout { display: block; }
}