/* Global bottom navigation unification (root + user pages) */

.bottom-nav,
body.user-unified .bottom-nav {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
  transform: none !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, rgba(12, 36, 33, 0.9), rgba(7, 26, 24, 0.85)) !important;
  border: 0 !important;
  border-top: 1px solid rgba(66, 132, 127, 0.45) !important;
  box-shadow:
    0 -10px 20px rgba(0, 0, 0, 0.3),
    0 16px 26px rgba(0,0,0,.35),
    0 0 22px rgba(16, 255, 212, 0.16),
    0 0 30px rgba(255, 204, 96, 0.12) !important;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  z-index: 9999 !important;
  padding: 6px 6px 8px !important;
  gap: 2px !important;
}

.bottom-nav .nav-item,
.bottom-nav .nav,
body.user-unified .bottom-nav .nav-item,
body.user-unified .bottom-nav .nav {
  text-decoration: none !important;
  color: #9fd6cb !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  display: grid !important;
  justify-items: center !important;
  gap: 2px !important;
  padding-top: 2px !important;
}

.bottom-nav .nav-item i,
.bottom-nav .nav i,
body.user-unified .bottom-nav .nav-item i,
body.user-unified .bottom-nav .nav i {
  font-size: 0 !important;
  line-height: 1 !important;
}

.bottom-nav .nav-item i::before,
.bottom-nav .nav i::before,
body.user-unified .bottom-nav .nav-item i::before,
body.user-unified .bottom-nav .nav i::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 19px !important;
  line-height: 1 !important;
}

.bottom-nav .nav-item:nth-child(1) i::before,
.bottom-nav .nav:nth-child(1) i::before,
body.user-unified .bottom-nav .nav-item:nth-child(1) i::before,
body.user-unified .bottom-nav .nav:nth-child(1) i::before { content: "\f015" !important; } /* Home */
.bottom-nav .nav-item:nth-child(2) i::before,
.bottom-nav .nav:nth-child(2) i::before,
body.user-unified .bottom-nav .nav-item:nth-child(2) i::before,
body.user-unified .bottom-nav .nav:nth-child(2) i::before { content: "\f06b" !important; } /* Promotion */
.bottom-nav .nav-item:nth-child(3) i::before,
.bottom-nav .nav:nth-child(3) i::before,
body.user-unified .bottom-nav .nav-item:nth-child(3) i::before,
body.user-unified .bottom-nav .nav:nth-child(3) i::before { content: "\f14d" !important; } /* Agent */
.bottom-nav .nav-item:nth-child(4) i::before,
.bottom-nav .nav:nth-child(4) i::before,
body.user-unified .bottom-nav .nav-item:nth-child(4) i::before,
body.user-unified .bottom-nav .nav:nth-child(4) i::before { content: "\f555" !important; } /* Deposit */
.bottom-nav .nav-item:nth-child(5) i::before,
.bottom-nav .nav:nth-child(5) i::before,
body.user-unified .bottom-nav .nav-item:nth-child(5) i::before,
body.user-unified .bottom-nav .nav:nth-child(5) i::before { content: "\f007" !important; } /* Account */

.bottom-nav .nav-item.active,
.bottom-nav .nav.active,
body.user-unified .bottom-nav .nav-item.active,
body.user-unified .bottom-nav .nav.active {
  color: #ffd640 !important;
  font-weight: 800 !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.62) !important;
}

.bottom-nav .nav-item.center i,
.bottom-nav .nav.center i,
body.user-unified .bottom-nav .nav-item.center i,
body.user-unified .bottom-nav .nav.center i {
  width: 58px !important;
  height: 58px !important;
  margin-top: -32px !important;
  border-radius: 50% !important;
  background: linear-gradient(180deg, #2ce0b6, #14ba94) !important;
  border: 3px solid #0f6e60 !important;
  display: grid !important;
  place-items: center !important;
  color: #08382f !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.34) !important;
  font-size: 0 !important;
}

.bottom-nav .nav-item.center i::before,
.bottom-nav .nav.center i::before,
body.user-unified .bottom-nav .nav-item.center i::before,
body.user-unified .bottom-nav .nav.center i::before {
  font-size: 27px !important;
}

.bottom-nav .nav-item.center span,
.bottom-nav .nav.center span,
body.user-unified .bottom-nav .nav-item.center span,
body.user-unified .bottom-nav .nav.center span {
  margin-top: -2px !important;
}
