:root {
  --default-border-color: var(--gray-200);
}

.dark {
  --default-border-color: var(--gray-800);
}

#sidebar .nav-dropdown-trigger {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 0.375rem;
}

#sidebar .nav-dropdown-trigger:hover {
  background-color: rgb(0 0 0 / 0.04) !important;
}

.dark #sidebar .nav-dropdown-trigger:hover {
  background-color: rgb(255 255 255 / 0.06) !important;
}

#sidebar .nav-dropdown-trigger .nav-dropdown-item-icon {
  border: none !important;
  background: transparent !important;
  height: auto !important;
  width: auto !important;
  padding: 0 !important;
}

.nav-dropdown-content {
}

.nav-dropdown-content .nav-dropdown-item {
}

.nav-dropdown-content .nav-dropdown-item-icon {
  border: none !important;
  background: transparent !important;
  height: auto !important;
  width: auto !important;
  padding: 0 !important;
}

.nav-dropdown-content .nav-dropdown-item-description {
  display: none !important;
}

#sidebar .nav-anchor span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

body:has([data-product-guide-index]) #sidebar a.nav-anchor[href='/'] {
  color: rgb(var(--primary)) !important;
  font-weight: 600 !important;
}

body:has([data-product-guide-index]) #sidebar a.nav-anchor[href='/'] span {
  color: inherit !important;
}

body:has([data-product-guide-index]) #sidebar a.nav-anchor[href='/'] svg {
  background-color: rgb(var(--primary)) !important;
}

.dark body:has([data-product-guide-index]) #sidebar a.nav-anchor[href='/'] {
  color: rgb(var(--primary-light)/var(--tw-text-opacity,1)) !important;
}

.dark body:has([data-product-guide-index]) #sidebar a.nav-anchor[href='/'] svg {
  background-color: rgb(var(--primary-light)/var(--tw-text-opacity,1)) !important;
}

:is(#content-area[data-current-path='/'], [data-current-path='/'] #content-area):has([data-product-guide-index]) {
  background: transparent !important;
  padding: 0 !important;
}

:is(#content-area[data-current-path='/'], [data-current-path='/'] #content-area):has([data-product-guide-index]) > div:first-child {
  background: transparent !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
}

[data-product-guide-index] a:not(.product-guide-feature-card) {
  background-color: #fafafa !important;
}

.dark [data-product-guide-index] a:not(.product-guide-feature-card) {
  background-color: #09090b !important;
}

.product-guide-feature-card {
  grid-column: 1 / -1;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 260px;
  background: url('/images/sample-feature-light.png') center / cover no-repeat !important;
  border: none !important;
  box-shadow: none !important;
  color: white !important;
  .dark & {
    background-image: url('/images/sample-feature-dark.png') !important;
  }
}

.product-guide-feature-card > div {
  display: flex !important;
  flex: 1;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.product-guide-feature-card :is(h2, h3, p, span, svg) {
  color: white !important;
}

.product-guide-feature-card :is(svg, [class*='icon']) {
  background-color: white !important;
  width: 2em !important;
  height: 2em !important;
  margin-top: 2px;
}

.product-guide-feature-card-title {
  font-size: 1.2em;
  font-weight: 500;
}

.product-guide-feature-card :is(h2, h3, p, span, svg).product-guide-feature-card-description {
  font-size: 1.05em;
  font-weight: 400;
  color: rgb(var(--gray-50) / 62.5%) !important;
  .dark & {
    color: rgb(var(--gray-50) / 50%) !important;
  }
}

img.nav-logo {
  max-width: 220px;
  height: auto;
}