/* The closed control is a native select, including its required, disabled and reset behaviour. */
.fv-dropdown-scope select:not([multiple],.select2-hidden-accessible,.chosen-done):is(:not([size]),[size="0"],[size="1"]) {
    appearance: none;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 2.45rem;
    border: 1px solid #a9bcaf;
    border-radius: .55rem;
    padding-inline: .72rem 2.15rem;
    color: #173e2e;
    background-color: #fffefa;
    background-image: linear-gradient(45deg,transparent 50%,#315b47 50%),linear-gradient(135deg,#315b47 50%,transparent 50%);
    background-size: 5px 5px,5px 5px;
    background-position: right calc(.8rem + 5px) center,right .8rem center;
    background-repeat: no-repeat;
    text-overflow: ellipsis;
    cursor: pointer;
}
.fv-dropdown-scope select:not([multiple]):enabled:hover { border-color: #70917c; }
.fv-dropdown-scope select:focus-visible, .fv-dropdown-scope select[aria-expanded=true] { outline: 2px solid #367451; outline-offset: 2px; }
.fv-dropdown-scope select:disabled { color: #5b695f; background-color: #efefe9; cursor: default; }
.fv-dd-panel {
    position: fixed;
    inset: auto;
    z-index: 100025;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: .35rem;
    min-width: 0;
    max-width: calc(100vw - 1rem);
    overflow: hidden;
    border: 1px solid #9db3a2;
    border-radius: .8rem;
    background: #fffefa;
    color: #172e23;
    box-shadow: 0 9px 32px #153d2e25, 0 2px 6px #153d2e14;
    font: 400 .94rem/1.4 system-ui, sans-serif;
    text-align: start;
}
.fv-dd-panel [hidden] { display: none !important; }
.fv-dd-search { position: relative; flex: none; padding: .18rem .16rem .45rem; }
.fv-dd-search::before, .fv-dd-search::after { content: ''; position: absolute; pointer-events: none; color: #52705c; }
.fv-dd-search::before { top: .87rem; left: .84rem; width: .6rem; height: .6rem; box-sizing: content-box; border: 1.65px solid currentColor; border-radius: 50%; }
.fv-dd-search::after { top: 1.54rem; left: 1.44rem; width: .39rem; height: 1.65px; background: currentColor; transform: rotate(45deg); }
.fv-dd-panel input.fv-dd-input, #farmvero-app .fv-dd-panel input.fv-dd-input {
    display: block; box-sizing: border-box; width: 100%; max-width: none; min-height: 2.35rem; margin: 0;
    padding: .4rem .6rem .4rem 2.1rem; color: #173e2e; background: #f5f6ee;
    border: 1px solid #b7c8b6; border-radius: .48rem; font: inherit;
}
.fv-dd-panel input.fv-dd-input:focus, #farmvero-app .fv-dd-panel input.fv-dd-input:focus { border-color: #367451; outline: 1px solid #367451; outline-offset: 0; box-shadow: none; }
.fv-dd-scope-footer { flex-wrap: wrap; }
.fv-dd-scope-footer .fv-dd-add { flex: 1 0 100%; text-align: start; font-weight: 650; }
.fv-dd-scope-footer .fv-dd-add::before { content: '+'; margin-inline-end: .5rem; }
.fv-dd-list { overflow-y: auto; min-height: 0; overscroll-behavior: contain; scrollbar-width: thin; }
.fv-dd-list:focus, #farmvero-app .fv-dd-list:focus { outline: none; }
.fv-dd-option { position: relative; box-sizing: border-box; min-height: 2.2rem; padding: .46rem 2.1rem .46rem .66rem; border-radius: .38rem; overflow-wrap: anywhere; cursor: pointer; }
.fv-dd-option[aria-selected=true] { color: #153d2e; font-weight: 650; }
.fv-dd-option[aria-selected=true]::after { content: ''; position: absolute; inset-inline-end: .8rem; top: 50%; width: .6rem; height: .3rem; border-inline-start: 2px solid #296540; border-bottom: 2px solid #296540; transform: translateY(-75%) rotate(-45deg); }
.fv-dd-option[data-active] { color: #143c29; background: #e7efdf; box-shadow: inset 0 0 0 1px #a7bd9e; }
@media (hover:hover) { .fv-dd-option:not([aria-disabled=true]):hover { color: #143c29; background: #e3eddd; } }
.fv-dd-option[aria-disabled=true] { color: #66716a; background: #f3f4ee; cursor: default; }
.fv-dd-group-name { margin: .3rem .3rem .1rem; padding: .25rem .34rem .08rem; color: #53685b; font-size: .75rem; font-weight: 650; }
.fv-dd-footer { display: flex; flex: none; align-items: center; gap: .35rem; padding: .4rem .2rem .06rem; border-top: 1px solid #dee6d9; }
.fv-dd-status { flex: 1; font-size: .8rem; color: #485d50; }
.fv-dd-panel button.fv-dd-page { min-height: 2rem; margin: 0; padding: .25rem .5rem; font: inherit; font-size: .8rem; color: #19452f; background: #f1f5e9; border: 1px solid #b7c8b6; border-radius: .4rem; cursor: pointer; }
.fv-dd-page:focus-visible { outline: 2px solid #367451; outline-offset: -2px; }
@media (max-width: 600px) { .fv-dd-panel input.fv-dd-input { font-size: 1rem; } .fv-dd-option { min-height: 2.65rem; padding-block: .65rem; } }
@media (forced-colors: active) { .fv-dropdown-scope select { appearance: auto !important; } .fv-dd-option[data-active] { outline: 2px solid Highlight; outline-offset: -2px; } .fv-dd-option[aria-selected=true]::after { border-color: Highlight; } }
