body {
  background: radial-gradient(circle at top left, #eef2f6, #f7f8fb 55%, #f1f3f7);
}

.customer-layout .content {
  padding: 32px 36px 48px;
}

.customer-sidebar {
  background: linear-gradient(160deg, #0b1220, #1c2a3a 55%, #111827);
  color: #e9edf5;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.customer-sidebar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.customer-sidebar .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(140deg, #22d3ee, #38bdf8);
  color: #0f172a;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}

.customer-sidebar .brand-title {
  font-weight: 600;
  font-size: 15px;
}

.customer-sidebar .brand-sub {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.customer-sidebar .sidebar-close {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: none;
  font-size: 18px;
}

.customer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.customer-menu a {
  text-decoration: none;
  color: #d0dae6;
  padding: 12px 14px 12px 42px;
  border-radius: 14px;
  position: relative;
  transition: all 0.2s ease;
  font-weight: 500;
}

.customer-menu a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.customer-menu a:hover,
.customer-menu a.active {
  background: rgba(56, 189, 248, 0.18);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.35);
}

.customer-menu a:hover::before,
.customer-menu a.active::before {
  background: #38bdf8;
}

.customer-menu a:last-child {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
}

.customer-menu a:last-child::before {
  background: rgba(255, 255, 255, 0.5);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 24, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 15;
}

@media (max-width: 1024px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .customer-layout .content {
    padding: 24px 20px 36px;
  }

  .customer-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    z-index: 20;
    transition: left 0.25s ease;
  }

  .customer-sidebar .sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .menu-toggle {
    display: inline-flex;
  }

  body.sidebar-open .customer-sidebar {
    left: 0;
  }

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