/* ============================================================
   STRAIN ADMIN — ULTRA MODERN THEME
   Glassmorphism + iOS + Premium Dark
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --bg: #000000;
  --surface-1: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.08);
  --border-1: rgba(255, 255, 255, 0.06);
  --border-2: rgba(255, 255, 255, 0.1);
  --text-1: #ffffff;
  --text-2: rgba(255, 255, 255, 0.7);
  --text-3: rgba(255, 255, 255, 0.4);
  --text-4: rgba(255, 255, 255, 0.25);
  --green: #4ade80;
  --teal: #22d3ee;
  --blue: #0a84ff;
  --orange: #ff9f0a;
  --red: #ff453a;
  --purple: #bf5af2;
  --yellow: #ffd60a;
  --indigo: #5e5ce6;
  --pink: #ff375f;
}

html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-1);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding-bottom: 120px;
  letter-spacing: -0.02em;
  font-size: 16px;
  background: #000;
  background-image: 
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(48, 209, 88, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(34, 211, 238, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  background-color: #000;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-1 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(48, 209, 88, 0.15), transparent 70%); top: -100px; left: -100px; }
.orb-2 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 70%); bottom: 100px; right: -100px; animation-delay: -7s; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent 70%); top: 40%; left: 30%; animation-delay: -14s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

/* LOGIN */
.login-page {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  background-image: 
    radial-gradient(ellipse at 20% 20%, rgba(48, 209, 88, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(34, 211, 238, 0.08) 0%, transparent 50%);
  z-index: 9999;
  padding: 20px;
}
.login-page.hidden { display: none; }
.login-box {
  width: 100%;
  max-width: 400px;
  background: var(--surface-1);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--border-1);
  border-radius: 24px;
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.login-box::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.5), transparent);
}
.login-logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #000;
  margin: 0 auto 20px;
  box-shadow: 0 8px 32px rgba(48, 209, 88, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.4);
  position: relative;
}
.login-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  pointer-events: none;
}
.login-title {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.login-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 32px;
  font-weight: 500;
}
.login-group {
  margin-bottom: 14px;
  position: relative;
}
.login-group i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 16px;
  opacity: 0.8;
}
.login-group input {
  width: 100%;
  height: 54px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  padding: 0 18px 0 50px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: all 0.3s;
}
.login-group input:focus {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 24px rgba(74, 222, 128, 0.15);
}
.login-btn {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
  color: #000;
  font-size: 16px;
  font-weight: 700;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 32px rgba(48, 209, 88, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.25s;
}
.login-btn:active { transform: scale(0.98); }
.login-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.login-error {
  text-align: center;
  color: var(--red);
  font-size: 12.5px;
  margin-top: 12px;
  min-height: 18px;
}

/* HEADER */
.app { display: none; }
.app.active { display: block; }

.app-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border-bottom: 1px solid var(--border-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 100;
}
.app-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(48, 209, 88, 0.4) 20%, rgba(34, 211, 238, 0.4) 80%, transparent 100%);
}
.header-left { display: flex; align-items: center; gap: 12px; }
.header-logo {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: #000;
  box-shadow: 0 4px 16px rgba(48, 209, 88, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.header-title { display: flex; flex-direction: column; }
.header-brand { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.header-sub { font-size: 11px; color: var(--text-3); font-weight: 500; margin-top: 1px; }
.header-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--surface-2);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-1);
  color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer; position: relative;
  transition: all 0.25s;
}
.header-btn:active { background: var(--surface-3); transform: scale(0.95); }
.header-btn .dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid #0a0a0c;
  box-shadow: 0 0 8px rgba(255, 69, 58, 0.6);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

/* CONTENT */
.app-content {
  padding: 88px 16px 24px;
  position: relative;
  z-index: 2;
}

/* GREETING */
.greeting { margin-bottom: 28px; padding: 0 4px; }
.greeting h1 {
  font-size: 36px; font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.greeting h1 span { color: inherit; }
.greeting p { font-size: 14px; color: var(--text-3); font-weight: 500; }

/* SECTION LABEL */
.section-label {
  font-size: 11px;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 0 4px 10px;
  font-weight: 700;
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-1), transparent);
}
.section-label:first-of-type { margin-top: 0; }

/* GLASS CARD */
.glass {
  background: var(--surface-1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-1);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.glass::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  pointer-events: none;
}

/* HERO STAT */
.stat-hero {
  padding: 24px;
  margin-bottom: 14px;
  position: relative;
  background: 
    linear-gradient(135deg, rgba(48, 209, 88, 0.08) 0%, rgba(34, 211, 238, 0.06) 50%, rgba(139, 92, 246, 0.04) 100%),
    var(--surface-1);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(48, 209, 88, 0.15);
  border-radius: 24px;
  overflow: hidden;
}
.stat-hero::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05) 50%, transparent);
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}
.stat-hero-label {
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.stat-hero-label i { color: var(--green); font-size: 16px; filter: drop-shadow(0 0 8px rgba(48, 209, 88, 0.5)); }
.stat-hero-value {
  font-size: 40px;
  font-weight: 800;
  font-family: 'Share Tech Mono', monospace;
  background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(48, 209, 88, 0.3));
}
.stat-hero-sub {
  font-size: 14px;
  color: var(--text-2);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stat-hero-sub .up {
  color: var(--green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(48, 209, 88, 0.12);
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 13px;
}

/* STAT GRID */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.stat-mini {
  padding: 16px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface-1);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-1);
}
.stat-mini::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 2px;
  border-radius: 2px;
  pointer-events: none;
  filter: blur(4px);
  opacity: 0.6;
}
.stat-mini.blue::before { background: var(--blue); box-shadow: 0 0 20px var(--blue); }
.stat-mini.green::before { background: var(--green); box-shadow: 0 0 20px var(--green); }
.stat-mini.orange::before { background: var(--orange); box-shadow: 0 0 20px var(--orange); }
.stat-mini.purple::before { background: var(--purple); box-shadow: 0 0 20px var(--purple); }
.stat-mini::after {
  content: '';
  position: absolute;
  top: -40%; right: -40%;
  width: 120%; height: 120%;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.stat-mini.blue::after { background: radial-gradient(circle, var(--blue), transparent 60%); }
.stat-mini.green::after { background: radial-gradient(circle, var(--green), transparent 60%); }
.stat-mini.orange::after { background: radial-gradient(circle, var(--orange), transparent 60%); }
.stat-mini.purple::after { background: radial-gradient(circle, var(--purple), transparent 60%); }
.stat-mini-label {
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}
.stat-mini-label i { font-size: 13px; }
.stat-mini.blue .stat-mini-label i { color: var(--blue); filter: drop-shadow(0 0 6px var(--blue)); }
.stat-mini.green .stat-mini-label i { color: var(--green); filter: drop-shadow(0 0 6px var(--green)); }
.stat-mini.orange .stat-mini-label i { color: var(--orange); filter: drop-shadow(0 0 6px var(--orange)); }
.stat-mini.purple .stat-mini-label i { color: var(--purple); filter: drop-shadow(0 0 6px var(--purple)); }
.stat-mini-value {
  font-size: 22px;
  font-weight: 800;
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
  line-height: 1.1;
}
.stat-mini.blue .stat-mini-value { color: #60a5fa; }
.stat-mini.green .stat-mini-value { color: #4ade80; }
.stat-mini.orange .stat-mini-value { color: #fbbf24; }
.stat-mini.purple .stat-mini-value { color: #c084fc; }
.stat-mini-sub { font-size: 11px; color: var(--text-4); position: relative; z-index: 2; font-weight: 500; }

/* PANEL */
.panel {
  background: var(--surface-1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-1);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.panel::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.panel-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-title i { color: var(--green); font-size: 15px; }

/* CHART */
.chart-wrap { position: relative; height: 200px; }
.chart-toggles {
  display: flex;
  gap: 4px;
  background: var(--surface-2);
  border-radius: 10px;
  padding: 3px;
}
.chart-toggle {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  transition: all 0.25s;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
.chart-toggle.active {
  background: rgba(74, 222, 128, 0.15);
  color: var(--green);
}

/* LIST */
.list {
  background: var(--surface-1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-1);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 14px;
  position: relative;
}
.list::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}
.item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  min-height: 48px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
}
.item:active { background: rgba(255, 255, 255, 0.04); }
.item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--border-1), transparent 80%);
}
.item.has-icon:not(:last-child)::after { left: 60px; }

/* USER CARD */
.user-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.user-card {
  background: var(--surface-1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.user-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}
.user-card:active {
  background: var(--surface-2);
  transform: translateY(-1px);
}
.user-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  color: #000;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(48, 209, 88, 0.3);
  position: relative;
  overflow: hidden;
}
.user-avatar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.25), transparent);
  border-radius: 50% 50% 0 0;
}
.user-info { flex: 1; min-width: 0; }
.user-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
}
.user-balance {
  font-size: 13px;
  font-weight: 700;
  color: #4ade80;
  font-family: 'Share Tech Mono', monospace;
  margin-top: 4px;
}
.user-chev { color: var(--text-4); font-size: 14px; flex-shrink: 0; }

/* BADGE */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.badge.gold, .badge.green { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.badge.blue { background: rgba(10, 132, 255, 0.15); color: #60a5fa; }
.badge.purple { background: rgba(191, 90, 242, 0.15); color: #c084fc; }
.badge.orange { background: rgba(255, 159, 10, 0.15); color: #fbbf24; }
.badge.red, .badge.failed { background: rgba(255, 69, 58, 0.15); color: #ff453a; }
.badge.success { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.badge.pending { background: rgba(255, 159, 10, 0.15); color: #fbbf24; }
.badge.grey { background: rgba(255, 255, 255, 0.05); color: var(--text-3); }

/* BUTTONS */
.btn {
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
  color: #000;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(48, 209, 88, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-secondary {
  background: var(--surface-2);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-1);
  color: var(--text-1);
}
.btn-danger {
  background: rgba(255, 69, 58, 0.15);
  border: 1px solid rgba(255, 69, 58, 0.2);
  color: #ff453a;
}
.btn-success {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.2);
  color: #4ade80;
}
.btn-block { width: 100%; }

/* FORM */
.form-group { margin-bottom: 14px; }
.form-label {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  height: 48px;
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: 0 16px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all 0.25s;
}
.form-textarea {
  height: auto;
  min-height: 80px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.5;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: rgba(74, 222, 128, 0.3);
  background: var(--surface-2);
  box-shadow: 0 0 24px rgba(74, 222, 128, 0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-4); }

/* SEARCH */
.search-bar {
  position: relative;
  margin-bottom: 14px;
}
.search-bar i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  font-size: 14px;
}
.search-bar input {
  width: 100%;
  height: 46px;
  background: var(--surface-1);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  padding: 0 16px 0 42px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all 0.25s;
}
.search-bar input:focus {
  border-color: rgba(74, 222, 128, 0.3);
  background: var(--surface-2);
}
.search-bar input::placeholder { color: var(--text-4); }

/* CHIPS */
.chips-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 0 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chips-row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--surface-1);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-1);
  color: var(--text-3);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.25s;
  cursor: pointer;
  font-family: inherit;
}
.chip:active { transform: scale(0.96); }
.chip.active {
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.2);
  color: var(--green);
  font-weight: 600;
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  cursor: pointer;
  font-family: inherit;
}
.page-btn:active { transform: scale(0.95); }
.page-btn.active {
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.2);
  color: var(--green);
}
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* BOTTOM NAV */
.bottom-nav {
  position: fixed;
  bottom: 12px; left: 12px; right: 12px;
  height: 68px;
  background: rgba(20, 20, 24, 0.7);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid var(--border-1);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  z-index: 100;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(48, 209, 88, 0.05);
  overflow: hidden;
}
.bottom-nav::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-4);
  font-size: 10px;
  font-weight: 600;
  padding: 6px 4px;
  cursor: pointer;
  letter-spacing: -0.01em;
  position: relative;
  transition: all 0.25s;
}
.nav-item i {
  font-size: 20px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-item.active { color: #4ade80; }
.nav-item.active i {
  transform: translateY(-2px) scale(1.1);
  filter: drop-shadow(0 0 12px rgba(74, 222, 128, 0.6));
}
.nav-item.active::before {
  content: '';
  position: absolute;
  top: -2px; left: 25%; right: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4ade80, transparent);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
}

/* PAGE */
.page { display: none; }
.page.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }

/* BOTTOM SHEET */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.sheet-overlay.active { opacity: 1; visibility: visible; }
.bottom-sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-height: 92vh;
  background: rgba(20, 20, 24, 0.95);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border-radius: 24px 24px 0 0;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(74, 222, 128, 0.2);
  overflow: hidden;
}
.bottom-sheet.open { transform: translateY(0); }
.sheet-handle {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  margin: 10px auto 4px;
  flex-shrink: 0;
}
.sheet-header {
  padding: 12px 20px 16px;
  border-bottom: 1px solid var(--border-1);
  flex-shrink: 0;
}
.sheet-title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.sheet-subtitle { font-size: 12.5px; color: var(--text-3); }
.sheet-tabs {
  display: flex;
  gap: 4px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border-1);
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.sheet-tabs::-webkit-scrollbar { display: none; }
.sheet-tab {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  position: relative;
  white-space: nowrap;
  transition: color 0.25s;
  cursor: pointer;
}
.sheet-tab.active { color: var(--green); }
.sheet-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%; right: 20%;
  height: 2px;
  background: var(--green);
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
}
.sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px 24px;
}
.sheet-tab-content { display: none; }
.sheet-tab-content.active { display: block; animation: fadeIn 0.3s ease; }

/* USER DETAIL */
.user-detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.user-detail-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(48, 209, 88, 0.3);
  position: relative;
  overflow: hidden;
}
.user-detail-avatar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.25), transparent);
  border-radius: 50% 50% 0 0;
}
.user-detail-name { font-size: 19px; font-weight: 700; margin-bottom: 5px; }
.user-detail-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); }

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-1);
  gap: 12px;
}
.info-row:last-child { border-bottom: none; }
.info-label {
  font-size: 12.5px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.info-label i { color: var(--green); width: 14px; font-size: 12px; }
.info-value {
  font-size: 13px;
  color: var(--text-1);
  font-weight: 500;
  text-align: right;
  word-break: break-word;
}
.info-value.mono {
  font-family: 'Share Tech Mono', monospace;
  color: #4ade80;
  font-weight: 700;
}

/* BALANCE BOX */
.balance-box {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.08), rgba(34, 211, 238, 0.04));
  border: 1px solid rgba(74, 222, 128, 0.15);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 20px;
  text-align: center;
}
.balance-label {
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 6px;
}
.balance-amount {
  font-size: 30px;
  font-weight: 800;
  font-family: 'Share Tech Mono', monospace;
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

/* TYPE TOGGLE */
.type-toggle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 18px;
}
.type-btn {
  padding: 10px 8px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-3);
  text-align: center;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
.type-btn.active {
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  color: #000;
}

/* QUICK AMOUNTS */
.quick-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}
.qa-btn {
  padding: 10px 4px;
  border-radius: 10px;
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  font-family: 'Share Tech Mono', monospace;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
.qa-btn:active { transform: scale(0.95); }

/* SWITCH */
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--surface-1);
  border-radius: 12px;
  margin-bottom: 14px;
}
.switch-info { flex: 1; }
.switch-title { font-size: 13.5px; font-weight: 600; color: var(--text-1); margin-bottom: 2px; }
.switch-desc { font-size: 11px; color: var(--text-3); }
.switch {
  width: 44px;
  height: 26px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  cursor: pointer;
  transition: background 0.25s;
  flex-shrink: 0;
}
.switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s;
}
.switch.on { background: #30d158; }
.switch.on::after { transform: translateX(18px); }

/* PREVIEW BOX */
.preview-box {
  background: rgba(74, 222, 128, 0.04);
  border: 1px solid rgba(74, 222, 128, 0.1);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.preview-label {
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 4px;
}
.preview-value {
  font-size: 15px;
  font-weight: 700;
  color: #4ade80;
  font-family: 'Share Tech Mono', monospace;
}
.preview-arrow { color: var(--green); font-size: 18px; }

/* HISTORY */
.history-list { display: flex; flex-direction: column; gap: 8px; }
.history-item {
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: 14px;
}
.history-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.history-item-type { font-size: 12.5px; font-weight: 700; }
.history-item-type.add { color: #4ade80; }
.history-item-type.sub { color: #ff453a; }
.history-item-type.set { color: #fbbf24; }
.history-item-amount {
  font-family: 'Share Tech Mono', monospace;
  font-weight: 700;
  font-size: 14px;
}
.history-item-amount.add { color: #4ade80; }
.history-item-amount.sub { color: #ff453a; }
.history-item-amount.set { color: #fbbf24; }
.history-item-detail { font-size: 11.5px; color: var(--text-3); line-height: 1.5; }
.history-item-detail strong { color: var(--text-2); }

/* LOADING / EMPTY */
.loading-state, .empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-3);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.loading-state i { font-size: 24px; color: var(--green); }
.empty-state i { font-size: 40px; color: var(--text-4); }

/* TOAST */
.toast {
  position: fixed;
  bottom: 100px;
  left: 16px;
  right: 16px;
  background: rgba(20, 20, 24, 0.95);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.toast.show { transform: translateY(0); }
.toast i { color: var(--green); font-size: 18px; flex-shrink: 0; }
.toast.error { border-color: rgba(255, 69, 58, 0.3); }
.toast.error i { color: #ff453a; }

/* REFRESH BUTTON */
.refresh-btn {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: var(--surface-1);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-1);
  color: var(--green);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s;
  cursor: pointer;
  font-family: inherit;
}
.refresh-btn:active {
  background: rgba(74, 222, 128, 0.08);
  transform: scale(0.98);
}

/* FAB */
.fab {
  position: fixed;
  bottom: 96px;
  right: 20px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
  color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(48, 209, 88, 0.5), 0 0 60px rgba(34, 211, 238, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.4);
  z-index: 90;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  filter: blur(16px);
  opacity: 0.5;
  z-index: -1;
  animation: fabGlow 3s ease-in-out infinite;
}
@keyframes fabGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}
.fab:active { transform: scale(0.94); }
.fab-badge {
  position: absolute;
  top: -2px; right: -2px;
  background: linear-gradient(135deg, #f87171, #ff453a);
  color: #fff;
  font-size: 11px; font-weight: 700;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #000;
  box-shadow: 0 0 12px rgba(255, 69, 58, 0.6);
}

/* DRAWER */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.drawer-overlay.active { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: rgba(12, 12, 14, 0.95);
  backdrop-filter: blur(30px) saturate(200%);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(74, 222, 128, 0.15);
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-1);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.drawer-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: #000;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(48, 209, 88, 0.3);
}
.drawer-brand {
  flex: 1;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.drawer-brand span {
  display: block;
  font-size: 10px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}
.drawer-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
  cursor: pointer;
  transition: all 0.25s;
}
.drawer-close:active { background: rgba(74, 222, 128, 0.15); color: var(--green); }
.drawer-user {
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.04) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-1);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.drawer-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #000;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.drawer-avatar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.25), transparent);
  border-radius: 50% 50% 0 0;
}
.drawer-name { font-size: 14px; font-weight: 700; color: var(--text-1); margin-bottom: 2px; }
.drawer-role { font-size: 10.5px; color: var(--green); font-weight: 700; letter-spacing: 0.5px; }
.drawer-menu { flex: 1; padding: 12px; }
.drawer-label {
  font-size: 9.5px;
  text-transform: uppercase;
  color: var(--text-4);
  letter-spacing: 2px;
  padding: 14px 12px 8px;
  font-weight: 700;
}
.drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.25s;
  cursor: pointer;
  margin-bottom: 2px;
}
.drawer-item:active {
  background: rgba(74, 222, 128, 0.08);
  color: var(--green);
}
.drawer-item i { width: 20px; text-align: center; font-size: 15px; color: var(--text-3); }
.drawer-item:active i { color: var(--green); }
.drawer-badge {
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: auto;
  display: none;
}
.drawer-badge.show { display: inline-block; }

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
  background: rgba(20, 20, 24, 0.95);
  backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid var(--border-2);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}
.modal-overlay.active .modal-box { transform: scale(1) translateY(0); }
.modal-box.small { max-width: 380px; }
.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-thumb { background: #222; border-radius: 4px; }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-1);
  position: sticky;
  top: 0;
  background: rgba(20, 20, 24, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2;
}
.modal-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-title i { color: var(--green); font-size: 16px; }
.modal-close {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; cursor: pointer;
  transition: all 0.2s;
}
.modal-close:active { background: rgba(255, 69, 58, 0.15); color: var(--red); }
.modal-body { padding: 20px 22px 24px; }

/* STAGE GRID */
.stage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.stage-btn {
  padding: 14px 8px;
  border-radius: 12px;
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  color: var(--text-1);
  font-size: 14px;
  font-weight: 700;
  font-family: 'Share Tech Mono', monospace;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.stage-btn:active {
  background: rgba(74, 222, 128, 0.15);
  color: var(--green);
  transform: scale(0.95);
}

/* CHAT HEADER MENU */
.chat-header-info { cursor: pointer; transition: opacity 0.2s; }
.chat-header-info:active { opacity: 0.7; }

.chat-menu-dropdown {
  position: fixed;
  top: 70px;
  right: 16px;
  background: rgba(20, 20, 24, 0.98);
  backdrop-filter: blur(30px);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  z-index: 1002;
  min-width: 220px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.chat-menu-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.chat-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: none;
  border: none;
  color: var(--text-1);
  font-size: 13.5px;
  font-weight: 500;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 1px solid var(--border-1);
}
.chat-menu-item:last-child { border-bottom: none; }
.chat-menu-item i { width: 18px; text-align: center; font-size: 14px; color: var(--green); }
.chat-menu-item:active { background: rgba(74, 222, 128, 0.08); }
.chat-menu-item.danger i { color: var(--red); }
.chat-menu-item.danger:active { background: rgba(255, 69, 58, 0.08); }

/* CHAT WINDOW */
.chat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.chat-overlay.active { opacity: 1; visibility: visible; }
.chat-window {
  position: fixed;
  inset: 0;
  background: #000;
  background-image: 
    radial-gradient(ellipse at 20% 20%, rgba(48, 209, 88, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(34, 211, 238, 0.05) 0%, transparent 50%);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.chat-window.open { transform: translateX(0); }
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-1);
  flex-shrink: 0;
  height: 64px;
}
.chat-back-btn, .chat-header-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s;
}
.chat-back-btn:active { background: rgba(74, 222, 128, 0.15); color: var(--green); }
.chat-header-btn:active { background: rgba(255, 69, 58, 0.1); color: var(--red); }
.chat-header-info { flex: 1; min-width: 0; }
.chat-header-name { font-size: 15px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.chat-header-status { font-size: 11px; color: var(--text-3); display: flex; align-items: center; gap: 5px; }
.chat-header-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; display: inline-block; animation: pulse 1.8s ease-in-out infinite; }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: #222; border-radius: 4px; }
.msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.45;
  word-wrap: break-word;
  white-space: pre-wrap;
}
.msg.in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-1);
  color: var(--text-1);
  border-bottom-left-radius: 4px;
}
.msg.out {
  align-self: flex-end;
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  color: #000;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.msg-time { font-size: 9.5px; color: var(--text-4); margin-top: 4px; text-align: right; }
.msg.out .msg-time { color: rgba(0, 0, 0, 0.4); }
.msg-divider {
  text-align: center;
  font-size: 10.5px;
  color: var(--text-4);
  margin: 12px 0 8px;
  position: relative;
}
.msg-divider::before, .msg-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: var(--border-1);
}
.msg-divider::before { left: 5%; }
.msg-divider::after { right: 5%; }
.chat-input-area {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px 16px 16px;
  background: rgba(10, 10, 12, 0.95);
  border-top: 1px solid var(--border-1);
  flex-shrink: 0;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}
.chat-input {
  flex: 1;
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  border-radius: 20px;
  padding: 10px 16px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  resize: none;
  max-height: 100px;
  min-height: 42px;
  line-height: 1.4;
  transition: all 0.2s;
}
.chat-input:focus { border-color: rgba(74, 222, 128, 0.4); background: var(--surface-2); }
.chat-input::placeholder { color: var(--text-4); }
.chat-send-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
  box-shadow: 0 0 25px rgba(74, 222, 128, 0.3);
  transition: all 0.2s;
  border: none; cursor: pointer;
}
.chat-send-btn:active { transform: scale(0.92); }
.chat-send-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.chat-empty { text-align: center; padding: 60px 20px; color: var(--text-4); font-size: 13px; }
.chat-empty i { font-size: 48px; color: var(--text-4); margin-bottom: 16px; display: block; }

/* CHAT LIST */
.chat-list { display: flex; flex-direction: column; gap: 8px; }
.chat-item {
  background: var(--surface-1);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
}
.chat-item:active { background: var(--surface-2); border-color: rgba(74, 222, 128, 0.15); }
.chat-item.unread { border-color: rgba(74, 222, 128, 0.2); background: rgba(74, 222, 128, 0.03); }
.chat-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  color: #000;
  font-size: 17px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.chat-avatar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.25), transparent);
  border-radius: 50% 50% 0 0;
}
.chat-avatar-badge {
  position: absolute;
  bottom: -2px; right: -2px;
  font-size: 8px; font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: #4ade80;
  color: #000;
  letter-spacing: 0.3px;
  border: 2px solid #000;
  z-index: 2;
}
.chat-avatar-badge.bot2 { background: #c084fc; color: #000; }
.chat-info { flex: 1; min-width: 0; }
.chat-name {
  font-size: 14px; font-weight: 600;
  color: var(--text-1); margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chat-last-msg {
  font-size: 12px; color: var(--text-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 2px;
}
.chat-last-msg.out { color: var(--text-4); font-style: italic; }
.chat-time { font-size: 10px; color: var(--text-4); }
.chat-unread-badge {
  background: linear-gradient(135deg, #f87171, #ff453a);
  color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 10px;
  min-width: 22px; text-align: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(255, 69, 58, 0.4);
}

/* BOT CARDS */
.bot-cards { display: flex; flex-direction: column; gap: 14px; }
.bot-card {
  background: var(--surface-1);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-1);
  border-radius: 20px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.bot-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.4), transparent);
}
.bot-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.bot-card-title {
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.bot-card-title i { color: var(--green); font-size: 14px; }
.bot-status {
  display: flex; align-items: center; gap: 5px;
  font-size: 10.5px; color: #4ade80; font-weight: 600;
  background: rgba(74, 222, 128, 0.1);
  padding: 3px 10px; border-radius: 12px;
}
.bot-status .dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
.bot-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.bot-stat-item { background: var(--surface-1); border-radius: 10px; padding: 10px 12px; }
.bot-stat-label {
  font-size: 9.5px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.8px;
  font-weight: 600; margin-bottom: 4px;
}
.bot-stat-value {
  font-size: 18px; font-weight: 700;
  font-family: 'Share Tech Mono', monospace;
  color: #4ade80;
}
.bot-stages {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px; margin-top: 12px; padding-top: 14px;
  border-top: 1px solid var(--border-1);
}
.bot-stage-item {
  text-align: center; padding: 8px 4px;
  background: var(--surface-1); border-radius: 8px;
}
.bot-stage-item .stage-name {
  font-size: 9px; color: var(--text-3);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 3px;
}
.bot-stage-item .stage-count {
  font-size: 14px; font-weight: 700;
  font-family: 'Share Tech Mono', monospace;
  color: var(--text-1);
}
.bot-stage-item.active { background: rgba(74, 222, 128, 0.1); }
.bot-stage-item.active .stage-count { color: #4ade80; }

/* TRANSACTION CARD */
.tx-list { display: flex; flex-direction: column; gap: 8px; }
.tx-card {
  background: var(--surface-1);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}
.tx-card:active { background: var(--surface-2); border-color: rgba(74, 222, 128, 0.15); }
.tx-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.tx-icon::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.2), transparent);
  border-radius: 12px 12px 0 0;
}
.tx-icon.gold, .tx-icon.green { background: linear-gradient(135deg, #4ade80, #22c55e); color: #000; box-shadow: 0 4px 12px rgba(48, 209, 88, 0.3); }
.tx-icon.blue { background: linear-gradient(135deg, #3b82f6, #0a84ff); color: #fff; box-shadow: 0 4px 12px rgba(10, 132, 255, 0.3); }
.tx-icon.red { background: linear-gradient(135deg, #f87171, #ff453a); color: #fff; box-shadow: 0 4px 12px rgba(255, 69, 58, 0.3); }
.tx-icon.purple { background: linear-gradient(135deg, #c084fc, #bf5af2); color: #fff; box-shadow: 0 4px 12px rgba(191, 90, 242, 0.3); }
.tx-info { flex: 1; min-width: 0; }
.tx-title { font-size: 13.5px; font-weight: 600; color: var(--text-1); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-detail { font-size: 11px; color: var(--text-3); display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.tx-amount { font-size: 14px; font-weight: 700; color: #4ade80; font-family: 'Share Tech Mono', monospace; }
.tx-bot-badge {
  font-size: 9px; padding: 1px 7px; border-radius: 6px;
  font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase;
}
.tx-bot-badge.bot1 { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.tx-bot-badge.bot2 { background: rgba(191, 90, 242, 0.15); color: #c084fc; }

/* BROADCAST ITEM */
.bcast-item {
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bcast-item-info { flex: 1; min-width: 0; }
.bcast-item-title { font-size: 13px; font-weight: 600; color: var(--text-1); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcast-item-detail { font-size: 10.5px; color: var(--text-3); }
.bcast-item-actions { display: flex; gap: 6px; flex-shrink: 0; }
.bcast-delete-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255, 69, 58, 0.1);
  border: 1px solid rgba(255, 69, 58, 0.15);
  color: #ff453a;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; cursor: pointer;
}
.bcast-delete-btn:active { transform: scale(0.92); }

/* PROGRESS BAR */
.bcast-progress-info {
  background: var(--surface-1);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.bcast-progress-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-3);
}
.bcast-progress-row strong { color: var(--text-1); font-weight: 600; }
.bcast-progress-bar-wrap {
  width: 100%; height: 12px;
  background: var(--surface-2);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}
.bcast-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4ade80, #22d3ee);
  border-radius: 8px;
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
}
.bcast-progress-percent {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Share Tech Mono', monospace;
  margin-bottom: 8px;
}

/* PROFILE MODAL */
.profile-section { margin-bottom: 20px; }
.profile-section:last-child { margin-bottom: 0; }
.profile-section-title {
  font-size: 11px; color: var(--green);
  text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 700; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.profile-section-title i { font-size: 12px; }
.profile-header-info {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; background: var(--surface-1);
  border-radius: 14px; margin-bottom: 20px;
}
.profile-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: #000;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(48, 209, 88, 0.3);
  position: relative; overflow: hidden;
}
.profile-avatar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.25), transparent);
  border-radius: 50% 50% 0 0;
}
.profile-name { font-size: 18px; font-weight: 700; color: var(--text-1); margin-bottom: 4px; }
.profile-sub { font-size: 12px; color: var(--text-3); margin-bottom: 2px; }
.profile-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border-1);
  gap: 12px;
}
.profile-row:last-child { border-bottom: none; }
.profile-row-label {
  font-size: 12.5px; color: var(--text-3);
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.profile-row-label i { color: var(--green); width: 14px; font-size: 12px; }
.profile-row-value {
  font-size: 13px; color: var(--text-1);
  font-weight: 500; text-align: right;
  word-break: break-word; max-width: 60%;
}
.profile-row-value.mono {
  font-family: 'Share Tech Mono', monospace;
  color: #4ade80; font-weight: 700;
}
.profile-row-value.gold {
  color: #4ade80; font-weight: 700;
  font-family: 'Share Tech Mono', monospace;
}
.profile-row-value.empty { color: var(--text-4); font-style: italic; font-weight: 400; }
.profile-tx-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: var(--surface-1);
  border-radius: 10px; margin-bottom: 6px;
}
.profile-tx-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}
.profile-tx-info { flex: 1; min-width: 0; }
.profile-tx-type { font-size: 12.5px; font-weight: 600; color: var(--text-1); margin-bottom: 2px; }
.profile-tx-date { font-size: 10.5px; color: var(--text-3); }
.profile-tx-amount {
  font-size: 13px; font-weight: 700;
  color: #4ade80;
  font-family: 'Share Tech Mono', monospace;
  flex-shrink: 0;
}

/* BALANCE BOX MODAL */
.balance-box-modal {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.08), rgba(34, 211, 238, 0.04));
  border: 1px solid rgba(74, 222, 128, 0.15);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: center;
}
.balance-box-modal .balance-label {
  font-size: 10.5px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 600; margin-bottom: 6px;
}
.balance-box-modal .balance-amount {
  font-size: 26px; font-weight: 800;
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Share Tech Mono', monospace;
}

/* FORM NOMINAL */
.form-nominal { position: relative; }
.form-nominal .prefix {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-weight: 700;
  font-size: 15px;
  font-family: 'Share Tech Mono', monospace;
  pointer-events: none;
}
.form-nominal input {
  padding-left: 58px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 17px;
  font-weight: 600;
}

/* ============ EXPENSES HERO ============ */
.stat-hero.expenses-hero {
  background: linear-gradient(135deg, rgba(255,69,58,0.10) 0%, rgba(255,159,10,0.06) 50%, rgba(191,90,242,0.04) 100%), var(--surface-1);
  border-color: rgba(255,69,58,0.2);
}
.stat-hero.expenses-hero .stat-hero-value {
  background: linear-gradient(135deg, #ff453a 0%, #ff9f0a 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(255,69,58,0.3));
}
.stat-hero.expenses-hero .stat-hero-label i { color: #ff453a; filter: drop-shadow(0 0 8px rgba(255,69,58,0.5)); }

/* ============ PAYMENT POPUP ============ */
.payment-popup {
  position: fixed; top: 80px; right: 16px; left: 16px; max-width: 380px; margin-left: auto;
  background: rgba(20,20,24,0.95);
  backdrop-filter: blur(30px) saturate(200%); -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(74,222,128,0.35); border-radius: 18px; padding: 16px;
  z-index: 9999; box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(74,222,128,0.2);
  transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.payment-popup.show { transform: translateX(0); }
.payment-popup::before { content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(74,222,128,0.6), transparent); }
.payment-popup-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.payment-popup-icon { width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, #4ade80, #22d3ee); display: flex; align-items: center; justify-content: center; color: #000; font-size: 16px; flex-shrink: 0; }
.payment-popup-title { font-size: 13px; font-weight: 700; color: #4ade80; }
.payment-popup-sub { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.payment-popup-amount { font-size: 20px; font-weight: 800; font-family: 'Share Tech Mono', monospace; background: linear-gradient(135deg, #4ade80, #22d3ee); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-top: 8px; }

/* ============ BROADCAST SEND BTN ============ */
.bcast-item-actions { display: flex; gap: 6px; flex-shrink: 0; }
.bcast-send-btn {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(74,222,128,0.15); border: 1px solid rgba(74,222,128,0.25); color: #4ade80;
  display: flex; align-items: center; justify-content: center; font-size: 12px; cursor: pointer; transition: all 0.2s;
}
.bcast-send-btn:active { transform: scale(0.92); background: rgba(74,222,128,0.3); }

/* ============ FIX FAB (Floating Chat Button) ============ */
.fab-inbox, .fab {
  position: fixed !important;
  bottom: 96px !important;
  right: 20px !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%) !important;
  color: #000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  border: none !important;
  cursor: pointer !important;
  z-index: 90 !important;
  box-shadow: 0 8px 32px rgba(48, 209, 88, 0.5), 0 0 60px rgba(34, 211, 238, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.4) !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  outline: none;
}
.fab-inbox::before, .fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  filter: blur(16px);
  opacity: 0.5;
  z-index: -1;
  animation: fabGlow 3s ease-in-out infinite;
}
@keyframes fabGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}
.fab-inbox:active, .fab:active {
  transform: scale(0.94) !important;
}
.fab-inbox i, .fab i {
  font-size: 24px !important;
  color: #000 !important;
}
.fab-inbox-badge, .fab-badge {
  position: absolute !important;
  top: -2px !important;
  right: -2px !important;
  background: linear-gradient(135deg, #f87171, #ff453a) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  min-width: 22px !important;
  height: 22px !important;
  padding: 0 6px !important;
  border-radius: 11px !important;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid #000 !important;
  box-shadow: 0 0 12px rgba(255, 69, 58, 0.6) !important;
}
.fab-inbox-badge:not(:empty), .fab-badge:not(:empty) {
  display: flex;
}

/* ============ FIX HAMBURGER BUTTON ============ */
.header-menu-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: all 0.25s !important;
  padding: 0 !important;
  outline: none;
}
.header-menu-btn i {
  font-size: 16px !important;
  color: rgba(255, 255, 255, 0.85) !important;
}
.header-menu-btn:active {
  background: rgba(74, 222, 128, 0.15) !important;
  border-color: rgba(74, 222, 128, 0.3) !important;
  transform: scale(0.95) !important;
}
.header-menu-btn:active i {
  color: #4ade80 !important;
}

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 480px) {
  .app-content, .content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .greeting h1 {
    font-size: 28px !important;
    letter-spacing: -0.03em !important;
  }
  .stat-hero-value {
    font-size: 32px !important;
  }
  .stat-mini-value {
    font-size: 18px !important;
  }
  .bottom-nav, .tab-bar {
    height: 62px !important;
    bottom: 10px !important;
    left: 10px !important;
    right: 10px !important;
  }
  .nav-item, .tab-item {
    font-size: 9px !important;
  }
  .nav-item i, .tab-item i {
    font-size: 18px !important;
  }
  .fab-inbox, .fab {
    bottom: 88px !important;
    right: 16px !important;
    width: 56px !important;
    height: 56px !important;
    font-size: 22px !important;
  }
  .fab-inbox i, .fab i {
    font-size: 22px !important;
  }
}

@media (max-width: 360px) {
  .greeting h1 { font-size: 24px !important; }
  .stat-hero-value { font-size: 28px !important; }
}

/* ============================================================
   TOP USERS (Advanced Page) — premium styling
   ============================================================ */
#topUsers, .top-users-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.top-user-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.top-user-item::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  pointer-events: none;
}

.top-user-item:active {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

/* Rank badge */
.top-user-rank {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  font-family: 'Share Tech Mono', monospace;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s;
}

/* Top 3 gold */
.top-user-rank.gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000;
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Rank #1 extra glow */
.top-user-item:nth-child(1) .top-user-rank.gold {
  background: linear-gradient(135deg, #fde047, #f59e0b);
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.6), 0 0 30px rgba(251, 191, 36, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Info */
.top-user-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.top-user-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-user-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

/* Amount */
.top-user-amount {
  font-size: 14px;
  font-weight: 800;
  font-family: 'Share Tech Mono', monospace;
  color: #4ade80;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.3));
}

/* Rank #1-3 amount gold */
.top-user-item:nth-child(1) .top-user-amount,
.top-user-item:nth-child(2) .top-user-amount,
.top-user-item:nth-child(3) .top-user-amount {
  color: #fbbf24;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.35));
}

/* Special accent for #1 */
.top-user-item:nth-child(1) {
  border-color: rgba(251, 191, 36, 0.2);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.06), rgba(255, 255, 255, 0.03));
}

.top-user-item:nth-child(2) {
  border-color: rgba(203, 213, 225, 0.15);
}

.top-user-item:nth-child(3) {
  border-color: rgba(217, 119, 6, 0.15);
}

@media (max-width: 480px) {
  .top-user-rank { width: 28px; height: 28px; font-size: 12px; }
  .top-user-name { font-size: 13px; }
  .top-user-amount { font-size: 13px; }
  .top-user-meta { font-size: 10px; }
  .top-user-item { padding: 11px 12px; }
}

/* ============================================================
   POPUP FIX — Taruh di atas, auto-hide, nggak nyangkut
   ============================================================ */
.popup {
  position: fixed !important;
  top: 76px !important;
  right: 16px !important;
  left: 16px !important;
  bottom: auto !important;
  max-width: 400px !important;
  margin-left: auto !important;
  z-index: 9999 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-20px) !important;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s !important;
}

.popup.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.popup::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74,222,128,0.6), transparent);
}

/* Hide popup kalau bukan di halaman overview */
body:not(.on-overview) .popup {
  display: none !important;
}

/* ============================================================
   AUTO BROADCAST UI
   ============================================================ */
.bcast-item-full {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.bcast-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.bcast-item-title-main {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex: 1;
  min-width: 0;
}

.bcast-item-caption {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bcast-actions-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.bcast-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid;
  transition: all 0.2s;
  flex-shrink: 0;
}

.bcast-action-btn.send {
  background: rgba(74,222,128,0.12);
  border-color: rgba(74,222,128,0.25);
  color: #4ade80;
}

.bcast-action-btn.delete {
  background: rgba(255,69,58,0.12);
  border-color: rgba(255,69,58,0.25);
  color: #ff453a;
}

.bcast-action-btn:active { transform: scale(0.92); }

/* AUTO section */
.bcast-auto-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.bcast-auto-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.bcast-auto-title {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.bcast-auto-title i { color: #4ade80; font-size: 11px; }

.bcast-auto-status {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

.bcast-auto-status.on { color: #4ade80; }
.bcast-auto-status.off { color: rgba(255,255,255,0.3); }

.bcast-auto-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.bcast-interval-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 6px 8px;
  color: #fff;
  font-size: 11px;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
}

.bcast-interval-select:focus {
  border-color: rgba(74,222,128,0.4);
}

.bcast-interval-select option {
  background: #1a1a1f;
  color: #fff;
}

/* Toggle switch */
.bcast-toggle {
  width: 44px;
  height: 26px;
  border-radius: 13px;
  background: rgba(255,255,255,0.1);
  position: relative;
  cursor: pointer;
  transition: background 0.25s;
  flex-shrink: 0;
}

.bcast-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.bcast-toggle.on {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  box-shadow: 0 0 12px rgba(74,222,128,0.5);
}

.bcast-toggle.on::after {
  transform: translateX(18px);
}

.bcast-last-sent {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  margin-top: 2px;
}

/* ============================================================
   FIX TOGGLE HARD — Pastikan tombol clickable
   ============================================================ */

/* Semua yang berhubungan sama bcast bisa diklik */
.bcast-item-full,
.bcast-item-full *,
.bcast-auto-section,
.bcast-auto-section *,
.bcast-auto-controls,
.bcast-auto-controls *,
.bcast-toggle,
.bcast-interval-select {
  pointer-events: auto !important;
}

/* Toggle spesifik */
.bcast-toggle {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 999 !important;
  position: relative !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* Pseudo-element toggle jangan ganggu klik */
.bcast-toggle::before,
.bcast-toggle::after {
  pointer-events: none !important;
}

/* Dropdown */
.bcast-interval-select {
  z-index: 998 !important;
  position: relative !important;
  cursor: pointer !important;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 12px;
  padding-right: 24px;
}

/* Pastikan tidak ada yang nutup */
.page,
.page *,
.panel,
.panel *,
.list,
.list * {
  pointer-events: auto;
}

/* Popup jangan nutup kalo gak show */
.popup {
  pointer-events: none !important;
}

.popup.show {
  pointer-events: auto !important;
}

/* Fade-in jangan bikin unclickable */
.fade-in {
  pointer-events: auto !important;
}

/* ============================================================
   TOGGLE FIX BERSIH
   ============================================================ */
.bcast-toggle {
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  z-index: 999;
}
.bcast-toggle::after {
  pointer-events: none;
}
.bcast-interval-select {
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 998;
}
.popup:not(.show) {
  pointer-events: none;
}
.popup.show {
  pointer-events: auto;
}

/* Button reset untuk toggle */
button.bcast-toggle {
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.1);
  width: 44px;
  height: 26px;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.25s;
  flex-shrink: 0;
  pointer-events: auto;
  z-index: 999;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button.bcast-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  pointer-events: none;
}

button.bcast-toggle.on {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  box-shadow: 0 0 12px rgba(74,222,128,0.5);
}

button.bcast-toggle.on::after {
  transform: translateX(18px);
}

/* ============================================================
   AUTO BROADCAST BUTTON (bukan toggle switch)
   ============================================================ */
.bcast-auto-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.bcast-interval-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 24px 8px 10px;
  color: #fff;
  font-size: 11px;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 12px;
}

.bcast-toggle-btn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: inherit;
  border: 1px solid;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.bcast-toggle-btn.off {
  background: rgba(74,222,128,0.15);
  border-color: rgba(74,222,128,0.35);
  color: #4ade80;
}

.bcast-toggle-btn.off:active {
  background: rgba(74,222,128,0.3);
  transform: scale(0.95);
}

.bcast-toggle-btn.on {
  background: rgba(255,69,58,0.15);
  border-color: rgba(255,69,58,0.35);
  color: #ff453a;
}

.bcast-toggle-btn.on:active {
  background: rgba(255,69,58,0.3);
  transform: scale(0.95);
}

/* Link mode toggle */
a.bcast-toggle-btn {
  display: inline-block;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: inherit;
  border: 1px solid;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

a.bcast-toggle-btn.off {
  background: rgba(74,222,128,0.15);
  border-color: rgba(74,222,128,0.35);
  color: #4ade80;
}

a.bcast-toggle-btn.on {
  background: rgba(255,69,58,0.15);
  border-color: rgba(255,69,58,0.35);
  color: #ff453a;
}

/* ============================================================
   TOAST (fix: element baru)
   ============================================================ */
.toast {
  position: fixed;
  bottom: 100px;
  left: 16px;
  right: 16px;
  max-width: 400px;
  margin: 0 auto;
  background: rgba(20, 20, 24, 0.95);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(74, 222, 128, 0.15);
  z-index: 99999;
  transform: translateY(150%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast i {
  font-size: 18px;
  color: #4ade80;
  flex-shrink: 0;
}

.toast span {
  flex: 1;
  line-height: 1.4;
}

.toast.error {
  border-color: rgba(255, 69, 58, 0.3);
}

.toast.error i {
  color: #ff453a;
}

/* Modal style (kalau belum ada) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: rgba(20, 20, 24, 0.98);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  background: rgba(20, 20, 24, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2;
}

.modal-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title i {
  color: #4ade80;
  font-size: 16px;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:active {
  background: rgba(255, 69, 58, 0.15);
  color: #ff453a;
}

.modal-body {
  padding: 20px 22px 24px;
}

.form-label {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.form-group {
  margin-bottom: 14px;
}

.form-input {
  width: 100%;
  height: 46px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all 0.25s;
}

.form-input:focus {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.btn-block { width: 100%; }

.btn-primary {
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s;
}

.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
