/* ==========================================================================
   FINTECH OBSIDIAN & EMERALD DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Palette - Dark Obsidian & Emerald Glassmorphism */
  --bg-dark: #07090e;
  --bg-card: rgba(15, 22, 35, 0.7);
  --bg-card-hover: rgba(22, 32, 50, 0.85);
  --bg-card-solid: #0f1623;
  --bg-sidebar: #090d16;
  --bg-input: rgba(255, 255, 255, 0.04);
  
  --border-light: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(16, 185, 129, 0.3);
  --border-active: #10b981;

  /* Primary & Accent Colors */
  --primary-emerald: #10b981;
  --primary-emerald-dark: #059669;
  --primary-emerald-glow: rgba(16, 185, 129, 0.25);

  --accent-cyan: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-gold: #f59e0b;
  --accent-red: #ef4444;

  /* Text Colors */
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Fonts & Radius */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;

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

  /* Transitions & Shadows */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.15);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-emerald);
}

/* ==========================================================================
   LOGIN SCREEN (PRIVATE PORTAL)
   ========================================================================== */

.login-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 30% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
              var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.login-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.login-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  max-width: 1050px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.login-branding {
  padding: 3.5rem 3rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.brand-logo-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-emerald), #059669);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
}
.brand-name span {
  color: var(--primary-emerald);
}

.login-branding-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-branding-hero p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 30px;
  font-size: 0.82rem;
  color: var(--primary-emerald);
  font-weight: 500;
}

.login-form-box {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-form-box h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.login-form-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.input-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

.input-wrapper input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  transition: var(--transition);
}

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

.toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}
.toggle-password:hover {
  color: var(--text-main);
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary-emerald), var(--primary-emerald-dark));
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   MAIN LAYOUT & NAVBAR
   ========================================================================== */

.app-container {
  display: flex;
  min-height: 100vh;
}

/* Top Navbar */
.top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sidebar-toggle-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.sidebar-toggle-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

/* Currency Ticker Marquee */
.nav-ticker-container {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  width: 400px;
  max-width: 400px;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee-scroll 20s linear infinite;
}

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

.ticker-item {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.ticker-pair {
  color: var(--text-secondary);
  font-weight: 500;
}
.ticker-price {
  color: var(--text-main);
  font-weight: 600;
}
.ticker-change.up {
  color: var(--primary-emerald);
}
.ticker-change.down {
  color: var(--accent-red);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1rem));
  }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.referral-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.82rem;
}
.referral-label {
  color: var(--text-muted);
}
.referral-link-text {
  color: var(--primary-emerald);
  font-family: monospace;
  font-weight: 600;
}
.btn-copy-ref {
  background: none;
  border: none;
  color: var(--primary-emerald);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.btn-copy-ref:hover {
  color: #fff;
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  cursor: pointer;
}
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-indigo), var(--primary-emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}

/* ==========================================================================
   SIDEBAR NAVIGATION
   ========================================================================== */

.sidebar {
  position: fixed;
  top: 70px;
  left: 0;
  bottom: 0;
  width: 250px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-light);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 900;
  transition: width 0.3s ease;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-item button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.menu-item button:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.menu-item.active button {
  color: #fff;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.15) 0%, transparent 100%);
  border-left: 3px solid var(--primary-emerald);
  font-weight: 600;
}

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

/* ==========================================================================
   MAIN CONTENT AREA
   ========================================================================== */

.main-content {
  margin-top: 70px;
  margin-left: 250px;
  padding: 2rem;
  width: calc(100% - 250px);
  min-height: calc(100vh - 70px);
}

.view-section {
  display: none;
  animation: fadeIn 0.35s ease;
}

.view-section.active {
  display: block;
}

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

/* Header greeting */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.dashboard-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
}

.status-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--primary-emerald);
  font-weight: 600;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-emerald);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Grid Layout for Dashboard */
.dashboard-grid-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
}

/* Top 4 KPI Stat Cards */
.kpi-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.kpi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-card);
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
}

.kpi-card.emerald::before { background: linear-gradient(90deg, var(--primary-emerald), var(--accent-cyan)); }
.kpi-card.purple::before { background: linear-gradient(90deg, var(--accent-indigo), var(--accent-purple)); }
.kpi-card.blue::before { background: linear-gradient(90deg, var(--accent-cyan), var(--accent-indigo)); }
.kpi-card.gold::before { background: linear-gradient(90deg, var(--accent-gold), var(--primary-emerald)); }

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

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

.kpi-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.kpi-main-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.kpi-subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-light);
  padding-top: 0.5rem;
}
.kpi-subval {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Middle Section: Video + Volume Stats */
.dashboard-middle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.widget-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  backdrop-filter: blur(10px);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   CANVAS FINTECH VIDEO VISUALIZER
   ========================================================================== */
.video-player-box {
  position: relative;
  width: 100%;
  height: 270px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #04060a;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player-box canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: radial-gradient(circle at center, transparent 40%, rgba(7, 9, 14, 0.85) 100%);
  pointer-events: none;
}

.nft-badge-floating {
  align-self: flex-start;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.center-play-overlay {
  align-self: center;
  pointer-events: auto;
}

.video-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-emerald), var(--primary-emerald-dark));
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
  transition: var(--transition);
}

.video-play-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 45px rgba(16, 185, 129, 0.8);
}

.canvas-video-controls {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 22, 35, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  padding: 8px 14px;
  border-radius: 30px;
}

.ctrl-btn {
  background: none;
  border: none;
  color: var(--primary-emerald);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ctrl-btn:hover {
  color: #fff;
}

.ctrl-progress {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

.ctrl-progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--primary-emerald), var(--accent-cyan));
  border-radius: 4px;
  transition: width 0.1s linear;
}

.ctrl-time {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: monospace;
}

/* Volume Stats List */
.volume-stats-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-bar-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.stat-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.stat-label {
  color: var(--text-secondary);
}
.stat-value {
  color: #fff;
  font-weight: 600;
}

.progress-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-emerald), var(--accent-cyan));
  border-radius: 4px;
}

.alert-warning-card {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-gold);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Transactions Tab Module */
.transactions-hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.tab-buttons-row {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary-emerald), var(--primary-emerald-dark));
  color: #fff;
  border-color: var(--primary-emerald);
  box-shadow: var(--shadow-glow);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}
.tab-pane.active {
  display: block;
}

/* Deposit TRC-20 Box */
.deposit-box-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: center;
}

.qr-code-wrapper {
  background: #fff;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-code-wrapper img {
  width: 100%;
  height: auto;
}

.deposit-info-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wallet-address-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--primary-emerald);
}

.btn-copy-address {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition);
}

.btn-copy-address:hover {
  background: var(--primary-emerald);
}

/* Form inputs for Withdraw/Transfer */
.tx-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==========================================================================
   RIGHT SIDEBAR PANEL (COMISIONES & NOTIFICACIONES)
   ========================================================================== */

.right-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.commissions-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  position: relative;
}

.commissions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.commissions-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.btn-toggle-privacy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.btn-toggle-privacy:hover {
  background: var(--primary-emerald);
  border-color: var(--primary-emerald);
}

.commissions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comm-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.comm-amount {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

/* Notifications Box */
.notifications-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.notif-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
}

.notif-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-content strong {
  display: block;
  color: #fff;
}
.notif-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TRANSACTIONS & NFT MEMBERSHIP TABLES/CARDS
   ========================================================================== */

.data-table-wrapper {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

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

.custom-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 18px;
  color: var(--text-secondary);
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
}

.custom-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}

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

.badge-status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
}
.badge-status.completed {
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* NFT Cards Grid */
.nft-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.nft-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.nft-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-emerald);
  box-shadow: var(--shadow-glow);
}

.nft-card-preview {
  height: 200px;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.2), #090d16);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nft-card-body {
  padding: 1.5rem;
}

.nft-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.nft-price-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card-solid);
  border: 1px solid var(--primary-emerald);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .dashboard-grid-layout { grid-template-columns: 1fr; }
  .kpi-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .nft-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .login-container { grid-template-columns: 1fr; }
  .login-branding { display: none; }
  .sidebar { width: 0; padding: 0; overflow: hidden; }
  .main-content { margin-left: 0; width: 100%; padding: 1rem; }
  .kpi-cards-grid { grid-template-columns: 1fr; }
  .dashboard-middle-grid { grid-template-columns: 1fr; }
  .deposit-box-grid { grid-template-columns: 1fr; }
}
