/* Estilos personalizados para Driver.js en LoteRifas */

/* Overlay con z-index alto para estar por encima de todo */
.driver-overlay {
    z-index: 10001 !important;
}

/* Popover del tutorial */
.driver-popover {
    z-index: 10002 !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Botón flotante para activar tutorial */
#tutorial-trigger-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#tutorial-trigger-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

#tutorial-trigger-btn i {
    font-size: 24px;
}

/* Personalizar colores del popover para que coincidan con LoteRifas */
.driver-popover-title {
    font-weight: 700;
    font-size: 18px;
    color: #333;
}

.driver-popover-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Botones del tutorial */
.driver-popover-next-btn,
.driver-popover-prev-btn,
.driver-popover-close-btn {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.driver-popover-next-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.driver-popover-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.driver-popover-prev-btn {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.driver-popover-prev-btn:hover {
    background: #e0e0e0;
}

.driver-popover-close-btn {
    color: #999;
}

.driver-popover-close-btn:hover {
    color: #333;
}

/* Barra de progreso */
.driver-popover-progress-text {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

/* Elemento resaltado */
.driver-active-element {
    outline: 3px solid #667eea !important;
    outline-offset: 3px;
}

/* Responsive - ajustar botón flotante en móviles */
@media (max-width: 768px) {
    #tutorial-trigger-btn {
        bottom: 80px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .driver-popover {
        max-width: 90vw;
    }
}
