.header {
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1200;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar {
  position: fixed;
  top: var(--header-height);
  width: 280px;
  height: calc(100vh - var(--header-height));
  background: var(--white);
  z-index: 1100;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html[dir="ltr"] .sidebar {
  left: 0;
  transform: translateX(-100%);
  border-right: 1px solid var(--border);
}

html[dir="rtl"] .sidebar {
  right: 0;
  transform: translateX(100%);
  border-left: 1px solid var(--border);
}

.sidebar.open {
  transform: translateX(0) !important;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-overlay {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.footer {
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 24px;
  margin-top: auto;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
