/* NATIVESELECT */

/* Native select wrapper */

.native-select:focus {
    border-color: #f7f7f7;
    outline: none !important;
}

.native-select:focus-visible {
    border-color: #f7f7f7;
    outline: none !important;
}

.native-select-wrapper {
    position: relative;
    width: 100%;
    font-family: "Arial", sans-serif;
}

/* Styled native select */
.native-select {
    width: 100%;
    height: 32px;
    padding: 4px 30px 4px 6px;
    border: 0;
    font-size: inherit;
    background-color: #f7f7f7;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s;
    color: #262626;
}

/* Hover */
.native-select:hover {
    border-color: #40a9ff;
}

/* Focus (AntD 3 effect: thin blue border) */
.native-select:focus {
    border-color: #40a9ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(16, 142, 233, 0.2);
}

/* Disabled */
.native-select:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

/* Arrow icon */
.native-select-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.45);
    transform: translateY(-50%);
    pointer-events: none;
}

/* EDITABLE-SELECT */
/* ========== Editable Select Container ========== */
.csp-editable-select {
    position: relative;
    width: 100%;
    font-family: "Arial", sans-serif;
}

/* Input */
.csp-editable-select-input {
    width: 100%;
    height: 32px;
    padding: 4px 28px 4px 6px;
    border: 0;
    font-size: inherit;
    background-color: #f7f7f7;
    transition: all 0.2s;
    color: #262626;
}

.csp-editable-select-input:hover {
    border-color: #40a9ff;
}

.csp-editable-select-input:focus {
    border-color: #40a9ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
    outline: none;
}

/* Arrow */
.csp-editable-select-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.45);
    transform: translateY(-50%);
    pointer-events: none;
}

.csp-editable-select.open .csp-editable-select-arrow {
    border-top: none;
    border-bottom: 6px solid rgba(0, 0, 0, 0.45);
}

/* Dropdown List */
.csp-editable-select-list {
    position: absolute;
    z-index: 9999;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 2px;
    border: 1px solid #d9d9d9;
    background: #f7f7f7;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
    max-height: 220px;
    overflow-y: auto;
}

/* Item */
.csp-editable-select-item {
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
}

.csp-editable-select-item:hover,
.csp-editable-select-item.focused {
    background: #e6f7ff;
}

.csp-editable-select-item.selected {
    background: #bae7ff;
}
