.cc-navbar {
  background: var(--cc-color-surface);
  border-bottom: 1px solid var(--cc-color-border);
  box-shadow: var(--cc-shadow-sm);
}

.cc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: 1rem;
  padding-block: 0.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--cc-color-primary-900);
}

.cc-brand-logo {
  width: clamp(170px, 16vw, 250px);
  height: auto;
  max-height: 62px;
  object-fit: contain;
  display: block;
}

.cc-brand-text {
  line-height: 1;
}

.cc-navbar .nav-link {
  color: var(--cc-color-text-primary);
  font-weight: 600;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.cc-navbar .nav-link:hover,
.cc-navbar .nav-link:focus-visible {
  color: var(--cc-color-primary-700);
}

.cc-header-actions .btn {
  min-width: 7rem;
}

.customer-mobile-header {
  display: none;
}

.customer-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid #526173;
  border-radius: 4px;
  background: transparent;
  color: #253043;
  font-size: 24px;
}

@media (min-width: 768px) {
  .customer-sidebar.collapse {
    display: flex;
  }
}

.customer-sidebar {
  display: flex;
  flex-direction: column;
  width: 15.75rem;
  flex: 0 0 15.75rem;
  min-height: 100vh;
  padding: 1.25rem 0.85rem;
  background: var(--cc-app-sidebar);
  border-right: 1px solid #d8dee8;
  color: #253043;
}

.admin-sidebar {
  background: var(--cc-app-admin-sidebar);
}

.customer-nav-label {
  color: var(--cc-app-sidebar-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-sidebar-brand {
  flex-shrink: 0;
  padding: 0.35rem 0.7rem 1.5rem;
  border-bottom: 1px solid #d8dee8;
  margin-bottom: 1rem;
}

.customer-sidebar-brand a {
  display: block;
}

.customer-sidebar-brand img {
  display: block;
  width: 100%;
  max-width: 13rem;
  height: auto;
  max-height: 4.75rem;
  object-fit: contain;
  object-position: left center;
}

.customer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.customer-sidebar-main {
  flex: 1;
  min-height: 0;
}

.customer-nav-accordion,
.customer-nav-group {
  border: 0;
  background: transparent;
}

.customer-nav-parent {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: #253043;
  font-size: 0.88rem;
  font-weight: 400;
  box-shadow: none !important;
}

.customer-nav-parent::after {
  width: 0.65rem;
  height: 0.65rem;
  margin-left: auto;
  background-size: 0.65rem;
  opacity: 0.65;
}

.customer-nav-parent:hover,
.customer-nav-parent:focus-visible,
.customer-nav-parent:not(.collapsed) {
  background: #e3e7ff;
  color: #253043;
}

.customer-nav-group .accordion-body {
  padding: 0.2rem 0 0.35rem;
}

.customer-sidebar-bottom {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #d8dee8;
}

.customer-nav-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: #253043;
  font-size: 0.88rem;
  text-align: left;
  text-decoration: none;
  transition: background var(--cc-transition-fast), color var(--cc-transition-fast);
}

.customer-nav-link:hover,
.customer-nav-link:focus-visible,
.customer-nav-link.is-active {
  background: var(--cc-app-sidebar-active);
  color: #ffffff;
  text-decoration: none;
}

.customer-nav-icon {
  display: inline-flex;
  width: 1.5rem;
  min-width: 1.5rem;
  height: 1.5rem;
  justify-content: center;
  align-items: center;
  color: #526173;
  font-size: 1.5rem;
  line-height: 1;
}

.customer-nav-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.customer-nav-label {
  margin: 1.2rem 0 0.35rem;
  padding: 0 0.75rem;
}

.customer-nav-child {
  padding-left: 2.55rem;
  color: #526173;
  font-size: 0.82rem;
}

.customer-nav form {
  margin: 0;
}

.customer-nav-logout {
  color: #526173;
}

.admin-dashboard-metric-total {
  margin-top: 0.15rem;
  color: var(--cc-color-primary-900);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.1;
}

.admin-dashboard-metric-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.7rem;
  color: var(--cc-color-text-secondary);
  font-size: 0.78rem;
}

.admin-dashboard-metric-breakdown strong {
  color: var(--cc-color-text-primary);
  font-weight: 700;
}

.admin-dashboard-metric-amount {
  margin-top: 0.8rem;
  color: var(--cc-color-accent-teal);
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .cc-brand-logo {
    width: clamp(126px, 34vw, 162px);
    max-height: 42px;
  }
}
