/* Custom Select Dropdown Styles */
.custom-select-container {
    position: relative;
    width: 100%;
    font-size: 14px;
    color: #333;
}

.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border: 2px solid #b0b7c3;
    border-radius: 0.375rem;
    background-color: #f8fafc;
    cursor: pointer;
    min-height: 2.75rem;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #1a202c;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.custom-select-trigger:hover {
    border-color: #2563eb;
}

.custom-select-trigger.open {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
    background-color: #fff;
}

.custom-select-arrow {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #6c757d;
    transition: transform 0.2s ease;
}

.custom-select-trigger.open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    margin-top: 2px;
    border: 2px solid #b0b7c3;
    border-radius: 0.375rem;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.custom-select-dropdown.open {
    display: block;
}

.custom-select-search {
    position: sticky;
    top: 0;
    padding: 8px;
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
}

.custom-select-search input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 2px solid #b0b7c3;
    border-radius: 0.375rem;
    font-size: 1rem;
    background-color: #f8fafc;
    color: #1a202c;
}

.custom-select-search input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.custom-select-options {
    padding: 4px 0;
}

.custom-select-option {
    padding: 6px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.custom-select-option:hover {
    background-color: #f8f9fa;
}

.custom-select-option.selected {
    background-color: #e9ecef;
    font-weight: bold;
}

.custom-select-no-results {
    padding: 8px 12px;
    color: #6c757d;
    font-style: italic;
}
