.auto-complete-native-select {
    display: none !important;
}

.auto-complete-select {
    position: relative;
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
}

.input-group > .auto-complete-select {
    width: 1%;
}

.auto-complete-select-control {
    position: relative;
    width: 100%;
}

.auto-complete-select-input {
    width: 100%;
    min-height: 2.55rem;
    padding: 0.5rem 2.45rem 0.5rem 0.82rem !important;
    color: #172033;
    font-weight: 400 !important;
    letter-spacing: 0;
    line-height: 1.35;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(142, 174, 196, 0.34);
    border-radius: 0.85rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 4px 12px rgba(58, 112, 150, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.auto-complete-select-input:focus {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(14, 165, 233, 0.58);
    box-shadow: 0 0 0 0.18rem rgba(14, 165, 233, 0.16), 0 6px 16px rgba(58, 112, 150, 0.08);
    outline: 0;
}

.auto-complete-select-input::placeholder {
    color: rgba(71, 85, 105, 0.58);
}

.auto-complete-select-sm .auto-complete-select-input {
    min-height: 2.15rem;
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
    font-size: 0.875rem;
}

.auto-complete-select-lg .auto-complete-select-input {
    min-height: 3.05rem;
    padding-top: 0.62rem !important;
    padding-bottom: 0.62rem !important;
    font-size: 1rem;
}

.auto-complete-select.is-disabled {
    opacity: 0.72;
}

.auto-complete-select.is-disabled .auto-complete-select-input {
    cursor: not-allowed;
}

.auto-complete-select-toggle {
    position: absolute;
    top: 50%;
    right: 0.55rem;
    width: 1.8rem;
    height: 1.8rem;
    border: 0;
    border-radius: 50%;
    color: #0f8fc5;
    background: rgba(255, 255, 255, 0.42);
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.auto-complete-select-toggle:hover {
    background: rgba(14, 165, 233, 0.14);
    color: #0369a1;
}

.auto-complete-select.is-open .auto-complete-select-toggle {
    transform: translateY(-50%) rotate(180deg);
}

.auto-complete-select-menu {
    position: fixed;
    z-index: 2147483000;
    max-height: 280px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 0.9rem;
    background: rgba(247, 252, 255, 0.98);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.58);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none;
}

.auto-complete-select-option,
.auto-complete-select-empty {
    width: 100%;
    min-height: 34px;
    border: 0;
    border-radius: 0.65rem;
    background: transparent;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.55rem;
    text-align: left;
    font-size: 0.92rem;
    font-weight: 500;
}

.auto-complete-select-option:hover,
.auto-complete-select-option.is-active {
    background: rgba(14, 165, 233, 0.13);
    color: #075985;
}

.auto-complete-select-option.is-selected {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(236, 72, 153, 0.12));
    color: #0f172a;
}

.auto-complete-select-option[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.auto-complete-select-option-check {
    width: 1rem;
    flex: 0 0 auto;
    color: #0ea5e9;
}

.auto-complete-select-option-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auto-complete-select-empty {
    color: #64748b;
    justify-content: center;
    font-weight: 600;
}

@keyframes autoCompleteSelectIn {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(0.99);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 767px) {
    .auto-complete-select-menu {
        max-height: min(280px, 54vh);
    }
}
