/* Account Picker Custom Scrollbar */
.custom-scrollbar {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 20px;
    border: 2px solid transparent;
}

.custom-scrollbar:hover::-webkit-scrollbar-thumb {
    background-color: #9ca3af;
}

/* Account Picker Transition Logic */
[x-teleport] {
    pointer-events: none;
}
[x-teleport] > * {
    pointer-events: auto;
}

/* Ensure the portal dropdown has a high z-index and is positioned relative to body */
.account-picker-portal {
    position: fixed;
    z-index: 9999;
    pointer-events: auto;
}
