.wc-dropdown {
    position: relative;
    display: inline-block;
    min-width: 180px;
    color: cornsilk;
    font-family: inherit;
}

.wc-dropdown.is-open {
    z-index: 100000;
}

.wc-dropdown-field,
.e-btn {
    min-height: 32px;
    border: 1px solid #6f5a32;
    border-radius: 4px;
    background: linear-gradient(#2b2418, #17130d);
    color: cornsilk;
    font: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.wc-dropdown-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 5px 9px;
    text-align: left;
    cursor: pointer;
}

.wc-dropdown-field > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wc-dropdown-field:disabled,
.e-btn:disabled {
    cursor: default;
    opacity: 0.55;
}

.wc-dropdown-field:hover,
.e-btn:hover:not(:disabled) {
    border-color: #a78343;
    background: linear-gradient(#352b1b, #1e190f);
}

.wc-dropdown-chevron {
    margin-left: 10px;
    color: cornsilk;
}

.wc-placeholder {
    color: cornsilk;
}

.wc-dropdown-popup {
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    z-index: 100000;
    width: max-content;
    min-width: var(--wc-dropdown-min-width, 100%);
    max-width: calc(100vw - 24px);
    max-height: 320px;
    overflow: hidden;
    border: 1px solid #6f5a32;
    border-radius: 4px;
    background: #15120d;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.wc-dropdown-source-popup {
    display: none !important;
}

.wc-dropdown-floating {
    position: fixed !important;
    z-index: 2147483647 !important;
    top: auto;
    left: auto;
    overflow: visible !important;
    max-height: none !important;
}

.wc-dropdown-filter,
.e-input,
.e-numerictextbox {
    width: 100%;
    min-height: 30px;
    border: 1px solid #594722;
    border-radius: 4px;
    background: #0f0d09;
    color: cornsilk;
    font: inherit;
}

.wc-dropdown-filter {
    border-width: 0 0 1px;
    border-radius: 0;
    padding: 6px 8px;
    min-width: 220px;
}

.wc-dropdown-filter:focus,
.e-input:focus,
.e-numerictextbox:focus {
    outline: 1px solid #b99049;
}

.wc-numeric {
    display: inline-flex;
    align-items: stretch;
    width: 100%;
    min-width: 58px;
    color: cornsilk;
    font-family: inherit;
}

.wc-numeric .e-numerictextbox {
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 4px 0 0 4px;
    padding-right: 6px;
    -moz-appearance: textfield;
}

.wc-numeric .e-numerictextbox::-webkit-inner-spin-button,
.wc-numeric .e-numerictextbox::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.wc-numeric-buttons {
    display: flex;
    flex: 0 0 22px;
    flex-direction: column;
    min-height: 30px;
}

.wc-numeric-button {
    position: relative;
    flex: 1 1 0;
    min-height: 15px;
    border: 1px solid #594722;
    border-left: 0;
    padding: 0;
    background: linear-gradient(#2b2418, #17130d);
    color: cornsilk;
    cursor: pointer;
}

.wc-numeric-up {
    border-radius: 0 4px 0 0;
}

.wc-numeric-down {
    border-top: 0;
    border-radius: 0 0 4px 0;
}

.wc-numeric-button:hover:not(:disabled) {
    border-color: #a78343;
    background: linear-gradient(#40321b, #21190f);
}

.wc-numeric-button:disabled {
    cursor: default;
    opacity: 0.55;
}

.wc-numeric-arrow-up,
.wc-numeric-arrow-down {
    position: absolute;
    left: 50%;
    width: 0;
    height: 0;
    transform: translateX(-50%);
}

.wc-numeric-arrow-up {
    top: 4px;
    border-right: 4px solid transparent;
    border-bottom: 5px solid #d0b06a;
    border-left: 4px solid transparent;
}

.wc-numeric-arrow-down {
    bottom: 4px;
    border-top: 5px solid #d0b06a;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.wc-dropdown-options {
    max-height: 270px;
    overflow-y: auto;
    overflow-x: hidden;
}

.wc-dropdown-option,
.wc-multiselect-option {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: max-content;
    min-height: 30px;
    gap: 8px;
    border: 0;
    padding: 6px 9px;
    background: transparent;
    color: cornsilk;
    font: inherit;
    text-align: left;
    white-space: nowrap;
}

.wc-dropdown-option,
.wc-multiselect-option span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wc-dropdown-option:hover,
.wc-multiselect-option:hover,
.wc-dropdown-option.is-selected,
.wc-multiselect-option.is-selected {
    background: #40321b;
}

.wc-multiselect-option input {
    accent-color: #b99049;
}

.wc-select-all {
    border-bottom: 1px solid #4c3c20;
    font-weight: 700;
}

.wc-treeview,
.wc-tree-children {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wc-treeview {
    color: cornsilk;
    background: #15120d;
}

.wc-tree-item {
    margin: 0;
    padding: 0;
}

.wc-tree-row {
    display: flex;
    align-items: center;
    min-height: 28px;
    gap: 4px;
    padding: 3px 8px;
    cursor: pointer;
    user-select: none;
}

.wc-tree-row:hover {
    background: #2a2114;
}

.wc-tree-item.is-selected > .wc-tree-row,
.wc-tree-item.e-active > .wc-tree-row {
    background: #4b381c;
}

.wc-tree-expander {
    width: 22px;
    height: 22px;
    border: 0;
    padding: 0;
    color: #d0b06a;
    background: transparent;
    line-height: 22px;
    cursor: pointer;
}

.wc-tree-expander-empty {
    display: inline-block;
}

.wc-tree-edit {
    min-height: 24px;
    min-width: 120px;
    border: 1px solid #b99049;
    border-radius: 3px;
    background: #0f0d09;
    color: cornsilk;
}

.e-checkbox-wrapper,
.e-radio-wrapper,
.e-switch-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: cornsilk;
}

.e-checkbox-wrapper input,
.e-radio-wrapper input,
.e-switch-wrapper input {
    accent-color: #b99049;
}

.e-accordion,
.e-acrdn-item,
.e-acrdn-panel {
    overflow: visible;
    color: cornsilk;
}

.e-accordion summary {
    cursor: pointer;
    padding: 7px 9px;
    border: 1px solid #6f5a32;
    background: #21190f;
    color: cornsilk;
}

.e-acrdn-panel {
    padding: 8px;
    border: 1px solid #4c3c20;
    border-top: 0;
    background: rgba(15, 13, 9, 0.75);
}

.e-tab .e-tab-header {
    color: cornsilk;
}

.wc-tab-registration,
.wc-tab-item-registration {
    display: none;
}

.wc-tab-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 2px;
    border-bottom: 1px solid #6f5a32;
    margin-bottom: 6px;
    min-width: 0;
    position: relative;
}

.wc-tab-strip {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    min-width: 0;
    overflow: hidden;
}

.wc-tab-button {
    flex: 0 0 auto;
    border: 1px solid #6f5a32;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
    padding: 6px 12px;
    background: linear-gradient(#2b2418, #17130d);
    color: cornsilk;
    font: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.wc-tab-button.is-overflowed {
    display: none;
}

.wc-tab-button:hover,
.wc-tab-button.e-active {
    background: linear-gradient(#40321b, #21190f);
    border-color: #a78343;
}

.wc-tab-overflow {
    display: none;
    flex: 0 0 auto;
    position: relative;
}

.wc-tab-overflow.has-overflow {
    display: block;
}

.wc-tab-overflow-button {
    min-width: 34px;
    border: 1px solid #6f5a32;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
    padding: 6px 9px;
    background: linear-gradient(#2b2418, #17130d);
    color: cornsilk;
    font: inherit;
    cursor: pointer;
}

.wc-tab-overflow-button:hover,
.wc-tab-overflow.is-open .wc-tab-overflow-button {
    background: linear-gradient(#40321b, #21190f);
    border-color: #a78343;
}

.wc-tab-overflow-menu {
    display: none;
    position: absolute;
    top: calc(100% + 3px);
    right: 0;
    z-index: 100000;
    width: max-content;
    min-width: 100%;
    max-width: calc(100vw - 24px);
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    touch-action: pan-y;
    border: 1px solid #6f5a32;
    border-radius: 4px;
    background: #15120d;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.wc-tab-overflow.is-open .wc-tab-overflow-menu {
    display: block;
}

.wc-tab-overflow-item {
    display: none;
    width: 100%;
    min-width: max-content;
    max-width: 100%;
    min-height: 30px;
    border: 0;
    padding: 6px 9px;
    background: transparent;
    color: cornsilk;
    font: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    white-space: nowrap;
}

.wc-tab-overflow-item.is-overflowed {
    display: block;
}

.wc-tab-overflow-item:hover,
.wc-tab-overflow-item.e-active {
    background: #40321b;
}

.wc-tab-content {
    color: cornsilk;
}

.wc-tooltip {
    position: relative;
    display: inline-block;
}

.wc-tooltip-content {
    display: none;
    position: fixed;
    z-index: 100000;
    width: max-content;
    max-width: 220px;
    padding: 6px;
    border: 1px solid #6f5a32;
    border-radius: 4px;
    background: #15120d;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
    pointer-events: none;
}

.wc-tooltip-floating {
    z-index: 2147483647;
}

.wc-tooltip-content.is-open {
    display: inline-block;
}

.wc-tooltip-content img {
    display: block;
    max-width: 100%;
    max-height: 240px;
    width: auto;
    height: auto;
}

.e-grid table {
    color: cornsilk;
    background: #15120d;
}

.e-acrdn-panel legend,
.e-acrdn-panel label,
.e-acrdn-panel span {
    color: inherit;
}

.e-acrdn-panel legend {
    float: none;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.e-acrdn-panel legend + * {
    clear: none;
}
