/* ZonaID Store - Modern Dark UI revision */
:root{
  color-scheme: dark;
  --bg:#060812;
  --bg-soft:#0a1020;
  --surface:#0f172a;
  --surface-2:#121b31;
  --surface-3:#17213a;
  --glass:rgba(15,23,42,.72);
  --glass-2:rgba(17,24,39,.58);
  --text:#f8fafc;
  --text-soft:#dbe5f4;
  --muted:#93a4bd;
  --muted-2:#64748b;
  --line:rgba(148,163,184,.16);
  --line-strong:rgba(148,163,184,.24);
  --brand:#7c3aed;
  --brand-2:#06b6d4;
  --brand-3:#f43f5e;
  --brand-soft:rgba(124,58,237,.16);
  --ok:#34d399;
  --warn:#fbbf24;
  --danger:#fb7185;
  --radius-sm:12px;
  --radius:20px;
  --radius-lg:28px;
  --shadow-sm:0 10px 24px rgba(0,0,0,.22);
  --shadow:0 24px 70px rgba(0,0,0,.36);
  --shadow-brand:0 18px 42px rgba(124,58,237,.25);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
  background:
    radial-gradient(circle at 8% -8%,rgba(124,58,237,.32),transparent 28rem),
    radial-gradient(circle at 92% 4%,rgba(6,182,212,.18),transparent 30rem),
    radial-gradient(circle at 60% 110%,rgba(244,63,94,.12),transparent 26rem),
    linear-gradient(180deg,#070916 0%,#070a13 45%,#05070d 100%);
  background-attachment:fixed;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:38px 38px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),transparent 76%);
  z-index:-1;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,a{-webkit-tap-highlight-color:transparent}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}

.app-shell{max-width:1220px;margin:0 auto;padding:18px 22px 28px}
.main{padding-top:18px}

/* Header */
.topbar{
  position:sticky;
  top:12px;
  z-index:60;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:24px;
  background:linear-gradient(180deg,rgba(15,23,42,.84),rgba(15,23,42,.66));
  box-shadow:0 18px 55px rgba(0,0,0,.28);
  backdrop-filter:blur(18px);
}
.brand{display:flex;align-items:center;gap:11px;min-width:0}
.brand-logo{
  width:42px;height:42px;flex:0 0 auto;border-radius:15px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  color:white;font-weight:950;letter-spacing:-.04em;
  box-shadow:0 12px 30px rgba(124,58,237,.36);
  position:relative;overflow:hidden;
}
.brand-logo:after{content:"";position:absolute;inset:-40%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);transform:rotate(28deg) translateX(-70%);animation:shine 5s ease-in-out infinite}
.brand-logo.has-image{padding:0;background:rgba(255,255,255,.04);box-shadow:0 12px 30px rgba(0,0,0,.24)}
.brand-logo.has-image:after{display:none}
.brand-logo img{width:100%;height:100%;display:block;object-fit:contain}
@keyframes shine{0%,70%{transform:rotate(28deg) translateX(-80%)}88%,100%{transform:rotate(28deg) translateX(85%)}}
.brand-copy{min-width:0;display:block}
.brand b{display:block;line-height:1.08;font-size:15px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand small{display:block;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.nav{display:flex;align-items:center;justify-content:center;gap:6px;flex:1}
.nav a{
  display:inline-flex;align-items:center;min-height:40px;
  padding:0 14px;border-radius:14px;color:var(--muted);
  font-weight:800;font-size:14px;transition:.2s ease;
}
.nav a:hover,.nav a.active{background:rgba(255,255,255,.06);color:var(--text)}
.nav a.active{box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.top-actions,.mobile-actions{display:flex;align-items:center;gap:9px}
.mobile-actions{display:none}
.cart-link,.btn,.login-btn,.icon-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid transparent;text-decoration:none;line-height:1;
}
.cart-link{
  min-height:40px;padding:0 14px;border-radius:15px;
  background:rgba(255,255,255,.055);border-color:var(--line);
  color:var(--text-soft);font-weight:900;font-size:14px;
}
.cart-link span,.icon-btn em{
  min-width:22px;height:22px;padding:0 6px;border-radius:999px;
  display:grid;place-items:center;background:linear-gradient(135deg,var(--brand),var(--brand-2));
  color:white;font-size:12px;font-weight:950;font-style:normal;
}
.btn,.login-btn{
  min-height:44px;padding:0 18px;border-radius:16px;
  background:linear-gradient(135deg,var(--brand),#9f67ff 55%,var(--brand-2));
  color:white;font-weight:950;letter-spacing:-.01em;
  box-shadow:var(--shadow-brand);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.btn:hover,.login-btn:hover{transform:translateY(-1px);filter:saturate(1.08);box-shadow:0 22px 52px rgba(124,58,237,.34)}
.btn.ghost{
  background:rgba(255,255,255,.055);border-color:var(--line);box-shadow:none;color:var(--text-soft)
}
.btn.ghost:hover{background:rgba(255,255,255,.08);box-shadow:none}
.btn.small{min-height:36px;padding:0 12px;border-radius:13px;font-size:13px;box-shadow:none}
.icon-btn{
  width:42px;height:42px;border-radius:15px;background:rgba(255,255,255,.055);border-color:var(--line);
  color:var(--text);position:relative;font-size:17px;
}
.icon-btn:hover{background:rgba(255,255,255,.08)}
.icon-btn em{position:absolute;right:-5px;top:-6px;min-width:20px;height:20px;font-size:11px;border:2px solid #0f172a}

/* Alerts and cards */
.alert{margin:0 0 14px;padding:13px 15px;border-radius:17px;border:1px solid var(--line);background:rgba(255,255,255,.06);color:var(--text-soft);box-shadow:var(--shadow-sm)}
.alert.success{border-color:rgba(52,211,153,.25);background:rgba(52,211,153,.1)}
.alert.warning{border-color:rgba(251,191,36,.25);background:rgba(251,191,36,.1)}
.alert.danger{border-color:rgba(251,113,133,.25);background:rgba(251,113,133,.1)}

/* SweetAlert bridge: hide only PHP flash alerts while SweetAlert2 converts them to toast/modal.
   Static info alerts remain visible. If JS/SweetAlert fails, alerts.js reveals these again. */
html.has-zona-alerts [data-app-flash]{
  display:none !important;
}
[data-app-flash].zona-flash-hidden{
  display:none !important;
}
.table-card,.order-card,.voucher-card,.auth-card,.center-card,.stats-card{
  background:linear-gradient(180deg,rgba(15,23,42,.82),rgba(15,23,42,.62));
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:22px;
  box-shadow:var(--shadow-sm);
  backdrop-filter:blur(16px);
}

/* Home hero */
.hero{
  display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:20px;align-items:stretch;
  margin:8px 0 24px;padding:30px;
  border:1px solid var(--line);
  border-radius:32px;
  background:
    radial-gradient(circle at 0% 0%,rgba(124,58,237,.26),transparent 34%),
    radial-gradient(circle at 100% 0%,rgba(6,182,212,.16),transparent 34%),
    linear-gradient(145deg,rgba(15,23,42,.82),rgba(11,18,32,.74));
  box-shadow:var(--shadow);
  position:relative;overflow:hidden;
}
.hero:before{
  content:"";position:absolute;right:-70px;top:-80px;width:240px;height:240px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.15),transparent 63%);
}
.hero>*{position:relative;z-index:1}
.eyebrow,.section-label{
  margin:0 0 8px;color:#a5f3fc;text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:950;
}
.hero h1{margin:0;max-width:760px;font-size:clamp(34px,5vw,64px);line-height:.96;letter-spacing:-.065em;font-weight:950}
.hero-text{max-width:720px;margin:16px 0 0;color:var(--muted);font-size:17px;line-height:1.65}
.hero-badges{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0 0}
.hero-badges span{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid var(--line);color:var(--text-soft);font-weight:800;font-size:12px}
.hero-badges span:before{content:"✓";width:18px;height:18px;border-radius:999px;display:grid;place-items:center;background:rgba(52,211,153,.14);color:var(--ok);font-size:11px}
.searchbar{display:flex;gap:10px;margin-top:22px;padding:8px;border-radius:20px;border:1px solid var(--line);background:rgba(255,255,255,.07);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.searchbar input{flex:1;min-width:0;background:transparent;border:0;padding:0 12px;outline:0;color:var(--text);font-weight:700}
.searchbar input::placeholder{color:var(--muted-2);font-weight:700}
.hero-stats{display:grid;align-content:center;gap:14px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04))}
.hero-stats div{padding:16px;border:1px solid var(--line);border-radius:20px;background:rgba(0,0,0,.12)}
.hero-stats b{display:block;font-size:30px;letter-spacing:-.04em}.hero-stats span{display:block;margin-top:4px;color:var(--muted);font-size:13px;font-weight:800}

/* Section / categories */
.shop-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:10px 0 14px}
.shop-section-head>div{display:flex;align-items:center;gap:13px}.shop-section-head h2{margin:0;font-size:26px;letter-spacing:-.03em}.section-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:rgba(255,255,255,.055);border:1px solid var(--line);color:#a5f3fc;font-weight:950}.clear-filter{display:inline-flex;align-items:center;min-height:38px;padding:0 13px;border-radius:999px;background:rgba(251,113,133,.1);border:1px solid rgba(251,113,133,.18);color:#fecdd3;font-weight:850;font-size:13px}
.category-tabs{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding:2px 0 18px;margin-bottom:2px}.category-tabs::-webkit-scrollbar{display:none}.category-tabs a{flex:0 0 auto;display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 15px;border-radius:999px;background:rgba(255,255,255,.055);border:1px solid var(--line);color:var(--muted);font-weight:900;font-size:14px}.category-tabs a:hover{background:rgba(255,255,255,.08);color:var(--text-soft)}.category-tabs a.active{background:linear-gradient(135deg,var(--brand),#a855f7);border-color:transparent;color:#fff;box-shadow:0 14px 34px rgba(124,58,237,.28)}.category-tabs em{min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:rgba(255,255,255,.14);display:grid;place-items:center;font-size:12px;font-style:normal;color:inherit}

/* Product grid */
.grid-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.product-card{min-width:0;border-radius:24px;overflow:hidden;background:linear-gradient(180deg,rgba(18,26,45,.92),rgba(12,18,32,.96));border:1px solid var(--line);box-shadow:0 12px 34px rgba(0,0,0,.22);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.product-card:hover{transform:translateY(-4px);border-color:rgba(124,58,237,.36);box-shadow:0 24px 54px rgba(0,0,0,.32)}.product-card-link{display:flex;flex-direction:column;height:100%}.product-thumb{position:relative;aspect-ratio:1.2/1;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.95),rgba(226,232,240,.94) 46%,rgba(203,213,225,.88));}.product-thumb:after{content:"";position:absolute;left:0;right:0;bottom:0;height:48%;background:linear-gradient(to top,rgba(7,10,19,.58),transparent);pointer-events:none}.product-thumb img{width:100%;height:100%;object-fit:contain;padding:14px;filter:drop-shadow(0 16px 22px rgba(15,23,42,.2));transition:transform .2s ease}.product-card:hover .product-thumb img{transform:scale(1.04)}.sale-badge,.stock-badge{position:absolute;z-index:2;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:950;line-height:1}.sale-badge{top:10px;left:10px;padding:6px 9px;background:linear-gradient(135deg,#fb7185,#f43f5e);color:white;font-size:11px;box-shadow:0 12px 24px rgba(244,63,94,.26)}.stock-badge{right:10px;bottom:10px;min-width:30px;height:27px;padding:0 8px;background:rgba(15,23,42,.72);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:12px;backdrop-filter:blur(12px)}.product-body{display:flex;flex-direction:column;gap:9px;flex:1;padding:14px}.pill{display:inline-flex;align-items:center;align-self:flex-start;max-width:100%;min-height:27px;padding:0 10px;border-radius:999px;background:rgba(124,58,237,.16);border:1px solid rgba(167,139,250,.2);color:#ddd6fe;font-size:12px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-card h3{font-size:16px;line-height:1.32;letter-spacing:-.02em;min-height:42px;margin:0;font-weight:950;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.45;min-height:38px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.price-row{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;margin-top:auto}.price-row b{font-size:21px;letter-spacing:-.04em;font-weight:950}.price-row del{font-size:13px;color:var(--muted-2);font-weight:700}.price-row.big{margin:16px 0}.price-row.big b{font-size:42px}.price-row.big del{font-size:18px}.product-card small{color:var(--muted-2);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-icon{width:62px;height:62px;border-radius:18px;background:#fff;padding:10px;display:grid;place-items:center}.product-icon img{max-height:42px;object-fit:contain}

/* Product detail */
.product-detail{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);gap:26px;padding:16px 0 32px}.detail-media{min-height:410px;border-radius:32px;border:1px solid var(--line);background:radial-gradient(circle at 25% 15%,#fff,#eef2ff 45%,#cbd5e1);display:grid;place-items:center;overflow:hidden;box-shadow:var(--shadow)}.detail-media img{max-width:min(72%,280px);max-height:280px;object-fit:contain;filter:drop-shadow(0 26px 35px rgba(15,23,42,.22))}.detail-info{padding:8px 0}.detail-info h1{margin:16px 0 0;font-size:clamp(30px,4vw,52px);line-height:1.02;letter-spacing:-.055em}.muted{color:var(--muted);line-height:1.55}.feature-list{display:grid;gap:10px;margin:18px 0;padding:0;list-style:none}.feature-list li{position:relative;padding:12px 14px 12px 38px;border-radius:16px;border:1px solid var(--line);background:rgba(255,255,255,.05);color:var(--text-soft);line-height:1.45}.feature-list li:before{content:"✓";position:absolute;left:12px;top:12px;width:18px;height:18px;border-radius:999px;display:grid;place-items:center;background:rgba(52,211,153,.14);color:var(--ok);font-size:11px;font-weight:950}.buy-box,.voucher-form,.actions,.inline-form,.row-actions{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.buy-box{margin-top:18px}.buy-box label{max-width:130px}

/* Forms */
label{display:grid;gap:7px;color:var(--text-soft);font-weight:850;font-size:14px}input,textarea,select{width:100%;border:1px solid var(--line);background:rgba(5,8,18,.72);border-radius:15px;min-height:46px;padding:11px 13px;outline:0;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}textarea{min-height:116px;resize:vertical}input:focus,textarea:focus,select:focus{border-color:rgba(124,58,237,.58);box-shadow:0 0 0 4px rgba(124,58,237,.15);background:rgba(8,12,24,.9)}select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 18px) 20px,calc(100% - 13px) 20px;background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:34px}code{display:inline-flex;padding:7px 10px;border-radius:10px;background:rgba(255,255,255,.07);border:1px solid var(--line);color:#a5f3fc;font-weight:900}

/* Tables, cart, checkout */
.table-card{margin:18px 0;overflow:auto}.table-card h1,.table-card h2{margin-top:0}table{width:100%;border-collapse:separate;border-spacing:0}th,td{padding:14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}th{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:950}td small{display:block;margin-top:4px;color:var(--muted-2)}tbody tr:hover{background:rgba(255,255,255,.025)}.mini-product{display:flex;align-items:center;gap:11px;min-width:220px}.mini-product img{width:48px;height:48px;border-radius:15px;background:#f8fafc;padding:7px;object-fit:contain}.mini-product span{font-weight:850}.mini-product small{font-weight:650}.qty{max-width:92px}.link-danger{background:rgba(251,113,133,.1);border:1px solid rgba(251,113,133,.18);border-radius:12px;color:#fecdd3;min-height:36px;padding:0 10px}.cart-total,.summary-line{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid var(--line);color:var(--text-soft)}.cart-total b,.summary-line b{font-size:18px}.summary-line.total{font-size:20px;border-bottom:0;color:#fff}.summary-line.total b{font-size:26px;color:#a5f3fc}.checkout-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px}.checkout-form,.guest-lookup-form{display:grid;gap:14px}.voucher-form{margin:14px 0;align-items:end}.voucher-form input{min-width:160px;flex:1}.guest-note{margin-top:14px;border:1px solid rgba(6,182,212,.22);background:linear-gradient(135deg,rgba(6,182,212,.12),rgba(124,58,237,.10));border-radius:18px;padding:14px;display:grid;gap:5px}.guest-note b{color:#e0faff}.guest-note span{color:var(--muted);font-size:13px;line-height:1.55}.buyer-box{border:1px solid var(--line);background:rgba(255,255,255,.05);border-radius:17px;padding:14px;display:grid;gap:4px}.buyer-box span,.small-copy{font-size:13px;color:var(--muted);line-height:1.5}.small-copy a{color:#c4b5fd;font-weight:950}.guest-lookup-card{max-width:620px}.guest-lookup-form{grid-template-columns:1fr 1fr auto;align-items:end}.guest-lookup-form .btn{min-height:46px}

/* Account / orders */
.auth-card,.center-card{max-width:480px;margin:54px auto}.auth-card form,.center-card form{display:grid;gap:14px}.dashboard-grid,.voucher-grid,.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.dashboard-grid .profile-card{grid-column:span 2}.dash-link{display:flex;align-items:center;justify-content:space-between;min-height:100px;background:linear-gradient(180deg,rgba(15,23,42,.8),rgba(15,23,42,.62));border:1px solid var(--line);border-radius:22px;padding:20px;font-weight:950;box-shadow:var(--shadow-sm)}.dash-link:hover{border-color:rgba(124,58,237,.35);background:linear-gradient(180deg,rgba(30,41,59,.8),rgba(15,23,42,.64))}.dash-link:after{content:"→";color:#a5f3fc}.order-list{display:grid;gap:14px}.order-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;background:rgba(148,163,184,.12);border:1px solid rgba(148,163,184,.14);font-size:12px;font-weight:950;text-transform:capitalize}.status.pending{color:var(--warn);background:rgba(251,191,36,.1);border-color:rgba(251,191,36,.18)}.status.paid,.status.processing{color:#a5f3fc;background:rgba(6,182,212,.1);border-color:rgba(6,182,212,.18)}.status.completed{color:#bbf7d0;background:rgba(52,211,153,.1);border-color:rgba(52,211,153,.18)}.status.cancelled{color:#fecdd3;background:rgba(251,113,133,.1);border-color:rgba(251,113,133,.18)}.empty{grid-column:1/-1;padding:24px;border-radius:22px;background:rgba(255,255,255,.045);border:1px dashed var(--line-strong);color:var(--muted);line-height:1.55}.empty a{color:#c4b5fd;font-weight:950}.footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:48px;padding:28px 4px;color:var(--muted)}.footer-brand{display:flex;align-items:center;gap:10px;margin-bottom:8px}.footer-brand img{width:40px;height:40px;padding:4px;border-radius:14px;background:rgba(255,255,255,.04);object-fit:contain;box-shadow:0 10px 26px rgba(0,0,0,.22)}.footer b{color:var(--text)}.footer p{max-width:520px;line-height:1.55}.footer-links{display:flex;gap:14px;flex-wrap:wrap}.footer-links a{font-weight:850;color:var(--text-soft)}.legal{max-width:820px;margin:42px auto;line-height:1.7}

/* Bottom nav */
.bottom-nav{display:none}.bottom-link{position:relative}.bottom-link span{font-size:21px;line-height:1}.bottom-link small{font-size:10.5px;color:inherit}

/* Admin */
.admin-shell{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:100vh;background:radial-gradient(circle at top right,rgba(124,58,237,.18),transparent 36rem),var(--bg)}.sidebar{position:sticky;top:0;height:100vh;padding:18px;border-right:1px solid var(--line);background:rgba(5,8,18,.82);backdrop-filter:blur(16px)}.sidebar nav{display:grid;gap:8px;margin-top:24px}.sidebar nav a{display:flex;align-items:center;min-height:44px;padding:0 13px;border-radius:15px;color:var(--muted);font-weight:900}.sidebar nav a:hover{background:rgba(255,255,255,.06);color:var(--text)}.admin-main{padding:24px;overflow:auto}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid .full{grid-column:1/-1}.row-actions form{display:inline-flex}

@media(max-width:1080px){.grid-products{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{grid-template-columns:1fr}.hero-stats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.product-detail,.checkout-grid,.admin-shell{grid-template-columns:1fr}.dashboard-grid,.voucher-grid,.stats-grid{grid-template-columns:1fr 1fr}.dashboard-grid .profile-card{grid-column:span 2}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line)}.sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  body{background:radial-gradient(circle at 50% -10%,rgba(124,58,237,.28),transparent 24rem),linear-gradient(180deg,#070b16 0%,#060914 100%);background-attachment:fixed}
  .app-shell{width:100%;max-width:500px;margin:0 auto;padding:0 13px 104px;overflow:hidden}
  .main{padding-top:13px}
  .topbar{top:0;margin:0 -13px;padding:12px 13px;border-radius:0;border-left:0;border-right:0;border-top:0;background:rgba(5,8,18,.88)}
  .desktop-nav,.desktop-actions{display:none}.mobile-actions{display:flex;margin-left:auto}.brand-logo{width:39px;height:39px;border-radius:14px}.brand b{font-size:14px;max-width:132px}.brand small{font-size:11px;max-width:132px}.icon-btn{width:40px;height:40px;border-radius:14px}.login-btn{height:40px;min-height:40px;padding:0 14px;border-radius:14px;font-size:13px}
  .alert{margin:0 0 12px;border-radius:16px;padding:12px 13px}
  .hero{display:block;margin:0 -1px 18px;padding:18px 16px 16px;border-radius:26px}.eyebrow{font-size:10px}.hero h1{font-size:30px;line-height:1.02;letter-spacing:-.055em}.hero-text{font-size:14px;line-height:1.55;margin-top:10px}.hero-badges{gap:7px;margin-top:12px}.hero-badges span{min-height:30px;font-size:11px;padding:0 9px}.hero-badges span:nth-child(n+3){display:none}.hero-stats{display:none}.searchbar{margin-top:14px;border-radius:17px;padding:7px;gap:7px}.searchbar input{padding:0 9px;font-size:13px}.searchbar .btn{min-height:38px;border-radius:13px;padding:0 13px;font-size:13px;box-shadow:none}
  .shop-section-head{margin:10px 0 8px}.shop-section-head h2{font-size:20px}.section-icon{width:38px;height:38px;border-radius:13px}.section-label{font-size:10.5px;margin-bottom:3px}.clear-filter{min-height:34px;font-size:12px;padding:0 10px}
  .category-tabs{margin:0 -13px;padding:7px 13px 14px;gap:8px}.category-tabs a{min-height:39px;padding:0 12px;font-size:12.5px}.category-tabs em{min-width:22px;height:22px;font-size:11px}
  .grid-products{gap:12px}.product-card{border-radius:21px}.product-thumb{aspect-ratio:1.05/1}.product-thumb img{padding:11px}.sale-badge{top:8px;left:8px;font-size:10px;padding:5px 7px}.stock-badge{right:8px;bottom:8px;min-width:26px;height:24px;font-size:11px}.product-body{padding:11px;gap:7px}.pill{min-height:24px;font-size:10.5px;padding:0 8px}.product-card h3{font-size:14px;min-height:38px;line-height:1.34}.product-card p{font-size:11.6px;min-height:33px;line-height:1.42}.price-row b{font-size:18px}.price-row del{font-size:11px}.product-card small{font-size:10.5px}
  .product-detail{gap:16px;padding:4px 0 20px}.detail-media{min-height:250px;border-radius:26px}.detail-media img{max-width:170px;max-height:170px}.detail-info h1{font-size:29px}.price-row.big b{font-size:30px}.feature-list{gap:8px;margin:14px 0}.feature-list li{font-size:13.5px;padding:11px 12px 11px 36px;border-radius:15px}.buy-box{display:grid;grid-template-columns:94px 1fr;gap:9px}.buy-box label{max-width:none}.buy-box .btn{width:100%;padding:0 10px}
  h1{font-size:28px;letter-spacing:-.04em}.table-card,.order-card,.voucher-card,.auth-card,.center-card,.stats-card{border-radius:22px;padding:16px;margin:14px 0}.auth-card,.center-card{margin:24px auto}.checkout-grid{gap:12px}.voucher-form{display:grid;grid-template-columns:1fr auto;gap:8px}.summary-line.total b{font-size:23px}.guest-lookup-form{grid-template-columns:1fr}.dashboard-grid,.voucher-grid,.stats-grid{grid-template-columns:1fr;gap:12px}.dashboard-grid .profile-card{grid-column:span 1}.dash-link{min-height:74px;padding:16px;border-radius:19px}.order-head{display:grid;gap:6px}table{min-width:680px}th,td{padding:12px}.footer{display:none}
  .bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:max(10px,env(safe-area-inset-bottom));width:calc(100% - 24px);max-width:476px;z-index:80;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:8px;border-radius:25px;border:1px solid var(--line);background:linear-gradient(180deg,rgba(15,23,42,.78),rgba(15,23,42,.62));box-shadow:0 20px 62px rgba(0,0,0,.42);backdrop-filter:blur(18px)}.bottom-link{min-height:55px;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#8fa0b8;font-weight:950}.bottom-link.active{color:white;background:linear-gradient(180deg,rgba(124,58,237,.24),rgba(6,182,212,.11));box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
  .form-grid{grid-template-columns:1fr}.admin-main{padding:16px}.sidebar nav{grid-template-columns:1fr 1fr}.sidebar{padding:14px}.admin-shell{display:block}
}
@media(max-width:390px){.app-shell{padding-left:10px;padding-right:10px}.topbar{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}.brand b,.brand small{max-width:112px}.grid-products{gap:9px}.product-body{padding:10px}.product-card h3{font-size:13px}.price-row b{font-size:16.5px}.product-card p{font-size:11px}.category-tabs{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}.bottom-nav{width:calc(100% - 18px)}}


/* Product detail upgrades: similar products, share, and views */
.modern-detail{position:relative}
.detail-media{position:relative}
.detail-media:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 22% 18%,rgba(255,255,255,.88),transparent 28%),radial-gradient(circle at 85% 70%,rgba(124,58,237,.16),transparent 34%);pointer-events:none}
.detail-media img{position:relative;z-index:1}
.detail-view-badge{position:absolute;left:18px;bottom:18px;z-index:2;display:inline-flex;align-items:center;gap:7px;padding:10px 13px;border-radius:999px;background:rgba(15,23,42,.74);border:1px solid rgba(255,255,255,.18);color:#fff;font-size:13px;font-weight:900;backdrop-filter:blur(14px);box-shadow:0 14px 34px rgba(0,0,0,.26)}
.detail-kicker{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:14px}
.meta-chip{display:inline-flex;align-items:center;min-height:27px;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.055);border:1px solid var(--line);color:var(--muted);font-size:12px;font-weight:900;white-space:nowrap}
.meta-chip.is-ready{background:rgba(52,211,153,.12);border-color:rgba(52,211,153,.22);color:#a7f3d0}
.meta-chip.is-empty{background:rgba(251,113,133,.12);border-color:rgba(251,113,133,.24);color:#fecdd3}
.detail-summary{max-width:720px;margin:14px 0 0;color:var(--text-soft)}
.detail-buy-box .btn[disabled],.detail-buy-box .btn:disabled{opacity:.55;cursor:not-allowed}
.share-panel{margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.035));box-shadow:var(--shadow-sm);display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.share-panel b{display:block;font-size:15px;letter-spacing:-.02em}.share-panel small{display:block;margin-top:4px;color:var(--muted);font-size:12.5px;line-height:1.35}.share-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.share-btn{min-height:38px;padding:0 13px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.055);color:var(--text-soft);font-size:13px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;transition:.18s ease}.share-btn:hover{transform:translateY(-1px);border-color:rgba(124,58,237,.34);background:rgba(124,58,237,.14);color:#fff}.share-btn.native-share{background:linear-gradient(135deg,rgba(124,58,237,.28),rgba(6,182,212,.16));border-color:rgba(167,139,250,.25)}
.mini-empty{padding:14px;border-radius:18px;margin:16px 0;background:rgba(255,255,255,.04)}
.similar-section{margin:6px 0 36px}.compact-head{margin-top:0}.similar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.similar-card .product-thumb{aspect-ratio:1.18/1}.similar-card .product-body{padding:13px}.similar-card h3{font-size:15px;min-height:40px}.similar-card p{font-size:12px;min-height:34px}.similar-card .price-row b{font-size:19px}

@media(max-width:900px){.share-panel{align-items:stretch}.share-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.share-btn{width:100%}.similar-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.detail-kicker{gap:7px}.detail-view-badge{left:14px;bottom:14px;font-size:12px;padding:9px 11px}.meta-chip{font-size:11px;min-height:24px;padding:0 8px}}
@media(max-width:430px){.share-panel{padding:13px;border-radius:19px}.share-actions{gap:7px}.share-btn{min-height:36px;font-size:12px;padding:0 10px}.similar-section{margin-bottom:24px}.similar-card .product-body{padding:10px}.similar-card h3{font-size:13px;min-height:36px}.similar-card .product-body p{font-size:11px}.similar-card .price-row b{font-size:16.5px}.detail-summary{font-size:13px}.detail-view-badge{max-width:calc(100% - 28px)}}

/* Payment UX - RamaShop QRIS + Manual QRIS */
.payment-choice-wrap{display:grid;gap:10px;margin:4px 0 10px}.form-label{font-size:13px;font-weight:900;color:var(--text-soft)}.payment-option{display:flex;align-items:flex-start;gap:12px;padding:14px;border-radius:18px;border:1px solid rgba(124,58,237,.24);background:linear-gradient(135deg,rgba(124,58,237,.12),rgba(14,165,233,.08));cursor:pointer;transition:.18s ease}.payment-option:hover{border-color:rgba(165,243,252,.4);transform:translateY(-1px)}.payment-option input{margin-top:4px;accent-color:#8b5cf6}.payment-option b{display:block;font-size:14px}.payment-option small{display:block;margin-top:4px;color:var(--muted);line-height:1.45}.payment-option.disabled{opacity:.48;cursor:not-allowed;filter:grayscale(.2)}.payment-box{margin-top:14px;padding:16px;border-radius:22px;border:1px solid rgba(165,243,252,.14);background:radial-gradient(circle at top left,rgba(14,165,233,.15),transparent 36%),linear-gradient(180deg,rgba(15,23,42,.76),rgba(15,23,42,.5));box-shadow:var(--shadow-sm)}.payment-box-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.payment-box-head small{display:block;color:var(--muted);font-size:12px}.payment-box-head b{font-size:17px}.qris-img,.qris-preview{width:100%;max-width:280px;aspect-ratio:1/1;object-fit:contain;background:#fff;border-radius:22px;padding:12px;margin:12px auto;display:block;border:1px solid rgba(255,255,255,.1)}.qris-preview{margin:0;max-width:220px}.proof-img{width:100%;max-width:220px;border-radius:18px;border:1px solid var(--line);display:block;margin-top:8px}.qris-string{width:100%;min-height:84px;border-radius:16px;border:1px solid var(--line);background:rgba(2,6,23,.45);color:var(--muted);font-size:12px;padding:12px;resize:vertical}.proof-form{display:grid;gap:10px;margin-top:12px}.proof-form input[type=file],.form-grid input[type=file]{padding:12px;border:1px dashed rgba(148,163,184,.3);border-radius:16px;background:rgba(255,255,255,.04);color:var(--text-soft)}.settings-divider{border-top:1px solid var(--line);padding-top:18px;margin-top:8px}.settings-divider h2{margin:0 0 4px}.check-row{display:flex!important;align-items:center;gap:10px;min-height:48px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.035);font-weight:850}.check-row input{width:auto}.proof-link{display:inline-flex;margin-top:6px;font-size:12px;font-weight:900;color:#a5f3fc}.admin-orders-card table small{display:block;margin-top:4px;color:var(--muted);line-height:1.35}.status.waiting_confirmation{color:#fde68a;background:rgba(245,158,11,.1);border-color:rgba(245,158,11,.22)}.status.success{color:#bbf7d0;background:rgba(52,211,153,.1);border-color:rgba(52,211,153,.2)}.status.already{color:#a5f3fc;background:rgba(6,182,212,.1);border-color:rgba(6,182,212,.18)}
@media (max-width:760px){.payment-box{padding:14px;border-radius:20px}.payment-box-head{align-items:flex-start}.qris-img{max-width:240px}.admin-orders-card{overflow-x:auto}.admin-orders-card table{min-width:860px}}

.qris-open-link{width:100%;max-width:280px;margin:0 auto 10px;justify-content:center}.alert.warning{background:rgba(245,158,11,.12);border-color:rgba(245,158,11,.25);color:#fde68a}@media (max-width:760px){.qris-open-link{max-width:240px}}


/* Notifications UX */
.notice-link{position:relative;min-height:42px;padding:0 12px;border-radius:15px;border:1px solid var(--line);background:rgba(255,255,255,.045);display:inline-flex;align-items:center;gap:7px;color:var(--text-soft);font-weight:950;font-size:13px}.notice-link:hover,.notice-link.active{background:linear-gradient(135deg,rgba(124,58,237,.22),rgba(6,182,212,.10));border-color:rgba(167,139,250,.28);color:#fff}.notice-link em,.notif-icon em,.bottom-link em{position:absolute;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:linear-gradient(135deg,#fb7185,#f97316);color:white;border:2px solid #070b16;font-style:normal;font-size:10px;font-weight:950;display:inline-flex;align-items:center;justify-content:center;line-height:1}.notice-link em{top:-7px;right:-7px}.notif-icon{position:relative}.notif-icon em{top:-5px;right:-5px}.bottom-link em{top:5px;right:18%;border-color:rgba(15,23,42,.92)}.notif-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:10px 0 18px}.notif-page-head h1{margin:4px 0 6px}.notice-list{display:grid;gap:12px}.notification-card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:13px;align-items:flex-start;padding:16px;border-radius:22px;border:1px solid var(--line);background:linear-gradient(180deg,rgba(15,23,42,.78),rgba(15,23,42,.54));box-shadow:var(--shadow-sm)}.notification-card.unread{border-color:rgba(165,243,252,.26);background:radial-gradient(circle at top left,rgba(6,182,212,.16),transparent 28%),linear-gradient(180deg,rgba(15,23,42,.84),rgba(15,23,42,.58))}.notification-icon{width:44px;height:44px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,rgba(124,58,237,.28),rgba(6,182,212,.16));border:1px solid rgba(255,255,255,.08)}.notification-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.notification-title b{font-size:16px}.notification-card p{margin:6px 0 7px;color:var(--text-soft);line-height:1.55}.notification-card small{color:var(--muted)}.inline-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;background:rgba(6,182,212,.13);border:1px solid rgba(6,182,212,.22);color:#a5f3fc;font-size:11px;font-weight:950;white-space:nowrap}.dash-link-with-badge{gap:10px;flex-wrap:wrap}
@media(max-width:760px){.notif-page-head{display:grid;gap:12px;margin-top:2px}.notif-page-head .btn{width:100%;justify-content:center}.notification-card{grid-template-columns:38px minmax(0,1fr);padding:14px;border-radius:19px}.notification-icon{width:38px;height:38px;border-radius:14px}.notification-title b{font-size:15px}.notification-card p{font-size:13px}.bottom-link em{right:20%;top:4px}.mobile-actions{gap:7px}.brand b,.brand small{max-width:104px}}

/* Mobile checkout/cart/payment comfort upgrade */
.mobile-flow-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:8px 0 16px;padding:18px 20px;border-radius:28px;border:1px solid rgba(148,163,184,.16);background:radial-gradient(circle at 0% 0%,rgba(124,58,237,.22),transparent 38%),radial-gradient(circle at 100% 20%,rgba(6,182,212,.13),transparent 38%),linear-gradient(180deg,rgba(15,23,42,.82),rgba(15,23,42,.58));box-shadow:var(--shadow-sm);backdrop-filter:blur(16px)}
.mobile-flow-head h1{margin:0;font-size:clamp(28px,4.5vw,44px);line-height:1;letter-spacing:-.055em}.mobile-flow-head span{display:block;margin-top:8px;color:var(--muted);line-height:1.5}.flow-kicker{margin:0 0 7px;color:#a5f3fc;text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:950}.flow-total-badge{min-width:158px;padding:12px 14px;border-radius:20px;background:rgba(255,255,255,.07);border:1px solid var(--line);text-align:right}.flow-total-badge small{display:block;color:var(--muted);font-size:12px;font-weight:850}.flow-total-badge b{display:block;margin-top:3px;font-size:22px;color:#a5f3fc;letter-spacing:-.04em}.empty-state-card{max-width:520px;margin:28px auto;padding:26px 22px;border-radius:30px;border:1px solid var(--line);background:linear-gradient(180deg,rgba(15,23,42,.82),rgba(15,23,42,.58));box-shadow:var(--shadow-sm);text-align:center}.empty-icon{width:68px;height:68px;margin:0 auto 12px;border-radius:24px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(124,58,237,.2),rgba(6,182,212,.14));font-size:30px}.empty-state-card h2{margin:0 0 8px;letter-spacing:-.03em}.empty-state-card p{color:var(--muted);line-height:1.55;margin:0 auto 18px;max-width:360px}
.cart-page-card{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}.cart-items-list{display:grid;gap:12px}.cart-item-card{display:grid;grid-template-columns:104px minmax(0,1fr);gap:14px;padding:14px;border-radius:24px;border:1px solid var(--line);background:linear-gradient(180deg,rgba(15,23,42,.82),rgba(15,23,42,.6));box-shadow:var(--shadow-sm)}.cart-item-thumb{display:grid;place-items:center;aspect-ratio:1/1;border-radius:20px;background:#fff;overflow:hidden}.cart-item-thumb img{width:100%;height:100%;object-fit:contain;padding:12px}.cart-item-info{min-width:0;display:grid;align-content:space-between;gap:12px}.cart-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.cart-item-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:950;line-height:1.35;letter-spacing:-.02em}.cart-item-top small{display:block;margin-top:6px;color:var(--muted);font-size:12px}.cart-remove-btn{width:34px;height:34px;flex:0 0 auto;border-radius:12px;border:1px solid rgba(251,113,133,.18);background:rgba(251,113,133,.09);color:#fecdd3;font-size:22px;line-height:1}.cart-item-bottom{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:12px}.cart-price-stack span,.cart-subtotal-stack span{display:block;color:var(--muted);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.cart-price-stack b,.cart-subtotal-stack b{display:block;margin-top:4px;font-size:16px}.cart-subtotal-stack{text-align:right}.cart-subtotal-stack b{color:#a5f3fc}.qty-control{display:inline-grid;grid-template-columns:36px 54px 36px;align-items:center;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:rgba(255,255,255,.05)}.qty-control input{border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);border-radius:0;min-height:38px;text-align:center;padding:0;background:transparent;font-weight:950}.qty-control input::-webkit-outer-spin-button,.qty-control input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.qty-step{height:38px;border:0;background:transparent;color:var(--text);font-weight:950;font-size:18px}.qty-step:active{background:rgba(255,255,255,.08)}.cart-checkout-panel{position:sticky;top:96px;padding:18px;border-radius:26px;border:1px solid rgba(165,243,252,.15);background:radial-gradient(circle at 100% 0%,rgba(6,182,212,.12),transparent 38%),linear-gradient(180deg,rgba(15,23,42,.86),rgba(15,23,42,.62));box-shadow:var(--shadow-sm)}.panel-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.panel-line span{color:var(--muted);font-weight:850}.panel-line.total{border-bottom:0}.panel-line.total b{font-size:25px;color:#a5f3fc;letter-spacing:-.04em}.cart-checkout-panel p{margin:10px 0 14px;color:var(--muted);font-size:13px;line-height:1.5}.cart-actions-modern{display:grid;grid-template-columns:1fr 1.35fr;gap:10px}.cart-actions-modern .btn{width:100%}
.checkout-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 14px}.checkout-steps .step{position:relative;display:flex;align-items:center;gap:9px;min-height:46px;padding:9px 12px;border-radius:16px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--muted);font-weight:900}.checkout-steps .step b{width:26px;height:26px;border-radius:999px;display:grid;place-items:center;background:rgba(255,255,255,.07);color:var(--text-soft);font-size:12px}.checkout-steps .step.active{color:white;border-color:rgba(124,58,237,.28);background:linear-gradient(135deg,rgba(124,58,237,.2),rgba(6,182,212,.08))}.checkout-steps .step.active b{background:linear-gradient(135deg,var(--brand),var(--brand-2));color:white}.checkout-modern-grid{align-items:start}.checkout-summary-card,.checkout-form-card{overflow:visible}.card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.card-title-row h2{margin:0;font-size:22px;letter-spacing:-.035em}.soft-badge{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.05);color:var(--text-soft);font-size:12px;font-weight:900;white-space:nowrap}.checkout-items-list{display:grid;gap:10px}.checkout-item-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:11px;align-items:center;padding:10px;border-radius:18px;background:rgba(255,255,255,.045);border:1px solid rgba(148,163,184,.1)}.checkout-item-row img{width:48px;height:48px;border-radius:14px;background:white;object-fit:contain;padding:7px}.checkout-item-row b{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-size:14px}.checkout-item-row small{display:block;margin-top:4px;color:var(--muted);font-size:12px}.checkout-item-row strong{font-size:14px;white-space:nowrap}.modern-voucher-form{margin:14px 0;padding:8px;border:1px dashed rgba(148,163,184,.23);border-radius:18px;background:rgba(255,255,255,.035)}.modern-voucher-form .btn{min-height:42px}.checkout-total-box{padding:8px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.modern-note{margin-top:14px}.modern-checkout-form{display:grid;gap:13px}.form-section-box{display:grid;gap:12px;padding:14px;border-radius:22px;border:1px solid rgba(148,163,184,.13);background:rgba(255,255,255,.035)}.form-section-title{display:flex;align-items:center;gap:9px;color:var(--text);font-weight:950}.form-section-title span{width:32px;height:32px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.06)}.modern-buyer-box{border:1px solid var(--line);border-radius:17px;padding:14px;background:rgba(255,255,255,.04)}.payment-choice-modern{margin:0}.payment-choice-modern .payment-option{position:relative;align-items:center;padding:13px;border-radius:20px;background:rgba(255,255,255,.04);border-color:rgba(148,163,184,.14)}.payment-choice-modern .payment-option:has(input:checked),.payment-choice-modern .payment-option.selected{border-color:rgba(165,243,252,.42);background:linear-gradient(135deg,rgba(124,58,237,.22),rgba(6,182,212,.1));box-shadow:0 16px 36px rgba(6,182,212,.08)}.payment-choice-modern .payment-option input{position:absolute;right:14px;top:14px}.payment-icon{width:42px;height:42px;flex:0 0 auto;border-radius:15px;display:grid;place-items:center;background:rgba(255,255,255,.075);font-size:19px}.mobile-pay-sticky{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:2px;padding:13px 14px;border-radius:22px;border:1px solid rgba(165,243,252,.18);background:linear-gradient(135deg,rgba(124,58,237,.16),rgba(6,182,212,.08))}.mobile-pay-sticky small{display:block;color:var(--muted);font-size:12px;font-weight:900}.mobile-pay-sticky b{display:block;margin-top:3px;color:#a5f3fc;font-size:22px;letter-spacing:-.04em}.mobile-pay-sticky .btn{min-width:150px}
.payment-order-card{overflow:visible}.payment-mini-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.payment-mini-steps span{position:relative;min-height:34px;display:grid;place-items:center;text-align:center;padding:0 8px;border-radius:999px;background:rgba(255,255,255,.045);border:1px solid var(--line);color:var(--muted);font-size:12px;font-weight:950}.payment-mini-steps span.done{background:rgba(52,211,153,.12);border-color:rgba(52,211,153,.22);color:#bbf7d0}.payment-mini-steps span.active{background:rgba(251,191,36,.12);border-color:rgba(251,191,36,.22);color:#fde68a}.payment-box-modern{overflow:visible;border-color:rgba(165,243,252,.18);background:radial-gradient(circle at top right,rgba(6,182,212,.12),transparent 40%),radial-gradient(circle at bottom left,rgba(124,58,237,.12),transparent 40%),linear-gradient(180deg,rgba(15,23,42,.82),rgba(15,23,42,.58))}.payment-box-head-modern{padding-bottom:12px;border-bottom:1px solid var(--line)}.payment-pay-hero{margin:14px 0;padding:18px;border-radius:24px;text-align:center;border:1px solid rgba(165,243,252,.18);background:linear-gradient(135deg,rgba(6,182,212,.14),rgba(124,58,237,.12))}.payment-pay-hero.manual{background:linear-gradient(135deg,rgba(251,191,36,.12),rgba(124,58,237,.1));border-color:rgba(251,191,36,.2)}.payment-pay-hero small{display:block;color:var(--muted);font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.12em}.payment-pay-hero b{display:block;margin:4px 0 6px;font-size:34px;color:#a5f3fc;letter-spacing:-.055em}.payment-pay-hero span{color:var(--text-soft);font-size:13px;line-height:1.45}.payment-box-modern .qris-img{max-width:320px;border-radius:28px;padding:16px;box-shadow:0 20px 54px rgba(0,0,0,.28),0 0 0 1px rgba(255,255,255,.08)}.payment-instruction-card{margin:14px 0;padding:14px;border-radius:20px;border:1px solid rgba(148,163,184,.14);background:rgba(255,255,255,.04)}.payment-instruction-card b{display:block;margin-bottom:8px}.payment-instruction-card ol{margin:0;padding-left:20px;color:var(--muted);line-height:1.6;font-size:13px}.payment-action-form .btn,.proof-form-modern .btn{width:100%;justify-content:center}.proof-form-modern{padding:14px;border-radius:20px;border:1px dashed rgba(165,243,252,.2);background:rgba(6,182,212,.045)}
@media(max-width:900px){.cart-page-card{grid-template-columns:1fr}.cart-checkout-panel{position:static}.checkout-summary-card{order:2}.checkout-form-card{order:1}}
@media(max-width:760px){.mobile-flow-head{margin:2px 0 12px;padding:15px 14px;border-radius:24px;align-items:stretch}.mobile-flow-head{display:grid;grid-template-columns:1fr}.mobile-flow-head h1{font-size:30px}.mobile-flow-head span{font-size:13px;margin-top:6px}.flow-total-badge{min-width:0;text-align:left;display:flex;align-items:center;justify-content:space-between}.flow-total-badge b{font-size:19px}.cart-page-card{gap:12px}.cart-item-card{grid-template-columns:82px minmax(0,1fr);gap:11px;padding:11px;border-radius:21px}.cart-item-thumb{border-radius:18px}.cart-item-thumb img{padding:9px}.cart-item-title{font-size:14px}.cart-item-top small{font-size:11px}.cart-remove-btn{width:32px;height:32px}.cart-item-bottom{grid-template-columns:1fr;gap:10px}.cart-price-stack,.cart-subtotal-stack{text-align:left;display:flex;align-items:center;justify-content:space-between;gap:12px}.cart-price-stack b,.cart-subtotal-stack b{margin:0}.qty-control{width:100%;grid-template-columns:44px 1fr 44px}.qty-control input{min-height:42px}.cart-checkout-panel{position:sticky;bottom:calc(86px + env(safe-area-inset-bottom));z-index:30;margin-top:8px;border-radius:24px;background:linear-gradient(180deg,rgba(15,23,42,.92),rgba(15,23,42,.78));backdrop-filter:blur(18px)}.cart-actions-modern{grid-template-columns:.85fr 1.15fr}.checkout-steps{gap:6px}.checkout-steps .step{min-height:40px;padding:8px 9px;font-size:12px}.checkout-steps .step b{width:24px;height:24px}.checkout-item-row{grid-template-columns:44px minmax(0,1fr);align-items:start}.checkout-item-row strong{grid-column:2;text-align:left;color:#a5f3fc}.form-section-box{padding:12px;border-radius:20px}.mobile-pay-sticky{position:sticky;bottom:calc(86px + env(safe-area-inset-bottom));z-index:30;margin-top:4px;background:linear-gradient(180deg,rgba(15,23,42,.94),rgba(15,23,42,.82));backdrop-filter:blur(18px)}.mobile-pay-sticky .btn{min-width:132px}.payment-mini-steps{gap:6px}.payment-mini-steps span{font-size:10.5px;min-height:32px;padding:0 5px}.payment-pay-hero{padding:15px;border-radius:21px}.payment-pay-hero b{font-size:29px}.payment-box-modern .qris-img{max-width:min(100%,290px);border-radius:24px}.payment-instruction-card{padding:12px;border-radius:18px}.proof-form-modern{padding:12px}.order-card.payment-order-card{padding:14px}}
@media(max-width:390px){.cart-item-card{grid-template-columns:74px minmax(0,1fr)}.cart-actions-modern{grid-template-columns:1fr}.mobile-pay-sticky{grid-template-columns:1fr}.mobile-pay-sticky .btn{width:100%}.payment-pay-hero b{font-size:26px}}

/* Mobile checkout/cart/payment polish v2 */
.payment-choice-modern .payment-option{
  position:relative;
  padding-right:52px;
  min-height:78px;
}
.payment-choice-modern .payment-option input[type="radio"]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-width:1px!important;
  min-height:1px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  opacity:0!important;
  pointer-events:none!important;
  appearance:none!important;
}
.payment-choice-modern .payment-option:after{
  content:"";
  position:absolute;
  right:15px;
  top:50%;
  transform:translateY(-50%);
  width:23px;
  height:23px;
  border-radius:999px;
  border:2px solid rgba(148,163,184,.34);
  background:rgba(2,6,23,.42);
  box-shadow:inset 0 0 0 5px rgba(15,23,42,.85);
}
.payment-choice-modern .payment-option.selected:after,
.payment-choice-modern .payment-option:has(input:checked):after{
  border-color:#a5f3fc;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  box-shadow:inset 0 0 0 5px rgba(15,23,42,.72),0 0 0 4px rgba(124,58,237,.16);
}
.payment-choice-modern .payment-option.disabled:after{opacity:.35}
.payment-choice-modern .payment-option > span:last-child{min-width:0}
.qris-actions{
  width:100%;
  max-width:280px;
  margin:0 auto 12px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.qris-actions .btn{
  width:100%;
  min-height:42px;
  padding:0 12px;
  border-radius:15px;
  box-shadow:none;
  white-space:nowrap;
}
.qris-download-link{background:linear-gradient(135deg,var(--brand),var(--brand-2))}
@media(max-width:760px){
  .cart-checkout-panel{
    position:static!important;
    bottom:auto!important;
    top:auto!important;
    z-index:auto!important;
    margin-top:0!important;
    border-radius:22px;
  }
  .cart-item-card{overflow:visible}
  .cart-item-bottom{padding-top:2px}
  .qty-control{min-height:44px}
  .qty-step{height:44px}
  .mobile-pay-sticky{
    position:static!important;
    bottom:auto!important;
    z-index:auto!important;
    margin-top:4px;
  }
  .payment-choice-modern .payment-option{
    min-height:82px;
    padding:13px 48px 13px 12px;
  }
  .payment-choice-modern .payment-option:after{
    right:13px;
    width:21px;
    height:21px;
  }
  .qris-actions{max-width:min(100%,290px)}
}
@media(max-width:390px){
  .qris-actions{grid-template-columns:1fr}
}

/* Premium SVG icon system */
.premium-icon{width:20px;height:20px;display:inline-block;vertical-align:-.18em;flex:0 0 auto;color:currentColor;filter:drop-shadow(0 0 10px rgba(165,243,252,.06))}
.icon-btn .premium-icon{width:19px;height:19px;color:#dbeafe}
.notice-link .premium-icon{width:18px;height:18px;color:#facc15}
.btn .premium-icon,.login-btn .premium-icon,.share-btn .premium-icon{width:17px;height:17px;margin-right:2px}
.bottom-link .premium-icon{width:21px;height:21px;margin-bottom:1px;stroke-width:2.15;color:currentColor}
.bottom-link.active .premium-icon{filter:drop-shadow(0 0 12px rgba(165,243,252,.28))}
.section-icon .premium-icon{width:22px;height:22px;color:#a5f3fc}
.form-section-title span .premium-icon{width:18px;height:18px;color:#c4b5fd}
.payment-icon .premium-icon{width:21px;height:21px;color:#a5f3fc}
.payment-option:first-child .payment-icon .premium-icon{color:#fbbf24}
.empty-icon{font-size:0}.empty-icon .premium-icon{width:34px;height:34px;color:#a5f3fc}
.detail-view-badge .premium-icon{width:16px;height:16px;color:#a5f3fc;margin-right:2px}
.notification-icon .premium-icon{width:21px;height:21px;color:#fde68a}
.share-btn{gap:7px}.share-btn .premium-icon{color:#a5f3fc}.share-btn.native-share .premium-icon{color:white}
.dash-link span{display:inline-flex;align-items:center;gap:10px;min-width:0}.dash-link .premium-icon{width:22px;height:22px;color:#a5f3fc}.dash-link-with-badge{justify-content:space-between}
.sidebar nav a{gap:10px}.sidebar nav a .premium-icon{width:19px;height:19px;color:#a5f3fc;opacity:.92}.sidebar nav a:hover .premium-icon{color:#fff;filter:drop-shadow(0 0 12px rgba(165,243,252,.24))}
.qris-actions .btn{gap:8px}.payment-action-form .btn,.proof-form .btn,.guest-lookup-form .btn{gap:8px}
@media(max-width:760px){.icon-btn .premium-icon{width:18px;height:18px}.bottom-link .premium-icon{width:20px;height:20px}.btn .premium-icon,.share-btn .premium-icon{width:16px;height:16px}.payment-icon .premium-icon{width:20px;height:20px}.form-section-title span .premium-icon{width:17px;height:17px}}

/* Fonnte WhatsApp settings */
.settings-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.settings-details{border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.035);padding:14px}
.settings-details summary{cursor:pointer;font-weight:950;color:var(--text);list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px}
.settings-details summary::-webkit-details-marker{display:none}
.settings-details summary:after{content:"+";width:28px;height:28px;border-radius:999px;display:grid;place-items:center;background:rgba(255,255,255,.07);color:#a5f3fc}
.settings-details[open] summary:after{content:"−"}
.settings-details label{margin-top:12px;display:block}
.settings-test-box{padding:16px;border-radius:22px;border:1px solid rgba(165,243,252,.16);background:radial-gradient(circle at top right,rgba(6,182,212,.11),transparent 40%),linear-gradient(180deg,rgba(15,23,42,.72),rgba(15,23,42,.48))}
.settings-test-box h3{margin:0 0 12px;font-size:18px;letter-spacing:-.02em}
@media(max-width:760px){.settings-mini-grid{grid-template-columns:1fr}.settings-test-box{padding:13px;border-radius:18px}}

/* Modern auth, register, and OTP UI */
.auth-shell{
  min-height:calc(100vh - 160px);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,480px);
  gap:22px;
  align-items:center;
  padding:28px 0 46px;
}
.auth-register-shell{grid-template-columns:minmax(0,.9fr) minmax(380px,520px)}
.auth-visual-card{
  min-height:540px;
  border:1px solid var(--line);
  border-radius:34px;
  padding:34px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 8%,rgba(124,58,237,.34),transparent 36%),
    radial-gradient(circle at 92% 20%,rgba(6,182,212,.22),transparent 34%),
    linear-gradient(145deg,rgba(15,23,42,.84),rgba(7,10,19,.78));
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.auth-visual-card:before{
  content:"";
  position:absolute;
  inset:22px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.08);
  pointer-events:none;
}
.auth-visual-card:after{
  content:"";
  position:absolute;
  right:-70px;
  top:-80px;
  width:260px;
  height:260px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(255,255,255,.16),transparent 65%);
  pointer-events:none;
}
.auth-brand-mark{
  position:absolute;
  top:34px;
  left:34px;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:20px;
  color:#fff;
  font-size:25px;
  font-weight:950;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  box-shadow:0 18px 45px rgba(124,58,237,.34);
}
.auth-brand-mark.has-image{padding:7px;background:rgba(255,255,255,.08);backdrop-filter:blur(10px)}
.auth-brand-mark.has-image img{width:100%;height:100%;display:block;object-fit:contain}
.auth-visual-card h1{
  margin:0;
  max-width:650px;
  font-size:clamp(34px,5vw,58px);
  line-height:.98;
  letter-spacing:-.06em;
  font-weight:950;
}
.auth-visual-card p:not(.eyebrow){
  max-width:620px;
  margin:16px 0 0;
  color:var(--muted);
  font-size:16px;
  line-height:1.65;
}
.auth-benefits{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}
.auth-benefits.stacked{display:grid;grid-template-columns:1fr;max-width:460px}
.auth-benefits span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:0 13px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.065);
  color:var(--text-soft);
  font-size:12.5px;
  font-weight:900;
  backdrop-filter:blur(12px);
}
.auth-benefits .premium-icon{width:17px;height:17px;color:#a5f3fc}
.auth-card-modern{
  max-width:none;
  margin:0;
  padding:24px;
  border-radius:32px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 18% 0%,rgba(124,58,237,.18),transparent 36%),
    linear-gradient(180deg,rgba(15,23,42,.86),rgba(15,23,42,.62));
}
.auth-card-modern:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(120deg,rgba(255,255,255,.07),transparent 32%,transparent 70%,rgba(6,182,212,.07));
}
.auth-card-modern>*{position:relative;z-index:1}
.auth-head{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
}
.auth-head.centered{display:block;text-align:center;margin-bottom:18px}
.auth-head h1{margin:0;font-size:30px;letter-spacing:-.045em;line-height:1.08}
.auth-head p{margin:5px 0 0;color:var(--muted);line-height:1.45;font-size:14px}
.auth-icon-box,.otp-hero-icon{
  width:52px;
  height:52px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,rgba(124,58,237,.28),rgba(6,182,212,.16));
  border:1px solid rgba(165,243,252,.16);
  box-shadow:0 14px 35px rgba(0,0,0,.22);
  flex:0 0 auto;
}
.auth-icon-box .premium-icon,.otp-hero-icon .premium-icon{width:24px;height:24px;color:#a5f3fc}
.auth-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding:6px;
  border-radius:19px;
  background:rgba(2,6,23,.42);
  border:1px solid var(--line);
  margin-bottom:18px;
}
.auth-tabs a{
  min-height:44px;
  display:grid;
  place-items:center;
  border-radius:14px;
  color:var(--muted);
  font-size:13px;
  font-weight:950;
}
.auth-tabs a.active{
  color:#fff;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  box-shadow:0 12px 30px rgba(124,58,237,.28);
}
.auth-form.modern-form{gap:13px}
.auth-form label span:first-child{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.auth-form label small{color:var(--muted);font-weight:800;font-size:12px}
.input-icon-wrap{
  position:relative;
  display:block!important;
}
.input-icon-wrap .premium-icon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  width:18px;
  height:18px;
  color:#a5f3fc;
  opacity:.92;
  z-index:2;
}
.input-icon-wrap input{padding-left:44px;min-height:50px;border-radius:17px;background:rgba(2,6,23,.52)}
.auth-main-btn{
  width:100%;
  min-height:52px;
  border-radius:17px;
  margin-top:2px;
  gap:9px;
  font-size:15px;
}
.auth-resend-btn{width:100%;min-height:48px;border-radius:17px;gap:9px}
.auth-resend-btn:disabled{opacity:.58;cursor:not-allowed;box-shadow:none}
.auth-note{
  margin:14px 0 0;
  padding:12px 13px;
  border:1px solid rgba(6,182,212,.16);
  background:rgba(6,182,212,.08);
  border-radius:16px;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}
.auth-note b{color:#a5f3fc}
.auth-switch-box{
  margin-top:16px;
  padding:13px;
  border-radius:17px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:rgba(255,255,255,.045);
  border:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
}
.auth-switch-box a{font-weight:950;color:#c4b5fd;white-space:nowrap}
.guest-continue{
  margin-top:11px;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.035);
  color:var(--text-soft);
  font-size:13px;
  font-weight:900;
}
.guest-continue:hover{background:rgba(255,255,255,.07);border-color:rgba(165,243,252,.2)}
.guest-continue .premium-icon{width:17px;height:17px;color:#a5f3fc}
.otp-shell{display:flex;justify-content:center;min-height:calc(100vh - 150px)}
.otp-card-modern{width:100%;max-width:520px;text-align:center;padding:26px}
.otp-hero-icon{margin:0 auto 16px;width:64px;height:64px;border-radius:23px}
.otp-hero-icon .premium-icon{width:30px;height:30px}
.otp-inputs{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:10px;
  margin:8px 0 4px;
}
.otp-inputs input{
  min-height:60px;
  padding:0;
  text-align:center;
  font-size:24px;
  font-weight:950;
  border-radius:17px;
  background:rgba(2,6,23,.58);
  border-color:rgba(148,163,184,.2);
}
.otp-inputs input:focus{
  border-color:rgba(165,243,252,.62);
  box-shadow:0 0 0 4px rgba(6,182,212,.12),0 14px 24px rgba(0,0,0,.18);
}
.otp-help-box{
  margin-top:14px;
  padding:13px 14px;
  border:1px solid rgba(251,191,36,.16);
  border-radius:17px;
  background:rgba(251,191,36,.08);
  text-align:left;
}
.otp-help-box b{display:block;color:#fde68a;font-size:13px}
.otp-help-box span{display:block;margin-top:4px;color:var(--muted);font-size:12.5px;line-height:1.5}
@media(max-width:900px){
  .auth-shell,.auth-register-shell{grid-template-columns:1fr;gap:14px;padding:12px 0 24px}
  .auth-visual-card{min-height:auto;padding:24px;border-radius:28px;display:block}
  .auth-brand-mark{position:static;margin-bottom:34px;width:50px;height:50px;border-radius:18px}.auth-brand-mark.has-image{padding:6px}
  .auth-visual-card h1{font-size:34px}.auth-visual-card p:not(.eyebrow){font-size:14px;margin-top:12px}.auth-benefits{margin-top:16px}
}
@media(max-width:760px){
  .auth-shell{min-height:auto;padding-top:8px;padding-bottom:18px}
  .auth-visual-card{display:none}
  .auth-card-modern{border-radius:24px;padding:18px;margin:0;border-color:rgba(148,163,184,.2)}
  .auth-head h1{font-size:26px}.auth-head p{font-size:13px}.auth-icon-box{width:46px;height:46px;border-radius:16px}.auth-icon-box .premium-icon{width:21px;height:21px}
  .auth-tabs a{min-height:42px;font-size:12.5px}.input-icon-wrap input{min-height:49px}.auth-main-btn{min-height:51px}.auth-switch-box{display:grid;gap:6px;text-align:center}.auth-switch-box a{white-space:normal}
  .otp-card-modern{padding:18px}.otp-inputs{gap:7px}.otp-inputs input{min-height:54px;border-radius:15px;font-size:22px}.otp-hero-icon{width:56px;height:56px;border-radius:20px}
}
@media(max-width:380px){.otp-inputs{gap:6px}.otp-inputs input{min-height:49px;font-size:20px;border-radius:13px}.auth-card-modern{padding:15px}.auth-head{gap:10px}.auth-head h1{font-size:24px}}

/* SweetAlert2 premium dark integration */
.zona-swal-popup {
  border-radius: 26px !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  box-shadow: 0 22px 80px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.05) !important;
  background: radial-gradient(circle at 20% 0%, rgba(124,92,255,.20), transparent 36%), #0b1020 !important;
}
.zona-swal-title {
  letter-spacing: -.02em !important;
}
.zona-swal-text {
  color: rgba(238,243,255,.78) !important;
}
.zona-swal-confirm,
.zona-swal-cancel {
  border-radius: 14px !important;
  padding: 11px 18px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}
.zona-swal-confirm {
  background: linear-gradient(135deg, #7c5cff, #49b6ff) !important;
}
.zona-swal-cancel {
  background: rgba(255,255,255,.08) !important;
  color: #e9eeff !important;
}
.swal2-toast.zona-swal-popup {
  border-radius: 18px !important;
  padding: 12px 14px !important;
}
.swal2-timer-progress-bar {
  background: linear-gradient(90deg, #7c5cff, #49b6ff) !important;
}
@media (max-width: 560px) {
  .zona-swal-popup {
    width: calc(100vw - 28px) !important;
    margin: 0 auto !important;
  }
  .swal2-toast.zona-swal-popup {
    width: calc(100vw - 24px) !important;
  }
}

/* Account Center profile UI */
.profile-center{display:grid;gap:18px}
.profile-guest-shell{min-height:calc(100vh - 180px);display:grid;place-items:center;padding:28px 0 48px}
.profile-guest-card{width:min(100%,760px);padding:34px;border-radius:34px;border:1px solid rgba(165,243,252,.16);background:radial-gradient(circle at 10% 0,rgba(124,58,237,.24),transparent 38%),radial-gradient(circle at 100% 25%,rgba(6,182,212,.14),transparent 42%),linear-gradient(180deg,rgba(15,23,42,.86),rgba(15,23,42,.58));box-shadow:var(--shadow);text-align:center;overflow:hidden;position:relative}
.profile-guest-card:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.08),transparent 34%,rgba(255,255,255,.02));pointer-events:none}
.profile-guest-card>*{position:relative;z-index:1}
.profile-hero-orb{width:76px;height:76px;margin:0 auto 16px;border-radius:26px;display:grid;place-items:center;background:linear-gradient(135deg,var(--brand),var(--brand-2));box-shadow:0 20px 60px rgba(124,58,237,.35)}
.profile-hero-orb .premium-icon{width:34px;height:34px;color:#fff}
.profile-guest-card h1{margin:7px 0 10px;font-size:42px;letter-spacing:-.06em;line-height:1.03}
.profile-guest-card p{margin:0 auto;color:var(--muted);max-width:610px;line-height:1.65}
.profile-benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:24px 0}
.profile-benefit-grid span{min-height:50px;border-radius:18px;border:1px solid var(--line);background:rgba(255,255,255,.055);display:flex;align-items:center;justify-content:center;gap:8px;font-weight:900;color:var(--text-soft);font-size:13px}
.profile-benefit-grid .premium-icon{width:17px;height:17px;color:#a5f3fc}
.profile-guest-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.profile-hero-card{position:relative;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;padding:24px;border:1px solid rgba(165,243,252,.16);border-radius:34px;background:radial-gradient(circle at 0 0,rgba(124,58,237,.25),transparent 34%),radial-gradient(circle at 100% 0,rgba(6,182,212,.13),transparent 38%),linear-gradient(180deg,rgba(15,23,42,.86),rgba(15,23,42,.58));box-shadow:var(--shadow-sm)}
.profile-hero-card:after{content:"";position:absolute;inset:auto -20% -55% 25%;height:170px;background:radial-gradient(circle,rgba(165,243,252,.12),transparent 70%);pointer-events:none}
.profile-avatar-wrap{display:grid;place-items:center;gap:9px;position:relative;z-index:1}
.profile-avatar{width:84px;height:84px;border-radius:28px;display:grid;place-items:center;background:linear-gradient(135deg,#8b5cf6,#06b6d4);color:#fff;font-size:34px;font-weight:950;box-shadow:0 18px 45px rgba(124,58,237,.32)}
.profile-role-badge{min-height:28px;padding:0 11px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid var(--line);font-size:12px;font-weight:950;color:#dbeafe}
.profile-hero-copy{position:relative;z-index:1;min-width:0}
.profile-hero-copy h1{margin:4px 0 7px;font-size:34px;letter-spacing:-.055em;line-height:1.05}
.profile-hero-copy p{margin:0;color:var(--muted);word-break:break-word}
.profile-status-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:13px}
.profile-pill{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.055);font-size:12px;font-weight:950;color:var(--text-soft)}
.profile-pill .premium-icon{width:16px;height:16px}.profile-pill.ok{color:#bbf7d0;border-color:rgba(52,211,153,.22);background:rgba(52,211,153,.1)}.profile-pill.warn{color:#fde68a;border-color:rgba(251,191,36,.24);background:rgba(251,191,36,.1)}.profile-pill.muted{color:#cbd5e1}
.profile-hero-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end;position:relative;z-index:1}
.profile-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.profile-stat-card{min-height:120px;padding:18px;border-radius:26px;border:1px solid var(--line);background:linear-gradient(180deg,rgba(15,23,42,.74),rgba(15,23,42,.45));box-shadow:0 14px 38px rgba(0,0,0,.18)}
.profile-stat-card span{width:40px;height:40px;border-radius:15px;display:grid;place-items:center;background:rgba(255,255,255,.065);border:1px solid rgba(255,255,255,.08);color:#a5f3fc;margin-bottom:12px}
.profile-stat-card .premium-icon{width:20px;height:20px}.profile-stat-card b{display:block;font-size:28px;line-height:1;letter-spacing:-.05em;color:#fff}.profile-stat-card small{display:block;margin-top:7px;color:var(--muted);font-weight:850}
.profile-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:18px;align-items:start}.profile-main-col,.profile-side-col{display:grid;gap:18px}
.profile-panel{border:1px solid var(--line);border-radius:28px;background:linear-gradient(180deg,rgba(15,23,42,.78),rgba(15,23,42,.48));box-shadow:0 14px 42px rgba(0,0,0,.18);padding:18px;overflow:hidden}.profile-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}.profile-panel-head h2{margin:3px 0 0;font-size:22px;letter-spacing:-.035em}.profile-panel-head.compact{margin-bottom:12px}.profile-panel-head.compact h2{font-size:18px}.profile-panel-head a{color:#a5f3fc;font-weight:900;font-size:13px}.profile-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-menu-item{display:grid;grid-template-columns:44px minmax(0,1fr);gap:11px;align-items:center;padding:13px;border:1px solid rgba(148,163,184,.13);border-radius:22px;background:rgba(255,255,255,.04);transition:.2s ease}.profile-menu-item:hover{transform:translateY(-2px);border-color:rgba(165,243,252,.22);background:rgba(255,255,255,.065)}.profile-menu-item>span{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.07);color:#a5f3fc}.profile-menu-item .premium-icon{width:21px;height:21px}.profile-menu-item b{display:block;font-size:14px}.profile-menu-item small{display:block;margin-top:3px;color:var(--muted);font-size:12px;line-height:1.35}.profile-form{display:grid;gap:13px}.form-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-form label{display:grid;gap:7px;color:var(--text-soft);font-weight:850}.profile-form label small{font-size:12px;color:var(--muted);font-weight:750}.profile-security-actions{display:flex;gap:10px;flex-wrap:wrap}.profile-action-stack{display:grid;gap:9px}.profile-action-stack .btn{width:100%}.referral-code-box{padding:16px;border-radius:22px;border:1px dashed rgba(165,243,252,.24);background:rgba(6,182,212,.055);margin-bottom:12px}.referral-code-box small{display:block;color:var(--muted);font-weight:900;text-transform:uppercase;letter-spacing:.1em;font-size:11px}.referral-code-box b{display:block;margin-top:4px;font-size:26px;letter-spacing:.06em;color:#a5f3fc;word-break:break-all}.profile-mini-list{display:grid;gap:10px}.profile-mini-item{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;padding:10px;border-radius:18px;border:1px solid rgba(148,163,184,.12);background:rgba(255,255,255,.035)}.profile-mini-item.is-unread{border-color:rgba(165,243,252,.22);background:rgba(6,182,212,.06)}.profile-mini-item>span{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.065);color:#a5f3fc}.profile-mini-item .premium-icon{width:18px;height:18px}.profile-mini-item b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-mini-item small{display:block;margin-top:3px;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.small-empty{padding:14px;border-radius:18px;text-align:left;font-size:13px}
@media(max-width:980px){.profile-content-grid{grid-template-columns:1fr}.profile-side-col{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-ref-card{grid-column:1/-1}.profile-hero-card{grid-template-columns:auto minmax(0,1fr)}.profile-hero-actions{grid-column:1/-1;justify-content:flex-start}.profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.profile-center{gap:13px}.profile-guest-shell{min-height:auto;padding:8px 0 28px}.profile-guest-card{padding:22px 16px;border-radius:28px;text-align:left}.profile-hero-orb{margin:0 0 14px;width:58px;height:58px;border-radius:20px}.profile-hero-orb .premium-icon{width:27px;height:27px}.profile-guest-card h1{font-size:30px}.profile-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:18px 0}.profile-benefit-grid span{justify-content:flex-start;padding:0 12px;font-size:12px}.profile-guest-actions{display:grid;grid-template-columns:1fr}.profile-hero-card{grid-template-columns:1fr;padding:18px;border-radius:28px}.profile-avatar-wrap{place-items:start;display:flex;align-items:center;justify-content:space-between}.profile-avatar{width:66px;height:66px;border-radius:22px;font-size:28px}.profile-hero-copy h1{font-size:28px}.profile-status-row{align-items:stretch}.profile-status-row .inline-form{width:100%}.profile-status-row .btn{width:100%}.profile-pill{width:100%;justify-content:center}.profile-hero-actions{display:grid;grid-template-columns:1fr;gap:8px}.profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-stat-card{min-height:108px;padding:14px;border-radius:22px}.profile-stat-card span{width:36px;height:36px;border-radius:14px;margin-bottom:10px}.profile-stat-card b{font-size:24px}.profile-content-grid,.profile-main-col,.profile-side-col{display:grid;grid-template-columns:1fr;gap:13px}.profile-panel{padding:14px;border-radius:24px}.profile-panel-head{align-items:flex-start;margin-bottom:12px}.profile-panel-head h2{font-size:20px}.profile-menu-grid{grid-template-columns:1fr}.profile-menu-item{padding:12px;border-radius:20px}.form-two-col{grid-template-columns:1fr}.profile-security-actions{display:grid;grid-template-columns:1fr}.referral-code-box b{font-size:22px}.profile-mini-item b,.profile-mini-item small{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.profile-mini-item b{-webkit-line-clamp:1}.profile-mini-item small{-webkit-line-clamp:2}}

/* Profile Center CSS repair v2 - mobile-first stability */
.profile-center,
.profile-center *{min-width:0}
.profile-center{width:100%;max-width:1180px;margin:0 auto}
.profile-hero-card,
.profile-stat-card,
.profile-panel,
.profile-guest-card{isolation:isolate}
.profile-hero-card{align-items:center}
.profile-hero-copy h1,
.profile-panel-head h2,
.profile-menu-item b,
.profile-mini-item b{overflow-wrap:anywhere}
.profile-hero-copy p{overflow-wrap:anywhere;line-height:1.55}
.profile-status-row .inline-form{margin:0}
.profile-panel-head .soft-badge{flex:0 0 auto}
.profile-panel-head>div{min-width:0}
.profile-form input,
.profile-form textarea,
.profile-form select{max-width:100%}
.profile-action-stack .btn,
.profile-security-actions .btn,
.profile-guest-actions .btn{white-space:normal;text-align:center;line-height:1.2}
.profile-mini-item div{min-width:0}
.profile-menu-item div{min-width:0}

@media(max-width:980px){
  .profile-center{max-width:760px}
  .profile-side-col{grid-template-columns:1fr 1fr}
}

@media(max-width:760px){
  .app-shell{padding-left:12px;padding-right:12px;padding-bottom:102px}
  .main{padding-top:12px}
  .profile-center{gap:12px;max-width:100%}

  .profile-guest-shell{padding:4px 0 26px;place-items:start stretch}
  .profile-guest-card{width:100%;padding:18px;border-radius:24px;text-align:left}
  .profile-guest-card h1{font-size:25px;line-height:1.1;letter-spacing:-.045em}
  .profile-guest-card p{font-size:13px;line-height:1.55}
  .profile-hero-orb{width:54px;height:54px;border-radius:18px;margin:0 0 12px}
  .profile-benefit-grid{grid-template-columns:1fr;gap:8px;margin:16px 0}
  .profile-benefit-grid span{min-height:43px;justify-content:flex-start;padding:0 12px;font-size:12px;border-radius:15px}
  .profile-guest-actions{display:grid;grid-template-columns:1fr;gap:8px}

  .profile-hero-card{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:16px;border-radius:24px;margin-top:2px}
  .profile-hero-card:after{inset:auto -35% -70% 0;height:150px}
  .profile-avatar-wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
  .profile-avatar{width:58px;height:58px;border-radius:20px;font-size:25px}
  .profile-role-badge{min-height:28px;font-size:11px;padding:0 10px}
  .profile-hero-copy h1{font-size:24px;line-height:1.08;margin:4px 0 7px;letter-spacing:-.045em}
  .profile-hero-copy p{font-size:12.5px;line-height:1.5;color:#aebbd1}
  .profile-status-row{display:grid;grid-template-columns:1fr;gap:8px;margin-top:12px;align-items:stretch}
  .profile-pill{width:100%;justify-content:flex-start;min-height:38px;padding:8px 11px;font-size:12px;line-height:1.25;border-radius:15px}
  .profile-status-row .inline-form{display:block;width:100%}
  .profile-status-row .inline-form .btn{width:100%;min-height:42px}
  .profile-hero-actions{display:grid;grid-template-columns:1fr;gap:8px;width:100%}
  .profile-hero-actions .btn{width:100%;justify-content:center;min-height:43px}

  .profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .profile-stat-card{min-height:100px;padding:13px;border-radius:20px}
  .profile-stat-card span{width:34px;height:34px;border-radius:13px;margin-bottom:9px}
  .profile-stat-card b{font-size:22px}
  .profile-stat-card small{font-size:11.5px;line-height:1.25;margin-top:6px}

  .profile-content-grid,
  .profile-main-col,
  .profile-side-col{display:grid;grid-template-columns:1fr;gap:12px}
  .profile-panel{padding:13px;border-radius:22px;overflow:hidden}
  .profile-panel-head{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:12px}
  .profile-panel-head h2{font-size:18px;line-height:1.2;margin-top:2px}
  .profile-panel-head.compact h2{font-size:17px}
  .profile-panel-head .soft-badge{width:max-content;max-width:100%;min-height:28px;font-size:11px}
  .profile-menu-grid{grid-template-columns:1fr;gap:9px}
  .profile-menu-item{grid-template-columns:40px minmax(0,1fr);gap:10px;padding:11px;border-radius:18px}
  .profile-menu-item>span{width:40px;height:40px;border-radius:14px}
  .profile-menu-item b{font-size:13.5px}
  .profile-menu-item small{font-size:11.5px;line-height:1.35}

  .profile-form{gap:12px}
  .profile-form label{font-size:13px;line-height:1.35}
  .form-two-col{grid-template-columns:1fr;gap:12px}
  .profile-form input{min-height:48px;border-radius:16px}
  .profile-form .small-copy{font-size:12.5px;margin:0}
  .profile-form .btn{width:100%;justify-content:center;min-height:48px}
  .profile-security-actions{display:grid;grid-template-columns:1fr;gap:8px}

  .referral-code-box{padding:14px;border-radius:18px;margin-bottom:10px}
  .referral-code-box b{font-size:20px;line-height:1.2;letter-spacing:.04em}
  .profile-action-stack{gap:8px}
  .profile-action-stack .btn{min-height:45px;justify-content:center}

  .profile-mini-list{gap:8px}
  .profile-mini-item{grid-template-columns:36px minmax(0,1fr);gap:9px;padding:9px;border-radius:16px}
  .profile-mini-item>span{width:36px;height:36px;border-radius:13px}
  .profile-mini-item b{font-size:12.8px;line-height:1.25;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}
  .profile-mini-item small{font-size:11.5px;line-height:1.35;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .small-empty{padding:12px;border-radius:16px;font-size:12.5px}
}

@media(max-width:380px){
  .profile-stat-grid{grid-template-columns:1fr}
  .profile-stat-card{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:11px;align-items:center;min-height:auto}
  .profile-stat-card span{grid-row:1 / span 2;margin-bottom:0}
  .profile-stat-card b{font-size:21px}
  .profile-stat-card small{margin-top:2px}
}

/* Admin Pro UI/UX v2 */
.admin-body{min-height:100vh;background:#050812;color:var(--text)}
.admin-shell-pro{grid-template-columns:292px minmax(0,1fr);background:radial-gradient(circle at 82% 0%,rgba(124,58,237,.24),transparent 34rem),radial-gradient(circle at 0% 30%,rgba(6,182,212,.12),transparent 28rem),#050812}
.admin-sidebar-pro{padding:20px 16px;background:linear-gradient(180deg,rgba(9,13,28,.92),rgba(5,8,18,.88));border-right:1px solid rgba(148,163,184,.14);box-shadow:24px 0 60px rgba(0,0,0,.22)}
.admin-brand-pro{padding:8px 6px}.admin-brand-pro .brand-logo{box-shadow:0 18px 48px rgba(124,58,237,.35)}
.admin-side-status{display:flex;align-items:center;gap:10px;margin:18px 4px 10px;padding:12px;border-radius:18px;background:linear-gradient(135deg,rgba(52,211,153,.1),rgba(6,182,212,.06));border:1px solid rgba(52,211,153,.16)}
.admin-side-status b{display:block;font-size:13px}.admin-side-status small{display:block;margin-top:2px;color:var(--muted);font-size:11px;font-weight:800}.admin-pulse{width:10px;height:10px;border-radius:999px;background:#34d399;box-shadow:0 0 0 5px rgba(52,211,153,.13),0 0 22px rgba(52,211,153,.8)}
.admin-nav-pro{gap:8px!important;margin-top:16px!important}.admin-nav-pro a{position:relative;min-height:48px;border:1px solid transparent;background:transparent;transition:.18s ease}.admin-nav-pro a.active{color:#fff!important;background:linear-gradient(135deg,rgba(124,58,237,.28),rgba(6,182,212,.12));border-color:rgba(165,243,252,.2);box-shadow:0 16px 34px rgba(6,182,212,.06)}.admin-nav-pro a.active:before{content:"";position:absolute;left:-16px;top:11px;bottom:11px;width:4px;border-radius:999px;background:linear-gradient(180deg,var(--brand),var(--brand-2))}.admin-nav-pro a em,.admin-top-actions .icon-btn em{margin-left:auto;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:linear-gradient(135deg,#fb7185,#f97316);color:white;border:2px solid rgba(7,10,19,.86);font-size:11px;font-style:normal;font-weight:950;display:inline-flex;align-items:center;justify-content:center}.admin-sidebar-footer{position:absolute;left:16px;right:16px;bottom:18px;display:grid;gap:8px}.admin-mini-link{min-height:42px;border-radius:15px;padding:0 12px;display:flex;align-items:center;gap:9px;background:rgba(255,255,255,.045);border:1px solid var(--line);color:var(--text-soft);font-weight:900}.admin-mini-link:hover{background:rgba(255,255,255,.08);color:#fff}.admin-mini-link.danger{color:#fecdd3;background:rgba(251,113,133,.08);border-color:rgba(251,113,133,.16)}
.admin-main-pro{padding:22px;max-width:1600px;width:100%;margin:0 auto}.admin-topbar-pro{position:sticky;top:0;z-index:60;display:flex;justify-content:space-between;align-items:center;gap:16px;margin:-22px -22px 22px;padding:16px 22px;background:linear-gradient(180deg,rgba(5,8,18,.92),rgba(5,8,18,.76));border-bottom:1px solid rgba(148,163,184,.13);backdrop-filter:blur(18px)}.admin-topbar-pro strong{display:block;font-size:18px;letter-spacing:-.03em}.admin-top-actions{display:flex;align-items:center;gap:10px}.admin-top-actions .icon-btn{position:relative}.admin-top-actions .icon-btn em{position:absolute;right:-7px;top:-7px;margin-left:0;min-width:20px;height:20px;font-size:10px}.admin-profile-chip{display:flex;align-items:center;gap:10px;min-height:44px;padding:6px 10px 6px 6px;border-radius:18px;background:rgba(255,255,255,.055);border:1px solid var(--line)}.admin-profile-chip>span{width:32px;height:32px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:white;font-weight:950}.admin-profile-chip b{display:block;font-size:13px}.admin-profile-chip small{display:block;max-width:170px;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-page-head,.admin-hero-panel{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:8px 0 18px;padding:22px;border-radius:30px;border:1px solid rgba(148,163,184,.14);background:radial-gradient(circle at 2% 0%,rgba(124,58,237,.24),transparent 36%),radial-gradient(circle at 100% 5%,rgba(6,182,212,.12),transparent 32%),linear-gradient(180deg,rgba(15,23,42,.76),rgba(15,23,42,.52));box-shadow:var(--shadow-sm);overflow:hidden}.admin-page-head h1,.admin-hero-panel h1{margin:4px 0 8px;font-size:clamp(30px,4vw,46px);line-height:1;letter-spacing:-.055em}.admin-page-head .muted,.admin-hero-panel .muted{max-width:720px;margin:0}.admin-quick-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.admin-quick-actions .btn{white-space:nowrap}.admin-hero-panel{align-items:stretch}.admin-hero-panel>div:first-child{display:flex;flex-direction:column;justify-content:center}.admin-health-grid,.admin-health-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:min(100%,520px)}.admin-health-row{min-width:0;margin:0 0 18px}.health-card{min-height:108px;padding:15px;border-radius:22px;border:1px solid var(--line);background:rgba(255,255,255,.045);display:flex;flex-direction:column;gap:6px}.health-card span{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.07)}.health-card .premium-icon{width:20px;height:20px}.health-card b{font-size:14px}.health-card small{color:var(--muted);font-size:12px;line-height:1.35}.health-card.ok{border-color:rgba(52,211,153,.2);background:linear-gradient(180deg,rgba(52,211,153,.1),rgba(255,255,255,.035))}.health-card.ok span{color:#bbf7d0;background:rgba(52,211,153,.13)}.health-card.warn{border-color:rgba(251,191,36,.2);background:linear-gradient(180deg,rgba(251,191,36,.1),rgba(255,255,255,.035))}.health-card.warn span{color:#fde68a;background:rgba(251,191,36,.12)}
.admin-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}.admin-stat-grid.compact{margin-top:0}.admin-stat-card{min-height:108px;padding:16px;border-radius:24px;border:1px solid rgba(148,163,184,.14);background:linear-gradient(180deg,rgba(15,23,42,.78),rgba(15,23,42,.52));box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:14px;color:var(--text);transition:.18s ease}.admin-stat-card:hover{transform:translateY(-2px);border-color:rgba(165,243,252,.24);box-shadow:0 24px 54px rgba(0,0,0,.26)}.admin-stat-card>span{width:46px;height:46px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(135deg,rgba(124,58,237,.28),rgba(6,182,212,.14));color:#a5f3fc;flex:0 0 auto}.admin-stat-card .premium-icon{width:23px;height:23px}.admin-stat-card b{display:block;font-size:clamp(22px,2.4vw,32px);letter-spacing:-.055em}.admin-stat-card small{display:block;margin-top:3px;color:var(--muted);font-size:12px;font-weight:900}.admin-stat-card.warn>span{background:rgba(251,191,36,.12);color:#fde68a}.admin-stat-card.urgent{border-color:rgba(251,113,133,.18);background:linear-gradient(180deg,rgba(251,113,133,.12),rgba(15,23,42,.52))}.admin-stat-card.urgent>span{background:rgba(251,113,133,.12);color:#fecdd3}
.admin-content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.admin-content-grid .span-2{grid-column:span 2}.admin-card-pro{position:relative;overflow:auto;border-color:rgba(148,163,184,.14);background:linear-gradient(180deg,rgba(15,23,42,.8),rgba(15,23,42,.55));box-shadow:var(--shadow-sm)}.admin-card-pro h2{letter-spacing:-.035em}.admin-table-pro th{font-size:11px;letter-spacing:.11em}.admin-table-pro td{font-size:14px}.admin-table-pro td>b{font-weight:950}.admin-table-pro tbody tr{transition:.15s ease}.admin-table-pro tbody tr:hover{background:rgba(124,58,237,.055)}.admin-mini-list{display:grid;gap:10px}.mini-rank-row,.mini-stock-row{display:flex;align-items:center;gap:11px;padding:11px;border-radius:18px;background:rgba(255,255,255,.045);border:1px solid rgba(148,163,184,.1);color:var(--text-soft)}.mini-rank-row:hover,.mini-stock-row:hover{border-color:rgba(165,243,252,.2);background:rgba(255,255,255,.07);color:#fff}.mini-rank-row img{width:42px;height:42px;border-radius:14px;background:#fff;object-fit:contain;padding:7px}.mini-rank-row span,.mini-stock-row span{min-width:0;flex:1}.mini-rank-row b,.mini-stock-row b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-rank-row small,.mini-stock-row small{display:block;margin-top:3px;color:var(--muted);font-size:12px}.mini-rank-row strong{font-size:13px;color:#a5f3fc;white-space:nowrap}.mini-stock-row strong{min-width:38px;height:34px;border-radius:13px;display:grid;place-items:center;background:rgba(255,255,255,.06);color:#a5f3fc}.mini-stock-row strong.warn{background:rgba(251,191,36,.12);color:#fde68a}.mini-stock-row strong.danger{background:rgba(251,113,133,.13);color:#fecdd3}.admin-summary-list{display:grid;gap:10px}.admin-summary-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.admin-summary-list>div:last-child{border-bottom:0}.admin-summary-list span{color:var(--muted);font-weight:800}.admin-summary-list b{font-size:16px;color:#e0faff;text-align:right}.code-chip-list{display:flex;flex-wrap:wrap;gap:8px}.code-chip-list code{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid var(--line);color:#c4b5fd}
.admin-status-tabs{display:flex;gap:10px;overflow:auto;padding:2px 2px 12px;margin:-4px 0 6px}.admin-status-tabs a{min-width:128px;min-height:54px;padding:10px 12px;border-radius:18px;background:rgba(255,255,255,.045);border:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--text-soft);font-weight:950}.admin-status-tabs a.active{color:#fff;background:linear-gradient(135deg,rgba(124,58,237,.25),rgba(6,182,212,.12));border-color:rgba(165,243,252,.24)}.admin-status-tabs b{min-width:28px;height:28px;display:grid;place-items:center;border-radius:999px;background:rgba(255,255,255,.08);font-size:12px}.admin-filter-card{overflow:visible}.admin-filter-form{display:grid;grid-template-columns:minmax(220px,1fr) 180px 180px auto auto;gap:12px;align-items:end}.admin-filter-form.vertical{grid-template-columns:1fr}.admin-filter-form .btn{min-height:46px}.order-item-summary{max-width:280px;line-height:1.45}.admin-status-form{align-items:center}.admin-status-form select{min-width:126px}.status.warning{color:#fde68a;background:rgba(251,191,36,.1);border-color:rgba(251,191,36,.2)}.status.no_record{color:#cbd5e1;background:rgba(148,163,184,.1);border-color:rgba(148,163,184,.17)}
.products-layout-grid{grid-template-columns:minmax(0,1.8fr) minmax(300px,.75fr)}.vouchers-layout-grid,.import-layout-grid{grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr)}.product-form-card,.voucher-form-card{overflow:visible}.product-filter-card,.voucher-help-card{position:sticky;top:88px}.admin-form-grid{gap:13px}.admin-form-grid textarea{min-height:110px}.admin-form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.stock-pill{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:31px;padding:0 10px;border-radius:999px;background:rgba(52,211,153,.11);border:1px solid rgba(52,211,153,.18);color:#bbf7d0;font-weight:950}.stock-pill.warn{background:rgba(251,191,36,.11);border-color:rgba(251,191,36,.2);color:#fde68a}.stock-pill.danger{background:rgba(251,113,133,.11);border-color:rgba(251,113,133,.2);color:#fecdd3}.danger-btn{color:#fecdd3!important;border-color:rgba(251,113,133,.18)!important;background:rgba(251,113,133,.08)!important}.row-actions{gap:8px}.row-actions .btn{display:inline-flex;align-items:center;gap:6px}.product-table-pro .mini-product{min-width:260px}.product-table-pro .row-actions{min-width:260px}
.settings-pro-form{display:grid;gap:16px}.settings-section-card{overflow:visible;scroll-margin-top:92px}.settings-two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-inner-card{padding:16px;border-radius:22px;border:1px solid rgba(148,163,184,.13);background:rgba(255,255,255,.035);display:grid;gap:12px}.settings-mini-head{display:flex;align-items:center;gap:11px}.settings-mini-head>span{width:42px;height:42px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(135deg,rgba(124,58,237,.24),rgba(6,182,212,.1));color:#a5f3fc}.settings-mini-head b{display:block}.settings-mini-head small{display:block;margin-top:2px;color:var(--muted);font-size:12px}.warning-row{border-color:rgba(251,191,36,.18);background:rgba(251,191,36,.06)}.settings-note-grid{margin-top:14px}.settings-mini-grid.one-col{grid-template-columns:1fr}.admin-health-row .health-card{min-height:96px}.settings-details{margin-top:12px}.settings-details .form-grid{margin-top:12px}.whatsapp-log-card{margin-top:16px}
@media(max-width:1180px){.admin-content-grid{grid-template-columns:1fr 1fr}.admin-content-grid .span-2{grid-column:span 2}.admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-filter-form{grid-template-columns:1fr 1fr}.admin-filter-form .btn{width:100%}.products-layout-grid,.vouchers-layout-grid,.import-layout-grid{grid-template-columns:1fr}.product-filter-card,.voucher-help-card{position:static}.settings-two-cols,.admin-health-row{grid-template-columns:1fr}}
@media(max-width:900px){.admin-shell-pro{display:block}.admin-sidebar-pro{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:14px}.admin-sidebar-footer{position:static;margin-top:12px;grid-template-columns:1fr 1fr}.admin-nav-pro{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-main-pro{padding:15px}.admin-topbar-pro{margin:-15px -15px 15px;padding:12px 15px}.admin-page-head,.admin-hero-panel{display:grid;padding:17px;border-radius:24px}.admin-health-grid{grid-template-columns:1fr}.admin-content-grid,.admin-content-grid .span-2{grid-template-columns:1fr;grid-column:auto}.admin-profile-chip div{display:none}.admin-stat-card{min-height:92px}.admin-stat-card b{font-size:22px}}
@media(max-width:760px){.admin-nav-pro{grid-template-columns:1fr 1fr}.admin-topbar-pro{align-items:flex-start}.admin-topbar-pro .section-label{display:none}.admin-top-actions{gap:7px}.admin-page-head h1,.admin-hero-panel h1{font-size:30px}.admin-quick-actions{display:grid;grid-template-columns:1fr;align-items:stretch}.admin-quick-actions .btn{width:100%;justify-content:center}.admin-stat-grid{grid-template-columns:1fr}.admin-status-tabs a{min-width:112px}.admin-filter-form{grid-template-columns:1fr}.settings-two-cols{gap:12px}.settings-inner-card{padding:13px;border-radius:18px}.admin-table-pro{min-width:840px}.product-table-pro{min-width:980px}.row-actions{display:flex!important;flex-wrap:nowrap}.admin-sidebar-footer{grid-template-columns:1fr}.admin-health-row{gap:10px}.health-card{min-height:auto}.admin-profile-chip{display:none}}

/* Auto Order Foundation v6 */
.admin-stat-grid.compact{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.admin-stat-card.auto>span{background:rgba(6,182,212,.13);color:#a5f3fc}.delivery-check-row{align-self:end}.delivery-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;border:1px solid rgba(148,163,184,.15);background:rgba(148,163,184,.1);font-size:12px;font-weight:950;white-space:nowrap}.delivery-badge.manual{color:#cbd5e1;background:rgba(148,163,184,.09);border-color:rgba(148,163,184,.17)}.delivery-badge.auto_stock{color:#a5f3fc;background:rgba(6,182,212,.1);border-color:rgba(6,182,212,.2)}.delivery-badge.auto_instruction{color:#c4b5fd;background:rgba(124,58,237,.12);border-color:rgba(124,58,237,.22)}.delivery-chip.manual{background:rgba(148,163,184,.1)}.delivery-chip.auto_stock{background:rgba(6,182,212,.12);border-color:rgba(6,182,212,.24);color:#a5f3fc}.delivery-chip.auto_instruction{background:rgba(124,58,237,.14);border-color:rgba(124,58,237,.25);color:#ddd6fe}.delivery-info-box{display:grid;gap:4px;margin:12px 0 14px;padding:13px 14px;border-radius:18px;border:1px solid rgba(165,243,252,.16);background:linear-gradient(135deg,rgba(124,58,237,.13),rgba(6,182,212,.07))}.delivery-info-box b{font-size:14px}.delivery-info-box span{font-size:13px;color:var(--muted);line-height:1.45}.delivery-summary-note{color:#a5f3fc!important}.product-table-pro td small{display:block;margin-top:4px;color:var(--muted);line-height:1.35}

/* Admin Stok Digital v2 */
.stock-layout-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.stock-layout-grid.secondary{grid-template-columns:minmax(280px,.7fr) minmax(0,1.3fr)}
.stock-form-card,.stock-import-card,.stock-edit-card{overflow:visible}
.stock-help-box{display:grid;gap:6px;margin-top:14px;padding:13px 14px;border-radius:18px;border:1px solid rgba(165,243,252,.16);background:linear-gradient(135deg,rgba(6,182,212,.11),rgba(124,58,237,.07));color:var(--text-soft);font-size:13px;line-height:1.5}
.stock-help-box b{color:#e0faff}.stock-help-box code{padding:2px 7px;border-radius:8px;background:rgba(255,255,255,.08);border:1px solid var(--line);color:#c4b5fd}
.stock-secret-box{max-width:420px;max-height:96px;overflow:auto;margin:0;padding:11px 12px;border-radius:15px;border:1px solid rgba(148,163,184,.16);background:rgba(2,6,23,.46);color:#dbeafe;font-size:12px;line-height:1.5;white-space:pre-wrap;word-break:break-word}
.stock-table-pro{min-width:1120px}.stock-row-actions{min-width:270px}.status.available{color:#bbf7d0;background:rgba(52,211,153,.1);border-color:rgba(52,211,153,.2)}.status.reserved{color:#fde68a;background:rgba(251,191,36,.1);border-color:rgba(251,191,36,.22)}.status.sold{color:#a5f3fc;background:rgba(6,182,212,.1);border-color:rgba(6,182,212,.2)}.status.disabled{color:#fecdd3;background:rgba(251,113,133,.1);border-color:rgba(251,113,133,.2)}
@media(max-width:1180px){.stock-layout-grid,.stock-layout-grid.secondary{grid-template-columns:1fr}.stock-table-pro{min-width:980px}}


/* Auto delivery v3 */
.status.delivered{background:rgba(34,197,94,.14);color:#bbf7d0;border-color:rgba(34,197,94,.28)}
.status.failed{background:rgba(245,158,11,.14);color:#fde68a;border-color:rgba(245,158,11,.3)}
.delivery-result-box{margin-top:16px;padding:16px;border-radius:22px;border:1px solid rgba(34,211,238,.16);background:linear-gradient(135deg,rgba(14,165,233,.08),rgba(124,58,237,.08))}
.delivery-result-box.locked{background:rgba(148,163,184,.06)}
.delivery-result-list{display:grid;gap:12px;margin-top:12px}
.delivery-result-item{border:1px solid rgba(148,163,184,.15);border-radius:18px;padding:14px;background:rgba(2,6,23,.42)}
.delivery-result-item.delivered{border-color:rgba(34,197,94,.22);background:rgba(22,163,74,.08)}
.delivery-result-item.failed{border-color:rgba(245,158,11,.24);background:rgba(245,158,11,.08)}
.delivery-result-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.delivery-secret-content{white-space:pre-wrap;word-break:break-word;margin:0;padding:13px 14px;border-radius:16px;background:rgba(15,23,42,.76);border:1px dashed rgba(125,211,252,.22);color:#e5f3ff;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;line-height:1.55}
.auto-retry-form{margin-top:7px}.auto-retry-form .btn{width:100%;justify-content:center}.admin-table-pro td small .status{margin-left:4px}

/* Voucher Pro */
.toggle-line{display:flex!important;align-items:center;gap:10px;min-height:46px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.035);font-weight:850;color:var(--text-soft)}
.toggle-line input{width:auto!important;min-height:auto!important}
.voucher-card.disabled{opacity:.72;filter:saturate(.7)}
.voucher-card .alert{margin-top:12px;padding:10px 12px;border-radius:14px}

/* Voucher Checkout UX v10 */
.checkout-voucher-zone{margin:16px 0;padding:14px;border:1px solid rgba(148,163,184,.14);border-radius:22px;background:radial-gradient(circle at 0% 0%,rgba(124,58,237,.13),transparent 34%),rgba(255,255,255,.032);display:grid;gap:12px}
.voucher-zone-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.voucher-zone-head h3{margin:2px 0 0;font-size:18px;letter-spacing:-.035em}.mini-link{min-height:30px;padding:0 10px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.045);color:#c4b5fd;font-size:12px;font-weight:950;display:inline-flex;align-items:center}.voucher-recommend-list{display:grid;gap:10px}.voucher-recommend-card,.applied-voucher-card,.voucher-hint-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;padding:12px;border-radius:18px;border:1px solid rgba(165,243,252,.18);background:linear-gradient(135deg,rgba(6,182,212,.09),rgba(124,58,237,.08));box-shadow:0 14px 36px rgba(0,0,0,.12)}.voucher-hint-card{grid-template-columns:42px minmax(0,1fr);border-color:rgba(251,191,36,.2);background:rgba(251,191,36,.07)}.voucher-icon-wrap{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(124,58,237,.35),rgba(6,182,212,.14));color:#a5f3fc;flex:0 0 auto}.voucher-icon-wrap.warning{background:rgba(251,191,36,.12);color:#fde68a}.voucher-icon-wrap .premium-icon{width:21px;height:21px}.voucher-recommend-card b,.applied-voucher-card b,.voucher-hint-card b{display:block;color:#fff;font-size:14px;line-height:1.25}.voucher-recommend-card small,.applied-voucher-card span,.voucher-hint-card span{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.4}.voucher-recommend-card strong{display:block;margin-top:6px;color:#a5f3fc;font-size:12px}.voucher-badge-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:5px}.voucher-badge-line span{min-height:24px;display:inline-flex;align-items:center;padding:0 8px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(148,163,184,.13);color:#dbeafe;font-size:11px;font-weight:950}.applied-voucher-card small{display:block;color:#bbf7d0;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.07em}.modern-voucher-form{grid-template-columns:minmax(0,1fr) auto auto}.modern-voucher-form button[title]{min-width:42px;padding:0 12px;font-size:18px}.voucher-grid-pro{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.voucher-card-pro{position:relative;overflow:hidden;display:grid;gap:12px;min-height:280px}.voucher-card-glow{position:absolute;inset:-40% auto auto -30%;width:180px;height:180px;border-radius:999px;background:radial-gradient(circle,rgba(124,58,237,.32),transparent 66%);pointer-events:none}.voucher-card-top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px}.voucher-card-pro h2{position:relative;margin:0;font-size:28px;letter-spacing:.02em}.voucher-card-pro p{position:relative;margin:0;color:#a5f3fc;font-size:20px;font-weight:950;letter-spacing:-.04em}.voucher-card-pro small{position:relative;color:var(--muted);line-height:1.5}.voucher-card-actions{position:relative;margin-top:auto}.voucher-card-actions .btn{flex:1;justify-content:center}.voucher-hero-head .flow-total-badge b{font-size:28px}
@media(max-width:760px){.voucher-zone-head{align-items:center}.voucher-recommend-card,.applied-voucher-card{grid-template-columns:38px minmax(0,1fr);align-items:start}.voucher-recommend-card .btn,.applied-voucher-card form{grid-column:1/-1;width:100%}.voucher-recommend-card .btn,.applied-voucher-card .btn{width:100%;justify-content:center}.voucher-icon-wrap{width:38px;height:38px;border-radius:14px}.modern-voucher-form{grid-template-columns:1fr auto}.modern-voucher-form button[title]{grid-column:auto}.voucher-grid-pro{grid-template-columns:1fr}.voucher-card-pro{min-height:auto}}

/* Profile Mobile UX v11 */
.profile-otp-banner{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px;border-radius:24px;border:1px solid rgba(251,191,36,.22);background:linear-gradient(135deg,rgba(251,191,36,.13),rgba(124,58,237,.07));box-shadow:0 16px 42px rgba(0,0,0,.16)}
.profile-otp-banner>span{width:46px;height:46px;border-radius:17px;display:grid;place-items:center;background:rgba(251,191,36,.12);color:#fde68a}
.profile-otp-banner .premium-icon{width:23px;height:23px}.profile-otp-banner b{display:block;color:#fff}.profile-otp-banner small{display:block;margin-top:3px;color:var(--muted);line-height:1.45}.profile-otp-banner form{margin:0}.profile-otp-banner .btn{white-space:nowrap}
.profile-mobile-shortcuts{display:none}
.profile-accordion{padding:0!important;overflow:hidden}.profile-panel-summary{list-style:none;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px 18px;cursor:pointer;user-select:none}.profile-panel-summary::-webkit-details-marker{display:none}.profile-panel-summary>span{width:46px;height:46px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(124,58,237,.24),rgba(6,182,212,.12));border:1px solid rgba(165,243,252,.14);color:#a5f3fc}.profile-panel-summary .premium-icon{width:22px;height:22px}.profile-panel-summary h2{margin:2px 0 2px;font-size:21px;letter-spacing:-.035em}.profile-panel-summary small{display:block;color:var(--muted);font-size:12px;line-height:1.35}.profile-panel-summary em{font-style:normal;min-height:30px;display:inline-flex;align-items:center;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid var(--line);color:#c4b5fd;font-size:12px;font-weight:950}.profile-accordion[open] .profile-panel-summary{border-bottom:1px solid var(--line);background:rgba(255,255,255,.025)}.profile-accordion[open] .profile-panel-summary em{color:#bbf7d0}.profile-accordion[open] .profile-panel-summary em::before{content:'Buka';font-size:0}.profile-accordion[open] .profile-panel-summary em{font-size:0}.profile-accordion[open] .profile-panel-summary em::after{content:'Tutup';font-size:12px}.profile-accordion-body{padding:16px 18px 18px}
@media(max-width:760px){
  .profile-otp-banner{grid-template-columns:40px minmax(0,1fr);gap:10px;padding:12px;border-radius:20px}.profile-otp-banner>span{width:40px;height:40px;border-radius:15px}.profile-otp-banner form{grid-column:1/-1}.profile-otp-banner .btn{width:100%;justify-content:center;min-height:43px}.profile-otp-banner small{font-size:12px}
  .profile-mobile-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;position:sticky;top:8px;z-index:35;padding:9px;border-radius:22px;border:1px solid rgba(148,163,184,.14);background:rgba(15,23,42,.72);backdrop-filter:blur(18px);box-shadow:0 14px 38px rgba(0,0,0,.2)}
  .profile-mobile-shortcuts a{position:relative;display:grid;place-items:center;gap:5px;min-height:62px;padding:8px 4px;border-radius:16px;background:rgba(255,255,255,.045);border:1px solid rgba(148,163,184,.11);color:var(--text-soft);font-size:11px;font-weight:950;text-align:center}.profile-mobile-shortcuts span{width:26px;height:26px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.065);color:#a5f3fc}.profile-mobile-shortcuts .premium-icon{width:15px;height:15px}.profile-mobile-shortcuts em{position:absolute;right:7px;top:6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#fb7185;color:#fff;border:2px solid #111827;font-style:normal;font-size:10px;display:grid;place-items:center}
  .profile-panel-summary{grid-template-columns:40px minmax(0,1fr) auto;padding:13px;gap:10px}.profile-panel-summary>span{width:40px;height:40px;border-radius:15px}.profile-panel-summary h2{font-size:17px}.profile-panel-summary small{font-size:11.5px}.profile-panel-summary em{min-height:28px;padding:0 9px;font-size:11px}.profile-accordion-body{padding:13px}
  .profile-panel#profile-menu .profile-panel-head{display:none}.profile-panel#profile-menu{padding:12px}.profile-menu-grid{grid-template-columns:1fr 1fr}.profile-menu-item{display:flex;flex-direction:column;align-items:flex-start;min-height:116px}.profile-menu-item>span{width:38px;height:38px}.profile-menu-item small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}
@media(max-width:420px){.profile-mobile-shortcuts{grid-template-columns:repeat(4,82px);overflow-x:auto;scrollbar-width:none}.profile-mobile-shortcuts::-webkit-scrollbar{display:none}.profile-menu-grid{grid-template-columns:1fr}}

/* v12 Riwayat Pembelian Mobile UX */
.orders-headline.is-detail {
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.history-toolbar {
    display: grid;
    gap: 14px;
    margin: 18px 0;
}
.history-search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 18px 45px rgba(15,23,42,.06);
}
.history-search-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 14px;
    padding: 0 12px;
    min-height: 44px;
}
.history-search-box input {
    border: 0;
    background: transparent;
    outline: none;
    width: 100%;
    min-height: 42px;
    color: #0f172a;
}
.history-status-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.history-status-tabs::-webkit-scrollbar { display: none; }
.history-status-tabs a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #475569;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 999px;
    padding: 9px 12px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
}
.history-status-tabs a b {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: .78rem;
}
.history-status-tabs a.active {
    color: #fff;
    background: linear-gradient(135deg, #111827, #334155);
    border-color: transparent;
}
.history-status-tabs a.active b {
    background: rgba(255,255,255,.22);
    color: #fff;
}
.order-history-list {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
}
.history-order-card {
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15,23,42,.08);
    overflow: hidden;
    position: relative;
}
.history-order-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: #94a3b8;
}
.history-order-card.pending::before { background: #f59e0b; }
.history-order-card.paid::before,
.history-order-card.processing::before { background: #3b82f6; }
.history-order-card.completed::before { background: #22c55e; }
.history-order-card.cancelled::before { background: #ef4444; }
.history-order-main {
    display: grid;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    padding: 16px 16px 0 20px;
}
.history-order-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.history-order-top > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.history-order-top b {
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.35;
}
.history-invoice {
    color: #64748b;
    font-weight: 900;
    letter-spacing: .03em;
    font-size: .78rem;
}
.history-order-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: #64748b;
    font-size: .83rem;
}
.history-order-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: 999px;
    padding: 6px 9px;
}
.history-order-meta .premium-icon {
    width: 15px;
    height: 15px;
}
.history-order-money {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
}
.history-order-money span {
    color: #64748b;
    font-size: .86rem;
    font-weight: 800;
}
.history-order-money b {
    color: #0f172a;
    font-size: 1.08rem;
}
.history-order-foot {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 14px;
}
.history-order-foot .soft-badge {
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.07);
    color: #475569;
}
.history-order-foot .auto-chip {
    background: #ecfdf5;
    color: #047857;
    border-color: rgba(4,120,87,.14);
}
.history-order-foot .voucher-chip {
    background: #fff7ed;
    color: #c2410c;
    border-color: rgba(194,65,12,.13);
}
.history-order-actions {
    display: flex;
    gap: 10px;
    padding: 0 16px 16px 20px;
}
.history-order-actions .btn {
    flex: 1;
    justify-content: center;
}
.history-empty {
    display: grid;
    gap: 6px;
    text-align: center;
    padding: 28px 18px;
}
.guest-lookup-modern {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 22px;
}
.guest-lookup-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #111827, #334155);
    margin-bottom: 8px;
    box-shadow: 0 16px 35px rgba(15,23,42,.22);
}
.guest-lookup-icon .premium-icon { width: 24px; height: 24px; }
.order-detail-list {
    display: grid;
    gap: 18px;
}
.order-detail-card {
    display: grid;
    gap: 16px;
}
.detail-order-head {
    align-items: flex-start;
    gap: 12px;
}
.detail-order-head > div {
    display: grid;
    gap: 5px;
}
.detail-order-head small {
    color: #64748b;
    font-weight: 700;
}
.detail-status-timeline {
    margin-top: 0;
}
.order-detail-section {
    border: 1px solid rgba(15,23,42,.08);
    background: rgba(248,250,252,.72);
    border-radius: 20px;
    padding: 14px;
}
.section-mini-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.section-mini-title span {
    color: #64748b;
    font-weight: 800;
    font-size: .84rem;
}
.delivery-secret-shell {
    display: grid;
    gap: 12px;
    border: 1px dashed rgba(15,23,42,.16);
    background: #f8fafc;
    border-radius: 18px;
    padding: 12px;
}
.delivery-secret-placeholder {
    display: grid;
    gap: 4px;
    color: #475569;
}
.delivery-secret-placeholder b {
    color: #0f172a;
}
.delivery-secret-shell.is-visible {
    border-style: solid;
    background: #fff;
}
.delivery-secret-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.delivery-secret-actions .btn {
    flex: 1;
    justify-content: center;
}
.delivery-secret-content[hidden] {
    display: none;
}
.delivery-secret-content {
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 380px;
    overflow: auto;
    margin: 0;
}
.detail-bottom-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.detail-bottom-actions .btn {
    flex: 1;
    justify-content: center;
}
.status.waiting_confirmation {
    background: #fff7ed;
    color: #c2410c;
}
.status.success,
.status.already {
    background: #ecfdf5;
    color: #047857;
}
.status.expired,
.status.failed {
    background: #fef2f2;
    color: #b91c1c;
}

@media (max-width: 720px) {
    .orders-headline.is-detail {
        align-items: stretch;
    }
    .history-search-form {
        display: grid;
        padding: 9px;
    }
    .history-search-form .btn {
        width: 100%;
        justify-content: center;
    }
    .history-status-tabs {
        margin-left: -4px;
        margin-right: -4px;
        padding-left: 4px;
        padding-right: 4px;
    }
    .history-order-top {
        display: grid;
    }
    .history-order-top .status {
        justify-self: start;
    }
    .history-order-actions {
        display: grid;
    }
    .history-order-meta span {
        max-width: 100%;
    }
    .detail-order-head {
        display: grid;
    }
    .detail-order-head .status {
        justify-self: start;
    }
    .order-detail-section {
        padding: 12px;
        border-radius: 18px;
    }
    .delivery-secret-actions,
    .detail-bottom-actions {
        display: grid;
    }
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* Referral Pro v13 */
.referral-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.referral-mini-stats>div{border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.04);border-radius:16px;padding:12px;text-align:center}.referral-mini-stats b{display:block;font-size:1.25rem}.referral-mini-stats small{color:var(--muted,#9ca3af);font-size:.78rem}.referral-mini-list{margin-top:10px}.admin-filter-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.admin-filter-bar input,.admin-filter-bar select{min-height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:inherit;padding:0 12px}.admin-summary-list small{display:block;color:var(--muted,#94a3b8);font-weight:500;margin-top:2px}@media(max-width:720px){.admin-filter-bar{width:100%}.admin-filter-bar input,.admin-filter-bar select,.admin-filter-bar .btn{width:100%}.referral-mini-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.referral-mini-stats>div{padding:10px 6px}}

/* Global site notifications / pengumuman admin */
.site-notifications{display:grid;gap:12px;margin:0 0 18px}
.site-ticker{display:flex;align-items:center;gap:12px;overflow:hidden;border:1px solid rgba(124,92,255,.28);background:linear-gradient(135deg,rgba(124,92,255,.16),rgba(28,38,70,.58));border-radius:18px;padding:10px 12px;box-shadow:0 14px 34px rgba(0,0,0,.14)}
.site-ticker-label{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;font-weight:800;font-size:.82rem;color:#f1efff;background:rgba(124,92,255,.22);border:1px solid rgba(124,92,255,.26);padding:7px 10px;border-radius:999px}
.site-ticker-label svg{width:16px;height:16px}
.site-ticker-track{min-width:0;overflow:hidden;white-space:nowrap;flex:1;color:#dbe6ff}
.site-ticker-track>div{display:inline-flex;gap:38px;min-width:100%;animation:siteTicker 22s linear infinite}
.site-ticker-track span{display:inline-flex;gap:6px;align-items:center}
.site-ticker-track b{color:#fff}
@keyframes siteTicker{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.site-notice-banner{display:flex;gap:14px;align-items:flex-start;border:1px solid rgba(255,255,255,.1);background:linear-gradient(135deg,rgba(13,20,40,.92),rgba(20,31,60,.8));border-radius:22px;padding:16px 17px;box-shadow:0 18px 42px rgba(0,0,0,.18);position:relative;overflow:hidden}
.site-notice-banner:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,#7c5cff,#22d3ee)}
.site-notice-banner.success:before{background:linear-gradient(180deg,#22c55e,#6ee7b7)}
.site-notice-banner.warning:before{background:linear-gradient(180deg,#f59e0b,#fde68a)}
.site-notice-banner.danger:before{background:linear-gradient(180deg,#ef4444,#fb7185)}
.site-notice-banner.promo:before{background:linear-gradient(180deg,#ec4899,#facc15)}
.site-notice-icon,.site-popup-icon{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border-radius:16px;color:#fff;background:linear-gradient(135deg,rgba(124,92,255,.95),rgba(34,211,238,.72));box-shadow:0 16px 34px rgba(124,92,255,.22)}
.site-notice-icon svg,.site-popup-icon svg{width:22px;height:22px}
.site-notice-banner b{display:block;color:#fff;font-size:1rem;margin-bottom:3px}
.site-notice-banner p,.site-notice-card p,.site-notice-popup-card p{margin:0;color:#c9d5ef;line-height:1.55}
.site-notice-banner a,.site-notice-card a{display:inline-flex;margin-top:9px;color:#b9a8ff;font-weight:800;text-decoration:none}
.site-notice-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.site-notice-card{display:flex;gap:12px;border:1px solid rgba(255,255,255,.1);background:rgba(10,16,32,.76);border-radius:20px;padding:15px}
.site-notice-card>span{display:grid;place-items:center;width:38px;height:38px;border-radius:14px;background:rgba(124,92,255,.15);color:#c8bfff;flex:0 0 auto}
.site-notice-card>span svg{width:20px;height:20px}
.site-notice-card b{display:block;color:#fff;margin-bottom:3px}
.site-notice-popup{position:fixed;inset:0;z-index:9998;display:grid;place-items:center;padding:18px;opacity:0;pointer-events:none;transition:opacity .18s ease}
.site-notice-popup.is-visible{opacity:1;pointer-events:auto}
.site-notice-popup[hidden]{display:none!important}
.site-notice-popup-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(8px)}
.site-notice-popup-card{position:relative;width:min(94vw,460px);border:1px solid rgba(255,255,255,.14);background:linear-gradient(145deg,rgba(11,16,32,.98),rgba(23,32,62,.96));border-radius:28px;padding:28px;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.45);transform:translateY(10px) scale(.98);transition:transform .18s ease}
.site-notice-popup.is-visible .site-notice-popup-card{transform:translateY(0) scale(1)}
.site-popup-close{position:absolute;top:12px;right:12px;width:36px;height:36px;border:0;border-radius:14px;background:rgba(255,255,255,.08);color:#fff;font-size:24px;line-height:1;cursor:pointer}
.site-popup-icon{margin:0 auto 14px;width:54px;height:54px;border-radius:20px}
.site-notice-popup-card h2{margin:0 0 8px;color:#fff;font-size:1.35rem}
.site-notice-popup-card .btn{margin-top:18px;justify-content:center}
.public-notification-section{margin-top:18px}
.site-global-notification.info .notification-icon{background:rgba(124,92,255,.15);color:#c8bfff}
.site-global-notification.success .notification-icon{background:rgba(34,197,94,.15);color:#86efac}
.site-global-notification.warning .notification-icon{background:rgba(245,158,11,.16);color:#fcd34d}
.site-global-notification.danger .notification-icon{background:rgba(239,68,68,.16);color:#fca5a5}
.site-global-notification.promo .notification-icon{background:rgba(236,72,153,.16);color:#f9a8d4}
.notification-action-row{margin-top:10px}
.site-notif-admin-grid{grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr)}
.site-notif-help-card .admin-tips-list{display:grid;gap:12px;margin-top:10px}
.site-notif-help-card .admin-tips-list>div{display:flex;gap:12px;align-items:flex-start;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);border-radius:18px;padding:13px}
.site-notif-help-card .admin-tips-list span{display:grid;place-items:center;width:36px;height:36px;border-radius:14px;background:rgba(124,92,255,.14);color:#c8bfff;flex:0 0 auto}
.site-notif-help-card .admin-tips-list svg{width:19px;height:19px}
.site-notif-help-card .admin-tips-list b{display:block;color:#fff;margin-bottom:2px}
.site-notif-help-card .admin-tips-list small{display:block;color:#98a7c7;line-height:1.45}
.guest-notice-box .form-actions{margin-top:14px}
@media (max-width:860px){.site-notif-admin-grid{grid-template-columns:1fr}.site-ticker{border-radius:16px;padding:9px}.site-ticker-label{font-size:.76rem;padding:6px 8px}.site-notice-banner{border-radius:18px;padding:14px}.site-notice-popup-card{padding:24px 18px;border-radius:24px}.site-notice-card-grid{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.site-ticker-track>div{animation:none}.site-notice-popup,.site-notice-popup-card{transition:none}}


/* Admin mobile sidebar polish v15 */
.admin-sidebar-backdrop,
.admin-menu-toggle,
.admin-sidebar-close{display:none}

.admin-sidebar-head{display:block}

@media(max-width:900px){
  html.admin-menu-open,
  body.admin-menu-open{overflow:hidden}

  body.admin-body{overflow-x:hidden}
  .admin-shell.admin-shell-pro{
    display:block!important;
    min-height:100vh;
    grid-template-columns:1fr!important;
    background:radial-gradient(circle at 50% -10%,rgba(124,58,237,.22),transparent 26rem),#050812;
  }

  .admin-sidebar-backdrop{
    display:block;
    position:fixed;
    inset:0;
    z-index:190;
    background:rgba(2,6,23,.62);
    backdrop-filter:blur(8px);
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease;
  }
  body.admin-menu-open .admin-sidebar-backdrop{
    opacity:1;
    pointer-events:auto;
  }

  .admin-sidebar-pro{
    position:fixed!important;
    top:0;
    left:0;
    bottom:0;
    z-index:200;
    width:min(86vw,326px);
    height:100dvh!important;
    max-height:100dvh;
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:16px 14px 22px!important;
    border-right:1px solid rgba(148,163,184,.18)!important;
    border-bottom:0!important;
    border-radius:0 28px 28px 0;
    background:linear-gradient(180deg,rgba(8,13,30,.98),rgba(5,8,18,.96))!important;
    box-shadow:30px 0 90px rgba(0,0,0,.46);
    transform:translateX(-106%);
    transition:transform .22s ease;
  }
  body.admin-menu-open .admin-sidebar-pro{
    transform:translateX(0);
  }

  .admin-sidebar-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    position:sticky;
    top:-16px;
    z-index:2;
    margin:-16px -14px 12px;
    padding:14px;
    background:linear-gradient(180deg,rgba(8,13,30,.98),rgba(8,13,30,.86));
    border-bottom:1px solid rgba(148,163,184,.12);
    backdrop-filter:blur(14px);
  }
  .admin-brand-pro{padding:0!important;min-width:0}
  .admin-brand-pro .brand-logo{width:42px;height:42px;border-radius:15px}
  .admin-brand-pro b,
  .admin-brand-pro small{max-width:170px}

  .admin-sidebar-close{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:15px;
    background:rgba(255,255,255,.055);
    color:#fff;
    font-size:28px;
    line-height:1;
    cursor:pointer;
  }

  .admin-side-status{
    margin:10px 0 10px!important;
    padding:10px 11px!important;
    border-radius:16px!important;
  }
  .admin-nav-pro{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin-top:12px!important;
    padding-bottom:10px;
  }
  .admin-nav-pro a{
    min-height:47px!important;
    border-radius:16px!important;
    padding:0 12px!important;
  }
  .admin-nav-pro a.active:before{
    left:-10px!important;
  }
  .admin-sidebar-footer{
    position:static!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    margin-top:16px;
    padding-top:12px;
    border-top:1px solid rgba(148,163,184,.12);
  }

  .admin-main.admin-main-pro{
    width:100%;
    max-width:100%;
    min-width:0;
    padding:14px 12px 28px!important;
    overflow:visible!important;
  }

  .admin-topbar-pro{
    position:sticky!important;
    top:0;
    z-index:120!important;
    margin:-14px -12px 14px!important;
    padding:11px 12px!important;
    min-height:64px;
    gap:9px!important;
    background:linear-gradient(180deg,rgba(5,8,18,.96),rgba(5,8,18,.82))!important;
    border-bottom:1px solid rgba(148,163,184,.13);
  }
  .admin-menu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:42px;
    padding:0 12px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:15px;
    background:linear-gradient(135deg,rgba(124,58,237,.22),rgba(6,182,212,.12));
    color:#fff;
    font-weight:950;
    cursor:pointer;
    flex:0 0 auto;
  }
  .admin-menu-toggle .premium-icon{
    width:19px;
    height:19px;
  }
  .admin-top-title{
    min-width:0;
    flex:1;
  }
  .admin-top-title .section-label{
    margin-bottom:2px;
    font-size:10px;
  }
  .admin-top-title strong{
    max-width:100%;
    font-size:15px!important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .admin-top-actions{
    gap:7px!important;
    flex:0 0 auto;
  }
  .admin-top-actions .icon-btn{
    width:40px!important;
    height:40px!important;
    border-radius:14px!important;
  }
  .admin-profile-chip{
    padding:4px!important;
    min-height:40px!important;
    border-radius:15px!important;
  }
  .admin-profile-chip>span{
    width:32px!important;
    height:32px!important;
    border-radius:12px!important;
  }
  .admin-profile-chip div{
    display:none;
  }

  .admin-page-head,
  .admin-hero-panel{
    display:grid!important;
    align-items:start!important;
    gap:14px!important;
    margin:8px 0 14px!important;
    padding:16px!important;
    border-radius:24px!important;
  }
  .admin-page-head h1,
  .admin-hero-panel h1{
    font-size:clamp(25px,8vw,34px)!important;
    line-height:1.04!important;
  }
  .admin-quick-actions,
  .form-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%;
    gap:9px!important;
  }
  .admin-quick-actions .btn,
  .form-actions .btn{
    width:100%;
    justify-content:center;
  }

  .admin-stat-grid,
  .admin-health-grid,
  .admin-health-row{
    grid-template-columns:1fr 1fr!important;
    min-width:0!important;
    gap:10px!important;
  }
  .admin-content-grid,
  .admin-grid,
  .site-notif-admin-grid{
    grid-template-columns:1fr!important;
  }

  .form-grid{
    grid-template-columns:1fr!important;
  }
  .table-card,
  .admin-card,
  .stats-card,
  .order-card{
    border-radius:20px!important;
    padding:14px!important;
  }
  .table-card{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .table-card table{
    min-width:720px;
  }
  .row-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
  }
  .row-actions form{
    display:inline-flex!important;
  }
}

@media(max-width:420px){
  .admin-main.admin-main-pro{
    padding-left:10px!important;
    padding-right:10px!important;
  }
  .admin-topbar-pro{
    margin-left:-10px!important;
    margin-right:-10px!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }
  .admin-menu-toggle span{
    display:none;
  }
  .admin-menu-toggle{
    width:40px;
    padding:0;
  }
  .admin-top-actions .icon-btn:nth-child(2){
    display:none;
  }
  .admin-stat-grid,
  .admin-health-grid,
  .admin-health-row{
    grid-template-columns:1fr!important;
  }
}
