/* BODY  */
  body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
  }

  h1 {
    text-align: center;
    color: #000;
    margin: 20px 0;
  }

  #panel {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 600px;
    margin: 8px auto 100px;
  }

  /* NAVBAR  */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0052A4;
    height: 56px;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .logo img {
    max-height: 40px;
  }

  .navbar a[role="button"] {
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #1976d2;
    border-radius: 25px;
    background-color: #fff;
    color: #1976d2;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
  }

  .navbar a[role="button"]:hover {
    background-color: #e3f2fd;
    color: #0d47a1;
    transform: scale(1.05);
  }

  /* INPUTS GLOBAIS */
  .global-inputs {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    padding: 15px;
    background-color: #e9f2fa;
    border-top: 2px solid #000000;
    border-radius: 12px 12px 0 0;
    position: fixed;
    bottom: 56px;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    z-index: 10;
  }

  .input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 120px;
    flex: 1;
  }

  .input-group label {
    font-weight: 500;
    font-size: 0.85em;
    color: #000000;
  }

  input[type="text"],
  input[type="number"],
  input[type="date"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
  }

  /* INFO CARD  */
  .info-card {
    background-color: #e9f2fa;
    padding: 20px 25px;
    border-radius: 8px;
    margin: 20px auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
  }

  .info-card h2, .info-card h3 {
    color: #1c5c93;
    text-align: center;
    margin: 10px 0;
  }

  .info-card p {
    margin: 10px 0;
    color: #333;
    text-align: justify;
  }

  /*  BLOCO PADRONIZADO */
  .bloco-cadastro {
    background-color: #f9fcff;         
    border: 1px solid #d0e3f5;         
    border-radius: 10px;             
    margin-top: 25px;
    padding: 15px;                   
    margin-bottom: 30px;              
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); 
  }

  
  .bloco-cadastro p,
  .bloco-cadastro h3 {
    color: #050505;
  }

  .bloco-cadastro input,
  .bloco-cadastro select {
    width: 100%;
    padding: 8px;
    margin-top: 3px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .bloco-cadastro button {
    background-color: #fff;
    color: #0d6efd;
    border: 1px solid #0d6efd;
    padding: 6px 10px;
    margin-right: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
  }

  .bloco-cadastro button:hover {
    background-color: #0b5ed7;
    color: #fff;
  }

  /* BOTÕES  */
  .button-row, .btn-reset {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    flex-wrap: wrap;
  }

  .button-row button {
    background-color: #0052A4;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .button-row button:hover {
    background-color: #003d7a;
  }

  .button-row button:active {
    transform: scale(0.98);
  }

  .btn-reset {
    background-color: #0052A4;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-block;
    margin: -5px auto 0;
    text-align: center;
  }

  span[class^="result-"] {
    font-weight: bold;
    font-size: 0.9em;
    color: #d8260f;
    min-height: 1.2em;
    text-align: center;
  }

  /* FOOTER */
  footer {
    font-family: "Inter", sans-serif;
    color: #FFFFFF;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0052A4;
    height: 56px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
  }


.button-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.button-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.button-col button {
  background-color: #0052A4;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button-col button:hover {
  background-color: #003d7a;
}

.result-km,
.result-date {
  font-weight: bold;
  font-size: 0.9em;
  color: #d8260f;
  margin-top: 6px;
  min-height: 1.2em;
  text-align: center;
}

/*  GERAL  */
.banner-lateral, .banner-rodape {
  position: fixed;
  background: #fff;
  border: 2px solid #ccc;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.banner-lateral img, .banner-rodape img {
  display: block;
  width: 100%;
  height: auto;
}

/* Botão fechar */
.fechar {
  position: absolute;
  top: 2px;
  right: 5px;
  cursor: pointer;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 0 5px;
  font-size: 14px;
  border-radius: 3px;
}

/* LATERAIS DESKTOP */
.banner-esquerda {
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 160px;
  animation: slideInLeft 0.5s ease;
}

.banner-direita {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 160px;
  animation: slideInRight 0.5s ease;
}

/*  RODAPÉ DESKTOP */
.banner-rodape {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 728px;
  animation: slideUp 0.5s ease;
}



    @media (max-width: 768px) {
  .banner-esquerda, .banner-direita {
    width: 120px;
  }
  .banner-rodape {
    width: 300px;
  }
}

/*  ANIMAÇÕES */
@keyframes slideInLeft {
  from { left: -200px; opacity: 0; }
  to { left: 10px; opacity: 1; }
}

@keyframes slideInRight {
  from { right: -200px; opacity: 0; }
  to { right: 10px; opacity: 1; }
}

@keyframes slideUp {
  from { bottom: -150px; opacity: 0; }
  to { bottom: 10px; opacity: 1; }
}
    .item-header { text-align: left; }