/* ==========================================================================
   GardB2B - Modern Crypto & Fintech Design System (Light & Dark Mode)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600&display=swap');

:root,
[data-theme="light"] {
  /* Core Brand Colors */
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-dark: #047857;
  --primary-glow: rgba(16, 185, 129, 0.25);
  
  --secondary: #0ea5e9;
  --secondary-hover: #0284c7;
  --cham-purple: #7c3aed;
  --cham-purple-glow: rgba(124, 58, 237, 0.25);

  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --success: #10b981;

  /* Light Theme Variables */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-color: #e2e8f0;
  --border-subtle: #edf2f7;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --navbar-bg: rgba(255, 255, 255, 0.85);
  --hero-gradient: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.12) 0%, rgba(14, 165, 233, 0.05) 45%, rgba(248, 250, 252, 0) 70%);
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 20px 30px -10px rgba(16, 185, 129, 0.12), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --input-bg: #ffffff;
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --bg-page: #0a0f1d;
  --bg-surface: #111827;
  --bg-surface-elevated: #1a2234;
  --bg-subtle: #162032;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --navbar-bg: rgba(10, 15, 29, 0.85);
  --hero-gradient: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.22) 0%, rgba(14, 165, 233, 0.1) 45%, rgba(10, 15, 29, 0) 75%);
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
  --card-shadow-hover: 0 20px 30px -10px rgba(16, 185, 129, 0.2), 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --input-bg: #141c2e;
}

/* Base Elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.15s ease;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.mono-font {
  font-family: 'JetBrains Mono', monospace;
  direction: ltr;
  display: inline-block;
}

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

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Essential Utility Helpers
   ========================================================================== */
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }
.text-justify { text-align: justify !important; }

.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }
.ml-auto { margin-left: auto !important; }
.mr-auto { margin-right: auto !important; }

.w-full { width: 100% !important; }
.w-auto { width: auto !important; }
.w-16 { width: 4rem !important; }
.h-16 { height: 4rem !important; }
.w-20 { width: 5rem !important; }
.h-20 { height: 5rem !important; }

.max-w-xs { max-width: 20rem !important; }
.max-w-sm { max-width: 24rem !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-lg { max-width: 32rem !important; }
.max-w-xl { max-width: 36rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.max-w-3xl { max-width: 48rem !important; }
.max-w-4xl { max-width: 56rem !important; }
.max-w-5xl { max-width: 64rem !important; }

.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.items-end { align-items: flex-end !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-start { justify-content: flex-start !important; }
.justify-end { justify-content: flex-end !important; }
.flex-1 { flex: 1 1 0% !important; }
.shrink-0 { flex-shrink: 0 !important; }

.gap-1 { gap: 0.25rem !important; }
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-5 { gap: 1.25rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }

.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mt-10 { margin-top: 2.5rem !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }

.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-4 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-6 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-8 { margin-top: 2rem !important; margin-bottom: 2rem !important; }

.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-10 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-16 { padding-top: 4rem !important; padding-bottom: 4rem !important; }

.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 0.75rem !important; }
.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }

.text-xs { font-size: 0.75rem !important; }
.text-sm { font-size: 0.875rem !important; }
.text-base { font-size: 1rem !important; }
.text-lg { font-size: 1.125rem !important; }
.text-xl { font-size: 1.25rem !important; }
.text-2xl { font-size: 1.5rem !important; }
.text-3xl { font-size: 1.875rem !important; }
.text-4xl { font-size: 2.25rem !important; }

.font-normal { font-weight: 400 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.font-black { font-weight: 900 !important; }

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-main { color: var(--text-main) !important; }
.text-emerald-400 { color: #34d399 !important; }
.text-emerald-500 { color: #10b981 !important; }
.text-sky-400 { color: #38bdf8 !important; }
.text-sky-500 { color: #0ea5e9 !important; }
.text-purple-400 { color: #c084fc !important; }
.text-purple-500 { color: #a855f7 !important; }
.text-amber-400 { color: #fbbf24 !important; }
.text-amber-500 { color: #f59e0b !important; }
.text-slate-700 { color: #334155 !important; }
.text-slate-600 { color: #475569 !important; }
.text-danger { color: var(--danger) !important; }

.bg-subtle { background-color: var(--bg-subtle) !important; }
.bg-surface { background-color: var(--bg-surface) !important; }
.border-color { border-color: var(--border-color) !important; }
.border { border-width: 1px !important; border-style: solid !important; }
.border-2 { border-width: 2px !important; border-style: solid !important; }
.border-dashed { border-style: dashed !important; }
.border-t { border-top-width: 1px !important; border-top-style: solid !important; }
.border-b { border-bottom-width: 1px !important; border-bottom-style: solid !important; }

.rounded-lg { border-radius: 8px !important; }
.rounded-xl { border-radius: 14px !important; }
.rounded-2xl { border-radius: 20px !important; }
.rounded-full { border-radius: 9999px !important; }
.block { display: block !important; }
.inline-block { display: inline-block !important; }
.hidden { display: none !important; }
.cursor-pointer { cursor: pointer !important; }
.transition { transition: all 0.25s ease !important; }
.break-all { word-break: break-all !important; }
.overflow-hidden { overflow: hidden !important; }
.leading-relaxed { line-height: 1.75 !important; }
.uppercase { text-transform: uppercase !important; }
.list-disc { list-style-type: disc !important; }
.list-inside { list-style-position: inside !important; }

.w-6 { width: 1.5rem !important; }
.h-6 { height: 1.5rem !important; }
.w-7 { width: 1.75rem !important; }
.h-7 { height: 1.75rem !important; }
.w-8 { width: 2rem !important; }
.h-8 { height: 2rem !important; }
.w-9 { width: 2.25rem !important; }
.h-9 { height: 2.25rem !important; }
.w-10 { width: 2.5rem !important; }
.h-10 { height: 2.5rem !important; }
.w-12 { width: 3rem !important; }
.h-12 { height: 3rem !important; }
.w-14 { width: 3.5rem !important; }
.h-14 { height: 3.5rem !important; }
.w-16 { width: 4rem !important; }
.h-16 { height: 4rem !important; }
.w-20 { width: 5rem !important; }
.h-20 { height: 5rem !important; }
.w-24 { width: 6rem !important; }
.h-24 { height: 6rem !important; }
.w-32 { width: 8rem !important; }
.h-32 { height: 8rem !important; }
.w-36 { width: 9rem !important; }
.h-36 { height: 9rem !important; }
.w-48 { width: 12rem !important; }
.h-48 { height: 12rem !important; }
.w-64 { width: 16rem !important; }
.h-64 { height: 16rem !important; }
.w-fit { width: fit-content !important; }

.max-w-xs { max-width: 20rem !important; }
.max-w-sm { max-width: 24rem !important; }
.max-w-md { max-width: 28rem !important; }
.max-h-96 { max-height: 24rem !important; }

.object-contain { object-fit: contain !important; }
.object-cover { object-fit: cover !important; }
.aspect-square { aspect-ratio: 1 / 1 !important; }

@media (min-width: 640px) {
  .sm\:w-36 { width: 9rem !important; }
  .sm\:h-36 { height: 9rem !important; }
}

/* ==========================================================================
   QR Code Display Standards (Enforcing sizes across Admin & Client interfaces)
   ========================================================================== */
.qr-code-img {
  width: 144px !important;
  height: 144px !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  background-color: #ffffff !important;
  border-radius: 12px;
  padding: 6px;
  display: block;
}

.qr-code-img-sm {
  width: 96px !important;
  height: 96px !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  background-color: #ffffff !important;
  border-radius: 8px;
  padding: 4px;
  display: block;
}

.qr-code-img-lg {
  width: 180px !important;
  height: 180px !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  background-color: #ffffff !important;
  border-radius: 14px;
  padding: 8px;
  display: block;
}

.qr-container-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}

.shrink-0 { flex-shrink: 0 !important; }
.whitespace-nowrap { white-space: nowrap !important; }

/* Dynamic Alpha / Utility Color Helpers */
.bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.12) !important; }
.border-emerald-500\/20 { border-color: rgba(16, 185, 129, 0.25) !important; }
.bg-amber-500\/10 { background-color: rgba(245, 158, 11, 0.12) !important; }
.bg-amber-500\/5 { background-color: rgba(245, 158, 11, 0.05) !important; }
.border-amber-500\/20 { border-color: rgba(245, 158, 11, 0.25) !important; }
.border-amber-500\/40 { border-color: rgba(245, 158, 11, 0.4) !important; }
.bg-sky-500\/10 { background-color: rgba(14, 165, 233, 0.12) !important; }
.border-sky-500\/20 { border-color: rgba(14, 165, 233, 0.25) !important; }
.bg-purple-500\/10 { background-color: rgba(124, 58, 237, 0.12) !important; }
.border-purple-500\/20 { border-color: rgba(124, 58, 237, 0.25) !important; }
.bg-rose-500\/10 { background-color: rgba(239, 68, 68, 0.12) !important; }
.border-rose-500\/20 { border-color: rgba(239, 68, 68, 0.25) !important; }


.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }

.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-10 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-14 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
.py-16 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.py-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

.pt-2 { padding-top: 0.5rem !important; }
.pt-4 { padding-top: 1rem !important; }
.pt-6 { padding-top: 1.5rem !important; }
.pt-8 { padding-top: 2rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-4 { padding-bottom: 1rem !important; }
.pb-6 { padding-bottom: 1.5rem !important; }
.pb-8 { padding-bottom: 2rem !important; }

.mt-2 { margin-top: 0.5rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mt-10 { margin-top: 2.5rem !important; }
.mt-12 { margin-top: 3rem !important; }
.mt-14 { margin-top: 3.5rem !important; }
.mt-16 { margin-top: 4rem !important; }
.mt-20 { margin-top: 5rem !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 1.25rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mb-14 { margin-bottom: 3.5rem !important; }
.mb-16 { margin-bottom: 4rem !important; }
.mb-20 { margin-bottom: 5rem !important; }

.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-4 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-6 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-8 { margin-top: 2rem !important; margin-bottom: 2rem !important; }
.my-10 { margin-top: 2.5rem !important; margin-bottom: 2.5rem !important; }
.my-12 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.my-14 { margin-top: 3.5rem !important; margin-bottom: 3.5rem !important; }
.my-16 { margin-top: 4rem !important; margin-bottom: 4rem !important; }
.my-20 { margin-top: 5rem !important; margin-bottom: 5rem !important; }

.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }
.gap-10 { gap: 2.5rem !important; }
.gap-12 { gap: 3rem !important; }
.gap-14 { gap: 3.5rem !important; }
.gap-16 { gap: 4rem !important; }

.section-spacer {
  height: 4rem;
  width: 100%;
}
.section-spacer-sm {
  height: 2.5rem;
  width: 100%;
}
.section-spacer-lg {
  height: 5.5rem;
  width: 100%;
}
.section-divider {
  height: 1px;
  width: 100%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, var(--border-color) 60%, transparent 100%);
  margin: 4.5rem 0;
  border: none;
}

.max-w-120 { max-width: 120px !important; }
.max-w-\[120px\] { max-width: 120px !important; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; }
.shadow { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important; }
.shadow-md { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }
.shadow-lg { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important; }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row !important; }
  .sm\:w-auto { width: auto !important; }
  .sm\:w-full { width: 100% !important; }
}
@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row !important; }
  .md\:w-auto { width: auto !important; }
}

.col-span-2 { grid-column: span 2 / span 2 !important; }
.col-span-3 { grid-column: span 3 / span 3 !important; }
.col-span-full { grid-column: 1 / -1 !important; }

.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem !important; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem !important; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem !important; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem !important; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem !important; }

.space-x-1 > :not([hidden]) ~ :not([hidden]) { margin-inline-start: 0.25rem !important; }
.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-inline-start: 0.5rem !important; }
.space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-inline-start: 0.75rem !important; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-inline-start: 1rem !important; }

/* ==========================================================================
   Inner Pages Premium Design System (Page Hero, Order Layout, Stats, FAQ)
   ========================================================================== */

/* Page Hero Banner */
.page-hero {
  position: relative;
  padding: 3.5rem 0 2.75rem;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.16) 0%, rgba(14, 165, 233, 0.08) 45%, rgba(10, 15, 29, 0) 75%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  text-align: center;
}

[data-theme="light"] .page-hero {
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.1) 0%, rgba(14, 165, 233, 0.05) 45%, rgba(248, 250, 252, 0) 75%);
}

.page-hero-container {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 1.25rem;
}

.page-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
}

[data-theme="light"] .page-breadcrumbs {
  background: rgba(0, 0, 0, 0.03);
}

.page-breadcrumbs a {
  color: var(--primary);
  font-weight: 600;
  transition: color 0.2s;
}

.page-breadcrumbs a:hover {
  color: var(--primary-hover);
}

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.825rem;
  font-weight: 800;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.page-hero-title {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.page-hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Order Page Layout */
.order-layout-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 2.25rem;
  align-items: start;
}

@media (max-width: 992px) {
  .order-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Option Radio Cards */
.option-radio-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.1rem;
  border-radius: 16px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-surface-elevated);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  user-select: none;
}

.option-radio-card:hover {
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

.option-radio-card.active,
.option-radio-card:has(input[type="radio"]:checked) {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 0 1px var(--primary), 0 4px 15px -3px var(--primary-glow);
}

.option-radio-card.active-sell,
.option-radio-card:has(input[value="sell"]:checked) {
  border-color: var(--secondary);
  background: rgba(14, 165, 233, 0.08);
  box-shadow: 0 0 0 1px var(--secondary), 0 4px 15px -3px rgba(14, 165, 233, 0.3);
}

.option-radio-card input[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

/* Live Rate Badge */
.rate-badge-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 14px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.95rem;
  box-shadow: 0 2px 10px -2px rgba(16, 185, 129, 0.15);
}

.rate-badge-live .beacon-dot {
  width: 9px;
  height: 9px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
  animation: pulse-green 2s infinite;
  flex-shrink: 0;
}

/* Order Summary Sticky Card */
.order-summary-card {
  position: sticky;
  top: 90px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 1.85rem;
  box-shadow: var(--card-shadow);
}

.order-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.order-summary-title {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.order-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-size: 0.925rem;
}

.order-summary-label {
  color: var(--text-muted);
}

.order-summary-value {
  font-weight: 700;
  color: var(--text-main);
}

.order-summary-divider {
  height: 1px;
  background: var(--border-color);
  margin: 1.15rem 0;
}

.order-summary-total-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.order-summary-guarantees {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.order-guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* Stats Counter Bar */
.stats-counter-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 2.25rem 1.75rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--card-shadow);
}

@media (max-width: 992px) {
  .stats-counter-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 576px) {
  .stats-counter-bar {
    grid-template-columns: 1fr;
  }
}

.stat-counter-item {
  text-align: center;
  padding: 0.5rem;
}

.stat-counter-item:not(:last-child) {
  border-inline-end: 1px solid var(--border-color);
}

@media (max-width: 992px) {
  .stat-counter-item:not(:last-child) {
    border-inline-end: none;
  }
}

.stat-counter-num {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  font-family: 'JetBrains Mono', monospace;
}

.stat-counter-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Contact Channel Cards */
.contact-channel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.85rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-channel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.contact-channel-card.whatsapp:hover {
  border-color: #25d366;
}

.contact-channel-card.telegram:hover {
  border-color: #0088cc;
}

.contact-channel-card.email:hover {
  border-color: #a855f7;
}

.contact-channel-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 1.15rem;
}

/* FAQ Cards */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.65rem;
  transition: all 0.25s ease;
}

.faq-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.faq-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.faq-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.7;
}


/* Announcement Topbar */
.announcement-bar {
  background: linear-gradient(90deg, #059669, #0d9488, #2563eb);
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--navbar-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--text-main);
}

.brand-badge {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.brand-badge-modern {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(14, 165, 233, 0.2));
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-name span:first-child {
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.brand-name span:last-child {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme Toggle Button */
.btn-theme-toggle {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn-theme-toggle:hover {
  background: var(--border-color);
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #059669);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--primary-glow);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--border-color);
  transform: translateY(-2px);
}

.btn-cham {
  background: linear-gradient(135deg, #6d28d9, #4f46e5);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--cham-purple-glow);
}

.btn-cham:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--cham-purple-glow);
  color: #ffffff;
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn-danger {
  background: var(--danger);
  color: #ffffff;
}

.btn-danger:hover {
  background: #dc2626;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section - Luxury Fintech Redesign
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 50% 10%, rgba(16, 185, 129, 0.16) 0%, rgba(14, 165, 233, 0.08) 35%, rgba(7, 11, 20, 0) 70%), var(--bg-page);
  padding: 5rem 0 4rem;
  overflow: hidden;
}

/* Subtle fintech grid pattern background */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 70%, transparent 100%);
  z-index: 0;
}

[data-theme="light"] .hero-section::before {
  background-image: radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Content Styling */
.hero-content {
  position: relative;
  z-index: 1;
}

.hero-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.1rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #34d399;
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.12);
}

.beacon-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.beacon-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #10b981;
  opacity: 0.6;
  animation: beacon-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes beacon-pulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero-content h1 {
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.85;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.55);
  color: #ffffff;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  padding: 0.95rem 1.65rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  text-decoration: none;
}

[data-theme="light"] .btn-hero-secondary {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: var(--text-main);
}

/* Micro Trust Stats underneath Hero buttons */
.hero-trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
}

.trust-metric-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-metric-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--primary);
  flex-shrink: 0;
}

.trust-metric-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.trust-metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Modern Swap / Exchange Calculator Card
   ========================================================================== */
.exchange-card-wrapper {
  position: relative;
  z-index: 1;
}

.exchange-card-glow {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(14, 165, 233, 0.1) 45%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
  border-radius: 32px;
  pointer-events: none;
}

.exchange-card {
  position: relative;
  z-index: 1;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

[data-theme="light"] .exchange-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.08);
}

.card-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-color);
}

.rates-tabs-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.35rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.25rem;
}

[data-theme="light"] .rates-tabs-segmented {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.rates-tab-btn {
  padding: 0.75rem 0.85rem;
  border-radius: 11px;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.rates-tab-btn.active.buy-tab {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.35));
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.rates-tab-btn.active.sell-tab {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(2, 132, 199, 0.35));
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.45);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}

/* Modern Swap Boxes */
.swap-box {
  background: rgba(26, 36, 56, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  transition: all 0.2s ease;
}

[data-theme="light"] .swap-box {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.swap-box:focus-within {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  background: rgba(26, 36, 56, 0.95);
}

[data-theme="light"] .swap-box:focus-within {
  background: #ffffff;
}

.swap-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.swap-box-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.quick-chips-list {
  display: flex;
  gap: 0.35rem;
}

.calc-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

[data-theme="light"] .calc-chip {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #475569;
}

.calc-chip:hover {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.4);
}

.currency-toggle-chips {
  display: flex;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.15rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .currency-toggle-chips {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.curr-chip {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.725rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.curr-chip:hover {
  color: var(--text-main);
}

.curr-chip.active {
  background: var(--bg-surface);
  color: #10b981;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .curr-chip.active {
  background: #ffffff;
  color: #059669;
}

.swap-box-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.swap-amount-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 1.65rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-main);
  direction: ltr;
  text-align: right;
  outline: none;
}

.crypto-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.45rem 0.85rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
  flex-shrink: 0;
  user-select: none;
}

.crypto-pill-badge.usdt-badge {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.crypto-pill-badge.cham-badge {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.35);
  color: #a78bfa;
}

/* Swap Middle Button */
.swap-divider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -10px 0;
  position: relative;
  z-index: 2;
}

.swap-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--border-color);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.swap-toggle-btn:hover {
  transform: rotate(180deg) scale(1.1);
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Rate Strip Modern */
.rate-strip-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin: 1.15rem 0;
  font-size: 0.85rem;
}

[data-theme="light"] .rate-strip-modern {
  background: #f8fafc;
  border-color: #e2e8f0;
}

/* Big Action Button */
.calc-cta-btn {
  width: 100%;
  padding: 0.95rem;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: all 0.25s ease;
  text-decoration: none;
}

.calc-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.55);
  color: #ffffff;
}

/* ==========================================================================
   Floating Market Ticker Bar
   ========================================================================== */
.market-ticker-section {
  position: relative;
  z-index: 2;
  margin-top: -2rem;
  padding-bottom: 2rem;
}

.market-ticker-bar {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

[data-theme="light"] .market-ticker-bar {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ticker-item:not(:last-child) {
  border-inline-end: 1px solid var(--border-color);
  padding-inline-end: 1.5rem;
}

.ticker-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.ticker-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

.ticker-value {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}


.calc-input-group {
  margin-bottom: 1rem;
}

.calc-input-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.calc-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.4rem 0.85rem;
  transition: border-color 0.2s;
}

.calc-input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.calc-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.5rem 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  outline: none;
  direction: ltr;
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
}

.calc-input-addon {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-inline-start: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  border-inline-start: 1px solid var(--border-color);
}

.calc-icon-coin {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
}

.coin-usdt {
  background: #26a17b;
}

.coin-cham {
  background: #6d28d9;
}

/* Sections Styling */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-subtle {
  background-color: var(--bg-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.75rem;
}

.section-tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Feature & Service Cards */
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  background: var(--bg-subtle);
  color: var(--primary);
  border: 1px solid var(--border-color);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Cham Cash Showcase Card */
.cham-showcase-box {
  background: linear-gradient(145deg, var(--bg-surface), var(--bg-subtle));
  border: 2px solid var(--border-color);
  border-radius: 22px;
  padding: 2.25rem;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.cham-info-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.cham-field-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 0.9rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.cham-field-content {
  flex: 1 1 0%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.cham-field-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.cham-field-value {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  direction: ltr;
  text-align: left;
  word-break: break-all;
  overflow-wrap: anywhere;
  white-space: normal;
  line-height: 1.45;
  background: rgba(0, 0, 0, 0.22);
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  display: block;
  max-width: 100%;
  box-sizing: border-box;
  user-select: all;
}

.cham-field-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cham-link-btn {
  font-size: 0.82rem !important;
  padding: 0.35rem 0.75rem !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 8px !important;
}

.copy-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.cham-qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.5rem;
  text-align: center;
}

.cham-qr-wrapper img {
  width: 180px;
  height: 180px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  padding: 6px;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Modern How It Works / Steps Section
   ========================================================================== */
.steps-container {
  position: relative;
  margin-bottom: 2.5rem;
}

.steps-connector-line {
  position: absolute;
  top: 60px;
  right: 15%;
  left: 15%;
  height: 2px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.4) 0%, rgba(124, 58, 237, 0.4) 50%, rgba(14, 165, 233, 0.4) 100%);
  z-index: 0;
  display: block;
}

@media (max-width: 992px) {
  .steps-connector-line {
    display: none;
  }
}

.step-card-modern {
  position: relative;
  z-index: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.25rem 1.75rem 2rem;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

[data-theme="dark"] .step-card-modern {
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.step-card-modern:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 25px 45px -12px rgba(16, 185, 129, 0.22);
}

.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.step-badge-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.step-tag-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.step-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.step-icon-1 {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.3));
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.step-icon-2 {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(91, 33, 182, 0.3));
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: #c084fc;
}

.step-icon-3 {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(2, 132, 199, 0.3));
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #38bdf8;
}

.step-card-modern h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.step-card-modern p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: auto;
}

/* Steps Bottom CTA Banner */
.steps-cta-banner {
  background: linear-gradient(145deg, var(--bg-surface), var(--bg-subtle));
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 2rem 2.5rem;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
}

.steps-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  width: 100%;
}

.steps-trust-bullets {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.steps-trust-bullets span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* ==========================================================================
   Modern Instant Order Tracking Hub
   ========================================================================== */
.tracking-hub-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.tracking-hub-card {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.85), rgba(15, 23, 42, 0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

[data-theme="light"] .tracking-hub-card {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-color: #cbd5e1;
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.08);
}

.tracking-hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.4rem 1.15rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.tracking-hub-card h3 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  letter-spacing: -0.5px;
}

.tracking-hub-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.tracking-unified-bar {
  display: flex;
  align-items: center;
  background: var(--input-bg);
  border: 2px solid var(--border-color);
  border-radius: 18px;
  padding: 0.4rem 0.5rem 0.4rem 1.25rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tracking-unified-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.tracking-input-icon {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-inline-end: 0.75rem;
  display: flex;
  align-items: center;
}

.tracking-unified-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 1.2rem;
  font-weight: 800;
  outline: none;
  font-family: 'JetBrains Mono', monospace;
  text-align: right;
  letter-spacing: 1px;
}

.tracking-unified-input::placeholder {
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: normal;
}

.tracking-submit-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  box-shadow: 0 6px 20px -3px var(--primary-glow);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tracking-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -3px var(--primary-glow);
  color: #ffffff;
}

@media (max-width: 640px) {
  .tracking-unified-bar {
    flex-direction: column;
    padding: 0.85rem;
    gap: 0.75rem;
  }
  .tracking-unified-input {
    width: 100%;
    text-align: center;
  }
  .tracking-submit-btn {
    width: 100%;
    justify-content: center;
  }
}

.tracking-quick-hints {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.tracking-sample-chip {
  cursor: pointer;
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  transition: all 0.2s ease;
}

.tracking-sample-chip:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Legacy compatibility classes */
.step-item {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* Form Controls */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: var(--text-main);
}

.form-label .required {
  color: var(--danger);
  margin-inline-start: 0.2rem;
}

.form-control {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* File Upload Custom Area */
.file-upload-box {
  border: 2px dashed var(--border-color);
  border-radius: 14px;
  padding: 1.75rem 1rem;
  text-align: center;
  background: var(--bg-subtle);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.file-upload-box:hover, .file-upload-box.dragover {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.05);
}

.file-upload-box input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Captcha Box */
.captcha-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.captcha-badge {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: 1px;
  user-select: none;
}

.captcha-refresh-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
}

.captcha-refresh-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap !important;
  line-height: 1.2;
}

.badge-pending {
  background: #fef3c7;
  color: #92400e;
}
[data-theme="dark"] .badge-pending {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.badge-processing {
  background: #dbeafe;
  color: #1e40af;
}
[data-theme="dark"] .badge-processing {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.badge-completed {
  background: #d1fae5;
  color: #065f46;
}
[data-theme="dark"] .badge-completed {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.badge-cancelled {
  background: #fee2e2;
  color: #991b1b;
}
[data-theme="dark"] .badge-cancelled {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* Order Tracker Progress Stepper */
.tracker-stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 2.5rem 0;
}

.tracker-stepper::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--border-color);
  z-index: 1;
}

.stepper-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 140px;
}

.stepper-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 3px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  transition: all 0.3s;
}

.stepper-step.active .stepper-icon {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 5px var(--primary-glow);
}

.stepper-step.completed .stepper-icon {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.stepper-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Alert Boxes */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--danger);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--warning);
}

.alert-info {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--info);
}

/* FAQ Accordion */
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  transition: transform 0.25s ease;
  font-size: 1.2rem;
}

.faq-item.open {
  border-color: rgba(16, 185, 129, 0.4);
}

.faq-item.open .faq-question {
  color: var(--primary);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   Luxury Fintech Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 1.75rem;
  position: relative;
}

[data-theme="dark"] .site-footer {
  background: #090d19;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
  gap: 2.75rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.35rem;
  color: var(--text-main);
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 28px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-social-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.footer-social-btn.whatsapp {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.footer-social-btn.whatsapp:hover {
  background: #10b981;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

.footer-social-btn.telegram {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #38bdf8;
}

.footer-social-btn.telegram:hover {
  background: #0ea5e9;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(14, 165, 233, 0.3);
}

/* Links */
.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.footer-nav-link i {
  font-size: 0.75rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.footer-nav-link:hover {
  color: var(--primary);
  transform: translateX(-4px);
}

.footer-nav-link:hover i {
  transform: translateX(-2px);
}

/* Payment chips */
.footer-payments-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-payment-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 0.65rem 0.95rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.footer-payment-chip:hover {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.05);
}

.footer-chip-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Contact List */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.footer-contact-content {
  display: flex;
  flex-direction: column;
}

.footer-contact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.2;
}

.footer-contact-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  direction: ltr;
  text-align: right;
  margin-top: 0.15rem;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.footer-admin-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Legacy footer classes */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ==========================================================================
   Modern Enterprise Admin Login Experience
   ========================================================================== */
.admin-login-body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0b0f19;
  background-image: 
    radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(14, 165, 233, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(15, 23, 42, 0.95) 0px, #070a12 100%);
  position: relative;
  overflow-x: hidden;
  font-family: 'Cairo', system-ui, sans-serif;
  padding: 1.5rem;
}

.login-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.login-bg-glow.glow-1 {
  width: 420px;
  height: 420px;
  background: rgba(16, 185, 129, 0.18);
  top: -100px;
  right: -100px;
}

.login-bg-glow.glow-2 {
  width: 380px;
  height: 380px;
  background: rgba(14, 165, 233, 0.14);
  bottom: -80px;
  left: -80px;
}

.login-container {
  width: 100%;
  max-width: 1080px;
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(16, 185, 129, 0.15) inset;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

[data-theme="light"] .login-container {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(226, 232, 240, 0.8);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Left Brand Presentation Panel */
.login-brand-panel {
  padding: 3.5rem 3rem;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.4) 100%);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-brand-header .brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.login-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.login-brand-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.login-brand-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.login-security-features {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.login-feat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.login-feat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.login-feat-item strong {
  display: block;
  font-size: 0.85rem;
  color: #f1f5f9;
  font-weight: 800;
}

.login-feat-item p {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: #94a3b8;
}

.login-brand-footer {
  font-size: 0.75rem;
  color: #64748b;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Right Login Form Panel */
.login-form-panel {
  padding: 3.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.35);
}

.login-card {
  width: 100%;
  max-width: 380px;
}

.login-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.35));
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.3);
}

.login-input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  transition: all 0.25s ease;
}

.login-input-group:focus-within {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.05);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.login-input-icon {
  position: absolute;
  right: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
}

.login-input {
  width: 100%;
  padding: 0.85rem 2.85rem 0.85rem 1rem;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
}

.login-password-toggle {
  position: absolute;
  left: 0.75rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.login-password-toggle:hover {
  color: var(--primary);
}

.btn-login-submit {
  width: 100%;
  padding: 0.95rem 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  font-weight: 800;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.45);
  transition: all 0.25s ease;
}

.btn-login-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.6);
}

.login-quick-creds {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}

.login-quick-creds:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.4);
}

.login-cred-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.input-highlight-pulse {
  animation: inputPulse 0.5s ease;
}

@keyframes inputPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.4); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   Modern Enterprise Admin App Layout
   ========================================================================== */
.admin-app-body {
  margin: 0;
  padding: 0;
  background: var(--bg-page);
  color: var(--text-main);
  font-family: 'Cairo', system-ui, sans-serif;
  min-height: 100vh;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Admin Sidebar */
.admin-sidebar {
  width: 275px;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-inline-end: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .admin-sidebar {
  background: #ffffff;
  border-color: #e2e8f0;
}

.admin-sidebar-header {
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.admin-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.admin-sidebar-close {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0.35rem;
}

.admin-sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-nav-group-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  opacity: 0.85;
}

.admin-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.admin-nav-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.admin-nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

[data-theme="light"] .admin-nav-icon {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.admin-nav-text {
  flex: 1;
}

.admin-nav-item a:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}

.admin-nav-item a:hover .admin-nav-icon {
  color: var(--primary);
  border-color: var(--primary-glow);
}

.admin-nav-item.active a {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.22) 100%);
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 4px 15px -3px rgba(16, 185, 129, 0.25);
}

.admin-nav-item.active a .admin-nav-icon {
  background: var(--primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.admin-badge-count {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Sidebar Footer Profile Card */
.admin-sidebar-footer {
  padding: 1rem;
  border-top: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.15);
}

.admin-footer-site-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.85rem;
  transition: all 0.2s;
}

.admin-footer-site-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.admin-user-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
}

.admin-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(14, 165, 233, 0.2));
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.admin-user-info {
  flex: 1;
  min-width: 0;
}

.admin-user-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-user-role {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: #34d399;
  font-weight: 600;
}

.admin-logout-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}

.admin-logout-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Admin Main Workspace */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-page);
}

.admin-topbar {
  height: 68px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
}

[data-theme="light"] .admin-topbar {
  background: rgba(255, 255, 255, 0.9);
  border-color: #e2e8f0;
}

.admin-mobile-toggle {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.admin-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.admin-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.admin-breadcrumbs a:hover {
  color: var(--primary);
}

.admin-breadcrumbs .current {
  color: var(--text-main);
  font-weight: 800;
}

.admin-live-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
}

.admin-top-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 40px;
  padding: 0 1rem;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  flex-shrink: 0;
}

.admin-top-action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.admin-top-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  height: 40px;
  padding: 0 0.85rem 0 0.45rem;
  border-radius: 9999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.admin-top-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.admin-top-username {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.admin-flash-wrapper {
  padding: 1.5rem 2.25rem 0;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.admin-content {
  padding: 2.25rem;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
}

/* Admin Dashboard KPI Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.2);
  border-color: rgba(16, 185, 129, 0.3);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0.65;
}

.stat-val {
  font-size: 1.85rem;
  font-weight: 900;
  margin-top: 0.25rem;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.2;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

/* Admin Page Headers */
.admin-page-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .admin-page-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.admin-page-title {
  font-size: 1.65rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  margin: 0;
}

.admin-page-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.35rem 0 0;
}

/* Responsive Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.88rem;
}

.custom-table th {
  background: var(--bg-subtle);
  padding: 1rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.custom-table td {
  padding: 1.15rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:hover td {
  background-color: var(--bg-subtle);
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  color: var(--danger);
  border-color: var(--danger);
}

/* Overlay for Mobile Sidebar Drawer */
.admin-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 95;
}

.admin-sidebar-overlay.active {
  display: block;
}

/* Responsive Breakpoints for Admin & General */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .login-container {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .login-brand-panel {
    display: none;
  }
  .login-form-panel {
    padding: 2.5rem 2rem;
  }
  .admin-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    transform: translateX(100%);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
    z-index: 1000;
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-sidebar-close {
    display: block;
  }
  .admin-mobile-toggle {
    display: inline-flex;
  }
  .admin-topbar {
    padding: 0 1.25rem;
  }
  .admin-content {
    padding: 1.5rem 1.25rem;
  }
  .admin-flash-wrapper {
    padding: 1.25rem 1.25rem 0;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .market-ticker-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .ticker-item:not(:last-child) {
    border-inline-end: none;
    padding-inline-end: 0;
  }
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cham-showcase-box {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3.5rem 0 3rem;
  }
  .hero-content h1 {
    font-size: 2.15rem;
  }
  .hero-trust-metrics {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .market-ticker-section {
    margin-top: 0;
  }
  .market-ticker-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    box-shadow: var(--card-shadow);
  }
  .nav-links.show {
    display: flex;
  }
  .tracker-stepper {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .tracker-stepper::before {
    display: none;
  }
  .stepper-step {
    flex-direction: row;
    width: 100%;
    gap: 1rem;
    text-align: right;
  }
}

/* ==========================================================================
   Admin Dynamic Content & Parameter Tabs
   ========================================================================== */
.admin-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: var(--bg-subtle);
  padding: 0.45rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.admin-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .admin-tab-btn:hover {
  background: #ffffff;
}

.admin-tab-btn.active {
  background: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Switch Toggle Component */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-color);
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
}

input:checked + .slider {
  background-color: var(--primary);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* ==========================================================================
   Admin Specialized UI Components (Action Buttons, Rates Strip, Filters)
   ========================================================================== */

/* Standard Table Action Buttons */
.table-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  text-decoration: none;
  background: var(--bg-subtle);
  color: var(--text-main);
  border-color: var(--border-color);
}

.table-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.table-action-btn.edit {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.25);
}
.table-action-btn.edit:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.table-action-btn.view {
  background: rgba(14, 165, 233, 0.12);
  color: #0ea5e9;
  border-color: rgba(14, 165, 233, 0.25);
}
.table-action-btn.view:hover {
  background: #0ea5e9;
  color: #ffffff;
  border-color: #0ea5e9;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

.table-action-btn.delete {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.25);
}
.table-action-btn.delete:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.table-action-btn.ban {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.25);
}
.table-action-btn.ban:hover {
  background: #f59e0b;
  color: #ffffff;
  border-color: #f59e0b;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.table-action-btn.unblock {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.25);
}
.table-action-btn.unblock:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* Receipt Preview Pill */
.table-receipt-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.table-receipt-btn:hover {
  background: #10b981;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

/* Copy Button for Tables */
.table-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  min-height: 24px;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.72rem;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.table-copy-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.08);
}
.table-copy-btn.copied {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #34d399 !important;
  border-color: #10b981 !important;
}

/* Admin Wallet & Account Display */
.admin-wallet-td {
  min-width: 220px;
  max-width: 320px;
  vertical-align: middle;
  white-space: normal !important;
}

.admin-wallet-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 100%;
}

.admin-wallet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.admin-wallet-address {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  word-break: break-all;
  overflow-wrap: anywhere;
  white-space: normal;
  line-height: 1.45;
  text-align: left;
  direction: ltr;
  cursor: pointer;
  user-select: all;
  transition: all 0.2s ease;
  position: relative;
}

.admin-wallet-address:hover {
  background: rgba(16, 185, 129, 0.16);
  border-color: #10b981;
}

.admin-wallet-address.cham-id {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.22);
}

.admin-wallet-address.cham-id:hover {
  background: rgba(168, 85, 247, 0.16);
  border-color: #a855f7;
}

.admin-copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.admin-copy-pill:hover,
.admin-copy-pill.copied {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

/* App Toast Notification */
.app-toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.app-toast {
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(16, 185, 129, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: appToastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
}

.app-toast.fade-out {
  animation: appToastOut 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes appToastIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

/* Rates Live Strip in Dashboard */
.admin-rates-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-rate-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.15rem;
  min-width: 135px;
  border-radius: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  text-align: center;
  flex-shrink: 0;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.admin-rate-badge:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.admin-rate-badge .rate-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.25rem;
  white-space: nowrap;
}

.admin-rate-badge .rate-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Admin Filter Toolbar */
.admin-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.admin-filter-search {
  position: relative;
  flex: 1 1 260px;
  min-width: 220px;
}

.admin-filter-search .search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.9rem;
}

.admin-filter-search input {
  width: 100%;
  height: 42px;
  padding-right: 2.6rem;
  padding-left: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--input-bg);
  color: var(--text-main);
  font-size: 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-filter-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.admin-filter-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.admin-filter-select {
  height: 42px;
  min-width: 165px;
  width: auto;
  padding: 0 1rem 0 2.2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background-color: var(--input-bg);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.75rem center;
  background-size: 1rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.admin-filter-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.admin-filter-btn {
  height: 42px;
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Sticky Action Bar for Form Saves */
.admin-sticky-bar {
  position: sticky;
  bottom: 1.25rem;
  z-index: 30;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.15rem 1.5rem;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Centered Container for Admin Forms and Settings */
.admin-form-container {
  max-width: 920px;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100%;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness Suite (Max-Width: 768px & 480px)
   ========================================================================== */

@media (max-width: 768px) {
  /* Admin Workspace Padding & Clearances */
  .admin-content {
    padding: 1rem 0.85rem 6.5rem 0.85rem !important; /* Generous bottom padding prevents the fixed bottom bar from covering content */
    max-width: 100% !important;
  }

  .admin-flash-wrapper {
    padding: 1rem 0.85rem 0 !important;
  }

  /* Compact Sleek Topbar on Mobile */
  .admin-topbar {
    height: 60px !important;
    padding: 0 0.85rem !important;
  }

  .admin-mobile-toggle {
    width: 36px !important;
    height: 36px !important;
    border-radius: 9px !important;
    font-size: 1rem !important;
    flex-shrink: 0 !important;
  }

  .admin-breadcrumb-wrap {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .admin-breadcrumbs {
    font-size: 0.85rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  .admin-breadcrumbs .breadcrumb-home,
  .admin-breadcrumbs .breadcrumb-sep {
    display: none !important;
  }

  .admin-breadcrumbs .current {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 170px !important;
    display: inline-block !important;
    line-height: 1.2 !important;
  }

  .btn-theme-toggle {
    width: 36px !important;
    height: 36px !important;
    border-radius: 9px !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
  }

  .admin-top-profile {
    height: 36px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    flex-shrink: 0 !important;
  }

  .admin-top-avatar {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.85rem !important;
  }

  /* Page Header Title & Subtitle */
  .admin-page-header {
    margin-bottom: 1.25rem !important;
    gap: 0.5rem !important;
  }

  .admin-page-title {
    font-size: 1.25rem !important;
  }

  .admin-page-subtitle {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }

  /* Swipeable Horizontal Tab Navigation */
  .admin-tabs-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 0.35rem !important;
    gap: 0.45rem !important;
    margin-bottom: 1.25rem !important;
    border-radius: 14px !important;
  }

  .admin-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }

  .admin-tab-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 0.55rem 0.9rem !important;
    font-size: 0.8rem !important;
    border-radius: 10px !important;
  }

  /* Card and Form Control Padding */
  .exchange-card {
    padding: 1.25rem 1rem !important;
    border-radius: 18px !important;
    margin-bottom: 1.25rem !important;
  }

  .card-header-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.75rem !important;
  }

  .card-header-flex > div {
    width: 100% !important;
  }

  .card-header-flex h2,
  .card-header-flex h3 {
    font-size: 0.98rem !important;
  }

  /* Mobile Form Controls & Labels */
  .form-label {
    font-size: 0.82rem !important;
    margin-bottom: 0.35rem !important;
  }

  .form-control {
    font-size: 0.9rem !important;
    padding: 0.65rem 0.85rem !important;
    border-radius: 12px !important;
  }

  /* Mobile Docked Bottom Bar */
  .admin-sticky-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 0.75rem 1.15rem 1rem !important;
    background: var(--bg-surface) !important;
    border-inline: none !important;
    border-bottom: none !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4) !important;
    z-index: 100 !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
  }

  .admin-sticky-bar .admin-sticky-note,
  .admin-sticky-bar .text-xs.text-muted {
    display: none !important;
  }

  .admin-sticky-bar .btn {
    width: 100% !important;
    height: 48px !important;
    font-size: 0.95rem !important;
    padding: 0 1rem !important;
    border-radius: 12px !important;
  }

  /* Rates Strip on Mobile */
  .admin-rates-strip {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .admin-rate-badge {
    min-width: 0 !important;
    width: 100% !important;
    padding: 0.55rem 0.65rem !important;
  }

  .admin-rate-badge .rate-val {
    font-size: 0.82rem !important;
  }

  /* Filter Bar on Mobile */
  .admin-filter-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
  }

  .admin-filter-search {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  .admin-filter-controls {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .admin-filter-select {
    width: 100% !important;
    min-width: 0 !important;
  }

  .admin-filter-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Tables on Mobile */
  .table-responsive {
    border-radius: 14px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .custom-table th,
  .custom-table td {
    padding: 0.75rem 0.65rem !important;
    font-size: 0.8rem !important;
  }
}

@media (max-width: 480px) {
  .admin-topbar {
    padding: 0 0.65rem !important;
  }

  .admin-breadcrumbs .current {
    max-width: 130px !important;
    font-size: 0.88rem !important;
  }

  .admin-filter-controls {
    grid-template-columns: 1fr !important;
  }

  .admin-rates-strip {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Order Page Mobile Responsiveness Suite
   ========================================================================== */
.order-step-label {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: var(--text-main) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  margin-bottom: 0.75rem !important;
}

.order-step-badge {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background: rgba(16, 185, 129, 0.15) !important;
  color: var(--primary) !important;
  font-size: 0.8rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 900 !important;
  flex-shrink: 0 !important;
}

@media (max-width: 992px) {
  .order-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .order-summary-card {
    position: static !important;
    top: auto !important;
    border-radius: 20px !important;
    padding: 1.35rem 1.15rem !important;
  }
}

@media (max-width: 768px) {
  /* Page Hero Compactness */
  .page-hero {
    padding: 2.25rem 0 1.5rem !important;
  }

  .page-breadcrumbs {
    font-size: 0.78rem !important;
    margin-bottom: 0.65rem !important;
    padding: 0.25rem 0.65rem !important;
  }

  .page-hero-tag {
    font-size: 0.75rem !important;
    padding: 0.25rem 0.75rem !important;
    margin-bottom: 0.65rem !important;
  }

  .page-hero-title {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
  }

  .page-hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    padding: 0 0.5rem !important;
  }

  .section.py-10 {
    padding-top: 1.25rem !important;
    padding-bottom: 2.5rem !important;
  }

  /* Form Container & Padding */
  .order-main-form-col .exchange-card {
    padding: 1.25rem 0.95rem !important;
    border-radius: 20px !important;
  }

  /* Step Headers */
  .order-step-label {
    font-size: 0.95rem !important;
    margin-bottom: 0.65rem !important;
  }

  .order-step-badge {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.75rem !important;
  }

  /* 2-Column Side-by-Side Option Radios */
  .order-options-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.55rem !important;
  }

  .order-options-grid .option-radio-card {
    padding: 0.75rem 0.65rem !important;
    border-radius: 14px !important;
    gap: 0.45rem !important;
    align-items: flex-start !important;
    min-width: 0 !important;
  }

  .order-options-grid .option-radio-card input[type="radio"] {
    margin-top: 2px !important;
    width: 1.1rem !important;
    height: 1.1rem !important;
    flex-shrink: 0 !important;
  }

  .order-options-grid .option-radio-card strong {
    font-size: 0.82rem !important;
    line-height: 1.3 !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .order-options-grid .option-radio-card span {
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
    margin-top: 0.2rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    color: var(--text-muted) !important;
  }

  /* Live Rate Info Bar */
  .rate-badge-live {
    padding: 0.65rem 0.85rem !important;
    font-size: 0.82rem !important;
    text-align: center !important;
    border-radius: 12px !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.45 !important;
  }

  /* Amounts Calculator Inputs */
  .order-amounts-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .calc-input-wrapper {
    padding: 0.35rem 0.75rem !important;
    min-height: 48px !important;
    border-radius: 12px !important;
  }

  .calc-input {
    font-size: 1.05rem !important;
    padding: 0.35rem 0 !important;
  }

  .calc-input-addon {
    font-size: 0.82rem !important;
    padding-inline-start: 0.65rem !important;
    gap: 0.35rem !important;
  }

  .calc-icon-coin {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.7rem !important;
  }

  /* Customer Info Grid */
  .order-customer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  /* Cham Cash & USDT Payment Information Boxes */
  .cham-showcase-box {
    padding: 1.25rem 1rem !important;
    border-radius: 18px !important;
    gap: 1.25rem !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .cham-field-box {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    padding: 0.85rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .cham-field-content {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .cham-field-value {
    font-size: 0.88rem !important;
    padding: 0.5rem 0.65rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  .cham-field-box strong {
    font-size: 0.92rem !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }

  .cham-field-actions {
    width: 100% !important;
    display: flex !important;
    gap: 0.5rem !important;
  }

  .cham-field-actions .copy-btn,
  .cham-field-actions .cham-link-btn,
  .cham-field-box > .copy-btn {
    flex: 1 !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.55rem 0.75rem !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
  }

  .cham-field-footer {
    gap: 0.35rem !important;
    font-size: 0.72rem !important;
  }

  /* File Upload Box */
  .file-upload-box {
    padding: 1.25rem 0.85rem !important;
    border-radius: 14px !important;
  }

  .file-upload-icon {
    font-size: 1.85rem !important;
    margin-bottom: 0.35rem !important;
  }

  #file-upload-preview {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
  }

  /* Captcha Box */
  .captcha-container {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .captcha-badge {
    padding: 0.55rem 0.75rem !important;
    font-size: 0.95rem !important;
    border-radius: 10px !important;
    min-width: 75px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
  }

  .captcha-refresh-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 0.95rem !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
  }

  .captcha-container input[name="captcha"] {
    flex: 1 1 auto !important;
    max-width: none !important;
    height: 40px !important;
    font-size: 0.95rem !important;
    border-radius: 10px !important;
  }

  /* Submit Order Button */
  #main-order-form button[type="submit"] {
    height: 50px !important;
    font-size: 0.98rem !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 20px -3px var(--primary-glow) !important;
  }

  /* Order Summary Card Mobile */
  .order-summary-card {
    padding: 1.25rem 1rem !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
  }

  .order-summary-header {
    padding-bottom: 0.65rem !important;
    margin-bottom: 0.85rem !important;
  }

  .order-summary-title {
    font-size: 0.98rem !important;
  }

  .order-summary-row {
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
  }

  .order-summary-total-box {
    padding: 0.75rem 0.85rem !important;
    border-radius: 12px !important;
    margin-bottom: 0.85rem !important;
  }

  .order-summary-total-box #summary-total-val {
    font-size: 1.35rem !important;
  }

  .order-summary-guarantees {
    margin-top: 0.85rem !important;
    padding-top: 0.85rem !important;
    gap: 0.5rem !important;
  }

  .order-guarantee-item {
    font-size: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .order-options-grid {
    gap: 0.4rem !important;
  }

  .order-options-grid .option-radio-card {
    padding: 0.65rem 0.5rem !important;
  }

  .order-options-grid .option-radio-card strong {
    font-size: 0.78rem !important;
  }

  .order-options-grid .option-radio-card span {
    font-size: 0.64rem !important;
  }

  .page-hero-title {
    font-size: 1.35rem !important;
  }
}

/* -------------------------------------------------------------
 * User Account Navigation & Orders Timeline
 * ------------------------------------------------------------- */
.user-nav-dropdown-wrapper {
  position: relative;
}

.user-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.85rem;
  border-radius: 12px;
  color: var(--text-main);
  font-size: 0.825rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-nav-btn:hover {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.08);
}

.user-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 215px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 0.5rem;
  z-index: 60;
  display: none;
}

.user-nav-dropdown-menu.show {
  display: block;
}

.user-nav-dropdown-header {
  padding: 0.5rem 0.75rem 0.65rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0.35rem;
}

.user-nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.15s ease;
}

.user-nav-dropdown-item:hover {
  background: var(--bg-subtle);
  color: var(--primary);
}

.user-nav-dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 0.35rem 0;
}

/* Order Multi-step Progress Timeline in My Orders */
.track-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin: 0.5rem 0;
}

.track-timeline::before {
  content: '';
  position: absolute;
  top: 18px;
  right: 40px;
  left: 40px;
  height: 3px;
  background: var(--border-color);
  z-index: 1;
}

.track-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.track-step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin: 0 auto 0.5rem;
  transition: all 0.3s ease;
}

.track-step.active .track-step-circle {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 15px var(--primary-glow);
}

.track-step-title {
  font-size: 0.825rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.track-step-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==============================================================
   PWA SUITE & INSTALLATION STYLES
   ============================================================== */

/* Header PWA Install Button */
.header-pwa-install-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.header-pwa-install-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #34d399;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

/* App Download Section */
.app-download-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.04) 0%, transparent 60%),
              radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.04) 0%, transparent 60%);
}

.app-download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .app-download-grid {
    grid-template-columns: 1.25fr 0.9fr;
    gap: 4rem;
  }
}

.app-download-title {
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .app-download-title {
    font-size: 2.35rem;
  }
}

.app-download-desc {
  font-size: 0.925rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 38rem;
}

/* Install Buttons Grid */
.app-install-buttons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
  .app-install-buttons-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.app-install-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  border-radius: 18px;
  background: var(--card-bg, #0f172a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-align: right;
  position: relative;
  overflow: hidden;
}

.app-install-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.app-install-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15);
}

.app-install-btn:hover::before {
  opacity: 1;
}

.app-install-btn.android-btn:hover {
  border-color: rgba(16, 185, 129, 0.5);
}

.app-install-btn.ios-btn:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.15);
}

.app-btn-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-btn-info {
  flex-grow: 1;
}

.app-btn-subtitle {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.app-btn-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
}

.app-btn-arrow {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.app-install-btn:hover .app-btn-arrow {
  color: #34d399;
  transform: translateY(-2px);
}

/* Push Subscribe Card */
.app-push-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.15);
  margin-bottom: 1.75rem;
}

.app-push-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.app-push-content {
  flex-grow: 1;
}

.btn-xs {
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  border-radius: 8px;
  font-weight: 700;
}

/* Feature Pills */
.app-features-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.app-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: var(--bg-subtle, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Mockup Device Styling */
.app-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
}

.app-mockup-glow {
  position: absolute;
  width: 260px;
  height: 480px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.app-mockup-device {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 540px;
  border-radius: 44px;
  background: #020617;
  border: 7px solid #1e293b;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 640px) {
  .app-mockup-device {
    width: 300px;
    height: 580px;
  }
}

.device-speaker {
  width: 55px;
  height: 4px;
  background: #334155;
  border-radius: 9999px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.device-camera {
  width: 10px;
  height: 10px;
  background: #0f172a;
  border: 2px solid #334155;
  border-radius: 50%;
  position: absolute;
  top: 9px;
  right: 80px;
  z-index: 10;
}

.device-screen {
  flex-grow: 1;
  background: #0b1120;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 1rem 1.25rem;
  gap: 0.85rem;
  position: relative;
}

.device-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.device-app-rates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.device-rate-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.55rem;
  text-align: center;
}

.device-app-notification {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  animation: pulseNotif 3s infinite ease-in-out;
}

@keyframes pulseNotif {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.device-app-buttons {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.device-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.25rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.device-btn.buy-btn {
  background: #10b981;
  color: #ffffff;
}

.device-btn.sell-btn {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* ==============================================================
   PWA SMART FLOATING BANNER
   ============================================================== */
.pwa-smart-banner {
  position: fixed;
  bottom: -120px;
  left: 0;
  right: 0;
  z-index: 9980;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), bottom 0.4s ease;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

.pwa-smart-banner.visible {
  bottom: 0;
}

.pwa-banner-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  position: relative;
}

.pwa-banner-close {
  position: absolute;
  top: -8px;
  left: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pwa-banner-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.pwa-banner-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-grow: 1;
}

.pwa-banner-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}

.pwa-banner-text {
  overflow: hidden;
}

.pwa-banner-title {
  display: block;
  font-size: 0.825rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.pwa-banner-desc {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pwa-banner-actions {
  flex-shrink: 0;
}

.pwa-banner-btn {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

/* ==============================================================
   iOS SAFARI INSTALLATION BOTTOM SHEET MODAL
   ============================================================== */
.ios-pwa-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ios-pwa-modal.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.ios-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ios-modal-sheet {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background: var(--card-bg, #0f172a);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  padding: 1rem 1.5rem 1.75rem;
  padding-bottom: max(1.75rem, env(safe-area-inset-bottom));
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ios-pwa-modal.active .ios-modal-sheet {
  transform: translateY(0);
}

.ios-sheet-handle {
  width: 44px;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  margin: 0 auto 1.25rem;
}

.ios-modal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ios-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.ios-modal-app-badge {
  position: relative;
  display: inline-block;
}

.ios-badge-glow {
  position: absolute;
  inset: -6px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, transparent 70%);
  border-radius: 22px;
  z-index: -1;
}

.ios-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.ios-step-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  background: var(--bg-subtle, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
}

.ios-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ios-step-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ios-step-text {
  flex-grow: 1;
}

.ios-tip-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: #94a3b8;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  line-height: 1.5;
}

/* ==============================================================
   PWA TOAST ALERTS
   ============================================================== */
.pwa-toast-alert {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.825rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
  max-width: 90vw;
}

.pwa-toast-alert.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.pwa-toast-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pwa-toast-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 0 0 0.25rem;
}

.pwa-toast-close:hover {
  color: #ffffff;
}

.pwa-toast-success {
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.pwa-toast-warning {
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.pwa-toast-info {
  border: 1px solid rgba(56, 189, 248, 0.4);
}

/* Standalone PWA Safe-Area Enhancements */
body.pwa-mode-standalone {
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

body.pwa-mode-standalone input,
body.pwa-mode-standalone textarea,
body.pwa-mode-standalone select {
  user-select: text;
  -webkit-user-select: text;
}






