/* Custom Dropdown Styling */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select {
    position: relative;
    cursor: pointer;
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    font-size: 0.95rem;
    color: #333;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    transition: all 0.2s;
}

.custom-select.open .custom-select__trigger {
    border-color: #888;
}

.custom-select__trigger span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 15px;
}

.custom-select__trigger::after {
    content: "▼";
    font-size: 0.6rem;
    color: #666;
    transition: transform 0.2s;
}

.custom-select.open .custom-select__trigger::after {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #e5e5e5;
    background: #fff;
    transition: all 0.2s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 250px;
    overflow-y: auto;
    margin-top: 8px;
    border-radius: 8px;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    position: relative;
    display: block;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #f9f9f9;
    transition: background 0.2s;
}

.custom-option:last-child {
    border-bottom: none;
}

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

.custom-option.selected {
    background-color: #f0f9ff;
    color: #000;
    font-weight: 500;
}