/* NAVBAR */
.custom-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  background-color: var(--colorBlack);
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
  z-index: 10001;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background-color: var(--colorBlack);
  z-index: 9999;
  pointer-events: none;
}




.d-flex {
  height: 100% !important;
}


.navbot {
  display: flex;
  position: fixed;
  bottom: 0;
  border: none !important;
  padding: 0px !important;
  left: 0;
  right: 0;
  align-items: center;
  height: var(--navbar-height) !important;
  background-color: rgba(250, 240, 191, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 -1px 0 rgba(44, 35, 30, 0.1), 0 -4px 20px rgba(44, 35, 30, 0.06);
  z-index: 10001;
}


.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}


.nav-left,
.nav-center,
.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav-left {
  justify-content: flex-start;
  padding-left: 0px;
}

.nav-center {
  justify-content: center;
}

.nav-right {
  justify-content: flex-end;
  padding-right: 0px;
}

.navbar-brand {
  margin: 0;
}

.navbar-brand-container {
  flex-grow: 1;
  text-align: center;
  height: var(--navbar-height) !important;
  z-index: 10001;
  width: 100%;
}

.navbar-toggler {
  border: none;
  outline: none;
  background: none;
}

/* Remove focus outlines for browsers */
.navbar-toggler::-moz-focus-inner {
  border: 0;
}

.navbar-toggler:focus:not(:focus-visible) {
  outline: none;
}

.navbar-nav.ml-auto {
  margin-right: 15px;
  z-index: 10001;
}

.nav-link {
  padding: 0.5rem 1rem;
  color: var(--colorClickable) !important;
  border: none;
}

.nav-button {
  background-color: var(--colorClickable) !important;
  color: var(--colorBlack) !important;
  transition: transform 200ms ease-out;
  border-radius: var(--uniRadius);
  padding: 10px !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-button:active {
  transform: scale(0.94);
  transition: transform 80ms ease-in;
}


.navbar-button-placeholder {
  width: 100px;
  text-align: center;
  white-space: nowrap;
}

.navbar-custom {
  background-color: var(--colorClickable);
  padding: 0px;
}

.nav-link-bottom.nav-link-selected {
  background-color: var(--colorHighlighted);
  color: var(--colorBlack) !important;
  text-decoration: none !important;
  border: none;
  outline: none;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
  font-weight: 700;
}


.nav-link-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 0;
  color: var(--colorBlack);
  border: none;
  outline: none;
  background: none;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  text-align: center;
  height: var(--navbar-height);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 200ms ease-out;
}



a.nav-link-bottom:visited {
  color: var(--colorBlack);
}


.nav-link-bottom span {
  font-size: 16px;
}


.justify-content-center {
  padding: 0px;
  text-decoration: none;
  text-align: center !important;
}

.container-fluid {
  padding: 0px !important;
  border: 0px !important;
}


#logo {
  width: 40px;
  height: 40px;
  background: none;
  -webkit-mask: none;
  mask: none;
}


/* Ensure navbar container can anchor absolute children */
.nav-inner {
  position: relative;
}

/* Avatar container (overlay, no layout impact) */
#avatar {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  pointer-events: auto;
}

/* Avatar image styling */
#avatar img,
.nav-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
}
.navbot .container-fluid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 100%;
  padding: 0;
  margin: 0;
}

.nav-col {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.navbot .nav-link-bottom {
  height: 100%;
  width: 100%;
  padding: 0;
  line-height: 1;
}

.navbot .nav-col {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.navbot .nav-link-bottom {
  flex: 1;
}


#backButton2 {
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

