/* Header */
header {
  background: var(--bg-header);
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(11, 46, 145, 0.15);
  position: relative;
  z-index: 10;
}

.header-left { display: flex; align-items: center; gap: 12px; }
.header-left h1 { font-size: 17px; font-weight: 700; color: #fff; }
.header-logo { font-size: 22px; }

.hamburger {
  display: none; background: none; border: none;
  color: #fff; font-size: 24px; cursor: pointer;
}

.header-right { display: flex; align-items: center; gap: 12px; }
.header-user { font-size: 13px; color: rgba(255,255,255,0.8); }

.btn-logout {
  background: rgba(255,255,255,0.15); border: none;
  color: #fff; padding: 6px 12px;
  border-radius: var(--radius); cursor: pointer; font-size: 12px;
}
.btn-logout:hover { background: rgba(255,255,255,0.25); }

.btn-push {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; padding: 6px 14px;
  border-radius: var(--radius); cursor: pointer; font-size: 12px;
  transition: background 0.15s;
}
.btn-push:hover { background: rgba(255,255,255,0.2); }

.nav-badge {
  margin-left: auto;
  background: #e74c3c; color: #fff; font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px; line-height: 18px;
  border-radius: 9px; text-align: center; padding: 0 5px;
}

/* Layout */
.app-layout { display: flex; height: calc(100vh - 56px); }

/* Sidebar */
aside {
  width: 220px;
  background: var(--bg-sidebar);
  padding: 16px 0;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.12s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-weight: 500;
}
.nav-item .nav-icon { font-size: 18px; width: 24px; text-align: center; }
.nav-item:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav-item.active {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-left: 3px solid #fff;
}
.nav-label-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.nav-subtitle { font-size: 11px; opacity: 0.6; margin-top: 1px; }
.nav-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 10px 16px; }

/* Main content */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-primary);
}

.page-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

/* Mobile sidebar */
@media (max-width: 768px) {
  .hamburger { display: flex !important; }
  aside {
    position: fixed; top: 56px; left: -220px; height: calc(100vh - 56px);
    z-index: 60; transition: left 0.25s ease; overflow-y: auto;
  }
  aside.open { left: 0; }
}
