/* ============ TOP HEADER ============ */
.topbar {
  height: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.logo {
  height: 34px;
}

.user {
  font-size: 14px;
  font-weight: 500;
}

/* ============ MAIN APP LAYOUT ============ */
.app {
  display: flex;
  height: calc(100vh - 64px);
}

/* ============ SIDEBAR ============ */
.sidebar {
  width: 72px;
  background: var(--white);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
}

.sidebar-item {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E5E7EB;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.sidebar-item img,
.sidebar-item svg {
  width: 22px;
  height: 22px;

  display: block;          /* 🔑 VERY IMPORTANT */
  object-fit: contain;     /* 🔑 FIXES SVG CANVAS ISSUES */
}

/* Hover */
.sidebar-item:hover {
  background: #F1F5F9;
}

/* Active state */
.sidebar-item.active {
  background: var(--primary);
}

.sidebar-item.active img,
.sidebar-item.active svg {
  filter: brightness(0) invert(1);
}

/* ============ CONTENT ============ */
.content {
  flex: 1;
  padding: 18px;
  overflow-y: auto;
}


/* ===== PAGE HEADER ===== */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.page-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-main);
}

.page-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}
