/* ==========================================================================
   MUTABIKPOS LUXURY FINTECH DARK DESIGN SYSTEM
   Palette: Obsidian (#070b14, #0d1322, #141d33), Emerald (#10b981), Gold (#f59e0b)
   ========================================================================== */

:root {
  --bg-main: #070b14;
  --bg-surface: #0d1322;
  --bg-surface-elevated: #141d33;
  --bg-glass: rgba(16, 24, 40, 0.75);
  --bg-glass-hover: rgba(22, 33, 56, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-focus: rgba(16, 185, 129, 0.6);

  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --emerald: #10b981;
  --emerald-hover: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --emerald-subtle: rgba(16, 185, 129, 0.12);

  --gold: #f59e0b;
  --gold-hover: #d97706;
  --gold-glow: rgba(245, 158, 11, 0.25);
  --gold-subtle: rgba(245, 158, 11, 0.12);

  --cyan: #38bdf8;
  --danger: #ef4444;
  --danger-glow: rgba(239, 68, 68, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.2);
  --shadow-gold: 0 0 25px rgba(245, 158, 11, 0.25);
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(16, 185, 129, 0.08) 0%, transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 60%, rgba(56, 189, 248, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Utilities */
.mono { font-family: var(--font-mono); }
.bold { font-weight: 700; }
.text-lg { font-size: 1.15rem; }
.text-xl { font-size: 1.35rem; }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.75rem; }
.text-center { text-align: center; }
.tracking-widest { letter-spacing: 0.25em; }

.text-emerald { color: var(--emerald); }
.text-gold { color: var(--gold); }
.text-cyan { color: var(--cyan); }
.text-muted { color: var(--text-muted); }

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.hidden { display: none !important; }

/* Ticker Strip */
.ticker-wrapper {
  background: #04070d;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  height: 38px;
  position: relative;
  z-index: 50;
}

.ticker-inner {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
}

.ticker-label {
  background: var(--bg-surface-elevated);
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--emerald);
  white-space: nowrap;
  border-right: 1px solid var(--border-subtle);
  z-index: 2;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 8px var(--emerald);
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: tickerSlide 35s linear infinite;
  padding-left: 20px;
}

.ticker-wrapper:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.t-sym {
  font-weight: 600;
  color: var(--text-main);
}

.t-rate {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.t-net {
  color: var(--emerald);
  font-family: var(--font-mono);
  font-weight: 600;
  background: var(--emerald-subtle);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #091321 0%, #0d2238 50%, #091321 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  padding: 7px 16px;
  font-size: 0.8rem;
  color: var(--text-main);
}

.announcement-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.announcement-badge {
  background: rgba(56, 189, 248, 0.2);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.4);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 12px;
}

/* Header */
.main-header {
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(245, 158, 11, 0.15));
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.accent-emerald {
  color: var(--emerald);
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  padding: 5px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.nav-tab {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

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

.nav-tab.active {
  background: var(--bg-surface-elevated);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
}

.tab-pill {
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.highlight-gold {
  background: var(--gold-subtle);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.highlight-emerald {
  background: var(--emerald-subtle);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

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

.system-status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--emerald);
  background: var(--emerald-subtle);
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
  animation: pulseGlow 2s infinite;
}

/* Affiliate Banner */
.affiliate-banner {
  background: linear-gradient(90deg, #1c1404 0%, #2f2105 50%, #1c1404 100%);
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  padding: 9px 16px;
  font-size: 0.82rem;
  color: #fef3c7;
  text-align: center;
}

/* Main Container */
.main-content {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero-section {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 36px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 60%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Glassmorphism Cards */
.card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.card-header {
  margin-bottom: 20px;
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--emerald);
  color: var(--emerald);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 0 10px var(--emerald-glow);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.card-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

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

.flex-wrap {
  flex-wrap: wrap;
  gap: 12px;
}

/* Exchange Grid Layout */
.exchange-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

/* Network Selector Grid */
.network-selector-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.network-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.network-card:hover {
  background: var(--bg-surface-elevated);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.network-card.active {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--emerald);
  box-shadow: 0 0 16px var(--emerald-glow);
}

.net-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.net-icon {
  font-size: 1.25rem;
}

.net-discount-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-subtle);
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.net-sym {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.net-chain {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.net-rate-sub {
  font-size: 0.72rem;
  color: var(--emerald);
  font-family: var(--font-mono);
  margin-top: 4px;
}

/* Calculator Section */
.calc-section {
  background: rgba(8, 13, 23, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.input-block {
  margin-bottom: 14px;
}

.input-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.badge-mini {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.badge-emerald {
  background: var(--emerald-subtle);
  color: var(--emerald);
  border-color: rgba(16, 185, 129, 0.3);
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 12px var(--emerald-glow);
  background: var(--bg-surface-elevated);
}

.form-input-sm {
  padding: 8px 12px;
  font-size: 0.85rem;
  width: auto;
}

.input-suffix {
  position: absolute;
  right: 14px;
  color: var(--text-secondary);
  pointer-events: none;
  font-size: 0.95rem;
}

.quick-amounts {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.btn-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-chip:hover {
  background: var(--bg-surface-elevated);
  color: #fff;
  border-color: var(--emerald);
}

.calc-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  padding: 8px 0;
  border-top: 1px dashed var(--border-subtle);
  border-bottom: 1px dashed var(--border-subtle);
}

.calc-divider-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--emerald);
}

.calc-divider-rate {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.rate-market-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 6px;
}

/* Rate Breakdown Card */
.rate-breakdown-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 14px;
  border: 1px solid var(--border-subtle);
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding: 5px 0;
}

.breakdown-label {
  color: var(--text-secondary);
}

.breakdown-val {
  color: #fff;
}

.total-row {
  border-top: 1px solid var(--border-subtle);
  margin-top: 6px;
  padding-top: 10px;
}

/* Forms */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.req {
  color: var(--danger);
}

.opt {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.75rem;
}

.field-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.col-6 {
  flex: 1;
}

.label-with-bank {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.bank-detect-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Terms Checkbox */
.terms-box {
  margin: 18px 0;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  background: var(--bg-surface);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.custom-checkbox input:checked ~ .checkmark {
  background: var(--emerald);
  border-color: var(--emerald);
  box-shadow: 0 0 8px var(--emerald-glow);
}

.custom-checkbox input:checked ~ .checkmark::after {
  content: '✓';
  color: #070b14;
  font-size: 0.8rem;
  font-weight: 800;
}

.terms-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  outline: none;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald) 0%, #059669 100%);
  color: #070b14;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 16px var(--emerald-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34d399 0%, var(--emerald) 100%);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
  color: #070b14;
  font-weight: 700;
  box-shadow: 0 4px 16px var(--gold-glow);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, var(--gold) 100%);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-emerald {
  background: var(--emerald-subtle);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.btn-emerald:hover {
  background: var(--emerald);
  color: #070b14;
}

.btn-danger-outline {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: var(--danger);
}

.btn-danger-outline:hover {
  background: rgba(239, 68, 68, 0.1);
}

.btn-link {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: none;
  transition: color 0.15s;
}

.btn-link:hover {
  color: #fff;
}

/* Security Highlights below form */
.security-features {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sec-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sec-icon {
  font-size: 1.25rem;
}

.sec-item strong {
  font-size: 0.85rem;
  color: #fff;
  display: block;
}

.sec-item p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TAB 2: SIGNALS & SCALPBOT STYLES
   ========================================================================== */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all 0.2s;
}

.kpi-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.highlight-card-gold {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(16, 24, 40, 0.8) 100%);
  box-shadow: 0 0 20px var(--gold-glow);
}

.kpi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.kpi-title {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.kpi-icon {
  font-size: 1rem;
}

.kpi-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.kpi-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Equity Chart */
.equity-chart-card {
  margin-bottom: 30px;
}

.chart-legend {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.emerald-dot {
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
}

.equity-chart-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  margin-top: 10px;
}

.equity-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.chart-tooltip {
  position: absolute;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--emerald);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #fff;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  z-index: 10;
  transform: translate(-50%, -120%);
}

/* Subscription Plans Grid */
.plans-container {
  margin-bottom: 36px;
}

.plans-header {
  text-align: center;
  margin-bottom: 24px;
}

.plans-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.plans-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.plan-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.plan-card.featured-gold {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(13, 19, 34, 0.9) 100%);
  box-shadow: 0 0 30px var(--gold-glow);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--emerald);
  color: #070b14;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 12px;
  border-radius: 12px;
}

.plan-badge.gold-badge {
  background: var(--gold);
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.plan-period {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.check-icon {
  color: var(--emerald);
  font-weight: 800;
  flex-shrink: 0;
}

/* Radar & Tables */
.signal-radar-card, .recent-trades-card {
  margin-bottom: 28px;
}

.radar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-btn-group {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3px;
  gap: 3px;
}

.btn-filter {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}

.btn-filter.active {
  background: var(--bg-surface-elevated);
  color: #fff;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.data-table th {
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: #fff;
  white-space: nowrap;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.data-table-sm th, .data-table-sm td {
  padding: 8px 10px;
  font-size: 0.78rem;
}

/* Signal Badges */
.badge-long {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.badge-short {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* Strength Progress Bar */
.strength-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.strength-bar-bg {
  width: 70px;
  height: 6px;
  background: var(--bg-surface-elevated);
  border-radius: 3px;
  overflow: hidden;
}

.strength-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald) 0%, #34d399 100%);
  border-radius: 3px;
}

/* ==========================================================================
   TAB 3: B2B SANAL KRİPTO POS STYLES
   ========================================================================== */

.features-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.feature-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.sanalpos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* API Key Card Result */
.api-key-result-card {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--emerald);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 18px;
  animation: fadeIn 0.3s ease;
}

.api-key-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.btn-close-mini {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1rem;
}

.api-key-body label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.copy-box {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.api-key-warning {
  font-size: 0.72rem;
  color: var(--gold);
  margin-top: 10px;
  line-height: 1.4;
}

/* Code Snippet Box */
.code-box-container {
  background: #04070d;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.code-tabs {
  display: flex;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.code-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.15s;
}

.code-tab.active {
  background: #04070d;
  color: var(--emerald);
  font-weight: 700;
  border-bottom: 2px solid var(--emerald);
}

.code-pre-wrapper {
  position: relative;
  padding: 14px;
  max-height: 220px;
  overflow: auto;
}

.code-pre-wrapper pre {
  margin: 0;
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.btn-copy-code {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px 8px;
  font-size: 0.85rem;
}

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

/* Demo Checkout Box */
.demo-interactive-box {
  background: var(--bg-surface);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-md);
  padding: 18px;
}

.demo-box-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.demo-box-subtitle {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

/* ==========================================================================
   TAB 4: AFFILIATE / ORTAKLIK STYLES
   ========================================================================== */

.affiliate-structure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.commission-card {
  padding: 24px;
}

.comm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.comm-rate {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.comm-tag {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--bg-surface-elevated);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--text-secondary);
}

.comm-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.comm-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.comm-example {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.78rem;
  color: var(--text-main);
  border-left: 3px solid var(--emerald);
}

.commission-card.featured-gold .comm-example {
  border-left-color: var(--gold);
}

.affiliate-interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Partner Link Output */
.partner-link-result {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 18px;
}

.partner-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Partner Stats Display */
.stats-search-box {
  margin-bottom: 20px;
}

.partner-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.p-kpi {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
}

.highlight-p-kpi {
  border-color: rgba(245, 158, 11, 0.4);
  background: var(--gold-subtle);
}

.p-kpi-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.p-kpi-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.partner-tx-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.partner-stats-placeholder {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.placeholder-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 8px;
}

/* ==========================================================================
   TAB 5: ADMIN DASHBOARD STYLES
   ========================================================================== */

.admin-login-wrapper {
  max-width: 440px;
  margin: 60px auto;
}

.admin-login-card {
  text-align: center;
  padding: 36px 30px;
}

.admin-shield-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 12px;
}

.admin-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.admin-badge-active {
  background: var(--emerald-subtle);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  margin-right: 10px;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.admin-kpi-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.highlight-emerald-card {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 24, 40, 0.8) 100%);
  box-shadow: 0 0 20px var(--emerald-glow);
}

.a-kpi-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 6px;
}

.a-kpi-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.a-kpi-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.admin-settings-card {
  margin-bottom: 28px;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.settings-group-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.settings-actions {
  display: flex;
  justify-content: flex-end;
}

.admin-orders-card {
  margin-bottom: 28px;
}

.admin-orders-filter {
  display: flex;
  gap: 6px;
}

.admin-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.btn-action-verify {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--cyan);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  cursor: pointer;
  margin-right: 4px;
}

.btn-action-verify:hover {
  background: var(--cyan);
  color: #070b14;
}

.btn-action-complete {
  background: var(--emerald-subtle);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  cursor: pointer;
  margin-right: 4px;
}

.btn-action-complete:hover {
  background: var(--emerald);
  color: #070b14;
}

.btn-action-reject {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: var(--danger);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  cursor: pointer;
}

.btn-action-reject:hover {
  background: var(--danger);
  color: #fff;
}

.btn-action-copy {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  cursor: pointer;
  margin-left: 4px;
}

/* ==========================================================================
   MODALS & CHECKOUT OVERLAY
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(14px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  padding: 28px;
  position: relative;
  animation: modalScaleUp 0.25s ease-out;
}

.modal-card-sm {
  max-width: 460px;
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-badge-status {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 6px;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.modal-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.btn-modal-close {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.15s;
}

.btn-modal-close:hover {
  color: #fff;
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.2);
}

/* Timer Box */
.timer-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.timer-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.timer-value {
  font-size: 1.15rem;
}

/* Deposit Amount Highlight */
.deposit-amount-highlight {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: center;
  margin-bottom: 20px;
}

.dep-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 4px;
}

.dep-amount-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.dep-num {
  font-size: 2.2rem;
  color: var(--emerald);
  line-height: 1;
}

.dep-sym {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
}

.dep-network-notice {
  font-size: 0.78rem;
  color: var(--gold);
}

/* Deposit Details Grid */
.deposit-details-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.25);
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.qr-container {
  text-align: center;
}

.qr-canvas-wrapper {
  background: #fff;
  padding: 8px;
  border-radius: var(--radius-md);
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.qr-image {
  width: 140px;
  height: 140px;
  display: block;
}

.qr-caption {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  margin-top: 6px;
}

.address-copy-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.address-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.address-box {
  background: #04070d;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  word-break: break-all;
}

.address-text {
  font-size: 0.8rem;
  color: var(--cyan);
  display: block;
}

.fiat-payout-preview {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  border: 1px solid var(--border-subtle);
}

.f-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.f-val {
  font-size: 1.1rem;
}

.f-iban {
  display: block;
}

/* Chain Verification Box */
.chain-verification-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.veri-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.veri-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 12px;
}

.veri-input-row {
  display: flex;
  gap: 8px;
}

/* Status Stepper */
.status-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.node-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-medium);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.node-label {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.step-node.active .node-circle {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.step-node.active .node-label {
  color: var(--gold);
  font-weight: 700;
}

.step-node.completed .node-circle {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #070b14;
}

.step-node.completed .node-label {
  color: var(--emerald);
  font-weight: 700;
}

.step-connector {
  flex: 0.8;
  height: 2px;
  background: var(--border-subtle);
  margin-bottom: 18px;
}

.step-connector.completed {
  background: var(--emerald);
}

/* Selected Plan Summary in Subscribe Modal */
.selected-plan-summary {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  max-width: 400px;
  animation: toastIn 0.25s ease-out;
  transition: opacity 0.3s ease;
}

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

.toast-success {
  border-color: var(--emerald);
  box-shadow: 0 4px 20px var(--emerald-glow);
}

.toast-error {
  border-color: var(--danger);
  box-shadow: 0 4px 20px var(--danger-glow);
}

.toast-info {
  border-color: var(--cyan);
}

/* Footer */
.main-footer {
  background: #04070d;
  border-top: 1px solid var(--border-subtle);
  padding: 30px 20px 20px;
  margin-top: auto;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-brand {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 4px;
}

.footer-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */

@media (max-width: 1080px) {
  .kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .exchange-grid, .sanalpos-grid, .affiliate-interactive-grid {
    grid-template-columns: 1fr;
  }
  .admin-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }
  .nav-tabs {
    overflow-x: auto;
    width: 100%;
    justify-content: flex-start;
  }
  .nav-tab {
    padding: 6px 10px;
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .network-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .features-trio-grid {
    grid-template-columns: 1fr;
  }
  .affiliate-structure-grid {
    grid-template-columns: 1fr;
  }
  .settings-grid, .admin-two-cols {
    grid-template-columns: 1fr;
  }
  .deposit-details-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title {
    font-size: 1.7rem;
  }
}
