.autocomplete {
    position: relative;
    width: 100%;
}

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;

    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;

    box-shadow:
            0 10px 25px -5px rgba(0, 0, 0, 0.1),
            0 8px 10px -6px rgba(0, 0, 0, 0.1);

    padding: 4px;
    z-index: 1000;

    max-height: 280px;
    overflow-y: auto;
}

.autocomplete-dropdown-item {
    padding: 10px 12px;
    border-radius: 7px;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    transition:
            background 0.15s ease,
            color 0.15s ease;
}

.autocomplete-dropdown-item:hover,
.autocomplete-dropdown-item.active {
    background: var(--primary-soft);
    color: var(--primary);
}