/**
 * GoldenOT — Navbar + Sidebar menus
 */

/* ----- StickyNavbar: headbar perfeito, logo com recorte azul GoldenOT ----- */
.go-navbar.navbar-bg {
  display: block;
  height: var(--navbar-height);
  max-height: var(--navbar-height);
  padding: 0 10px;
  margin-bottom: 20px;
  z-index: 1020;
  overflow: hidden;
  position: sticky;
  top: 0;
  box-sizing: border-box;
}

.go-navbar .go-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 32px;
  cursor: pointer;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}

.go-navbar .go-nav-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  column-gap: 4px;
  width: 100%;
  height: 100%;
  max-height: var(--navbar-height);
  box-sizing: border-box;
}

.go-navbar .go-nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
}

.go-navbar .go-nav-left {
  justify-content: flex-end;
}

.go-navbar .go-nav-right {
  justify-content: flex-start;
}

.go-navbar .go-nav-links li {
  display: flex;
  align-items: center;
  height: 100%;
  flex: 0 1 auto;
  min-width: 0;
}

.go-navbar .go-nav-links a {
  display: flex;
  align-items: center;
  height: 100%;
  max-height: var(--navbar-height);
  padding: 0 6px;
  font-family: var(--font-display);
  font-size: clamp(11px, 1.05vw, 14px);
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
  line-height: 1;
  box-sizing: border-box;
}

.go-navbar .go-nav-links a:hover,
.go-navbar .go-nav-links a.is-active {
  color: var(--nav-hover);
}

/* Bloco central — recorte dentado azul (mesmo modelo GoldenOT, 184×75) */
.go-navbar .go-nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 184px;
  width: 184px;
  max-width: 184px;
  height: 100%;
  max-height: var(--navbar-height);
  padding: 0;
  margin: 0;
  text-decoration: none;
  overflow: visible;
  line-height: 0;
}

.go-navbar .go-nav-logo img {
  display: block;
  width: 184px;
  height: 75px;
  max-width: 184px;
  max-height: var(--navbar-height);
  object-fit: contain;
  object-position: center center;
}

@media (min-width: 1200px) {
  .go-navbar .go-nav-links a {
    font-size: clamp(12px, 1.1vw, 15px);
    padding: 0 8px;
  }
}

@media (min-width: 1400px) {
  .go-navbar .go-nav-links a {
    font-size: 15px;
    padding: 0 10px;
    letter-spacing: 0.45px;
  }
}

@media (max-width: 991.98px) {
  .go-navbar .go-nav-links a {
    font-size: 11px;
    padding: 0 4px;
    letter-spacing: 0.1px;
  }

  .go-navbar .go-nav-logo,
  .go-navbar .go-nav-logo img {
    width: 150px;
    max-width: 150px;
    flex-basis: 150px;
  }
}

@media (max-width: 767.98px) {
  .go-navbar .go-nav-toggle {
    display: block;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .go-navbar {
    position: sticky;
    height: var(--navbar-height);
    max-height: none;
    overflow: visible;
  }

  .go-navbar .go-nav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: var(--navbar-height);
    max-height: none;
  }

  .go-navbar .go-nav-logo {
    order: 0;
    margin: 0 auto;
    height: var(--navbar-height);
    width: 160px;
    max-width: 160px;
    flex: 0 0 160px;
  }

  .go-navbar .go-nav-logo img {
    width: 160px;
    max-width: 160px;
  }

  .go-navbar .go-nav-links {
    display: none;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    overflow: visible;
    background: var(--bg-panel);
    border-top: 1px solid var(--border);
  }

  .go-navbar.is-open {
    height: auto;
    overflow: visible;
  }

  .go-navbar.is-open .go-nav-links {
    display: flex;
  }

  .go-navbar .go-nav-links li {
    height: auto;
    display: block;
  }

  .go-navbar .go-nav-links a {
    height: auto;
    max-height: none;
    font-size: 15px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-row-top);
    text-transform: none;
  }
}

/* ----- Sidebar menu ----- */
#menu {
  float: none;
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

#menu .menu-block {
  margin-bottom: 12px;
}

#menu .menu-cnt {
  background-color: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  width: 100%;
  float: none;
}

#menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu li {
  display: block;
  padding: 8px 5px 10px 20px;
  text-align: left;
  border-top: solid 1px var(--border-row-top);
  border-bottom: solid 1px var(--border-row-bottom);
  margin-left: 5%;
  width: 90%;
}

#menu ul > li:first-child {
  border-top-color: transparent;
}

#menu li a {
  display: block;
  color: var(--text);
  padding: 1px 0;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--font-size-menu-link);
  font-weight: 700;
  width: 100%;
  background: transparent no-repeat left center;
  background-size: 14px 14px;
  transition: padding-left 0.4s, background-position 0.4s, color 0.2s;
}

#menu li a:hover,
#menu li a.is-active {
  padding-left: 25px;
  color: var(--nav-hover);
  background-image: var(--menu-sword, url("../images-chrome/sword.svg"));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 14px 14px;
}

.menu-category,
#menu .menu-category {
  height: var(--menu-category-height);
  width: 100%;
  color: var(--heading-sand);
  border: 1px solid var(--border);
  background-color: var(--bg-panel);
  background-image: var(--chrome-header-bg);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: cover;
  float: none;
}

.menu-category .menu-text {
  font-family: var(--font-display);
  font-size: var(--font-size-menu-cat);
  font-weight: 700;
  padding: 8px 20px;
  text-align: left;
  line-height: 1.4;
}

/* Right sidebar widgets */
.go-widget {
  margin-bottom: 12px;
}

.go-widget .content-bg {
  padding: 10px 12px;
  margin-bottom: 0;
}

.go-widget .go-boosted {
  text-align: center;
}

.go-widget .go-boosted img {
  max-width: none;
  image-rendering: auto;
}

.go-login-form label {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.go-login-form input[type="text"],
.go-login-form input[type="password"] {
  width: 100%;
  margin-bottom: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 8px;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 12px;
}

.go-login-form .go-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 8px;
  background: #1e4d8c;
  border: 1px solid var(--border);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border-radius: 0;
}

.go-status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.go-status-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-row-top);
  color: var(--text);
  text-align: center;
}

.go-status-list .online {
  color: var(--accent-green);
}

.go-status-list .offline {
  color: var(--accent-red);
}
