/* IDENTIDADE VISUAL PONTO ONLINE */
:root {
  --po-azul: #018cf3;
  --po-marinho: #101733;
  --po-texto: #263247;
}

/* MENU LATERAL */
.wy-nav-side {
  background: var(--po-marinho);
}

.wy-side-nav-search {
  background: var(--po-marinho);
  padding: 22px 14px;
}

.wy-side-nav-search > a {
  font-size: 19px;
  font-weight: 700;
}

.wy-side-nav-search input[type="text"] {
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: none;
}

/* CATEGORIAS */
.wy-menu-vertical p.caption {
  color: #71c6ff;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.wy-menu-vertical a {
  transition: background-color 0.2s ease;
}

.wy-menu-vertical a:hover {
  background: #1e3158;
}

/* AREA DO CONTEUDO */
.wy-nav-content-wrap {
  background: #f5f7fb;
}

.wy-nav-content {
  max-width: 1100px;
  background: #ffffff;
  padding: 35px 45px;
}

/* TEXTOS E TITULOS */
.rst-content {
  color: var(--po-texto);
  line-height: 1.75;
}

.rst-content h1,
.rst-content h2,
.rst-content h3 {
  color: var(--po-marinho);
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 700;
}

/* LINKS */
.rst-content a {
  color: var(--po-azul);
}

/* IMAGENS DO MANUAL */
.rst-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e5eaf1;
}

/* BOTOES DE NAVEGACAO */
.rst-footer-buttons .btn {
  border-radius: 6px;
}

/* ADAPTACAO PARA CELULARES */
@media screen and (max-width: 768px) {
  .wy-nav-content {
    padding: 22px 18px;
  }
}

/* LOGOMARCA PONTO ONLINE */
.wy-side-nav-search a img.logo {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 12px;
    object-fit: contain;
}


/* RODAPE DO MANUAL PONTO ONLINE */

.rst-content footer {
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid #e5eaf1;
}

.rst-content footer div[role="contentinfo"] {
    font-size: 13px;
    color: #64748b;
}

.rst-content footer div[role="contentinfo"] p {
    margin-bottom: 8px;
    line-height: 1.6;
}


/* CAIXAS INFORMATIVAS PONTO ONLINE */

.rst-content .admonition {
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    box-shadow: none;
    border-left: 4px solid;
}

.rst-content .admonition-title {
    font-weight: 700;
    font-size: 15px;
}

/* INFORMACAO */
.rst-content .admonition.note {
    background: #eef7ff;
    border-left-color: #018cf3;
}

.rst-content .admonition.note .admonition-title {
    background: transparent;
    color: #101733;
}

/* ATENCAO */
.rst-content .admonition.warning {
    background: #fff8e8;
    border-left-color: #d97706;
}

.rst-content .admonition.warning .admonition-title {
    background: transparent;
    color: #92400e;
}

/* DICA */
.rst-content .admonition.tip {
    background: #edf9f2;
    border-left-color: #059669;
}

.rst-content .admonition.tip .admonition-title {
    background: transparent;
    color: #065f46;
}

/* ===== MENU LATERAL - AJUSTE VISUAL MAIS LIMPO ===== */

/* fundo geral do menu */
.wy-nav-side {
    background: #101733 !important;
}

/* títulos de seção */
.wy-menu-vertical p.caption,
.wy-menu-vertical p.caption-text {
    color: #27b0ff !important;
    font-weight: 700;
    text-transform: uppercase;
}

/* links normais */
.wy-menu-vertical a {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
}

/* hover dos links */
.wy-menu-vertical a:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}

/* item/página aberta */
.wy-menu-vertical li.current > a {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    font-weight: 600;
}

/* área do submenu aberto */
.wy-menu-vertical li.current ul {
    background: transparent !important;
    padding: 6px 0 !important;
}

/* links dentro do submenu */
.wy-menu-vertical li.current ul li a {
    background: transparent !important;
    color: #d9e6ff !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    padding-left: 24px !important;
}

/* hover nos subitens */
.wy-menu-vertical li.current ul li a:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}

/* subitem ativo */
.wy-menu-vertical li.current ul li.current a {
    background: rgba(1, 140, 243, 0.14) !important;
    color: #ffffff !important;
    border-left: 3px solid #018cf3 !important;
    font-weight: 700;
}

/* remove blocos estranhos/brancos/cinzas do tema */
.wy-menu-vertical li.current {
    background: transparent !important;
}

.wy-menu-vertical li.toctree-l1.current,
.wy-menu-vertical li.toctree-l2.current,
.wy-menu-vertical li.toctree-l3.current {
    background: transparent !important;
}

/* REMOVER FUNDO AO PASSAR O MOUSE NA LOGO */
.wy-side-nav-search > a,
.wy-side-nav-search > a:hover,
.wy-side-nav-search > a:focus,
.wy-side-nav-search > a:active {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* PERSONALIZAR O ITEM ATIVO DO MENU */

.wy-menu-vertical li.current > a {
    background: #1b2748 !important;
    color: #ffffff !important;
    border-left: 3px solid #018cf3 !important;
    border-top: none !important;
    border-bottom: none !important;
    font-weight: 600;
}

.wy-menu-vertical li.current > a:hover {
    background: #243458 !important;
    color: #ffffff !important;
}

/* Fundo único em toda a área de conteúdo */
html, body,
.wy-body-for-nav,
.wy-grid-for-nav,
.wy-nav-content-wrap,
.wy-nav-content {
    background: #f3f4f6 !important;
}