/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS RESET & ROOT ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

:root {
  --bg: #04060e;
  --bg2: #080c1a;
  --glass: rgba(14, 18, 38, 0.55);
  --glass2: rgba(20, 26, 52, 0.45);
  --gbr: rgba(120, 130, 255, 0.13);
  --gg: rgba(99, 102, 241, 0.06);
  --text: #eef2ff;
  --text2: #8b95b8;
  --muted: #4a5278;
  --accent: #7c3aed;
  --accent2: #6366f1;
  --accent3: #a78bfa;
  --green: #34d399;
  --red: #f87171;
  --amber: #fbbf24;
  --cyan: #22d3ee;
  --grad: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --grad2: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  --r: 20px;
  --rs: 12px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: orbF 12s ease-in-out infinite alternate;
}

body::before {
  width: 500px; height: 500px;
  top: -100px; left: -100px;
  background: rgba(99, 102, 241, 0.08);
}

body::after {
  width: 400px; height: 400px;
  bottom: -80px; right: -80px;
  background: rgba(168, 85, 247, 0.06);
  animation-delay: -6s;
}

@keyframes orbF {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.1); }
}

/* ===== ICON BOXES ===== */
.ic-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.ic-lg { width: 40px; height: 40px; }
.ic-lg svg { width: 20px; height: 20px; }
.ic-md { width: 32px; height: 32px; }
.ic-md svg { width: 16px; height: 16px; }
.ic-sm { width: 24px; height: 24px; }
.ic-sm svg { width: 13px; height: 13px; }
.ic-xs { width: 18px; height: 18px; }
.ic-xs svg { width: 11px; height: 11px; }

.ic-purple { background: rgba(124, 58, 237, .12); color: var(--accent3); }
.ic-blue { background: rgba(99, 102, 241, .12); color: #818cf8; }
.ic-green { background: rgba(52, 211, 153, .1); color: var(--green); }
.ic-red { background: rgba(248, 113, 113, .1); color: var(--red); }
.ic-amber { background: rgba(251, 191, 36, .1); color: var(--amber); }
.ic-cyan { background: rgba(34, 211, 238, .1); color: var(--cyan); }

/* ===== GLASS ===== */
.glass {
  background: var(--glass);
  backdrop-filter: blur(12px) saturate(1.6);
  -webkit-backdrop-filter: blur(12px) saturate(1.6);
  border: 1px solid var(--gbr);
  border-radius: var(--r);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: border-color .3s, box-shadow .3s;
}

.glass:hover {
  border-color: rgba(120, 130, 255, 0.22);
  box-shadow: 0 12px 48px rgba(99,102,241,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ===== INPUTS ===== */
.inp {
  width: 100%;
  padding: 11px 14px;
  background: rgba(4,6,14,0.6);
  border: 1px solid var(--gbr);
  border-radius: var(--rs);
  color: var(--text);
  font: 13px/1.4 'Inter', sans-serif;
  outline: none;
  transition: .25s;
}

.inp:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12), 0 0 20px rgba(124,58,237,0.06);
}

.inp::placeholder { color: var(--muted); }

select.inp {
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234a5278' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--rs);
  font: 600 13px 'Inter', sans-serif;
  cursor: pointer;
  transition: .25s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn svg { width: 14px; height: 14px; stroke-width: 2; }

.btn-p {
  background: var(--grad2);
  color: #fff;
  box-shadow: 0 4px 24px rgba(124,58,237,0.3);
}

.btn-p:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(124,58,237,0.4);
}

.btn-s {
  background: var(--glass2);
  color: var(--text);
  border: 1px solid var(--gbr);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.btn-s:hover {
  border-color: var(--accent);
  background: rgba(124,58,237,.06);
}

.btn-g {
  background: linear-gradient(135deg, #059669, var(--green));
  color: #fff;
  box-shadow: 0 4px 20px rgba(52,211,153,0.2);
}

.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; }

.btn-sm { padding: 7px 14px; font-size: 12px; }

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3px;
}

.badge-active { background: rgba(52,211,153,.1); color: var(--green); }
.badge-paused { background: rgba(251,191,36,.1); color: var(--amber); }
.badge-completed { background: rgba(99,102,241,.1); color: var(--accent3); }
.badge-expired { background: rgba(248,113,113,.1); color: var(--red); }
.badge-joining {
  background: rgba(34,211,238,.12);
  color: var(--cyan);
  animation: joiningPulse 1.5s ease-in-out infinite;
}
.badge-joining_in_progress {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
  color: #fff;
  border: 1px solid rgba(236, 72, 153, 0.4);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.2);
  animation: joiningPulse 2s ease-in-out infinite;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.badge-pending { background: rgba(251,191,36,.1); color: var(--amber); }

@keyframes joiningPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.price-d {
  margin-top: 20px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pl { font-size: 13px; color: var(--muted); font-weight: 500; }
.pv { font-size: 18px; font-weight: 800; color: var(--accent); }

/* ===== TOAST ===== */
.toast-c {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 12px 18px;
  border-radius: var(--rs);
  font-size: 12px;
  font-weight: 500;
  animation: tIn .3s;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast svg { width: 16px; height: 16px; flex-shrink: 0; }

.toast-ok { background: rgba(52,211,153,.92); color: #fff; }
.toast-err { background: rgba(248,113,113,.92); color: #fff; }
.toast-info { background: rgba(99,102,241,.92); color: #fff; }

@keyframes tIn {
  from { transform: translateX(100%) scale(.9); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

.spin {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sp .6s linear infinite;
  display: inline-block;
}

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

.err-msg {
  color: var(--red);
  font-size: 12px;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(248,113,113,.06);
  border: 1px solid rgba(248,113,113,.15);
  border-radius: var(--rs);
  display: none;
}

.err-msg.show { display: block; }

/* ===== AUTH ===== */
.auth-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  padding: 20px;
}

.auth-wrap { width: 100%; max-width: 420px; text-align: center; }

.auth-logo {
  width: 68px; height: 68px;
  background: var(--grad);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  box-shadow: 0 8px 40px rgba(99,102,241,.35), 0 0 60px rgba(99,102,241,.1);
  animation: logoF 4s ease-in-out infinite;
}

.auth-logo svg { width: 32px; height: 32px; stroke-width: 1.5; }

@keyframes logoF {
  0%, 100% { transform: translateY(0); box-shadow: 0 8px 40px rgba(99,102,241,.35); }
  50% { transform: translateY(-8px); box-shadow: 0 16px 60px rgba(99,102,241,.45); }
}

.auth-t {
  font-size: 24px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.auth-sub {
  color: var(--text2);
  font-size: 13px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.auth-card { padding: 24px; }

/* ===== SIDEBAR ===== */
.side {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 240px;
  background: rgba(8,12,26,0.88);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-right: 1px solid var(--gbr);
  padding: 18px 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.side-brand {
  padding: 0 18px 16px;
  border-bottom: 1px solid rgba(120,130,255,0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sb-ic {
  width: 28px; height: 28px;
  background: var(--grad);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.sb-ic svg { width: 14px; height: 14px; }

.side-brand-t h2 { font-size: 15px; font-weight: 800; }
.side-brand-t small { font-size: 9px; color: var(--muted); display: block; }

.side-nav {
  flex: 1 1;
  padding: 10px;
  list-style: none;
}

.side-nav li { margin-bottom: 2px; }

.nav-l {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: var(--rs);
  color: var(--text2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: .2s;
  border: none;
  background: none;
  width: 100%;
  font-family: inherit;
  text-align: left;
  text-decoration: none;
}

.nav-l svg { width: 16px; height: 16px; stroke-width: 1.8; flex-shrink: 0; }

.nav-l:hover { color: var(--text); background: rgba(124,58,237,.06); }
.nav-l.on { color: #fff; background: rgba(124,58,237,.1); border: 1px solid rgba(124,58,237,.2); }

.side-foot {
  padding: 12px 18px;
  border-top: 1px solid rgba(120,130,255,0.08);
}

.u-info { display: flex; align-items: center; gap: 8px; }

.u-av {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(99,102,241,.2);
}

.u-det h4 { font-size: 12px; font-weight: 600; }
.u-det p { font-size: 10px; color: var(--muted); }

/* ===== BOTTOM BAR (Mobile) ===== */
.btm-bar { display: none; }

/* ===== MAIN ===== */
.main-content {
  margin-left: 240px;
  padding: 24px;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  z-index: 1;
}

.ph { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.ph .ph-ic { width: 36px; height: 36px; }
.ph h1 { font-size: 22px; font-weight: 800; }
.ph-sub { color: var(--text2); font-size: 13px; margin-bottom: 16px; }

/* ===== STAT GRID ===== */
.sg { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 14px; gap: 14px; margin-bottom: 20px; }

.sc {
  padding: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: .3s;
}

.sc:hover::before { opacity: 1; }
.sc:hover { transform: translateY(-2px); }
.sc-txt { flex: 1 1; min-width: 0; }
.sc .sv { font-size: 22px; font-weight: 800; margin-bottom: 1px; }
.sc .sv.gr {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sc .sl {
  font-size: 10px;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 700;
}

/* ===== SECTIONS ===== */
.sec { padding: 20px; margin-bottom: 16px; overflow: hidden; }
.sec-h { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.sec-h svg { width: 18px; height: 18px; color: var(--accent3); stroke-width: 1.8; }
.sec h2 { font-size: 16px; font-weight: 700; }
.sec .sd { color: var(--text2); font-size: 12px; margin-bottom: 16px; }

/* ===== SERVICE GRID ===== */
.svc-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); grid-gap: 10px; gap: 10px; }

.svc-c {
  background: rgba(4,6,14,.4);
  border: 1px solid var(--gbr);
  border-radius: var(--rs);
  padding: 14px;
  cursor: pointer;
  transition: .25s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.svc-c:hover {
  border-color: var(--accent);
  background: rgba(124,58,237,.04);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,.08);
}

.svc-c.sel {
  border-color: var(--accent);
  background: rgba(124,58,237,.08);
  box-shadow: 0 0 0 2px rgba(124,58,237,.2);
}

.svc-c .sn { font-size: 13px; font-weight: 600; }
.svc-c .sp { font-size: 11px; color: var(--green); font-weight: 600; margin-top: 1px; }

.svc-disabled { opacity: 0.6; cursor: not-allowed !important; }
.svc-disabled:hover { border-color: var(--gbr) !important; transform: none !important; box-shadow: none !important; }

.badge-instock { background: rgba(52,211,153,.12); color: var(--green); border: 1px solid rgba(52,211,153,.15); }
.badge-outofstock { background: rgba(248,113,113,.12); color: var(--red); border: 1px solid rgba(248,113,113,.15); }

/* ===== FORM ===== */
.fr { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 12px; gap: 12px; }
.fg { margin-bottom: 12px; }

/* ===== PRICE DISPLAY ===== */
.price-d {
  background: rgba(124,58,237,.06);
  border: 1px solid rgba(124,58,237,.2);
  border-radius: var(--rs);
  padding: 14px;
  text-align: center;
  margin: 14px 0;
}

.price-d .pl { font-size: 11px; color: var(--text2); margin-bottom: 2px; }

.price-d .pv {
  font-size: 26px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ORDER CARD ===== */
.o-card {
  background: rgba(4,6,14,.35);
  border: 1px solid var(--gbr);
  border-radius: var(--rs);
  padding: 12px;
  margin-bottom: 8px;
  transition: .2s;
}

.o-card:hover { border-color: rgba(120,130,255,.22); }

.o-card-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  gap: 6px;
  flex-wrap: wrap;
}

.o-card-h b { font-size: 12px; color: var(--accent3); }

.o-card-acts { 
  display: flex; 
  align-items: center; 
  gap: 6px; 
  flex-wrap: wrap;
  justify-content: flex-end;
}

.del-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border: 1px solid rgba(248,113,113,.2);
  border-radius: 6px;
  background: rgba(248,113,113,.06);
  color: var(--red);
  font: 600 9px 'Inter', sans-serif;
  cursor: pointer;
  transition: .2s;
}

.del-btn:hover {
  background: rgba(248,113,113,.12);
  border-color: rgba(248,113,113,.35);
}

.del-btn svg { width: 10px; height: 10px; }

.o-card-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--text2);
}

.o-card-row span { display: flex; align-items: center; gap: 4px; }
.o-card-row svg { width: 12px; height: 12px; stroke-width: 1.8; flex-shrink: 0; }

/* ===== TRANSACTION ===== */
.tx-i {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: rgba(4,6,14,.35);
  border: 1px solid var(--gbr);
  border-radius: var(--rs);
  margin-bottom: 6px;
  transition: .2s;
}

.tx-i:hover { border-color: rgba(120,130,255,.2); }
.tx-l { display: flex; align-items: center; gap: 8px; }
.tx-inf h4 { font-size: 12px; font-weight: 600; }
.tx-inf p { font-size: 10px; color: var(--muted); }
.tx-am { font-size: 14px; font-weight: 700; white-space: nowrap; }
.tx-am.cr { color: var(--green); }
.tx-am.dr { color: var(--red); }

.empty { text-align: center; padding: 32px; color: var(--muted); }
.empty p { font-size: 13px; margin-top: 8px; }

/* ===== PAGINATION ===== */
.pg-ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 0;
  gap: 8px;
  margin-top: 12px;
  border-top: 1px solid var(--gbr);
}

.pg-info { font-size: 11px; color: var(--text2); font-weight: 500; }
.pg-acts { display: flex; align-items: center; gap: 6px; }

.pg-btn {
  width: 30px; height: 30px;
  padding: 0;
  border-radius: 8px;
  background: var(--glass2);
  border: 1px solid var(--gbr);
  color: var(--text2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
  font-family: inherit;
}

.pg-btn:hover:not(:disabled) {
  background: rgba(124,58,237,.08);
  color: var(--text);
  border-color: var(--accent);
}

.pg-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.pg-btn svg { width: 14px; height: 14px; }

.pg-num {
  min-width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--glass2);
  border: 1px solid var(--gbr);
  color: var(--text2);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}

.pg-num:hover {
  background: rgba(124,58,237,.08);
  border-color: var(--accent);
  color: var(--text);
}

.pg-num.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(124,58,237,0.3);
}

.jump-inp {
  width: 45px;
  background: rgba(4,6,14,0.6);
  border: 1px solid var(--gbr);
  border-radius: 6px;
  padding: 4px;
  color: #fff;
  font-size: 11px;
  text-align: center;
  outline: none;
  font-family: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  margin: 0 4px;
}

.jump-inp:focus { border-color: var(--accent); }

/* ===== MODAL ===== */
.modal-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(4,6,14,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 20px;
}

.modal-c {
  background: #080c1a;
  border: 1px solid var(--gbr);
  border-radius: 20px;
  width: 100%;
  max-width: 450px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-h {
  padding: 18px 24px;
  background: var(--glass);
  border-bottom: 1px solid var(--gbr);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-h h2 {
  font-size: 18px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-b {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-f {
  padding: 18px 24px;
  border-top: 1px solid var(--gbr);
  text-align: right;
  background: rgba(120,130,255,0.02);
}

.det-r {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(120,130,255,0.05);
  font-size: 13px;
}

.det-l { color: var(--text2); font-weight: 500; }
.det-v { color: var(--text); font-weight: 600; text-align: right; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(120,130,255,.15); border-radius: 2px; }

/* ===== ADMIN ===== */
.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px;
  width: 100%;
}

.admin-header {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--gbr);
  background: rgba(4,6,14,0.85);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.admin-logo svg { width: 18px; height: 18px; color: var(--accent3); }

.tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
  padding: 7px 14px;
  border-radius: var(--rs);
  background: var(--glass2);
  border: 1px solid var(--gbr);
  color: var(--text2);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all .2s;
}

.tab:hover { background: rgba(25,35,70,0.6); color: var(--text); }

.tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(124,58,237,0.35);
}

.tab svg { width: 13px; height: 13px; }

/* Admin Table */
.admin-card {
  border-radius: var(--r);
  margin-bottom: 12px;
  overflow: hidden;
}

.admin-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.admin-table th {
  text-align: left;
  padding: 10px;
  color: var(--text2);
  font-weight: 700;
  border-bottom: 1px solid var(--gbr);
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.5px;
  background: rgba(0,0,0,0.15);
  white-space: nowrap;
}
.admin-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--text);
  vertical-align: middle;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255,255,255,0.025); }

/* Standard Table */
.table-c { width: 100%; overflow-x: auto; margin-top: 10px; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; min-width: 450px; }
.table th {
  text-align: left;
  padding: 12px 10px;
  color: var(--muted);
  font-weight: 700;
  border-bottom: 1px solid var(--gbr);
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.8px;
  background: rgba(0,0,0,0.1);
}
.table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--text);
  vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: rgba(255,255,255,0.02); }


.btn-blue { background: var(--accent); color: #fff; }
.btn-blue:hover { box-shadow: 0 3px 10px rgba(124,58,237,0.5); }
.btn-red { background: rgba(248,113,113,0.1); color: var(--red); border: 1px solid rgba(248,113,113,0.15); }
.btn-red:hover { background: var(--red); color: #fff; }
.btn-ghost { background: var(--glass2); border: 1px solid var(--gbr); color: var(--text2); }
.btn-ghost:hover:not(:disabled) { background: rgba(25,35,70,0.6); color: var(--text); border-color: rgba(124,58,237,0.3); }
.btn-ghost:disabled { opacity: 0.3; cursor: not-allowed; }

.search-box { margin-bottom: 10px; }
.search-box .inp { width: 100%; }

.m-cards { display: none; }

.m-card {
  background: var(--glass2);
  border: 1px solid var(--gbr);
  border-radius: var(--r);
  padding: 12px;
  margin-bottom: 8px;
}

.m-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  font-size: 12px;
}

.m-card-row .lbl { color: var(--text2); font-size: 10px; font-weight: 600; }
.m-card-row .val {
  color: var(--text);
  font-weight: 500;
  text-align: right;
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gbr);
}

/* Price Grid */
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-gap: 10px; gap: 10px; }

.price-card {
  background: var(--glass);
  border: 1px solid var(--gbr);
  border-radius: var(--r);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  transition: border-color .2s;
}

.price-card:hover { border-color: rgba(124,58,237,0.3); }

.pc-header { display: flex; justify-content: space-between; align-items: flex-start; }
.pc-name { font-weight: 800; font-size: 13px; text-transform: uppercase; color: #818cf8; }
.pc-desc { font-size: 10px; color: var(--text2); margin-top: 2px; }

.pc-fields { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 8px; gap: 8px; }
.pc-fields label { font-size: 9px; color: var(--muted); font-weight: 700; margin-bottom: 3px; }
.pc-fields .inp { width: 100%; }

/* Toggle Switch */
.switch { position: relative; display: inline-block; width: 32px; height: 18px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider-toggle {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--glass2);
  transition: .4s;
  border-radius: 18px;
  border: 1px solid var(--gbr);
}
.slider-toggle:before {
  position: absolute; content: "";
  height: 12px; width: 12px;
  left: 2px; bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
.switch input:checked + .slider-toggle { background-color: #818cf8; border-color: #818cf8; }
.switch input:checked + .slider-toggle:before { transform: translateX(14px); }

/* Admin Modal */
.admin-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.75);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.admin-modal {
  width: 100%;
  max-width: 360px;
  background: rgba(25,35,70,0.6);
  border: 1px solid var(--gbr);
  border-radius: var(--r);
  padding: 20px;
  -webkit-backdrop-filter: blur(30px);
          backdrop-filter: blur(30px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
}

.admin-modal .modal-h { font-size: 15px; font-weight: 700; margin-bottom: 4px; padding: 0; border: none; background: none; display: block; }
.admin-modal label { font-size: 10px; color: var(--muted); font-weight: 600; margin-bottom: 4px; margin-top: 12px; }
.admin-modal .inp { width: 100%; }

.modal-actions { display: flex; gap: 8px; margin-top: 18px; }
.modal-actions .btn { flex: 1 1; padding: 8px; }

/* Admin Info Grid */
.info-grid { display: grid; grid-template-columns: 130px 1fr; grid-gap: 10px; gap: 10px; font-size: 12px; margin-top: 15px; }
.info-grid .label2 { color: var(--text2); font-weight: 600; }
.info-grid .value2 { color: var(--text); word-break: break-all; }

/* Admin toast */
.admin-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  z-index: 2000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  white-space: nowrap;
  animation: tIn .3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .side { display: none !important; }
  .main-content { margin-left: 0; padding: 16px; padding-bottom: 80px; }
  .btm-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(8,12,26,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--gbr);
    padding: 6px 8px;
    justify-content: space-around;
    box-shadow: 0 -4px 24px rgba(0,0,0,.3);
  }
  .btm-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 4px;
    border: none;
    background: none;
    color: var(--muted);
    font: 600 9px 'Inter', sans-serif;
    cursor: pointer;
    transition: .2s;
    border-radius: 10px;
    flex: 1 1;
  }
  .btm-btn svg { width: 18px; height: 18px; stroke-width: 1.8; }
  .btm-btn.on { color: var(--accent3); background: rgba(124,58,237,.08); }
  .btm-btn:active { transform: scale(.95); }
  .fr { grid-template-columns: 1fr; }
  .sg { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sc { padding: 14px; }
  .sc .sv { font-size: 18px; }
  .svc-g { grid-template-columns: 1fr 1fr; }
  .ph h1 { font-size: 18px; }
  .ph .ph-ic { width: 28px; height: 28px; }
  .sec { padding: 14px; }
  .sec h2 { font-size: 14px; }
  .price-d .pv { font-size: 22px; }
  .pg-ctrl { flex-wrap: wrap; justify-content: center; gap: 6px; }
}

@media (max-width: 400px) {
  .sg { grid-template-columns: 1fr; }
  .svc-g { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .admin-container { padding: 8px; }
  .admin-header { padding: 8px 12px; }
  .admin-logo { font-size: 13px; }
  .admin-hdr-tag { display: none; }
  .admin-hdr-btn span { display: none; }
  .admin-hdr-btn { padding: 6px; }
  .tab { padding: 6px 10px; font-size: 10px; }
  .tab svg { width: 12px; height: 12px; }
  .admin-table-wrap { display: none; }
  .m-cards { display: block; padding: 8px; }
  .price-grid { grid-template-columns: 1fr; }
}

@media (min-width: 701px) {
  .m-cards { display: none !important; }
}

