body {
    font-family: "Noto Sans", serif;
    font-optical-sizing: auto;
    font-variation-settings: "width" 100;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    -webkit-tap-highlight-color: transparent;
}

#body-container {
    display: flex;
    flex-direction: row;
    justify-content: left;
}

#menu {
    height: 100%;
    width: 30%;
    max-width: 300px;
    min-width: 200px;
    justify-content: left;
    background: #ffffff;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.menu-title {
    font-size: 10px;
    color: #030303;
    margin: 10px 0;
    text-align: center;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 2px;
    text-decoration: none;
    color: #030303;
    font-size: 15px;
    margin: 0px 0;
    transition: background-color 0.2s ease;
}

.menu-item.active {
    background-color: #ebebeb;
    font-weight: bold;
}

.menu-item:hover {
    background-color: #bbbbbb;
}

hr {
    border: 0;
    height: 1px;
    background-color: #ccc;
    margin: 10px;
}

p {
    margin: 5px 0;
    color: #555;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    margin: 10px;
}

#banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    margin-top: 10px;
    height: fit-content;
}

i {
    width: 25px;
    font-size: 20px;
    color: #013d86;
    margin: 15px;
    transition: ease-in-out 0.2s;
    justify-self: center;
}

i:hover {
    color: #8cadd6;
}

#banner img {
    color: #ffffff;
    width: auto;
    height: 50px;
    text-align: center;
}

#body-content-container {
    display: flex;
    flex-direction: column;
    justify-content: left;
    width: 100%;
}

button {
    padding: 10px;
    background-color: #013D86;
    color: white;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: ease 0.3s;
}
#btn_media{
    width: fit-content;
    margin: 20px;
}

button:hover {
    background-color: #8cadd6;
}

#page-content-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: 80vh;
    padding: 10px;
    background: #ecf3f8;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    overflow-y: auto;
}
#index-content{
    display: flex;
    align-content: space-around;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    margin: 10px;
}
#index-content img{
    width: 50%;
    max-width: 300px;
    margin-top: 50px;
}

.card {
    flex-grow: 1;
    flex-basis: 300px;
    max-width: 300px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    height: max-content;
    box-sizing: border-box;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 1.2em;
    color: #333;
}

.card p {
    margin: 5px 0;
    color: #555;
}

.card .status {
    font-weight: bold;
    color: #007BFF;
}

#logo_vertical {
    max-width: 100px;
    height: auto;
    margin: 0 auto;
    display: block;
    padding: 10px;
}

.login-container {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.login-container button:hover {
    background-color: #0056b3;
}

#content-head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: #ddd;
    width: auto;
}
#content-head span{
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

#divTotalBotijoes {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

}

.totalBotijoesInfo {
    padding: 5px;
}

#forms-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: left;

}

#cheios-container,
#vazios-container {
    display: flex;
    flex-grow: 1;
    flex-basis: 300px;
    max-width: 300px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: fit-content;
    width: fit-content;
    margin: 10px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: #ddd;
}

.cheios-labels,
.vazios-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    width: 100%;
    padding: 10px;
}

#calc-inputs-container,
#contact-info-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr 2fr);
    grid-gap: 10px;
    max-width: 90%;
    justify-content: left;
    align-items: left;
    margin: 10px 10px 30px 10px;
}
#calc-forms-container{
    display: block;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 10px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: #ddd;
    padding: 10px;
}

#calc-results-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    grid-gap: 5px;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    margin: 5px;
}

#result-box{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    width: 45%;
    padding: 10px;
}
#result-labels{
    display: flex;
    flex-direction: column;
    align-items: end;
    padding: 5px;
    width: 90%;
    padding: 10px;
}

#result-values{
    display: flex;
    flex-direction: column;
    justify-items: left;
    align-items: start;
    width: 90%;
    padding: 10px;
    
}
#result-text-valorTotal {
    font-weight: bold;
    color: #ffffff;
    background-color: #ff2600;
    border-radius: 10px;
    padding-inline: 10px;
}

#result-map{
    width: 50%;
}

#gaiolaAtual{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    width: 90%;
    padding: 10px;
}
#graficoGaiolaAtual{
    display: block;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    min-width: 250px;
    max-width: 45%;
    gap: 10px;
    margin: 20px;
}
#gaiolaAtualInfo{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    width: 50%;
    min-width: 250px;
    max-width: 45%;
    gap: 10px;
}
#hist-grafico-gaiolas{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    min-width: 300px;
    max-width: 100%;
    gap: 20px;
    padding: 10px;
    margin: 10px;
}

/* Popup container */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup img{
    width: 50px;
    height: auto;
    margin: 0 auto;
    display: block;
    padding: 10px;
}

/* Esconde o popup */
.popup.hidden {
    display: none;
}

/* Conteúdo do popup */
.popup-content {
    position: relative;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 300px;
}

/* Botão de fechar */
.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
    outline: none;
}

.popup-close:hover {
    color: #ff0000;
}

#map {
    height: 100vh; /* Altura do mapa ocupa toda a tela */
    width: 100%;   /* Largura do mapa ocupa toda a tela */
}

#result-map{
    height: 50vh; /* Altura do mapa ocupa toda a tela */
    width: 45%;   /* Largura do mapa ocupa toda a tela */
    margin: 10px;
}

#mapa_clientes{
    height: 100vh; /* Altura do mapa ocupa toda a tela */
    width: 95%;   /* Largura do mapa ocupa toda a tela */
    margin: 10px;
}

#consultas-table-header{
    display: grid;
    grid-template-columns: repeat(1, 1fr 1fr 1fr 3fr 1fr 1fr 1fr);
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    max-width: 100%;
    font-weight: bold;
    background: #c5d2e2;
    border-radius: 5px;
}
#consulta-item{
    display: grid;
    grid-template-columns: repeat(1, 1fr 1fr 1fr 3fr 1fr 1fr 1fr);
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    max-width: 100%;
    font-size: 12px;
}