/**
 * ========================================
 * SISTEMA DE ESTILOS CENTRALIZADO - TOURS
 * ========================================
 * Estilos globales para todas las páginas de tour/onboarding
 * Actualizado: 31 de octubre de 2025
 */

/* ==================== VARIABLES CSS ==================== */
:root {
    /* Paleta de colores principal */
    --color-primary: #6366f1;          /* Indigo */
    --color-secondary: #0ea5e9;        /* Azul Cielo */
    --color-accent: #8b5cf6;           /* Violeta */
    --color-success: #10b981;          /* Verde Esmeralda */
    --color-warning: #f59e0b;          /* Ámbar */
    --color-danger: #ef4444;           /* Rojo */
    --color-info: #3b82f6;             /* Azul */
    
    /* Colores de fondo */
    --color-bg-dark: #0f172a;          /* Azul Oscuro (Slate 900) */
    --color-bg-medium: #1e293b;        /* Azul Grisáceo Oscuro (Slate 800) */
    --color-bg-light: #334155;         /* Slate 700 */
    --color-bg-card: #1e293b;          /* Para tarjetas */
    --color-bg-overlay: rgba(15, 23, 42, 0.95); /* Overlay con transparencia */
    
    /* Colores de texto */
    --color-text-light: #f8fafc;       /* Blanco Azulado (Slate 50) */
    --color-text-medium: #cbd5e1;      /* Gris Azulado (Slate 300) */
    --color-text-muted: #94a3b8;       /* Slate 400 */
    
    /* Bordes y sombras */
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-light: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.5);
    
    /* Bordes redondeados */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Espaciado */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    
    /* Transiciones */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index layers */
    --z-base: 1;
    --z-elevated: 10;
    --z-overlay: 100;
    --z-modal: 1000;
    --z-tooltip: 2000;
}

/* ==================== RESET Y BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    text-size-adjust: none;
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Clase de accesibilidad - oculta visualmente pero mantiene para screen readers */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-medium) 100%);
    color: var(--color-text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== CONTENEDOR PRINCIPAL ==================== */
.tour-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==================== OVERLAY DE FONDO ==================== */
.tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-overlay);
    z-index: var(--z-overlay);
    animation: fadeIn var(--transition-slow);
}

/* ==================== MODAL/SLIDE PRINCIPAL ==================== */
.tour-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    z-index: var(--z-modal);
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideInScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==================== CABECERA DEL TOUR ==================== */
.tour-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--color-bg-medium), var(--color-bg-light));
}

.tour-header-content {
    flex: 1;
}

.tour-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.tour-header h2 i {
    font-size: 2rem;
}

.tour-header p {
    color: var(--color-text-medium);
    font-size: 0.95rem;
}

.tour-close-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.tour-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--color-danger);
    color: var(--color-danger);
    transform: rotate(90deg);
}

/* ==================== CUERPO DEL TOUR ==================== */
.tour-body {
    padding: var(--spacing-xl);
    overflow-y: auto;
    flex: 1;
}

/* Scrollbar personalizado */
.tour-body::-webkit-scrollbar {
    width: 8px;
}

.tour-body::-webkit-scrollbar-track {
    background: var(--color-bg-medium);
}

.tour-body::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

.tour-body::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

/* ==================== SLIDES/SECCIONES ==================== */
.tour-slide {
    display: none;
    animation: fadeInUp 0.4s ease-out;
}

.tour-slide.active {
    display: block;
}

.tour-slide h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.tour-slide h3 i {
    color: var(--color-primary);
}

.tour-slide p {
    color: var(--color-text-medium);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

/* ==================== TARJETAS DE CARACTERÍSTICAS ==================== */
.tour-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.tour-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.tour-feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tour-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.8rem;
    color: white;
}

.tour-feature-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
}

.tour-feature-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ==================== LISTA DE PASOS ==================== */
.tour-steps-list {
    list-style: none;
    counter-reset: step-counter;
    margin: var(--spacing-lg) 0;
}

.tour-step-item {
    counter-increment: step-counter;
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-primary);
    transition: all var(--transition-normal);
}

.tour-step-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
}

.tour-step-number {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.tour-step-number::before {
    content: counter(step-counter);
}

.tour-step-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xs);
}

.tour-step-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ==================== BADGES/ETIQUETAS ==================== */
.tour-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.tour-badge-info {
    background: rgba(59, 130, 246, 0.15);
    color: var(--color-info);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.tour-badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--color-warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ==================== IMÁGENES Y MULTIMEDIA ==================== */
.tour-image-container {
    margin: var(--spacing-xl) 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.tour-image {
    width: 100%;
    height: auto;
    display: block;
}

.tour-video-container {
    position: relative;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin: var(--spacing-xl) 0;
}

.tour-video-container iframe,
.tour-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==================== PIE DEL TOUR ==================== */
.tour-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    background: var(--color-bg-medium);
}

.tour-progress {
    flex: 1;
}

.tour-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--spacing-xs);
}

.tour-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
}

.tour-progress-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
}

.tour-navigation {
    display: flex;
    gap: var(--spacing-sm);
}

/* ==================== BOTONES ==================== */
.tour-btn {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.tour-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tour-btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    box-shadow: var(--shadow-md);
}

.tour-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.tour-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.tour-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
}

.tour-btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-border-light);
}

.tour-btn-success {
    background: var(--color-success);
    color: white;
    box-shadow: var(--shadow-md);
}

.tour-btn-success:hover:not(:disabled) {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==================== ALERTAS/CALLOUTS ==================== */
.tour-alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 4px solid;
    margin: var(--spacing-lg) 0;
    display: flex;
    gap: var(--spacing-md);
}

.tour-alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tour-alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--color-info);
    color: var(--color-text-light);
}

.tour-alert-info .tour-alert-icon {
    color: var(--color-info);
}

.tour-alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--color-success);
    color: var(--color-text-light);
}

.tour-alert-success .tour-alert-icon {
    color: var(--color-success);
}

.tour-alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--color-warning);
    color: var(--color-text-light);
}

.tour-alert-warning .tour-alert-icon {
    color: var(--color-warning);
}

/* ==================== ANIMACIONES ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .tour-container {
        padding: var(--spacing-md);
    }
    
    .tour-modal {
        width: 95%;
        max-height: 90vh;
    }
    
    .tour-header {
        padding: var(--spacing-md);
    }
    
    .tour-header h2 {
        font-size: 1.4rem;
    }
    
    .tour-body {
        padding: var(--spacing-lg);
    }
    
    .tour-features {
        grid-template-columns: 1fr;
    }
    
    .tour-footer {
        flex-direction: column;
        padding: var(--spacing-md);
    }
    
    .tour-navigation {
        width: 100%;
        flex-direction: column;
    }
    
    .tour-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .tour-header h2 {
        font-size: 1.25rem;
    }
    
    .tour-slide h3 {
        font-size: 1.25rem;
    }
    
    .tour-body {
        padding: var(--spacing-md);
    }
    
    .tour-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ==================== MODAL OVERLAY MODERNO (PARA INDEX.PHP) ==================== */
.tour-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 9999;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(3px);
    pointer-events: none;
}

.tour-modal-overlay.tour-modal-active {
    opacity: 1;
    pointer-events: all;
}

/* Contenedor tipo drawer/slide lateral - Estilo Canvas/Notion */
.tour-modal-container {
    background: #ffffff;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 920px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tour-modal-overlay.tour-modal-active .tour-modal-container {
    transform: translateX(0);
}

/* Sin decoración - diseño limpio tipo Canvas */

/* Header tipo Canvas - limpio y compacto */
.tour-modal-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
    gap: 16px;
}

.tour-modal-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    flex: 1;
}

/* Controles del header - solo progreso + cerrar */
.tour-header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: flex-end;
}

/* Botones de navegación profesionales tipo LMS */
.tour-nav-btn {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 0.875rem;
    padding: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.tour-nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.tour-nav-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.tour-nav-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.tour-nav-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tour-nav-btn:focus {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.tour-nav-btn:focus:not(:focus-visible) {
    outline: none;
}

.tour-nav-btn i {
    position: relative;
    z-index: 1;
}

.tour-nav-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-color: #4f46e5;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.tour-nav-btn-primary::before {
    background: rgba(255, 255, 255, 0.2);
}

.tour-nav-btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    border-color: #4338ca;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
    transform: translateY(-2px);
}

.tour-nav-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.25);
}

.tour-nav-btn-primary:focus {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

/* Botón cerrar profesional */
.tour-close-btn {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 0.95rem;
    padding: 0;
    margin-left: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.tour-close-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.tour-close-btn:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.15);
    transform: translateY(-1px);
}

.tour-close-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.tour-close-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(239, 68, 68, 0.1);
}

.tour-close-btn:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

.tour-close-btn:focus:not(:focus-visible) {
    outline: none;
}

.tour-close-btn i {
    position: relative;
    z-index: 1;
}

.tour-modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding: 0;
    background: #ffffff;
}

/* Scrollbar minimalista tipo Canvas */
.tour-modal-body::-webkit-scrollbar {
    width: 6px;
}

.tour-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.tour-modal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

.tour-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

.tour-modal-iframe {
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 250px);
    border: none;
    display: block;
    transition: all var(--transition-normal);
    background: transparent;
}

/* Footer moderno con indicadores de progreso */
/* Indicadores de progreso (puntos) - profesionales tipo LMS */
.tour-progress-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 4px;
}

.tour-progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 2px solid #f1f5f9;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    padding: 0;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}

.tour-progress-dot:focus {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.tour-progress-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #6366f1;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-progress-dot.active {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-color: #6366f1;
    width: 28px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.tour-progress-dot:hover:not(.active) {
    background: #cbd5e1;
    border-color: #e2e8f0;
    transform: scale(1.2);
}

.tour-progress-dot:hover:not(.active)::after {
    transform: translate(-50%, -50%) scale(0.5);
}

.tour-progress-dot:active {
    transform: scale(0.95);
}

/* Estilos antiguos eliminados - navegación ahora en header */

/* Responsive para modal */
@media (max-width: 1024px) {
    .tour-modal-container {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .tour-modal-container {
        max-width: 100%;
        width: 100%;
    }
    
    .tour-modal-header {
        padding: 12px 16px;
    }
    
    .tour-modal-header h3 {
        font-size: 1rem;
    }
    
    .tour-header-controls {
        gap: 8px;
    }
    
    .tour-nav-btn,
    .tour-close-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .tour-progress-dot {
        width: 6px;
        height: 6px;
    }
    
    .tour-progress-dot.active {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .tour-modal-header h3 {
        font-size: 0.95rem;
    }
    
    .tour-header-controls {
        gap: 6px;
    }
    
    .tour-nav-btn,
    .tour-close-btn {
        width: 28px;
        height: 28px;
    }
}

/* ==================== UTILIDADES ==================== */
.tour-text-center {
    text-align: center;
}

.tour-text-muted {
    color: var(--color-text-muted);
}

.tour-mt-sm { margin-top: var(--spacing-sm); }
.tour-mt-md { margin-top: var(--spacing-md); }
.tour-mt-lg { margin-top: var(--spacing-lg); }
.tour-mt-xl { margin-top: var(--spacing-xl); }

.tour-mb-sm { margin-bottom: var(--spacing-sm); }
.tour-mb-md { margin-bottom: var(--spacing-md); }
.tour-mb-lg { margin-bottom: var(--spacing-lg); }
.tour-mb-xl { margin-bottom: var(--spacing-xl); }

.tour-hidden {
    display: none !important;
}

.tour-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-gap-sm { gap: var(--spacing-sm); }
.tour-gap-md { gap: var(--spacing-md); }
.tour-gap-lg { gap: var(--spacing-lg); }
