/* V1.3 Phase 5 - greeting, permissions, customer app, live notifications, PWA install */
.admin-area{background:linear-gradient(135deg,var(--admin-grad-start),var(--admin-grad-end)) fixed}
.admin-area .sidebar.modern-sidebar{background:linear-gradient(180deg,var(--sidebar-grad-start),var(--sidebar-grad-end))}
.admin-area .btn:not(.ghost):not(.danger):not(.ok):not(.blue){background:var(--app-accent)}
.side-user{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #ffffff14;background:#ffffff08}.side-user-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#ffffff12;font-size:20px}.side-user div{display:grid;min-width:0}.side-user small{color:#9fb1bf;font-size:10px}.side-user strong{padding:0!important;color:#fff!important;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-user span:not(.side-user-avatar){font-size:10px;color:#c1ced8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-group-items a{grid-template-columns:25px minmax(0,1fr) auto!important}.side-link-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-count{display:grid;place-items:center;min-width:22px;height:20px;padding:0 6px;border-radius:999px;color:#fff;font-size:10px;box-shadow:0 0 0 2px #ffffff12}.side-count.order{background:#ef6b2e}.side-count.payment{background:#2e87ef}.side-count[hidden]{display:none!important}
.dashboard-hello{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 20px;margin-bottom:14px;border-radius:20px;background:linear-gradient(120deg,color-mix(in srgb,var(--app-accent) 88%,#fff 12%),color-mix(in srgb,var(--app-accent) 62%,#2a1b12 38%));color:#fff;box-shadow:0 14px 35px #00000014}.dashboard-hello small{opacity:.8}.dashboard-hello h2{margin:2px 0 3px;font-size:24px}.dashboard-hello span{font-size:12px;opacity:.9}.dashboard-date{background:#ffffff18;border:1px solid #ffffff25;border-radius:13px;padding:9px 12px;font-size:12px;white-space:nowrap}
.live-alert-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.live-alert-card{display:flex;align-items:center;gap:13px;border-radius:18px;padding:15px 17px;color:#fff;box-shadow:var(--shadow)}.live-alert-card>span{font-size:28px}.live-alert-card div{display:grid}.live-alert-card small{opacity:.9}.live-alert-card b{font-size:25px}.live-alert-card.order{background:linear-gradient(135deg,#ff8a3d,#e34f24)}.live-alert-card.payment{background:linear-gradient(135deg,#4395ff,#275fc7)}
.dashboard-chart{overflow:hidden}.bar-chart-v5{height:245px;display:flex;align-items:flex-end;gap:12px;padding:14px 8px 32px;border-bottom:1px solid var(--line)}.bar-v5{position:relative;flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}.bar-v5>span{font-size:9px;margin-bottom:5px;color:var(--muted)}.bar-v5 i{display:block;width:min(48px,72%);min-height:4px;border-radius:10px 10px 3px 3px;background:linear-gradient(180deg,color-mix(in srgb,var(--app-accent) 60%,#fff 40%),var(--app-accent));box-shadow:0 5px 12px #0001}.bar-v5 small{position:absolute;bottom:-25px;color:#62574f}
.customer-area{background:linear-gradient(180deg,#f6f8ff,#fff7f1)}.customer-app-head{display:flex;justify-content:space-between;align-items:center;padding:22px;border-radius:26px;background:linear-gradient(135deg,#6d55ef,#8e79ff);color:#fff;box-shadow:0 17px 40px #6049d527;margin-bottom:15px}.customer-app-head small{opacity:.82}.customer-app-head h1{margin:2px 0;font-size:28px}.customer-app-head p{margin:4px 0 0;opacity:.85}.customer-avatar{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:#ffffff22;border:1px solid #ffffff35;font-size:28px}.customer-quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.customer-quick{display:grid;min-height:130px;align-content:center;justify-items:start;padding:17px;border-radius:22px;color:#fff;box-shadow:0 13px 30px #00000012;transition:.15s}.customer-quick:hover{transform:translateY(-2px)}.customer-quick>span{font-size:31px;margin-bottom:10px}.customer-quick b{font-size:15px}.customer-quick small{opacity:.82;margin-top:3px}.customer-quick.coffee{background:linear-gradient(135deg,#9b6742,#654128)}.customer-quick.orders{background:linear-gradient(135deg,#3188ef,#1b5fc4)}.customer-quick.points{background:linear-gradient(135deg,#ffb638,#e78a12)}.customer-quick.promo{background:linear-gradient(135deg,#ef5c9e,#c83b7a)}.customer-quick.profile{background:linear-gradient(135deg,#28b98c,#128365)}.customer-quick.logout{background:linear-gradient(135deg,#6e7785,#424b59)}.customer-order-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.customer-order-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.customer-empty{text-align:center;padding:35px}.customer-empty>span{font-size:46px}
.live-toast{position:fixed;right:20px;top:90px;z-index:9999;width:min(360px,calc(100vw - 30px));padding:14px 16px;border-radius:16px;color:#fff;box-shadow:0 18px 48px #0004;animation:toastIn .25s ease}.live-toast.order{background:linear-gradient(135deg,#f7823b,#d84822)}.live-toast.payment{background:linear-gradient(135deg,#3d90fa,#2859bb)}.live-toast.info{background:linear-gradient(135deg,#4b5968,#253241)}.live-toast strong{display:block;margin-bottom:3px}.live-toast small{opacity:.88}@keyframes toastIn{from{transform:translateY(-12px);opacity:0}to{transform:none;opacity:1}}
.pwa-install-bar{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:10000;width:min(650px,calc(100vw - 24px));display:grid;grid-template-columns:48px minmax(0,1fr) auto 28px;align-items:center;gap:10px;padding:10px 12px;border-radius:18px;background:#1f2934f2;color:#fff;box-shadow:0 18px 50px #0005;backdrop-filter:blur(14px);border:1px solid #ffffff18}.pwa-install-bar[hidden]{display:none}.pwa-install-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#ffffff12;font-size:24px}.pwa-install-copy{display:grid}.pwa-install-copy strong{font-size:13px}.pwa-install-copy small{font-size:10px;color:#cbd6df;margin-top:2px}.pwa-install-close{border:0;background:transparent;color:#d6e0e8;font-size:21px;cursor:pointer}
.theme-preview{height:95px;border-radius:17px;background:linear-gradient(135deg,var(--preview-a,#f7efe7),var(--preview-b,#fffdf9));border:1px solid var(--line);position:relative;overflow:hidden}.theme-preview:after{content:"Sidebar";position:absolute;inset:12px auto 12px 12px;width:90px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(180deg,var(--preview-s1,#233244),var(--preview-s2,#182635));color:#fff;font-size:11px}
.report-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.report-summary .card b{font-size:21px;display:block;margin-top:5px}
@media(max-width:900px){.customer-quick-grid{grid-template-columns:repeat(2,1fr)}.live-alert-grid{grid-template-columns:1fr}.dashboard-hello{align-items:flex-start}.bar-chart-v5{gap:7px}.report-summary{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.side-user{display:none}.customer-app-head{padding:18px}.customer-app-head h1{font-size:23px}.customer-quick-grid{grid-template-columns:repeat(2,1fr);gap:9px}.customer-quick{min-height:112px;padding:14px}.customer-order-card{align-items:flex-start;flex-direction:column}.dashboard-hello{padding:15px;flex-direction:column}.dashboard-date{align-self:flex-start}.pwa-install-bar{bottom:72px;grid-template-columns:42px minmax(0,1fr) auto 24px}.pwa-install-copy small{display:none}.bar-chart-v5{overflow-x:auto;justify-content:flex-start}.bar-v5{min-width:50px}.report-summary{grid-template-columns:1fr}}
@media print{.modern-sidebar,.topbar,.running-text,.footer,.mobile-nav,.pwa-install-bar,.no-print{display:none!important}.sidebar-layout{display:block!important}.container{max-width:none!important;padding:0!important}.admin-area{background:#fff!important}}
