/* Import Premium Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* ─── Brand ──────────────────────────────────── */
  --color-primary:        #534FEB;
  --color-primary-light:  #F6F6FE;
  --color-primary-dark:   #1C6CE5;

  /* ─── Semantic ───────────────────────────────── */
  --color-success:        #1BA019;
  --color-success-dark:   #069855;
  --color-success-light:  #E6F5EE;
  --color-warning:        #D39C1D;
  --color-warning-light:  #FBF5E8;
  --color-warning-muted:  #F4BF4F;
  --color-danger:         #D62525;
  --color-danger-light:   #FDF4F4;
  --color-danger-muted:   #EC6B5E;

  /* ─── Neutral ────────────────────────────────── */
  --color-neutral-900:    #121212;
  --color-neutral-600:    #626262;
  --color-neutral-400:    #999999;
  --color-neutral-300:    #C5C5C5;
  --color-neutral-200:    #D9D9D9;
  --color-neutral-100:    #F5F5F5;
  --color-white:          #FFFFFF;

  /* ─── Chart ──────────────────────────────────── */
  --color-chart-green:    #61C453;
  --color-chart-blue:     #1B6CE5;
  --color-chart-yellow:   #F4BF4F;
  --color-chart-red:      #EC6B5E;

  /* ─── Typography ─────────────────────────────── */
  --font-heading: 'Outfit', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans:    'Inter', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-xs:      10px;
  --text-sm:      12px;
  --text-base:    13px;
  --text-md:      14px;
  --text-lg:      16px;
  --text-xl:      17px;
  --text-2xl:     20px;
  --text-3xl:     24px;
  --text-display: 32px;

  /* ─── Spacing ────────────────────────────────── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-7:  32px;
  --space-8:  40px;
  --space-9:  60px;

  /* ─── Border Radius ──────────────────────────── */
  --radius-none: 0px;
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   8px;
  --radius-xl:   12px;
  --radius-2xl:  16px;
  --radius-3xl:  24px;
  --radius-full: 100px;

  /* ─── Shadows ────────────────────────────────── */
  --shadow-sm:      0px 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md:      0px 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg:      0px 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-primary: 0px 4px 12px rgba(83, 79, 235, 0.25);

  /* ─── Layout ─────────────────────────────────── */
  --sidebar-width:    240px;
  --topbar-height:    64px;
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
}

body {
  background-color: var(--color-neutral-100);
  color: var(--color-neutral-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-neutral-900);
  font-weight: 700;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

/* ─── AUTH / ONBOARDING LAYOUT (SPLIT SCREEN) ─── */
.auth-container {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  background-color: var(--color-white);
  overflow: hidden;
}

/* Branding side (Left) */
.auth-brand-side {
  width: 50%;
  background: radial-gradient(circle at top left, #2d2a9c, var(--color-neutral-900));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-8);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.auth-brand-side::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(83, 79, 235, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.auth-logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.auth-logo span {
  color: var(--color-primary);
}

.auth-illustration-box {
  margin: auto 0;
  max-width: 460px;
  animation: slideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.auth-headline {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-4);
  color: var(--color-white);
  letter-spacing: -1px;
}

.auth-subheadline {
  font-size: var(--text-md);
  color: var(--color-neutral-400);
  line-height: 1.6;
}

.auth-brand-footer {
  font-size: var(--text-xs);
  color: var(--color-neutral-600);
}

/* Form side (Right) */
.auth-form-side {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  overflow-y: auto;
  background-color: var(--color-white);
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.auth-form-card {
  width: 100%;
  max-width: 440px;
}

.auth-form-header {
  margin-bottom: var(--space-7);
}

.auth-form-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  letter-spacing: -0.5px;
}

.auth-form-subtitle {
  font-size: var(--text-md);
  color: var(--color-neutral-600);
}

/* ─── FORM CONTROLS ─── */
.form-group {
  margin-bottom: var(--space-5);
  position: relative;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-neutral-600);
  margin-bottom: var(--space-2);
}

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

.form-input {
  width: 100%;
  height: 38px;
  padding: 0 var(--space-3);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-neutral-900);
  background-color: var(--color-white);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(83, 79, 235, 0.12);
}

.form-input::placeholder {
  color: var(--color-neutral-400);
}

.form-input-has-icon {
  padding-right: var(--space-8);
}

.input-icon-btn {
  position: absolute;
  right: var(--space-3);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-neutral-400);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.input-icon-btn:hover {
  color: var(--color-neutral-600);
}

/* Error state styling */
.form-input-error {
  border-color: var(--color-danger) !important;
}

.form-input-error:focus {
  box-shadow: 0 0 0 3px rgba(214, 37, 37, 0.12) !important;
}

.form-error-message {
  font-size: var(--text-xs);
  color: var(--color-danger);
  margin-top: var(--space-1);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* Helper flex layout for remember me & forgot password */
.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
}

.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 16px;
  width: 16px;
  background-color: var(--color-neutral-100);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-sm);
  margin-right: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: var(--color-neutral-200);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.checkmark::after {
  content: "";
  display: none;
  width: 4px;
  height: 8px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.checkbox-container input:checked ~ .checkmark::after {
  display: block;
}

.checkbox-label {
  color: var(--color-neutral-600);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.btn-primary {
  height: 40px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
  color: var(--color-white);
}

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

.btn-primary:disabled {
  background-color: var(--color-neutral-300);
  box-shadow: none;
  cursor: not-allowed;
}

.btn-secondary {
  height: 40px;
  background-color: var(--color-white);
  color: var(--color-neutral-900);
  border: 1px solid var(--color-neutral-200);
}

.btn-secondary:hover {
  background-color: var(--color-neutral-100);
  border-color: var(--color-neutral-300);
  color: var(--color-neutral-900);
}

/* Social Separator */
.social-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: var(--space-5) 0;
  color: var(--color-neutral-400);
  font-size: var(--text-xs);
}

.social-separator::before,
.social-separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--color-neutral-200);
}

.social-separator:not(:empty)::before {
  margin-right: var(--space-3);
}

.social-separator:not(:empty)::after {
  margin-left: var(--space-3);
}

.social-btn-group {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

/* OTP Code input styles */
.otp-inputs-wrapper {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.otp-input {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: var(--text-2xl);
  font-weight: 700;
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-lg);
  color: var(--color-neutral-900);
}

.otp-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(83, 79, 235, 0.12);
}

/* Password strength indicator styles */
.strength-indicator {
  display: flex;
  gap: var(--space-1);
  margin-top: var(--space-2);
  height: 4px;
}

.strength-bar {
  flex: 1;
  background-color: var(--color-neutral-200);
  border-radius: var(--radius-xs);
  transition: background-color 0.3s ease;
}

.strength-bar.weak {
  background-color: var(--color-danger-muted);
}

.strength-bar.medium {
  background-color: var(--color-warning-muted);
}

.strength-bar.strong {
  background-color: var(--color-success);
}

.strength-text {
  font-size: var(--text-xs);
  color: var(--color-neutral-600);
  margin-top: var(--space-1);
}

/* ─── ONBOARDING COMPANY SETUP STEPS ─── */
.onboarding-steps-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.onboarding-step-indicator {
  flex: 1;
  height: 4px;
  background-color: var(--color-neutral-200);
  border-radius: var(--radius-xs);
  margin-right: var(--space-2);
}

.onboarding-step-indicator:last-child {
  margin-right: 0;
}

.onboarding-step-indicator.active {
  background-color: var(--color-primary);
}

/* Card Selection Grid for Step 2 & 3 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.selection-card {
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: left;
  background: var(--color-white);
}

.selection-card:hover {
  border-color: var(--color-neutral-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.selection-card.selected {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.selection-card-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--color-neutral-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-600);
  margin-bottom: var(--space-1);
}

.selection-card.selected .selection-card-icon {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.selection-card-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-neutral-900);
}

.selection-card-desc {
  font-size: var(--text-xs);
  color: var(--color-neutral-600);
}

/* Success layout */
.success-illustration {
  text-align: center;
  margin-bottom: var(--space-6);
  padding: var(--space-4) 0;
}

.success-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--color-success-light);
  color: var(--color-success-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: var(--space-4);
  animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsive adjustment */
@media (max-width: 900px) {
  .auth-brand-side {
    display: none;
  }
  .auth-form-side {
    width: 100%;
  }
}

/* ─── MAIN PORTAL SYSTEM LAYOUT ─── */
.app-container {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  background-color: var(--color-neutral-100);
}

/* Sidebar navigation */
.sidebar {
  width: var(--sidebar-width);
  background-color: var(--color-white);
  border-right: 1px solid var(--color-neutral-200);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-logo {
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  padding: 0 var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  border-bottom: 1px solid var(--color-neutral-100);
  letter-spacing: -0.3px;
}

.sidebar-logo span {
  color: var(--color-primary);
}

.sidebar-menu {
  padding: var(--space-3) var(--space-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  overflow-y: auto;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-neutral-600);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-item i {
  font-size: 18px;
  color: var(--color-neutral-600);
  transition: color 0.2s ease;
}

.sidebar-item:hover {
  background-color: var(--color-neutral-100);
  color: var(--color-neutral-900);
}

.sidebar-item.active {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.sidebar-item.active i {
  color: var(--color-white);
}

/* Bottom account section inside sidebar */
.sidebar-account {
  padding: var(--space-3) var(--space-2);
  border-top: 1px solid var(--color-neutral-100);
  background-color: var(--color-white);
  margin-top: auto;
}

.sidebar-account-box {
  background-color: var(--color-neutral-100);
  border-radius: var(--radius-lg);
  padding: var(--space-1);
  border: 1px solid var(--color-neutral-200);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-2);
}

.account-actions {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Interior top bar */
.topbar {
  height: var(--topbar-height);
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-neutral-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  position: fixed;
  top: 0;
  right: 0;
  left: var(--sidebar-width);
  z-index: 90;
}

.main-content {
  margin-left: var(--sidebar-width);
  margin-top: var(--topbar-height);
  padding: var(--space-6);
}

.topbar-title {
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--color-neutral-900);
}

.topbar-search {
  width: 260px;
  position: relative;
}

.topbar-search-input {
  width: 100%;
  height: 32px;
  background-color: var(--color-neutral-100);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 0 var(--space-3) 0 var(--space-7);
  font-size: var(--text-sm);
  transition: all 0.2s ease;
}

.topbar-search-input:focus {
  outline: none;
  background-color: var(--color-white);
  border-color: var(--color-primary);
}

.topbar-search-icon {
  position: absolute;
  left: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-neutral-400);
  font-size: 14px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.topbar-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-neutral-100);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-neutral-600);
  transition: all 0.2s ease;
  position: relative;
}

.topbar-icon-btn#sidebarToggle {
  display: none;
}

@media (max-width: 768px) {
  .topbar-icon-btn#sidebarToggle {
    display: flex;
  }
}

.topbar-icon-btn:hover {
  background-color: var(--color-neutral-100);
  color: var(--color-neutral-900);
}

.notification-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  top: 8px;
  right: 8px;
}

/* Main interior container */
.main-content {
  margin-left: var(--sidebar-width);
  margin-top: var(--topbar-height);
  padding: 32px;
  width: calc(100vw - var(--sidebar-width));
  min-height: calc(100vh - var(--topbar-height));
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-x: hidden;
}

/* Stat Widget Cards */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.metric-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-2);
}

.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-neutral-600);
  font-size: var(--text-sm);
  font-weight: 500;
}

.metric-value {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-neutral-900);
}

.metric-footer {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
}

/* Semantic Badge Components */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  text-transform: capitalize;
}

.badge-success {
  background-color: var(--color-success-light);
  color: var(--color-success-dark);
}

.badge-danger {
  background-color: var(--color-danger-light);
  color: var(--color-danger);
}

.badge-warning {
  background-color: var(--color-warning-light);
  color: var(--color-warning);
}

.badge-primary {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

/* Avatars */
.avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-white);
}

.avatar-xs { width: 20px; height: 20px; }
.avatar-sm { width: 24px; height: 24px; }
.avatar-md { width: 32px; height: 32px; }
.avatar-lg { width: 40px; height: 40px; }
.avatar-xl { width: 48px; height: 48px; }

/* Dashboard Interior Sections Grid */
.dashboard-grid-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-5);
}

.dashboard-panel {
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.panel-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

/* Activity Items List */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-neutral-100);
}

.activity-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.activity-details {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.activity-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-neutral-900);
}

.activity-sub {
  font-size: var(--text-xs);
  color: var(--color-neutral-600);
  margin-top: 2px;
}

.activity-time {
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
}

/* Micro-animations Shimmer skeleton loads */
.shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer-anim 1.5s infinite;
}

@keyframes shimmer-anim {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 1100px) {
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-grid-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .topbar {
    left: 0;
  }
  .main-content {
    margin-left: 0;
    width: 100%;
  }
  .metrics-row {
    grid-template-columns: 1fr;
  }
}

