body{
    color: #222;
    background:#f5f7f9;
    margin:20px;
    font-family:Arial, Helvetica, sans-serif;
}

/* ===== MENU INTELIGENTE ===== */
.navbar{
    background: #2e7d32;
    display:flex;
    justify-content: center; /* CENTRALIZA MENU */
    padding: 15px 20px;
    position: relative;
    box-shadow:0 2px 5px rgba(0,0,0,0.2);
}

.navbar ul{
    display:flex;
    gap:20px;
    list-style:none;
    margin:0;
    padding:0;
    background:none;
    white-space:nowrap;
}

.navbar ul li a{
    color:white;
    text-decoration:none;
    font-weight:500;
}

.navbar ul li a:hover{
    color:black;
    font-weight:bold;
}

.menu-toggle{
    display:none;
    font-size:26px;
    color:white;
    cursor:pointer;
}

/* Estilo para gráficos de pizza */
#graficoTipos {
    max-width: 100%;
    height: 400px !important;
    margin: 0 auto;
    display: block;
    cursor: pointer;
}

/* espaço padrão abaixo do menu */
.container{
    padding: 30px 30px 0px 30px;
}

/* ===== HEADER ===== */
header img{
    border-radius: 50%;
    border:3px solid #2e7d32;
    width: 150px;
    height:150px;
}

.center{
    text-align: center;
}

h1{
    color: black;
    text-align: center;
}

/* ===== H3 PADRÃO ===== */
h3{
    text-align: center;
    white-space: pre-wrap;
    color: #4b5563;
    margin:0;
}

/* ===== BLOCO DE TEXTO CENTRALIZADO ===== */
.texto-container {
    max-width: 500px;      /* largura máxima do bloco */
    margin: 0 auto;         /* centraliza horizontalmente */
    padding: 20px;          /* espaço interno */
    text-align: right;       /* alinhamento do texto */
}

@media (max-width: 900px) {
    .texto-container {
        padding: 15px;
    }
}

@media (max-width: 600px) {
    .texto-container {
        max-width: 100%;
        padding: 5px;
    }
}

/* ===== RESPONSIVO INTELIGENTE ===== */
@media (max-width: 400px){
    .navbar{
        justify-content: space-between; /* volta para hamburguer */
    }

    .menu-toggle{
        display:block;
    }

    .navbar ul{
        display:none;
        flex-direction: column;
        background: #2e7d32;
        position:absolute;
        top:60px;
        right:20px;
        left:20px;
        border-radius:8px;
        padding:15px 0;
        box-shadow:0 4px 10px rgba(0,0,0,0.2);
    }

    .navbar ul.active{
        display:flex;
    }

    .navbar ul li{
        text-align:center;
        padding:10px 0;
    }
}

/* ===== RODAPÉ COMPACTO CORRIGIDO ===== */
.footer {
    background: #1f2937;
    color: #fff;
    margin-top: 20px;
    padding: 25px 0 10px 0; /* mais espaço para ícones */
    font-size: 13px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: auto;
    flex-wrap: wrap;
    padding: 10px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    margin: 10px 5px;
    text-align: center; /* CENTRALIZA TUDO */
}

.footer-col h3 {
    margin-bottom: 8px;
    font-size: 15px;
    border-bottom: 2px solid #22c55e;
    display: inline-block;
    padding-bottom: 3px;
    color: white;
}

.footer-col p {
    font-size: 12px;
    line-height: 1.4;
    color: #d1d5db;
    margin: 2px 0; /* remove espaçamento extra */
}

/* Ícones sociais */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px; /* espaçamento entre ícones */
    margin-bottom: 10px;
}

.footer-social img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #22c55e;
    transition: 0.3s;
    text-decoration: none;
}

.footer-social img:hover {
    transform: scale(1.1);
}

/* Rodapé inferior */
.footer-bottom {
    background: #111827;
    text-align: center;
    padding: 8px;
    font-size: 11px;
    margin-top: 10px;
    color: #d1d5db;
}

/* RESPONSIVO RODAPÉ */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Labels que são estilo botão (upload, etc) */
label.btn-label {
    display: inline-block;
    width: auto;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.9em;
    border: 2px solid #34A853;
    border-radius: 24px;
    background-color: white;
    color: #34A853; 
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
body{
    font-family: Arial, Helvetica, sans-serif;
    background:#f5f7f9;
    color: #222;
    margin:20px;
    padding:0;
}

/* apenas filtros avançados (quando usados) */
.filtros-container {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}


.veiculos-page {
    display: flex;
    justify-content: center;
    padding-bottom: 40px;
}

.veiculos-card {
    width: min(1100px, 100%);
    background: white;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.veiculos-lead {
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

.veiculos-chart {
    margin: 0;
    text-align: center;
}

.veiculos-chart img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid #d1d5db;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.veiculos-chart figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: #4b5563;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    body {
        margin: 12px;
    }

    .cards {
        position: static;
        text-align: center;        
    }
}
.navbar-logo-img {
    width: 70px;       /* Define uma largura fixa */
    height: auto;     /* Mantém a proporção */
    margin: 5px;      /* Espaçamento ao redor */
    border-radius: 80%; /* Deixa a imagem circular */
}
#login {
    background: white;
    border-radius: 8px;   
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 400px;
    margin: 100px auto; /* centraliza verticalmente e horizontalmente */
}
    .logo-topo img {
      width: 220px;
      height: 50px;
      object-fit: cover;
      object-position: center;
      border-radius: 5px;
      display: block;
      margin: 10px auto;
    }
        #conteudo {
      background: #fff;
      border-radius: 12px;
      padding: 16px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      display: block;
    }