/*
 * forms.css - Fluent Forms overrides.
 *
 * The !important flags are not decoration: Fluent Forms ships its own
 * stylesheet and loads it after the theme, so plain rules lose.
 */

/* ==========================================================================
   SUBMIT BUTTON
   ========================================================================== */

.fluentform .ff-btn-submit {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 50px !important;
    background-color: var(--color-acento) !important;
    color: var(--color-fondo) !important;
    padding: 16px 36px !important;
    font-size: 20px !important;
    font-family: var(--fuente-principal) !important;
    font-weight: bold !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
}

.fluentform .ff-btn-submit:hover {
    background-color: var(--color-primario) !important;
    transform: translateY(-2px) !important;
    opacity: 1 !important;
}

.fluentform .ff-submit-btn-wrapper {
    margin-top: 15px !important;
}

/* ==========================================================================
   MULTI-STEP BUTTONS (previous / next)
   ========================================================================== */

body .fluentform .ff-btn-next,
body .fluentform .ff-btn-prev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-acento) !important;
    color: var(--color-fondo);
    padding: 14px 32px;
    font-size: inherit;
    font-family: var(--fuente-principal);
    font-weight: bold;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

body .fluentform .ff-btn-next:hover,
body .fluentform .ff-btn-prev:hover {
    background-color: var(--color-primario) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 768px) {
    body .fluentform .ff-btn-submit,
    body .fluentform .ff-btn-next,
    body .fluentform .ff-btn-prev {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
        padding: 14px 28px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 12px !important;
    }

    body .fluentform .ff-el-group.ff_uploads,
    body .fluentform .ff-submit-btn-wrapper {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    body .fluentform .ff-btn-submit {
        margin-bottom: 0 !important;
    }
}
