/* ============================================================
   MM SMM PANEL — design tokens
   Palette: near-black panel surface + signal red + circuit-gold accent.
   Display face: Rajdhani (techy/condensed, reads like a control panel).
   Body face: Inter. Data face: JetBrains Mono (prices, order IDs, TrxIDs).
   Signature: the "verified pulse" badge + terminal-style status pills.
   ============================================================ */

:root {
  --bg: #0a0d13;
  --surface: #131924;
  --surface-2: #1b2332;
  --surface-hover: #212b3d;
  --border: #262f42;

  --primary: #e0293b;
  --primary-dark: #a81c29;
  --primary-glow: rgba(224, 41, 59, 0.35);

  --gold: #f2b705;
  --success: #2bb673;
  --success-bg: rgba(43, 182, 115, 0.14);
  --warning: #f2994a;
  --warning-bg: rgba(242, 153, 74, 0.14);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.14);

  --text: #f3f5f9;
  --text-muted: #8b93a7;
  --text-faint: #5b6478;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(224, 41, 59, 0.1), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(242, 183, 5, 0.07), transparent 35%);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  padding-bottom: 84px; /* space for mobile bottom nav */
}

/* --- Video wallpaper (admin-configured, short looping background clip) --- */
.wallpaper-video-wrap {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
}
.wallpaper-video-wrap video {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.wallpaper-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(10,13,19,0.15), rgba(10,13,19,0.20));
}

h1, h2, h3, h4, .display {
  font-family: "Rajdhani", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }

.mono { font-family: "JetBrains Mono", "SFMono-Regular", monospace; }

.order-page-icon {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px;
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 16px rgba(242,183,5,0.12);
}

/* --- Layout shell --- */
.container { max-width: 480px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .container { max-width: 720px; } }
.container.admin-mode { max-width: 1100px; }

/* --- Top bar --- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 13, 19, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--gold));
  opacity: .8;
}
.topbar-inner {
  max-width: 480px; margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
@media (min-width: 700px) { .topbar-inner { max-width: 720px; } }

.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand-icon {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px rgba(242,183,5,0.18);
}
@keyframes brandShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.brand-text {
  background: linear-gradient(90deg, var(--text) 30%, var(--gold) 45%, var(--primary) 55%, var(--text) 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: brandShimmer 6s linear infinite;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-family: "Rajdhani", sans-serif; font-weight: 800; font-size: 15px; color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 4px 14px var(--primary-glow);
}
.brand-name {
  font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 18px;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.verified-badge {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.verified-badge::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--gold); opacity: 0.5;
  animation: pulse-ring 2.2s ease-out infinite;
}
.verified-badge svg { width: 10px; height: 10px; }
@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.6; }
  80% { transform: scale(1.5); opacity: 0; }
  100% { opacity: 0; }
}

.topbar-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.12s ease, background 0.15s ease, border-color .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 6px 18px var(--primary-glow);
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 8px 22px var(--primary-glow); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); background: var(--surface-2); }
.btn-dark { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-dark:hover { background: var(--surface-hover); }
.btn-success { background: linear-gradient(135deg, var(--success), #1f8f5c); color: #08130d; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* --- Cards / panels --- */
.card {
  background: linear-gradient(160deg, var(--surface), var(--surface) 60%, var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.card::before {
  content: "";
  position: absolute; inset: 0; border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(160deg, rgba(242,183,5,0.18), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.card + .card { margin-top: 14px; }
.card-header {
  padding: 4px 2px 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.step-badge {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 3px 10px var(--primary-glow);
}

/* --- Auth pages (login/register/verify) — লাইটওয়েট অ্যানিমেটেড ব্যাকগ্রাউন্ড ---
   ওয়ালপেপার ছবি/ভিডিও লোড না করে (সেটাই "লেগ"-এর মূল কারণ ছিল), শুধু CSS
   গ্র্যাডিয়েন্ট + কয়েকটা ভাসমান ব্লার-অর্ব দিয়ে প্রিমিয়াম লুক — কোনো নেটওয়ার্ক
   রিকোয়েস্ট বা ইমেজ ডিকোড লাগে না, তাই প্রথম লোডেই ঝরঝরে/দ্রুত মনে হবে। */
.auth-page-body {
  background:
    radial-gradient(circle at 18% -8%, rgba(242,183,5,0.14), transparent 42%),
    radial-gradient(circle at 88% 6%, rgba(224,41,59,0.13), transparent 40%),
    radial-gradient(circle at 50% 105%, rgba(59,130,246,0.07), transparent 50%),
    var(--bg);
  position: relative;
  overflow-x: hidden;
}
.auth-page-body::before, .auth-page-body::after {
  content: ""; position: fixed; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(50px); opacity: 0.55; will-change: transform;
}
.auth-page-body::before {
  width: 220px; height: 220px; top: -70px; left: -50px;
  background: radial-gradient(circle, rgba(242,183,5,0.32), transparent 70%);
  animation: auth-orb-drift-1 13s ease-in-out infinite;
}
.auth-page-body::after {
  width: 260px; height: 260px; bottom: -90px; right: -70px;
  background: radial-gradient(circle, rgba(224,41,59,0.28), transparent 70%);
  animation: auth-orb-drift-2 16s ease-in-out infinite;
}
@keyframes auth-orb-drift-1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(22px, 26px) scale(1.12); }
}
@keyframes auth-orb-drift-2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-18px, -22px) scale(1.08); }
}
.auth-page-body .topbar, .auth-page-body .container, .auth-page-body .bottom-nav { position: relative; z-index: 1; }

/* --- Auth pages (login/register) --- */
.auth-card {
  max-width: 400px; margin: 28px auto; position: relative;
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 85%);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(0,0,0,0.4), 0 0 0 1px rgba(242,183,5,0.04);
  overflow: hidden;
  animation: authCardEnter 0.55s cubic-bezier(.2,.8,.2,1) both;
}
.auth-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--gold));
  background-size: 200% 100%;
  animation: authTopShimmer 3.5s linear infinite;
}
@keyframes authCardEnter {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes authTopShimmer {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
.auth-icon {
  width: 58px; height: 58px; border-radius: 16px; margin: 26px auto 12px;
  background: linear-gradient(155deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 rgba(242,183,5,0.25);
  animation: authIconPulse 2.6s ease-in-out infinite;
}
@keyframes authIconPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(242,183,5,0.18); transform: translateY(0); }
  50% { box-shadow: 0 0 26px rgba(242,183,5,0.38); transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .auth-page-body::before, .auth-page-body::after, .auth-card, .auth-card::after, .auth-icon { animation: none; }
}
.auth-card .btn-primary, .verify-card .btn-primary {
  position: relative; overflow: hidden;
}
.auth-card .btn-primary::after, .verify-card .btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 35%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg); pointer-events: none;
  animation: btnShimmerSlide 3.4s ease-in-out infinite;
}
@keyframes btnShimmerSlide {
  0% { left: -60%; }
  45%, 100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-card .btn-primary::after, .verify-card .btn-primary::after { animation: none; display: none; }
}

/* --- Entrance animations --- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.service-grid .service-tile { animation: fadeSlideUp 0.4s ease both; }
.service-grid .service-tile:nth-child(1) { animation-delay: .03s; }
.service-grid .service-tile:nth-child(2) { animation-delay: .06s; }
.service-grid .service-tile:nth-child(3) { animation-delay: .09s; }
.service-grid .service-tile:nth-child(4) { animation-delay: .12s; }

/* --- সাধারণ স্ট্যাগার্ড এন্ট্রি-অ্যানিমেশন ইউটিলিটি — প্রোফাইল/অ্যাড মানি/অর্ডার
   পেজের কার্ডগুলো লোড হওয়ার সময় একটার পর একটা মৃদুভাবে উপরে উঠে আসে, পুরো
   পেজ একসাথে "ঝপ" করে না দেখিয়ে। .stagger-N ক্লাস দিয়ে দেরি নিয়ন্ত্রণ করা হয়
   (Jinja loop.index ব্যবহার করে বসানো হয়)। --- */
.animate-in { animation: fadeSlideUp 0.5s cubic-bezier(.2,.7,.3,1) both; }
.stagger-1 { animation-delay: .04s; } .stagger-2 { animation-delay: .09s; }
.stagger-3 { animation-delay: .14s; } .stagger-4 { animation-delay: .19s; }
.stagger-5 { animation-delay: .24s; } .stagger-6 { animation-delay: .29s; }
.stagger-7 { animation-delay: .34s; } .stagger-8 { animation-delay: .39s; }
.stagger-9 { animation-delay: .44s; } .stagger-10 { animation-delay: .49s; }
.service-grid .service-tile:nth-child(5) { animation-delay: .15s; }
.service-grid .service-tile:nth-child(6) { animation-delay: .18s; }
.service-grid .service-tile:nth-child(n+7) { animation-delay: .2s; }

/* --- Hero banner --- */
.hero-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 18px; margin-bottom: 6px; text-align: center;
}
.hero-banner::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--gold));
  opacity: .8;
}
.hero-banner h1 {
  position: relative; font-size: 18px; line-height: 1.35; margin-bottom: 6px;
}
.hero-banner .accent {
  background: linear-gradient(90deg, var(--gold), var(--primary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-banner p {
  position: relative; margin: 0; color: var(--text-muted); font-size: 12.5px;
}

/* --- Service grid --- */
.section-title {
  font-size: 19px; margin: 22px 0 14px;
  display: flex; align-items: center; gap: 8px;
}
.section-title::before {
  content: ""; width: 4px; height: 18px; border-radius: 3px;
  background: linear-gradient(180deg, var(--gold), var(--primary));
  display: inline-block;
}
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
@media (min-width: 480px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

.service-tile {
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: 12px;
  padding: 10px; text-align: center; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  display: block; position: relative; overflow: hidden;
}
.service-tile::before {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(242,183,5,0.18), transparent);
  transform: skewX(-20deg); transition: left .5s ease;
}
.service-tile:hover::before { left: 125%; }
.service-tile:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(242, 183, 5, 0.15);
}
@keyframes iconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.service-tile .icon-wrap {
  width: 100%; aspect-ratio: 1; border-radius: 9px; margin-bottom: 8px;
  background: radial-gradient(circle at 30% 20%, var(--surface-hover), var(--surface));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border: 1px solid var(--border);
  animation: iconFloat 3.5s ease-in-out infinite;
}
.service-tile .icon-wrap img { width: 68%; height: 68%; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }
.service-tile .name { font-size: 12px; font-weight: 600; color: var(--text-muted); line-height: 1.3; }

/* --- Package pick grid --- */
.package-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.package-option {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px; background: var(--surface-2); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  transition: border-color .12s ease, background .12s ease, box-shadow .12s ease, transform .12s ease;
}
.package-option input { accent-color: var(--primary); }
.package-option:hover { transform: translateY(-1px); border-color: var(--text-faint); }
.package-option.checked, .package-option:has(input:checked) {
  border-color: var(--gold); background: rgba(242,183,5,0.07);
  box-shadow: 0 4px 16px rgba(242,183,5,0.12);
}
.package-option .price { color: var(--gold); font-weight: 700; }

/* --- Form elements --- */
label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; }
input[type=text], input[type=email], input[type=password], input[type=number], textarea, select {
  width: 100%; padding: 11px 13px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  font-size: 14px; font-family: inherit; outline: none;
  transition: border-color .12s ease, box-shadow .12s ease;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,183,5,0.12); }
.field { margin-bottom: 16px; }

/* পাসওয়ার্ড শো/হাইড টগল বাটন — login/register/reset/profile সব পাসওয়ার্ড ফিল্ডে reuse হয় */
.password-field { position: relative; }
.password-field input { padding-right: 44px; }
.pw-toggle {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  background: transparent; border: none; cursor: pointer; font-size: 17px;
  padding: 8px; line-height: 1; color: var(--text-muted);
}
.pw-toggle:hover { color: var(--text); }
.help-text { font-size: 12px; color: var(--text-faint); margin-top: 5px; }

/* --- Status pills --- */
.pill {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; font-family: "Rajdhani", sans-serif; letter-spacing: 0.03em;
}
.pill-completed { background: var(--success-bg); color: var(--success); }
.pill-processing { background: var(--warning-bg); color: var(--warning); }
.pill-cancelled, .pill-rejected { background: var(--danger-bg); color: var(--danger); }
.pill-pending { background: rgba(139,147,167,0.15); color: var(--text-muted); }
.pill-approved { background: var(--success-bg); color: var(--success); }
.pill-refunded { background: rgba(139,147,167,0.15); color: var(--text-muted); }

/* --- List rows (orders / transactions) --- */
.row-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.row-item:last-child { border-bottom: none; }
.row-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--text-muted); font-family: "Rajdhani", sans-serif;
}
.row-main { flex: 1; min-width: 0; }
.row-title { font-weight: 600; font-size: 14px; }
.row-sub { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }

/* --- Add Money পেজ: transaction method অনুযায়ী রঙিন avatar --- */
.txn-method-avatar { font-size: 17px; }
.txn-method-bkash { background: linear-gradient(155deg, rgba(225,29,72,0.25), rgba(225,29,72,0.08)); }
.txn-method-nagad { background: linear-gradient(155deg, rgba(249,115,22,0.25), rgba(249,115,22,0.08)); }
.txn-method-rocket { background: linear-gradient(155deg, rgba(139,92,246,0.25), rgba(139,92,246,0.08)); }
.txn-method-binance { background: linear-gradient(155deg, rgba(240,185,11,0.3), rgba(240,185,11,0.1)); }

/* --- Stat tiles --- */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat-tile {
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; text-align: center;
}
.stat-tile .value { font-family: "JetBrains Mono", monospace; font-size: 20px; font-weight: 700; color: var(--gold); }
.stat-tile .label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* --- Bottom mobile nav --- */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: rgba(13, 17, 25, 0.97); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-around; padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 24px rgba(0,0,0,0.3);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10.5px; color: var(--text-faint); font-weight: 600; padding: 4px 4px; border-radius: 10px;
  transition: color .15s ease, background .15s ease;
  flex: 1; min-width: 0;
}
.bottom-nav a.active { color: var(--gold); background: rgba(242,183,5,0.08); }
.bottom-nav svg { width: 19px; height: 19px; }
.nav-unread-badge {
  position: absolute; top: 2px; right: 14%; min-width: 15px; height: 15px; padding: 0 3px;
  border-radius: 8px; background: var(--danger); color: #fff; font-size: 9.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; line-height: 1;
  box-shadow: 0 0 0 2px var(--surface);
}

/* --- Flash messages --- */
.flash-stack { position: fixed; top: 66px; left: 0; right: 0; z-index: 60; padding: 0 16px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.flash {
  max-width: 480px; width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.flash-success { background: var(--success-bg); color: var(--success); border-color: rgba(43,182,115,.3); }
.flash-danger { background: var(--danger-bg); color: var(--danger); border-color: rgba(239,68,68,.3); }
.flash-warning { background: var(--warning-bg); color: var(--warning); border-color: rgba(242,153,74,.3); }
.flash-info { background: rgba(139,147,167,.12); color: var(--text-muted); }

/* --- Misc --- */
.muted { color: var(--text-muted); }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--border); margin: 16px 0; }
.empty-state { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); display: inline-block; }

table.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.admin-table th { text-align: left; color: var(--text-muted); font-weight: 600; padding: 10px 8px; border-bottom: 1px solid var(--border); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
table.admin-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-shell { display: flex; gap: 20px; max-width: 1100px; margin: 0 auto; padding: 20px 16px; }
.admin-sidebar {
  width: 210px; flex-shrink: 0; padding: 10px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  align-self: flex-start;
}
.admin-sidebar a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text-muted);
  font-weight: 600; font-size: 13.5px; margin-bottom: 3px;
  transition: background .12s ease, color .12s ease, transform .12s ease;
}
.admin-sidebar a .nav-icon { font-size: 15px; width: 18px; text-align: center; flex-shrink: 0; }
.admin-sidebar a.active, .admin-sidebar a:hover { background: var(--surface-hover); color: var(--text); }
.admin-sidebar a.active {
  color: #1a1400; font-weight: 700;
  background: linear-gradient(135deg, var(--gold), #c99304);
  box-shadow: 0 3px 12px rgba(242,183,5,0.3);
}
.admin-sidebar a.nav-exit { margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--border); color: var(--text-faint); }
.toggle-switch input:checked + .toggle-slider { background: rgba(242,183,5,.22); border-color: var(--gold); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); background: var(--gold); }
.admin-main { flex: 1; min-width: 0; }
.toggle-switch { position: relative; width: 42px; height: 24px; display: inline-block; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; cursor: pointer; transition: .15s; }
.toggle-slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 2px; top: 2px; background: var(--text-faint); border-radius: 50%; transition: .15s; }

@media (max-width: 720px) {
  .admin-shell { flex-direction: column; padding: 14px 12px; }
  .admin-sidebar { width: 100%; display: flex; overflow-x: auto; gap: 4px; -webkit-overflow-scrolling: touch; }
  .admin-sidebar a { white-space: nowrap; margin-bottom: 0; }
  .admin-sidebar a.nav-exit { margin-top: 0; padding-top: 10px; border-top: none; border-left: 1px dashed var(--border); }
  table.admin-table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* --- Marquee scam-warning banner: প্রিমিয়াম 3D "সিকিউরিটি ব্যাজ" ডিজাইন --- */
.marquee-wrap-3d {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  overflow: hidden;
  background: linear-gradient(155deg, #1b2332 0%, #0a0d13 70%);
  border-top: 1px solid rgba(242,183,5,0.25);
  border-bottom: 1px solid rgba(0,0,0,0.6);
  padding: 9px 12px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 4px 14px rgba(0,0,0,0.45);
}
.marquee-icon-3d {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(242,183,5,0.35);
  box-shadow: 0 2px 8px rgba(242,183,5,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
  animation: marquee-badge-pulse 2.4s ease-in-out infinite;
}
@keyframes marquee-badge-pulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(242,183,5,0.25), inset 0 1px 0 rgba(255,255,255,0.08); }
  50% { box-shadow: 0 2px 14px rgba(242,183,5,0.5), inset 0 1px 0 rgba(255,255,255,0.1); }
}
.marquee-track-3d {
  display: inline-flex;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 90px;
  animation: marquee-scroll 10s linear infinite;
  will-change: transform;
}
.marquee-item-3d {
  font-weight: 800;
  font-size: 13.5px;
  padding-right: 90px;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #a8760f 0%, #f2b705 25%, #fff3c4 50%, #f2b705 75%, #a8760f 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(0,0,0,0.4);
  animation: marquee-gold-shimmer 9s ease-in-out infinite;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marquee-gold-shimmer {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track-3d, .marquee-icon-3d { animation: none; }
  .marquee-item-3d { animation: none; -webkit-text-fill-color: #f2b705; }
}

/* --- Homepage service search bar --- */
.service-search-wrap { position: relative; margin: 14px 0 18px; }
.service-search-wrap input[type="text"] {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14.5px;
}
.service-search-wrap input[type="text"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 183, 5, 0.15);
}
.service-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  pointer-events: none;
}
.service-search-icon svg { width: 18px; height: 18px; }
.service-tile.search-match { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(242,183,5,0.25); order: -1; }
.service-tile.search-hide { display: none !important; }
.service-tile .code-badge {
  position: absolute; top: 0; left: 0; z-index: 5;
  font-size: 11px; font-weight: 800; letter-spacing: 0.02em;
  color: #0a0d13; background: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  padding: 3px 8px 3px 7px;
  border-radius: 0 0 8px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

/* --- Reseller API key fields (profile page) --- */
#api-key-field, #api-url-field { font-size: 12.5px; }

/* --- Gmail OTP ভেরিফিকেশন পেজ --- */
.verify-hero { text-align: center; max-width: 420px; margin: 10px auto 18px; animation: authCardEnter 0.5s cubic-bezier(.2,.8,.2,1) both; }
.verify-hero-icon {
  width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 14px;
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  animation: authIconPulse 2.6s ease-in-out infinite;
}
.verify-hero h2 { font-size: 21px; margin-bottom: 6px; }
.verify-hero p { color: var(--text-muted); font-size: 13.5px; line-height: 1.6; }

.verify-card {
  max-width: 420px; margin: 0 auto 14px; position: relative; overflow: hidden;
  animation: authCardEnter 0.55s cubic-bezier(.2,.8,.2,1) both; animation-delay: .06s;
}
.verify-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--gold));
  background-size: 200% 100%;
  animation: authTopShimmer 3.5s linear infinite;
}
.verify-step-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
  color: var(--gold); background: rgba(242,183,5,0.12); border: 1px solid rgba(242,183,5,0.3);
  padding: 3px 10px; border-radius: 20px; margin-bottom: 12px;
}
.verify-target { font-size: 14px; margin-bottom: 14px; line-height: 1.6; }

.spam-note {
  background: var(--warning-bg); border: 1px solid var(--warning);
  color: var(--warning); font-size: 12.5px; line-height: 1.6;
  padding: 10px 12px; border-radius: var(--radius-sm); margin-bottom: 16px;
}

.otp-input {
  font-size: 26px !important; text-align: center; letter-spacing: 10px;
  padding: 14px !important; font-weight: 700;
}

/* --- অ্যানিমেটেড ৬-বক্স OTP ইনপুট (JS দিয়ে আসল ইনপুটের জায়গায় বসে) ---
   JS বন্ধ থাকলে/লোড না হলে উপরের সাধারণ .otp-input টাই দেখা যাবে (কাজ করবে,
   শুধু বক্স-অ্যানিমেশন ছাড়া) — তাই এটা সম্পূর্ণ গ্রেসফুল-ডিগ্রেডেশন সেফ। */
.otp-boxes-wrap { display: flex; gap: 8px; justify-content: center; margin: 4px 0 10px; }
.otp-box {
  width: 15%; max-width: 48px; aspect-ratio: 1 / 1.15;
  text-align: center; font-size: 22px; font-weight: 800;
  border-radius: 10px; border: 1.5px solid var(--border); background: var(--surface-2);
  color: var(--text); font-family: "JetBrains Mono", monospace;
  transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}
.otp-box:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242,183,5,0.18);
  transform: translateY(-2px);
}
.otp-box.otp-box-filled { animation: otpBoxPop 0.22s ease; border-color: rgba(242,183,5,0.55); }
@keyframes otpBoxPop {
  0% { transform: scale(0.82); }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.otp-boxes-wrap.otp-shake { animation: otpShake 0.42s ease; }
.otp-boxes-wrap.otp-shake .otp-box { border-color: var(--danger); }
@keyframes otpShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}
@media (prefers-reduced-motion: reduce) {
  .verify-hero, .verify-hero-icon, .verify-card, .verify-card::after, .otp-box.otp-box-filled, .otp-boxes-wrap.otp-shake { animation: none; }
}

.otp-form { margin-bottom: 10px; }
.resend-form { margin-bottom: 6px; }
.verify-hint { text-align: center; font-size: 12px; color: var(--text-faint); margin-top: 4px; }

.change-email-collapse { max-width: 420px; margin: 0 auto 16px; }
.change-email-collapse summary {
  cursor: pointer; font-size: 13px; color: var(--text-muted);
  text-align: center; padding: 8px; user-select: none;
}
.change-email-collapse summary:hover { color: var(--text); }

/* --- ভাঙা সার্ভিস আইকনের fallback অক্ষর --- */
.icon-fallback-letter {
  font-family: 'Rajdhani', sans-serif; font-weight: 800; font-size: 18px;
  color: var(--text-faint);
}

/* --- অর্ডার remains প্রগ্রেস বার (প্রিমিয়াম লুক) --- */
.remains-bar-wrap {
  width: 100%; margin-top: 12px; padding: 10px 12px;
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 3px 10px rgba(0,0,0,0.2);
}
.remains-bar-track {
  position: relative;
  width: 100%; height: 10px; border-radius: 10px;
  background: #0a0d13; overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}
.remains-bar-fill {
  position: relative;
  height: 100%; border-radius: 10px;
  background: linear-gradient(90deg, var(--gold), var(--success));
  box-shadow: 0 0 10px rgba(242,183,5,0.5);
  transition: width 0.5s ease;
  overflow: hidden;
}
.remains-bar-fill::after {
  content: "";
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  animation: remains-shine-sweep 2.2s ease-in-out infinite;
}
@keyframes remains-shine-sweep {
  0% { left: -60%; }
  100% { left: 140%; }
}
.remains-bar-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; color: var(--text-muted); margin-top: 8px;
}
.remains-bar-label span {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 20px;
  background: rgba(255,255,255,0.03);
}
.remains-bar-label b { color: var(--text); font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .remains-bar-fill::after { animation: none; }
}

/* --- Auto-Like সাবস্ক্রিপশন প্রোগ্রেস বক্স (Order History) --- */
.subscription-box {
  width: 100%; margin-top: 12px; padding: 12px 14px;
  background: linear-gradient(155deg, rgba(242,183,5,0.08), var(--surface));
  border: 1px solid rgba(242,183,5,0.25); border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 3px 10px rgba(0,0,0,0.2);
}
.subscription-box-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; font-weight: 700; color: var(--gold); margin-bottom: 8px;
}
.subscription-box-foot {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 6px;
  font-size: 11.5px; color: var(--text-muted); margin-top: 8px;
}
.sub-status-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 20px; font-weight: 700; font-size: 11px;
}
.sub-status-sent { background: var(--success-bg); color: var(--success); }
.sub-status-pending { background: var(--warning-bg); color: var(--warning); }
.sub-status-done { background: rgba(59,130,246,0.12); color: #7db6ff; }
.sub-status-stopped { background: var(--danger-bg); color: var(--danger); }

/* --- প্রোফাইল পেজ প্রিমিয়াম ডিজাইন --- */
.profile-hero {
  position: relative;
  text-align: center;
  padding: 34px 20px 24px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 70%);
  border: 1px solid var(--border);
  overflow: hidden;
}
.profile-hero-glow {
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,183,5,0.22) 0%, rgba(242,183,5,0) 70%);
  pointer-events: none;
}
.profile-hero-glow-2 {
  position: absolute; bottom: -50px; right: -30px;
  width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.16) 0%, rgba(59,130,246,0) 70%);
  pointer-events: none;
}
.profile-avatar-ring {
  position: relative; width: 96px; height: 96px; margin: 0 auto 14px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--gold), var(--primary));
  box-shadow: 0 0 24px rgba(242,183,5,0.3);
  animation: profile-ring-pulse 3.2s ease-in-out infinite;
}
.profile-avatar-ring::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, rgba(242,183,5,0.7), rgba(59,130,246,0.5), rgba(242,183,5,0.7));
  animation: avatar-ring-spin 5s linear infinite;
  opacity: 0.55; filter: blur(1px);
}
@keyframes avatar-ring-spin { to { transform: rotate(360deg); } }
@keyframes profile-ring-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(242,183,5,0.28); }
  50% { box-shadow: 0 0 32px rgba(242,183,5,0.48); }
}
.profile-avatar {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--surface); display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 800; color: var(--text);
  font-family: 'Rajdhani', sans-serif;
}
.profile-verified-tick {
  position: absolute; bottom: 0; right: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--success); color: #fff; font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--surface);
}
.profile-name { font-size: 20px; font-weight: 700; margin-bottom: 2px; position: relative; }
.profile-email { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; position: relative; }
.profile-badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; position: relative; }

.premium-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.premium-stat-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.premium-stat-row.cols-3 .premium-stat-card { padding: 13px 6px; }
.premium-stat-row.cols-3 .premium-stat-icon { width: 32px; height: 32px; font-size: 15px; margin-bottom: 7px; }
.premium-stat-row.cols-3 .value { font-size: 14.5px; }
.premium-stat-row.cols-3 .label { font-size: 10px; }
.premium-stat-card {
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 12px; text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.premium-stat-card:active { transform: scale(0.98); }
.premium-stat-card .premium-stat-icon {
  width: 38px; height: 38px; border-radius: 12px; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.premium-stat-card .value { font-size: 17px; font-weight: 700; }
.premium-stat-card .label { font-size: 11px; color: var(--text-faint); margin-top: 3px; }

/* --- সাপোর্ট/অভিযোগ টিকেট থ্রেড (প্রোফাইল পেজ) --- */
.ticket-thread { display: flex; flex-direction: column; gap: 16px; }
.ticket-item { }
.ticket-item-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ticket-item-time { font-size: 11px; color: var(--text-faint); }
.ticket-bubble {
  border-radius: 14px; padding: 10px 13px; font-size: 13.5px; line-height: 1.5;
  border: 1px solid var(--border); position: relative;
}
.ticket-bubble-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 3px; opacity: 0.75; }
.ticket-bubble-user {
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  margin-right: 28px;
}
.ticket-bubble-admin {
  background: linear-gradient(155deg, rgba(242,183,5,0.14), rgba(242,183,5,0.05));
  border-color: rgba(242,183,5,0.3);
  margin-left: 28px; margin-top: 8px;
}
.ticket-bubble-admin .ticket-bubble-label { color: var(--gold); }

/* --- Support পেজ (নীল/সায়ান থিম — টাকা/অর্ডারের গোল্ড থেকে ইচ্ছাকৃতভাবে আলাদা) --- */
.support-hero {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(160deg, #16233a, #0d111a 70%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 20px 22px; margin-bottom: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
}
.support-hero-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(28px); }
.support-hero-orb.orb-1 { width: 160px; height: 160px; top: -70px; left: -30px; background: radial-gradient(circle, rgba(56,189,248,0.28), transparent 70%); }
.support-hero-orb.orb-2 { width: 120px; height: 120px; bottom: -50px; right: -20px; background: radial-gradient(circle, rgba(99,102,241,0.22), transparent 70%); }
.support-hero-icon {
  width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: linear-gradient(155deg, rgba(56,189,248,0.22), rgba(99,102,241,0.12));
  border: 1px solid rgba(56,189,248,0.35);
  box-shadow: 0 6px 18px rgba(56,189,248,0.15);
}
.support-composer { margin-bottom: 18px; }
.ticket-item.card { padding: 14px; }

/* --- সাপোর্ট চ্যাট (WhatsApp-স্টাইল বাবল, দুই-পাশে) --- */
.chat-window { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.chat-thread {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px; max-height: 58vh; min-height: 200px; overflow-y: auto;
  scroll-behavior: smooth;
}
.chat-bubble-row { display: flex; }
.chat-bubble-row-admin { justify-content: flex-start; }
.chat-bubble-row-user { justify-content: flex-end; }
.chat-bubble {
  max-width: 78%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.5;
  word-break: break-word; animation: fadeSlideUp 0.3s ease both;
}
.chat-bubble-admin {
  background: linear-gradient(155deg, rgba(56,189,248,0.16), rgba(56,189,248,0.06));
  border: 1px solid rgba(56,189,248,0.3); border-bottom-left-radius: 4px;
}
.chat-bubble-user {
  background: linear-gradient(155deg, #f4f6fa, #e3e7ee);
  color: #171a21; border-bottom-right-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.chat-bubble-time { font-size: 10px; opacity: 0.65; margin-top: 4px; text-align: right; }
.chat-composer {
  display: flex; align-items: flex-end; gap: 8px;
  padding: 12px; border-top: 1px solid var(--border); background: var(--surface-2);
}
.chat-input {
  flex: 1; resize: none; border-radius: 20px; padding: 10px 16px; max-height: 110px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-family: inherit; font-size: 13.5px; line-height: 1.4;
}
.chat-send-btn {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--gold), #e0293b); color: #16130a;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(242,183,5,0.3); transition: transform 0.15s ease;
}
.chat-send-btn:active { transform: scale(0.92); }

/* --- অ্যাডমিন সাপোর্ট ইনবক্স --- */
.inbox-row {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text);
  margin-bottom: 8px; transition: border-color 0.15s ease;
}
.inbox-row:hover { border-color: var(--gold); }
.inbox-row-unread { border-color: rgba(242,183,5,0.4); background: linear-gradient(155deg, rgba(242,183,5,0.06), var(--surface)); }
.inbox-unread-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; margin-top: 4px;
  background: var(--danger); color: #fff; font-size: 11px; font-weight: 800;
}

.premium-card {
  border-image: none; position: relative;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 85%);
}
.premium-card .card-header h3 { display: flex; align-items: center; gap: 6px; }
.premium-card::after {
  content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  border-radius: 0 0 3px 3px; pointer-events: none;
}
.premium-card-icon {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(155deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}
.premium-card .card-header h3 .premium-card-icon + span,
.premium-card-title-text { font-family: 'Rajdhani', sans-serif; }

/* --- Reseller API কার্ড: টার্মিনাল/টেক ভাইব --- */
.api-credential-box {
  background: rgba(0,0,0,0.28); border: 1px solid rgba(242,183,5,0.28);
  border-radius: var(--radius-sm); padding: 12px; margin-bottom: 12px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}
.api-credential-box .field { margin-bottom: 0; }
.api-credential-box .field + .field { margin-top: 12px; }
.api-credential-box label { color: var(--gold); font-size: 11px; letter-spacing: .04em; }
.api-secure-badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px;
  color: var(--success); background: var(--success-bg); padding: 3px 9px;
  border-radius: 20px; margin-bottom: 10px; font-weight: 700;
}

/* --- Orders পেজ প্রিমিয়াম 3D ডিজাইন --- */
.orders-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; margin-bottom: 16px;
}
.orders-hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none; filter: blur(30px);
}
.orders-hero-orb.orb-1 { width: 140px; height: 140px; top: -60px; right: -30px; background: radial-gradient(circle, rgba(242,183,5,0.25), transparent 70%); }
.orders-hero-orb.orb-2 { width: 100px; height: 100px; bottom: -50px; left: -20px; background: radial-gradient(circle, rgba(43,182,115,0.2), transparent 70%); }

.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 0 0 rgba(43,182,115,0.6);
  animation: live-pulse 1.6s infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(43,182,115,0.6); }
  70% { box-shadow: 0 0 0 7px rgba(43,182,115,0); }
  100% { box-shadow: 0 0 0 0 rgba(43,182,115,0); }
}

.order-card-3d {
  position: relative;
  background: linear-gradient(155deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.03);
  transform: perspective(600px) rotateX(0deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.4s ease;
  overflow: hidden;
}
.order-card-3d:active { transform: perspective(600px) rotateX(2deg) scale(0.99); }
.order-card-3d-shine {
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.05), transparent);
  pointer-events: none;
}
.order-card-updated {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 2px rgba(242,183,5,0.35), 0 6px 18px rgba(0,0,0,0.28) !important;
}
.order-card-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-card-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.order-card-main { flex: 1; min-width: 140px; }
.order-card-title { font-weight: 700; font-size: 14px; }
.order-card-sub { font-size: 11.5px; color: var(--text-faint); margin-top: 2px; }
.order-code-chip { color: var(--gold); font-size: 10.5px; }

/* --- অর্ডার কার্ডের বাম পাশে অবস্থা-অনুযায়ী রঙিন accent বার — এক নজরে অবস্থা বোঝার জন্য --- */
.order-card-accent-processing { border-left: 3px solid var(--warning); }
.order-card-accent-completed { border-left: 3px solid var(--success); }
.order-card-accent-refunded { border-left: 3px solid #38bdf8; }
.order-card-accent-cancelled { border-left: 3px solid var(--danger); }

.pager-3d { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; }
.pager-btn {
  padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 700; text-decoration: none;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pager-btn:hover { border-color: var(--gold); color: var(--gold); }
.pager-btn-disabled { opacity: 0.35; pointer-events: none; }
.pager-count { font-size: 12.5px; color: var(--text-faint); }

/* --- অর্ডার ফিল্টার ট্যাব — অনুভূমিকভাবে স্ক্রল হয় (৫টা ট্যাব ছোট স্ক্রিনেও ফিট করার জন্য) --- */
.order-filter-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px;
  scrollbar-width: none;
}
.order-filter-tabs::-webkit-scrollbar { display: none; }
.order-filter-tab {
  flex-shrink: 0; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  padding: 8px 14px; border-radius: 20px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted);
  transition: all 0.18s ease;
}
.order-filter-tab.active { background: linear-gradient(135deg, var(--gold), #e0293b); color: #16130a; border-color: transparent; }

/* --- Add Money পেজ প্রিমিয়াম 3D ডিজাইন --- */
.balance-hero-3d {
  position: relative; overflow: hidden; text-align: center;
  padding: 26px 20px; border-radius: var(--radius); margin-bottom: 8px;
  background: linear-gradient(145deg, #1b2332 0%, #0d111a 60%, #1b2332 100%);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}
.balance-hero-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 260px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,41,59,0.25), transparent 70%);
  pointer-events: none;
}
.balance-hero-amount {
  position: relative; font-size: 36px; font-weight: 800; margin-top: 4px;
  background: linear-gradient(90deg, #f2b705, #e0293b, #f2b705);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: balance-gradient-move 4s linear infinite;
}
@keyframes balance-gradient-move {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.balance-hero-shimmer {
  position: absolute; top: 0; left: -40%; width: 30%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: marquee-shine-sweep 4s ease-in-out infinite;
}

.trust-badge-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: -6px 0 16px; }
.trust-badge {
  font-size: 10.5px; font-weight: 700; color: var(--text-muted);
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 5px 10px; border-radius: 20px;
}

.pay-method-3d {
  position: relative; display: flex; align-items: center; gap: 12px;
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px; margin-bottom: 10px; text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pay-method-3d:active { transform: scale(0.98) translateY(1px); }
.pay-method-3d:hover { border-color: var(--accent); box-shadow: 0 8px 22px rgba(0,0,0,0.32); }
.pay-method-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.pay-method-main { flex: 1; }
.pay-method-title { font-weight: 700; font-size: 14.5px; }
.pay-method-sub { color: var(--text-faint); font-size: 11.5px; margin-top: 2px; }
.pay-method-arrow { color: var(--text-faint); font-size: 18px; }

/* --- অ্যাডমিন প্যানেল প্রিমিয়াম 3D ডিজাইন --- */
.admin-hero-3d {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #1b2332, #0d111a);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; margin-bottom: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
}
.admin-hero-orb {
  position: absolute; top: -70px; right: -40px; width: 180px; height: 180px;
  border-radius: 50%; background: radial-gradient(circle, rgba(242,183,5,0.22), transparent 70%);
  pointer-events: none;
}
.admin-stat-grid-3d {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px;
}
.admin-stat-3d {
  position: relative; text-align: center; padding: 16px 10px;
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  border-top: 2px solid var(--accent, var(--gold));
}
.admin-stat-3d .admin-stat-icon { font-size: 20px; margin-bottom: 6px; }
.admin-stat-3d .value { font-size: 19px; font-weight: 800; }
.admin-stat-3d .label { font-size: 11px; color: var(--text-faint); margin-top: 3px; }
.admin-premium-card {
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 85%);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* --- অর্ডার পেজে লাইভ প্রাইস প্রিভিউ --- */
.live-price-preview {
  margin-top: 8px; padding: 10px 12px; border-radius: var(--radius-sm);
  background: rgba(242,183,5,0.1); border: 1px solid rgba(242,183,5,0.3);
  font-size: 14px; font-weight: 600; color: var(--gold);
}

/* --- ইউজারের অর্ডারে রিফান্ড ব্যাজ --- */
.refund-badge {
  margin-top: 10px; padding: 8px 10px; border-radius: var(--radius-sm);
  background: rgba(242,183,5,0.1); border: 1px solid rgba(242,183,5,0.3);
  font-size: 12.5px; color: var(--gold);
}
.refund-badge-none { background: var(--danger-bg); border-color: rgba(239,68,68,0.3); color: var(--danger); }

/* --- ডেলিভারি সামারি (Free Fire Like ইত্যাদি — নাম/আগে/নতুন লাইক, পরিষ্কার ৩ লাইন) --- */
.delivery-summary-box {
  margin-top: 10px; padding: 10px 12px;
  background: var(--success-bg); border: 1px solid rgba(43,182,115,0.3);
  border-radius: var(--radius-sm);
}
.delivery-summary-line { font-size: 12.5px; color: var(--success); font-weight: 600; line-height: 1.6; }
.delivery-summary-line + .delivery-summary-line { margin-top: 1px; }

/* --- UID নেম চেক রেজাল্ট (Free Fire ইত্যাদি কাস্টম সার্ভিস) --- */
.uid-check-result {
  margin-top: 8px; padding: 8px 10px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
}
.uid-check-error { background: var(--warning-bg); color: var(--warning); }
.uid-check-success {
  background: linear-gradient(155deg, var(--success-bg), rgba(43,182,115,0.05));
  border: 1px solid rgba(43,182,115,0.35);
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
}
.uid-check-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--success), #1f8f5c);
  color: #08130d; font-family: 'Rajdhani', sans-serif; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(43,182,115,0.35);
}
.uid-check-info { min-width: 0; }
.uid-check-label { font-size: 10.5px; color: var(--success); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.uid-check-name { font-size: 14.5px; font-weight: 700; color: var(--text); margin-top: 1px; word-break: break-word; }

/* --- প্রোফাইল ছবি এডিট/আপলোড বাটন --- */
.profile-avatar-edit-btn {
  position: absolute; left: -2px; bottom: -2px; z-index: 3;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #c99304);
  border: 3px solid var(--surface); color: #1a1400;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(242,183,5,0.4);
  cursor: pointer; padding: 0; font-size: 14px;
}
.profile-avatar-edit-btn:active { transform: scale(0.92); }
.profile-avatar-edit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.avatar-uploading .profile-avatar { opacity: 0.35; }
.avatar-uploading::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 26px; height: 26px;
  border-radius: 50%; border: 3px solid rgba(242,183,5,0.25); border-top-color: var(--gold);
  animation: avatar-spin 0.7s linear infinite;
}
@keyframes avatar-spin { to { transform: rotate(360deg); } }
.avatar-remove-link {
  display: inline-block; margin-top: 4px; font-size: 12px; color: var(--text-faint);
  text-decoration: underline; cursor: pointer;
}
.avatar-remove-link:hover { color: var(--danger); }

/* --- অ্যাডমিন সার্ভিস ফর্ম: PER_UNIT লাইভ প্রাইস উদাহরণ --- */
.admin-price-example {
  margin-top: 8px; padding: 9px 12px; border-radius: var(--radius-sm);
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.3);
  font-size: 12.5px; color: #7db6ff; font-weight: 600;
  word-break: break-all;
}
.admin-price-example-warn { background: var(--danger-bg); border-color: rgba(239,68,68,0.35); color: var(--danger); }

/* --- অ্যাডমিন ফর্ম সেকশন (নতুন/এডিট সার্ভিস — মূল তথ্য/প্রাইসিং/কাস্টম প্রোভাইডার) --- */
.form-section {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 14px 2px; margin-bottom: 18px;
  background: rgba(255,255,255,0.012);
}
.form-section-header {
  display: flex; align-items: center; gap: 9px; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px dashed var(--border);
}
.form-section-icon {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.form-section-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 15px; }
.form-section-sub { font-size: 11.5px; color: var(--text-faint); margin-top: 1px; }
.form-section.accent-gold { border-color: rgba(242,183,5,0.35); background: rgba(242,183,5,0.035); }
.form-section.accent-gold .form-section-icon { border-color: rgba(242,183,5,0.4); box-shadow: 0 0 12px rgba(242,183,5,0.15); }

/* --- প্রাইসিং/ফুলফিলমেন্ট মোড সিলেক্টর: কার্ড-স্টাইল রেডিও গ্রুপ --- */
.mode-card-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.mode-card-group.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mode-card-group.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 480px) { .mode-card-group.cols-3, .mode-card-group.cols-4 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .mode-card-group.cols-4 { grid-template-columns: 1fr 1fr; } }
.mode-card {
  position: relative; display: block; cursor: pointer;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px; background: var(--surface-2);
  transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}
.mode-card input { position: absolute; opacity: 0; }
.mode-card:hover { transform: translateY(-1px); border-color: var(--text-faint); }
.mode-card:has(input:checked) {
  border-color: var(--gold); background: rgba(242,183,5,0.07);
  box-shadow: 0 4px 14px rgba(242,183,5,0.12);
}
.mode-card .mode-card-title { font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.mode-card .mode-card-desc { font-size: 11.5px; color: var(--text-faint); margin-top: 3px; line-height: 1.4; }
.mode-card-check {
  position: absolute; top: 10px; right: 10px; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--surface);
}
.mode-card:has(input:checked) .mode-card-check {
  border-color: var(--gold); background: var(--gold);
  box-shadow: 0 0 0 3px rgba(242,183,5,0.18);
}

/* --- অ্যাডমিন ক্যাটাগরি/সার্ভিস লিস্ট: প্রিমিয়াম কার্ড গ্রিড (টেবিলের বদলে) --- */
.admin-list-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .admin-list-grid { grid-template-columns: 1fr 1fr; } }
.admin-list-card {
  position: relative;
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px; box-shadow: 0 5px 16px rgba(0,0,0,0.22);
  transition: border-color .15s ease, transform .15s ease;
}
.admin-list-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.admin-list-card-top { display: flex; align-items: flex-start; gap: 10px; justify-content: space-between; }
.admin-list-card-icon {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-family: 'Rajdhani', sans-serif; font-weight: 800; color: var(--text-faint);
}
.admin-list-card-icon img { width: 100%; height: 100%; object-fit: contain; }
.admin-list-card-name { font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.admin-list-card-meta { font-size: 11.5px; color: var(--text-faint); margin-top: 2px; }
.admin-list-card-tags { display: flex; gap: 5px; flex-wrap: wrap; margin: 10px 0; }
.admin-list-card-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.admin-list-card-actions form { display: contents; }
