:root{--navy:#07162f;--navy2:#10294f;--blue:#1468e8;--blue2:#0e55c2;--cyan:#0ca5a8;--green:#14805e;--orange:#e57916;--red:#d84444;--ink:#10213d;--muted:#68758a;--line:#e7ebf2;--soft:#f5f7fb;--white:#fff;--shadow:0 18px 50px rgba(16,33,61,.09);--radius:18px}*{box-sizing:border-box}html{font-family:"IBM Plex Sans Arabic",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);background:#fff}body{margin:0;min-height:100vh;background:#fff}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(360px,44%) 1fr}.auth-brand{position:relative;padding:42px 54px;color:#fff;background:radial-gradient(circle at 20% 85%,rgba(12,165,168,.4),transparent 32%),radial-gradient(circle at 78% 14%,rgba(20,104,232,.55),transparent 34%),linear-gradient(145deg,#07162f,#10294f 62%,#083c69);overflow:hidden}.auth-brand:before,.auth-brand:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.09);border-radius:50%}.auth-brand:before{width:480px;height:480px;left:-260px;bottom:-180px}.auth-brand:after{width:320px;height:320px;right:-170px;top:16%}.auth-brand>div:first-of-type,.side-brand{display:flex;align-items:center;gap:12px}.brand-mark{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-weight:900;font-size:25px;background:linear-gradient(145deg,#38c8cb,#1680ff);box-shadow:0 12px 30px rgba(12,165,168,.25)}.brand-mark.small{width:42px;height:42px;border-radius:12px}.auth-brand>div:first-of-type div,.side-brand div{display:flex;flex-direction:column}.auth-brand strong{font-size:18px}.auth-brand span{font-size:12px;color:#b9c7dd}.brand-message{position:absolute;right:54px;left:54px;top:50%;transform:translateY(-36%);z-index:1}.brand-message h1{font-size:clamp(40px,4vw,66px);line-height:1.16;margin:24px 0 16px;letter-spacing:-2px}.brand-message p{font-size:18px;color:#c8d5e8;line-height:1.8;max-width:530px}.live-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border:1px solid rgba(255,255,255,.18);border-radius:99px;background:rgba(255,255,255,.07)!important}.live-pill i,.status-dot,.sync-state i{width:8px;height:8px;border-radius:50%;background:#2bdb9b;box-shadow:0 0 0 5px rgba(43,219,155,.13)}.auth-features{display:flex;gap:18px;flex-wrap:wrap;margin-top:28px}.auth-features span{color:#dce6f4}.auth-panel{display:grid;place-items:center;padding:32px;background:#fff}.auth-card{width:min(450px,100%)}.auth-card .eyebrow,.eyebrow{display:block;color:var(--blue);font-size:12px;font-weight:800;letter-spacing:.4px;margin-bottom:10px}.auth-card h2{font-size:34px;margin:0 0 8px}.auth-card>p{color:var(--muted);margin:0 0 30px}.auth-card label,.field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:700;margin-bottom:16px}.auth-card input,.field input,.field select,.field textarea,.search,input,select,textarea{width:100%;border:1px solid var(--line);background:#fff;color:var(--ink);padding:13px 14px;border-radius:12px;outline:0;transition:.2s}.auth-card input:focus,.field input:focus,.field select:focus,.field textarea:focus,.search:focus{border-color:#75aaf3;box-shadow:0 0 0 4px rgba(20,104,232,.08)}.password-wrap{position:relative}.password-wrap button{position:absolute;left:7px;top:7px;border:0;background:transparent;padding:8px;color:var(--muted)}.btn{border:0;border-radius:12px;padding:11px 16px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.18s}.btn:hover{transform:translateY(-1px)}.btn:disabled{opacity:.55;cursor:wait;transform:none}.btn.primary{background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;box-shadow:0 9px 20px rgba(20,104,232,.2)}.btn.secondary{background:var(--navy);color:#fff}.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}.btn.soft{background:#eaf2ff;color:#125bbf}.btn.danger{background:#fff1f1;color:var(--red);border:1px solid #ffdada}.btn.success{background:#eaf8f2;color:var(--green)}.btn.small{padding:8px 11px;font-size:12px}.btn.wide{width:100%;margin-top:7px;padding:14px}.form-note{display:block;text-align:center;margin-top:20px;color:var(--muted)}.loading-card{text-align:center}.loader{width:40px;height:40px;border:3px solid #dbe8f8;border-top-color:var(--blue);border-radius:50%;display:inline-block;animation:spin .8s linear infinite}.workspace{display:flex;min-height:100vh}.sidebar{width:260px;background:var(--navy);color:#fff;padding:24px 17px;display:flex;flex-direction:column;position:fixed;inset-block:0;right:0;z-index:30}.side-brand{padding:0 7px 26px}.side-brand strong{font-size:16px}.side-brand span{font-size:11px;color:#91a2bd;margin-top:3px}.side-brand #side-close{margin-right:auto;color:#fff}.sidebar nav{display:flex;flex-direction:column;gap:5px;overflow:auto}.nav-label{color:#6f83a3;font-size:10px;font-weight:800;padding:12px 12px 7px;letter-spacing:.5px}.nav-item{width:100%;border:0;background:transparent;color:#aebbd0;border-radius:11px;padding:11px 12px;display:flex;align-items:center;gap:11px;text-align:right;font-weight:700;font-size:13px}.nav-item:hover{background:rgba(255,255,255,.06);color:#fff}.nav-item.active{background:linear-gradient(90deg,rgba(20,104,232,.3),rgba(12,165,168,.14));color:#fff;box-shadow:inset -3px 0 #2eaaf1}.nav-item .ico{width:22px;text-align:center;font-size:17px}.nav-item b{margin-right:auto;background:#e64a5b;color:#fff;border-radius:20px;padding:2px 7px;font-size:10px}.system-card{margin-top:auto;display:flex;gap:11px;align-items:center;padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:13px;background:rgba(255,255,255,.04)}.system-card div{display:flex;flex-direction:column}.system-card strong{font-size:12px}.system-card small{font-size:10px;color:#8193af;margin-top:3px}.logout{border:0;background:transparent;color:#93a5bf;padding:15px 10px 0;display:flex;justify-content:space-between;font-size:12px}.main{width:calc(100% - 260px);margin-right:260px;min-height:100vh;background:#fff}.topbar{height:80px;display:flex;align-items:center;gap:18px;padding:0 30px;border-bottom:1px solid var(--line);position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:20}.page-title{display:flex;flex-direction:column;gap:3px}.page-title span{font-size:10px;color:var(--muted)}.page-title h2{font-size:19px;margin:0}.top-actions{margin-right:auto;display:flex;align-items:center;gap:9px}.icon-btn{width:40px;height:40px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);display:grid;place-items:center;font-size:18px}.bell{position:relative}.bell b{position:absolute;top:-4px;left:-4px;background:var(--red);color:#fff;border:2px solid #fff;border-radius:20px;min-width:18px;height:18px;font-size:9px;display:grid;place-items:center}.sync-state{display:flex;align-items:center;gap:8px;border-left:1px solid var(--line);padding-left:15px;color:var(--muted);font-size:11px}.sync-state i{width:6px;height:6px}.profile{display:flex;align-items:center;gap:9px;border:0;background:transparent;padding:3px 8px}.profile>span{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,#dceaff,#edf7ff);color:var(--blue);font-weight:900}.profile div{display:flex;flex-direction:column;align-items:flex-start}.profile strong{font-size:12px}.profile small{font-size:10px;color:var(--muted);margin-top:2px}.content{padding:28px 30px 50px;max-width:1600px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:23px}.page-head h1{font-size:27px;margin:0 0 7px;letter-spacing:-.4px}.page-head p{margin:0;color:var(--muted);font-size:13px}.actions{display:flex;gap:8px;flex-wrap:wrap}.hero{background:radial-gradient(circle at 8% 15%,rgba(27,139,242,.18),transparent 30%),linear-gradient(120deg,var(--navy),#123a67);color:#fff;border-radius:22px;padding:28px;display:grid;grid-template-columns:1.4fr .7fr;gap:20px;box-shadow:var(--shadow);margin-bottom:22px;overflow:hidden}.hero h2{font-size:29px;margin:7px 0}.hero p{color:#cbd6e5;margin:0}.hero-meta{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}.hero-meta span{padding:7px 11px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.06);border-radius:10px;font-size:11px}.hero-side{border-right:1px solid rgba(255,255,255,.12);padding-right:22px;display:flex;flex-direction:column;justify-content:center}.hero-side small{color:#9fb1ca}.hero-side b{font-size:30px;margin:4px 0}.hero-side span{color:#d4deeb;font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:20px}.stat{border:1px solid var(--line);border-radius:15px;padding:17px;background:#fff;display:flex;align-items:center;gap:13px;min-height:93px}.stat .stat-icon{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;background:#eaf2ff;color:var(--blue);font-size:20px}.stat.warn .stat-icon{background:#fff3e8;color:var(--orange)}.stat.danger .stat-icon{background:#fff0f0;color:var(--red)}.stat.good .stat-icon{background:#eaf8f2;color:var(--green)}.stat div{display:flex;flex-direction:column}.stat b{font-size:24px}.stat small{color:var(--muted);font-size:11px;margin-top:4px}.grid-2{display:grid;grid-template-columns:1.35fr .85fr;gap:16px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel.pad{padding:20px}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--line)}.panel-head h3{font-size:15px;margin:0}.panel-head p{font-size:11px;color:var(--muted);margin:4px 0 0}.toolbar{display:flex;gap:9px;align-items:center;margin:0 0 15px;flex-wrap:wrap}.toolbar .search{max-width:360px}.toolbar select{width:auto;min-width:150px}.toolbar .actions{margin-right:auto}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:720px}.table th{text-align:right;padding:12px 16px;background:#fafbfc;color:#738097;font-size:10px;border-bottom:1px solid var(--line);white-space:nowrap}.table td{padding:14px 16px;border-bottom:1px solid #eef1f5;font-size:12px;vertical-align:middle}.table tr:last-child td{border-bottom:0}.table tr:hover td{background:#fcfdff}.cell-title{display:flex;align-items:center;gap:10px}.cell-title .item-dot{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;background:#eef5ff;color:var(--blue);font-weight:900}.cell-title div{display:flex;flex-direction:column}.cell-title small{color:var(--muted);margin-top:3px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:5px 9px;font-size:10px;font-weight:800;background:#eef2f8;color:#59667a;white-space:nowrap}.badge:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.badge.good{background:#eaf8f2;color:var(--green)}.badge.warn{background:#fff4e8;color:#b86612}.badge.danger{background:#fff0f0;color:var(--red)}.badge.info{background:#eaf2ff;color:var(--blue)}.progress{height:6px;background:#edf0f5;border-radius:9px;overflow:hidden;margin-top:7px;width:110px}.progress i{height:100%;display:block;background:linear-gradient(90deg,var(--blue),var(--cyan));border-radius:9px}.empty{text-align:center;padding:50px 20px;color:var(--muted)}.empty span{width:55px;height:55px;border-radius:16px;background:var(--soft);display:grid;place-items:center;margin:0 auto 12px;font-size:24px}.empty h3{color:var(--ink);font-size:15px;margin:0 0 6px}.empty p{font-size:12px;margin:0}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.service-card{border:1px solid var(--line);border-radius:16px;padding:20px;background:#fff;transition:.2s;text-align:right}.service-card:hover{border-color:#b8d1f4;box-shadow:0 12px 28px rgba(16,33,61,.08);transform:translateY(-2px)}.service-card > span{width:42px;height:42px;border-radius:12px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center;font-size:19px}.service-card h3{font-size:15px;margin:16px 0 6px}.service-card p{font-size:11px;color:var(--muted);margin:0;line-height:1.7}.order-card{border:1px solid var(--line);border-radius:15px;padding:16px;display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center;margin-bottom:10px}.order-number{width:48px;height:48px;border-radius:13px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center;font-weight:900}.order-card h4{margin:0 0 5px;font-size:14px}.order-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}.order-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.inventory-summary{display:grid;grid-template-columns:1fr 1fr;gap:16px}.stock-ring{display:grid;place-items:center;padding:22px}.ring{width:150px;height:150px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--blue) calc(var(--p)*1%),#edf1f7 0);position:relative}.ring:after{content:"";position:absolute;inset:13px;background:#fff;border-radius:50%}.ring div{position:relative;z-index:1;text-align:center}.ring b{font-size:28px;display:block}.ring small{color:var(--muted)}.movement-list{display:flex;flex-direction:column}.movement{display:grid;grid-template-columns:auto 1fr auto;gap:11px;padding:13px 0;border-bottom:1px solid var(--line);align-items:center}.movement:last-child{border:0}.movement>span{width:33px;height:33px;border-radius:10px;display:grid;place-items:center;background:#eaf8f2;color:var(--green)}.movement.out>span{background:#fff1f1;color:var(--red)}.movement h4{font-size:12px;margin:0 0 3px}.movement p{font-size:10px;color:var(--muted);margin:0}.movement b{font-size:12px}.timeline{display:flex;align-items:flex-start;gap:0;margin:22px 0}.timeline .step{flex:1;position:relative;text-align:center}.timeline .step:before{content:"";position:absolute;top:15px;right:50%;width:100%;height:2px;background:#e5e9f0}.timeline .step:first-child:before{display:none}.timeline .dot{position:relative;z-index:1;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;margin:auto;background:#eef1f5;color:#8a96a8;font-size:11px;font-weight:900}.timeline .step.done .dot,.timeline .step.current .dot{background:var(--blue);color:#fff}.timeline .step.done:before,.timeline .step.current:before{background:var(--blue)}.timeline strong{display:block;font-size:10px;margin-top:8px}.timeline small{font-size:9px;color:var(--muted)}.notice{padding:13px;border:1px solid var(--line);border-radius:13px;margin-bottom:9px;display:flex;gap:11px;align-items:flex-start}.notice>span{width:34px;height:34px;border-radius:10px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center}.notice h4{font-size:12px;margin:0 0 4px}.notice p{font-size:11px;color:var(--muted);margin:0;line-height:1.6}.notice time{font-size:9px;color:#99a3b2;margin-right:auto;white-space:nowrap}.backdrop{position:fixed;inset:0;background:rgba(3,13,29,.52);backdrop-filter:blur(3px);z-index:60}.modal{position:fixed;z-index:70;width:min(600px,calc(100% - 28px));max-height:calc(100vh - 40px);overflow:auto;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border-radius:20px;box-shadow:0 30px 80px rgba(0,0,0,.22)}.modal>header{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.modal>header span{color:var(--blue);font-size:10px;font-weight:800}.modal>header h3{margin:4px 0 0;font-size:19px}.modal-body,#modal-body{padding:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.field.full{grid-column:1/-1}.field textarea{min-height:92px;resize:vertical}.modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.result{text-align:center;padding:5px}.result-icon{width:68px;height:68px;border-radius:20px;display:grid;place-items:center;margin:0 auto 15px;background:#eaf8f2;color:var(--green);font-size:30px}.result h3{font-size:20px}.result p{color:var(--muted);font-size:12px;line-height:1.8}.detail-box{background:var(--soft);border-radius:13px;padding:14px;margin-top:13px;text-align:right}.detail-box div{display:flex;justify-content:space-between;padding:6px;font-size:11px}.detail-box span{color:var(--muted)}.toasts{position:fixed;left:22px;bottom:22px;z-index:90;display:flex;flex-direction:column;gap:8px}.toast{background:var(--navy);color:#fff;border-radius:12px;padding:12px 15px;box-shadow:var(--shadow);font-size:12px;animation:toastIn .25s ease;display:flex;gap:9px;align-items:center}.toast.error{background:#9c2633}.toast.success{background:#12674e}.mobile-only{display:none}.skeleton{background:linear-gradient(90deg,#f1f3f7,#fafbfc,#f1f3f7);background-size:200% 100%;animation:shimmer 1.2s infinite;border-radius:8px}.mini-chart{height:125px;display:flex;align-items:flex-end;gap:8px;padding-top:16px}.mini-chart i{flex:1;background:linear-gradient(180deg,#398aef,#cfe3ff);border-radius:7px 7px 2px 2px;min-height:12px}.section-space{margin-top:18px}.danger-text{color:var(--red)!important}.muted{color:var(--muted)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{to{background-position:-200% 0}}@keyframes toastIn{from{opacity:0;transform:translateY(8px)}}
@media(max-width:1100px){.stats{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:repeat(2,1fr)}.grid-2{grid-template-columns:1fr}.auth-shell{grid-template-columns:40% 60%}.inventory-summary{grid-template-columns:1fr}}
@media(max-width:760px){.auth-shell{display:block}.auth-brand{display:none}.auth-panel{min-height:100vh;padding:25px}.sidebar{transform:translateX(105%);transition:.25s;width:min(285px,86vw);box-shadow:-20px 0 50px rgba(0,0,0,.2)}.sidebar.open{transform:none}.main{width:100%;margin:0}.mobile-only{display:grid}.topbar{height:68px;padding:0 13px;gap:9px}.page-title span,.sync-state,.profile div{display:none}.page-title h2{font-size:15px}.top-actions{gap:5px}.profile{padding:0}.profile>span{width:38px;height:38px}.content{padding:20px 13px 40px}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:23px}.hero{grid-template-columns:1fr;padding:22px}.hero-side{border-right:0;border-top:1px solid rgba(255,255,255,.12);padding:16px 0 0}.stats{grid-template-columns:1fr 1fr;gap:9px}.stat{padding:13px;min-height:82px}.stat b{font-size:20px}.stat .stat-icon{width:37px;height:37px}.cards{grid-template-columns:1fr}.toolbar .search{max-width:none}.toolbar>*{flex:1}.toolbar .actions{width:100%}.order-card{grid-template-columns:auto 1fr}.order-actions{grid-column:1/-1;justify-content:flex-start}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.modal{top:auto;bottom:0;transform:translateX(-50%);width:100%;max-height:88vh;border-radius:22px 22px 0 0}.modal>header{padding:17px}.modal-body,#modal-body{padding:17px}.timeline strong{font-size:9px}.timeline small{display:none}.toasts{right:13px;left:13px;bottom:13px}.toast{width:100%}}

/* Event identity and refined interaction system */
.brand-lockup{display:flex;align-items:center;gap:15px;position:relative;z-index:2}.brand-lockup>img{width:128px;height:64px;object-fit:contain;filter:drop-shadow(0 8px 15px rgba(0,0,0,.22))}.brand-lockup div{display:flex;flex-direction:column}.auth-brand{display:flex;flex-direction:column}.brand-message{position:relative;inset:auto;transform:none;margin:auto 0;max-width:700px}.brand-message h1{font-size:clamp(36px,4vw,60px);margin:18px 0 12px}.brand-message p{margin-bottom:0}.event-partners{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:25px}.partner-card{min-width:0;display:flex;align-items:center;gap:10px;padding:10px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background:rgba(255,255,255,.07);backdrop-filter:blur(8px)}.partner-card img{width:43px;height:43px;object-fit:contain;border-radius:10px;background:#fff;padding:3px}.partner-card.sponsor img{background:#06140d}.partner-card div{display:flex;flex-direction:column;min-width:0}.partner-card small{font-size:9px;color:#91a9c7}.partner-card strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auth-panel{position:relative}.auth-trust{position:absolute;bottom:22px;display:flex;align-items:center;gap:10px;color:var(--muted);font-size:10px}.auth-trust img{width:66px;height:28px;object-fit:contain}.side-event-logo{width:62px;height:38px;object-fit:contain;filter:drop-shadow(0 5px 9px rgba(0,0,0,.25))}.event-context{min-height:64px;padding:9px 30px;display:flex;align-items:center;gap:22px;border-bottom:1px solid var(--line);background:linear-gradient(90deg,#fbfdff,#fff);position:relative;z-index:10}.event-context-title{display:flex;align-items:center;gap:11px;padding-left:20px;border-left:1px solid var(--line)}.event-context-title>img{width:94px;height:42px;object-fit:contain}.event-context-title div{display:flex;flex-direction:column;white-space:nowrap}.event-context-title strong{font-size:12px}.event-context-title small{font-size:9px;color:var(--muted);margin-top:3px}.context-partners{display:flex;align-items:center;gap:9px;overflow-x:auto;scrollbar-width:none}.context-partners::-webkit-scrollbar{display:none}.context-partners>span{display:flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #e8edf5;background:#fff;border-radius:11px;color:#4d5d73;font-size:10px;white-space:nowrap}.context-partners img{width:27px;height:27px;object-fit:contain;border-radius:6px}.context-partners b{color:var(--blue);font-size:9px}.content{background:radial-gradient(circle at 92% 0,rgba(20,104,232,.035),transparent 24%),#fff}.page-head{padding:4px 0 2px}.page-head h1{position:relative;padding-right:15px}.page-head h1:before{content:"";position:absolute;right:0;top:4px;bottom:3px;width:4px;border-radius:4px;background:linear-gradient(var(--blue),var(--cyan))}.btn{min-height:42px;position:relative;overflow:hidden;border:1px solid transparent;box-shadow:0 5px 13px rgba(16,33,61,.07);letter-spacing:.05px}.btn:after{content:"";position:absolute;inset:-60% auto -60% -35%;width:28%;transform:rotate(18deg);background:rgba(255,255,255,.24);transition:left .35s ease}.btn:hover:after{left:120%}.btn:active{transform:translateY(0) scale(.98)}.btn:focus-visible,.icon-btn:focus-visible,.nav-item:focus-visible{outline:3px solid rgba(20,104,232,.22);outline-offset:2px}.btn.small{min-height:34px}.btn.ghost{box-shadow:0 3px 10px rgba(16,33,61,.05)}.icon-btn{transition:.18s;box-shadow:0 3px 12px rgba(16,33,61,.05)}.icon-btn:hover{border-color:#bad3f7;color:var(--blue);background:#f6faff;transform:translateY(-1px)}.nav-item{min-height:43px;transition:.18s}.panel,.stat,.service-card,.order-card{box-shadow:0 7px 24px rgba(16,33,61,.045)}.stat{position:relative;overflow:hidden}.stat:after{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(var(--blue),var(--cyan));opacity:.55}.table th{font-weight:900;letter-spacing:.1px}.table td{line-height:1.55}.live-notification{position:fixed;z-index:85;left:24px;top:96px;width:min(410px,calc(100vw - 28px));background:#fff;border:1px solid #dce8f7;border-radius:19px;box-shadow:0 25px 70px rgba(7,22,47,.22);overflow:hidden;transform:translateY(-18px) scale(.97);opacity:0;transition:.3s cubic-bezier(.2,.8,.2,1)}.live-notification.show{transform:none;opacity:1}.live-note-accent{height:5px;background:linear-gradient(90deg,var(--blue),var(--cyan))}.live-notification.urgent .live-note-accent{background:linear-gradient(90deg,#ed5b3d,#f0a51a)}.live-notification>header{display:flex;align-items:center;gap:11px;padding:15px 15px 8px}.live-note-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#eaf2ff;color:var(--blue);font-size:22px;animation:bellPulse 1.3s ease 2}.live-notification.urgent .live-note-icon{background:#fff1e9;color:#df611c}.live-notification>header>div{display:flex;flex-direction:column;gap:3px;min-width:0}.live-notification>header small{font-size:9px;color:var(--blue);font-weight:900}.live-notification>header strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-notification>header button{margin-right:auto;width:34px;height:34px}.live-notification>p{margin:8px 70px 11px 15px;color:#536176;font-size:12px;line-height:1.75}.live-notification>footer{display:flex;align-items:center;justify-content:space-between;padding:11px 15px;background:#f8faff;border-top:1px solid #ebf0f6}.live-notification time{font-size:9px;color:#8a96a8}@keyframes bellPulse{50%{transform:rotate(-11deg) scale(1.08)}}
@media(max-height:820px) and (min-width:761px){.event-partners{margin-top:15px}.partner-card{padding:7px}.partner-card img{width:36px;height:36px}.brand-message h1{font-size:38px}.brand-message p{font-size:14px}.auth-features{margin-top:15px}}
@media(max-width:1100px) and (min-width:761px){.event-partners{grid-template-columns:1fr}.partner-card:nth-child(n+2){display:none}.event-context-title div{display:none}}
@media(max-width:760px){.auth-shell{display:flex;flex-direction:column}.auth-brand{display:flex;min-height:auto;padding:22px 17px}.brand-lockup>img{width:102px;height:49px}.brand-message{margin:22px 0 0}.brand-message h1{font-size:31px;letter-spacing:-1px;margin:13px 0 8px}.brand-message p{font-size:13px;line-height:1.65}.auth-features{margin-top:13px;gap:10px}.auth-features span{font-size:10px}.event-partners{margin-top:15px;gap:7px}.partner-card{flex-direction:column;text-align:center;gap:5px;padding:7px 4px}.partner-card img{width:39px;height:39px}.partner-card div{align-items:center;width:100%}.partner-card small{font-size:7px}.partner-card strong{font-size:8px;max-width:100%}.auth-panel{min-height:640px;padding-bottom:85px}.auth-trust{bottom:20px;right:25px;left:25px;justify-content:center;text-align:center}.event-context{padding:8px 13px;gap:10px;min-height:56px;overflow:hidden}.event-context-title{padding-left:10px}.event-context-title>img{width:70px;height:34px}.event-context-title div{display:none}.context-partners{gap:6px}.context-partners>span{padding:5px 8px;font-size:9px}.context-partners>span b{display:none}.context-partners img{width:23px;height:23px}.live-notification{left:14px;right:14px;top:78px;width:auto}.live-notification>p{margin-right:15px}.content{padding-top:17px}.page-head .actions{width:100%}.page-head .actions .btn{flex:1}.btn{min-height:44px}}

/* 2026 living operations experience */
body{background:linear-gradient(180deg,#f8fbff 0,#fff 38%,#f8fafc 100%)}
.main{background:transparent}.content{background:radial-gradient(circle at 90% 0,rgba(20,104,232,.055),transparent 26%),radial-gradient(circle at 5% 32%,rgba(12,165,168,.04),transparent 22%);min-height:calc(100vh - 145px)}
.page-enter>*{animation:pageRise .36s cubic-bezier(.2,.75,.2,1) both}.page-enter>*:nth-child(2){animation-delay:.035s}.page-enter>*:nth-child(3){animation-delay:.07s}.page-enter>*:nth-child(4){animation-delay:.105s}
@keyframes pageRise{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
.panel,.stat,.service-card,.order-card{transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}.panel:hover{border-color:#dce7f5;box-shadow:0 14px 34px rgba(16,33,61,.07)}.service-card:hover,.order-card:hover{transform:translateY(-3px);border-color:#bfd4f2;box-shadow:0 16px 32px rgba(16,33,61,.09)}
.stat:before{content:"";position:absolute;inset:auto 12px 0;height:2px;border-radius:99px;background:linear-gradient(90deg,transparent,var(--blue),transparent);transform:scaleX(0);transition:.25s}.stat:hover:before{transform:scaleX(1)}
.pulse-stats .stat.warn .stat-icon{animation:softPulse 1.8s ease infinite}@keyframes softPulse{50%{box-shadow:0 0 0 8px rgba(229,121,22,.08);transform:scale(1.04)}}
.mini-ops{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:15px 18px}.mini-ops .stat{min-height:76px;margin:0;padding:12px}.mini-ops .stat b{font-size:19px}
.mini-order-progress{display:flex;gap:5px;margin-top:10px;max-width:240px}.mini-order-progress i{height:5px;flex:1;border-radius:99px;background:#e7ecf3;transition:.3s}.mini-order-progress i.active{background:linear-gradient(90deg,var(--blue),var(--cyan));box-shadow:0 2px 8px rgba(20,104,232,.16)}.order-card.order-closed{opacity:.78}.order-card.order-closed .order-number{background:#f3f4f7;color:#788498}
.quick-buffet{position:fixed;left:25px;bottom:24px;z-index:45;border:0;border-radius:18px;padding:10px 17px 10px 11px;background:linear-gradient(135deg,#07162f,#1468e8);color:#fff;box-shadow:0 18px 45px rgba(7,22,47,.28);display:flex;align-items:center;gap:10px;font-weight:900;transition:.22s}.quick-buffet span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.14);font-size:20px}.quick-buffet:hover{transform:translateY(-4px) scale(1.02);box-shadow:0 22px 52px rgba(7,22,47,.34)}.quick-buffet:active{transform:scale(.97)}
.quota-line{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:14px;font-size:10px;color:var(--muted)}.quota-line b{color:var(--navy);font-size:11px}.quota-progress{width:100%;height:7px}.qty-control{margin-top:15px!important;justify-content:space-between!important;background:#f8faff;border:1px solid #edf1f7;border-radius:13px;padding:6px}.qty-control>b{font-size:17px}.item-visual{background:linear-gradient(145deg,#e7f0ff,#e9fbf7)!important}
.quota-editor{display:flex;flex-direction:column;gap:9px}.quota-editor label{display:grid;grid-template-columns:1fr 110px auto;gap:10px;align-items:center;padding:11px 13px;border:1px solid var(--line);border-radius:13px;background:#fbfdff}.quota-editor label>span{display:flex;flex-direction:column;gap:3px}.quota-editor small{color:var(--muted);font-size:9px}.quota-editor input{padding:10px}.quota-editor em{font-style:normal;color:var(--muted);font-size:10px}
.reception-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}.reception-search{padding:15px 18px;border-bottom:1px solid var(--line)}.participant-list,.visitor-list{padding:12px;max-height:620px;overflow:auto}.participant-row{width:100%;border:1px solid transparent;background:#fff;border-radius:14px;padding:11px;display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center;text-align:right;transition:.2s;margin-bottom:6px}.participant-row:hover{background:#f7faff;border-color:#dbe9fa;transform:translateX(-2px)}.participant-row>span:nth-child(2){display:flex;flex-direction:column;gap:4px}.participant-row small{color:var(--muted);font-size:10px}.participant-avatar{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#e1edff,#e6fbf7);color:var(--blue);font-weight:900}.participant-avatar.large{width:62px;height:62px;border-radius:18px;font-size:21px}.completion-ring{--p:0;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--green) calc(var(--p)*1%),#edf1f5 0);position:relative}.completion-ring:after{content:"";position:absolute;inset:5px;background:#fff;border-radius:50%}.completion-ring b{position:relative;z-index:1;font-size:9px}.visitor-row{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:12px;border-bottom:1px solid var(--line)}.visitor-row:last-child{border:0}.visitor-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#f0edff;color:#6d5dfc}.visitor-row>div{display:flex;flex-direction:column;gap:3px}.visitor-row small{color:var(--muted);font-size:9px}.visitor-row em{font-style:normal;color:var(--green);font-size:8px;line-height:1.5}
.participant-profile{display:flex;flex-direction:column;align-items:center;gap:10px;padding:6px 3px 18px;border-bottom:1px solid var(--line);text-align:center}.participant-profile-info{display:flex;flex-direction:column;align-items:center;gap:4px}.participant-profile h3{margin:0 0 4px;font-size:18px}.participant-profile p{margin:0;color:var(--muted);font-size:11px}.participant-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.participant-facts>div{padding:12px;border-radius:12px;background:#f7f9fc;display:flex;flex-direction:column;gap:5px}.participant-facts span{color:var(--muted);font-size:9px}.reception-status-grid{display:grid;gap:9px}.reception-status{display:flex;align-items:center;gap:11px;padding:12px;border-radius:13px;border:1px solid var(--line)}.reception-status>span{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;font-weight:900}.reception-status>div{display:flex;flex-direction:column;gap:3px}.reception-status small{font-size:9px;color:var(--muted)}.reception-status.done{border-color:#ccecdf;background:#f5fcf8}.reception-status.done>span{background:#dff6ec;color:var(--green)}.reception-status.pending>span{background:#eef3fa;color:#7f8da2}.reception-actions{flex-wrap:wrap}.reception-actions .btn{flex:1;min-width:130px}
.participant-avatar-hero{width:min(230px,68vw);height:min(260px,76vw);border-radius:22px;overflow:hidden;border:4px solid var(--blue);box-shadow:0 12px 35px rgba(20,104,232,.22);flex-shrink:0;position:relative;cursor:pointer;background:var(--soft);transition:transform .2s ease}.participant-avatar-hero:hover{transform:scale(1.02)}.participant-avatar-hero img{width:100%;height:100%;object-fit:cover;display:block}.avatar-zoom-tip{position:absolute;bottom:8px;right:8px;background:rgba(7,22,47,.82);color:#fff;font-size:10px;font-weight:700;padding:3px 9px;border-radius:99px;backdrop-filter:blur(4px);pointer-events:none}
.participant-avatar-hero-fallback{width:min(230px,68vw);height:min(260px,76vw);border-radius:22px;background:linear-gradient(145deg,#e1edff,#e6fbf7);color:var(--blue);font-size:68px;font-weight:900;display:grid;place-items:center;border:4px solid var(--blue);box-shadow:0 12px 35px rgba(20,104,232,.14);flex-shrink:0}
.qr-pass-shell{display:grid;place-items:center;padding:10px}.qr-pass{width:min(460px,100%);padding:24px;border:1px solid #dbe6f3;border-radius:26px;background:radial-gradient(circle at 90% 0,rgba(20,104,232,.09),transparent 32%),#fff;box-shadow:0 25px 65px rgba(16,33,61,.13);text-align:center;position:relative;overflow:hidden}.qr-pass:before{content:"";position:absolute;right:0;left:0;top:0;height:6px;background:linear-gradient(90deg,var(--blue),var(--cyan),#ff7b2c)}.qr-pass-brand{display:flex;align-items:center;gap:11px;text-align:right}.qr-pass-brand img{width:94px;height:48px;object-fit:contain}.qr-pass-brand span{display:flex;flex-direction:column;gap:4px}.qr-pass-brand small{color:var(--muted);font-size:9px}.qr-frame{width:260px;height:260px;margin:20px auto 13px;padding:12px;border:1px solid #dbe6f3;border-radius:22px;background:#fff;box-shadow:0 12px 32px rgba(16,33,61,.08)}.qr-frame img{width:100%;height:100%;display:block}.qr-pass h2{margin:10px 0 5px}.qr-pass>p{margin:0;color:var(--muted);font-size:11px}.qr-pass-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0}.qr-pass-meta span{padding:10px;border-radius:11px;background:#f4f7fb;display:flex;flex-direction:column;gap:4px;font-size:9px;color:var(--muted)}.qr-pass-meta b{font-size:11px;color:var(--ink)}.qr-security{display:block;margin-top:12px;color:var(--muted);font-size:8px}.loading-pass{min-height:380px;display:grid;place-items:center;align-content:center;gap:15px}
.qr-pass-avatar{width:80px;height:80px;border-radius:50%;overflow:hidden;margin:16px auto 4px;border:3px solid #dbe6f3;box-shadow:0 4px 16px rgba(16,33,61,.14)}.qr-pass-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.participant-avatar.large.photo{width:68px;height:68px;border-radius:50%;overflow:hidden;background:var(--soft);border:2px solid var(--line);flex-shrink:0}.participant-avatar.large.photo img{width:100%;height:100%;object-fit:cover;display:block}
.profile-avatar-img{width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid var(--line);margin:0 auto 8px;display:block}

.scanner-shell{position:relative;border-radius:18px;overflow:hidden;background:#06101e;min-height:330px;display:grid;place-items:center}.scanner-shell video{width:100%;height:360px;object-fit:cover}.scanner-frame{position:absolute;width:210px;height:210px}.scanner-frame i{position:absolute;width:42px;height:42px;border-color:#57e2c8;border-style:solid}.scanner-frame i:nth-child(1){right:0;top:0;border-width:4px 4px 0 0;border-radius:0 14px 0 0}.scanner-frame i:nth-child(2){left:0;top:0;border-width:4px 0 0 4px;border-radius:14px 0 0 0}.scanner-frame i:nth-child(3){right:0;bottom:0;border-width:0 4px 4px 0;border-radius:0 0 14px 0}.scanner-frame i:nth-child(4){left:0;bottom:0;border-width:0 0 4px 4px;border-radius:0 0 0 14px}.scanner-shell p{position:absolute;bottom:16px;margin:0;padding:8px 12px;border-radius:99px;background:rgba(7,22,47,.78);color:#fff;font-size:10px;backdrop-filter:blur(8px)}.manual-code{display:flex;gap:8px;margin-top:12px}.manual-code input{flex:1}
.toast{min-width:270px;position:relative;overflow:hidden;padding:14px 16px;border:1px solid rgba(255,255,255,.1);box-shadow:0 20px 55px rgba(7,22,47,.25)}.toast:after{content:"";position:absolute;right:0;left:0;bottom:0;height:3px;background:rgba(255,255,255,.65);animation:toastTimer 3.6s linear forwards}.toast>b{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:rgba(255,255,255,.14)}@keyframes toastTimer{to{transform:translateX(-100%)}}
.modal{border:1px solid rgba(255,255,255,.8);box-shadow:0 35px 100px rgba(7,22,47,.26);animation:modalPop .25s cubic-bezier(.2,.8,.2,1)}@keyframes modalPop{from{opacity:0;transform:translate(-50%,-47%) scale(.97)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}.backdrop{animation:fadeIn .2s ease}@keyframes fadeIn{from{opacity:0}}
@media(max-width:1050px){.reception-layout{grid-template-columns:1fr}.analytics-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.quick-buffet{left:14px;bottom:14px;border-radius:16px;padding:7px}.quick-buffet b{display:none}.quick-buffet span{width:42px;height:42px}.mini-ops{grid-template-columns:1fr 1fr;padding:10px}.participant-list,.visitor-list{max-height:none}.participant-row{grid-template-columns:auto 1fr auto}.participant-facts{grid-template-columns:1fr}.reception-actions .btn{width:100%;flex:auto}.qr-pass{padding:18px}.qr-frame{width:225px;height:225px}.scanner-shell{min-height:260px}.scanner-shell video{height:300px}.manual-code{flex-direction:column}.quota-editor label{grid-template-columns:1fr 80px auto}.toasts{bottom:75px}}

/* Independent warehouses */
.warehouse-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}.warehouse-tab{border:1px solid var(--line);border-radius:18px;background:#fff;padding:17px 18px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;text-align:right;color:var(--ink);box-shadow:0 10px 28px rgba(16,33,61,.05);transition:.22s}.warehouse-tab:hover{transform:translateY(-2px);border-color:#b6cff3}.warehouse-tab>span{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#edf4ff;color:var(--blue);font-size:23px}.warehouse-tab div{display:flex;flex-direction:column;gap:4px}.warehouse-tab small{color:var(--muted);font-size:11px}.warehouse-tab em{font-style:normal;font-size:24px;font-weight:900;color:var(--navy)}.warehouse-tab.active{border-color:#74a9f1;background:linear-gradient(135deg,#f7fbff,#eef6ff);box-shadow:0 14px 36px rgba(20,104,232,.12)}.warehouse-tab.active>span{background:linear-gradient(135deg,var(--blue),var(--cyan));color:#fff}.warehouse-note{display:flex;align-items:center;gap:12px;padding:13px 16px;margin-bottom:18px;border-radius:14px;background:#eff9f6;border:1px solid #d5eee6}.warehouse-note>span{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:var(--green);color:#fff;font-weight:900}.warehouse-note b{font-size:13px}.warehouse-note p{margin:3px 0 0;color:#4f7167;font-size:11px}.warehouse-pill{display:inline-flex;font-style:normal;padding:3px 7px;margin-left:5px;border-radius:20px;background:#eaf2ff;color:var(--blue);font-size:9px;font-weight:800}
@media(max-width:760px){.warehouse-switch{grid-template-columns:1fr}.warehouse-tab{padding:13px}.warehouse-tab>span{width:42px;height:42px}.warehouse-tab em{font-size:20px}.warehouse-note{align-items:flex-start}}

/* Order analytics */
.analytics-filter-panel{margin-bottom:16px;background:linear-gradient(135deg,#fbfdff,#fff)}
.analytics-filter-panel .live-pill{color:var(--green);background:#eefaf5!important;border-color:#d6f0e5;font-size:10px;font-weight:800}
.analytics-filters{padding:18px 20px 8px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}
.analytics-filters label{display:flex;flex-direction:column;gap:7px;font-size:10px;font-weight:800;color:#59667a;min-width:0}
.analytics-filters input,.analytics-filters select{padding:11px 10px;border-radius:11px;min-width:0;font-size:11px}
.analytics-filter-actions{padding:8px 20px 18px}
.analytics-loading,.error-state{min-height:170px;display:flex;align-items:center;justify-content:center;gap:15px;border:1px dashed #d6e2f1;border-radius:18px;background:#fbfdff;margin-bottom:18px;text-align:right}
.analytics-loading .loader{width:34px;height:34px}.analytics-loading div{display:flex;flex-direction:column;gap:5px}.analytics-loading small,.error-state p{color:var(--muted);font-size:11px}.error-state{flex-direction:column;text-align:center;padding:25px}
.analytics-stats{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-bottom:16px}.analytics-stats .stat{padding:13px;min-height:84px}.analytics-stats .stat b{font-size:20px}.analytics-stats .stat small{font-size:10px}.analytics-stats .stat-icon{width:36px;height:36px;font-size:17px;flex:0 0 auto}
.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.analytics-card{min-width:0}.analytics-card.wide{grid-column:1/-1}.analytics-card>.empty{padding:35px 15px}.metric-chip{display:inline-flex;align-items:center;border-radius:99px;padding:7px 11px;background:#eef5ff;color:var(--blue);font-size:10px;font-weight:900;white-space:nowrap}
.analytics-bars{padding:18px 20px;display:flex;flex-direction:column;gap:13px}.analytics-bar{display:flex;flex-direction:column;gap:7px}.bar-label{display:flex;justify-content:space-between;gap:15px;font-size:11px}.bar-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-label b{color:var(--blue)}.bar-track{height:9px;border-radius:99px;background:#edf2f8;overflow:hidden}.bar-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--blue),#49a7ff);transition:width .45s ease}.analytics-bars.orange .bar-track i{background:linear-gradient(90deg,#ef7d24,#ffc067)}.analytics-bars.mixed .analytics-bar:nth-child(3n+2) .bar-track i{background:linear-gradient(90deg,var(--cyan),#57d2c3)}.analytics-bars.mixed .analytics-bar:nth-child(3n) .bar-track i{background:linear-gradient(90deg,#6d5dfc,#9a8dfc)}
.donut-layout{display:grid;grid-template-columns:170px 1fr;gap:24px;align-items:center;padding:25px}.donut{width:160px;height:160px;border-radius:50%;position:relative;display:grid;place-items:center}.donut:after{content:"";position:absolute;inset:26px;background:#fff;border-radius:50%;box-shadow:inset 0 0 0 1px var(--line)}.donut>span{position:relative;z-index:1;font-size:24px;font-weight:900;text-align:center}.donut>span small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.donut-legend{display:flex;flex-direction:column;gap:10px}.donut-legend>div{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;font-size:11px}.donut-legend i{width:9px;height:9px;border-radius:3px}.donut-legend b{color:var(--ink)}
.hour-chart{height:250px;padding:28px 20px 18px;display:flex;align-items:flex-end;gap:9px;overflow-x:auto}.hour-column{height:100%;min-width:42px;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px}.hour-column b{font-size:10px;color:var(--blue)}.hour-column i{display:block;width:100%;max-width:46px;min-height:8px;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,var(--blue),#76b4ff);box-shadow:0 7px 16px rgba(20,104,232,.16)}.hour-column small{font-size:8px;color:var(--muted);white-space:nowrap}.analytics-table tfoot td{background:#f4f8ff;color:var(--navy);border-top:2px solid #dce8f8}.order-queue-panel{margin-top:18px}.order-queue-list{padding:14px}.order-queue-list .order-card:last-child{margin-bottom:0}

/* Central quota management */
.quota-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.quota-tabs>button{border:1px solid var(--line);background:#fff;border-radius:16px;padding:15px 17px;display:grid;grid-template-columns:auto 1fr;column-gap:11px;text-align:right;align-items:center;color:var(--ink);transition:.2s}.quota-tabs>button>span{grid-row:1/3;width:42px;height:42px;border-radius:12px;background:#eef4ff;color:var(--blue);display:grid;place-items:center;font-size:19px}.quota-tabs b{font-size:13px}.quota-tabs small{color:var(--muted);font-size:9px;margin-top:3px}.quota-tabs>button:hover{transform:translateY(-2px);border-color:#bfd3f0}.quota-tabs>button.active{border-color:#73a8ef;background:linear-gradient(135deg,#f7fbff,#eef6ff);box-shadow:0 12px 30px rgba(20,104,232,.1)}.quota-tabs>button.active>span{background:linear-gradient(135deg,var(--blue),var(--cyan));color:#fff}.quota-panel{overflow:visible}.quota-panel>.panel-head{gap:18px}.inline-select{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:800;white-space:nowrap}.inline-select select{min-width:190px;padding:10px}.quota-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:18px}.quota-card{display:grid;grid-template-columns:auto 1fr minmax(150px,.7fr);gap:11px;align-items:center;border:1px solid var(--line);border-radius:15px;padding:13px;background:#fbfdff;transition:.2s}.quota-card:hover{border-color:#c4d7f1;background:#fff;box-shadow:0 10px 24px rgba(16,33,61,.06)}.quota-icon{width:38px;height:38px;border-radius:11px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center;font-weight:900}.quota-card>div:nth-child(2){display:flex;flex-direction:column;gap:4px}.quota-card small{color:var(--muted);font-size:9px}.quota-input{display:flex;align-items:center;gap:7px}.quota-input input{padding:10px;min-width:0;text-align:center}.quota-input em{font-style:normal;color:var(--muted);font-size:9px}.quota-savebar{position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 18px;border-top:1px solid var(--line);background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-radius:0 0 var(--radius) var(--radius)}.quota-savebar span{color:var(--muted);font-size:10px}.quota-source{display:inline-flex!important;width:max-content;border-radius:99px;padding:4px 8px;font-size:8px!important;font-style:normal;font-weight:900}.quota-source.inherited{background:#eaf2ff;color:var(--blue)}.quota-source.custom{background:#fff2e6;color:#bb6415}.inheritance-note{display:flex;gap:11px;align-items:center;padding:12px 14px;margin-bottom:13px;border:1px solid #dce8f8;border-radius:14px;background:#f5f9ff}.inheritance-note>span{width:36px;height:36px;border-radius:11px;background:var(--blue);color:#fff;display:grid;place-items:center}.inheritance-note p{margin:0;display:flex;flex-direction:column;gap:4px}.inheritance-note small{color:var(--muted);font-size:9px}.quota-editor label.custom{border-color:#f0d4b8;background:#fffaf5}.quota-editor label.inherited{border-color:#dce8f8}.quota-editor label{grid-template-columns:1fr 100px auto auto}.quota-editor .reset-quota{white-space:nowrap}.quota-panel .search{max-width:290px}
@media(max-width:1000px){.quota-grid{grid-template-columns:1fr}.quota-card{grid-template-columns:auto 1fr minmax(140px,.6fr)}}
@media(max-width:760px){.quota-tabs{grid-template-columns:1fr}.quota-panel>.panel-head{align-items:stretch;flex-direction:column}.inline-select{align-items:stretch;flex-direction:column}.inline-select select,.quota-panel .search{width:100%;max-width:none}.quota-grid{padding:12px}.quota-card{grid-template-columns:auto 1fr}.quota-input{grid-column:1/-1}.quota-savebar{align-items:stretch;flex-direction:column}.quota-savebar .btn{width:100%}.quota-editor label{grid-template-columns:1fr 76px auto}.quota-editor .reset-quota{grid-column:1/-1;width:100%}}
@media(max-width:1250px){.analytics-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.analytics-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.analytics-filters{grid-template-columns:1fr;padding:15px}.analytics-filter-actions{padding:4px 15px 15px}.analytics-filter-actions .btn{width:100%}.analytics-stats{grid-template-columns:1fr 1fr}.analytics-grid{grid-template-columns:1fr}.analytics-card.wide{grid-column:auto}.donut-layout{grid-template-columns:1fr;justify-items:center;padding:20px}.donut-legend{width:100%}.hour-chart{justify-content:flex-start}.hour-column{flex:0 0 42px}.order-queue-list{padding:10px}.analytics-card .panel-head{align-items:flex-start;gap:8px}}

/* Routed notifications and ticket replies */
.bell svg,.live-note-icon svg,.notice-icon svg,.nav-item .ico svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.nav-item .ico svg{display:block;margin:auto}.bell.has-unread{color:var(--blue);border-color:#b8d2f7;background:#f2f7ff;animation:bellGlow 2.4s ease-in-out infinite}.bell.has-unread svg{animation:bellRing 1.8s ease-in-out infinite}@keyframes bellRing{8%,22%{transform:rotate(-12deg)}15%,29%{transform:rotate(10deg)}35%{transform:rotate(0)}}@keyframes bellGlow{50%{box-shadow:0 0 0 6px rgba(20,104,232,.08)}}
.notice{width:100%;font:inherit;text-align:right;color:var(--ink);background:#fff;position:relative;cursor:pointer;transition:.2s}.notice:hover{border-color:#b9d2f5;box-shadow:0 10px 28px rgba(16,33,61,.08);transform:translateY(-1px)}.notice.unread{background:linear-gradient(90deg,#f3f8ff,#fff);border-color:#cfe0f7}.notice.read{opacity:.78}.notice>div{min-width:0}.notice-icon{flex:0 0 34px}.notice .unread-dot{position:absolute;left:10px;top:10px;width:8px;height:8px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 4px rgba(20,104,232,.1)}
.ticket-title{border:0;background:transparent;padding:0;color:var(--blue);font-weight:900;text-align:right;cursor:pointer}.ticket-title:hover{text-decoration:underline}.ticket-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.ticket-detail-head h3{margin:0 0 8px;font-size:18px}.ticket-detail-head p{margin:0;color:var(--muted);font-size:12px;line-height:1.8}.ticket-history{margin-top:18px}.ticket-history>h4{font-size:13px;margin:0 0 12px}.ticket-history article{position:relative;display:grid;grid-template-columns:18px 1fr;gap:8px;padding-bottom:15px}.ticket-history article>span{width:10px;height:10px;border-radius:50%;background:var(--blue);margin-top:4px;box-shadow:0 0 0 4px #e9f2ff}.ticket-history article:not(:last-child):before{content:"";position:absolute;right:4px;top:15px;bottom:0;width:2px;background:#e3ebf6}.ticket-history article b{font-size:11px}.ticket-history article p{margin:3px 0;color:#4f5e73;font-size:11px}.ticket-history article small{color:var(--muted);font-size:9px}
@media(max-width:760px){.notice{display:grid;grid-template-columns:auto 1fr}.notice time{grid-column:2;margin:4px 0 0}.ticket-detail-head{flex-direction:column}.bell.has-unread{animation:none}}

/* 2026 responsive experience refresh */
:root{--surface:#fff;--surface-subtle:#f7f9fc;--focus:0 0 0 4px rgba(20,104,232,.13);--shadow-soft:0 8px 30px rgba(14,38,75,.07);--shadow-lift:0 18px 45px rgba(14,38,75,.12)}
body{background:#f8fafe;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
.workspace{background:#f8fafe}
.main{background:linear-gradient(180deg,#fbfdff 0,#f7f9fc 420px,#f8fafe 100%)}
.content{width:100%;max-width:1540px;padding:30px 34px 70px;background:transparent}
.topbar{height:76px;border-bottom-color:#e5ebf3;box-shadow:0 5px 20px rgba(14,38,75,.035)}
.event-context{box-shadow:0 6px 20px rgba(14,38,75,.035)}
.sidebar{background:radial-gradient(circle at 50% 0,rgba(27,126,245,.16),transparent 34%),linear-gradient(180deg,#07162f,#091b37);box-shadow:-10px 0 35px rgba(7,22,47,.08)}
.side-brand{border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:10px;padding-bottom:20px}
.side-event-logo{filter:drop-shadow(0 8px 15px rgba(0,0,0,.16))}
.nav-item{position:relative;padding:12px 13px;border:1px solid transparent}
.nav-item:hover{border-color:rgba(255,255,255,.07);transform:translateX(-2px)}
.nav-item.active{border-color:rgba(94,179,255,.18);box-shadow:inset -3px 0 #42b8ff,0 9px 22px rgba(0,0,0,.12)}
.nav-item.active:after{content:"";position:absolute;left:10px;width:6px;height:6px;border-radius:50%;background:#4de0be;box-shadow:0 0 0 4px rgba(77,224,190,.1)}
.page-head{margin-bottom:22px;align-items:center}
.page-head h1{font-size:clamp(24px,2vw,31px);letter-spacing:-.7px}
.page-head p{font-size:12px;line-height:1.7}
.hero{border:1px solid rgba(255,255,255,.08);box-shadow:0 24px 55px rgba(7,22,47,.17);position:relative;isolation:isolate}
.hero:after{content:"";position:absolute;z-index:-1;width:260px;height:260px;border:55px solid rgba(69,184,255,.08);border-radius:50%;left:-70px;top:-125px}
.panel,.stat,.service-card,.order-card,.analytics-loading,.error-state{border-color:#e3e9f1;box-shadow:var(--shadow-soft)}
.panel{border-radius:20px}
.panel-head{min-height:68px;background:linear-gradient(180deg,#fff,#fcfdff)}
.stat{border-radius:18px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.stat:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift);border-color:#cfdef1}
.stat .stat-icon{box-shadow:inset 0 0 0 1px rgba(20,104,232,.06)}
.btn{border-radius:13px;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}
.btn.primary{box-shadow:0 10px 24px rgba(20,104,232,.23)}
.btn.primary:hover{box-shadow:0 14px 30px rgba(20,104,232,.3)}
.icon-btn{border-radius:13px}
input,select,textarea,.search{min-height:44px;border-color:#dfe6ef;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
input:hover,select:hover,textarea:hover,.search:hover{border-color:#c8d7e9}
input:focus,select:focus,textarea:focus,.search:focus{border-color:#6ba6f2;box-shadow:var(--focus);background:#fff}
.table-wrap{position:relative;border-radius:0 0 20px 20px;scrollbar-color:#bfd0e5 transparent;scrollbar-width:thin}
.table thead{position:sticky;top:0;z-index:3}
.table th{height:43px;background:#f4f7fb;color:#56667d;border-bottom-color:#dfe6ef}
.table td{height:57px}
.table tbody tr{transition:background .16s ease}
.table tbody tr:hover td{background:#f6faff}
.badge{min-height:25px;border:1px solid rgba(89,102,122,.08)}
.order-card{background:linear-gradient(135deg,#fff,#fbfdff);transition:.2s}
.order-card:hover{border-color:#c7d9ee;box-shadow:var(--shadow-lift);transform:translateY(-2px)}
.empty{min-height:210px;display:flex;flex-direction:column;justify-content:center;align-items:center}
.empty span{box-shadow:inset 0 0 0 1px #e6ebf2}
.modal{border-radius:24px;box-shadow:0 38px 100px rgba(7,22,47,.28)}
.modal>header{min-height:78px;background:rgba(255,255,255,.94);backdrop-filter:blur(15px)}
.modal-actions{position:sticky;bottom:-22px;z-index:3;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);padding:15px 0 2px}
.toast{min-height:48px;border:1px solid rgba(255,255,255,.1);box-shadow:0 18px 45px rgba(7,22,47,.25)}
.sidebar-veil{display:none}
.mobile-nav{display:none}

@media(min-width:761px) and (max-width:1180px){
  .sidebar{width:230px}
  .main{width:calc(100% - 230px);margin-right:230px}
  .content{padding-inline:24px}
  .event-context{padding-inline:24px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-head{align-items:flex-start}
}

@media(max-width:760px){
  html{background:#f7f9fc}
  body{padding-bottom:calc(78px + env(safe-area-inset-bottom))}
  body.modal-open,body.nav-open{overflow:hidden}
  .main{background:linear-gradient(180deg,#fff 0,#f7f9fc 250px,#f7f9fc 100%)}
  .topbar{height:64px;padding:0 11px;gap:8px;border-bottom:1px solid #e4eaf2;box-shadow:0 7px 22px rgba(14,38,75,.06)}
  .topbar .icon-btn{width:41px;height:41px;flex:0 0 41px}
  .page-title{min-width:0}
  .page-title h2{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:35vw}
  .top-actions{gap:4px}
  .profile{padding:0 2px}
  .profile>span{width:40px;height:40px;border-radius:13px}
  .event-context{min-height:52px;padding:7px 11px;border-bottom:1px solid #e7edf4;gap:7px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;-ms-overflow-style:none}
  .event-context::-webkit-scrollbar{display:none}
  .event-context-title{position:sticky;right:0;z-index:2;background:#fff;padding:3px 0 3px 9px;box-shadow:-12px 0 14px #fff}
  .event-context-title>img{width:64px;height:31px}
  .context-partners{overflow:visible;scrollbar-width:none}
  .context-partners>span{height:38px;padding:5px 7px;border-radius:12px;scroll-snap-align:start;box-shadow:0 3px 10px rgba(14,38,75,.04)}
  .context-partners img{width:25px;height:25px}
  .content{padding:18px 12px calc(94px + env(safe-area-inset-bottom));overflow:hidden}
  .page-head{gap:14px;margin-bottom:18px;padding:0 2px}
  .page-head h1{font-size:23px;margin-bottom:5px}
  .page-head p{font-size:11px;line-height:1.65}
  .page-head .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .page-head .actions>:only-child{grid-column:1/-1}
  .hero{padding:21px 18px;border-radius:21px;margin-bottom:15px;box-shadow:0 18px 40px rgba(7,22,47,.17)}
  .hero h2{font-size:24px;margin:5px 0 8px}
  .hero p{font-size:12px;line-height:1.75}
  .hero-meta{margin-top:16px;gap:6px}
  .hero-meta span{font-size:9px;padding:6px 8px}
  .hero-side{padding-top:13px}
  .hero-side b{font-size:25px}
  .stats,.analytics-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}
  .stat,.analytics-stats .stat{padding:12px 10px;min-height:84px;gap:9px;border-radius:16px}
  .stat .stat-icon,.analytics-stats .stat-icon{width:36px;height:36px;flex:0 0 36px;border-radius:11px}
  .stat b,.analytics-stats .stat b{font-size:19px}
  .stat small,.analytics-stats .stat small{font-size:9px;line-height:1.4}
  .panel{border-radius:18px}
  .panel-head{min-height:64px;padding:15px;gap:10px;align-items:flex-start}
  .panel-head h3{font-size:14px}
  .panel-head p{line-height:1.5}
  .modal-body,#modal-body{padding:15px}
  .toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .toolbar .search{grid-column:1/-1;width:100%}
  .toolbar select{width:100%;min-width:0}
  .toolbar .actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .toolbar .actions .btn{width:100%}
  .table-wrap{margin:0;border-radius:0 0 18px 18px;padding-bottom:4px;background:linear-gradient(90deg,#fff 0,#fff calc(100% - 22px),rgba(20,104,232,.06) 100%)}
  .table{min-width:690px}
  .table th,.table td{padding-inline:12px}
  .table th:first-child,.table td:first-child{position:sticky;right:0;z-index:2;background:#fff;box-shadow:-7px 0 11px rgba(14,38,75,.05)}
  .table th:first-child{background:#f4f7fb;z-index:4}
  .table tbody tr:hover td:first-child{background:#f6faff}
  .order-card{grid-template-columns:44px minmax(0,1fr);padding:13px;gap:10px}
  .order-number{width:44px;height:44px}
  .order-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .order-actions .btn{width:100%;min-width:0}
  .service-card{padding:17px;border-radius:17px}
  .modal{bottom:0;max-height:92dvh;border-radius:24px 24px 0 0;box-shadow:0 -24px 70px rgba(7,22,47,.24)}
  .modal:before{content:"";display:block;position:sticky;top:7px;z-index:5;width:44px;height:4px;border-radius:99px;background:#ced7e3;margin:7px auto -11px}
  .modal>header{min-height:75px;padding:18px 16px 14px;border-radius:24px 24px 0 0}
  .modal>header h3{font-size:18px}
  .modal-actions{bottom:-15px;display:grid;grid-template-columns:1fr 1fr;margin-top:17px;padding-bottom:4px}
  .modal-actions .btn{width:100%}
  .modal-actions .btn:only-child{grid-column:1/-1}
  .form-grid{gap:0}
  .field{margin-bottom:14px}
  input,select,textarea,.search{min-height:48px;font-size:16px}
  .btn{min-height:46px}
  .btn.small{min-height:39px}
  .live-notification{top:72px;border-radius:18px;box-shadow:0 24px 60px rgba(7,22,47,.24)}
  .toasts{bottom:calc(88px + env(safe-area-inset-bottom));z-index:100}
  .toast{border-radius:14px}
  .sidebar{z-index:110;width:min(318px,88vw);padding:19px 14px calc(20px + env(safe-area-inset-bottom));box-shadow:-25px 0 80px rgba(7,22,47,.34)}
  .sidebar nav{padding-bottom:10px}
  .nav-item{min-height:47px;font-size:13px}
  .sidebar-veil{display:block;position:fixed;inset:0;z-index:105;border:0;background:rgba(4,15,33,.48);backdrop-filter:blur(3px)}
  .mobile-nav{position:fixed;z-index:50;right:8px;left:8px;bottom:calc(7px + env(safe-area-inset-bottom));height:68px;padding:6px 8px;display:flex;align-items:stretch;justify-content:space-around;gap:3px;border:1px solid rgba(218,227,238,.94);border-radius:21px;background:rgba(255,255,255,.94);box-shadow:0 15px 42px rgba(7,22,47,.17);backdrop-filter:blur(18px)}
  .mobile-nav-item{position:relative;flex:1;min-width:0;border:0;border-radius:15px;background:transparent;color:#718096;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:3px 2px;transition:.18s}
  .mobile-nav-item>span{position:relative;min-height:24px;display:grid;place-items:center;font-size:20px;line-height:1}
  .mobile-nav-item svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .mobile-nav-item small{font-size:9px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
  .mobile-nav-item.active{color:var(--blue);background:#edf5ff}
  .mobile-nav-item.active:after{content:"";position:absolute;bottom:2px;width:18px;height:3px;border-radius:99px;background:linear-gradient(90deg,var(--blue),var(--cyan))}
  .mobile-nav-badge{position:absolute;top:-6px;left:-11px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border:2px solid #fff;border-radius:99px;background:#e34d5e;color:#fff;font-size:8px;line-height:1}
  .quick-buffet,
  #quick-buffet {
    display: none !important;
  }
}

@media(max-width:390px){
  .topbar .profile{display:none}
  .page-title h2{max-width:42vw}
  .stats,.analytics-stats{grid-template-columns:1fr}
  .stat,.analytics-stats .stat{min-height:74px}
  .page-head .actions,.toolbar .actions,.order-actions,.modal-actions{grid-template-columns:1fr}
  .page-head .actions .btn,.modal-actions .btn{grid-column:auto}
}

@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* Live user presence */
.presence-stats{margin-bottom:16px}.presence-cell{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:170px}.presence-cell small{color:var(--muted);font-size:9px;white-space:nowrap}.presence-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:99px;font-size:10px;font-weight:900;border:1px solid transparent}.presence-pill i{width:7px;height:7px;border-radius:50%;background:currentColor}.presence-pill.online{color:#11815e;background:#eaf9f3;border-color:#cceee1}.presence-pill.online i{box-shadow:0 0 0 4px rgba(17,129,94,.1);animation:presencePulse 1.8s ease-in-out infinite}.presence-pill.offline{color:#768397;background:#f0f3f7;border-color:#e3e8ef}@keyframes presencePulse{50%{box-shadow:0 0 0 7px rgba(17,129,94,.04)}}
@media(max-width:760px){.presence-cell{min-width:155px}.presence-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Web Push activation */
.push-prompt{position:fixed;z-index:96;left:24px;bottom:24px;width:min(470px,calc(100vw - 32px));display:grid;grid-template-columns:56px minmax(0,1fr);gap:13px 14px;align-items:center;padding:17px;border:1px solid #d7e6fa;border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(244,249,255,.98));box-shadow:0 24px 70px rgba(7,22,47,.22);backdrop-filter:blur(18px);animation:pushPromptIn .42s cubic-bezier(.2,.8,.2,1)}
.push-prompt.hidden{display:none}.push-prompt-icon{position:relative;width:56px;height:56px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(145deg,#1468e8,#0a9cba);color:#fff;box-shadow:0 10px 24px rgba(20,104,232,.27)}.push-prompt-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.push-prompt-icon i{position:absolute;top:3px;left:4px;width:11px;height:11px;border:3px solid #fff;border-radius:50%;background:#ee5b54;box-shadow:0 0 0 4px rgba(238,91,84,.15)}.push-prompt-copy{min-width:0}.push-prompt-copy small{display:block;margin-bottom:3px;color:var(--blue);font-size:9px;font-weight:900}.push-prompt-copy strong{display:block;color:#10213d;font-size:15px}.push-prompt-copy p{margin:5px 0 0;color:#66758a;font-size:11px;line-height:1.65}.push-prompt-actions{grid-column:1/-1;display:flex;gap:8px}.push-prompt-actions .btn{flex:1}.push-settings{margin-top:14px;padding:13px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e2eaf4;border-radius:15px;background:#f8fbff}.push-settings>div{display:flex;flex-direction:column;gap:4px}.push-settings strong{font-size:12px}.push-settings small{font-size:9px;color:var(--muted);line-height:1.5}.push-status{display:inline-flex;align-items:center;gap:6px}.push-status:before{content:"";width:7px;height:7px;border-radius:50%;background:#9aa6b6}.push-status.on{color:#11815e}.push-status.on:before{background:#16aa7d;box-shadow:0 0 0 4px rgba(22,170,125,.11)}.push-status.blocked{color:#c14e4e}.push-status.blocked:before{background:#dc5961}@keyframes pushPromptIn{from{opacity:0;transform:translateY(20px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:760px){.push-prompt{left:12px;right:12px;bottom:calc(89px + env(safe-area-inset-bottom));width:auto;padding:14px;border-radius:19px;grid-template-columns:48px minmax(0,1fr)}.push-prompt-icon{width:48px;height:48px;border-radius:14px}.push-prompt-copy strong{font-size:14px}.push-prompt-copy p{font-size:10px}.push-prompt-actions{gap:7px}.push-prompt-actions .btn{min-height:41px}.push-settings{align-items:flex-start;flex-direction:column}.push-settings .btn{width:100%}}

/* Admin database management */
.database-warning{display:flex;align-items:center;gap:13px;margin-bottom:16px;padding:15px 17px;border:1px solid #f1d3b4;border-radius:17px;background:linear-gradient(135deg,#fffaf5,#fff4e8);color:#8b4c12}.database-warning>span{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:13px;background:#e77924;color:#fff;font-size:20px;font-weight:900;box-shadow:0 8px 18px rgba(231,121,36,.22)}.database-warning b{font-size:13px}.database-warning p{margin:4px 0 0;font-size:10px;line-height:1.6;color:#9a622f}.database-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.database-tabs>button{padding:12px}.database-tabs>button>span{width:37px;height:37px}.database-tabs b{font-size:11px}.database-tabs small{font-size:8px}.database-tabs+.toolbar{margin-bottom:12px}.database-tabs+.toolbar .metric-chip{margin-right:auto}.table .actions .btn.danger{box-shadow:none}
@media(max-width:900px){.database-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.database-tabs{grid-template-columns:1fr 1fr;gap:7px}.database-tabs>button{padding:9px;column-gap:7px}.database-tabs>button>span{width:32px;height:32px}.database-warning{align-items:flex-start;padding:13px}.database-tabs+.toolbar{grid-template-columns:1fr}.database-tabs+.toolbar .metric-chip{margin:0;width:max-content}}

/* Performance, offline and safe data-management states */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.page-loading{min-height:52vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--muted);gap:9px}.page-loading .loader{width:36px;height:36px;border-width:3px;margin-bottom:6px}.page-loading h3{margin:0;color:var(--navy);font-size:17px}.page-loading p{margin:0;font-size:10px}.system-card.offline{border-color:#f0c89e;background:linear-gradient(135deg,#fff8ef,#fff)}.system-card.offline .status-dot{background:#e77924;box-shadow:0 0 0 5px rgba(231,121,36,.12)}.queue-count{margin-right:auto;min-width:24px;height:24px;padding:0 6px;border-radius:99px;background:#e77924;color:#fff;display:grid;place-items:center;font-size:9px}.database-warning.safe{border-color:#bfe8d8;background:linear-gradient(135deg,#f3fcf8,#fff)}.database-warning.safe>span{background:#18a473;box-shadow:0 8px 18px rgba(24,164,115,.2)}.database-warning.safe b{color:#126f53}.compact-stats{margin-bottom:14px}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none!important}
.saved-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 10px}.filter-chip{min-height:34px;padding:7px 13px;border:1px solid #dce5f0;border-radius:99px;background:#fff;color:#64748a;font:inherit;font-size:10px;font-weight:900;cursor:pointer;transition:.18s}.filter-chip:hover{border-color:#9fc0ed;color:var(--blue);transform:translateY(-1px)}.filter-chip.active{border-color:#bdd5f5;background:#eaf3ff;color:var(--blue);box-shadow:0 6px 16px rgba(20,104,232,.09)}
.sla-chip{display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:4px 8px;border:1px solid transparent;border-radius:99px;font-size:8px;font-weight:900;white-space:nowrap}.sla-chip.good{color:#0d7a57;background:#eaf9f3;border-color:#c9ecdf}.sla-chip.warning{color:#9b6417;background:#fff7df;border-color:#f5dfa6}.sla-chip.overdue{color:#b63843;background:#fff0f1;border-color:#f2c8cc;animation:slaPulse 1.8s ease-in-out infinite}@keyframes slaPulse{50%{box-shadow:0 0 0 5px rgba(197,50,64,.06)}}
.stock-forecast{margin-bottom:14px}.forecast-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:13px}.forecast-card{min-width:0;display:grid;grid-template-columns:36px minmax(0,1fr);gap:8px;align-items:center;padding:12px;border:1px solid #dce6f2;border-radius:15px;background:linear-gradient(135deg,#f8fbff,#fff)}.forecast-card>span{grid-row:1/3;width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#eaf3ff;color:var(--blue);font-weight:900}.forecast-card b,.forecast-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forecast-card b{font-size:11px}.forecast-card small{margin-top:3px;color:var(--muted);font-size:8px}.forecast-card>strong{grid-column:2;font-size:10px;color:#2568ba}.forecast-card.warning{border-color:#efdcac;background:#fffaf0}.forecast-card.warning>span{background:#fff1c9;color:#a66d10}.forecast-card.danger{border-color:#efc8cc;background:#fff6f7}.forecast-card.danger>span{background:#ffe2e5;color:#b63843}.forecast-empty{display:flex;align-items:center;gap:10px;margin-bottom:14px;padding:12px 15px;border:1px dashed #cad8e8;border-radius:15px;background:#fbfdff;color:#6f7d90}.forecast-empty>span{font-size:21px;color:var(--blue)}.forecast-empty b,.forecast-empty small{display:block}.forecast-empty b{font-size:11px}.forecast-empty small{margin-top:3px;font-size:9px}
.audit-details{margin-top:15px}.audit-details h4{margin:0 0 9px}.audit-details>div{display:grid;grid-template-columns:minmax(90px,140px) minmax(0,1fr);gap:10px;padding:9px 0;border-bottom:1px solid #edf1f6}.audit-details span{color:var(--muted);font-size:10px;font-weight:900}.audit-details code{padding:8px;border-radius:9px;background:#f5f7fa;color:#26364f;font-size:9px;white-space:pre-wrap;overflow-wrap:anywhere;direction:ltr;text-align:left}

@media(max-width:760px){
  .saved-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px;scrollbar-width:none}.saved-filters::-webkit-scrollbar{display:none}.filter-chip{flex:0 0 auto}.forecast-grid{grid-template-columns:1fr}.forecast-card{grid-template-columns:40px minmax(0,1fr)}.audit-details>div{grid-template-columns:1fr}.audit-details code{width:100%}
  .responsive-table{overflow:visible;background:transparent;padding:0 10px 10px}
  .responsive-table .table{min-width:0;width:100%;border-collapse:separate;border-spacing:0 10px}
  .responsive-table .table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .responsive-table .table tbody,.responsive-table .table tr,.responsive-table .table td{display:block;width:100%}
  .responsive-table .table tbody tr{padding:8px 13px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(16,33,61,.055)}
  .responsive-table .table td{position:relative!important;right:auto!important;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:10px 0!important;border:0;border-bottom:1px dashed #e5ebf3;background:transparent!important;box-shadow:none!important;text-align:left}
  .responsive-table .table td:last-child{border-bottom:0}
  .responsive-table .table td:before{content:attr(data-label);flex:0 0 34%;color:var(--muted);font-size:9px;font-weight:900;text-align:right;padding-top:2px}
  .responsive-table .table td[colspan]{display:block;text-align:center}
  .responsive-table .table td[colspan]:before{display:none}
  .responsive-table .table td .actions{justify-content:flex-start;flex-wrap:wrap}
  .compact-stats{grid-template-columns:1fr 1fr}
}



/* ===== MOBILE UI IMPROVEMENTS ===== */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: calc(7px + env(safe-area-inset-bottom));
  left: 8px;
  right: 8px;
  height: 68px;
  z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(218,227,238,.94);
  border-radius: 21px;
  box-shadow: 0 15px 42px rgba(7,22,47,.17);
  padding: 6px 4px;
}

.mobile-nav-item {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  font-size: 10px;
  color: var(--muted);
  border-radius: 10px;
  position: relative;
  transition: .18s;
}

.mobile-nav-item.active {
  color: var(--blue);
}

.mobile-nav-item.active > span {
  background: rgba(20,104,232,.12);
  border-radius: 10px;
}

.mobile-nav-item > span {
  width: 44px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 18px;
  position: relative;
}

.mobile-nav-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  background: var(--red);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 20px;
  min-width: 16px;
  height: 16px;
  font-size: 8px;
  display: grid;
  place-items: center;
  font-weight: 900;
}

[data-theme="dark"] .mobile-nav {
  background: rgba(13,17,23,.98);
  border-color: var(--dm-border);
}

[data-theme="dark"] .mobile-nav-badge {
  border-color: var(--dm-bg);
}

/* Loading state improvements */
.page-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  gap: 16px;
  color: var(--muted);
}

.page-loading h3 { margin: 0; font-size: 16px; color: var(--ink); }
.page-loading p { margin: 0; font-size: 12px; }

/* Queue position chip */
.queue-position-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 99px;
  background: rgba(20,104,232,.1);
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  border: 1px solid rgba(20,104,232,.2);
}

.queue-position-chip.urgent {
  background: rgba(229,121,22,.1);
  color: var(--orange);
  border-color: rgba(229,121,22,.2);
}

/* PDF print styles */
@media print {
  .sidebar, .topbar, .mobile-nav, .quick-buffet, .page-head .actions, .toasts, #live-notification, #push-prompt { display: none !important; }
  .main { width: 100% !important; margin: 0 !important; }
  .content { padding: 15px !important; }
  .panel { break-inside: avoid; }
  .stat { break-inside: avoid; }
  body { background: white !important; }
  * { color: black !important; }
  .badge.good { background: #d4edda !important; color: #155724 !important; }
  .badge.warn { background: #fff3cd !important; color: #856404 !important; }
  .badge.danger { background: #f8d7da !important; color: #721c24 !important; }
  .print-header { display: block !important; text-align: center; margin-bottom: 20px; }
}

.print-header { display: none; }

/* Attendance/gift PDF card */
.report-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: auto 1fr repeat(3, auto);
  gap: 12px;
  align-items: center;
  font-size: 12px;
}

.report-card-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
}

.report-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 99px;
}

.report-status.done { background: #eaf8f2; color: #14805e; }
.report-status.pending { background: #fff4e8; color: #9a5a0a; }

/* SLA chip */
.sla-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.sla-chip.good { background: #eaf8f2; color: #14805e; }
.sla-chip.warning { background: #fff4e8; color: #9a5a0a; }
.sla-chip.overdue { background: #fff0f0; color: #d84444; animation: urgentPulse 1.5s ease infinite; }

@keyframes urgentPulse { 50% { opacity: .6; } }

/* Filter chips */
.saved-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.filter-chip {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 99px;
  padding: 6px 13px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: .18s;
}

.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip.active { background: rgba(20,104,232,.1); border-color: var(--blue); color: var(--blue); font-weight: 900; }

/* Presence indicators */
.presence-cell { display: flex; flex-direction: column; gap: 2px; }
.presence-cell small { font-size: 9px; color: var(--muted); }
.presence-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; }
.presence-pill i { width: 7px; height: 7px; border-radius: 50%; }
.presence-pill.online { color: var(--green); }
.presence-pill.online i { background: var(--green); box-shadow: 0 0 0 3px rgba(20,128,94,.15); animation: presencePulse 2s ease infinite; }
.presence-pill.offline { color: var(--muted); }
.presence-pill.offline i { background: var(--muted); }
@keyframes presencePulse { 50% { box-shadow: 0 0 0 6px rgba(20,128,94,.08); } }

/* Ticket detail */
.ticket-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.ticket-detail-head h3 { margin: 0 0 8px; font-size: 17px; }
.ticket-detail-head p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.ticket-history { margin-top: 18px; }
.ticket-history h4 { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.ticket-history article { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-bottom: 12px; }
.ticket-history article > span { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-top: 5px; }
.ticket-history article b { font-size: 12px; display: block; margin-bottom: 3px; }
.ticket-history article p { font-size: 11px; color: var(--muted); margin: 0 0 3px; }
.ticket-history article small { font-size: 9px; color: var(--muted); }
.ticket-title { border: 0; background: transparent; color: var(--blue); font-weight: 700; cursor: pointer; text-align: right; padding: 0; font-size: 12px; }
.ticket-title:hover { text-decoration: underline; }

/* Forecast cards */
.forecast-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; padding: 16px 20px; }
.forecast-card { display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.forecast-card > span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #eaf2ff; color: var(--blue); font-weight: 900; }
.forecast-card.danger > span { background: #fff0f0; color: var(--red); }
.forecast-card.warning > span { background: #fff4e8; color: var(--orange); }
.forecast-card > div { display: flex; flex-direction: column; gap: 3px; }
.forecast-card b { font-size: 12px; }
.forecast-card small { font-size: 9px; color: var(--muted); }
.forecast-card > strong { font-size: 11px; font-weight: 900; color: var(--navy); white-space: nowrap; }
.forecast-empty { display: flex; align-items: center; gap: 12px; padding: 16px 20px; color: var(--muted); font-size: 12px; }
.forecast-empty > span { font-size: 20px; }
.forecast-empty b { display: block; color: var(--ink); margin-bottom: 3px; }
.forecast-empty small { font-size: 10px; }

/* Database styling */
.database-tabs { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; margin-bottom: 14px; }
.database-tabs > button { border: 1px solid var(--line); background: var(--white); border-radius: 13px; padding: 11px 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: .18s; color: var(--ink); }
.database-tabs > button > span { font-size: 18px; }
.database-tabs > button b { font-size: 11px; font-weight: 800; }
.database-tabs > button small { font-size: 9px; color: var(--muted); }
.database-tabs > button:hover { border-color: var(--blue); }
.database-tabs > button.active { background: rgba(20,104,232,.08); border-color: var(--blue); color: var(--blue); }
.database-tabs > button.active small { color: rgba(20,104,232,.7); }
.database-warning { display: flex; align-items: center; gap: 12px; padding: 13px 16px; margin-bottom: 16px; border-radius: 14px; font-size: 12px; }
.database-warning.safe { background: #f0faf6; border: 1px solid #b3e6cf; }
.database-warning > span { font-size: 20px; }
.database-warning b { display: block; margin-bottom: 3px; font-size: 13px; }
.database-warning p { margin: 0; color: var(--muted); }
.audit-details { margin-top: 16px; }
.audit-details h4 { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.audit-details div { display: grid; grid-template-columns: 130px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.audit-details span { color: var(--muted); }
.audit-details code { font-family: monospace; font-size: 10px; word-break: break-all; background: var(--soft); padding: 2px 6px; border-radius: 6px; }
.compact-stats { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* Push settings in profile */
.push-settings { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; margin: 16px 0; }
.push-settings > div { display: flex; flex-direction: column; gap: 4px; }
.push-status { font-size: 12px; }
.push-status.on { color: var(--green); }
.push-status.blocked { color: var(--red); }
.push-settings small { font-size: 10px; color: var(--muted); }

@media(max-width:860px), (hover:none) and (pointer:coarse) and (max-width:1024px) {
  .mobile-nav {
    display: flex !important;
    position: fixed !important;
    z-index: 55 !important;
    right: 8px !important;
    left: 8px !important;
    bottom: calc(7px + env(safe-area-inset-bottom)) !important;
    height: 68px !important;
    padding: 6px 4px !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: space-around !important;
    gap: 2px !important;
    border: 1px solid rgba(218,227,238,.94) !important;
    border-radius: 21px !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 15px 42px rgba(7,22,47,.17) !important;
    backdrop-filter: blur(18px) !important;
  }
  .main { padding-bottom: calc(90px + env(safe-area-inset-bottom)) !important; }
  .content { padding-bottom: calc(90px + env(safe-area-inset-bottom)) !important; }
  .forecast-grid { grid-template-columns: 1fr 1fr; }
  .database-tabs { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .compact-stats { grid-template-columns: 1fr 1fr; }
  .report-card { grid-template-columns: auto 1fr; }
  .report-card > *:nth-child(n+3) { grid-column: 1/-1; }
}

@media(max-width:480px) {
  .database-tabs { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .forecast-grid { grid-template-columns: 1fr; }
}

/* ===== ENHANCED MODERN UI & CLEAR ORDER VISIBILITY ===== */
.order-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 13px !important;
  padding: 16px 18px !important;
  background: #ffffff !important;
  border: 1px solid #e1e9f4 !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 18px rgba(16, 33, 61, 0.05) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}

.order-card:hover {
  transform: translateY(-2px);
  border-color: #bad3f3 !important;
  box-shadow: 0 10px 28px rgba(15, 98, 254, 0.09) !important;
}

.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e5ecf5;
}

.order-card-id-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f62fe, #0043ce);
  color: #fff !important;
  font-weight: 900;
  font-size: 14px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(15, 98, 254, 0.25);
  flex-shrink: 0;
}

.order-team-meta h4 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 800;
  color: #07162f;
}

.order-time {
  font-size: 11px;
  color: #68758a;
}

/* Distinctive Table Number Badge */
.order-table-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 12px;
  background: #eaf2ff;
  border: 1.5px solid #b9d5fb;
  color: #0043ce;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(15, 98, 254, 0.08);
}

.order-table-badge strong {
  font-weight: 900;
  font-size: 14px;
}

.order-table-badge.has-seat {
  background: #edf7ee;
  border-color: #b5e4ba;
  color: #126b2b;
}

.order-table-badge.highlight-table {
  background: #fff4e5;
  border-color: #ffd199;
  color: #a85200;
  font-size: 14px;
}

.order-table-badge.highlight-table strong {
  font-size: 15px;
}

/* Clear items visibility grid */
.order-items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.order-items-title {
  font-size: 11px;
  font-weight: 800;
  color: #68758a;
  text-transform: uppercase;
}

.order-items-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-item-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f4f7fb;
  border: 1px solid #dde6f2;
  border-radius: 10px;
  padding: 6px 12px;
  transition: .15s;
}

.order-item-badge:hover {
  background: #edf3fa;
  border-color: #cad8ec;
}

.item-qty {
  background: #0f62fe;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 12px;
  line-height: 1.2;
}

.item-name {
  font-size: 13px;
  font-weight: 700;
  color: #07162f;
}

.order-card .order-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid #f0f4fa;
}

/* Enhanced Buffet Cards & Visuals */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.service-card.item-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 20px;
  border: 1.5px solid #e5edf7;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(16, 33, 61, 0.04);
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card.item-card:hover {
  transform: translateY(-3px);
  border-color: #a7c8f7;
  box-shadow: 0 12px 30px rgba(15, 98, 254, 0.1);
}

.item-visual-wrap {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, #eef5ff, #ddecff);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 12px;
  border: 1px solid #cfe2fc;
}

.item-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #07162f;
}

.item-card-desc {
  font-size: 12px;
  color: #68758a;
  margin: 0 0 12px;
  min-height: 18px;
}

.item-stock-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #126b2b;
  background: #eef8f0;
  border: 1px solid #c3e8ca;
  padding: 3px 9px;
  border-radius: 99px;
  width: fit-content;
  margin-bottom: 12px;
}

.item-stock-tag.low {
  color: #b25900;
  background: #fff6eb;
  border-color: #ffd8aa;
}

.item-card .quota-line {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 4px 0 6px !important;
  padding: 0 !important;
  font-size: 11px !important;
  color: #68758a !important;
}

.item-card .quota-line .quota-label,
.item-card .quota-line span {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  display: inline !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #68758a !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

.item-card .quota-line .quota-badge,
.item-card .quota-line b {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #0043ce !important;
  background: #edf5ff !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  line-height: 1.4 !important;
}

.item-card .quota-line .quota-badge.empty,
.item-card .quota-line b.empty {
  color: #d84444 !important;
  background: #fff0f0 !important;
}

.item-card .quota-progress {
  width: 100% !important;
  height: 5px !important;
  background: #edf0f5 !important;
  border-radius: 99px !important;
  margin: 0 0 14px 0 !important;
  overflow: hidden !important;
}

.item-card .quota-progress i {
  height: 100% !important;
  border-radius: 99px !important;
  background: linear-gradient(90deg, #0f62fe, #0043ce) !important;
  display: block !important;
  transition: width .3s ease !important;
}

.qty-control-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4f7fb;
  border: 1px solid #dde6f2;
  border-radius: 14px;
  padding: 4px;
  margin-top: auto;
}

.qty-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: .15s;
}

.qty-btn.minus {
  background: #fff;
  color: #07162f;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

.qty-btn.minus:hover {
  background: #fee9e9;
  color: #da1e28;
}

.qty-btn.plus {
  background: #0f62fe;
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 98, 254, 0.3);
}

.qty-btn.plus:hover {
  background: #0043ce;
  transform: scale(1.05);
}

.qty-value {
  font-size: 16px;
  font-weight: 900;
  color: #07162f;
  min-width: 32px;
  text-align: center;
}

/* Floating Cart & Direct Confirmation Bar */
.floating-cart-bar {
  position: fixed;
  bottom: 18px;
  left: 20px;
  right: 20px;
  max-width: 860px;
  margin: 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border: 2px solid #0f62fe;
  border-radius: 20px;
  padding: 12px 18px;
  box-shadow: 0 16px 45px rgba(15, 98, 254, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: slideUpFloating .3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpFloating {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cart-bar-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-bar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef5ff;
  color: #0f62fe;
  font-size: 22px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cart-bar-text h4 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 900;
  color: #07162f;
}

.cart-bar-seat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #0043ce;
  background: #edf5ff;
  padding: 2px 8px;
  border-radius: 6px;
}

.cart-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-confirm-order-direct {
  background: linear-gradient(135deg, #0f62fe, #0043ce) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  padding: 12px 24px !important;
  border-radius: 12px !important;
  border: 0 !important;
  box-shadow: 0 6px 18px rgba(15, 98, 254, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}

.btn-confirm-order-direct:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(15, 98, 254, 0.45) !important;
}

@media(max-width: 680px) {
  .floating-cart-bar {
    bottom: 74px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
  }
  .cart-bar-actions {
    width: 100%;
  }
  .btn-confirm-order-direct {
    width: 100%;
    justify-content: center;
  }
}

/* ===== TYPOGRAPHY HEADINGS ===== */
h1, h2, h3, .brand-message h1, .page-head h1, .auth-card h2, .panel-head h3 {
  font-family: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: -0.2px;
}

/* ===== MODERN BUFFET CONTROLS & CATEGORY CHIPS ===== */
.buffet-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.search-wrap {
  width: 100%;
}

.modern-search {
  width: 100%;
  padding: 13px 18px;
  border-radius: 16px;
  border: 1.5px solid #dbe6f3;
  background: #ffffff;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(16, 33, 61, 0.03);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.modern-search:focus {
  border-color: #0f62fe;
  box-shadow: 0 0 0 4px rgba(15, 98, 254, 0.1);
}

.category-chips-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-chips-scroll::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 99px;
  border: 1.5px solid #e2eaf4;
  background: #ffffff;
  color: #55657e;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all .18s ease;
  user-select: none;
}

.category-chip:hover {
  border-color: #0f62fe;
  color: #0f62fe;
  background: #f4f8ff;
  transform: translateY(-1px);
}

.category-chip.active {
  background: #0f62fe;
  border-color: #0f62fe;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(15, 98, 254, 0.28);
}

/* ===== ORDER SUCCESS CELEBRATION MODAL ===== */
.order-celebration {
  text-align: center;
  padding: 24px 18px 14px;
  animation: celebrationPop .35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes celebrationPop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.celebration-icon-wrap {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #eaf8f2;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-size: 40px;
  color: #14805e;
  box-shadow: 0 10px 28px rgba(20, 128, 94, 0.2);
  animation: popPulse 2s infinite ease-in-out;
}

@keyframes popPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); box-shadow: 0 14px 34px rgba(20, 128, 94, 0.3); }
}

.order-celebration h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #07162f;
}

.order-celebration p {
  margin: 0;
  color: #68758a;
  font-size: 13px;
}

.celebration-details {
  background: #f7faff;
  border: 1px solid #dce8f8;
  border-radius: 14px;
  padding: 14px 18px;
  margin: 18px 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.celebration-details > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.celebration-details small {
  font-size: 10px;
  color: #68758a;
}

.celebration-details b {
  font-size: 14px;
  color: #07162f;
  font-weight: 800;
}

/* ===== RESPONSIVE MOBILE CARDS FOR TABLES ===== */
@media(max-width: 760px) {
  .table-responsive-cards thead {
    display: none;
  }
  .table-responsive-cards, 
  .table-responsive-cards tbody, 
  .table-responsive-cards tr, 
  .table-responsive-cards td {
    display: block;
    width: 100%;
  }
  .table-responsive-cards tr {
    margin-bottom: 14px;
    background: #ffffff;
    border: 1.5px solid #e7edf5;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 4px 14px rgba(16, 33, 61, 0.04);
  }
  .table-responsive-cards td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid #f1f4f9;
    font-size: 12px;
    text-align: left;
  }
  .table-responsive-cards td:last-child {
    border-bottom: 0;
    padding-top: 10px;
    justify-content: flex-start;
    gap: 8px;
  }
  .table-responsive-cards td:before {
    content: attr(data-label);
    font-weight: 700;
    color: #68758a;
    font-size: 11px;
    margin-left: 10px;
    text-align: right;
  }
}

/* ===== 1. CONTEST 24H COUNTDOWN BAR ===== */
.contest-countdown-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, #07162f 0%, #0d2752 100%);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 16px;
  margin: 16px 30px 0;
  box-shadow: 0 8px 24px rgba(7, 22, 47, 0.15);
  position: relative;
  overflow: hidden;
}

.contest-countdown-bar::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #1468e8, #0ca5a8);
}

.countdown-stage-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.countdown-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 128, 94, 0.25);
  border: 1px solid rgba(43, 219, 155, 0.4);
  color: #38e2a3;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
}

.countdown-live-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38e2a3;
  animation: pulseGreen 1.6s infinite;
}

@keyframes pulseGreen {
  50% { opacity: 0.4; transform: scale(0.85); }
}

.countdown-stage-text h4 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.countdown-stage-text small {
  font-size: 11px;
  color: #9cb2d4;
}

.countdown-timer-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.timer-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 6px 10px;
  min-width: 48px;
  text-align: center;
}

.timer-box b {
  font-size: 20px;
  font-weight: 900;
  font-family: monospace, sans-serif;
  color: #ffffff;
  display: block;
  line-height: 1;
}

.timer-box small {
  font-size: 8px;
  color: #8da4c4;
  display: block;
  margin-top: 3px;
  text-transform: uppercase;
}

.timer-colon {
  font-size: 18px;
  font-weight: 900;
  color: #38c8cb;
  animation: blinkColon 1s infinite;
}

@keyframes blinkColon {
  50% { opacity: 0.3; }
}

.btn-view-schedule {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .18s;
  white-space: nowrap;
}

.btn-view-schedule:hover {
  background: #1468e8;
  border-color: #1468e8;
}

/* ===== 2. SOS DESK EMERGENCY BUTTON & MODAL ===== */
.sos-topbar-btn {
  background: linear-gradient(135deg, #d84444, #b91c1c);
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(216, 68, 68, 0.35);
  animation: sosGlow 2.5s infinite;
  transition: transform .18s ease;
}

.sos-topbar-btn:hover {
  transform: translateY(-1px) scale(1.03);
}

@keyframes sosGlow {
  50% { box-shadow: 0 4px 20px rgba(216, 68, 68, 0.65); }
}

.sos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.sos-card {
  border: 2px solid #fee2e2;
  border-radius: 16px;
  background: #fffafa;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  text-align: right;
  transition: all .2s ease;
}

.sos-card:hover {
  border-color: #d84444;
  background: #fef2f2;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(216, 68, 68, 0.12);
}

.sos-card-icon {
  font-size: 26px;
  margin-bottom: 4px;
}

.sos-card h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #991b1b;
}

.sos-card p {
  margin: 0;
  font-size: 11px;
  color: #7f1d1d;
  line-height: 1.5;
}

/* ===== 3. TV PROJECTOR MODE ===== */
.projector-view {
  position: fixed;
  inset: 0;
  background: #040d1a;
  color: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 24px 36px;
  overflow: auto;
  font-family: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
}

.projector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.projector-logo-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.projector-logo-brand img {
  height: 64px;
}

.projector-logo-brand h1 {
  margin: 0 0 4px;
  font-size: 28px;
  color: #ffffff;
}

.projector-logo-brand p {
  margin: 0;
  color: #38c8cb;
  font-size: 14px;
}

.projector-body-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  flex: 1;
}

.projector-clock-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.projector-digits {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900;
  font-family: monospace;
  color: #ffffff;
  letter-spacing: 2px;
  text-shadow: 0 0 35px rgba(20, 104, 232, 0.5);
}

.projector-ready-orders-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.projector-ready-orders-card h3 {
  margin: 0 0 16px;
  font-size: 22px;
  color: #38e2a3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.projector-orders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.projector-order-pill {
  background: rgba(43, 219, 155, 0.15);
  border: 1.5px solid rgba(43, 219, 155, 0.4);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  animation: pulseCard 2s infinite ease;
}

@keyframes pulseCard {
  50% { transform: scale(1.02); }
}

.projector-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8fa6c5;
  font-size: 13px;
}

/* ===== 4. FOCUS AUDIO & LOFI PLAYER ===== */
.focus-player-modal {
  padding: 16px 6px;
}

.focus-track-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.focus-track-card {
  border: 1.5px solid #dce8f8;
  border-radius: 14px;
  background: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all .18s ease;
}

.focus-track-card:hover {
  border-color: #0f62fe;
  background: #f4f8ff;
}

.focus-track-card.active {
  border-color: #0f62fe;
  background: #edf5ff;
}

.focus-track-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.focus-track-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e1edff;
  display: grid;
  place-items: center;
}

.focus-controls-bar {
  background: #f7f9fc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ===== 5. DEVELOPER MINI-TOOLBOX ===== */
.toolbox-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.toolbox-tab-btn {
  background: transparent;
  border: 0;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: .18s;
}

.toolbox-tab-btn.active {
  background: #0f62fe;
  color: #ffffff;
}

.tool-output-box {
  background: #0f172a;
  color: #38bdf8;
  font-family: monospace;
  padding: 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  position: relative;
  margin-top: 10px;
}

.copy-snippet-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 0;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
}

.copy-snippet-btn:hover {
  background: #0f62fe;
}

@media(max-width: 760px) {
  .contest-countdown-bar {
    flex-direction: column;
    margin: 10px 12px 0;
    padding: 14px;
    align-items: stretch;
  }
  .sos-topbar-btn span {
    display: none;
  }
  .sos-grid {
    grid-template-columns: 1fr;
  }
  .projector-body-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CONTESTANT SEAT & GROUP BANNER ===== */
.contestant-seat-banner {
  margin-top: 18px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(12, 165, 168, 0.15) 100%);
  border: 1.5px solid rgba(92, 207, 209, 0.55);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.contestant-seat-banner:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #38d3d3, #388bfd);
  border-radius: 4px;
}

.seat-banner-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.seat-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #0ca5a8, #1468e8);
  box-shadow: 0 8px 20px rgba(12, 165, 168, 0.4);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}

.seat-banner-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.seat-banner-label {
  font-size: 11px;
  font-weight: 800;
  color: #7ee7e8;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.seat-banner-title {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.2px;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.seat-banner-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.seat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform .18s ease;
}

.seat-chip.table {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.seat-chip.group {
  background: linear-gradient(135deg, rgba(12, 165, 168, 0.45), rgba(20, 104, 232, 0.45));
  color: #e6ffff;
  border: 1px solid rgba(56, 211, 211, 0.6);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.seat-edit-btn {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 6px 13px !important;
  border-radius: 99px !important;
  cursor: pointer;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: .18s ease;
}
.seat-edit-btn:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: #ffffff !important;
  transform: translateY(-1px);
}

[data-theme="dark"] .contestant-seat-banner {
  background: linear-gradient(135deg, rgba(22, 27, 34, 0.85) 0%, rgba(12, 165, 168, 0.18) 100%);
  border-color: rgba(57, 211, 211, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

@media (max-width: 760px) {
  .contestant-seat-banner {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin: 12px 0;
    border-radius: 14px;
  }
  .seat-banner-main {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
  }
  .seat-banner-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
    border-radius: 11px;
    flex-shrink: 0;
  }
  .seat-banner-label {
    font-size: 11px;
  }
  .seat-banner-title {
    font-size: 15px;
    line-height: 1.35;
  }
}

@media (max-width: 440px) {
  .contestant-seat-banner {
    padding: 10px 12px;
    gap: 10px;
  }
  .seat-banner-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 10px;
  }
  .seat-banner-title {
    font-size: 14px;
  }
}


/* ===== POWER STRIP MANAGEMENT STYLES ===== */
.power-strip-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 18px;
  margin: 12px 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: .2s ease;
}
.power-strip-banner.registered {
  background: linear-gradient(135deg, rgba(20, 128, 94, 0.08) 0%, rgba(12, 165, 168, 0.12) 100%);
  border-color: rgba(20, 128, 94, 0.35);
}
.power-strip-banner.pending {
  background: linear-gradient(135deg, rgba(229, 121, 22, 0.06) 0%, rgba(20, 104, 232, 0.05) 100%);
  border-color: rgba(229, 121, 22, 0.3);
}
.power-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.power-strip-banner.registered .power-banner-icon {
  background: rgba(20, 128, 94, 0.15);
  color: var(--green);
}
.power-banner-body {
  flex: 1;
  min-width: 0;
}
.power-banner-body strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 3px;
}
.power-banner-body p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
[data-theme="dark"] .power-strip-banner {
  background: var(--dm-surface);
}
[data-theme="dark"] .power-strip-banner.registered {
  background: linear-gradient(135deg, rgba(20, 128, 94, 0.15) 0%, rgba(12, 165, 168, 0.1) 100%);
  border-color: rgba(20, 128, 94, 0.45);
}

.power-strip-card {
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: .18s ease;
}
.power-strip-card.registered {
  background: rgba(20, 128, 94, 0.06);
  border-color: rgba(20, 128, 94, 0.28);
}
.power-strip-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.power-strip-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.power-strip-card.registered .power-strip-icon {
  background: rgba(20, 128, 94, 0.14);
  color: var(--green);
}
.power-strip-info {
  flex: 1;
  min-width: 0;
}
.power-strip-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.power-strip-title strong {
  font-size: 13px;
  color: var(--ink);
}
.power-strip-info small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
[data-theme="dark"] .power-strip-card {
  background: var(--dm-surface);
}
[data-theme="dark"] .power-strip-card.registered {
  background: rgba(20, 128, 94, 0.12);
  border-color: rgba(20, 128, 94, 0.35);
}

.power-toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.quick-pill-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.pill-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .15s ease;
}
.pill-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.pill-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
[data-theme="dark"] .pill-btn {
  background: var(--dm-surface2);
  color: var(--dm-text);
  border-color: var(--dm-border);
}
[data-theme="dark"] .pill-btn.active {
  background: var(--dm-blue);
  color: #fff;
  border-color: var(--dm-blue);
}
@media (max-width: 600px) {
  .power-strip-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .power-strip-header {
    flex-wrap: wrap;
  }
}


/* ===== ADMIN WORKFORCE & ROLES STATS ===== */
.admin-workforce-panel {
  margin-top: 24px;
}
.workforce-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  padding: 18px 20px 24px;
}
.workforce-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .18s ease, box-shadow .18s ease;
}
.workforce-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.workforce-card.primary-card {
  background: linear-gradient(135deg, rgba(20,104,232,.04) 0%, rgba(12,165,168,.06) 100%);
  border-color: rgba(20,104,232,.3);
}
.workforce-card.secondary-card {
  background: linear-gradient(135deg, rgba(229,121,22,.04) 0%, rgba(20,128,94,.06) 100%);
  border-color: rgba(229,121,22,.3);
}
.workforce-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wf-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.workforce-card.primary-card .wf-icon {
  background: rgba(20,104,232,.12);
  color: var(--blue);
}
.workforce-card.secondary-card .wf-icon {
  background: rgba(229,121,22,.12);
  color: var(--orange);
}
.workforce-card-head > div {
  flex: 1;
  min-width: 0;
}
.workforce-card-head h4 {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}
.workforce-card-head p {
  margin: 3px 0 0;
  font-size: 11px;
  color: var(--muted);
}
.wf-total-badge {
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  background: var(--soft);
  padding: 4px 10px;
  border-radius: 10px;
}
.wf-progress-bar {
  height: 7px;
  background: var(--soft);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 14px;
}
.wf-progress-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 99px;
  transition: width .4s ease;
}
.wf-progress-fill.warning {
  background: var(--orange);
}
.wf-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.wf-progress-labels b {
  color: var(--ink);
}
.wf-substats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  margin: 14px 0 16px;
  padding: 10px 12px;
  background: var(--soft);
  border-radius: 12px;
}
.wf-substats > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.wf-substats span {
  color: var(--muted);
}
.wf-substats b {
  font-weight: 800;
  color: var(--ink);
}
.wf-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Role Filter Pills in Users Page */
.role-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.role-pill {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 99px;
  padding: 6px 13px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: .15s ease;
}
.role-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.role-pill.active {
  background: rgba(20,104,232,.12);
  border-color: var(--blue);
  color: var(--blue);
  font-weight: 900;
}

[data-theme="dark"] .workforce-card {
  background: var(--dm-surface);
  border-color: var(--dm-border);
}
[data-theme="dark"] .workforce-card.primary-card {
  background: linear-gradient(135deg, rgba(56,139,253,.08) 0%, rgba(57,211,211,.05) 100%);
  border-color: rgba(56,139,253,.3);
}
[data-theme="dark"] .workforce-card.secondary-card {
  background: linear-gradient(135deg, rgba(227,179,65,.08) 0%, rgba(38,166,65,.05) 100%);
  border-color: rgba(227,179,65,.3);
}
[data-theme="dark"] .wf-total-badge {
  background: var(--dm-surface2);
  color: var(--dm-text);
}
[data-theme="dark"] .wf-substats {
  background: var(--dm-surface2);
}
[data-theme="dark"] .role-pill {
  background: var(--dm-surface);
  border-color: var(--dm-border);
  color: var(--dm-muted);
}
[data-theme="dark"] .role-pill.active {
  background: rgba(56,139,253,.2);
  border-color: var(--dm-blue);
  color: var(--dm-blue);
}


/* Security Check Dedicated Screen */
.security-check-view {
  padding: 10px 4px;
  text-align: center;
}
.security-check-badge-banner {
  padding: 16px 20px;
  border-radius: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 800;
}
.security-check-badge-banner.allowed {
  background: rgba(20, 128, 94, 0.12);
  border: 2px solid var(--green);
  color: var(--green);
}
.security-check-badge-banner.denied {
  background: rgba(248, 81, 73, 0.12);
  border: 2px solid var(--red);
  color: var(--red);
}
.security-check-badge-banner .icon {
  font-size: 26px;
}
.security-avatar-hero-container {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.security-check-info {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 20px;
}
.security-check-info h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--ink);
}
.security-role-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 99px;
  background: rgba(20, 104, 232, 0.12);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  margin: 4px 0 12px;
}
.security-check-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  text-align: right;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.security-check-details > div {
  padding: 8px 12px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.security-check-details span {
  font-size: 10px;
  color: var(--muted);
}
.security-check-details b {
  font-size: 12px;
  color: var(--ink);
}


/* User Table Photo Indicator & Avatars */
.item-dot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  overflow: hidden;
  border: 2px solid var(--blue);
  flex-shrink: 0;
  cursor: pointer;
  background: var(--soft);
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
  padding: 0;
}
.item-dot-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(20, 104, 232, 0.25);
}
.item-dot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.user-has-photo-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 99px;
  cursor: pointer;
}
.user-has-photo-badge.yes {
  background: rgba(20, 128, 94, 0.12);
  color: var(--green);
  border: 1px solid rgba(20, 128, 94, 0.3);
}
.user-has-photo-badge.yes:hover {
  background: rgba(20, 128, 94, 0.22);
}
.user-has-photo-badge.no {
  background: rgba(104, 117, 138, 0.08);
  color: var(--muted);
  border: 1px dashed var(--line);
}


/* ===== PHOTOGRAPHER STUDIO ===== */
.photographer-studio {
  max-width: 640px;
  margin: 0 auto;
}

.participant-card-photo {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  margin-bottom: 0;
}

.participant-avatar-big {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--line);
  flex-shrink: 0;
}

.avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-size: 32px;
  flex-shrink: 0;
}

.participant-info-photo h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.scan-prompt {
  padding: 40px 20px;
  text-align: center;
}

/* Photo gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  padding: 14px 16px;
}

.photo-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  transition: .18s;
}

.photo-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20,104,232,.12);
}

.photo-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.photo-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  font-size: 10px;
  color: var(--muted);
  background: var(--soft);
}

.btn.tiny {
  padding: 2px 7px;
  font-size: 9px;
  border-radius: 8px;
  height: auto;
  line-height: 1.6;
}

#upload-progress {
  margin: 10px 0;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

/* Dark mode for photographer */
[data-theme="dark"] .participant-card-photo,
[data-theme="dark"] .photo-card {
  background: var(--dm-surface);
  border-color: var(--dm-border);
}

[data-theme="dark"] .photo-card-footer {
  background: var(--dm-surface2);
}

[data-theme="dark"] .avatar-placeholder {
  background: var(--dm-surface2);
}


/* ===== BACKGROUND UPLOAD QUEUE ===== */
.upload-queue-pill {
  position: fixed;
  bottom: 74px;
  left: 20px;
  z-index: 99;
  background: #0b1a30;
  color: #fff;
  padding: 10px 18px;
  border-radius: 99px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  transition: .2s cubic-bezier(0.4, 0, 0.2, 1);
  direction: rtl;
}

.upload-queue-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.upload-queue-pill.done {
  background: #0f6146;
  border-color: rgba(38,166,65,0.4);
}

.upload-queue-pill.has-error {
  background: #8b1e19;
  border-color: rgba(248,81,73,0.4);
}

.upload-queue-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: bgUploadSpin 0.75s linear infinite;
}

@keyframes bgUploadSpin {
  to { transform: rotate(360deg); }
}

.photo-card.pending-upload {
  position: relative;
  overflow: hidden;
}

.photo-card.pending-upload .uploading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,26,48,0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  gap: 8px;
  backdrop-filter: blur(2px);
  padding: 8px;
  text-align: center;
}


/* ===== LUXURY USER PHOTOS GALLERY & LIGHTBOX ===== */
.my-photos-hero {
  background: linear-gradient(135deg, #050e1f 0%, #0a1f44 50%, #0d2754 100%);
  color: #fff;
  border-radius: 22px;
  padding: 28px 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(5, 14, 31, 0.35);
  border: 1px solid rgba(56, 139, 253, 0.25);
}

.my-photos-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 139, 253, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.my-photos-hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 211, 211, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.my-photos-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.my-photos-hero-title-group h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}

.my-photos-hero-title-group p {
  margin: 0;
  color: #a8b8d0;
  font-size: 13px;
  max-width: 580px;
  line-height: 1.6;
}

.live-stream-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  color: #e6edf3;
}

.my-photos-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.my-photos-badge {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: .18s;
}

.my-photos-badge:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.my-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.my-photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .25s cubic-bezier(0.4, 0, 0.2, 1), border-color .25s ease;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.my-photo-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 36px rgba(20, 104, 232, 0.18);
  border-color: var(--blue);
}

.my-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.my-photo-card:hover img {
  transform: scale(1.06);
}

.my-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, transparent 40%, rgba(5, 14, 31, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
  color: #fff;
  opacity: 0.95;
  transition: opacity .2s ease;
}

.my-photo-overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.my-photo-idx-pill {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.my-photo-overlay-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.my-photo-time {
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.my-photo-btn-down {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  text-decoration: none;
  transition: .18s;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.my-photo-btn-down:hover {
  background: var(--blue);
  transform: scale(1.12);
}

/* Lightbox Modal */
.lightbox-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020712;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  transition: opacity .2s ease;
}

.empty-gallery-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 64px 28px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.empty-gallery-icon-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(20,104,232,0.1) 0%, rgba(57,211,211,0.1) 100%);
  display: grid;
  place-items: center;
  font-size: 44px;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(20,104,232,0.08);
  animation: livePhotoPulse 2.5s infinite;
}


/* ===== ULTRA-FAST PHOTOGRAPHER STUDIO STYLES ===== */
.fast-photo-topbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.fast-scan-banner {
  background: linear-gradient(135deg, #1468e8 0%, #0d4bb5 100%);
  color: #fff;
  padding: 16px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(20,104,232,0.25);
  cursor: pointer;
  transition: .18s;
  border: 0;
  width: 100%;
  text-align: right;
}

.fast-scan-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20,104,232,0.35);
}

.fast-scan-banner .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}

.fast-scan-banner h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
}

.fast-scan-banner p {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}

.fast-search-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.fast-search-input {
  flex: 1;
  padding: 13px 18px;
  border-radius: 14px;
  border: 2px solid var(--line);
  font-size: 15px;
  background: var(--white);
  color: var(--ink);
  transition: .18s;
}

.fast-search-input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(20,104,232,0.15);
}

.fast-filter-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.fast-filter-btn {
  padding: 7px 14px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: .15s;
}

.fast-filter-btn.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* Fast participant cards list */
.fast-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.fast-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: .15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.fast-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(20,104,232,0.08);
}

.fast-card-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.fast-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-size: 20px;
}

.fast-card-text {
  min-width: 0;
}

.fast-card-name {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
}

.fast-card-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.fast-card-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.btn-snap-direct {
  background: #14805e;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: .15s;
}

.btn-snap-direct:hover {
  background: #0f6146;
  transform: scale(1.03);
}

.btn-snap-direct:active {
  transform: scale(0.97);
}

/* Fast participant focus studio */
.fast-studio-header {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.fast-studio-actions-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

@media (max-width: 600px) {
  .fast-studio-actions-hero {
    grid-template-columns: 1fr;
  }
  .my-photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}


/* ===== LIVE PHOTO PULSE & LIGHTBOX CONTROLS ===== */
.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #26a641;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(38, 166, 65, 0.7);
  animation: livePhotoPulse 1.8s infinite;
}

@keyframes livePhotoPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(38, 166, 65, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(38, 166, 65, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(38, 166, 65, 0); }
}

.my-photo-card.newly-added {
  border: 2px solid #388bfd;
  box-shadow: 0 0 20px rgba(56, 139, 253, 0.4);
  animation: photoHighlight 3s ease-out;
}

@keyframes photoHighlight {
  0% { transform: scale(1.05); border-color: #26a641; box-shadow: 0 0 25px rgba(38, 166, 65, 0.6); }
  100% { transform: scale(1); border-color: var(--line); }
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: pointer;
  transition: .18s;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.lightbox-nav-btn:hover {
  background: rgba(20,104,232,0.8);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn.prev { right: 12px; }
.lightbox-nav-btn.next { left: 12px; }


/* ===== ADMIN MEDIA WALL & COVERAGE ANALYTICS ===== */
.admin-media-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--soft);
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.admin-media-tab-btn {
  flex: 1;
  padding: 12px 18px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: .18s;
}

.admin-media-tab-btn.active {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(20,104,232,0.12);
}

.admin-media-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.leaderboard-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.photographer-rank-chip {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.photographer-rank-chip b {
  color: var(--blue);
}

.admin-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.admin-photo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.admin-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
  border-color: var(--blue);
}

.admin-photo-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #060e1c;
  overflow: hidden;
  cursor: pointer;
}

.admin-photo-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.admin-photo-card:hover .admin-photo-thumb-wrap img {
  transform: scale(1.05);
}

.admin-photo-info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.admin-photo-participant-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-photo-participant-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-size: 15px;
  flex-shrink: 0;
}

.admin-photo-footer {
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}

@media(max-width: 800px) {
  .admin-media-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media(max-width: 500px) {
  .admin-photos-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== BULK DOWNLOAD BUTTON & NATIVE CONTROLS ===== */
.btn-bulk-download {
  background: linear-gradient(135deg, #14805e 0%, #0f6146 100%);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 20px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(20, 128, 94, 0.4);
  transition: transform .18s ease, box-shadow .18s ease;
  text-decoration: none;
}

.btn-bulk-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 128, 94, 0.55);
}

.btn-bulk-download:active {
  transform: translateY(0);
}

/* ===== DASHBOARD PHOTOS SHOWCASE ===== */
.dashboard-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  padding: 16px 20px 20px;
}

.dashboard-photo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #060e1c;
  cursor: pointer;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform .22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .22s cubic-bezier(0.4, 0, 0.2, 1), border-color .22s ease;
}

.dashboard-photo-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(20, 104, 232, 0.2);
  border-color: var(--blue);
}

.dashboard-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.dashboard-photo-card:hover img {
  transform: scale(1.06);
}

.dashboard-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 14, 31, 0.88) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.dashboard-photo-overlay > * {
  pointer-events: auto;
}

.dashboard-photo-overlay .btn.tiny {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 4px 8px;
  transition: .15s ease;
}

.dashboard-photo-overlay .btn.tiny:hover {
  background: var(--blue);
  border-color: var(--blue);
}

[data-theme="dark"] .dashboard-photo-card {
  background: #050c18;
  border-color: var(--dm-border);
}

@media (max-width: 600px) {
  .dashboard-photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px 14px 16px;
  }
}



/* ===== BUFFET TOP STICKY BAR + SIDE CART + IN-CARD APPROVE ===== */
.page-enter > #top-cart-banner,
.page-enter > .buffet-layout {
  animation: none !important;
  transform: none !important;
}

#top-cart-banner {
  position: sticky;
  top: 82px;
  z-index: 95;
}

.top-cart-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #07162f 0%, #0d274c 100%);
  color: #fff;
  border: 2px solid #26a641;
  box-shadow: 0 14px 34px rgba(7, 22, 47, 0.24);
  animation: sideCartIn .22s ease;
}

.top-cart-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 240px;
}

.top-cart-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.top-cart-badge {
  background: rgba(38, 166, 65, 0.22);
  border: 1px solid rgba(87, 213, 128, 0.45);
  color: #7ee79e;
  font-size: 13px;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 99px;
  white-space: nowrap;
}

.top-cart-seat {
  font-size: 12px;
  font-weight: 700;
  color: #c8d7ec;
  white-space: nowrap;
}

.top-cart-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.top-cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.top-cart-pill-qty {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.top-cart-pill-qty b {
  min-width: 16px;
  text-align: center;
  font-size: 12px;
  color: #7ee79e;
}

.top-cart-pill-qty button {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.top-cart-pill-qty button:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.top-cart-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.top-cart-submit {
  border: 0;
  border-radius: 12px;
  padding: 11px 22px;
  background: linear-gradient(135deg, #26a641, #14805e);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(38, 166, 65, 0.45);
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}

.top-cart-submit:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 10px 26px rgba(38, 166, 65, 0.55);
}

.top-cart-submit:disabled {
  opacity: .7;
  cursor: wait;
}

.top-cart-clear {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.top-cart-clear:hover {
  background: rgba(248, 81, 73, 0.22);
  border-color: #f85149;
  color: #ff9b96;
}

/* In-card instant approve button right below +/- */
.item-card.in-cart {
  border-color: #26a641 !important;
  box-shadow: 0 10px 28px rgba(20, 128, 94, 0.14);
}

.card-instant-approve {
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #14805e, #0f6146);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 6px 16px rgba(20, 128, 94, 0.28);
  animation: sideCartIn .18s ease;
}

.card-instant-approve:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(20, 128, 94, 0.38);
}

.card-instant-approve b {
  font-weight: 800;
  opacity: 0.92;
}

/* Desktop 2-column layout with Side Cart aligned at the VERY TOP */
.buffet-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.buffet-main-col {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.side-cart {
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: 86px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(7, 22, 47, 0.07);
  display: flex;
  flex-direction: column;
  gap: 11px;
  max-height: calc(100vh - 104px);
}

.side-cart-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.side-cart-head h3 { margin: 0; font-size: 16px; }
.side-cart-count {
  background: rgba(20, 104, 232, 0.1);
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 99px;
}
.side-cart-items { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 0; }
.side-cart-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  animation: sideCartIn .2s ease;
}
@keyframes sideCartIn { from { opacity: 0; transform: translateY(-4px); } }
.side-cart-icon { font-size: 20px; }
.side-cart-name { display: flex; flex-direction: column; min-width: 0; }
.side-cart-name b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-cart-name small { font-size: 10px; color: var(--muted); }
.side-cart-qty { display: flex; align-items: center; gap: 6px; }
.side-cart-qty span { min-width: 20px; text-align: center; font-weight: 900; font-size: 13px; }
.side-cart-qty button {
  width: 26px; height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  display: grid; place-items: center;
}
.side-cart-qty button:hover { border-color: var(--blue); color: var(--blue); }
.side-cart-location {
  font-size: 12px;
  color: var(--muted);
  background: rgba(20, 104, 232, 0.06);
  border: 1px dashed rgba(20, 104, 232, 0.3);
  border-radius: 10px;
  padding: 8px 10px;
}
.side-cart-location b { color: var(--blue); }
.side-cart-submit {
  border: 0;
  border-radius: 12px;
  padding: 13px;
  background: linear-gradient(135deg, #14805e, #0f6146);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(20, 128, 94, 0.3);
  transition: transform .15s ease;
}
.side-cart-submit:hover { transform: translateY(-1px); }
.side-cart-submit:disabled { opacity: .7; cursor: wait; }
.side-cart-clear {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}
.side-cart-clear:hover { color: var(--red); }
.side-cart-empty { text-align: center; padding: 18px 8px; color: var(--muted); }
.side-cart-empty span { font-size: 30px; display: block; margin-bottom: 6px; opacity: .6; }
.side-cart-empty p { margin: 0 0 4px; font-weight: 800; color: var(--ink); }
.side-cart-empty small { font-size: 11px; line-height: 1.7; }

[data-theme="dark"] .side-cart { background: var(--dm-surface); border-color: var(--dm-border); }
[data-theme="dark"] .side-cart-item { background: var(--dm-surface2); border-color: var(--dm-border); }
[data-theme="dark"] .side-cart-qty button { background: var(--dm-surface); border-color: var(--dm-border); }

@media (max-width: 1020px) {
  .buffet-layout { grid-template-columns: 1fr; }
  .buffet-main-col { grid-column: 1; }
  .side-cart { display: none; }
}

@media (max-width: 760px) {
  #top-cart-banner { top: 68px; }
  .top-cart-bar { padding: 10px 12px; gap: 10px; }
  .top-cart-actions { width: 100%; }
  .top-cart-submit { flex: 1; text-align: center; justify-content: center; }
}


/* ===== 24H HACKATHON COUNTDOWN UPGRADES & LIVE HALL WALL (v44) ===== */
.contest-countdown-bar.urgency-warning {
  background: linear-gradient(135deg, #451a03 0%, #78350f 100%);
  border-color: rgba(245, 158, 11, 0.45);
}
.contest-countdown-bar.urgency-critical {
  background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 100%);
  border-color: rgba(239, 68, 68, 0.6);
  animation: urgentPulse 1.6s ease-in-out infinite;
}
.countdown-sub-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.countdown-pct-pill {
  background: rgba(56, 226, 163, 0.18);
  color: #38e2a3;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
}
.countdown-progress-track {
  width: 100%;
  max-width: 280px;
  height: 5px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 5px;
}
.countdown-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #388bfd, #38e2a3);
  border-radius: 99px;
  transition: width 0.5s ease;
}
.countdown-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-bar-sos,
.btn-bar-projector,
.btn-bar-timer-cfg {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  color: #fff;
  transition: transform 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-bar-sos {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  border-color: rgba(252, 165, 165, 0.4);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}
.btn-bar-projector {
  background: rgba(56, 139, 253, 0.24);
  border-color: rgba(56, 139, 253, 0.45);
}
.btn-bar-timer-cfg {
  background: rgba(255, 255, 255, 0.12);
}
.btn-bar-sos:hover,
.btn-bar-projector:hover,
.btn-bar-timer-cfg:hover {
  transform: translateY(-1px);
}
.sos-top-btn {
  border-color: rgba(220, 38, 38, 0.35);
  background: rgba(220, 38, 38, 0.08);
}
.projector-top-btn {
  border-color: rgba(20, 104, 232, 0.35);
  background: rgba(20, 104, 232, 0.08);
}

/* ===== STAFF LIVE VISUAL & AUDIO ALERT BANNER ===== */
.staff-live-alert-banner {
  margin: 10px 24px 0;
  padding: 12px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #fff;
  box-shadow: 0 10px 28px rgba(7, 22, 47, 0.24);
  animation: bannerFlashIn 0.35s ease;
}
.staff-live-alert-banner.order {
  background: linear-gradient(135deg, #0f62fe, #0043ce);
  border: 2px solid #93c5fd;
}
.staff-live-alert-banner.urgent {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  border: 2px solid #fca5a5;
  animation: urgentPulse 1.2s ease infinite;
}
.staff-live-alert-banner.photo {
  background: linear-gradient(135deg, #14805e, #0f6146);
  border: 2px solid #6ee7b7;
}
.staff-alert-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.staff-alert-icon {
  font-size: 24px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}
.staff-alert-text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.staff-alert-text span {
  font-size: 12px;
  opacity: 0.92;
}
.staff-alert-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
@keyframes bannerFlashIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== STUDIO BATCH PHOTO UPLOAD PROGRESS ===== */
.studio-batch-upload-banner {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(20, 104, 232, 0.09);
  border: 1px solid rgba(20, 104, 232, 0.3);
  font-size: 12px;
}
.studio-batch-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 99px;
  background: rgba(20, 104, 232, 0.15);
  overflow: hidden;
}
.studio-batch-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1468e8, #26a641);
  border-radius: 99px;
  transition: width 0.3s ease;
}

/* ===== 4-PANEL HALL LIVE WALL (PROJECTOR MODE) ===== */
.projector-quad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
  flex: 1;
  min-height: 0;
}
.projector-panel-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.projector-panel-card h3 {
  margin: 0;
  font-size: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.projector-announcements-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}
.projector-announcement-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 4px solid #388bfd;
  border-radius: 12px;
  padding: 10px 14px;
}
.projector-announcement-item.urgent {
  border-right-color: #f85149;
  background: rgba(248, 81, 73, 0.12);
}
.projector-photos-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.projector-photo-tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0d1627;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.projector-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.projector-photo-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 6px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
@media (max-width: 960px) {
  .projector-quad-grid {
    grid-template-columns: 1fr;
  }
  .staff-live-alert-banner {
    margin: 10px 14px 0;
  }
}

/* ===== TABLE / TEAM GROUP PHOTO CARDS & MOBILE FIX ===== */
.team-group-photo-card {
  border: 1.5px solid rgba(20, 104, 232, 0.28);
  background: linear-gradient(135deg, rgba(20, 104, 232, 0.04), rgba(12, 165, 168, 0.04));
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.team-seat-badge {
  width: auto !important;
  min-width: 52px;
  height: 48px;
  padding: 2px 10px;
  border-radius: 13px !important;
  background: linear-gradient(135deg, #1468e8, #0ca5a8) !important;
  color: #fff;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
  flex-shrink: 0;
}

.team-seat-badge small {
  font-size: 9px;
  font-weight: 700;
  opacity: 0.92;
  white-space: nowrap;
}

.team-seat-badge strong {
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.team-card-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.team-card-actions .btn-snap-direct {
  justify-content: center;
  padding: 9px 12px;
}

@media (max-width: 560px) {
  .fast-card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .fast-card-name {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  .fast-card-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .fast-card-actions .btn-snap-direct,
  .fast-card-actions .btn {
    justify-content: center;
  }
}

/* ===== MODAL TOP PRIORITY OVER SIDEBAR & NAVIGATION ===== */
.backdrop {
  z-index: 140 !important;
}
.modal {
  z-index: 150 !important;
}
.toasts {
  z-index: 170 !important;
}

/* ===== USER SELF-SHARE PHOTO STUDIO INSIDE MY PHOTOS ===== */
.self-share-studio-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.self-share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.self-share-header strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 3px;
}

.self-share-header small {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.self-share-scope-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.scope-pill {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  padding: 7px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
}

.scope-pill.active {
  background: #26a641;
  border-color: #38e2a3;
  color: #fff;
  box-shadow: 0 4px 14px rgba(38, 166, 65, 0.35);
}

.self-share-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.self-share-caption-input {
  flex: 1;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #07162f !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 13px !important;
  padding: 11px 14px !important;
  font-size: 13px !important;
}

.self-share-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-self-camera,
.btn-self-gallery {
  border: 0;
  border-radius: 13px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn-self-camera {
  background: linear-gradient(135deg, #26a641, #14805e);
  color: #fff;
  box-shadow: 0 8px 20px rgba(20, 128, 94, 0.35);
}

.btn-self-gallery {
  background: linear-gradient(135deg, #388bfd, #1468e8);
  color: #fff;
  box-shadow: 0 8px 20px rgba(20, 104, 232, 0.35);
}

.btn-self-camera:hover,
.btn-self-gallery:hover {
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .self-share-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .self-share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .self-share-scope-pills {
    width: 100%;
  }
  .scope-pill {
    flex: 1;
    text-align: center;
  }
}


/* ===== GLOBAL ENTERPRISE PLATFORM FOOTER (ENG. HAMADA ABU RJELA) ===== */
.main {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}

.content {
  flex: 1 0 auto !important;
}

/* Auth / Login Page Global Footer */
.global-auth-footer {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(20, 104, 232, 0.04);
  border: 1px solid rgba(20, 104, 232, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Global Platform Footer (All Pages) */
.global-platform-footer {
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 16px 28px;
  position: relative;
  z-index: 30;
  transition: background .2s ease, border-color .2s ease;
}

.global-footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

/* Copyright & System Status */
.global-footer-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.global-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  display: inline-block;
  animation: presencePulse 2s ease infinite;
}

/* Developer Credit Centerpiece */
.global-footer-dev,
.global-dev-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink);
  flex-wrap: wrap;
}

.global-dev-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.global-footer-dev strong,
.global-dev-line strong {
  font-weight: 900;
  color: var(--blue);
  font-size: 13.5px;
}

.global-dev-sep {
  color: var(--line);
  font-weight: 300;
}

.global-dev-en {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  font-family: inherit;
}

/* Global Social Links */
.global-footer-socials,
.global-dev-socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.global-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition: all .18s cubic-bezier(.4, 0, .2, 1);
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
}

.global-social-link:hover {
  transform: translateY(-2px);
}

.global-social-link.whatsapp {
  border-color: rgba(37, 211, 102, 0.35);
  color: #128c7e;
  background: rgba(37, 211, 102, 0.08);
}

.global-social-link.whatsapp:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.32);
}

.global-social-link.instagram {
  border-color: rgba(225, 48, 108, 0.32);
  color: #c13584;
  background: rgba(225, 48, 108, 0.08);
}

.global-social-link.instagram:hover {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.32);
}

/* Floating Buffet Button Position Fix - No More Overlap */
@media (min-width: 761px) {
  .quick-buffet {
    bottom: 74px !important;
    left: 24px !important;
  }
  .global-platform-footer {
    padding-left: 200px !important; /* clears buffet button on the left */
  }
}

/* Dark Mode Overrides for Global Footer */
[data-theme="dark"] .global-platform-footer {
  background: var(--dm-surface);
  border-color: var(--dm-border);
}

[data-theme="dark"] .global-auth-footer {
  background: rgba(56, 139, 253, 0.07);
  border-color: var(--dm-border);
}

[data-theme="dark"] .global-social-link {
  background: var(--dm-surface2);
  border-color: var(--dm-border);
  color: var(--dm-text);
}

@media (max-width: 760px) {
  .global-platform-footer {
    padding: 14px 16px 82px !important;
  }
  .global-footer-container,
  .global-auth-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .global-footer-socials,
  .global-dev-socials {
    width: 100%;
    justify-content: center;
  }
  .global-social-link {
    flex: 1;
    justify-content: center;
  }
}

@media print {
  .global-platform-footer,
  .global-auth-footer {
    display: none !important;
  }
}


/* ===== WORLD-CLASS VISUAL POLISH & REFINEMENT (APPLE / VERCEL STYLE) ===== */

/* 1. Ultra-Slim Modern Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.25);
  border-radius: 99px;
  transition: background 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.45);
}
[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
}
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* 2. Glassmorphic Frosted Topbar & Headers */
.topbar {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(231, 235, 242, 0.9) !important;
}

[data-theme="dark"] .topbar {
  background: rgba(13, 17, 23, 0.82) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(48, 54, 61, 0.8) !important;
}

.modal > header {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

[data-theme="dark"] .modal > header {
  background: rgba(22, 27, 34, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

/* 3. Tactile Micro-Press & Haptic Feedback */
.btn:active,
.icon-btn:active,
.nav-item:active,
.filter-chip:active,
.warehouse-tab:active {
  transform: scale(0.972) !important;
}

.btn,
.icon-btn,
.nav-item,
.stat,
.panel,
.order-card {
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.18s ease,
              border-color 0.18s ease,
              background 0.18s ease !important;
}

/* 4. OLED Depth & High-Definition Card Borders in Dark Mode */
[data-theme="dark"] .panel,
[data-theme="dark"] .stat,
[data-theme="dark"] .modal,
[data-theme="dark"] .order-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .auth-card,
[data-theme="dark"] .quota-card {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

/* 5. Smooth Table Row Hover & Elevated Feel */
.table tbody tr {
  transition: background 0.15s ease !important;
}
.table tbody tr:hover td {
  background: rgba(20, 104, 232, 0.035) !important;
}
[data-theme="dark"] .table tbody tr:hover td {
  background: rgba(56, 139, 253, 0.06) !important;
}

/* 6. Refined Selection Text Color */
::selection {
  background: rgba(20, 104, 232, 0.22);
  color: inherit;
}


/* ===== ULTRA LUXURY VISUAL SYSTEM (ENTERPRISE VERCEL / STRIPE POLISH) ===== */

/* 1. Multi-Tier Natural Ambient Card Shadows & Highlights */
.panel,
.stat,
.order-card,
.service-card,
.auth-card,
.quota-card {
  box-shadow: 0 1px 3px rgba(7, 22, 47, 0.03),
              0 8px 24px rgba(7, 22, 47, 0.05),
              0 20px 48px rgba(7, 22, 47, 0.025) !important;
  border: 1px solid rgba(227, 233, 241, 0.85) !important;
  position: relative;
}

.panel-head {
  box-shadow: inset 0 -1px 0 rgba(231, 235, 242, 0.7);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 253, 255, 0.92)) !important;
}

/* 2. Apple-Grade Frosted Glass Modal Backdrop */
.backdrop {
  background: rgba(7, 22, 47, 0.48) !important;
  backdrop-filter: blur(14px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(160%) !important;
}

.modal {
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 24px 70px rgba(7, 22, 47, 0.28),
              0 4px 14px rgba(7, 22, 47, 0.08) !important;
  border-radius: 22px !important;
}

/* 3. Primary Button Gloss & 3D Sheen */
.btn.primary {
  background: linear-gradient(135deg, #1468e8 0%, #0d54c2 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28),
              0 8px 22px rgba(20, 104, 232, 0.25) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
  font-weight: 800;
}

.btn.primary:hover {
  background: linear-gradient(135deg, #1871f5 0%, #105cc9 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35),
              0 12px 28px rgba(20, 104, 232, 0.32) !important;
  transform: translateY(-2px) !important;
}

.btn.ghost {
  border-color: #dfe6ef !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.btn.ghost:hover {
  border-color: var(--blue) !important;
  background: rgba(20, 104, 232, 0.04) !important;
}

/* 4. Badges & Status Chips Refinement */
.badge {
  padding: 4px 11px !important;
  border-radius: 99px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: -0.2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge.good {
  background: rgba(16, 185, 129, 0.11) !important;
  color: #059669 !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
}

.badge.warn {
  background: rgba(245, 158, 11, 0.11) !important;
  color: #d97706 !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
}

.badge.danger {
  background: rgba(239, 68, 68, 0.11) !important;
  color: #dc2626 !important;
  border: 1px solid rgba(239, 68, 68, 0.28) !important;
}

.badge.info {
  background: rgba(20, 104, 232, 0.11) !important;
  color: #1468e8 !important;
  border: 1px solid rgba(20, 104, 232, 0.28) !important;
}

/* 5. Stat Cards Typography & Icon Container */
.stat {
  border-radius: 20px !important;
}
.stat b {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.6px;
  font-size: 26px !important;
  font-weight: 900 !important;
}
.stat:hover {
  border-color: #bcd5f5 !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 34px rgba(20, 104, 232, 0.09) !important;
}

/* 6. Form Inputs & Interactive Search Ring */
input, select, textarea, .search {
  border-color: #d8e2ec !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

input:hover, select:hover, textarea:hover, .search:hover {
  border-color: #b8cde4 !important;
}

input:focus, select:focus, textarea:focus, .search:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  background: #fff !important;
}

/* 7. Sidebar Navigation Glow */
.nav-item.active {
  background: linear-gradient(90deg, rgba(20, 104, 232, 0.24) 0%, rgba(20, 104, 232, 0.08) 100%) !important;
  border-color: rgba(66, 184, 255, 0.35) !important;
  box-shadow: inset -3px 0 0 #38bdf8, 0 4px 16px rgba(0, 0, 0, 0.18) !important;
}

/* 8. Event Partner Header Banner */
.event-context {
  border-radius: 16px !important;
  background: linear-gradient(90deg, #ffffff 0%, #f9fbfe 100%) !important;
  border: 1px solid rgba(20, 104, 232, 0.15) !important;
  box-shadow: 0 4px 18px rgba(14, 38, 75, 0.03) !important;
}

/* 9. Toast Notifications Elevation */
.toast {
  border-radius: 14px !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 16px 45px rgba(7, 22, 47, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

/* Dark Mode Fine-Tuning for Badges & Highlights */
[data-theme="dark"] .badge.good {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #34d399 !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
}
[data-theme="dark"] .badge.warn {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #fbbf24 !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
}
[data-theme="dark"] .badge.danger {
  background: rgba(239, 68, 68, 0.18) !important;
  color: #f87171 !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
}
[data-theme="dark"] .badge.info {
  background: rgba(56, 139, 253, 0.18) !important;
  color: #60a5fa !important;
  border-color: rgba(56, 139, 253, 0.35) !important;
}
[data-theme="dark"] .event-context {
  background: linear-gradient(90deg, #161b22, #1c2128) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}


/* ===== EDITOR MEDIA & PRODUCTION STUDIO ===== */
.editor-studio {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.editor-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.editor-kpi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 6px 16px rgba(0,0,0,0.02);
  transition: transform 0.2s, box-shadow 0.2s;
}

.editor-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.editor-kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: var(--soft);
  flex-shrink: 0;
}

.editor-kpi-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.editor-kpi-info span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}

.editor-kpi-info b {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.editor-filters-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 8px 24px rgba(0,0,0,0.02);
}

.editor-filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.editor-pills-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.editor-pill {
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.editor-pill:hover {
  border-color: var(--blue);
  background: rgba(20, 104, 232, 0.06);
}

.editor-pill.active {
  background: linear-gradient(135deg, #7928ca, #4338ca);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(121, 40, 202, 0.3);
}

.editor-pill.active b {
  background: rgba(255, 255, 255, 0.25);
  padding: 1px 6px;
  border-radius: 99px;
  font-size: 10px;
}

.editor-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.editor-media-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 6px 18px rgba(0,0,0,0.02);
}

.editor-media-card:hover {
  transform: translateY(-3px);
  border-color: #9333ea;
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.12);
}

.editor-media-card.selected {
  border-color: #7928ca;
  background: rgba(121, 40, 202, 0.02);
  box-shadow: 0 0 0 2px #7928ca, 0 8px 24px rgba(121, 40, 202, 0.15);
}

.editor-media-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #060e1d;
  overflow: hidden;
  cursor: pointer;
}

.editor-media-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.editor-media-card:hover .editor-media-thumb-wrap img {
  transform: scale(1.04);
}

.editor-media-select-check {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  accent-color: #7928ca;
  cursor: pointer;
}

.editor-video-overlay-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.editor-video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(121, 40, 202, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.2s, background 0.2s;
}

.editor-media-thumb-wrap:hover .editor-video-play-btn {
  transform: scale(1.12);
  background: #7928ca;
}

.editor-media-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.editor-media-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.editor-tag {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.editor-tag.photographer {
  background: #f3e8ff;
  color: #7e22ce;
}
.editor-tag.photographer:hover {
  background: #e9d5ff;
}

.editor-tag.table {
  background: #e0f2fe;
  color: #0369a1;
}
.editor-tag.table:hover {
  background: #bae6fd;
}

.editor-tag.direct {
  background: #fef3c7;
  color: #b45309;
}

.editor-media-caption {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.editor-media-footer {
  padding: 8px 14px 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.editor-media-footer time {
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
}

.editor-bulk-bar {
  position: sticky;
  bottom: 16px;
  z-index: 35;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  color: #fff;
  border-radius: 16px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: slideUp 0.25s ease-out;
}

.badge.editor {
  background: rgba(147, 51, 234, 0.12);
  color: #7e22ce;
  border-color: rgba(147, 51, 234, 0.28);
}

[data-theme="dark"] .editor-kpi-card,
[data-theme="dark"] .editor-filters-panel,
[data-theme="dark"] .editor-media-card {
  background: var(--dm-surface);
  border-color: var(--dm-border);
}

[data-theme="dark"] .editor-pill {
  background: var(--dm-surface2);
  border-color: var(--dm-border);
  color: var(--dm-text);
}

[data-theme="dark"] .editor-tag.photographer {
  background: rgba(147, 51, 234, 0.2);
  color: #d8b4fe;
}

[data-theme="dark"] .editor-tag.table {
  background: rgba(3, 105, 161, 0.25);
  color: #7dd3fc;
}

[data-theme="dark"] .badge.editor {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.35);
}

/* ==========================================================================
   WORLD-CLASS CENTERED HERO & APPLE/VERCEL GRADE WHITE/LIGHT AUTH INTERFACE
   ========================================================================== */

.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 20px 36px;
  background: 
    radial-gradient(circle at 50% -10%, rgba(20, 104, 232, 0.08), transparent 60%),
    radial-gradient(circle at 10% 90%, rgba(12, 165, 168, 0.05), transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(20, 104, 232, 0.05), transparent 50%),
    #f8fafc;
  position: relative;
  overflow-x: hidden;
  color: #0f172a;
}

.auth-shell.hidden,
#auth.hidden {
  display: none !important;
}

.auth-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 40%, transparent 100%);
  z-index: 1;
}

/* Split Layout Wrapper */
.auth-split-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 36px;
  align-items: flex-start;
}

/* Right Column: Event Info & Operations Showcase */
.auth-info-column {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  padding: 34px 32px;
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: right;
  animation: authInfoIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes authInfoIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}

.auth-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.auth-info-logo {
  width: 130px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(20, 104, 232, 0.12));
}

.auth-info-header .brand-text {
  display: flex;
  flex-direction: column;
}

.auth-info-header .brand-text strong {
  font-size: 19px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.3px;
  font-family: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
}

.auth-info-header .brand-text span {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.auth-info-header .live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  color: #15803d !important;
  font-size: 11px !important;
  font-weight: 800;
}

.auth-info-header .live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 8px #16a34a;
  display: inline-block;
}

.auth-info-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-info-hero {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-info-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  color: #1d6fee;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 4px 12px;
  border-radius: 99px;
}

.auth-info-hero h1 {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  margin: 4px 0 0;
  font-family: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
  line-height: 1.35;
  letter-spacing: -0.3px;
}

.auth-info-hero p {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

.auth-info-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.info-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.info-feat-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transform: translateY(-2px);
}

.feat-ico {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-feat-item strong {
  display: block;
  font-size: 11.5px;
  color: #0f172a;
  font-weight: 800;
  margin-bottom: 3px;
}

.info-feat-item p {
  margin: 0;
  font-size: 10.5px;
  color: #64748b;
  line-height: 1.5;
}

.auth-info-partners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.auth-info-partners .partner-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 13px;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.2s ease;
  min-width: 0;
}

.auth-info-partners .partner-card:hover {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-1px);
}

.auth-info-partners .partner-card img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 2px;
  flex-shrink: 0;
}

.auth-info-partners .partner-card.sponsor img {
  background: #06140d;
}

.auth-info-partners .partner-card div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.auth-info-partners .partner-card small {
  font-size: 8.5px;
  color: #64748b;
  line-height: 1.2;
}

.auth-info-partners .partner-card strong {
  font-size: 10.5px;
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

/* Left Column: Form Column */
.auth-form-column {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: authFormIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes authFormIn {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1024px) {
  .auth-split-wrapper {
    grid-template-columns: 1fr;
    max-width: 540px;
    gap: 28px;
  }
  .auth-info-column {
    padding: 26px 22px;
  }
}

@media (max-width: 600px) {
  .auth-info-features {
    grid-template-columns: 1fr;
  }
  .auth-info-partners {
    grid-template-columns: 1fr;
  }
  .auth-info-header {
    flex-direction: column;
    text-align: center;
  }
}

/* Card */
.auth-card-stage {
  width: 100%;
}

.auth-card.modern-card {
  width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  padding: 34px 30px !important;
  box-shadow: 
    0 20px 48px -12px rgba(15, 23, 42, 0.08),
    0 1px 3px rgba(15, 23, 42, 0.04) !important;
  animation: authCardIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes authCardIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-card-head {
  text-align: right;
  margin-bottom: 22px;
}

.auth-card-head .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #1d6fee;
  background: #eff6ff;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 10px;
  border: 1px solid #dbeafe;
}

.auth-card-head h2 {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 6px !important;
  font-family: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: -0.3px;
}

.auth-card-head p {
  font-size: 13px !important;
  color: #64748b !important;
  margin: 0 !important;
  line-height: 1.6;
}

.auth-card-body {
  display: flex;
  flex-direction: column;
}

.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
  text-align: right;
  width: 100%;
}

.field-label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.input-icon-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.input-icon-wrap .input-icon {
  position: absolute;
  right: 14px;
  width: 18px;
  height: 18px;
  stroke: #94a3b8;
  fill: none;
  stroke-width: 2;
  pointer-events: none;
  transition: stroke 0.2s ease;
}

.input-icon-wrap:focus-within .input-icon {
  stroke: #2563eb;
}

.input-icon-wrap input {
  width: 100% !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  color: #0f172a !important;
  padding: 13px 44px 13px 14px !important;
  font-size: 13.5px !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  font-family: inherit;
}

.input-icon-wrap input::placeholder {
  color: #94a3b8 !important;
  opacity: 1;
}

.input-icon-wrap input:focus {
  border-color: #2563eb !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}

.password-wrap input {
  padding-left: 44px !important;
}

.peek-btn {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0 !important;
  background: transparent !important;
  color: #94a3b8 !important;
  display: grid;
  place-items: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0 !important;
}

.peek-btn:hover {
  color: #0f172a !important;
  background: #f1f5f9 !important;
}

.peek-svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.auth-submit-btn {
  width: 100% !important;
  height: 48px !important;
  margin-top: 8px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #1468e8, #0e55c2) !important;
  color: #ffffff !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  box-shadow: 0 8px 22px rgba(20, 104, 232, 0.28) !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
}

.auth-submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(20, 104, 232, 0.38) !important;
  background: linear-gradient(135deg, #1d6fee, #105cc7) !important;
}

.auth-submit-btn:active {
  transform: translateY(0) scale(0.99) !important;
}

.btn-arrow {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  transition: transform 0.2s ease;
}

.auth-submit-btn:hover .btn-arrow {
  transform: translateX(-4px);
}

.auth-card-footer .form-note {
  display: block;
  text-align: center;
  margin-top: 18px;
  color: #64748b !important;
  font-size: 11.5px;
}

/* Loading Card */
.modern-card.loading-card {
  text-align: center;
  padding: 50px 32px !important;
}

.modern-card.loading-card .loader {
  width: 44px;
  height: 44px;
  border: 3px solid #e2e8f0;
  border-top-color: #2563eb;
  margin: 0 auto 16px;
}

.modern-card.loading-card h2 {
  font-size: 20px;
  color: #0f172a;
  margin: 0 0 8px;
  font-family: 'Cairo', sans-serif;
}

.modern-card.loading-card p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

/* Partners Bar */
.auth-partners-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
}

.auth-partners-wrap .partner-card {
  flex: 1 1 calc(33.333% - 10px);
  min-width: 135px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.2s ease;
  text-align: right;
}

.auth-partners-wrap .partner-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06) !important;
  transform: translateY(-2px);
}

.auth-partners-wrap .partner-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 9px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  padding: 3px;
  flex-shrink: 0;
}

.auth-partners-wrap .partner-card.sponsor img {
  background: #06140d;
}

.auth-partners-wrap .partner-card div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.auth-partners-wrap .partner-card small {
  font-size: 9px;
  color: #64748b;
  line-height: 1.3;
}

.auth-partners-wrap .partner-card strong {
  font-size: 11px;
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

/* Trust & Footer */
.auth-shell .auth-trust {
  position: static !important;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #64748b !important;
  font-size: 11px;
}

.auth-shell .auth-trust img {
  width: 58px;
  height: 22px;
  object-fit: contain;
}

.auth-shell .global-auth-footer {
  width: 100%;
  margin-top: 4px;
  padding: 10px 16px;
  border-radius: 14px;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.auth-shell .global-dev-line {
  color: #64748b;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-shell .global-dev-line strong {
  color: #0f172a;
}

.auth-shell .global-social-link {
  padding: 5px 10px;
  font-size: 10.5px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.auth-shell .global-social-link.whatsapp {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}

.auth-shell .global-social-link.instagram {
  background: #fdf2f8;
  border-color: #fbcfe8;
  color: #be185d;
}

.auth-shell .global-social-link:hover {
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .auth-shell {
    padding: 24px 14px 28px !important;
  }
  .auth-card.modern-card {
    padding: 26px 18px !important;
    border-radius: 20px !important;
  }
  .auth-partners-wrap {
    flex-direction: column;
    gap: 8px;
  }
  .auth-partners-wrap .partner-card {
    width: 100%;
    flex: 1 1 100%;
  }
  .auth-shell .global-auth-footer {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ==========================================================================
   ABOUT EVENT & PLATFORM BRIEFING MODAL & BUTTON
   ========================================================================== */

.auth-header-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.about-briefing-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 99px;
  background: #ffffff !important;
  border: 1px solid #dbeafe !important;
  color: #1d6fee !important;
  font-size: 11px !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(29, 111, 238, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.about-briefing-btn:hover {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 111, 238, 0.16);
}

.about-bulb {
  font-size: 12px;
}

.about-arrow {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  transition: transform 0.2s;
}

.about-briefing-btn:hover .about-arrow {
  transform: translateX(-2px);
}

.about-modal-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: right;
  line-height: 1.6;
}

.about-hero-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border: 1px solid #dbeafe;
}

.about-hero-logo {
  width: 95px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.about-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-tag {
  font-size: 10px;
  font-weight: 800;
  color: #1d6fee;
  letter-spacing: 0.3px;
}

.about-hero-copy h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.about-hero-copy p {
  margin: 0;
  font-size: 11.5px;
  color: #475569;
}

.about-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.about-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-section-num {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #1d6fee;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.about-section-head h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
}

.about-section-head small {
  display: block;
  font-size: 10.5px;
  color: #64748b;
  margin-top: 2px;
}

.about-text {
  margin: 0;
  font-size: 12px;
  color: #334155;
  line-height: 1.7;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.about-feat-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.feat-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feat-card strong {
  display: block;
  font-size: 11.5px;
  color: #0f172a;
  margin-bottom: 3px;
}

.about-feat-card p {
  margin: 0;
  font-size: 10.5px;
  color: #64748b;
  line-height: 1.5;
}

.about-partners-showcase {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.about-partner-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.about-partner-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: #f8fafc;
  padding: 4px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.about-partner-item div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.about-partner-item small {
  font-size: 9.5px;
  color: #1d6fee;
  font-weight: 700;
}

.about-partner-item strong {
  font-size: 12px;
  color: #0f172a;
  font-weight: 800;
  margin-bottom: 2px;
}

.about-partner-item p {
  margin: 0;
  font-size: 10.5px;
  color: #64748b;
}

.about-eng-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #faf5ff, #f0fdf4);
  border: 1px solid #e9d5ff;
}

.about-eng-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.about-eng-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.about-eng-info small {
  font-size: 9.5px;
  color: #7c3aed;
  font-weight: 800;
}

.about-eng-info strong {
  font-size: 13px;
  color: #0f172a;
  font-weight: 900;
}

.about-eng-info p {
  margin: 0;
  font-size: 10.5px;
  color: #475569;
}

@media (max-width: 600px) {
  .about-features-grid {
    grid-template-columns: 1fr;
  }
  .about-hero-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* Topbar Buffet Status Pill for Admin & Staff */
.topbar-buffet-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.topbar-buffet-btn.open {
  background: #f0fdf4;
  color: #15803d;
  border-color: #86efac;
}
.topbar-buffet-btn.open:hover {
  background: #dcfce7;
  border-color: #4ade80;
  transform: translateY(-1px);
}
.topbar-buffet-btn.closed {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fca5a5;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.2);
  animation: pulseClosedBorder 2.5s infinite ease-in-out;
}
.topbar-buffet-btn.closed:hover {
  background: #fee2e2;
  border-color: #f87171;
  transform: translateY(-1px);
}
.topbar-buffet-btn .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.topbar-buffet-btn .pill-dot.good {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}
.topbar-buffet-btn .pill-dot.bad {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}
@keyframes pulseClosedBorder {
  0%, 100% {
    border-color: #fca5a5;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.15);
  }
  50% {
    border-color: #dc2626;
    box-shadow: 0 4px 18px rgba(220, 38, 38, 0.35);
  }
}
@media (max-width: 680px) {
  .topbar-buffet-btn .pill-text {
    display: none;
  }
  .topbar-buffet-btn {
    padding: 6px 10px;
    font-size: 14px;
  }
}
