/* Fluent Forms → Danalynic design layer. */
.fluentform { --ff-primary-color: var(--dnl-blue); }

.fluentform .ff-el-group { margin-bottom: 1.15rem; }
.fluentform .ff-el-input--label label { color: #000000; font-weight: 600; font-size: .84rem; }

.fluentform .ff-el-form-control {
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid var(--dnl-border);
    border-radius: var(--dnl-radius-sm);
    background: white;
    color: #111111;
    font-family: inherit;
    box-shadow: none;
    transition: border-color var(--dnl-transition), box-shadow var(--dnl-transition);
}

.fluentform textarea.ff-el-form-control { min-height: 130px; }

.fluentform .ff-el-form-control:focus {
    border-color: var(--dnl-blue);
    box-shadow: 0 0 0 3px rgba(81,173,229,.14);
    outline: 0;
}

.fluentform .ff-btn-submit,
.fluentform button.ff-btn-submit {
    min-height: 50px;
    padding: 13px 22px;
    border: 0;
    border-radius: var(--dnl-radius-sm);
    background: var(--dnl-red);
    color: #000000;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

.fluentform .ff-btn-submit:hover { background: var(--dnl-red-deep); color: #000000; }
.fluentform .ff-message-success { border-color: var(--dnl-blue); border-radius: var(--dnl-radius-sm); background: var(--dnl-soft-blue); }
.fluentform .error.text-danger { color: #bb1d1d; }

/* Native Fluent Forms integration: the theme styles forms but does not render them. */
.dnl-form-slot,
.dnl-editor-only {
    display: none;
}

.editor-styles-wrapper .dnl-form-slot,
.editor-styles-wrapper .dnl-editor-only {
    display: block;
}

.editor-styles-wrapper .dnl-form-slot {
    padding: 22px;
    border: 2px dashed var(--dnl-blue);
    border-radius: var(--dnl-radius-sm);
    background: var(--dnl-soft-blue);
    color: #000000;
}

.editor-styles-wrapper .dnl-form-slot__label {
    margin: 0 0 6px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: #000000;
}

.editor-styles-wrapper .dnl-form-slot__help {
    margin: 0;
    color: #111111;
}

/* Keep native Fluent Forms output within the Danalynic form shell. */
.dnl-form-shell :where(.fluentform, .frm-fluent-form) {
    width: 100%;
    min-width: 0;
}
