/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Vertical connector lines for nested menu items */
.menu li > ul {
  position: relative;
  margin-left: 1rem;
  padding-left: 0.75rem;
}

.menu li > ul::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0.75rem;
  width: 1px;
  background-color: oklch(var(--bc) / 0.2);
}

/* Horizontal connector to each child item */
.menu li > ul > li {
  position: relative;
}

.menu li > ul > li::before {
  content: '';
  position: absolute;
  left: -0.75rem;
  top: 50%;
  width: 0.5rem;
  height: 1px;
  background-color: oklch(var(--bc) / 0.2);
}
