.afeb-form-fields-wrap {
    display: flex;
    flex-wrap: wrap
}

.afeb-form-fields-wrap input:not([type="submit"]),
.afeb-form-fields-wrap textarea,
.afeb-form-fields-wrap select {
    background-color: #fff;
    border: 1px solid #f4f5f7;
    border-radius: 10px;
    color: #000;
    font-family: inherit, serif;
    font-size: 12px;
    font-weight: inherit;
    line-height: 32px;
    outline: #f4f5f7;
    text-align: inherit
}

.afeb-column {
    display: flex;
    flex-wrap: wrap;
    min-height: 1px;
    position: relative;
    width: 100%
}

.afeb-field-group .afeb-submit-error,
.afeb-submit-error {
    position: absolute;
    top: 100%
}

.afeb-field-group {
    align-items: center;
    padding-right: calc(12px / 2);
    padding-left: calc(12px / 2);
    margin-bottom: 26px
}

.afeb-field-group>label,
.afeb-field-sub-group label {
    display: inline-block;
    cursor: pointer
}

.afeb-mark-required .afeb-form-field-label:after {
    color: red;
    content: "*";
    padding-inline-start: .2em
}

.afeb-field-group .afeb-form-field-textual {
    flex-grow: 1;
    font-size: 15px;
    line-height: 1.4;
    max-width: 100%;
    min-height: 40px;
    padding: 5px 14px;
    vertical-align: middle;
    width: 100%
}

.afeb-field-group .afeb-form-field::-moz-placeholder {
    color: inherit !important;
    font-size: inherit !important;
    opacity: 0.6 !important;
}

.afeb-field-group .afeb-form-field::placeholder {
    color: inherit !important;
    font-size: inherit !important;
    opacity: 0.6 !important;
}

.afeb-field-group .afeb-select-wrap,
.afeb-field-sub-group {
    width: 100%
}

.afeb-field-sub-group {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.afeb-field-sub-group.afeb-inline-sub-group {
    flex-direction: row
}

.afeb-field-sub-group input[type=checkbox],
.afeb-field-sub-group input[type=radio] {
    margin: 0
}

.afeb-form-field-type-upload .afeb-form-field {
    flex-basis: 100%;
    font-size: 8px !important;
    width: 100%
}

.afeb-form-field-type-upload .afeb-form-field::-webkit-file-upload-button {
    visibility: hidden !important
}

.afeb-form-field-type-upload .afeb-form-field::before {
    border-style: solid;
    border-width: inherit;
    border-color: unset;
    border-radius: inherit;
    cursor: pointer;
    content: "Choose File";
    display: inline-block;
    font-size: 10px;
    margin: 5px 0 5px 5px;
    opacity: 1;
    padding: 0px 10px;
    transition: 0.3s
}

.afeb-form-field-type-upload .afeb-form-field:hover::before {
    opacity: 0.7
}

.afeb-file-type-error {
    color: red;
    font-size: 13px;
    flex-basis: 100%;
    list-style-type: none;
    margin: 0 0 5px 0;
    padding: 5px 0
}

.afeb-file-type-error li {
    color: #000;
    display: inline
}

.afeb-field-sub-group .afeb-form-field-option {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center
}

.afeb-submit-error {
    color: red;
    font-size: 12px;
    margin: 0
}

.afeb-form-field-textual,
.afeb-form-field-textual.afeb-form-error,
.afeb-form-field-textual:focus {
    outline: 0;
    border: 1px solid #69727d
}

.afeb-form-field-textual.afeb-form-error {
    border-color: red
}

.afeb-form-field-button {
    background-color: #5936c6;
    border-radius: 4px;
    border: 1px solid;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding: 8px;
    width: 100%
}

.afeb-form-field-type-submit .afeb-form-field-button>span,
.afeb-form-field-type-submit .afeb-form-field-button>span>span {
    align-items: center;
    display: flex;
    justify-content: center
}

.afeb-form-field-type-submit .elementor-button-icon {
    color: #fff;
    fill: #fff;
    margin-left: 5px
}

.afeb-form-builder-success-box {
    background-color: #d4edda;
    border-radius: 15px;
    color: #155724;
    margin: .5em 0;
    padding: 1em;
    width: 100%
}

.afeb-form-builder-error-box {
    background-color: #f8d7da;
    border-radius: 15px;
    color: #721c24;
    margin: .5em 0;
    padding: 1em;
    width: 100%
}