/* Estilos para el Tour Guiado */

/* Diálogo de bienvenida */
.tour-welcome-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.tour-welcome-content {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.tour-icon {
    font-size: 4em;
    margin-bottom: 15px;
}

.tour-welcome-content h2 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.tour-welcome-content p {
    color: #6c757d;
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 10px;
}

.tour-welcome-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.tour-welcome-buttons .btn {
    padding: 10px 20px;
    font-size: 1em;
    min-width: 140px;
}

.tour-checkbox {
    margin-top: 20px;
    display: block;
    font-size: 0.85em;
    color: #6c757d;
    cursor: pointer;
}

.tour-checkbox input {
    margin-right: 5px;
}

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

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

/* Personalización de Intro.js */
.introjs-tooltip {
    min-width: 300px;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.introjs-tooltiptext {
    padding: 15px;
    font-size: 0.95em;
    line-height: 1.5;
}

.introjs-tooltiptext h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #667eea;
    font-size: 1.2em;
}

.introjs-tooltiptext ul {
    margin: 8px 0;
    padding-left: 20px;
}

.introjs-tooltiptext li {
    margin: 5px 0;
}

.introjs-tooltiptext em {
    color: #667eea;
    font-style: normal;
    font-weight: 500;
}

.tour-step-intro {
    text-align: center;
}

.tour-step-intro h2 {
    color: #667eea;
    margin-bottom: 15px;
}

.tour-step-intro ol {
    text-align: left;
    margin: 15px auto;
    max-width: 300px;
}

.introjs-button {
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.introjs-button:hover {
    transform: translateY(-2px);
}

.introjs-nextbutton {
    background: #667eea;
    border: none;
    color: white;
}

.introjs-nextbutton:hover {
    background: #5a67d8;
}

.introjs-prevbutton {
    background: #6c757d;
    border: none;
    color: white;
}

.introjs-prevbutton:hover {
    background: #545b62;
}

.introjs-skipbutton {
    color: #6c757d;
}

.introjs-donebutton {
    background: #28a745;
    border: none;
    color: white;
}

.introjs-donebutton:hover {
    background: #218838;
}

.introjs-helperLayer {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid #667eea;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.introjs-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.introjs-progressbar {
    background: #667eea;
}

/* Responsive */
@media (max-width: 768px) {
    .tour-welcome-content {
        padding: 30px 20px;
    }
    
    .tour-welcome-content h2 {
        font-size: 1.5em;
    }
    
    .tour-welcome-buttons {
        flex-direction: column;
    }
    
    .tour-welcome-buttons .btn {
        width: 100%;
    }
    
    .introjs-tooltip {
        min-width: 90%;
        max-width: 95%;
    }
}