.custom-select {
    position: relative;
    width: 100%;
    display: flex !important;
    border: 1px solid #ccc;
    border-radius: 6px;
    user-select: none;
    position: relative;
    font-family: Arial, sans-serif;
    font-size: 14px;
    background: #fff;
}

.custom-select .selected {
    width: 100%;
    cursor: pointer;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

.custom-select .selected .icon::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transition: transform 0.2s;
}

.custom-select.open .selected .icon::after {
    content: "\f077";
}

.custom-select .options {
    display: none;
    flex-direction: column;
    border-top: 1px solid #ccc;
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    border-radius: 0 0 6px 6px;
    max-height: 300px;
    overflow-y: auto;
}

.custom-select.open .options {
    display: flex;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 2px;
}

.custom-select .options div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.custom-select .options div:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.custom-select .options div .check-icon {
    font-size: 16px;
    color: #D3D3D4;
    flex-shrink: 0;
}

.custom-select .options div.active {
    background-color: #E6F7FF;
    color: #0499F6;
    font-weight: 600;
}

.custom-select .options div.active .check-icon {
    color: #0499F6;
}

.custom-select .options::-webkit-scrollbar {
    width: 8px;
}

.custom-select .options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
}

.custom-select .options::-webkit-scrollbar-thumb {
    background: #0499F6;
    border-radius: 8px;
}

.custom-select .options::-webkit-scrollbar-thumb:hover {
    background: #0378c4;
}

.custom-select .options {
    scrollbar-width: thin;              
    scrollbar-color: #0499F6 #f1f1f1;
}

.custom-select.open-up .options {
    bottom: 100%;
    top: auto;
}