:root{--bg:#07111f;--card:#fff;--ink:#102033;--muted:#697386;--brand:#7c3aed;--brand2:#06b6d4;--ok:#16a34a;--danger:#dc2626;--line:#e5e7eb}
.arabic-title{margin:-5px 0 13px;color:var(--brand);font-size:clamp(21px,4vw,30px);font-weight:850}.arabic-line{display:block;margin-top:7px;line-height:1.7}.bilingual-btn{display:inline-flex;flex-direction:column;align-items:center;gap:2px;line-height:1.15}.bilingual-btn small{font-size:12px;font-weight:700;opacity:.9}.modal-arabic{font-size:23px;margin:-2px 0 8px}.bilingual-note{line-height:1.6}
.brand-mark img,.customer-logo img,.logo-preview img,.large-brand-preview img{width:100%;height:100%;object-fit:contain}.brand-mark:has(img){background:#fff;padding:5px}.customer-logo:has(img){background:#fff;padding:7px}.settings-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,.65fr);gap:18px;align-items:start}.settings-form{margin-top:0}.logo-field{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid #eef0f4}.logo-field strong{font-size:12px}.logo-field p{margin:5px 0 0;color:#8992a2;font-size:10px}.logo-upload-row{display:flex;align-items:center;gap:10px}.logo-preview{width:64px;height:52px;display:grid;place-items:center;overflow:hidden;border:1px dashed #ccd2dd;border-radius:10px;background:#f8f9fc;color:#929aaa;font-size:9px}.file-button{position:relative;padding:9px 12px;border:1px solid #dedfeb;border-radius:9px;background:#fff;color:#6152db;font-size:11px!important;font-weight:750!important;cursor:pointer;overflow:hidden}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.upload-help{margin:0;color:#929aaa;font-size:10px}.large-brand-preview{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px;border-radius:13px;background:linear-gradient(145deg,#f5f3ff,#eef7ff);text-align:center}.large-brand-preview img,.large-brand-preview>span{width:90px;height:90px;object-fit:contain;margin-bottom:15px}.large-brand-preview>span{display:grid;place-items:center;font-size:46px}.large-brand-preview strong{font-size:18px}.large-brand-preview small{margin-top:5px;color:#8992a2}@media(max-width:900px){.settings-layout{grid-template-columns:1fr}}@media(max-width:560px){.logo-field{align-items:flex-start;flex-direction:column}}
*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:radial-gradient(circle at top right,#1d4ed8 0,transparent 35%),radial-gradient(circle at bottom left,#7c3aed 0,transparent 40%),var(--bg);min-height:100vh;color:#fff}.shell{width:min(1100px,92%);margin:auto}.center-page{min-height:100vh;display:grid;place-items:center;padding:24px}.hero-card{width:min(680px,100%);background:rgba(255,255,255,.96);color:var(--ink);border-radius:28px;padding:34px;box-shadow:0 30px 90px rgba(0,0,0,.35);text-align:center}.logo{width:72px;height:72px;border-radius:22px;margin:0 auto 18px;display:grid;place-items:center;font-size:34px;background:linear-gradient(135deg,var(--brand),var(--brand2));box-shadow:0 14px 35px rgba(124,58,237,.35)}h1{font-size:clamp(32px,6vw,54px);margin:8px 0 12px;line-height:1.05}.lead{color:var(--muted);font-size:18px;line-height:1.65}.btn{border:0;border-radius:14px;padding:14px 20px;font-weight:800;font-size:16px;cursor:pointer;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;box-shadow:0 10px 25px rgba(124,58,237,.25)}.btn.secondary{background:#111827}.btn.danger{background:var(--danger)}.btn:disabled{opacity:.55;cursor:not-allowed}.hidden{display:none!important}.form{display:grid;gap:14px;text-align:left;margin-top:20px}.form label{font-weight:700}.form input,.form textarea,.form select{width:100%;border:1px solid var(--line);border-radius:13px;padding:13px 14px;font-size:16px;outline:none}.form input:focus,.form textarea:focus{border-color:var(--brand);box-shadow:0 0 0 4px rgba(124,58,237,.12)}.error{background:#fee2e2;color:#991b1b;padding:12px;border-radius:12px}.success{background:#dcfce7;color:#166534;padding:12px;border-radius:12px}.coupon{margin:22px 0;padding:22px;border:2px dashed var(--brand);border-radius:18px;background:#f5f3ff}.coupon-code{font-size:clamp(26px,6vw,44px);font-weight:900;letter-spacing:2px;color:var(--brand);word-break:break-all}.small{font-size:13px;color:var(--muted)}.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.68);display:grid;place-items:center;padding:20px;z-index:50;backdrop-filter:blur(8px)}.modal{width:min(520px,100%);background:#fff;color:var(--ink);border-radius:26px;padding:30px;text-align:center;box-shadow:0 30px 100px rgba(0,0,0,.45);animation:pop .35s ease}.confetti{font-size:54px}.modal h2{font-size:34px;margin:8px 0}.modal p{color:var(--muted);line-height:1.6}@keyframes pop{from{transform:scale(.86);opacity:0}to{transform:scale(1);opacity:1}}
.admin-body{background:#f3f4f6;color:#111827;min-height:100vh}.topbar{background:#111827;color:#fff;padding:16px 0}.topbar .shell{display:flex;align-items:center;justify-content:space-between;gap:16px}.nav{display:flex;gap:10px;flex-wrap:wrap}.nav a{color:#fff;text-decoration:none;padding:9px 12px;border-radius:10px;background:rgba(255,255,255,.08)}.admin-main{padding:28px 0}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat,.panel{background:#fff;border-radius:18px;padding:20px;box-shadow:0 8px 26px rgba(15,23,42,.06)}.stat b{font-size:34px;display:block}.stat span{color:var(--muted)}.panel{margin-top:18px}.panel h2{margin-top:0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:12px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.badge{display:inline-block;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800;background:#e5e7eb}.badge.ok{background:#dcfce7;color:#166534}.badge.warn{background:#fef3c7;color:#92400e}.actions{display:flex;gap:10px;flex-wrap:wrap}.qr-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.qr-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;text-align:center;break-inside:avoid}.qr-target{width:180px;height:180px;margin:auto}.qr-url{font-size:11px;word-break:break-all;color:var(--muted);margin-top:8px}@media(max-width:850px){.grid{grid-template-columns:repeat(2,1fr)}.qr-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.grid,.qr-grid{grid-template-columns:1fr}.hero-card{padding:24px}.topbar .shell{align-items:flex-start;flex-direction:column}}@media print{.topbar,.no-print{display:none!important}.admin-main{padding:0}.qr-grid{grid-template-columns:repeat(3,1fr);gap:8px}.qr-card{box-shadow:none;border:1px solid #bbb}.admin-body{background:#fff}.panel{box-shadow:none;margin:0;padding:0}}

.brand-management-grid{display:grid;grid-template-columns:minmax(300px,.7fr) minmax(420px,1.3fr);gap:18px;align-items:start}.brand-form{margin-top:0}.brand-form-actions{display:flex;gap:10px}.brand-card-list{display:grid;gap:9px}.brand-list-card{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #edf0f4;border-radius:12px}.brand-list-card>div{flex:1}.brand-list-card strong,.brand-list-card small{display:block}.brand-list-card strong{font-size:12px}.brand-list-card small{margin-top:4px;color:#929aaa;font-size:10px}.brand-list-logo,.table-brand img,.table-brand span{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;overflow:hidden;border-radius:10px;background:#f2f0ff;color:#6554e8}.brand-list-logo img,.table-brand img{width:100%;height:100%;object-fit:contain}.brand-edit-link{padding:7px 9px;border-radius:7px;background:#f3f1ff;color:#6554e8;text-decoration:none;font-size:10px;font-weight:750}.table-brand{display:flex;align-items:center;gap:9px}.table-brand img,.table-brand span{width:30px;height:30px;border-radius:7px}.compact-btn{padding:8px 10px!important;font-size:11px!important}.campaign-form{max-width:600px}.qr-brand-logo{display:block;width:100px;height:45px;object-fit:contain;margin:0 auto 8px}@media(max-width:950px){.brand-management-grid{grid-template-columns:1fr}}@media(max-width:560px){.brand-list-card{flex-wrap:wrap}}

.brand-delete-form{margin:0}.brand-delete-button{padding:7px 9px;border:0;border-radius:7px;background:#fff0f0;color:#c33b3b;font-size:10px;font-weight:750;cursor:pointer}.brand-delete-button:hover{background:#fee2e2}

.brand-list-card .brand-list-logo{width:42px!important;height:42px!important;max-width:42px!important;max-height:42px!important;overflow:hidden!important}.brand-list-card .brand-list-logo img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}

.user-management-grid{display:grid;grid-template-columns:minmax(480px,1.05fr) minmax(420px,.95fr);gap:18px;align-items:start}.user-form{margin-top:0}.two-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.brand-checkboxes{margin:0;padding:15px;border:1px solid #e5e7ed;border-radius:11px}.brand-checkboxes legend{padding:0 6px;font-size:12px;font-weight:750}.brand-checkboxes>p{margin:0 0 11px;color:#8992a2;font-size:10px}.brand-checkboxes>div{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.brand-checkboxes label{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #edf0f4;border-radius:9px;cursor:pointer;font-size:11px}.brand-checkboxes input{width:auto!important}.mini-brand-logo{width:27px;height:27px;display:grid;place-items:center;overflow:hidden;border-radius:7px;background:#f2f0ff;color:#6554e8;font-size:10px}.mini-brand-logo img{width:100%;height:100%;object-fit:contain}.user-list{display:grid;gap:9px}.user-list article{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #edf0f4;border-radius:11px}.user-list article>div{flex:1;min-width:0}.user-list strong,.user-list small{display:block}.user-list strong{font-size:12px}.user-list small,.user-list p{color:#8992a2;font-size:10px}.user-list p{margin:5px 0 0}.user-list em{display:inline-block;padding:3px 5px;border-radius:5px;background:#eeeaff;color:#6554e8;font-size:8px;font-style:normal}.role-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;background:#eef5ff;color:#2088ee;font-size:12px;font-weight:850}@media(max-width:1050px){.user-management-grid{grid-template-columns:1fr}}@media(max-width:600px){.two-fields,.brand-checkboxes>div{grid-template-columns:1fr}.user-list article{flex-wrap:wrap}}

.modal-brand-logo{width:130px;height:70px;display:grid;place-items:center;margin:0 auto 10px;padding:6px;border:1px solid #eceef3;border-radius:13px;background:#fff}.modal-brand-logo img{display:block;width:100%;height:100%;object-fit:contain}

@media print{.qr-url,.qr-brand-logo,.qr-brand-name{display:none!important}}

/* Brand-aware celebration themes */
.brand-juicetime{--brand:#f28b1a;--brand2:#9bc52d;--celebrate-3:#ffd447;--celebrate-4:#60b947;background:radial-gradient(circle at 12% 12%,rgba(255,190,55,.2),transparent 28%),radial-gradient(circle at 88% 82%,rgba(137,190,43,.2),transparent 32%),#132017}.brand-quiznos{--brand:#171717;--brand2:#d59b27;--celebrate-3:#e32636;--celebrate-4:#f0bd43;background:radial-gradient(circle at 15% 10%,rgba(213,155,39,.18),transparent 30%),radial-gradient(circle at 90% 85%,rgba(168,25,35,.17),transparent 34%),#151515}.brand-theme .hero-card{border-top:5px solid var(--brand)}.brand-theme .btn{background:linear-gradient(135deg,var(--brand),var(--brand2))}.brand-quiznos .btn{color:#fff}.brand-modal{overflow:hidden}.brand-modal>*:not(.brand-motion){position:relative;z-index:2}.brand-motion{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}.brand-motion i{position:absolute;display:block;opacity:0}.brand-juicetime .brand-modal{background:linear-gradient(160deg,#fff 50%,#fbfff2)}.brand-juicetime .brand-motion i{width:42px;height:42px;border:8px solid #f5a623;border-radius:50%;box-shadow:inset 0 0 0 3px #fff;background:#ffd447;animation:fruitFloat 5s ease-in-out infinite}.brand-juicetime .brand-motion i:after{content:"";position:absolute;left:50%;top:50%;width:2px;height:100%;background:rgba(255,255,255,.8);transform:translate(-50%,-50%) rotate(45deg)}.brand-juicetime .brand-motion i:nth-child(1){left:-15px;top:15%;animation-delay:0s}.brand-juicetime .brand-motion i:nth-child(2){right:-18px;top:28%;width:55px;height:55px;border-color:#8fbd2a;background:#c7e55e;animation-delay:.8s}.brand-juicetime .brand-motion i:nth-child(3){left:8%;bottom:-25px;width:60px;height:60px;animation-delay:1.4s}.brand-juicetime .brand-motion i:nth-child(4){right:12%;bottom:-20px;width:38px;height:38px;border-color:#8fbd2a;background:#c7e55e;animation-delay:2s}.brand-juicetime .brand-motion i:nth-child(5){right:20%;top:-23px;animation-delay:2.6s}.brand-quiznos .brand-modal{border-top:7px solid #d59b27;background:linear-gradient(155deg,#fff 55%,#fff8e8)}.brand-quiznos .brand-motion i{width:120px;height:8px;border-radius:9px;background:linear-gradient(90deg,#171717 65%,#d59b27 65%);transform:rotate(-35deg);animation:toastSweep 4.5s ease-in-out infinite}.brand-quiznos .brand-motion i:nth-child(1){left:-70px;top:12%}.brand-quiznos .brand-motion i:nth-child(2){right:-70px;top:25%;animation-delay:.7s}.brand-quiznos .brand-motion i:nth-child(3){left:-75px;bottom:25%;animation-delay:1.4s}.brand-quiznos .brand-motion i:nth-child(4){right:-65px;bottom:12%;animation-delay:2.1s}.brand-quiznos .brand-motion i:nth-child(5){left:35%;top:-15px;animation-delay:2.8s}@keyframes fruitFloat{0%,100%{opacity:.16;transform:translateY(0) rotate(0) scale(.85)}50%{opacity:.34;transform:translateY(-16px) rotate(75deg) scale(1)}}@keyframes toastSweep{0%,100%{opacity:.08;transform:translateX(0) rotate(-35deg)}50%{opacity:.2;transform:translateX(24px) rotate(-35deg)}}@media(prefers-reduced-motion:reduce){.brand-motion i{animation:none!important;opacity:.12}}

/* Coupon reveal celebration */
.reveal-stage{position:relative;isolation:isolate}.reveal-stage.is-revealed{animation:revealStage .55s cubic-bezier(.2,.8,.2,1) both}.reveal-stage.is-revealed .reveal-emoji{animation:revealEmoji .75s .08s cubic-bezier(.2,1.5,.4,1) both}.reveal-stage.is-revealed h1,.reveal-stage.is-revealed>.arabic-title,.reveal-stage.is-revealed>.lead{animation:revealText .5s .18s ease both}.reveal-coupon{position:relative;overflow:hidden;transform-style:preserve-3d}.reveal-stage.is-revealed .reveal-coupon{animation:revealCoupon .9s .28s cubic-bezier(.16,1,.3,1) both, couponGlow 2.1s 1.05s ease-in-out infinite}.reveal-stage.is-revealed .coupon-code{animation:revealCode .58s .72s cubic-bezier(.2,1.4,.4,1) both}.coupon-shine{position:absolute;inset:-50%;z-index:0;background:linear-gradient(110deg,transparent 38%,rgba(255,255,255,.9) 49%,transparent 60%);transform:translateX(-70%) rotate(8deg);pointer-events:none}.reveal-stage.is-revealed .coupon-shine{animation:couponShine 1.2s .8s ease-out both}.reveal-coupon .coupon-code{position:relative;z-index:1}.reveal-stage.is-revealed .reveal-copy,.reveal-stage.is-revealed .reveal-note{animation:revealText .5s 1s ease both}.reveal-burst{position:absolute;left:50%;top:48%;z-index:5;width:1px;height:1px;pointer-events:none}.reveal-burst i{position:absolute;width:8px;height:14px;border-radius:2px;opacity:0;animation:burstParticle 1.45s var(--delay) cubic-bezier(.1,.7,.2,1) forwards}.reveal-burst i.round{width:9px;height:9px;border-radius:50%}@keyframes revealStage{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}@keyframes revealEmoji{from{opacity:0;transform:scale(.15) rotate(-25deg)}70%{transform:scale(1.18) rotate(7deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes revealText{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes revealCoupon{from{opacity:0;transform:perspective(700px) rotateX(-65deg) scale(.72);filter:blur(5px)}60%{transform:perspective(700px) rotateX(5deg) scale(1.035);filter:blur(0)}to{opacity:1;transform:none}}@keyframes revealCode{from{opacity:0;letter-spacing:14px;transform:scale(.7);filter:blur(7px)}to{opacity:1;letter-spacing:2px;transform:none;filter:blur(0)}}@keyframes couponShine{from{transform:translateX(-70%) rotate(8deg)}to{transform:translateX(70%) rotate(8deg)}}@keyframes couponGlow{0%,100%{box-shadow:0 0 0 rgba(124,58,237,0)}50%{box-shadow:0 10px 35px rgba(124,58,237,.2)}}@keyframes burstParticle{0%{opacity:0;transform:translate(0,0) scale(.3) rotate(0)}15%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) scale(.8) rotate(var(--r))}}@media(prefers-reduced-motion:reduce){.reveal-stage,.reveal-stage *{animation:none!important}.reveal-burst{display:none}}

.settings-nav-label{margin-top:24px;padding-top:14px;border-top:1px solid rgba(255,255,255,.07)}

.table-actions{display:flex;align-items:center;gap:7px}.admin-body .excel-btn{background:#16834f;box-shadow:0 6px 14px rgba(22,131,79,.18)}.admin-body .excel-btn:hover{background:#106b40}

.claims-heading{align-items:center}.admin-body .claims-export-btn{margin-left:auto;background:#16834f;box-shadow:0 6px 14px rgba(22,131,79,.18)}.claims-export-btn svg{width:16px;height:16px}.admin-body .claims-export-btn:hover{background:#106b40}@media(max-width:560px){.claims-heading{align-items:flex-start}.claims-export-btn{width:100%;margin:5px 0 0!important}}

.inventory-health{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #d9eee4;border-radius:20px;background:#f0faf5;color:#168052;font-size:10px;font-weight:750}.inventory-health i{width:6px;height:6px;border-radius:50%;background:#20b777;box-shadow:0 0 0 4px rgba(32,183,119,.1)}.coupon-alert{display:flex;align-items:center;gap:9px;margin:0 0 18px!important}.coupon-alert strong,.coupon-alert span{font-size:11px}.coupon-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-bottom:18px}.coupon-stats article{display:flex;align-items:center;gap:14px;padding:19px;background:#fff;border:1px solid #eaecf2;border-radius:15px;box-shadow:0 7px 22px rgba(18,31,53,.035)}.coupon-stat-icon{width:43px;height:43px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;background:#f0edff;color:#6d5dfc}.coupon-stat-icon.available{background:#e7f8ef;color:#16a66a}.coupon-stat-icon.assigned{background:#fff2e7;color:#ef883c}.coupon-stat-icon svg{width:21px;height:21px}.coupon-stats small,.coupon-stats strong{display:block}.coupon-stats small{color:#7b8494;font-size:10px;font-weight:700}.coupon-stats strong{margin-top:4px;color:#182033;font-size:25px}.coupon-stats p{margin:5px 0 0;color:#9aa2b0;font-size:9.5px}.coupon-import-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.import-card-heading{display:flex;align-items:center;gap:12px;padding-bottom:17px;border-bottom:1px solid #eef0f4}.import-card-heading h2{margin:0 0 4px!important}.import-card-heading p{margin:0;color:#8992a2;font-size:10.5px}.import-method-icon{width:41px;height:41px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;background:#f0edff;color:#6d5dfc}.import-method-icon.excel{background:#e8f7ef;color:#16834f}.import-method-icon svg{width:20px;height:20px}.coupon-import-form{margin-top:17px}.coupon-import-form textarea{min-height:190px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.65}.form-hint{display:flex;justify-content:space-between;gap:10px;color:#929aaa;font-size:9.5px}.coupon-import-form>.btn{justify-self:start}.coupon-dropzone{position:relative;min-height:190px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;padding:22px!important;border:1.5px dashed #cfd5df!important;border-radius:12px;background:#fafbfc;text-align:center;cursor:pointer;transition:.2s}.coupon-dropzone:hover,.coupon-dropzone.has-file{border-color:#6d5dfc!important;background:#f7f5ff}.coupon-dropzone input{position:absolute;inset:0;z-index:2;opacity:0;cursor:pointer}.dropzone-icon{width:43px;height:43px;display:grid;place-items:center;margin-bottom:10px;border-radius:12px;background:#eeeaff;color:#6554e8}.dropzone-icon svg{width:21px;height:21px}.coupon-dropzone strong{font-size:11px;color:#374052}.coupon-dropzone small{margin-top:5px;color:#929aaa;font-size:9.5px}.coupon-dropzone em{margin-top:12px;color:#a2a9b5;font-size:8.5px;font-style:normal}.spreadsheet-guide{display:grid;gap:7px;padding:12px;border-radius:10px;background:#f7f8fb;color:#687284;font-size:9.5px}.spreadsheet-guide>strong{color:#384253;font-size:10px}.spreadsheet-guide span{display:flex;align-items:center;gap:7px}.spreadsheet-guide b{width:18px;height:18px;display:grid;place-items:center;border-radius:5px;background:#fff;color:#6554e8;font-size:8px}.admin-body .excel-import-btn{background:#16834f;box-shadow:0 7px 16px rgba(22,131,79,.18)}.coupon-table-panel{margin-top:18px!important}.table-count{padding:6px 9px;border-radius:8px;background:#f5f6f8;color:#7a8393;font-size:9.5px;font-weight:700}.coupon-code-cell{display:flex;align-items:center;gap:8px}.coupon-code-cell>span{width:27px;height:27px;display:grid;place-items:center;border-radius:7px;background:#f1efff;color:#6554e8;font-weight:800}.coupon-code-cell code{color:#30394a;font:750 11px ui-monospace,SFMono-Regular,Consolas,monospace}.coupon-status{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:20px;font-size:9.5px;font-weight:750}.coupon-status i{width:5px;height:5px;border-radius:50%;background:currentColor}.coupon-status.available{background:#eaf8f1;color:#15915e}.coupon-status.assigned{background:#fff2e7;color:#ce6b27}.not-assigned{color:#a0a7b3;font-size:10px}@media(max-width:900px){.coupon-import-grid{grid-template-columns:1fr}}@media(max-width:650px){.coupon-stats{grid-template-columns:1fr}.form-hint{flex-direction:column}.coupon-import-form>.btn{width:100%}}

.pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:17px;margin-top:5px;border-top:1px solid #eef0f4}.pagination-bar p{margin:0;color:#8992a2;font-size:10px}.pagination{display:flex;align-items:center;gap:5px}.pagination a,.pagination span{min-width:31px;height:31px;display:grid;place-items:center;padding:0 8px;border:1px solid #e2e5eb;border-radius:8px;background:#fff;color:#5f6878;text-decoration:none;font-size:10px;font-weight:700}.pagination a:hover{border-color:#bdb6ff;color:#6554e8}.pagination a.active{border-color:#6d5dfc;background:#6d5dfc;color:#fff;box-shadow:0 5px 12px rgba(109,93,252,.2)}.pagination a.disabled{opacity:.4;pointer-events:none}.pagination span{min-width:auto;border:0;background:transparent;color:#9ca3af}@media(max-width:600px){.pagination-bar{align-items:flex-start;flex-direction:column}.pagination{max-width:100%;overflow:auto}}

/* Professional login */
.login-body{margin:0;background:#f7f8fc;color:#172033;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.login-layout{display:grid;grid-template-columns:minmax(420px,.92fr) minmax(520px,1.08fr);min-height:100vh}.login-showcase{position:relative;overflow:hidden;padding:48px;background:linear-gradient(145deg,#111827 0%,#182039 56%,#292452 100%);color:#fff}.login-showcase:before,.login-showcase:after{content:"";position:absolute;border-radius:50%;filter:blur(1px)}.login-showcase:before{width:440px;height:440px;right:-240px;top:-170px;background:rgba(109,93,252,.22)}.login-showcase:after{width:300px;height:300px;left:-170px;bottom:-150px;background:rgba(32,136,238,.14)}.login-showcase-inner{position:relative;z-index:1;display:flex;flex-direction:column;width:min(560px,100%);height:100%;margin:auto}.login-brand{display:flex;align-items:center;gap:13px;color:#fff;text-decoration:none}.login-brand-mark,.login-mobile-brand{width:48px;height:48px;display:grid;place-items:center;overflow:hidden;border-radius:14px;background:linear-gradient(145deg,#7567ff,#5848e9);box-shadow:0 12px 30px rgba(75,61,218,.3)}.login-brand-mark img,.login-mobile-brand img{width:100%;height:100%;object-fit:contain;background:#fff;padding:5px}.login-brand-mark svg{width:27px;fill:currentColor}.login-brand strong,.login-brand small{display:block}.login-brand strong{font-size:17px}.login-brand small{margin-top:4px;color:#8f99ad;font-size:10px}.showcase-copy{margin:auto 0}.showcase-label{color:#8d82ff;font-size:10px;font-weight:850;letter-spacing:1.6px}.showcase-copy h1{max-width:520px;margin:17px 0 18px;color:#fff;font-size:clamp(37px,4vw,55px);line-height:1.06;letter-spacing:-1.8px}.showcase-copy p{max-width:500px;margin:0;color:#aeb7c7;font-size:15px;line-height:1.75}.showcase-features{display:flex;flex-wrap:wrap;gap:10px;margin-top:31px}.showcase-features span{display:flex;align-items:center;gap:7px;padding:9px 11px;border:1px solid rgba(255,255,255,.1);border-radius:9px;background:rgba(255,255,255,.04);color:#c7ceda;font-size:10px}.showcase-features i{width:17px;height:17px;display:grid;place-items:center;border-radius:50%;background:rgba(109,93,252,.25);color:#9f96ff;font-style:normal}.showcase-footer{margin:0;color:#697489;font-size:10px}.login-panel{display:grid;place-items:center;padding:45px}.login-box{width:min(440px,100%)}.login-mobile-brand{display:none}.login-eyebrow{color:#6d5dfc;font-size:10px;font-weight:850;letter-spacing:1.4px}.login-box h2{margin:10px 0 8px;color:#151d2d;font-size:32px;letter-spacing:-.8px}.login-intro{margin:0 0 30px;color:#7e8797;font-size:13px}.login-error{display:flex;align-items:flex-start;gap:10px;margin-bottom:19px;padding:12px 13px;border:1px solid #fecaca;border-radius:10px;background:#fff1f2;color:#a5202e;font-size:11px;line-height:1.5}.login-error svg,.login-input svg,.login-security svg{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.login-form{display:grid;gap:17px}.login-form label>span{display:block;margin-bottom:7px;color:#30394a;font-size:11px;font-weight:750}.login-input{display:flex;align-items:center;gap:10px;height:48px;padding:0 13px;border:1px solid #dfe3ea;border-radius:10px;background:#fff;color:#9aa2af;transition:.2s}.login-input:focus-within{border-color:#7769f5;box-shadow:0 0 0 4px rgba(109,93,252,.09)}.login-input input{width:100%;height:100%;padding:0;border:0;outline:0;background:transparent;color:#1b2434;font:500 13px inherit}.login-input input::placeholder{color:#a9b0bc}.password-toggle{display:flex;padding:5px;border:0;background:transparent;color:#98a0af;cursor:pointer}.password-toggle:hover,.password-toggle.visible{color:#6554e8}.login-submit{height:49px;margin-top:3px;border:0;border-radius:10px;background:linear-gradient(115deg,#6d5dfc,#5747e8);box-shadow:0 10px 24px rgba(109,93,252,.24);color:#fff;font-size:13px;font-weight:800;cursor:pointer;transition:.2s}.login-submit span{margin-left:7px;font-size:17px}.login-submit:hover{transform:translateY(-1px);box-shadow:0 13px 27px rgba(109,93,252,.3)}.login-security{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:25px;color:#98a0ad;font-size:9.5px}.login-security svg{width:15px;color:#55a985}@media(max-width:900px){.login-layout{grid-template-columns:1fr}.login-showcase{display:none}.login-panel{padding:30px 22px}.login-mobile-brand{display:grid;margin-bottom:27px}.login-box h2{font-size:29px}}@media(max-width:420px){.login-panel{padding:25px 18px}.login-box{width:100%}}

/* Modern admin workspace */
.admin-body{--admin-bg:#f6f7fb;--navy:#111827;--admin-purple:#6d5dfc;--admin-blue:#2088ee;background:var(--admin-bg);color:#182033}
.admin-body svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.admin-layout{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:260px;padding:26px 18px 20px;background:#111827;color:#fff;display:flex;flex-direction:column;z-index:40;box-shadow:10px 0 35px rgba(15,23,42,.08)}
.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;padding:0 8px}.brand-mark{width:43px;height:43px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;color:#fff;background:linear-gradient(145deg,#7567ff,#5746e9);box-shadow:0 10px 24px rgba(109,93,252,.32)}.brand-mark svg{width:25px;height:25px;fill:currentColor;stroke:none}.brand strong{display:block;font-size:17px;line-height:1.2;letter-spacing:-.2px}.brand small{display:block;color:#8791a5;font-size:11px;margin-top:4px;font-weight:500}.side-nav{display:flex;flex-direction:column;gap:6px;margin-top:48px}.nav-label{padding:0 14px 10px;color:#687386;text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:1.4px}.side-nav a{display:flex;align-items:center;gap:13px;padding:12px 14px;color:#9ca6b8;text-decoration:none;border-radius:11px;font-size:14px;font-weight:650;transition:.2s ease}.side-nav a:hover{color:#fff;background:rgba(255,255,255,.05);transform:translateX(2px)}.side-nav a.active{color:#fff;background:linear-gradient(110deg,rgba(109,93,252,.26),rgba(109,93,252,.08));box-shadow:inset 3px 0 #7668ff}.side-nav a.active svg{color:#948aff}.sidebar-footer{margin-top:auto;border-top:1px solid rgba(255,255,255,.08);padding:19px 8px 0;display:flex;align-items:center;gap:10px}.admin-profile{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.avatar,.customer-avatar{display:grid;place-items:center;flex:0 0 auto;width:36px;height:36px;border-radius:11px;background:linear-gradient(145deg,#ede9fe,#ddd6fe);color:#6554e8;font-size:13px;font-weight:850}.admin-profile strong,.admin-profile small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-profile strong{font-size:12px}.admin-profile small{font-size:10px;color:#747f92;margin-top:3px}.logout-link{color:#778195;padding:5px;display:flex}.logout-link:hover{color:#fff}.logout-link svg{width:19px}.admin-content{width:calc(100% - 260px);margin-left:260px}.mobile-header{display:none}.admin-main{padding:38px 0 50px}.admin-main>.shell{width:min(1480px,calc(100% - 64px))}
.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.page-heading h1{font-size:29px;letter-spacing:-.75px;line-height:1.2;margin:5px 0 7px;color:#111827}.page-heading p,.panel-heading p{margin:0;color:#7b8496;font-size:13px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.3px;color:#6d5dfc;font-weight:800}.heading-actions{display:flex;gap:10px}.admin-body .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 16px;border-radius:10px;background:#6d5dfc;box-shadow:0 7px 16px rgba(109,93,252,.2);font-size:13px;text-decoration:none}.admin-body .btn:hover{background:#5f4ff1;transform:translateY(-1px)}.admin-body .secondary-btn,.admin-body .btn.secondary{color:#374151;background:#fff;border:1px solid #e2e5ec;box-shadow:0 2px 5px rgba(15,23,42,.03)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.stat-card{position:relative;display:flex;align-items:flex-start;gap:15px;min-height:145px;padding:21px;background:#fff;border:1px solid #eaecf2;border-radius:16px;box-shadow:0 7px 22px rgba(18,31,53,.035);overflow:hidden}.stat-card:after{content:"";position:absolute;right:-24px;bottom:-30px;width:92px;height:92px;border-radius:50%;background:currentColor;opacity:.035}.stat-icon{width:43px;height:43px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;background:#f0edff;color:#6d5dfc}.stat-card.blue .stat-icon{background:#e8f4ff;color:#2186e9}.stat-card.green .stat-icon{background:#e7f8ef;color:#16a66a}.stat-card.orange .stat-icon{background:#fff2e7;color:#ef883c}.stat-card>div:last-child{min-width:0}.stat-card span{display:block;color:#737d8f;font-size:12px;font-weight:650;margin:1px 0 7px}.stat-card strong{display:block;color:#141b2b;font-size:29px;line-height:1;letter-spacing:-.8px}.stat-card small{display:block;color:#9aa2b0;font-size:10.5px;margin-top:11px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(290px,.7fr);gap:18px;margin-top:18px}.admin-body .panel{margin:0;padding:23px;background:#fff;border:1px solid #eaecf2;border-radius:16px;box-shadow:0 7px 22px rgba(18,31,53,.035)}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:19px}.panel-heading h2,.admin-body .panel h2{font-size:16px;color:#1b2333;letter-spacing:-.2px;margin:0 0 5px}.text-link{color:#6554e8;text-decoration:none;font-size:12px;font-weight:750}.text-link span{margin-left:3px}.modern-table{font-size:12px}.modern-table th{padding:10px 12px;color:#9299a7;font-size:10px;text-transform:uppercase;letter-spacing:.7px;font-weight:750;background:#fafbfc;border-color:#f0f1f5}.modern-table td{padding:13px 12px;border-color:#f0f1f5;color:#4e5768}.modern-table tbody tr:hover{background:#fbfbfe}.customer-cell{display:flex;align-items:center;gap:10px}.customer-avatar{width:34px;height:34px;border-radius:50%}.customer-cell strong,.customer-cell small{display:block}.customer-cell strong{font-size:12px;color:#252d3d}.customer-cell small,.table-time{color:#9aa2b0;font-size:10px;margin-top:3px}.modern-table code{padding:5px 8px;border-radius:6px;background:#f3f1ff;color:#6152db;font:700 11px inherit}.status-dot{display:inline-flex;align-items:center;gap:6px;color:#15915e;font-size:10px;font-weight:750;padding:5px 8px;border-radius:20px;background:#eaf8f1}.status-dot:before{content:"";width:5px;height:5px;border-radius:50%;background:#20b777}.dashboard-side{display:grid;gap:18px}.progress-item{margin:20px 0 6px}.progress-item>div:first-child{display:flex;justify-content:space-between;font-size:12px}.progress-item>div strong{color:#1a2332}.progress-track{height:7px;margin:10px 0 8px;background:#eef0f4;border-radius:20px;overflow:hidden}.progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7567ff,#988dfd)}.progress-item small{font-size:10px;color:#929aaa}.coupon-progress{margin-top:22px}.coupon-progress .progress-track i{background:linear-gradient(90deg,#1aaf70,#59d29a)}.quick-panel>a{display:flex;align-items:center;gap:11px;text-decoration:none;color:#252d3d;padding:12px 2px;border-bottom:1px solid #f0f1f5}.quick-panel>a:last-child{border:0;padding-bottom:2px}.quick-panel>a>span:nth-child(2){flex:1}.quick-panel a strong,.quick-panel a small{display:block}.quick-panel a strong{font-size:11.5px}.quick-panel a small{font-size:9.5px;color:#929aaa;margin-top:3px}.quick-panel a>b{color:#adb3bf;font-size:20px}.quick-icon{width:35px;height:35px;display:grid!important;place-items:center;border-radius:10px;background:#f0edff;color:#6d5dfc;font-size:18px}.quick-icon.blue{background:#e8f4ff;color:#2088ee}.quick-icon.green{background:#e7f8ef;color:#17a66b}.empty-state{text-align:center;padding:40px;color:#a0a7b4}.empty-state span,.empty-state strong{display:block}.empty-state span{font-size:28px}.empty-state strong{color:#555e6e;margin:7px}.empty-state p{margin:0;font-size:11px}
.admin-body .grid{gap:17px}.admin-body .stat{border:1px solid #eaecf2;border-radius:16px;box-shadow:0 7px 22px rgba(18,31,53,.035)}.admin-body .form input,.admin-body .form textarea,.admin-body .form select{border-color:#e0e4eb;background:#fbfcfe;border-radius:10px}.admin-body table th{color:#788294;background:#fafbfc;font-size:11px;text-transform:uppercase;letter-spacing:.4px}.admin-body table td{font-size:12px}.admin-body .success,.admin-body .error{margin:14px 0;border-radius:10px;font-size:13px}
@media(max-width:1180px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.dashboard-side{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.sidebar{transform:translateX(-105%);transition:transform .25s ease}.sidebar.open{transform:translateX(0)}.admin-content{width:100%;margin-left:0}.mobile-header{height:66px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;background:#111827;color:#fff}.mobile-header .brand{padding:0}.mobile-header .brand-mark{width:36px;height:36px;border-radius:10px}.mobile-header .brand-mark svg{width:21px}.menu-toggle{display:grid;gap:4px;background:transparent;border:0;padding:8px}.menu-toggle span{width:22px;height:2px;background:#fff;border-radius:2px}.admin-main{padding:25px 0 40px}.admin-main>.shell{width:min(100% - 32px,1480px)}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:25px}.heading-actions{width:100%}.heading-actions .btn{flex:1}.dashboard-side{grid-template-columns:1fr}}
@media(max-width:560px){.stats-grid,.admin-body .grid{grid-template-columns:1fr}.stat-card{min-height:125px}.heading-actions{flex-direction:column}.modern-table th:nth-child(3),.modern-table td:nth-child(3),.modern-table th:nth-child(4),.modern-table td:nth-child(4){display:none}.admin-body .panel{padding:18px}.page-heading{margin-bottom:22px}}
@media print{.sidebar,.mobile-header{display:none!important}.admin-content{width:100%;margin:0}.admin-main>.shell{width:100%}}
.sms-icon svg{width:19px;height:19px}
.section-heading.section-toggle,.accordion-heading{width:100%;margin-bottom:15px}.section-toggle{display:flex;align-items:center;gap:18px;min-width:0;padding:0;background:transparent;border:0;color:inherit;text-align:left;cursor:pointer}.section-heading.section-toggle{justify-content:space-between}.accordion-heading>.section-toggle{flex:1}.section-title{display:flex;align-items:center;gap:12px;min-width:0}.section-title>span:last-child{display:block}.section-title strong,.section-title small{display:block}.section-title strong{color:#1a2232;font-size:17px}.section-title small{margin-top:4px;color:#858e9e;font-size:11px;font-weight:400}.section-chevron{width:19px!important;height:19px!important;flex:0 0 auto;color:#8b93a2;transition:transform .22s ease}.section-toggle[aria-expanded=true] .section-chevron{transform:rotate(180deg)}.section-toggle:hover .section-title strong{color:#6554e8}.collapsible-section{animation:sectionReveal .2s ease}.collapsible-section[hidden]{display:none!important}@keyframes sectionReveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}

/* Configuration navigation and integration page */
.nav-group{display:grid;gap:3px}.nav-parent{width:100%;display:flex;align-items:center;gap:13px;padding:12px 14px;color:#9ca6b8;background:transparent;border:0;border-radius:11px;font:650 14px inherit;text-align:left;cursor:pointer;transition:.2s ease}.nav-parent:hover,.nav-parent.active{color:#fff;background:rgba(255,255,255,.05)}.nav-parent>span{flex:1}.nav-parent .nav-chevron{width:16px;height:16px;transition:transform .2s}.nav-group.open .nav-chevron{transform:rotate(90deg)}.nav-children{display:none;padding:1px 0 3px 36px}.nav-group.open .nav-children{display:block}.side-nav .nav-children a{padding:9px 12px;gap:10px;font-size:12.5px}.side-nav .nav-children a.active{box-shadow:none;background:rgba(109,93,252,.16);color:#fff}.child-marker{width:6px;height:6px;border-radius:50%;background:#596276}.nav-children a.active .child-marker{background:#8b7eff;box-shadow:0 0 0 4px rgba(139,126,255,.12)}
.integration-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.7fr);gap:18px}.endpoint-item{padding:19px 0;border-top:1px solid #eef0f4}.endpoint-item:first-child{border-top:0;padding-top:3px}.endpoint-item>div:first-child strong{font-size:13px;color:#252d3d}.endpoint-item p{margin:5px 0 13px;color:#8a93a3;font-size:11px}.endpoint-value{display:flex;align-items:center;gap:9px}.endpoint-value code{flex:1;min-width:0;padding:11px 13px;overflow:auto;border:1px solid #e4e7ed;border-radius:9px;background:#f8f9fc;color:#545f71;font-size:11px;white-space:nowrap}.copy-endpoint{padding:10px 13px;border:1px solid #dedfeb;border-radius:9px;background:#fff;color:#6152db;font-size:11px;font-weight:750;cursor:pointer}.status-row{display:flex;justify-content:space-between;gap:15px;padding:15px 0;border-top:1px solid #eef0f4;font-size:11px;color:#7b8495}.status-row strong{color:#303949}.status-row strong i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#1db475;margin-right:5px}.integration-note{margin-top:18px;padding:15px;border-radius:11px;background:#f5f3ff}.integration-note strong{color:#5d50cf;font-size:11px}.integration-note p{font-size:10.5px;line-height:1.6;color:#777f91;margin:6px 0 0}.integration-note code{color:#5145be}@media(max-width:980px){.integration-grid{grid-template-columns:1fr}}
.integration-alert{margin:0 0 18px!important}.provider-logo{padding:7px 11px;border-radius:8px;background:#e9f5ff;color:#1683d8;font-size:11px;font-weight:850}.sms-settings-form{align-items:start}.sms-form-grid{grid-template-columns:repeat(2,1fr);gap:17px}.sms-form-grid .full-field{grid-column:1/-1}.sms-form-grid label small{display:block;margin-top:7px;color:#8992a2;font-size:10px;font-weight:500}.sms-form-grid code{color:#6554e8;background:#f2f0ff;padding:2px 5px;border-radius:4px}.integration-actions{display:flex;justify-content:flex-end;margin-top:20px;padding-top:18px;border-top:1px solid #eef0f4}.switch-row{display:flex!important;align-items:center;gap:18px;padding:15px;border:1px solid #e5e7ed;border-radius:11px;background:#fafbfc;cursor:pointer}.switch-row>span{flex:1}.switch-row strong,.switch-row small{display:block}.switch-row input{position:absolute;opacity:0;width:1px!important}.switch-row i{position:relative;width:43px;height:24px;flex:0 0 auto;border-radius:20px;background:#cfd4dd;transition:.2s}.switch-row i:after{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.2);transition:.2s}.switch-row input:checked+i{background:#6d5dfc}.switch-row input:checked+i:after{transform:translateX(19px)}.provider-status{display:flex;align-items:center;gap:11px;padding:3px 0 17px}.provider-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#209be8,#176cc7);color:#fff;font-weight:900}.provider-status strong,.provider-status small{display:block}.provider-status strong{font-size:12px}.provider-status small{color:#939baa;font-size:10px;margin-top:4px}.test-sms-form{margin-top:0}.setup-help ol{margin:15px 0 0;padding-left:19px;color:#727c8d;font-size:11px;line-height:1.8}.setup-help li{padding-left:4px}@media(max-width:560px){.sms-form-grid{grid-template-columns:1fr}.sms-form-grid .full-field{grid-column:auto}}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 15px}.section-heading>div{display:flex;align-items:center;gap:12px}.section-heading h2{margin:0 0 4px;color:#1a2232;font-size:17px}.section-heading p{margin:0;color:#858e9e;font-size:11px}.section-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;font-size:14px;font-weight:850}.system-icon{background:#eeeaff;color:#6757e8}.sms-icon{background:#e7f5ff;color:#177fc9;font-size:9px;letter-spacing:.4px}.section-divider{height:1px;margin:34px 0 28px;background:#e3e6ec}.system-integration-grid{margin-bottom:0}@media(max-width:560px){.section-heading{align-items:flex-start;flex-direction:column}.section-heading>a{width:100%}}
