/* User dropdown only: fixed icon column and lightweight outline icons. */
.user-info .dropdown-menu {padding:8px 0 !important; border-radius:10px; border-color:#e0e6ec; box-shadow:0 6px 20px rgba(18,55,87,.1);}
.user-info .dropdown-menu > li > a {
 display:flex !important; align-items:center !important; gap:12px !important;
 padding:11px 18px !important; font-weight:400 !important; line-height:1.4 !important;
 text-align:left !important; text-indent:0 !important; white-space:normal !important;
}
.user-info .dropdown-menu > li > a > i {
 display:inline-block !important; width:24px !important; min-width:24px !important;
 height:24px !important; flex:0 0 24px !important;
 margin:0 !important; padding:0 !important; position:static !important;
 border:0 !important; background:transparent !important;
}
.user-info .dropdown-menu > li > a > i::before {
 display:block !important; width:24px !important; height:24px !important;
 background-position:center !important; background-repeat:no-repeat !important;
 background-size:23px 23px !important;
}
.user-info .dropdown-menu > li > a:hover {background:#f3f6f9 !important;}
.user-info .dropdown-menu > li > a:focus-visible {outline:2px solid #123757; outline-offset:-3px;}
.user-info .dropdown-menu > li > a > i.fa-list-ol::before {content:"" !important; background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23123757%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2217%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%204V3h6v1M9%209h6M9%2013h6M9%2017h4%22%2F%3E%3C%2Fsvg%3E") !important;}
.user-info .dropdown-menu > li > a > i.fa-building::before {content:"" !important; background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23123757%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2010c0%206-8%2012-8%2012S4%2016%204%2010a8%208%200%201%201%2016%200Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.5%22%2F%3E%3C%2Fsvg%3E") !important;}
.user-info .dropdown-menu > li > a > i.fa-user::before {content:"" !important; background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23123757%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M4%2021v-2a8%208%200%200%201%2016%200v2%22%2F%3E%3C%2Fsvg%3E") !important;}
.user-info .dropdown-menu > li > a > i.fa-file-o::before {content:"" !important; background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23123757%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203H6v18h12V7ZM14%203v5h4M9%2012h6M9%2016h6%22%2F%3E%3C%2Fsvg%3E") !important;}
.user-info .dropdown-menu > li > a > i.fa-power-off::before {content:"" !important; background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23123757%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%202v9M6%205a9%209%200%201%200%2012%200%22%2F%3E%3C%2Fsvg%3E") !important;}
.user-info .dropdown-menu > li > a > i.fa-envelope::before {content:"" !important; background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23123757%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m4%207%208%206%208-6%22%2F%3E%3C%2Fsvg%3E") !important;}
.user-info .dropdown-menu > li > a > i.icon-envelope::before {content:"" !important; background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23123757%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m4%207%208%206%208-6%22%2F%3E%3C%2Fsvg%3E") !important;}

/* Fit the longest account label without wrapping. */
.user-info .dropdown-menu {
    box-sizing:border-box !important;
    width:max-content !important; min-width:340px !important;
    max-width:calc(100vw - 24px) !important;
    left:auto !important; right:0 !important;
}
.user-info .dropdown-menu > li > a {
    white-space:nowrap !important;
    width:auto !important; max-width:none !important;
}
@media (max-width:420px) {
    .user-info .dropdown-menu {
        min-width:0 !important;
        max-width:calc(100vw - 16px) !important;
    }
    .user-info .dropdown-menu > li > a {
        font-size:14px !important; gap:9px !important;
        padding:11px 12px !important;
    }
}

/* Right-side account navigation. Original dropdown links are moved here temporarily. */
.rb-account-shade[hidden],.rb-account-drawer[hidden] {display:none !important;}
.rb-account-shade {position:fixed;inset:0;background:rgba(18,45,72,.4);z-index:100100;opacity:0;transition:opacity .2s ease;}
.rb-account-shade.rb-is-open {opacity:1;}
.rb-account-drawer.user-info {
 position:fixed !important;top:0 !important;bottom:0 !important;right:0 !important;left:auto !important;
 width:380px !important;max-width:100vw !important;height:100vh !important;height:100dvh !important;
 margin:0 !important;padding:0 !important;background:#fff !important;z-index:100101 !important;
 transform:translateX(100%);transition:transform .24s ease;box-shadow:-5px 0 24px rgba(18,45,72,.12);
 overflow-y:auto;overscroll-behavior:contain;float:none !important;
}
.rb-account-drawer.user-info.rb-is-open {transform:translateX(0);}
.rb-account-drawer-header {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid #e2e8ee;background:#f7f9fb;}
.rb-account-drawer-header h2 {font-size:21px !important;font-weight:500 !important;line-height:1.3 !important;margin:0 !important;padding:0 !important;background:none !important;color:#123757 !important;}
.rb-account-drawer-close {display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;background:transparent;color:#123757;font-size:32px;line-height:1;cursor:pointer;}
.rb-account-drawer-close:focus-visible {outline:2px solid #123757;outline-offset:2px;}
.rb-account-drawer.user-info > .dropdown-menu {
 display:block !important;position:static !important;float:none !important;
 width:100% !important;min-width:0 !important;max-width:100% !important;
 margin:0 !important;padding:12px 0 !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;
}
.rb-account-drawer.user-info > .dropdown-menu > li > a {
 font-size:16px !important;line-height:1.45 !important;padding:16px 20px !important;
 gap:12px !important;white-space:nowrap !important;
}
.rb-account-drawer.user-info > .dropdown-menu > li.divider {margin:12px 0 !important;}
@media(max-width:380px){
 .rb-account-drawer.user-info > .dropdown-menu > li > a {font-size:14px !important;padding:14px !important;gap:10px !important;}
}
@media(prefers-reduced-motion:reduce){.rb-account-drawer,.rb-account-shade{transition:none !important;}}
