
.navbar {
  --bs-navbar-bg: var(--steel-hex);

  --bs-navbar-color: var(--clay-light-hex);
  --bs-navbar-hover-color: #ffffff;
  --bs-navbar-active-color: #38bdf8;

  --bs-navbar-brand-color: var(--clay-light-hex);
  --bs-navbar-brand-hover-color: var(--steel-light-hex);

  --bs-navbar-toggler-border-color: rgba(255,255,255,.3);
  height: var(--navbar-height);
  background-color: var(--steel-hex);
  border-bottom: 0;
}

/* Ensure navbar colors are applied */
.navbar .nav-link  {
    color: var(--clay-light-hex)!important;
}

.navbar .nav-link:hover {
    color: var(--steel-light-hex)!important;
}



.dropdown-menu {
    background-color: var(--steel-light-hex);
}

.dropdown-menu .nav-desktop {
  display: none;
}

.nav-menu .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* space between text and icon */
  text-align: center;
}

.nav-menu .nav-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* space between text and icon */
  text-align: center;
}

.nav-desktop .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* space between text and icon */
  text-align: center;
}


#rightMenu > .dropdown-menu {
    background-color: var(--steel-hex);
    transition: background-color 0.3s ease;
    /* shadow */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    border: none; /* optional, cleaner look */
    
}

#rightMenu li a{
    color: var(--clay-light-hex)!important;
    transition: background-color 0.3s ease;
}

#rightMenu li a:hover{
    background-color: var(--steel-light-hex);
    color: var(--steel-hex)!important;
}

.dice-icon {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    

    background-image: url("/static/icons/2-Dice-Icon.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
    margin-right: 2px;

}

.dice-icon.sm { width: 1rem; height: 1rem; }
.dice-icon.lg { width: 1.75rem; height: 1.75rem; }





/* Mobile only */
@media (max-width: 767.98px) {

  .offcanvas-collapse {
    position: fixed;
    top: calc(var(--navbar-height, 72px) - 10px); /* adjust to your navbar */
    right: 5px;
    width: 80px;
    height: calc(100vh-30px);
    border-color: black;
    border-radius: 8px;
    /* height: calc(100vh - var(--navbar-height, 72px)); */

    background-color: var(--steel-hex);
    box-shadow: -0.5rem 0 1rem rgba(0, 0, 0, 0.15);

    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;

    z-index: 1045; /* above content */
  }

  .offcanvas-collapse.show {
    transform: translateX(0);
  }

  /* Prevent collapse height animation */
  .navbar-collapse {
    transition: none;
  }

  .navbar-nav li {
    line-height: 0.5;
  }

  .nav-text {
    display: none;        /* icons only */
  }

  .nav-icon {
    font-size: 1rem;
  }

  #navbarScroll .nav-link {
    line-height: 1.3;          /* text line spacing */
    padding-top: 0.1rem;      /* vertical touch area */
    padding-bottom: 0.1rem;
  }

}


@media (min-width: 768px) {
  .navbar-nav .nav-menu {
    display: none;
  }

  .navbar-nav .nav-icon {
    display: none;
  }

  #rightMenu .hr-d-none {
    display: none;
  }
}
