/* ═══════════════════════════════════════════════════════════════════
   VexoPay — Design System
   Cores inspiradas na logo: gradiente dark-teal → teal (#0A4D68 → #00C9A7)
   Estética: dark mode premium, fintech, BlackCatPay-inspired
   ═══════════════════════════════════════════════════════════════════ */

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

/* ─── Tokens ─────────────────────────────────────────────────────── */
:root {
  --bg:           #0a0a0a;
  --bg-2:         #0e0e0e;
  --bg-card:      #131313;
  --bg-card-2:    #181818;
  --border:       #1f1f1f;
  --border-light: #2a2a2a;

  --accent:       #00C9A7;
  --accent-dark:  #0A4D68;
  --accent-glow:  rgba(0, 201, 167, 0.25);
  --accent-glow-strong: rgba(0, 201, 167, 0.5);

  --gradient-main: linear-gradient(135deg, #0A4D68 0%, #00C9A7 100%);
  --gradient-text: linear-gradient(135deg, #00C9A7, #0A9B80);
  --gradient-glow: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,201,167,0.15) 0%, transparent 70%);

  --text:         #ffffff;
  --text-muted:   #8a8a8a;
  --text-subtle:  #5a5a5a;

  --red:          #ff4757;
  --yellow:       #ffa117;
  --green:        #00C9A7;

  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-pill:  999px;

  --shadow-card:  0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow:  0 0 30px rgba(0, 201, 167, 0.3);
  --shadow-glow-lg: 0 0 60px rgba(0, 201, 167, 0.2);

  --transition:   0.2s ease;
  --transition-slow: 0.4s ease;
}

/* ─── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ─── Typography ─────────────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

.label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
}
.label::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); display: inline-block;
  box-shadow: 0 0 8px var(--accent);
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-pill);
  font-size: 0.95rem; font-weight: 600;
  transition: all var(--transition); white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--bg);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-glow-lg);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-light);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }

.btn-danger {
  background: rgba(255, 71, 87, 0.15);
  border: 1px solid rgba(255, 71, 87, 0.3);
  color: var(--red);
}
.btn-danger:hover { background: rgba(255, 71, 87, 0.25); }

/* ─── Cards ──────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover { border-color: var(--border-light); }
.card-glow:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card), 0 0 30px var(--accent-glow);
  transform: translateY(-4px);
}

/* ─── Navbar ─────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-slow);
}
.navbar.scrolled { background: rgba(0, 0, 0, 0.95); }

.navbar-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.3rem; font-weight: 800;
}
.navbar-logo img { width: 36px; height: 36px; object-fit: contain; }
.navbar-logo span { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.navbar-links {
  display: flex; align-items: center; gap: 32px;
}
.navbar-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: color var(--transition);
}
.navbar-links a:hover { color: var(--text); }

.navbar-actions {
  display: flex; align-items: center; gap: 12px;
}

.navbar-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 4px; cursor: pointer;
}
.navbar-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
@media (max-width: 768px) {
  .navbar-links, .navbar-actions { display: none; }
  .navbar-hamburger { display: flex; }
}

/* ─── Mobile Menu Overlay ─────────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 80px 5% 40px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-size: 1.8rem; font-weight: 800;
  color: var(--text-muted);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu-actions {
  margin-top: 32px; display: flex; flex-direction: column; gap: 12px;
}

/* ─── Sections ───────────────────────────────────────────────────── */
section { padding: 100px 5%; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 16px auto 0; }

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0, 201, 167, 0.1);
  border: 1px solid rgba(0, 201, 167, 0.25);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}
.hero h1 { max-width: 900px; margin: 0 auto 20px; }
.hero p {
  max-width: 580px; margin: 0 auto 40px;
  color: var(--text-muted); font-size: 1.1rem;
}
.hero-cta {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 14px;
}
.hero-stats {
  display: flex; align-items: center; gap: 40px;
  margin-top: 72px; flex-wrap: wrap; justify-content: center;
}
.hero-stat p { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.hero-stat span { font-size: 0.8rem; color: var(--text-muted); }

/* ─── Hero Badges ───────────────────────────────────────────── */
.hero-badges {
  display: flex; align-items: center; gap: 16px;
  margin-top: 60px; flex-wrap: wrap; justify-content: center;
}
.hero-badge-item {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0, 196, 160, 0.1);
  border: 1px solid rgba(0, 196, 160, 0.2);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.hero-badge-item:hover {
  background: rgba(0, 196, 160, 0.2);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.hero-badge-item span:first-child {
  font-size: 1rem;
}

/* ─── Scrolling Banner ─────────────────────────────────────────── */
.scrolling-banner {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(0, 196, 160, 0.4) 0%, rgba(0, 196, 160, 0.3) 50%, rgba(0, 196, 160, 0.4) 100%);
}
.scrolling-content {
  display: flex;
  gap: 60px;
  animation: scroll 30s linear infinite;
}
.scrolling-content:hover {
  animation-play-state: paused;
}
.scrolling-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.scrolling-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}
.scrolling-text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ─── Features Grid ──────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card { padding: 32px; }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: rgba(0, 201, 167, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.7; }

/* ─── Pricing Cards ──────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.pricing-card {
  padding: 32px;
  text-align: center;
}
.pricing-label {
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 12px;
}
.pricing-value {
  font-size: 2.5rem; font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 6px;
}
.pricing-desc { font-size: 0.85rem; color: var(--text-muted); }
.pricing-highlight {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(0,201,167,0.08) 0%, rgba(10,77,104,0.08) 100%);
  box-shadow: 0 0 40px var(--accent-glow);
}

/* ─── FAQ ─────────────────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1000px; margin: 0 auto;
}
@media (max-width: 700px) { .faq-grid { grid-template-columns: 1fr; } }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item.open { border-color: var(--accent); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  background: none; cursor: pointer;
  text-align: left;
  font-weight: 600; font-size: 0.95rem; color: var(--text);
  gap: 12px;
}
.faq-number {
  font-family: 'Inter', monospace;
  font-size: 0.7rem; color: var(--accent); font-weight: 700;
  min-width: 28px;
}
.faq-chevron {
  width: 18px; height: 18px; flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted); font-size: 0.9rem; line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 200px; padding: 0 24px 20px; }

/* ─── Footer ─────────────────────────────────────────────────────── */
footer {
  padding: 60px 5% 40px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 40px;
  margin-bottom: 48px;
}
.footer-logo { margin-bottom: 16px; }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; max-width: 260px; line-height: 1.7; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; color: var(--text-muted); }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 0.9rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-subtle);
}
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--text-muted);
  transition: all var(--transition);
}
.footer-socials a:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Layout Utilities ───────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.flex { display: flex; }
.gap-4 { gap: 16px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-sm { font-size: 0.85rem; }
.font-bold { font-weight: 700; }

/* ─── Forms ──────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.03em;
}
.form-input {
  width: 100%;
  background: var(--bg-card-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-input::placeholder { color: var(--text-subtle); }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-error { font-size: 0.8rem; color: var(--red); }
.form-hint { font-size: 0.8rem; color: var(--text-subtle); }

/* ─── Badges / Status ────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 600;
}
.badge-success { background: rgba(0,201,167,0.15); color: var(--accent); }
.badge-pending { background: rgba(255,161,23,0.15); color: var(--yellow); }
.badge-error   { background: rgba(255,71,87,0.15);  color: var(--red); }

/* ─── Divider ─────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* ─── Scrollbar ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); }

/* ─── Toast Notifications ────────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999; display: flex; flex-direction: column; gap: 10px;
}
.toast {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.9rem;
  min-width: 280px; max-width: 360px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: slideUp 0.3s ease;
}
.toast.success { border-left: 3px solid var(--accent); }
.toast.error   { border-left: 3px solid var(--red); }
.toast.warning { border-left: 3px solid var(--yellow); }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Loading spinner ─────────────────────────────────────────────── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Sidebar (Dashboard) ────────────────────────────────────────── */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 240px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  padding: 0;
  z-index: 100;
  transition: transform var(--transition-slow);
}
.sidebar-header {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}
.sidebar-nav {
  flex: 1; overflow-y: auto;
  padding: 16px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: var(--radius-md);
  font-size: 0.92rem; font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.sidebar-nav a:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.sidebar-nav a.active {
  background: rgba(0, 201, 167, 0.1);
  color: var(--accent);
}
.sidebar-nav a svg { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-section-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text-subtle);
  padding: 16px 14px 8px;
}
.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid var(--border);
}

/* Dashboard layout */
.dashboard-layout {
  display: flex; min-height: 100vh;
}
.main-content {
  margin-left: 240px;
  flex: 1; padding: 32px;
  min-height: 100vh;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.topbar-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.topbar-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.topbar-right h2 {
  font-size: 1.7rem;
  font-weight: 800;
}

.topbar-right p {
  color: var(--text-muted);
  font-size: 1rem;
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: #000;
  flex-shrink: 0;
}

/* Badges à esquerda do avatar no topo do dashboard */
.topbar-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.topbar-badge-image {
  width: 23px;
  height: 23px;
  object-fit: contain;
  border-radius: 999px;
  cursor: help;
  transition: transform var(--transition), box-shadow var(--transition);
}

.topbar-badge-image:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 0 12px rgba(0, 201, 167, 0.35);
}

.topbar-user-block {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.topbar-user-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.topbar-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-user-email {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.topbar-notification-right {
  margin-top: 4px;
}

.topbar-user-name {
  font-size: 1.25rem;
  font-weight: 800;
}

/* Notificações (sino) no topo do dashboard */
.notification-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.notification-button {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-card-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.notification-button:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.notification-icon {
  width: 18px;
  height: 18px;
}

.notification-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff4757;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--bg);
}

.notification-panel {
  position: absolute;
  top: 48px;
  right: 0;
  width: 340px;
  max-height: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  padding: 14px 14px 10px;
  display: none;
  flex-direction: column;
  z-index: 150;
}

.notification-panel.open {
  display: flex;
}

.notification-panel-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 2px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.notification-panel-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.notification-panel-subtitle {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.notification-list {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notification-item {
  display: flex;
  gap: 10px;
  padding: 8px 6px;
  border-radius: var(--radius-md);
  background: transparent;
  transition: background var(--transition);
}

.notification-item:hover {
  background: rgba(255,255,255,0.02);
}

.notification-item-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.notification-item-icon-in {
  background: rgba(0,201,167,0.16);
  color: var(--accent);
}

.notification-item-icon-out {
  background: rgba(255,71,87,0.16);
  color: var(--red);
}

.notification-item-icon-generic {
  background: rgba(255,255,255,0.08);
  color: var(--text-muted);
}

.notification-item-body {
  flex: 1;
  min-width: 0;
}

.notification-item-title {
  font-size: 0.86rem;
  font-weight: 600;
}

.notification-item-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.notification-item-meta {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-top: 4px;
}

.notification-empty {
  padding: 18px 6px 8px;
  text-align: center;
}

.notification-empty-icon {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.notification-empty-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.notification-empty-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; margin-bottom: 32px;
}
.stat-card { padding: 24px; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.stat-label svg { width: 16px; height: 16px; }
.stat-value { font-size: 1.8rem; font-weight: 800; }
.stat-change { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }
.stat-change.up { color: var(--accent); }
.stat-change.down { color: var(--red); }

/* Transactions table */
.tx-table { width: 100%; border-collapse: collapse; }
.tx-table th {
  text-align: left; padding: 12px 16px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-subtle);
  border-bottom: 1px solid var(--border);
}
.tx-table td {
  padding: 16px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  vertical-align: middle;
}
.tx-table tr:last-child td { border-bottom: none; }
.tx-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ─── Responsive Dashboard ───────────────────────────────────────── */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; padding: 20px; }
}

/* ─── Page Header (inner pages) ─────────────────────────────────── */
.page-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: 1.8rem; }
.page-header p { color: var(--text-muted); font-size: 0.95rem; margin-top: 6px; }

/* ─── QR Code display ─────────────────────────────────────────────── */
.qrcode-container {
  text-align: center; padding: 32px;
}
.qrcode-container img {
  width: 220px; height: 220px;
  border: 8px solid white;
  border-radius: var(--radius-md);
  margin: 0 auto 24px;
}
.copy-box {
  display: flex; gap: 8px; align-items: center;
  background: var(--bg-card-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.8rem; color: var(--text-muted);
  word-break: break-all;
}
.copy-box code { flex: 1; }
.copy-btn {
  flex-shrink: 0;
  background: rgba(0,201,167,0.1);
  border: 1px solid rgba(0,201,167,0.25);
  border-radius: var(--radius-sm);
  color: var(--accent); padding: 6px 12px;
  font-size: 0.78rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
}
.copy-btn:hover { background: rgba(0,201,167,0.2); }

/* ─── Misc ───────────────────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 64px 24px;
  color: var(--text-muted);
}
.empty-state svg { width: 48px; height: 48px; margin: 0 auto 16px; opacity: 0.3; }
.empty-state p { font-size: 0.9rem; }

.amount-display {
  font-size: 2.2rem; font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
