:root {
    --srfm-font-size: 16px;
    --srfm-error-color: #dc2626;
    --srfm-error-color-border: rgba(220, 38, 38, 0.65);
    --srfm-error-color-border-glow: rgba(220, 38, 38, 0.15);
    --srfm-column-gap-between-blocks: 16px;
    --srfm-dropdown-font-weight: 400;
    --srfm-dropdown-badge-gap: 6px;
    --srfm-dropdown-badge-icon-gap: 6px;
    --srfm-dropdown-menu-padding: 6px;
    --srfm-dropdown-menu-icon-gap: 8px;
    --srfm-dropdown-option-padding: 8px 12px;
    --srfm-dropdown-badge-delete-icon: var(--srfm-error-color-border, #dc2626);
    --srfm-expandable-menu-background: #ffffff;
    --srfm-input-field-border-radius: 6px;
    --srfm-input-field-font-weight: 400;
    --srfm-checkbox-description-margin-left: 24px;
    --srfm-checkbox-input-border-radius: 4px;
    --srfm-check-svg-top: 2px;
    --srfm-check-svg-left: 2px;
    --srfm-flag-section-padding: 10px 0 10px 12px;
    --srfm-gap-between-icon-text: 8px;
    --srfm-label-font-weight: 500;
    --srfm-description-font-weight: 400;
    --srfm-description-margin-top: 2px;
    --srfm-error-font-size: 12px;
    --srfm-error-font-weight: 500;
    --srfm-error-line-height: 16px;
    --srfm-btn-border-radius: 6px;
    --srfm-btn-font-weight: 500;
    --srfm-multi-choice-horizontal-svg-size: 16px;
    --srfm-page-break-indicator-size: 24px
}

.srfm-form-container {
    position: relative;
    padding: 0;
    padding-top: var(--srfm-form-padding-top, 0);
    padding-right: var(--srfm-form-padding-right, 0);
    padding-bottom: var(--srfm-form-padding-bottom, 0);
    padding-left: var(--srfm-form-padding-left, 0);
    border-top-left-radius: var(--srfm-form-border-radius-top, 0);
    border-top-right-radius: var(--srfm-form-border-radius-right, 0);
    border-bottom-right-radius: var(--srfm-form-border-radius-bottom, 0);
    border-bottom-left-radius: var(--srfm-form-border-radius-left, 0)
}

.srfm-form-container.srfm-bg-color {
    background: var(--srfm-bg-color)
}

.srfm-form-container.srfm-bg-image {
    background-image: var(--srfm-bg-image);
    background-position: var(--srfm-bg-position);
    background-attachment: var(--srfm-bg-attachment);
    background-repeat: var(--srfm-bg-repeat);
    background-size: var(--srfm-bg-size)
}

.srfm-form-container.srfm-bg-gradient {
    background: var(--srfm-bg-gradient)
}

.srfm-form-container[class*=srfm-overlay]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: var(--srfm-bg-overlay-opacity);
    pointer-events: none;
    z-index: -1
}

.srfm-form-container.srfm-overlay-image::before {
    background-image: var(--srfm-bg-overlay-image);
    background-position: var(--srfm-bg-overlay-position);
    background-attachment: var(--srfm-bg-overlay-attachment);
    background-repeat: var(--srfm-bg-overlay-repeat);
    background-size: var(--srfm-bg-overlay-size);
    mix-blend-mode: var(--srfm-bg-overlay-blend-mode);
    background-color: unset
}

.srfm-form-container.srfm-overlay-color::before {
    background-color: var(--srfm-bg-overlay-color)
}

.srfm-form-container.srfm-overlay-gradient::before {
    background: var(--srfm-bg-overlay-gradient)
}

.srfm-form-container[class*=srfm-overlay]::before {
    border-top-left-radius: var(--srfm-form-border-radius-top, 0);
    border-top-right-radius: var(--srfm-form-border-radius-right, 0);
    border-bottom-right-radius: var(--srfm-form-border-radius-bottom, 0);
    border-bottom-left-radius: var(--srfm-form-border-radius-left, 0)
}

.srfm-form-container .srfm-custom-wp-paragraph {
    width: 100% !important;
    margin: 0 !important;
    margin-bottom: 1.2em !important;
    padding: 0 .3em !important
}

.srfm-form-container div[class^=astra-advanced-hook] {
    display: flex;
    flex-wrap: wrap;
    width: 100%
}

.srfm-form-container .srfm-form-title {
    padding: .3em;
    margin-top: 0;
    margin-bottom: 1em
}

.srfm-form-container .srfm-instant-form-wrn-ctn {
    display: flex;
    align-items: flex-start;
    border: 1px solid #fbbf24;
    border-radius: .75em;
    background-color: #fff;
    padding: .75em;
    margin-bottom: 1.2em;
    font-size: 20px !important
}

.srfm-form-container .srfm-instant-form-wrn-ctn .srfm-svg-container {
    max-width: 36px;
    width: 100%;
    height: 20px;
    flex: none
}

.srfm-form-container .srfm-instant-form-wrn-ctn .srfm-wrn-text-ctn {
    display: flex;
    flex-direction: column;
    gap: .25em
}

.srfm-form-container .srfm-instant-form-wrn-ctn .srfm-wrn-description {
    font-size: .8em;
    color: #b45309;
    line-height: 24px
}

.srfm-form-container .srfm-instant-form-wrn-ctn .srfm-wrn-link {
    font-weight: 600;
    color: #b45309;
    line-height: 16px;
    text-decoration: none;
    width: fit-content;
    padding: 4px 0 4px 0
}

.srfm-form-container .srfm-form .srfm-captcha-container,
.srfm-form-container .srfm-password-protected-form .srfm-captcha-container {
    width: 100%
}

.srfm-form-container .srfm-form .srfm-captcha-container .h-captcha,
.srfm-form-container .srfm-password-protected-form .srfm-captcha-container .h-captcha {
    height: 78px
}

.srfm-form-container .srfm-form .srfm-validation-error,
.srfm-form-container .srfm-password-protected-form .srfm-validation-error {
    line-height: var(--srfm-error-line-height);
    color: var(--srfm-error-color);
    font-size: var(--srfm-error-font-size);
    font-weight: var(--srfm-error-font-weight);
    margin: var(--srfm-input-field-margin-top) 0 0
}

.srfm-form-container .srfm-form .uagb-block,
.srfm-form-container .srfm-password-protected-form .uagb-block {
    margin-bottom: 1em;
    width: 100%
}

.srfm-form-container .srfm-form .srfm-required,
.srfm-form-container .srfm-password-protected-form .srfm-required {
    color: #dc2626
}

.srfm-form-container .srfm-form .srfm-block .srfm-error-message,
.srfm-form-container .srfm-password-protected-form .srfm-block .srfm-error-message {
    display: none
}

.srfm-form-container .srfm-form .srfm-submit-button .srfm-loader,
.srfm-form-container .srfm-password-protected-form .srfm-submit-button .srfm-loader {
    display: none;
    border: 2px solid var(--srfm-color-scheme-text-on-primary);
    border-radius: 50%;
    border-top: 2px solid var(--srfm-color-scheme-primary);
    width: 1.2em;
    height: 1.2em;
    animation: spin 2s linear infinite;
    margin-left: .5em
}

@keyframes spin {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

.srfm-form-container .srfm-form .srfm-submit-button .srfm-loader.srfm-active,
.srfm-form-container .srfm-password-protected-form .srfm-submit-button .srfm-loader.srfm-active {
    display: block
}

.srfm-form-container .srfm-form .srfm-submit-button .srfm-loader:hover,
.srfm-form-container .srfm-password-protected-form .srfm-submit-button .srfm-loader:hover {
    border-color: var(--srfm-btn-color-hover)
}

.srfm-form-container .srfm-form .srfm-submit-button .srfm-submit-wrap,
.srfm-form-container .srfm-password-protected-form .srfm-submit-button .srfm-submit-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    overflow-wrap: anywhere;
    height: 100%
}

.srfm-form-container .srfm-form p:not([hidden]).srfm-error-message,
.srfm-form-container .srfm-password-protected-form p:not([hidden]).srfm-error-message {
    line-height: 20px;
    color: #111827;
    font-size: 14px;
    font-weight: var(--srfm-error-font-weight);
    margin: 0;
    display: flex;
    align-items: center;
    border: 1px solid #fecaca;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background-color: #fef2f2;
    gap: 8px
}

.srfm-form-container .srfm-form p:not([hidden]).srfm-error-message .srfm-icon,
.srfm-form-container .srfm-password-protected-form p:not([hidden]).srfm-error-message .srfm-icon {
    line-height: 1;
    display: flex;
    color: #dc2626
}

.srfm-form-container .srfm-form p:not([hidden]).srfm-footer-error,
.srfm-form-container .srfm-password-protected-form p:not([hidden]).srfm-footer-error {
    margin-top: var(--srfm-row-gap-between-blocks)
}

.srfm-form-container .srfm-form p:not([hidden]).srfm-head-error,
.srfm-form-container .srfm-password-protected-form p:not([hidden]).srfm-head-error {
    margin-bottom: var(--srfm-row-gap-between-blocks)
}

.srfm-form-container .srfm-form .paypal-button-sibling.paypal-method-active,
.srfm-form-container .srfm-password-protected-form .paypal-button-sibling.paypal-method-active {
    display: none !important
}

.srfm-form-container .srfm-form .srfm-paypal-button-container[data-submit-button-sibling=true]:not(.paypal-method-active),
.srfm-form-container .srfm-password-protected-form .srfm-paypal-button-container[data-submit-button-sibling=true]:not(.paypal-method-active) {
    display: none !important
}

.srfm-form-container .srfm-success-box {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--srfm-body-input-color);
    min-height: 20vh
}

.srfm-form-container .srfm-success-box p {
    margin: 0
}

.srfm-form-container .srfm-success-box.srfm-active {
    display: flex;
    white-space: pre-wrap
}

.srfm-form-container .srfm-success-box div {
    width: 100%
}

.srfm-form-container .srfm-success-box .srfm-success-box-description {
    font-size: .9em;
    font-weight: 400;
    line-height: 26px;
    color: var(--srfm-body-input-color);
    display: flex;
    flex-direction: column;
    gap: 8px
}

.srfm-form-container .srfm-display-none {
    display: none
}

.srfm-form-container .srfm-loading-block {
    position: relative;
    opacity: .5;
    pointer-events: none
}

.srfm-form-container .srfm-loading-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, .7);
    z-index: 9999
}

.srfm-form-container .srfm-loading-block::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: srfm-spin 1s linear infinite;
    z-index: 10000
}

.srfm-form-container .srfm-payment-field-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--srfm-column-gap-between-blocks);
    margin-top: var(--srfm-column-gap-between-blocks)
}

.srfm-form-container .srfm-payment-field-wrapper .srfm-variable-amount-display {
    display: flex;
    flex-direction: column;
    gap: calc(var(--srfm-column-gap-between-blocks)/ 2)
}

.srfm-form-container .srfm-payment-field-wrapper .srfm-variable-amount-display .srfm-payment-amount-wrapper {
    display: flex;
    justify-content: space-between
}

.srfm-form-container .srfm-payment-field-wrapper .srfm-test-mode-notice {
    background-color: #fcf3d5;
    border-radius: 8px;
    padding: 12px;
    color: #8a7946;
    font-size: var(--srfm-description-font-size);
    font-weight: var(--srfm-description-font-weight);
    line-height: var(--srfm-description-line-height)
}

.srfm-form-container .srfm-payment-field-wrapper .srfm-payment-methods-accordion {
    display: flex;
    flex-direction: column;
    gap: calc(var(--srfm-column-gap-between-blocks)/ 2)
}

.srfm-form-container .srfm-payment-field-wrapper .srfm-payment-methods-accordion .srfm-accordion-item {
    border: 1px solid rgba(30, 30, 30, .2509803922);
    border-radius: 6px
}

.srfm-form-container .srfm-payment-field-wrapper .srfm-payment-methods-accordion .srfm-accordion-item .srfm-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    cursor: pointer
}

.srfm-form-container .srfm-payment-field-wrapper .srfm-payment-methods-accordion .srfm-accordion-item .srfm-accordion-header .srfm-payment-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px
}

.srfm-form-container .srfm-payment-field-wrapper .srfm-payment-methods-accordion .srfm-accordion-item .srfm-accordion-content {
    display: none
}

.srfm-form-container .srfm-payment-field-wrapper .srfm-payment-methods-accordion .srfm-accordion-item.srfm-payment-active .srfm-accordion-content {
    display: block;
    padding: 0 16px 16px 16px
}

.srfm-form-container .srfm-payment-field-wrapper .srfm-payment-methods-accordion .srfm-accordion-item .srfm-payment-method-radio {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    border: 1.25px solid rgba(30, 30, 30, .5019607843);
    background-color: transparent
}

.srfm-form-container .srfm-payment-field-wrapper .srfm-payment-methods-accordion .srfm-accordion-item .srfm-payment-method-radio:checked {
    border: 5px solid #0c78fb;
    background-color: transparent
}

.srfm-form-container .srfm-payment-field-wrapper .srfm-payment-methods-accordion .srfm-accordion-item .srfm-payment-method-radio:focus {
    outline: 2px solid rgba(12, 120, 251, .2509803922);
    outline-offset: 2px
}

.srfm-form-container .srfm-payment-field-wrapper .srfm-payment-methods-accordion .srfm-accordion-item .srfm-paypal-placeholder-message {
    font-size: 14px;
    font-family: inherit;
    line-height: 20px;
    color: rgba(30, 30, 30, .6509803922);
    font-weight: 400
}

.srfm-form-container .srfm-payment-field-wrapper .srfm-payment-methods-accordion.srfm-single-payment-method .srfm-accordion-item[data-method=stripe] .srfm-accordion-header {
    display: none
}

.srfm-form-container .srfm-payment-field-wrapper .srfm-payment-methods-accordion.srfm-single-payment-method .srfm-payment-active .srfm-accordion-content {
    padding: 16px 16px 16px 16px
}

.srfm-form-container .srfm-payment-field-wrapper .srfm-payment-methods-accordion.srfm-single-payment-method .srfm-payment-method-radio {
    display: none
}

@keyframes srfm-spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

.srfm-form-container .srfm-paypal-button-container {
    position: relative;
    z-index: 1
}

.srfm-form-container .srfm-paypal-button-container.srfm-paypal-loading {
    pointer-events: none
}

.srfm-form-container .srfm-paypal-button-container.srfm-paypal-loading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, .8);
    z-index: 999;
    border-radius: 4px
}

.srfm-form-container .srfm-paypal-button-container.srfm-paypal-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    margin-left: -12px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0c78fb;
    border-radius: 50%;
    animation: srfm-spin 1s linear infinite;
    z-index: 1000
}

.brx-body .srfm-form-container .grecaptcha-badge {
    visibility: revert !important;
    width: 256px;
    height: 60px;
    display: block;
    transition: right .3s;
    position: fixed;
    bottom: 14px;
    right: -186px;
    box-shadow: gray 0 0 5px;
    border-radius: 2px;
    overflow: hidden
}

.brx-body .srfm-form-container .grecaptcha-badge:hover {
    right: 0
}

.wp-theme-kadence .srfm-form-container {
    height: auto
}
