
/* Custom Searchable Dropdown Styles */
.custom-dropdown {
    position: relative;
    display: block; /* Changed from inline-block */
    width: 100%;    /* Changed from 250px */
}

.custom-dropdown input {
    width: 100%;
    padding: 6px;
    padding-right: 30px; /* Space for arrow */
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.custom-dropdown .dropdown-arrow {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    pointer-events: auto; /* Changed from none to auto */
    color: #666;
    font-size: 12px;
    padding: 5px; /* Add hit area */
}

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

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

.custom-dropdown-item {
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

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

.custom-dropdown-item.hidden {
    display: none;
}
