.form-login-manutencao, .form-altera-servidor, .form-avaliacao{
    padding-top: 25px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 500;
}
.form-login-manutencao{
    width: 420px;
}
.form-altera-servidor{
    width: 580px;
}
.form-avaliacao{
    width: 60%;
}
h3{
    font-weight: 700;
    color: rgb(32, 32, 32);
}
.div-input{
    width: 90%;
    color: black;
}
.div-inputs-avaliacao{
    width: 98%;
    margin: 0 auto;
    display: flex;
}
.div-input-avaliacao{
    width: 45%;
}
.div-submit{
    width: 90%;
    text-align: center;
    margin: 25px auto;
}
.div-submit button{
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}
.div-input select{
    width: 100%;
    border-radius: 3px;
    border: 1px solid #ced4da;
    padding: 3px;
}
.divTotal{
   display: flex;
   background-color: #fff;
   align-items: center;
   justify-content: center;
}
.header-inner {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 60%;
   max-width: 700px;
   margin: 0 auto;
   gap: 16px;
}
.divLink{
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
}
.logoManutencao{
    width: 100%;
    max-width: 280px;
}
.linkMnutencao{
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 1;
}
.header-titulo {
    min-width: 0;
    flex: 1;
    text-align: center;
}
.header-titulo-principal {
    font-size: 1.3rem;
    margin: 0;
}
.header-subtitulo {
    font-size: 0.95rem;
    margin: 0;
}
.alert{
    margin: 0 auto;
    width: 60%;
}
.divLegendaGrafico{
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 14px;
}
.divTotalAvaliacoes{
    display: flex;
    align-items: center;
    justify-content: end;
    font-size: 14px;
}
.formBuscaServidores{
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 1rem;
    margin-bottom: 2rem;
}
.formEditarOrgao{
    padding-top: 25px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 500;
    width: 820px;
}
.formEditarPeriodo{
    padding-top: 25px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 500;
    width: 820px;
}
.btnSalvarOrgao{
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}
.divComponenteForm{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.badge-ativo{
    font-size: 0.95rem !important;
}
@media (max-width: 796px) {
    .div-inputs-avaliacao{
        display: block;
    }
    .div-input-avaliacao{
        width: 90%;
    }
    .form-avaliacao{
        width: 94%;
    }

    /* Header responsivo */
    .divTotal {
        padding: 10px;
    }
    .header-inner {
        flex-direction: column;
        width: 90%;
        gap: 6px;
    }
    .logoManutencao {
        max-width: 140px;
    }
    .header-titulo {
        width: 100%;
    }
    .header-titulo-principal {
        font-size: 1rem;
    }
    .header-subtitulo {
        font-size: 0.8rem;
    }

    /* Forms com largura fixa */
    .form-login-manutencao {
        width: 95% !important;
        max-width: 420px;
    }
    .form-altera-servidor {
        width: 95% !important;
        max-width: 580px;
    }
    .formEditarOrgao,
    .formEditarPeriodo {
        width: 95% !important;
        max-width: 820px;
    }

    /* Sidebar em mobile — colapsa como menu */
    .sidenav-toggle {
        display: block !important;
    }
    .sidenav {
        width: 100%;
        height: auto;
        position: relative;
        padding-top: 0;
        flex-direction: column;
        display: none;
        border-bottom: 2px solid #e9ecef;
    }
    .sidenav.sidenav-open {
        display: flex;
    }
    .sidenav a, .dropdown-btn {
        font-size: 15px;
        padding: 10px 16px;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    .dropdown-container {
        padding-left: 20px;
    }
    .main {
        margin-left: 0;
        padding: 0 8px;
    }
    .manutencao-content {
        margin-left: 0 !important;
    }

    /* Filtro de busca de servidores */
    .formBuscaServidores {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .formFiltroCriarAvaliacao {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .divSelectFiltroAvaliacao {
        width: 100%;
    }
    .selectAvaliacao {
        width: 100%;
    }
    .cardCriarAvaliacao {
        min-width: 100%;
    }

    /* Tabelas responsivas */
    .divLegendaGrafico {
        flex-direction: column;
        gap: 4px;
    }
    .divTotalAvaliacoes {
        justify-content: center;
    }

    /* Seção de gráfico do manutencao index */
    .sectionGrafico {
        width: 100% !important;
    }

    /* Tabelas de listagem */
    table {
        font-size: 13px;
    }
    table th, table td {
        padding: 6px 8px !important;
    }
}

.sidenav {
    height: 100%;
    width: 200px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #ffffff;
    overflow-x: hidden;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    padding-top: 95px;
  }
  .btnLogout{
    padding: 0;
    text-decoration: none;
    font-size: 20px;
    color: #ff0000;
    display: block;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
  }
  .divErros{
    position: fixed;
    top:8rem;
    right:1rem;
  }
  .divSelectFiltroAvaliacao{
    width: 20%;
  }
  .selectAvaliacao{
    width: 100%;
  }
  .formFiltroCriarAvaliacao{
    display: flex;
    justify-content: space-evenly;
    align-items: end;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .cardCriarAvaliacao{
    min-width: 50%
  }
  /* Style the sidenav links and the dropdown button */
  .sidenav a, .dropdown-btn {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 20px;
    color: #636b6f;
    display: block;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
  }
  
  /* On mouse-over */
  .sidenav a:hover, .dropdown-btn:hover {
    color: #5d8dfd;
  }

  
  /* Main content */
  .main {
    margin-left: 200px; /* Same as the width of the sidenav */
    font-size: 20px; /* Increased text to enable scrolling */
    padding: 0px 10px;
  }
  
  /* Add an active class to the active dropdown button */
  .active {
    background-color: #ffffff;
    color: #5d8dfd;
  }
  
  /* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
  .dropdown-container {
    display: none;
    background-color: #ffffff;
    padding-left: 8px;
  }
  
  /* Optional: Style the caret down icon */
  .fa-caret-down {
    float: right;
    padding-right: 8px;
  }
  .form-check-input:checked{
    background-color: green;
    border-color: green;
  }

  /* Sidebar content offset (desktop) */
  .manutencao-content {
    margin-left: 200px;
  }

  /* Hamburger toggle para sidebar mobile */
  .sidenav-toggle {
    display: none;
    width: 100%;
    padding: 10px 16px;
    background: #fff;
    border: none;
    border-bottom: 1px solid #e9ecef;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    text-align: left;
  }
  .sidenav-toggle i {
    margin-right: 6px;
  }


