/* ============================================================
   IHUB DEALS — Design System v5
   Premium Floating Sidebar + Black/Gold
   ============================================================ */

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

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
html { overflow-x: hidden; max-width: 100vw; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; background: #060606; color: #FFF; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; } ul, ol { list-style: none; } img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; outline: none; border: none; background: none; }
::selection { background: rgba(212,175,55,0.25); color: #000; }

:root {
  --gold: #D4AF37; --gold-light: #E8D48B; --gold-dark: #B8960C;
  --gold-glow: rgba(212,175,55,0.15);
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F2D06B 50%, #D4AF37 100%);
  --bg: #060606; --bg-card: #0E0E12; --bg-input: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.06); --border-gold: rgba(212,175,55,0.2);
  --success: #22C55E; --success-bg: rgba(34,197,94,0.1);
  --warning: #F59E0B; --warning-bg: rgba(245,158,11,0.1);
  --danger: #EF4444; --danger-bg: rgba(239,68,68,0.1);
  --info: #3B82F6; --info-bg: rgba(59,130,246,0.1);
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 20px; --radius-full: 9999px;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.3); --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 24px rgba(212,175,55,0.15); --shadow-gold-lg: 0 8px 40px rgba(212,175,55,0.2);
  --sidebar-w: 260px; --sidebar-cw: 64px; --topbar-h: 60px;
  --sidebar-gap: 12px; --sidebar-radius: 20px; --logo-h: 56px;
  --sidebar-bg: #FFFFFF;
  --sidebar-text: #64748B; --sidebar-text-hover: #1E293B;
  --sidebar-text-muted: #94A3B8; --sidebar-hover-bg: #F1F5F9;
  --sidebar-border: #E2E8F0;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --sidebar-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

::-webkit-scrollbar { width: 5px; } ::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================================
   LAYOUT
   ============================================================ */
/* Esconde tudo até auth verificar — evita flash de conteúdo protegido */
.app-layout { display: flex; min-height: 100vh; opacity: 0; transition: opacity 0.2s; }
.app-layout.authenticated { opacity: 1; }
.app-main { flex: 1; margin-left: calc(var(--sidebar-cw) + var(--sidebar-gap) * 2); min-height: 100vh; transition: margin-left 0.28s var(--sidebar-ease); padding-top: var(--topbar-h); }
body.sidebar-pinned .app-main { margin-left: calc(var(--sidebar-w) + var(--sidebar-gap) * 2); }
.app-content { padding: 28px 36px; padding-bottom: 64px; max-width: 1400px; }
/* Hide subnav if exists */
.subnav { display: none !important; }

/* ============================================================
   TOPBAR LOGO — Inside topbar, left-aligned
   ============================================================ */
.topbar-logo {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-right: 24px;
  white-space: nowrap;
}
.topbar-logo .logo-icon { display: flex; flex-direction: column; gap: 1.5px; flex-shrink: 0; }
.topbar-logo .logo-icon span { display: block; width: 10px; height: 3.5px; border-radius: 1px; }
.topbar-logo .logo-icon span:first-child { background: #D4AF37; }
.topbar-logo .logo-icon span:nth-child(2) { background: #FFF; }
.topbar-logo .logo-icon span:last-child { background: #666; }
.topbar-logo .logo-text {
  display: flex; align-items: center; line-height: 1; white-space: nowrap;
}
.topbar-logo .logo-text .logo-ihub { color: #FFF; font-family: 'Barlow Condensed', Impact, sans-serif; font-weight: 900; font-size: 22px; letter-spacing: 0.5px; }
.topbar-logo .logo-text .logo-separator { width: 2px; height: 14px; background: var(--gold); border-radius: 2px; margin: 0 6px; opacity: 0.5; }
.topbar-logo .logo-text .logo-deals { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }

/* ============================================================
   SIDEBAR — Premium Floating
   ============================================================ */
.sidebar {
  position: fixed;
  top: calc(var(--topbar-h) + 28px);
  left: 24px;
  height: calc(100vh - var(--topbar-h) - 28px - var(--sidebar-gap) - 36px);
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  border-radius: var(--sidebar-radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 24px rgba(0,0,0,0.08);
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width 0.28s var(--sidebar-ease);
  will-change: width;
}

/* Collapsed (default) */
.sidebar.collapsed { width: var(--sidebar-cw); }

/* Expanded via hover or pin */
.sidebar.collapsed.is-hovered,
.sidebar.collapsed.is-pinned { width: var(--sidebar-w); }

/* ---- sidebar-top ---- */
.sidebar-top {
  flex-shrink: 0; padding: 16px 0 8px;
  display: flex; flex-direction: column; align-items: center;
}
.sidebar-top .sidebar-link {
  margin: 0 8px;
}

/* Pin button (inside sidebar-top) */
.sidebar-pin-area {
  display: flex; align-items: center; justify-content: flex-end;
  padding: 4px 12px 0; flex-shrink: 0; width: 100%;
  opacity: 0; pointer-events: none; height: 0; overflow: hidden;
  transition: opacity 0.15s var(--sidebar-ease), height 0.15s var(--sidebar-ease);
}
.sidebar.collapsed.is-hovered .sidebar-pin-area,
.sidebar.collapsed.is-pinned .sidebar-pin-area,
.sidebar:not(.collapsed) .sidebar-pin-area { opacity: 1; pointer-events: auto; height: 28px; }

.sidebar-pin-btn {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%; color: var(--sidebar-text-muted);
  transition: all 0.2s var(--sidebar-ease); cursor: pointer;
}
.sidebar-pin-btn:hover { color: var(--sidebar-text-hover); background: var(--sidebar-hover-bg); }
.sidebar.is-pinned .sidebar-pin-btn { color: var(--gold-dark); }
.sidebar-pin-btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--sidebar-ease); }
.sidebar.is-pinned .sidebar-pin-btn svg { transform: rotate(45deg); }

/* ---- sidebar-menu (scrollable navigation) ---- */
.sidebar-nav {
  flex: 1; min-height: 0;
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: none;
  padding: 4px 0;
}
.sidebar-nav::-webkit-scrollbar { display: none; }

.sidebar-section-label {
  display: block; font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--sidebar-text-muted); padding: 14px 20px 6px;
  white-space: nowrap; overflow: hidden; flex-shrink: 0;
  opacity: 1; transition: opacity 0.15s var(--sidebar-ease), height 0.28s var(--sidebar-ease), padding 0.28s var(--sidebar-ease);
}

/* Nav items — shared base for ALL states */
.sidebar-link {
  display: flex; align-items: center; gap: 14px;
  padding: 9px 20px; margin: 1px 8px;
  color: var(--sidebar-text); font-size: 13.5px; font-weight: 500;
  border-radius: 12px; transition: all 0.2s var(--sidebar-ease);
  white-space: nowrap; overflow: hidden; position: relative;
  flex-shrink: 0; min-height: 38px;
}
.sidebar-link svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--sidebar-text-muted); transition: all 0.2s; }
.sidebar-link span { display: inline; overflow: hidden; white-space: nowrap; opacity: 1; transition: opacity 0.15s var(--sidebar-ease); }
.sidebar-link:hover { color: var(--sidebar-text-hover); background: var(--sidebar-hover-bg); }
.sidebar-link:hover svg { stroke: #475569; }
.sidebar-link.active { color: #000; background: var(--gold-gradient); font-weight: 700; box-shadow: 0 2px 12px rgba(212,175,55,0.25); }
.sidebar-link.active svg { stroke: #000; }
.sidebar-link:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* Submenu indicator (chevron) */
.sidebar-link .submenu-chevron {
  margin-left: auto; width: 16px; height: 16px; flex-shrink: 0;
  transition: transform 0.25s var(--sidebar-ease); opacity: 0.4;
}
.sidebar-link.submenu-open .submenu-chevron { transform: rotate(90deg); opacity: 0.8; }

/* Submenu (accordion) */
.sidebar-submenu { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--sidebar-ease); flex-shrink: 0; }
.sidebar-submenu.open { max-height: 300px; }
.sidebar-submenu a {
  display: flex; align-items: center; gap: 10px; padding: 7px 20px 7px 54px;
  color: var(--sidebar-text); font-size: 13px; font-weight: 500; transition: all 0.15s;
  white-space: nowrap;
}
.sidebar-submenu a:hover { color: var(--sidebar-text-hover); }
.sidebar-submenu a.active { color: var(--gold-dark); font-weight: 600; }

/* ---- sidebar-bottom (user/account) ---- */
.sidebar-footer {
  display: flex; padding: 14px 14px; border-top: 1px solid var(--sidebar-border);
  align-items: center; gap: 12px; text-decoration: none; transition: background 0.2s;
  overflow: hidden; flex-shrink: 0; margin-top: auto;
}
.sidebar-footer:hover { background: #F8FAFC; }
.sidebar-avatar {
  display: flex; width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold-gradient); color: #000; align-items: center;
  justify-content: center; font-weight: 700; font-size: 12px; flex-shrink: 0;
}
.sidebar-user-info { display: block; overflow: hidden; flex: 1; opacity: 1; transition: opacity 0.15s var(--sidebar-ease); }
.sidebar-user-name { display: block; font-size: 13px; font-weight: 600; color: var(--sidebar-text-hover); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { display: block; font-size: 11px; color: var(--sidebar-text-muted); }
.sidebar-status { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex-shrink: 0; }

/* Sidebar overlay (mobile) */
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 99; }
.sidebar-overlay.active { display: block; }

/* ============================================================
   COLLAPSED — Icon-only state
   ============================================================ */
/* Top zone */
.sidebar.collapsed:not(.is-hovered):not(.is-pinned) .sidebar-top { padding: 14px 0 6px; }
.sidebar.collapsed:not(.is-hovered):not(.is-pinned) .sidebar-top .sidebar-link {
  justify-content: center; padding: 0; margin: 0 auto;
  width: 40px; height: 40px; border-radius: 50%; gap: 0;
}
.sidebar.collapsed:not(.is-hovered):not(.is-pinned) .sidebar-top .sidebar-link span { opacity: 0; width: 0; }

/* Menu zone */
.sidebar.collapsed:not(.is-hovered):not(.is-pinned) .sidebar-section-label { opacity: 0; height: 0; padding: 0; margin: 0; pointer-events: none; }
.sidebar.collapsed:not(.is-hovered):not(.is-pinned) .sidebar-nav .sidebar-link span { opacity: 0; width: 0; }
.sidebar.collapsed:not(.is-hovered):not(.is-pinned) .sidebar-nav .sidebar-link .submenu-chevron { display: none; }
.sidebar.collapsed:not(.is-hovered):not(.is-pinned) .sidebar-nav .sidebar-link {
  justify-content: center; padding: 0; margin: 1px auto;
  width: 38px; height: 38px; border-radius: 50%; gap: 0;
}
.sidebar.collapsed:not(.is-hovered):not(.is-pinned) .sidebar-submenu { display: none !important; }

/* Bottom zone */
.sidebar.collapsed:not(.is-hovered):not(.is-pinned) .sidebar-user-info { opacity: 0; width: 0; }
.sidebar.collapsed:not(.is-hovered):not(.is-pinned) .sidebar-status { display: none; }
.sidebar.collapsed:not(.is-hovered):not(.is-pinned) .sidebar-footer {
  display: flex; align-items: center; justify-content: center;
  padding: 16px 0; border-top: none;
  gap: 0; flex-direction: column;
}

/* Pin area hidden */
.sidebar.collapsed:not(.is-hovered):not(.is-pinned) .sidebar-pin-area { opacity: 0; height: 0; padding: 0; pointer-events: none; overflow: hidden; }

/* ============================================================
   NOTIFICATION DRAWER
   ============================================================ */
.notif-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(4px);
  z-index: 200;
}
.notif-overlay.open { display: block; }

.notif-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 380px; max-width: 90vw;
  background: #0C0C10; border-left: 1px solid var(--border);
  z-index: 210; display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s var(--sidebar-ease);
  box-shadow: -8px 0 40px rgba(0,0,0,0.4);
}
.notif-drawer.open { transform: translateX(0); }

.notif-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.notif-drawer-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: #FFF;
}
.notif-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--gold-gradient); color: #000;
  border-radius: var(--radius-full); font-size: 11px; font-weight: 800;
}
.notif-drawer-close {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  color: #666; transition: all 0.2s;
}
.notif-drawer-close:hover { color: #FFF; background: rgba(255,255,255,0.06); }

.notif-drawer-body {
  flex: 1; overflow-y: auto; padding: 8px 0;
  scrollbar-width: thin; scrollbar-color: #333 transparent;
}

.notif-section-label {
  font-size: 11px; font-weight: 700; color: #555;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 16px 24px 8px;
}

.notif-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 24px; cursor: pointer;
  transition: background 0.15s;
  position: relative;
}
.notif-item:hover { background: rgba(255,255,255,0.03); }
.notif-unread { background: rgba(212,175,55,0.03); }

.notif-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  flex-shrink: 0;
}
.notif-icon-money { background: rgba(212,175,55,0.12); color: var(--gold); }
.notif-icon-success { background: var(--success-bg); color: var(--success); }
.notif-icon-payout { background: var(--info-bg); color: var(--info); }
.notif-icon-info { background: rgba(255,255,255,0.06); color: #888; }

.notif-content { flex: 1; min-width: 0; }
.notif-title { font-size: 13px; font-weight: 600; color: #EEE; margin-bottom: 3px; }
.notif-desc { font-size: 12px; color: #777; }
.notif-desc-success { color: var(--success); }
.notif-time { font-size: 11px; color: #555; margin-top: 4px; }

.notif-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 6px;
}

.notif-drawer-footer {
  padding: 12px 16px; border-top: 1px solid var(--border);
  flex-shrink: 0;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--topbar-h); background: rgba(6,6,6,0.95);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border); display: flex; align-items: center;
  justify-content: space-between; padding: 0 28px; z-index: 105;
}
.topbar::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(212,175,55,0.2) 50%, transparent 90%);
}

.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-hamburger { display: none; color: #888; padding: 6px; border-radius: var(--radius-sm); }
.topbar-hamburger:hover { color: var(--gold); }
.topbar-greeting { font-size: 14px; color: #999; }
.topbar-greeting strong { color: var(--gold); font-weight: 600; }
.topbar-progress { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #555; }
.topbar-progress-bar { width: 100px; height: 3px; background: var(--border); border-radius: var(--radius-full); overflow: hidden; }
.topbar-progress-fill { height: 100%; background: var(--gold-gradient); border-radius: var(--radius-full); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-notification { position: relative; color: #888; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.2s; }
.topbar-notification:hover { color: var(--gold); background: rgba(255,255,255,0.06); }
.topbar-notification-dot { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; border: 2px solid rgba(6,6,6,0.95); }
.topbar-avatar { width: 34px; height: 34px; border-radius: var(--radius-full); background: var(--gold-gradient); color: #000; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; cursor: pointer; transition: all 0.2s; }
.topbar-avatar:hover { box-shadow: var(--shadow-gold); }
.topbar-partner-badge { display: none; }

.notif-panel { animation: slideDown 0.2s var(--ease); }
.notif-panel.open { display: block !important; }

/* Legacy topbar-logo-icon/text hidden (new logo uses .topbar-logo > .logo-icon/.logo-text) */
.topbar-logo-icon, .topbar-logo-text { display: none; }

/* ============================================================
   CARDS
   ============================================================ */
.glass-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); position: relative; transition: all 0.3s var(--ease); }
.glass-card::before { content: ''; position: absolute; top: -1px; left: 24px; right: 24px; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,0.15), transparent); pointer-events: none; }
.glass-card:hover { border-color: rgba(212,175,55,0.18); box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 1px rgba(212,175,55,0.06); }
.glass-card-hover:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 20px rgba(212,175,55,0.08); }

/* ============================================================
   METRICS
   ============================================================ */
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; }
.metric-card { padding: 24px; transition: all 0.3s var(--ease); border: 1px solid var(--border); background: var(--bg-card); border-radius: var(--radius-xl); position: relative; overflow: hidden; }
.metric-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold-gradient); opacity: 0; transition: opacity 0.3s; }
.metric-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 16px rgba(212,175,55,0.06); border-color: rgba(212,175,55,0.15); }
.metric-card:hover::after { opacity: 1; }
.metric-label { font-size: 12px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.metric-label svg { width: 16px; height: 16px; opacity: 0.7; stroke: var(--gold); }
.metric-value { font-size: 28px; font-weight: 800; color: #FFF; line-height: 1; }
.metric-value.accent { color: var(--gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; background: var(--gold-gradient); color: #000; font-weight: 700; font-size: 13px; border-radius: var(--radius-full); box-shadow: var(--shadow-gold); transition: all 0.25s var(--ease); white-space: nowrap; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold-lg); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled, .btn-primary.disabled { opacity: 0.3; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 22px; background: transparent; color: #CCC; font-weight: 600; font-size: 13px; border-radius: var(--radius-full); border: 1.5px solid rgba(255,255,255,0.1); transition: all 0.25s var(--ease); white-space: nowrap; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; background: transparent; color: #AAA; font-weight: 500; font-size: 13px; border-radius: var(--radius-full); transition: all 0.2s; }
.btn-ghost:hover { color: var(--gold); background: rgba(212,175,55,0.06); }
.btn-danger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 22px; background: var(--danger); color: #fff; font-weight: 600; font-size: 13px; border-radius: var(--radius-full); transition: all 0.2s; }
.btn-danger:hover { background: #dc2626; transform: translateY(-1px); }
.btn-sm { padding: 7px 18px; font-size: 12px; } .btn-lg { padding: 14px 36px; font-size: 15px; } .btn-block { width: 100%; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: #BBB; margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-hint { font-size: 12px; color: #666; margin-top: 4px; } .form-error { font-size: 12px; color: var(--danger); margin-top: 4px; }
.form-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; color: #CCC; }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--gold); cursor: pointer; }
.glass-input, .input-group .glass-input { width: 100%; padding: 12px 16px 12px 48px; background: var(--bg-input); border: 1.5px solid var(--border); border-radius: var(--radius-md); color: #FFF; font-size: 14px; transition: all 0.25s var(--ease); }
.glass-input:focus { border-color: var(--gold); background: rgba(212,175,55,0.03); box-shadow: 0 0 0 3px rgba(212,175,55,0.08); }
.glass-input::placeholder { color: #555; }
.glass-input-no-icon, .input-group .glass-input-no-icon { padding-left: 16px; }
.glass-select { width: 100%; padding: 12px 40px 12px 16px; background: var(--bg-input); border: 1.5px solid var(--border); border-radius: var(--radius-md); color: #FFF; font-size: 14px; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; transition: all 0.25s var(--ease); }
.glass-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.08); }
.glass-select option { background: #111; color: #FFF; }
.input-group { position: relative; }
.input-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #555; pointer-events: none; z-index: 2; }

/* ============================================================
   TABLES
   ============================================================ */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--bg-card); margin-bottom: 24px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table thead th { background: rgba(255,255,255,0.02); color: #AAA; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; padding: 14px 20px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--border); }
.table tbody tr { transition: all 0.15s; border-bottom: 1px solid rgba(255,255,255,0.03); }
.table tbody tr:hover { background: rgba(212,175,55,0.04); }
.table tbody td { padding: 14px 20px; color: #CCC; white-space: nowrap; }
.table tfoot td { padding: 14px 20px; background: rgba(212,175,55,0.04); font-weight: 700; color: var(--gold); border-top: 1px solid var(--border); }
.text-right { text-align: right; } .text-center { text-align: center; } .font-bold { font-weight: 700; } .font-semibold { font-weight: 600; }

/* ============================================================
   BADGES
   ============================================================ */
.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--radius-full); font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap; }
.badge-primary { background: rgba(212,175,55,0.12); color: var(--gold); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-muted { background: rgba(255,255,255,0.06); color: #999; }
.badge-exclusive { background: var(--gold-gradient); color: #000; }
.badge-accent { background: rgba(212,175,55,0.1); color: var(--gold); }

/* ============================================================
   SALDO, FLASH, PAGINATION, MODAL, CONFIRM
   ============================================================ */
.saldo-card { padding: 28px; background: linear-gradient(145deg, rgba(212,175,55,0.08) 0%, rgba(212,175,55,0.02) 100%); border: 1px solid var(--border-gold); border-radius: var(--radius-xl); position: relative; overflow: hidden; }
.saldo-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold-gradient); }
.saldo-label { font-size: 12px; color: var(--gold); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.saldo-value { font-size: 36px; font-weight: 800; color: #FFF; line-height: 1; margin-bottom: 20px; }
.saldo-action { display: block; width: 100%; padding: 12px; background: rgba(212,175,55,0.06); border: 1px solid var(--border-gold); border-radius: var(--radius-md); color: var(--gold); font-weight: 600; font-size: 13px; text-align: center; transition: all 0.25s var(--ease); }
.saldo-action:hover { background: rgba(212,175,55,0.12); }

.flash-message { padding: 14px 20px; border-radius: var(--radius-md); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; animation: fadeInUp 0.3s var(--ease); }
.flash-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(34,197,94,0.2); }
.flash-error { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(239,68,68,0.2); }
.flash-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(245,158,11,0.2); }
.flash-info { background: var(--info-bg); color: var(--info); border: 1px solid rgba(59,130,246,0.2); }
.flash-close { margin-left: auto; cursor: pointer; opacity: 0.7; } .flash-close:hover { opacity: 1; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 24px; }
.pagination-btn { padding: 8px 14px; border-radius: var(--radius-full); font-size: 13px; font-weight: 500; color: #888; background: transparent; border: 1px solid var(--border); transition: all 0.2s; }
.pagination-btn:hover { border-color: var(--gold); color: var(--gold); }
.pagination-btn.active { background: var(--gold-gradient); color: #000; border-color: transparent; font-weight: 700; }

.modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); z-index: 200; align-items: center; justify-content: center; }
.modal-backdrop.active { display: flex; }
.modal { background: #0C0C10; border: 1px solid rgba(212,175,55,0.06); border-radius: var(--radius-xl); padding: 32px; width: 90%; max-width: 480px; box-shadow: var(--shadow-lg); animation: slideDown 0.25s var(--ease); }
.modal-title { font-size: 18px; font-weight: 700; color: #FFF; margin-bottom: 16px; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }

.confirm-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); z-index: 99999; align-items: center; justify-content: center; }
.confirm-overlay.open { display: flex; }
.confirm-box { background: #0C0C10; border: 1px solid rgba(212,175,55,0.06); border-radius: var(--radius-xl); padding: 32px; width: 90%; max-width: 400px; box-shadow: var(--shadow-lg); animation: slideDown 0.25s var(--ease); text-align: center; }
.confirm-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.confirm-icon.warn { background: var(--warning-bg); color: var(--warning); } .confirm-icon.danger { background: var(--danger-bg); color: var(--danger); } .confirm-icon.info { background: rgba(212,175,55,0.1); color: var(--gold); }
.confirm-title { font-size: 18px; font-weight: 700; color: #FFF; margin-bottom: 8px; }
.confirm-message { font-size: 14px; color: #999; line-height: 1.6; margin-bottom: 28px; }
.confirm-actions { display: flex; gap: 12px; }
.confirm-actions button { flex: 1; padding: 12px 20px; border-radius: var(--radius-full); font-size: 14px; font-weight: 600; transition: all 0.2s; cursor: pointer; border: none; }
.confirm-cancel { background: transparent; border: 1px solid var(--border) !important; color: #CCC; } .confirm-cancel:hover { border-color: #666 !important; }
.confirm-ok { background: var(--danger); color: #fff; } .confirm-ok:hover { transform: translateY(-1px); } .confirm-ok.primary { background: var(--gold-gradient); color: #000; }

/* ============================================================
   MISC
   ============================================================ */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state-icon { color: #444; margin-bottom: 16px; } .empty-state-icon svg { width: 64px; height: 64px; margin: 0 auto; opacity: 0.3; }
.empty-state-title { font-size: 18px; font-weight: 600; color: #888; margin-bottom: 8px; }
.empty-state-text { font-size: 14px; color: #666; margin-bottom: 24px; }
.progress-bar { width: 100%; height: 8px; background: rgba(255,255,255,0.06); border-radius: var(--radius-full); overflow: hidden; }
.progress-fill { height: 100%; background: var(--gold-gradient); border-radius: var(--radius-full); transition: width 0.5s var(--ease); }
.tree ul { padding-left: 24px; border-left: 1px dashed rgba(212,175,55,0.1); margin-left: 12px; } .tree li { padding: 6px 0; }
.tree-node { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--radius-md); font-size: 13px; background: var(--bg-card); border: 1px solid var(--border); transition: all 0.2s; }
.tree-node:hover { border-color: var(--gold); }
.drop-zone { border: 2px dashed var(--border); border-radius: var(--radius-xl); padding: 40px; text-align: center; transition: all 0.3s; cursor: pointer; }
.drop-zone:hover, .drop-zone.drag-over { border-color: var(--gold); background: rgba(212,175,55,0.03); }
.drop-zone-icon { color: #555; margin-bottom: 12px; } .drop-zone-icon svg { width: 48px; height: 48px; margin: 0 auto; }
.drop-zone-text { font-size: 14px; color: #CCC; margin-bottom: 4px; } .drop-zone-hint { font-size: 12px; color: #666; }
.tracking-code { color: var(--gold); background: rgba(212,175,55,0.08); padding: 3px 12px; border-radius: var(--radius-full); font-size: 12px; font-family: 'Consolas', monospace; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.tracking-code:hover { background: rgba(212,175,55,0.15); }
.password-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #555; cursor: pointer; z-index: 3; padding: 4px; border-radius: var(--radius-sm); transition: color 0.2s; display: flex; }
.password-toggle:hover { color: var(--gold); }
.period-tab { padding: 8px 18px; font-size: 13px; font-weight: 600; color: #666; background: none; border: none; border-radius: var(--radius-full); cursor: pointer; transition: all 0.25s var(--ease); white-space: nowrap; }
.period-tab:hover { color: #FFF; background: rgba(255,255,255,0.04); }
.period-tab.active { color: #000; background: var(--gold-gradient); box-shadow: var(--shadow-gold); }

/* ============================================================
   BANNER, CHART, TICKER, DATEPICKER, AUTH, BG
   ============================================================ */
.banner-carousel { position: relative; overflow: hidden; border-radius: var(--radius-xl); margin-bottom: 24px; }
.banner-track { display: flex; gap: 16px; transition: transform 0.5s var(--ease); }
.banner-slide { min-width: calc(33.333% - 11px); border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16/7; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 18px; }
.banner-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.6); border: 1px solid var(--border); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 5; transition: all 0.2s; }
.banner-nav:hover { background: var(--gold); color: #000; } .banner-nav.prev { left: 12px; } .banner-nav.next { right: 12px; }
.chart-container { padding: 24px; }
.chart-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.chart-title { font-size: 16px; font-weight: 700; color: #FFF; display: flex; align-items: center; gap: 10px; }
.chart-legend { display: flex; gap: 16px; font-size: 12px; color: #777; }
.chart-legend-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.chart-y-labels { position: absolute; left: -50px; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; font-size: 10px; color: #555; }
.chart-x-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10px; color: #555; padding-left: 10px; }

.brand-ticker { display: none !important; }
.brand-ticker::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent); }
.brand-ticker-track { display: flex; align-items: center; gap: 40px; animation: tickerScroll 30s linear infinite; white-space: nowrap; }
.brand-ticker:hover .brand-ticker-track { animation-play-state: paused; }
.brand-ticker-item { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.15); letter-spacing: 2px; text-transform: uppercase; flex-shrink: 0; transition: color 0.2s; }
.brand-ticker-item:hover { color: var(--gold); }
.brand-ticker-dot { width: 3px; height: 3px; background: rgba(212,175,55,0.15); border-radius: 50%; flex-shrink: 0; }
.brand-ticker-fade-left { position: absolute; left: 0; top: 0; bottom: 0; width: 60px; background: linear-gradient(90deg, #040404, transparent); z-index: 2; pointer-events: none; }
.brand-ticker-fade-right { position: absolute; right: 0; top: 0; bottom: 0; width: 60px; background: linear-gradient(270deg, #040404, transparent); z-index: 2; pointer-events: none; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.date-picker-wrap { position: relative; display: inline-block; z-index: 50; }
.date-picker-input { width: 160px; padding: 10px 14px 10px 40px; background: var(--bg-input); border: 1.5px solid var(--border); border-radius: var(--radius-md); color: #FFF; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.25s var(--ease); user-select: none; }
.date-picker-input:hover { border-color: var(--gold); } .date-picker-input.active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.1); }
.date-picker-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #555; pointer-events: none; z-index: 2; transition: color 0.2s; }
.date-picker-wrap.is-open .date-picker-icon { color: var(--gold); }
.date-picker-dropdown { display: none; position: fixed; z-index: 9999; background: #0C0C10; border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 20px; width: 320px; }
.date-picker-dropdown.open { display: block; animation: slideDown 0.2s var(--ease); }
.dp-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dp-month-year { font-size: 15px; font-weight: 700; color: #FFF; }
.dp-nav-btn { width: 32px; height: 32px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: #888; transition: all 0.2s; cursor: pointer; }
.dp-nav-btn:hover { color: var(--gold); background: rgba(212,175,55,0.06); }
.dp-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 6px; }
.dp-weekday { text-align: center; font-size: 11px; font-weight: 600; color: #555; padding: 4px 0; }
.dp-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-day { text-align: center; font-size: 13px; font-weight: 500; padding: 8px 0; border-radius: var(--radius-sm); cursor: pointer; color: #CCC; transition: all 0.15s; }
.dp-day:hover { background: rgba(212,175,55,0.08); color: var(--gold); }
.dp-day.today { border: 1.5px solid var(--gold); color: var(--gold); font-weight: 700; }
.dp-day.selected { background: var(--gold-gradient); color: #000; font-weight: 700; }
.dp-day.other-month { opacity: 0.2; }
.dp-footer { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.dp-today-btn { font-size: 12px; font-weight: 600; color: var(--gold); cursor: pointer; padding: 4px 12px; border-radius: var(--radius-full); } .dp-today-btn:hover { background: rgba(212,175,55,0.08); }
.dp-clear-btn { font-size: 12px; color: #666; cursor: pointer; padding: 4px 12px; border-radius: var(--radius-full); } .dp-clear-btn:hover { background: var(--danger-bg); color: var(--danger); }

.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; padding-bottom: 64px; background: #060606; }
.auth-container { width: 100%; max-width: 1100px; display: flex; gap: 80px; align-items: center; }
.auth-form-col { width: 100%; max-width: 440px; margin: 0 auto; }
.auth-hero-col { display: none; flex: 1; align-items: center; justify-content: center; }
.auth-card { padding: 44px; border-radius: 24px; border: 1px solid var(--border); }
.auth-logo { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.auth-logo-text { font-size: 36px; font-weight: 900; display: flex; align-items: center; gap: 0; line-height: 1; }
.auth-logo-text .logo-ihub { color: #FFF; font-family: 'Barlow Condensed', Impact, sans-serif; font-weight: 900; font-size: 48px; letter-spacing: 1px; }
.auth-logo-text .logo-separator { width: 3px; height: 32px; background: var(--gold); border-radius: 2px; margin: 0 10px; opacity: 0.5; }
.auth-logo-text .logo-deals { font-size: 16px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); }
.auth-subtitle { font-size: 14px; color: #888; margin-bottom: 32px; }

.hero-composition { position: relative; width: 100%; max-width: 560px; }
.hero-pc-frame { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); animation: floatSlow 8s ease-in-out infinite; background: var(--bg-card); }
.hero-pc-toolbar { height: 28px; background: #080808; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.hero-pc-dot { width: 8px; height: 8px; border-radius: 50%; } .hero-pc-dot.red { background: #EF4444; } .hero-pc-dot.yellow { background: #F59E0B; } .hero-pc-dot.green { background: #22C55E; }
.hero-pc-url { margin-left: 12px; font-size: 9px; color: #444; }
.hero-pc-screen { aspect-ratio: 16/10; background: #060606; display: flex; align-items: center; justify-content: center; }
.hero-phone-frame { position: absolute; bottom: -16px; right: -16px; width: 38%; border-radius: 24px; border: 3px solid #222; overflow: hidden; background: #000; box-shadow: var(--shadow-lg); animation: floatNormal 6s ease-in-out infinite; }
.hero-phone-screen { aspect-ratio: 9/16; background: #060606; display: flex; align-items: center; justify-content: center; }
.hero-glow-1 { position: absolute; width: 300px; height: 300px; background: rgba(212,175,55,0.04); border-radius: 50%; filter: blur(100px); top: -50px; left: -50px; }
.hero-glow-2 { position: absolute; width: 200px; height: 200px; background: rgba(212,175,55,0.03); border-radius: 50%; filter: blur(80px); bottom: -30px; right: -30px; }

.animated-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.animated-bg .grid-pattern { display: none; } .animated-bg .orb { position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.02; }
.animated-bg .orb-1 { width: 500px; height: 500px; background: var(--gold); top: -5%; left: -5%; }
.animated-bg .orb-2 { width: 400px; height: 400px; background: var(--gold); bottom: 5%; right: 0; }
.animated-bg .orb-3, .animated-bg .scanline { display: none; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-primary-color { color: var(--gold); } .text-accent-color { color: var(--gold); }
.text-success { color: var(--success); } .text-danger { color: var(--danger); } .text-warning { color: var(--warning); } .text-muted { color: #999; }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.flex { display: flex; } .flex-between { display: flex; align-items: center; justify-content: space-between; } .flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; } .items-center { align-items: center; } .w-full { width: 100%; } .hidden { display: none !important; } .relative { position: relative; } .z-10 { z-index: 10; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatNormal { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes floatSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.animate-fade-in-up { animation: fadeInUp 0.4s var(--ease) both; }
.animate-fade-in-right { animation: fadeInUp 0.5s var(--ease) both; }
.stagger-1 { animation-delay: 0.05s; } .stagger-2 { animation-delay: 0.1s; } .stagger-3 { animation-delay: 0.15s; } .stagger-4 { animation-delay: 0.2s; } .stagger-5 { animation-delay: 0.25s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 1024px) { .auth-hero-col { display: flex; } .auth-form-col { max-width: 45%; } }
@media (max-width: 768px) {
  .sidebar {
    top: 0; left: 0; width: var(--sidebar-w); height: 100vh;
    border-radius: 0 var(--sidebar-radius) var(--sidebar-radius) 0;
    transform: translateX(-100%);
    transition: transform 0.3s var(--sidebar-ease);
  }
  .sidebar.is-open-mobile { transform: translateX(0); }
  .sidebar.is-open-mobile.collapsed { width: var(--sidebar-w); }
  .sidebar.is-open-mobile .sidebar-section-label { opacity: 1; height: auto; padding: 16px 20px 6px; }
  .sidebar.is-open-mobile .sidebar-link span { opacity: 1; width: auto; }
  .sidebar.is-open-mobile .sidebar-link { justify-content: flex-start; padding: 10px 20px; margin: 0 8px; width: auto; height: auto; border-radius: 12px; gap: 14px; }
  .sidebar.is-open-mobile .sidebar-link .submenu-chevron { display: block; }
  .sidebar.is-open-mobile .sidebar-user-info { opacity: 1; width: auto; }
  .sidebar.is-open-mobile .sidebar-status { display: block; }
  .sidebar.is-open-mobile .sidebar-footer { justify-content: flex-start; padding: 12px 16px; }
  .sidebar.is-open-mobile .sidebar-pin-area { display: none; }
  .sidebar-overlay.active { display: block; }
  .app-main { margin-left: 0; }
  body.sidebar-pinned .app-main { margin-left: 0; }
  .topbar { left: 0 !important; }
  body.sidebar-pinned .topbar { left: 0 !important; }
  .topbar-hamburger { display: flex; }
  .topbar-progress { display: none; }
  .app-content { padding: 20px 16px; padding-bottom: 64px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-slide { min-width: calc(50% - 8px); }
  .chart-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .auth-card { padding: 28px 20px; }
  .modal { width: 95%; padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  [style*="grid-template-columns: 2fr 1fr"], [style*="grid-template-columns:2fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"], [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) { .metrics-grid { grid-template-columns: 1fr; } .banner-slide { min-width: 100%; } .metric-value { font-size: 24px; } .saldo-value { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .animate-fade-in-up, .animate-fade-in-right { animation-duration: 0.01ms !important; } }
@media print { .sidebar, .topbar, .brand-ticker, .animated-bg { display: none !important; } .app-main { margin-left: 0 !important; } .app-content { margin-top: 0 !important; padding: 0 !important; } body { background: #fff !important; color: #000 !important; } }
