/* =====================================================
   BROKERAGE PLATFORM — Design System
   Deep Navy #102A4C | Royal Blue #2878D0 | Ice White #F1F5FA | Emerald #18A999
   Typography: Manrope (headings) + Inter (body)
   ===================================================== */

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

:root {
  --navy: #102A4C;
  --navy-dark: #0A1C33;
  --navy-light: #1A3A63;
  --blue: #2878D0;
  --blue-hover: #1E62B0;
  --blue-light: #E8F1FB;
  --emerald: #18A999;
  --emerald-dark: #128A7C;
  --ice: #F1F5FA;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(16,42,76,0.08), 0 4px 12px rgba(16,42,76,0.06);
  --shadow-md: 0 4px 16px rgba(16,42,76,0.1);
  --shadow-lg: 0 10px 40px rgba(16,42,76,0.12);
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --transition: 0.2s ease;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ice);
  color: var(--gray-800);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-hover); }

img { max-width: 100%; display: block; }

button, .btn {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition);
}

/* ========== UTILITIES ========== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-fluid { width: 100%; padding: 0 20px; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: white;
}
.btn-primary:hover { background: var(--blue-hover); }

.btn-secondary {
  background: white;
  color: var(--navy);
  border: 1.5px solid var(--gray-300);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

.btn-emerald {
  background: var(--emerald);
  color: white;
}
.btn-emerald:hover { background: var(--emerald-dark); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: white; }

.btn-danger {
  background: var(--danger);
  color: white;
}
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.8rem; }
.btn-lg { padding: 0.9rem 1.8rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ========== FORMS ========== */
.form-group { margin-bottom: 1.15rem; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.7rem 0.95rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  background: white;
  color: var(--gray-800);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40,120,208,0.15);
}
.form-control::placeholder { color: var(--gray-400); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748B' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 2.2rem; }
.form-hint { font-size: 0.78rem; color: var(--gray-500); margin-top: 0.3rem; }
.form-error { font-size: 0.78rem; color: var(--danger); margin-top: 0.3rem; }

/* ========== CARDS ========== */
.card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.card-header {
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-body { padding: 1.35rem; }
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); }

/* ========== BADGES ========== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.badge-success { background: #D1FAE5; color: #065F46; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-danger { background: #FEE2E2; color: #991B1B; }
.badge-info { background: #DBEAFE; color: #1E40AF; }
.badge-neutral { background: var(--gray-200); color: var(--gray-700); }
.badge-blue { background: var(--blue-light); color: var(--blue); }

/* ========== TABLES ========== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}
td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--gray-50); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ========== STATUS DOTS ========== */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.status-dot.active { background: var(--success); }
.status-dot.pending { background: var(--warning); }
.status-dot.inactive { background: var(--gray-400); }
.status-dot.danger { background: var(--danger); }

/* ========== PUBLIC HEADER ========== */
.public-header {
  background: var(--navy);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.public-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover { color: white; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-header-login {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
}
.btn-header-login:hover { border-color: white; }
.btn-header-register {
  background: var(--blue);
  color: white;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
}
.btn-header-register:hover { background: var(--blue-hover); }
.mobile-toggle {
  display: flex;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.25rem;
}

/* ========== PUBLIC FOOTER ========== */
.public-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-bottom: 0.55rem;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.risk-notice {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  color: #FCA5A5;
  margin-bottom: 1.5rem;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: white;
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(40,120,208,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero h1 {
  color: white;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  font-variant-numeric: tabular-nums;
}
.hero-stat span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ========== SECTIONS ========== */
.section { padding: 4rem 0; }
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.section-subtitle {
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

/* Account type cards */
.account-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.account-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.account-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.account-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}
.account-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
}
.account-card h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.account-card .spread { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin: 0.75rem 0 0.25rem; font-variant-numeric: tabular-nums; }
.account-card .spread span { font-size: 0.85rem; font-weight: 500; color: var(--gray-500); }
.account-features { list-style: none; margin: 1.25rem 0; }
.account-features li {
  font-size: 0.875rem;
  color: var(--gray-600);
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.account-features li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 700;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--blue);
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.55; }

/* ========== AUTH PAGES ========== */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ice);
}
.auth-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}
.auth-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  padding: 2rem 1.75rem;
}
.auth-card .logo { color: var(--navy); margin-bottom: 1.75rem; justify-content: center; }
.auth-card .logo-mark { background: var(--blue); color: white; }
.auth-card h1 { font-size: 1.5rem; text-align: center; margin-bottom: 0.35rem; }
.auth-card .auth-sub { text-align: center; color: var(--gray-500); font-size: 0.9rem; margin-bottom: 1.75rem; }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.875rem; color: var(--gray-500); }

/* ========== DASHBOARD LAYOUT ========== */
.app-layout {
  display: flex;
  min-height: 100vh;
  background: var(--ice);
}
.sidebar {
  width: 260px;
  background: var(--navy);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}
.sidebar.open { transform: translateX(0); }
.sidebar-header {
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.75rem;
}
.nav-section {
  margin-bottom: 1.25rem;
}
.nav-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  padding: 0 0.75rem;
  margin-bottom: 0.5rem;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2px;
  transition: all var(--transition);
}
.nav-item:hover { background: rgba(255,255,255,0.08); color: white; }
.nav-item.active { background: var(--blue); color: white; }
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.85; }
.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.main-content {
  flex: 1;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.topbar {
  background: white;
  border-bottom: 1px solid var(--gray-200);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  position: sticky;
  top: 0;
  z-index: 40;
}
.topbar-left { display: flex; align-items: center; gap: 0.75rem; }
.menu-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--navy);
  padding: 0.25rem;
  display: flex;
}
.page-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.topbar-right { display: flex; align-items: center; gap: 0.75rem; }
.user-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  background: var(--gray-100);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}
.user-avatar {
  width: 28px;
  height: 28px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.content-area { padding: 1.5rem 1.25rem; flex: 1; }

/* Overlay for mobile sidebar */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,28,51,0.5);
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
}
.sidebar-overlay.show { opacity: 1; visibility: visible; }

/* Dashboard cards */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.stat-card .label { font-size: 0.78rem; color: var(--gray-500); font-weight: 500; margin-bottom: 0.35rem; }
.stat-card .value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat-card .change { font-size: 0.75rem; margin-top: 0.3rem; }
.stat-card .change.up { color: var(--success); }
.stat-card .change.down { color: var(--danger); }

/* Account balance card */
.balance-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.balance-card::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(40,120,208,0.35) 0%, transparent 70%);
}
.balance-card .label { font-size: 0.8rem; opacity: 0.7; margin-bottom: 0.25rem; }
.balance-card .balance {
  font-size: 2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.balance-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  font-size: 0.8rem;
}
.balance-meta span { opacity: 0.7; display: block; }
.balance-meta strong { font-weight: 600; font-variant-numeric: tabular-nums; }

/* Quick actions */
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.quick-action {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  transition: all var(--transition);
}
.quick-action:hover { border-color: var(--blue); color: var(--blue); }
.quick-action .icon { font-size: 1.4rem; margin-bottom: 0.35rem; display: block; }

/* ========== MOBILE BOTTOM NAV ========== */
.bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--gray-200);
  z-index: 40;
  padding: 0.4rem 0 calc(0.4rem + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 12px rgba(16,42,76,0.06);
}
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.35rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--gray-500);
}
.bottom-nav a.active { color: var(--blue); }
.bottom-nav a svg { width: 22px; height: 22px; }

/* ========== RESPONSIVE ========== */
@media (min-width: 640px) {
  .hero h1 { font-size: 2.85rem; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .account-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .mobile-toggle { display: none; }
  .account-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-actions { grid-template-columns: repeat(4, 1fr); }
  .bottom-nav { display: none; }
  .content-area { padding: 1.75rem 2rem; padding-bottom: 2rem; }
}

@media (min-width: 1024px) {
  .sidebar { transform: translateX(0); }
  .main-content { margin-left: 260px; }
  .menu-btn { display: none; }
  .sidebar-overlay { display: none !important; }
}

/* Print / utility */
@media print {
  .sidebar, .topbar, .bottom-nav, .public-header { display: none !important; }
  .main-content { margin-left: 0; }
}