/**
 * ESTILOS FRONTEND PARA BOTÓN FLUJO
 * Archivo: includes/boton-flujo-frontend.css
 */

.lfclms2-boton-flujo-wrapper {
    display: inline-block;
    width: 100%;
}

/* SOLO efectos de interacción - NO TOCAR colores */
.lfclms2-boton-flujo-abrir-modal {
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.lfclms2-boton-flujo-abrir-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.lfclms2-boton-flujo-abrir-modal:active {
    transform: translateY(0);
}

/* NO incluir border, background, color - eso viene de Gutenberg */

/* MODAL FLOTANTE */
.lfclms2-modal-flujo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lfclms2FadeIn 0.2s ease;
}

.lfclms2-modal-flujo-contenedor {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    animation: lfclms2SlideUp 0.3s ease;
}

.lfclms2-modal-flujo-body {
    padding: 30px;
}

.lfclms2-modal-flujo-loader {
    text-align: center;
    padding: 60px;
    color: #999;
    font-size: 16px;
}

.lfclms2-modal-flujo-loader div {
    font-size: 40px;
    margin-bottom: 15px;
    animation: lfclms2Girar 1s infinite;
}

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

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

@keyframes lfclms2Girar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .lfclms2-modal-flujo-contenedor {
        width: 95%;
        max-height: 95vh;
    }
    
    .lfclms2-modal-flujo-body {
        padding: 20px;
    }
}