.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-selected {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.dropdown-selected .placeholder-text {
    color: #999;
    font-size: 14px;
}

.dropdown-selected .selected-text {
    color: #000;
    font-size: 14px;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    transform-origin: center;
}

.dropdown-selected.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu-custom {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.dropdown-menu-custom.show {
    display: block;
}

.dropdown-item-custom {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 14px;
    color: #333;
}

.dropdown-item-custom:hover {
    background-color: #f5f5f5;
}

.dropdown-item-custom.selected {
    background-color: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
}

/* Scrollbar styling */
.dropdown-menu-custom::-webkit-scrollbar {
    width: 8px;
}

.dropdown-menu-custom::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.dropdown-menu-custom::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.dropdown-menu-custom::-webkit-scrollbar-thumb:hover {
    background: #555;
}