.fluentform {
    --fluentform-danger: #e81745;
    --fluentform-primary: var(--wp--custom--color--accent);
    --fluentform-secondary: var(--wp--custom--color--false-black);
    --fluentform-border-color: var(--wp--custom--color--library-gray-200);
    --fluentform-border-radius: var(--wp--custom--radius-s);
}

.ff-default .ff-el-form-control {
    font-family: var(--wp--custom--color--text);
    font-size: var(--wp--preset--font-size--s);
}

/* Inttel */

.fluentform form.frm-fluent-form .iti__selected-flag {
    border-bottom-left-radius: var(--input-border-radius);
    border-top-left-radius: var(--input-border-radius);
    background: var(--background-2);
    transition: all 0.3s;
}

.iti__country-list {
    min-width: 240px;
}

/* Sections */

.ff-el-section-break h3 {
    margin-top: 1em;
}

.ff-el-section-break .ff-section_break_desk:not(:empty) {
    margin-bottom: 0.5em;
    font-weight: 600;
    color: var(--text-50);
}

.ff-el-section-break hr {
    margin-top: 0;
}

.ff-custom_html hr {
    margin: var(--spacing-10) 0;
}

/* Elements */

.ff-el-input--label label {
    font-weight: 600;
    font-size: var(--wp--preset--font-size--s);
}

.ff-el-section-break hr {
    background-color: var(--wp--custom--color--border-dark)
}

/* Form + Message Styles */
 
 .fluentform .ff-message-success,
 .fluentform form .ff-message-success,
 .fluentform form .ff-errors-in-stack,
 .fluentform .ff-el-group .ff-el-tc, 
 .subscription-warning {
     padding: var(--wp--custom--spacer-fluid-s);
     border-radius: var(--wp--custom--radius-s);
     box-shadow: 0 2px 2px 0px rgba(0, 0, 0, 0.05);
     border: 1px solid var(--wp--custom--color--border-dark);
     display: block;
 }

 .fluentform .ff-message-success p,
 .fluentform form .ff-message-success p,
 .fluentform form .ff-errors-in-stack p,
 .fluentform .ff-el-group .ff-el-tc p, 
 .subscription-warning p {
    margin: 0;
 }
 
 .fluentform .ff-el-group .ff-el-tc label.ff_tc_label > span {
     padding-top: 0 !important;
 }
 
 .fluentform .ff-el-group.ff-el-is-error .ff-el-tc {
     border-color: var(--wp--custom--color--error-content);
 }
 
 .fluentform .ff-message-success,
 .fluentform form .ff-message-success {
     background-color: var(--wp--custom--color--success-background);
     border-color: var(--wp--custom--color--success-content);
     margin-top: var(--wp--custom--spacer-fluid-s);
 }
 
 .ff-message-success .ff-message-success {
     margin: 0;
     border: 0;
     box-shadow: none;
     padding: 0;
 }
 
 .fluentform form .ff-errors-in-stack,
 .subscription-warning {
     background-color: var(--wp--custom--color--error-background);
     border: 1px solid var(--wp--custom--color--error-content);
 } 
 

/* Drop Zone */

.fluentform .ff-dropzone {
    margin-bottom: 0;
}

.fluentform .ff-dropzone .ff_upload_btn.ff-btn {
    border-color: var(--wp--custom--color--theme-500);
    background: #2ea85417;
}

.fluentform .ff-dropzone .ff_upload_btn.ff-btn:hover {
    background: #2ea85429;
}

.fluentform .ff-upload-details {
    background-color: var(--wp--custom--color--shade-white);
}