.app-shell {
  display: flex;
  min-height: 100vh;
}

.app-shell__sidebar {
  background: var(--color-sidebar);
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
  position: fixed;
  width: 240px;
}

.brand {
  align-items: center;
  border-bottom: 1px solid #1e293b;
  display: flex;
  font-size: 20px;
  font-weight: 700;
  gap: 10px;
  padding: 20px;
}

.brand__icon {
  font-size: 26px;
}

.nav-menu {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 0;
}

.nav-menu__item {
  align-items: center;
  border-left: 3px solid transparent;
  color: #cbd5e1;
  display: flex;
  font-size: 14px;
  gap: 12px;
  padding: 12px 20px;
  text-decoration: none;
  transition: 0.15s;
}

.nav-menu__item:hover,
.nav-menu__item.is-active {
  background: #1e293b;
  color: #ffffff;
}

.nav-menu__item.is-active {
  border-left-color: var(--color-primary);
}

.nav-menu__item span:first-child {
  font-size: 18px;
  text-align: center;
  width: 24px;
}

.app-shell__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-left: 240px;
  min-height: 100vh;
}

.app-topbar {
  align-items: center;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 16px 28px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.app-topbar h1 {
  font-size: 20px;
  font-weight: 700;
}

.app-shell__content {
  flex: 1;
  padding: 24px 28px;
}

.app-shell--welcome .app-shell__sidebar,
.app-shell--welcome .app-topbar {
  display: none;
}

.app-shell--welcome .app-shell__main,
.app-shell--employee .app-shell__main {
  margin-left: 0;
}

.app-shell--welcome .app-shell__content {
  padding: 0;
}

.app-shell--employee .app-shell__sidebar {
  display: none;
}

@media (max-width: 768px) {
  .app-shell__sidebar {
    width: 64px;
  }

  .brand__name,
  .nav-menu__item span:last-child {
    display: none;
  }

  .app-shell__main {
    margin-left: 64px;
  }

  .app-shell__content {
    padding: 16px;
  }

  .app-topbar {
    padding: 12px 16px;
  }

  .app-topbar h1 {
    font-size: 16px;
  }
}
