/* Custom Dropdown Component Styling */
.custom-dropdown {
    position: relative;
    width: 100%;
    font-family: 'Manrope', sans-serif;
    z-index: 40;
}

.custom-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 4px 0;
    cursor: pointer;
    background: transparent;
    color: #252B64;
    font-weight: 600;
    font-size: 16px;
}

@media (min-width: 768px) {
    .custom-dropdown-trigger {
        font-size: 18px;
    }
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 220px;
    background: white;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    margin-top: 12px;
    padding: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
    max-height: 300px;
    overflow-y: auto;
}

.custom-options.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.custom-option {
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 8px;
    color: #252B64;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 2px;
    text-align: center;
}

.custom-option:hover {
    background-color: #F1F4F9;
    color: #0066FF;
}

.custom-option.selected {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: white;
    font-weight: 600;
}

/* Scrollbar styling */
.custom-options::-webkit-scrollbar {
    width: 6px;
}

.custom-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.custom-options::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.custom-options::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}