/* MOONZON V118 dashboard layouts based on the supplied 2x2 reference montage */
:root{--mz-v118-purple:#26053a;--mz-v118-purple2:#501064;--mz-v118-gold:#efbd37;--mz-v118-cream:#fffaf1;--mz-v118-line:#eadfc9;--mz-v118-shadow:0 8px 24px rgba(33,12,44,.09)}
#customerDashboard .mz-dashboard-shell,#sellerSection .mz-dashboard-shell,#adminSection .mz-dashboard-shell{display:grid;grid-template-columns:244px minmax(0,1fr);gap:0;min-height:680px;border:1px solid var(--mz-v118-line);border-radius:18px;overflow:hidden;background:var(--mz-v118-cream);box-shadow:var(--mz-v118-shadow)}
.mz-dashboard-sidebar{display:flex;flex-direction:column;min-width:0;padding:18px 12px;background:linear-gradient(180deg,#250536,#3b0b50 65%,#21042f);color:#fff}
.mz-sidebar-brand{display:flex;align-items:center;gap:10px;padding:4px 8px 20px;border-bottom:1px solid #ffffff24;color:#fff}.mz-sidebar-brand b{display:block;color:#ffd65f;font-size:18px;letter-spacing:.5px}.mz-sidebar-brand small{display:block;margin-top:3px;color:#f5e7ff;font-size:11px}.mz-sidebar-logo{display:grid;place-items:center;width:38px;height:38px;border:2px solid #f2c64e;border-radius:11px;color:#ffd65f;font-size:23px;font-weight:900;box-shadow:inset 0 0 0 2px #ffffff15}
.mz-sidebar-nav{display:grid;gap:5px;padding-top:16px}.mz-side-link{display:flex;align-items:center;gap:11px;min-height:41px;padding:9px 10px;border-radius:9px;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:700;transition:background .15s,transform .15s}.mz-side-link:hover,.mz-side-link:focus-visible{background:#ffffff1c;outline:1px solid #efbd37;transform:translateX(2px)}.mz-side-icon{display:grid;place-items:center;flex:0 0 22px;height:22px;border-radius:6px;background:#ffffff18;color:#ffd45c;font-size:16px}.mz-sidebar-foot{margin-top:auto;padding:18px 8px 4px;color:#d8c3e5;font-size:10px;line-height:1.5}
.mz-dashboard-content{min-width:0;background:linear-gradient(145deg,#fffdf8,#f7f0e4)}.mz-dashboard-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 26px;background:#fffdf8;border-bottom:1px solid var(--mz-v118-line)}.mz-dashboard-eyebrow{font-size:10px;font-weight:900;letter-spacing:1.3px;color:#986f25}.mz-dashboard-topbar h1{margin:5px 0 3px;font-size:26px;line-height:1.2;color:#2d1240;font-weight:900}.mz-dashboard-topbar p{margin:0;color:#796b7d;font-size:13px}.mz-dashboard-top-actions{display:flex;align-items:center;gap:8px;white-space:nowrap;color:#65566c;font-size:11px;font-weight:800;padding:9px 12px;border:1px solid #e9dfd0;border-radius:22px;background:#fff}.mz-live-dot{width:8px;height:8px;border-radius:50%;background:#23a66b;box-shadow:0 0 0 4px #23a66b20}.mz-dashboard-body{min-width:0;padding:20px 22px 28px}.mz-dashboard-body>.panel,.mz-dashboard-body>div.panel{margin:0 0 16px!important;padding:19px!important;border:1px solid var(--mz-v118-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 4px 16px rgba(40,20,35,.045)!important;color:#2d2530!important}.mz-dashboard-body h2{font-size:19px;font-weight:900}.mz-dashboard-body h3{font-size:15px;font-weight:850}.mz-dashboard-body form{min-width:0}.mz-dashboard-body input,.mz-dashboard-body select,.mz-dashboard-body textarea{max-width:100%;box-sizing:border-box}.mz-dashboard-body table{min-width:650px}
/* Customer: purple/gold account workspace */
body.portal-customer #customerDashboard .mz-dashboard-sidebar{background:linear-gradient(180deg,#31063f,#551064 72%,#260536)}body.portal-customer #customerDashboard .mz-sidebar-brand b{color:#ffdc75}body.portal-customer #customerDashboard .mz-side-link:first-child{background:linear-gradient(100deg,#f3c94e,#ffdf83);color:#32103d!important}body.portal-customer #customerDashboard .mz-side-link:first-child .mz-side-icon{background:#ffffff70;color:#3b1646}body.portal-customer #customerDashboard .mz-dashboard-topbar{background:linear-gradient(100deg,#fff4d9,#fffdf8)}body.portal-customer #customerDashboard .mz-dashboard-topbar h1,body.portal-customer #customerDashboard .mz-dashboard-body h2,body.portal-customer #customerDashboard .mz-dashboard-body h3{color:#51105d!important}body.portal-customer #customerDashboard .shop-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(110deg,#fff0c8,#fffaf0)!important;border:1px solid #e8cf91!important;border-radius:14px!important;padding:17px!important;margin-bottom:16px!important}body.portal-customer #customerDashboard .shop-heading h2{font-size:24px!important;margin:2px 0!important}body.portal-customer #customerDashboard #customerProfileForm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}body.portal-customer #customerDashboard #customerProfileForm label{align-self:end}body.portal-customer #customerDashboard #customerProfileForm textarea,body.portal-customer #customerDashboard #customerProfileForm button{grid-column:1/-1}body.portal-customer #customerDashboard .customer-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important}body.portal-customer #customerDashboard .customer-actions button{min-width:0!important;background:linear-gradient(120deg,#fff0c2,#e7bf58)!important;color:#391345!important;border:1px solid #d6b04f!important;border-radius:10px!important;font-weight:850!important;padding:12px 8px!important}
/* Seller: green/mint workspace */
body.portal-seller #sellerSection .mz-dashboard-sidebar{background:linear-gradient(180deg,#063c2d,#07573f 70%,#043324)}body.portal-seller #sellerSection .mz-sidebar-brand b{color:#c5f2d3}body.portal-seller #sellerSection .mz-side-link:first-child{background:linear-gradient(100deg,#b9edca,#e0f8e6);color:#06432f!important}body.portal-seller #sellerSection .mz-side-link:first-child .mz-side-icon{background:#ffffff8a;color:#06432f}body.portal-seller #sellerSection .mz-dashboard-topbar{background:linear-gradient(100deg,#e7f8eb,#fffdf8)}body.portal-seller #sellerSection .mz-dashboard-topbar h1,body.portal-seller #sellerSection .mz-dashboard-body h2,body.portal-seller #sellerSection .mz-dashboard-body h3{color:#07563e!important}body.portal-seller #sellerSection .mz-dashboard-body>.panel:first-child{background:linear-gradient(110deg,#eaf9ed,#fff)!important;border-color:#c7e7d0!important}body.portal-seller #sellerSection .seller-hub-nav{display:none!important}body.portal-seller #sellerSection .workflow-steps{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}body.portal-seller #sellerSection .workflow-step{min-width:0;background:#f0fff4;border:1px solid #c5e5ce;border-radius:10px;padding:10px;color:#164a34}
/* Admin: navy/plum/gold control center */
body.portal-admin #adminSection .mz-dashboard-sidebar{background:linear-gradient(180deg,#101f42,#28103f 75%,#150a2c)}body.portal-admin #adminSection .mz-sidebar-brand b{color:#f6cc59}body.portal-admin #adminSection .mz-side-link:first-child{background:linear-gradient(100deg,#f3c64c,#ffe18a);color:#27163e!important}body.portal-admin #adminSection .mz-side-link:first-child .mz-side-icon{background:#ffffff80;color:#27163e}body.portal-admin #adminSection .mz-dashboard-topbar{background:linear-gradient(100deg,#e9edf6,#fffdf8)}body.portal-admin #adminSection .mz-dashboard-topbar h1,body.portal-admin #adminSection .mz-dashboard-body h2,body.portal-admin #adminSection .mz-dashboard-body h3{color:#172e55!important}body.portal-admin #adminSection .admin-nav{display:none!important}
/* Shared data tables and responsive layout */
#customerDashboard .mz-dashboard-body table,#sellerSection .mz-dashboard-body table,#adminSection .mz-dashboard-body table{border-collapse:separate!important;border-spacing:0!important;border:1px solid #e5d6b9!important;border-radius:11px!important;overflow:hidden;background:#fff!important}#customerDashboard .mz-dashboard-body thead th,#sellerSection .mz-dashboard-body thead th,#adminSection .mz-dashboard-body thead th{background:linear-gradient(100deg,#f8e8b9,#e8c96e)!important;color:#35223e!important;font-weight:900!important;padding:12px!important;white-space:nowrap!important;border-bottom:1px solid #d9bf79!important}#customerDashboard .mz-dashboard-body tbody td,#sellerSection .mz-dashboard-body tbody td,#adminSection .mz-dashboard-body tbody td{padding:11px 12px!important;border-bottom:1px solid #f0e8dc!important}#customerDashboard .mz-dashboard-body tbody tr:nth-child(even),#sellerSection .mz-dashboard-body tbody tr:nth-child(even),#adminSection .mz-dashboard-body tbody tr:nth-child(even){background:#fffaf1!important}.mz-dashboard-body [style*="overflow-x"],.mz-dashboard-body [style*="overflow: auto"]{max-width:100%;overflow-x:auto!important}
@media(max-width:900px){#customerDashboard .mz-dashboard-shell,#sellerSection .mz-dashboard-shell,#adminSection .mz-dashboard-shell{grid-template-columns:190px minmax(0,1fr)}.mz-dashboard-sidebar{padding:13px 8px}.mz-dashboard-body{padding:14px}.mz-dashboard-topbar{padding:17px}.mz-dashboard-topbar h1{font-size:22px}body.portal-seller #sellerSection .workflow-steps{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){#customerDashboard .mz-dashboard-shell,#sellerSection .mz-dashboard-shell,#adminSection .mz-dashboard-shell{grid-template-columns:minmax(0,1fr);border-radius:12px}.mz-dashboard-sidebar{padding:10px 10px 8px}.mz-sidebar-brand{padding:2px 5px 10px}.mz-sidebar-nav{display:flex;gap:6px;overflow-x:auto;padding:10px 0 3px;scrollbar-width:thin}.mz-side-link{flex:0 0 auto;min-height:34px;padding:7px 9px;font-size:11px;white-space:nowrap}.mz-sidebar-foot{display:none}.mz-dashboard-topbar{padding:14px;align-items:flex-start}.mz-dashboard-topbar h1{font-size:20px}.mz-dashboard-topbar p{font-size:11px}.mz-dashboard-top-actions{display:none}.mz-dashboard-body{padding:10px}.mz-dashboard-body>.panel,.mz-dashboard-body>div.panel{padding:13px!important}body.portal-customer #customerDashboard #customerProfileForm{grid-template-columns:minmax(0,1fr)}body.portal-customer #customerDashboard .customer-actions{grid-template-columns:repeat(2,minmax(0,1fr))}body.portal-seller #sellerSection .workflow-steps{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* Preserve the application's hide/show authentication gate despite dashboard layout specificity. */
body.portal-customer #customerDashboard.hide,body.portal-seller #sellerSection.hide,body.portal-admin #adminSection.hide{display:none!important}
