/* Base styles for the select component */
.custom-select {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.select-btn {
    text-align: left;
}

.select-list {
    transform-origin: top;
    will-change: transform, opacity;
    transition: transform 200ms ease, opacity 200ms ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.select-list li {
    user-select: none;
}

/* Animation for the portal */
.select-portal {
    transition: opacity 200ms ease, transform 200ms ease;
}

/* Custom scrollbar for the dropdown */
.select-list::-webkit-scrollbar {
    width: 8px;
}

.select-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 4px 4px 0;
}

.select-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.select-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}