/* User portal content and sidebar. Header presentation belongs to Studio shell.css. */
.user-shell { --user-header-height: var(--cx-header-height, 74px); color: #101631; background: #f8faff; font: 14px/1.5 Poppins, Arial, sans-serif; }
.user-shell .cxui-icon { display: inline-block; width: 23px; height: 23px; flex: 0 0 auto; vertical-align: middle; }
.user-shell .mix-content.user-portal-content { margin-left: 226px; padding-top: 0; min-height: calc(100vh - 88px); transform: none; }
body.user-shell.side_menu .mix-content.user-portal-content { transform: none; }
.user-shell .cxui-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; background: #e4edff; }
.user-shell .cxui-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-shell .cxui-avatar-placeholder { background: linear-gradient(145deg,#f3f7ff,#cddfff); color: #6694e4; }
.user-shell .cxui-avatar-placeholder .cxui-icon { width: 64%; height: 64%; stroke-width: 1.1; fill: #8bb2f3; }
.user-shell ul#user-navigation { position: fixed; top: var(--user-header-height); bottom: 0; left: 0; width: 226px; padding: 38px 14px; margin: 0; list-style: none; box-sizing: border-box; background: linear-gradient(165deg,#f8faff 10%,#f7faff 65%,#ebf3ff); border-right: 1px solid #dce3f2; transform: none; z-index: 50; }
.user-shell #user-navigation { overflow-x: hidden; overflow-y: auto; }
.user-shell #user-navigation::before, .user-shell #user-navigation::after { content: ''; position: absolute; pointer-events: none; width: 100%; height: 190px; left: 0; bottom: 0; clip-path: polygon(0 32%,25% 18%,50% 10%,76% 12%,100% 0,100% 100%,0 100%); transform: none; background: #dceaff; opacity: .4; }
.user-shell #user-navigation::after { height: 120px; background: #c8ddff; }
.user-shell #user-navigation li { position: relative; z-index: 1; width: 100%; border: 0; margin: 0 0 8px; border-radius: 12px; }
.user-shell #user-navigation li.active { background: linear-gradient(110deg,#e0eaff,#d1e1ff); }
.user-shell #user-navigation li:hover { background: #eaf0fc; }
.user-shell #user-navigation li.active:hover { background: #d9e6ff; }
.user-shell #user-navigation li a, .user-shell #user-navigation .logout button { display: flex; gap: 15px; align-items: center; min-height: 53px; height: auto; padding: 12px 14px; color: #12182e; font-size: 14px; font-weight: 400; line-height: 1.45; background: none; width: 100%; box-sizing: border-box; }
.user-shell #user-navigation li.active a { color: #071795; font-weight: 600; }
.user-shell #user-navigation li .cxui-icon { width: 23px; height: 23px; }
.user-shell #user-navigation .logout { margin-top: 29px; padding-top: 22px; border-top: 1px solid #d0d9ec; border-radius: 0; }
.user-shell #user-navigation .logout:hover { background: none; }
.user-shell #user-navigation .logout button:hover { background: #e6efff; border-radius: 10px; }
.user-shell #user-navigation a:focus-visible, .user-shell #user-navigation button:focus-visible { outline: 2px solid #075bec; outline-offset: 1px; }
.user-shell #main-uber-page > .user-portal-content ~ footer:not(.cx-global-footer) { margin-left: 226px; background: transparent; box-shadow: none; padding: 0 28px 20px; }
.user-shell footer:not(.cx-global-footer) .footer-inner { max-width: none; width: 100%; padding: 22px 0 0; margin: 0; border-top: 1px solid #e1e7f2; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: #68758e; box-sizing: border-box; }
.user-shell footer:not(.cx-global-footer) p { margin: 0; }
.user-shell .cxui-footer-links { display: flex; align-items: center; gap: 20px; }
.user-shell .cxui-footer-links a { font-size: inherit; color: #0756dd; text-decoration: none; }
.user-shell .cxui-footer-links span { color: #b4bfd2; }
.user-shell button, .user-shell a { -webkit-tap-highlight-color: transparent; }
.user-shell a:focus-visible, .user-shell button:focus-visible, .user-shell summary:focus-visible { outline: 2px solid #065df2; outline-offset: 3px; }
@media (max-width: 1180px) {
    .user-shell .mix-content.user-portal-content { margin-left: 0; }
    .user-shell ul#user-navigation { display: none; }
    .user-shell #main-uber-page > .user-portal-content ~ footer:not(.cx-global-footer) { margin-left: 0; }
}
@media (max-width: 600px) {
    .user-shell .cxui-avatar { width: 36px; height: 36px; }
    .user-shell footer:not(.cx-global-footer) .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .user-shell .cxui-footer-links { gap: 12px; flex-wrap: wrap; }
}

/* The shared footer keeps its native styles; only the existing sidebar space varies. */
@media(min-width:1181px){
 .user-shell #main-uber-page > .user-portal-content ~ footer.cx-global-footer { width:calc(100% - 226px); margin-left:226px; }
}

/* Account-only compact ES/EN control, matching the restaurant navigation. */
.user-shell .cx-global-header.site-header[data-public-header][data-solutions-header] .header-actions .partner-language-switcher {
 display:inline-flex; flex:none; align-items:center; justify-content:center; gap:0; padding:2px; margin:0;
 width:82px; height:28px; border:1px solid #dbe4f1; border-radius:7px; background:#f5f8fd; box-sizing:border-box;
}
.user-shell .cx-global-header.site-header[data-public-header][data-solutions-header] .header-actions .partner-language-switcher :is(a,button) {
 display:inline-flex; align-items:center; justify-content:center; flex:1; min-width:38px; width:38px;
 min-height:22px; height:22px; padding:0; margin:0; border:0; border-radius:5px;
 background:transparent; color:#596579; font:700 12px/1 Arial,sans-serif; box-shadow:none; text-decoration:none;
}
.user-shell .cx-global-header.site-header[data-public-header][data-solutions-header] .header-actions .partner-language-switcher :is(a,button).is-active {
 background:#2f80ed; color:#fff;
}
