div#roleDropdown {
    animation: fadeInDown 0.25s ease !important;
    border: 1px solid #d1d5db !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    background: #ffffff !important;
    max-height: 320px !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 #f8fafc !important;
    min-width: 100% !important;
    z-index: 9999 !important;
    margin-top: 2px !important;
    position: absolute !important;
    width: 100% !important;
}

div#roleDropdown::-webkit-scrollbar {
    width: 6px !important;
}

div#roleDropdown::-webkit-scrollbar-track {
    background: #f8fafc !important;
    border-radius: 3px !important;
}

div#roleDropdown::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 3px !important;
    border: 1px solid #e2e8f0 !important;
}

div#roleDropdown .role-result-item,
div.role-result-item {
    padding: 16px 18px !important;
    cursor: pointer !important;
    border-bottom: 1px solid #e6eef7 !important;
    transition: all 0.18s ease !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    background: #ffffff !important;
    min-height: 54px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

div#roleDropdown .role-result-item:last-child,
div.role-result-item:last-child {
    border-bottom: none !important;
}

div#roleDropdown .role-result-item:hover,
div.role-result-item:hover,
div#roleDropdown .role-result-item[ aria-selected='true'] {
    background: linear-gradient(90deg, #f8fbff 0%, #eef7ff 100%) !important;
    transform: translateX(0px) !important;
    border-left: 4px solid #3b82f6 !important;
    padding-left: 14px !important;
    box-shadow: 0 4px 18px rgba(59, 130, 246, 0.08) !important;
}

div#roleDropdown .role-result-item i,
div.role-result-item i {
    color: #64748b !important;
    margin-right: 12px !important;
    width: 20px !important;
    text-align: center !important;
    font-size: 14px !important;
}

div#roleDropdown .role-result-item .role-main,
div.role-result-item .role-main {
    color: #0f172a !important;
    font-weight: 600 !important;
}

div#roleDropdown .role-result-item .role-sub,
div.role-result-item .role-sub {
    color: #6b7280 !important;
    font-size: 13px !important;
    margin-top: 2px !important;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(.995);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
