.fe-section-title-heading {
    font-weight: bold;
    margin: 0px 0px 5px 0px;
    border-top: 2px solid var(--fw-white-350);
    color: var(--fw-black-200);
    padding: 15px 0px 10px 0px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.fe-section-title-subheading {
    font-weight: bold;
    margin: 0px 0px 5px 0px;
    border-top: 1px dashed var(--fw-white-300);
    color: var(--fw-black-300);
    padding: 15px 0px 15px 0px;
    text-transform: uppercase;
    font-size: 0.75rem;
}


textarea {
    margin: 5px 0px;
}







.fe-search-clear {
    padding: 10px;
}



#progress-container {
    width: -webkit-fill-available;
    height: 25px;
}

.fe-loader-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(15, 55, 53, 0);
    /* Loader container background color */
    padding: 0px;
    border-radius: 5px;
}

#progress-container progress::-webkit-progress-bar {
    background-color: rgb(159, 220, 186);
    /* Background of the progress bar */
}

#progress-container progress {
    width: -webkit-fill-available;
    height: 5px;
    background-color: white;
    /* Progress bar background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

#progress-container progress::-webkit-progress-value {
    background-color: rgb(94, 255, 102);
    /* Progress value color */
}

#progress-container progress::-moz-progress-bar {
    background-color: rgb(132, 37, 126);
    /* Progress value color (for Firefox) */
}

progress {
    width: 100%;
}






input[type="range"] {
    -webkit-appearance: none;
    /* Removes default appearance */
    width: 100%;
    /* Full width of the container */
    height: 6px;
    /* Height of the slider track */
    background: var(--fw-white-150);
    /* Light background for the track */
    border-radius: 5px;
    /* Rounded corners for the track */
    outline: none;
    /* Removes the focus outline */
    border: 1px solid var(--fw-white-250);
    /* Subtle border around the track */
    transition: background 0.3s ease;
    /* Smooth transition for track color */
    padding: 12px;
}

/* Webkit browsers (Chrome, Safari) */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    /* Size of the thumb */
    height: 18px;
    margin-top: -6px;
    background: var(--primary-350);
    /* Green color for the thumb */
    border-radius: 50%;
    /* Round thumb */
    cursor: pointer;
    /* Hand cursor when hovering */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Subtle shadow for depth */
    transition: background 0.3s ease;
    /* Smooth color change */
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: #a8b0ad;
    /* Greenish track background */
    border-radius: 5px;
}

/* Firefox */
input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    margin-top: -6px;
    background: var(--primary-350);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input[type="range"]::-moz-range-track {
    width: 100%;
    height: 6px;
    background: #a8b0ad;
    border-radius: 5px;
}

/* Edge/IE */
input[type="range"]::-ms-thumb {
    width: 18px;
    height: 18px;
    margin-top: -6px;
    background: var(--primary-350);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input[type="range"]::-ms-track {
    width: 100%;
    height: 6px;
    background: transparent;
    border-color: transparent;
    color: transparent;
}






select.fe-field {
    font-weight: 400;
}




/* Character Counter Styles */
.char-counter-container {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: start;
    color: var(--fw-black-450);
    /* margin-bottom: 10px; */
}

.char-counter-circle {
    width: 30px;
    height: 30px;
    position: relative;
}

.char-counter-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #b3b3b3;
}


.char-counter-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    background-color: #ffffff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}






/* Common Styles for Inputs, Textareas, and Selects */
.fe-field,
.fe-select,
.fe-textarea,
.fe-tag-textbox {
    font-family: 'Albert Sans', sans-serif;
    width: 100%;
    padding: 10px 10px;
    line-height: 20px;
    border-radius: 6px;
    outline: none;
    background: var(--fw-white-000) !important;
    color: var(--fw-black-300) !important;
    border: 1px solid var(--fw-white-350) !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: none;
    font-size: 0.9rem;
}

/* Fix for date, time, datetime-local inputs on mobile/webkit browsers */
input[type="date"].fe-field,
input[type="time"].fe-field,
input[type="datetime-local"].fe-field {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 1;
}

/* Ensure date inputs take full width in flex containers on mobile */
@media screen and (max-width: 768px) {
    input[type="date"].fe-field,
    input[type="time"].fe-field,
    input[type="datetime-local"].fe-field {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }
}

.fe-field::placeholder,
.fe-select::placeholder,
.fe-textarea::placeholder,
.fe-tag-textbox::placeholder {
    color: var(--fw-black-450);
}

/* For Internet Explorer */
.fe-field:-ms-input-placeholder,
.fe-select:-ms-input-placeholder,
.fe-textarea:-ms-input-placeholder,
.fe-tag-textbox:-ms-input-placeholder {
    color: var(--fw-black-100);
    opacity: 0.7;
}

/* For Microsoft Edge */
.fe-field::-ms-input-placeholder,
.fe-select::-ms-input-placeholder,
.fe-textarea::-ms-input-placeholder,
.fe-tag-textbox::-ms-input-placeholder {
    color: var(--fw-black-100);
    opacity: 0.7;
}




.fe-field,
.fe-select {
    height: 42px;
    /* margin-bottom: 3px; */
}

.fe-tag-input {
    margin: 0px 0px 2px 0px;
}

.fe-tag-textbox {
    margin: 0px 0px;
}

.fe-textarea {
    margin: 2px 0px -5px 0px;
}





.fe-select {
    margin: 2px 0px 2px 0px;
    padding-right: 30px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23999999%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
}

.fe-select option {
    color: var(--fw-white-500);
    padding: 8px 12px;
    background-color: var(--fw-white-000);
    border-radius: 4px;
    margin: 2px;
    cursor: pointer;
}

.fe-select optgroup {
    max-height: 300px;
    font-size: 14px;
}




/* Hover Styles */
.fe-field:hover,
.fe-select:hover,
.fe-tag-textbox:hover,
.fe-textarea:hover {
    border-color: var(--fw-white-450);
}

.fe-field:not(:focus):hover,
.fe-select:not(:focus):hover,
.fe-tag-textbox:not(:focus):hover,
.fe-textarea:not(:focus):hover {
    border-color: var(--fw-white-500);
}

/* Focus Styles */
.fe-field:focus,
.fe-select:focus,
.fe-textarea:focus,
.fe-tag-textbox:focus {
    border-color: var(--primary-300);
}


.fe-field:disabled,
.fe-select:disabled,
.fe-textarea:disabled,
.fe-tag-textbox:disabled {
    color: var(--fw-white-400);
    background-color: var(--fw-white-150) !important;
    border-color: var(--fw-white-200) !important;
    cursor: not-allowed;
    -webkit-box-shadow: none;
    box-shadow: none;
}





label.fe-switch {
    margin: 2px 0px 0px 0px;
}




/* //////////////////////////////////////////////////////////////////////////////////////////// */


input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    background-color: var(--fw-white-000) !important;
    color: var(--fw-black-300) !important;
    border: 1px solid var(--fw-white-350);
    -webkit-text-fill-color: var(--fw-black-000) !important;
    -webkit-box-shadow: 0 0 0 1000px var(--fw-white-000) inset !important;
    box-shadow: 0 0 0 1000px var(--fw-white-000) inset, inset 0 1px 5px rgba(0, 0, 0, 0.2), 0 1px rgba(255, 255, 255, .8);
    transition: background-color 9999s ease-in-out 0s;
}

input:-webkit-autofill:focus {
    color: var(--fw-black-300) !important;
    border: 1px solid var(--primary-350);
    -webkit-text-fill-color: var(--fw-black-000) !important;
    -webkit-box-shadow: 0 0 0 1000px var(--fw-white-000) inset !important;
    transition: background-color 9999s ease-in-out 0s;
}

input:-webkit-autofill:hover {
    color: var(--fw-black-300) !important;
    border: 1px solid var(--fw-white-350);
    -webkit-text-fill-color: var(--fw-black-000) !important;
    -webkit-box-shadow: 0 0 0 1000px var(--fw-white-000) inset !important;
    transition: background-color 9999s ease-in-out 0s;
}

input:-webkit-autofill:disabled,
textarea:-webkit-autofill:disabled,
select:-webkit-autofill:disabled {
    background-color: var(--fw-white-000) !important;
    -webkit-box-shadow: 0 0 0 1000px var(--fw-white-000) inset !important;
    box-shadow: 0 0 0 1000px var(--fw-white-000) inset;
    border-color: var(--fw-white-350) !important;
    color: var(--fw-black-300) !important;
    -webkit-text-fill-color: var(--fw-black-450) !important;
    transition: background-color 9999s ease-in-out 0s;
}







.fe-split {
    width: 100%;
    gap: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}


.fe-meta-info {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 10px;
    min-height: 23px;
    padding: 0px 3px;
    margin: 2px 0px 0px 0px;
    font-size: 0.6rem;
}

.fe-meta-info:only-child {
    justify-content: flex-end;
}


/* Error Message */
.fe-error-message {
    font-size: 0.7rem;
    color: var(--static-red-400);
    overflow: hidden;
}

.fe-recaptcha-label {
    font-size: 0.8rem;
    color: var(--fw-black-350);
    margin: 2px 0px 8px 2px;
}

.fe-recaptcha-wrap {
    width: 100%;
    padding-bottom: 2px;
}

.fe-recaptcha-widget {
    min-height: 78px;
}


/* Form Field Block */
.fe-formfield-block {
    position: relative;
    margin: 2px 0px 2px 0px;
    z-index: 1;
}

/* Ensure open Choices dropdown renders above neighboring fields */
.fe-formfield-block:has(.choices.is-open),
.fe-formfield-block:has(.choices__list--dropdown.is-active) {
    z-index: 20050;
}

/* Keep the dropdown itself on top within its stacking context */
.fe-formfield-block .choices__list--dropdown,
.fe-formfield-block .choices__list[aria-expanded] {
    z-index: 20060 !important;
}

.fe-choices-pending {
    opacity: 0;
    pointer-events: none;
}

.fe-formfield-block,
.fe-formfield-block-slim {
    --fe-conditional-duration: 220ms;
}

.fe-copy-link-container {
    width: 100%;
}

.fe-copy-link-field {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid var(--color-yellow-500);
    border-radius: 6px;
    padding: 8px 10px;
    background: var(--fw-white-000);
}

.fe-copy-link-container.has-label .fe-copy-link-field {
    margin-top: 16px;
}

.fe-copy-link-text {
    word-break: break-all;
    font-size: 0.9rem;
    color: var(--fw-black-300);
}

.fe-copy-link-button {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 2px 4px;
    color: var(--fw-black-500);
    flex-shrink: 0;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.fe-copy-link-button:hover {
    background: var(--fw-white-200);
    color: var(--fw-black-300);
}

.fe-conditional-animating {
    transition:
        max-height var(--fe-conditional-duration) ease,
        opacity var(--fe-conditional-duration) ease,
        margin var(--fe-conditional-duration) ease,
        padding var(--fe-conditional-duration) ease;
    will-change: max-height, opacity;
}

.fe-conditional-collapsed {
    max-height: 0 !important;
    opacity: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    pointer-events: none;
}

.fe-hidden-by-condition {
    display: none !important;
}

.fe-formfield-block-slim {
    display: grid;
    width: 40px;
    align-items: center;
    margin: 0px 0px 0px 0px;
}







.fe-input-container {
    position: relative;
    display: inline-block;
    width: 48%;
    /* Adjust width as needed */
    /* margin-right: 4%; */
}

/* Label */
.fe-label {
    font-family: 'Albert Sans', sans-serif;
    position: absolute;
    left: 10px;
    /* top: 35%; */
    z-index: 4;
    transform: translateY(-50%);
    transition: top 0.1s ease, left 0.1s ease;
    pointer-events: none;
    color: var(--fw-black-450);
    font-size: 0.9rem;
    text-wrap-mode: nowrap
}


.fe-label.active {
    top: 0px;
    left: 7px;
    font-size: 11px;
    padding: 0px 4px;
    color: var(--fw-black-300);
    background: var(--fw-white-000);
}




/* Tag List */
.fe-tag-list {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    margin: 4px 0px 0px 0px;
    gap: 5px;
}

/* Individual Tag */
.fe-tag {
    background-color: var(--primary-100);
    border-radius: 3px;
    padding: 3px 6px;
    margin: 2px 0;
    border: 1px solid var(--fw-white-250);
    display: flex;
    align-items: center;
    font-size: 0.7rem;
    color: var(--fw-static-black-000);
    box-shadow: 0px 1px 0px 0px rgba(27, 31, 36, 0.04);
}


/* Tag Remove Button */
.fe-tag-remove {
    cursor: pointer;
    margin-left: 5px;
    background-color: var(--primary-100);
    border-radius: 25px;
    width: 17px;
    height: 17px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 9px;
    font-weight: bold;
    color: var(--fw-static-black-000);
}


/* Ensure the parent container is relatively positioned */
.fe-tag-field {
    position: relative;
}

/* Tag Dropdown */
.fe-tag-dropdown {
    position: fixed;
    background-color: var(--fw-white-150);
    width: auto;
    max-height: 130px;
    overflow-y: auto;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07), 0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07), 0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07);
    border-radius: 0 0 6px 6px;
    border-right: 1px solid var(--fw-white-250);
    border-bottom: 1px solid var(--fw-white-250);
    border-left: 1px solid var(--fw-white-250);
    padding: 0;
    z-index: 9999;
}

.fe-tag-dropdown-item {
    font-family: 'Albert Sans', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 6px 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.fe-tag-dropdown-item:hover {
    background-color: var(--fw-white-200);
}


.fe-tag-dropdown-section {}

.fe-tag-dropdown-section-header {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--fw-black-450);
    padding: 5px 10px;
    border-bottom: 1px solid var(--fw-white-250);
}






/* Toggle Switch */
.fe-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 26px;
    margin: 0;
}

.fe-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}












.fe-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--fw-white-200);
    transition: 0.4s;
}

.fe-slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 4px;
    bottom: 4px;
    background-color: var(--fw-white-000);
    transition: 0.4s;
}

input:checked+.fe-slider {
    background-color: #7fc795;
}

input:checked+.fe-slider:before {
    transform: translateX(32px);
}

input:focus+.fe-slider {
    box-shadow: 0 0 1px #7fc795;
    -webkit-box-shadow: 0 0 1px #7fc795;
}

.fe-slider.round {
    border-radius: 34px;
}

.fe-slider.round:before {
    border-radius: 50%;
}

.fe-slider.small {
    transform: scale(0.70);
    transform-origin: left center;
}













/* Checkbox */
.fe-checkbox {
    display: inline-flex !important;
    position: relative;
    padding-left: 35px;
    margin: 8px 0;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.5;
    user-select: none;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.fe-checkbox-container {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
    gap: 8px;
}

.fe-checkbox-label-text {
    font-size: 1.0rem;
    font-weight: 500;
    color: var(--fw-black-400);
    line-height: 1.5;
}

.fe-checkbox-description {
    font-size: 0.85rem;
    color: var(--fw-black-450);
    line-height: 1.4;
    margin: 0;
}

.fe-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 32px;
    margin: 0;
    min-height: 24px;
}

.fe-checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.fe-checkbox-checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 22px;
    width: 22px;
    background-color: var(--fw-white-000);
    border: 2px solid var(--fw-white-350);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.fe-checkbox-label:hover .fe-checkbox-checkmark {
    border-color: var(--fw-primary-300);
}

.fe-checkbox-input:checked~.fe-checkbox-checkmark {
    background-color: var(--fw-primary-350);
    border-color: var(--fw-primary-300);
}

.fe-checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid var(--fw-static-white-000);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.fe-checkbox-input:checked~.fe-checkbox-checkmark:after {
    display: block;
}

.fe-checkbox-input:disabled~.fe-checkbox-checkmark {
    background-color: var(--fw-white-150);
    border-color: var(--fw-white-250);
    cursor: not-allowed;
}

.fe-checkbox-label:has(.fe-checkbox-input:disabled) {
    cursor: not-allowed;
    opacity: 0.6;
}

.funcelv2-right-container .form-submit.UIBTN {
    /* margin-right: -10px; */
    /* margin: 3px 4px 3px 6px; */
}




/* Submit button - Normal */

.fe-btn-submit {
    background-color: var(--primary-150);
    color: var(--fw-black-000);
    border-radius: 5px;
    border: 1px solid var(--primary-250);
    padding: 3px 10px;
    font-family: 'Albert sans', sans-serif;
    font-size: 0.8rem;
    /* width: 100%; */
    /* font-weight: 600; */
    cursor: pointer;
    user-select: none;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
}




.fe-btn-submit:hover {
    background-color: var(--primary-350);
    color: var(--fw-white-000);
    border: 1px solid var(--primary-250);
}




.fe-btn-submit:disabled {
    background-color: var(--fw-white-200);
    border: 1px solid var(--fw-white-250);
    color: #72777e;
    cursor: not-allowed;
    box-shadow: none;
}

.fe-btn-submit.fe-btn-uploading {
    background-color: var(--fw-white-200);
    border: 1px solid var(--fw-white-250);
    color: #72777e;
    cursor: wait;
    box-shadow: none;
    opacity: 0.8;
}












/* Submit button - Technical */

.fe-submit-button-technical {
    display: flex;
    width: 100%;
    margin: 0px 0px;
    padding: 12px;   
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--fw-white-350);
    border-radius: 8px;
    transition-duration: 150ms;
    color: var(--fw-black-300);
    background-color: var(--fw-white-000);
    cursor: pointer;
    min-height: 50px;
}

.fe-submit-button-technical:disabled {
    color: var(--fw-black-400);
    border: 1px solid var(--fw-white-400);
    cursor: not-allowed;
    opacity: 0.7;
}
.fe-submit-button-technical:not(:disabled):hover {
    border: 1px solid var(--fw-black-450);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.fe-submit-button-technical:not(:disabled):active {
    transform: translateY(1px);
    box-shadow: none;
}


























.mm-container {
    /* border: 1px solid #000000; */
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 250px;
    max-height: 383px;
    overflow-y: scroll;
    overflow-x: hidden;
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); */
    gap: 20px;
    padding: 5px;
}

.mm-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    height: 225px;
}

.mm-item-container {
    width: calc(33.33% - 10px);
    margin: 5px;
    padding: 10px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    aspect-ratio: 1;
    background-image: var(--mm-thumbnail);
}

.mm-add-button {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #3ccf7d;
    color: #ffffff;
    border: none;
    width: 24px;
    height: 24px;
    font-size: 12px;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.mm-info-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    background: linear-gradient(0deg, #00000080, #0000000e);
    padding: 8px;
}

.mm-item-title {
    font-size: 11px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
}

.mm-filter-label {
    font-size: 10px;
}

.mm-item-link a {
    font-size: 12px;
    color: #666;
}

.mm-add-meta1 {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}




























/* .feperm-advanced-toggle {
    background: #efeeee00;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #3d3d3d;
}

.feperm-advanced-toggle:hover {
    background: #ebebebd9;
    color: #000000;
} */



















.fe-button {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.field-selector {
    display: flex;
    flex-direction: row;
    gap: 5px;
}


.formElements-container {
    display: flex;
    flex-direction: column;
    /* padding: 10px 0px; */
    /* margin: 5px 0px 0px 0px; */
    gap: 0px;
    flex: 1;
}






/* Row layout support */
.formElements-container.formElements-row-layout {
    flex: 0 0 auto;
    flex-direction: row;
    gap: 10px;
    padding: 5px 0px;
    align-items: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    min-height: max-content;
    /* overflow-x: auto; */
    /* overflow-y: visible; */
    -webkit-overflow-scrolling: auto;
}

.formElements-container.formElements-row-layout.fe-row-dropdown-open {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.formElements-container.formElements-row-layout.fe-row-dropdown-open::-webkit-scrollbar {
    display: none;
}

.formElements-container.formElements-row-layout .fe-formfield-block {
    flex: 1 1 0;
    min-width: var(--fe-row-min-field-width, 180px);
    max-width: none;
}

.formElements-container.formElements-row-layout .fe-formfield-block-slim {
    flex: 0 0 auto;
}

.formElements-container.formElements-column-layout {
    flex-direction: column;
    gap: 0px;
}

.formElements-container.formElements-compact-layout {
    flex: 0 0 auto;
    flex-direction: column;
    width: 100%;
    gap: 0px;
    overflow: hidden;
    position: relative;
}

.formElements-container.formElements-compact-layout.fe-compact-expanded {
    gap: 10px;
}

.formElements-container.formElements-compact-layout.fe-compact-expanding {
    gap: 10px;
}

.formElements-container.formElements-compact-layout.fe-compact-collapsing {
    gap: 10px;
}

.formElements-container.formElements-compact-layout.fe-compact-collapsed {
    gap: 0px;
}

.formElements-container.formElements-compact-layout .fe-compact-toggle {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    border: 1px solid var(--fw-white-300);
    border-radius: 7px;
    background: var(--fw-white-050);
    color: var(--fw-black-300);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.formElements-container.formElements-compact-layout .fe-compact-toggle:hover {
    background: var(--fw-white-100);
    border-color: var(--fw-white-350);
    color: var(--fw-black-200);
}

.formElements-container.formElements-compact-layout .fe-compact-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.26s ease, opacity 0.2s ease;
    will-change: max-height, opacity;
}

.formElements-container.formElements-compact-layout.fe-compact-collapsed .fe-compact-content,
.formElements-container.formElements-compact-layout.fe-compact-collapsing .fe-compact-content,
.formElements-container.formElements-compact-layout.fe-compact-expanding .fe-compact-content {
    overflow: hidden;
}

.formElements-container.formElements-compact-layout.fe-compact-collapsed .fe-compact-content,
.formElements-container.formElements-compact-layout.fe-compact-collapsing .fe-compact-content {
    opacity: 0;
}

.formElements-container.formElements-compact-layout.fe-compact-expanding .fe-compact-content {
    opacity: 1;
}

.formElements-container.formElements-compact-layout.fe-compact-expanded .fe-compact-content {
    opacity: 1;
}

.formElements-container.formElements-compact-layout.fe-compact-expanded:not(.fe-compact-expanding) .fe-compact-content {
    overflow: visible !important;
}

.formElements-container.formElements-compact-layout.fe-compact-collapsed,
.formElements-container.formElements-compact-layout.fe-compact-collapsing,
.formElements-container.formElements-compact-layout.fe-compact-expanding {
    overflow: hidden !important;
}

.formElements-container.formElements-compact-layout.fe-compact-expanded {
    overflow: visible !important;
    z-index: 2;
}









/* Media Upload Field Styles */
.fe-label-static {
    font-size: 14px;
    font-weight: 500;
    color: var(--fw-black-300);
    margin-bottom: 5px;
}

.fe-media-upload-button {
    padding: 10px 20px;
    background-color: var(--primary-350, #3498db);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.fe-media-upload-button:hover:not(:disabled) {
    background-color: var(--primary-400, #2980b9);
}

.fe-media-upload-button:disabled {
    background-color: var(--fw-white-200, #ccc);
    cursor: not-allowed;
}

.fe-media-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.fe-media-thumbnail-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.fe-media-thumbnail {
    width: 120px;
    height: 120px;
    overflow: hidden;
    position: relative;
}

.fe-media-thumbnail img,
.fe-media-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fe-media-remove-v2 {    
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    flex-shrink: 0;
    background-color: var(--color-red-350, #e74c3c);
    color: var(--fw-static-white-000);
    border: 0px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    aspect-ratio: 1;
    box-sizing: border-box;
    padding: 0;
}

.fe-media-remove-v2:hover {
    background-color: var(--color-red-700, #c0392b);
}

.fe-media-item:not(:has(.fe-media-progress-container)) .fe-media-remove-v2 {
    display: flex;
}



.fe-media-verification-pending {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--warning-350, #f39c12);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CHOICES.JS - COUNTRY/STATE PICKER STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

.fe-country-state-container .choices,
.fe-dropdown-container .choices {
    margin-bottom: 0;
}

.fe-country-state-container .choices__inner,
.fe-dropdown-container .choices__inner {
    font-family: 'Albert Sans', sans-serif;
    background: var(--fw-white-000) !important;
    color: var(--fw-black-300) !important;
    border: 1px solid var(--fw-white-350) !important;
    border-radius: 6px;
    padding: 10px 10px;
    min-height: 42px;
    font-size: 0.9rem;
    line-height: 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.fe-country-state-container .choices.is-focused .choices__inner,
.fe-dropdown-container .choices.is-focused .choices__inner {
    border-color: var(--primary-350) !important;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

.fe-country-state-container .choices__input,
.fe-dropdown-container .choices__input {
    font-family: 'Albert Sans', sans-serif;
    background-color: transparent !important;
    color: var(--fw-black-300) !important;
    margin-bottom: 0;
    padding: 0;
    font-size: 0.9rem;
}

.fe-country-state-container .choices[data-type*="select-one"] .choices__input,
.fe-dropdown-container .choices[data-type*="select-one"] .choices__input {
    border-bottom: 1px solid var(--fw-white-350) !important;
    background-color: var(--fw-white-000) !important;
    padding: 10px;
}

.fe-country-state-container .choices__input::placeholder,
.fe-dropdown-container .choices__input::placeholder {
    color: var(--fw-black-450);
}

.fe-country-state-container .choices__list--dropdown,
.fe-dropdown-container .choices__list--dropdown {
    font-family: 'Albert Sans', sans-serif;
    background: var(--fw-white-000) !important;
    border: 1px solid var(--fw-white-350) !important;
    border-radius: 6px;
    margin-top: 2px;
    padding: 0px 0px 0px 0px;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fe-country-state-container .choices__list--dropdown .choices__item,
.fe-dropdown-container .choices__list--dropdown .choices__item {
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--fw-black-300);
    font-size: 14px;
    line-height: 1.4;
    transition: background-color 0.15s ease;
    border-radius: 4px;
}

.fe-country-state-container .choices__list--dropdown .choices__item--selectable:hover,
.fe-country-state-container .choices__list--dropdown .choices__item--selectable.is-highlighted,
.fe-country-state-container .choices__list--dropdown .fe-country-choice:hover,
.fe-country-state-container .choices__list--dropdown .fe-country-choice.is-highlighted,
.fe-country-state-container .choices__list--dropdown .fe-state-choice:hover,
.fe-country-state-container .choices__list--dropdown .fe-state-choice.is-highlighted,
.fe-dropdown-container .choices__list--dropdown .choices__item--selectable:hover,
.fe-dropdown-container .choices__list--dropdown .choices__item--selectable.is-highlighted,
.fe-dropdown-container .choices__list--dropdown .fe-dropdown-choice:hover,
.fe-dropdown-container .choices__list--dropdown .fe-dropdown-choice.is-highlighted {
    background-color: var(--fw-white-100) !important;
    color: var(--fw-black-300);
    cursor: pointer;
}

.fe-country-choice,
.fe-state-choice,
.fe-dropdown-choice {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fe-country-item,
.fe-state-item,
.fe-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Placeholder items when a value is selected - muted appearance */
.choices__list--single:has(.fe-country-item[data-value]:not([data-value=""])) .fe-country-item[data-value=""],
.choices__list--single:has(.fe-state-item[data-value]:not([data-value=""])) .fe-state-item[data-value=""],
.choices__list--single:has(.fe-dropdown-item[data-value]:not([data-value=""])) .fe-dropdown-item[data-value=""] {
    color: var(--fw-black-300) !important;
    font-size: 11px;
}

/* Placeholder items when no value selected - normal appearance */
.fe-country-item[data-value=""],
.fe-state-item[data-value=""],
.fe-dropdown-item[data-value=""] {
    color: var(--fw-black-500);
}

/* Selected items (with actual value) - always non-muted */
.fe-country-item[data-value]:not([data-value=""]),
.fe-state-item[data-value]:not([data-value=""]),
.fe-dropdown-item[data-value]:not([data-value=""]) {
    color: var(--fw-black-300) !important;
}

.fe-country-state-container .choices__list--single,
.fe-dropdown-container .choices__list--single {
    padding: 0;
}

.fe-country-state-container .choices__list--single .choices__item,
.fe-dropdown-container .choices__list--single .choices__item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--fw-black-450);
    font-size: 14px;
    line-height: 1.4;
}

.fe-country-flag {
    width: 15px;
    height: 11px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-right: 4px;
}

.fe-country-state-container .choices[data-type*="select-one"] .choices__inner,
.fe-dropdown-container .choices[data-type*="select-one"] .choices__inner {
    padding-bottom: 10px;
}

.fe-country-state-container .choices[data-type*="select-one"]::after,
.fe-dropdown-container .choices[data-type*="select-one"]::after {
    right: 12px;
    border-color: var(--fw-black-450) transparent transparent transparent;
}

.fe-country-state-container .choices[data-type*="select-one"].is-open::after,
.fe-dropdown-container .choices[data-type*="select-one"].is-open::after {
    border-color: transparent transparent var(--fw-black-450) transparent;
}

.fe-country-state-container .choices__placeholder,
.fe-dropdown-container .choices__placeholder {
    color: var(--fw-black-450);
    opacity: 1;
}

.fe-country-state-container .choices.is-disabled .choices__inner,
.fe-dropdown-container .choices.is-disabled .choices__inner {
    background: var(--fw-white-150) !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.fe-country-state-container .choices.is-disabled,
.fe-dropdown-container .choices.is-disabled {
    pointer-events: none;
}

.fe-country-state-container .choices.is-disabled .choices__item,
.fe-dropdown-container .choices.is-disabled .choices__item {
    opacity: 0.6;
}

.fe-country-state-container .choices__list--dropdown .choices__item--disabled,
.fe-dropdown-container .choices__list--dropdown .choices__item--disabled {
    display: none;
}

.fe-formfield-block:has(.fe-choices-country) .fe-label,
.fe-formfield-block:has(.fe-choices-state) .fe-label {
    pointer-events: none;
    z-index: 2;
}

.fe-formfield-block:has(.choices.is-focused) .fe-label,
.fe-formfield-block:has(.choices .choices__item:not(.choices__placeholder)) .fe-label {
    top: 0px !important;
}

.fe-formfield-block:has(.choices.is-focused) .fe-label {
    color: var(--primary-350);
}



/* ═══════════════════════════════════════════════════════════════════════════
   RECIPIENTS FIELD STYLES (Choices.js select-multiple)
   ═══════════════════════════════════════════════════════════════════════════ */

.fe-recipients-container .choices {
    font-family: 'Albert Sans', sans-serif;
    margin-bottom: 0;
}

.fe-recipients-container .choices__inner {
    font-family: 'Albert Sans', sans-serif;
    background-color: var(--fw-white-000) !important;
    color: var(--fw-black-300) !important;
    border: 1px solid var(--fw-white-350) !important;
    border-radius: 6px;
    padding: 6px 8px;
    min-height: 42px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.fe-recipients-container .choices.is-focused .choices__inner {
    border-color: var(--primary-300) !important;
}

.fe-recipients-container .choices__input {
    font-family: 'Albert Sans', sans-serif;
    background-color: transparent !important;
    color: var(--fw-black-300) !important;
    margin-bottom: 0;
    padding: 2px;
    font-size: 0.9rem;
}

.fe-recipients-container .choices__input::placeholder {
    color: var(--fw-black-450);
}

/* Selected items (tags) */

.fe-recipients-container .choices__list {
    padding-top: 3px;
}

.choices__list--dropdown .choices__list,
.choices__list[aria-expanded] .choices__list {
    max-height: 150px !important;
}


.fe-recipients-container .choices__list--multiple .choices__item {
    background-color: var(--primary-100);
    border: 1px solid var(--fw-primary-400);
    border-radius: 3px;
    padding: 3px 6px;
    /* margin: 2px; */
    font-size: 0.7rem;
    color: var(--fw-static-black-000);
    box-shadow: 0px 1px 0px 0px rgba(27, 31, 36, 0.04);
}

.fe-recipients-container .choices__inner {
    display: flex;
    flex-wrap: wrap;
}

.fe-recipients-container .choices__list--multiple {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.fe-recipients-container .choices__input--cloned {
    width: 100% !important;
    flex-basis: 100%;
}

.fe-recipients-container .fe-recipient-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.fe-recipients-container .fe-recipient-item-label {
    font-weight: 500;
}

.fe-recipients-container .choices__button {
    background-color: var(--primary-100);
    border: none;
    border-left: 1px solid var(--fw-white-300);
    padding: 0 4px;
    margin-left: 4px;
    font-size: 12px;
    font-weight: bold;
    color: var(--fw-static-black-000);
    cursor: pointer;
    line-height: 1;
}

.fe-recipients-container .choices__button:hover {
    background-color: var(--primary-200);
}

/* Dropdown list */


.choices__list.choices__list--dropdown.is-active {
    border: 1px solid var(--fw-white-500) !important;
}


.fe-recipients-container .choices__list--dropdown {
    font-family: 'Albert Sans', sans-serif;
    background: var(--fw-white-000) !important;
    border: 1px solid var(--fw-white-500) !important;
    border-radius: 6px;
    margin-top: 2px;
    padding: 0px 0px;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fe-recipients-container .choices__list--dropdown .choices__item {
    padding: 8px 10px;
    color: var(--fw-black-300);
    font-size: 14px;
    line-height: 1.4;
    transition: background-color 0.15s ease;
}

.fe-recipients-container .choices__list--dropdown .choices__item--selectable:hover,
.fe-recipients-container .choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: var(--fw-white-100) !important;
    color: var(--fw-black-300);
    cursor: pointer;
}

.fe-recipients-container .fe-recipient-choice {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fe-recipients-container .choices__placeholder {
    color: var(--fw-black-450);
    opacity: 1;
}

.fe-recipients-container .choices.is-disabled .choices__inner {
    background: var(--fw-white-150) !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.fe-recipients-container .choices.is-disabled .choices__item {
    opacity: 0.6;
}
