html,
body {
  margin: 0;
  padding: 0;
}



.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(46, 125, 50);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;

  opacity: 80%;
}

.modal-box {
  background: transparent;
  padding: 25px 40px;
  border-radius: 12px;

  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #fff;
  font-weight: 600;

  text-align: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.topo {
  background-color: #2e7d32;
  width: 100%;
  height: 70px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  color: white;
  font-family: Arial;
  box-sizing: border-box;
}


.divisor {
  height: 40px;
  flex-shrink: 0;
}


.barra-esquerda {
  display: flex;
  align-items: center;
  margin-left: 40px;
}

.barra-esquerda i {
  font-size: 22px;
  cursor: pointer;
  color: white;
  margin-right: 20px;

}

.barra-esquerda img {

  flex-shrink: 0;
  margin-right: 20px;

}

.divisor {
  height: 40px;
  width: 1px;
  background-color: white;
  flex-shrink: 0;
}


.divisor {
  height: 40px;
  width: 1px;
  gap: 10px;
  background-color: white;
  align-self: center;
  flex-shrink: 0;
}



.texto-direita {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  margin-right: 77px;
  font-size: 14px;
}

.texto-direita .titulo {
  font-weight: bold;
}

.texto-direita .subtitulo {
  font-weight: normal;
  font-size: 13px;
}

/******************************************/
.div2 {
  width: 255px;
  height: calc(100vh - 70px);
  background: #f8f9fa;
  position: relative;
  top: 70px;
  left: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #dee2e6;
  box-sizing: border-box;
}

.menu-lateral {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}

.item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 30px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #212529;
  cursor: pointer;
  border-bottom: 1px solid #e9ecef;
  background: transparent;
  transition: background 0.2s ease;
}

.item:hover {
  background: #e9ecef;
}

.item i {
  width: 20px;
  font-size: 20px;
  color: #212529;
}

.item .fa-chevron-down {
  margin-left: auto;
  font-size: 16px;
  color: #6c757d;
}

/*******************************************/
.div3 {
  position: absolute;
  top: 87px;
  left: 255px;
  right: 0;
  bottom: 0;
  background: #ffffff;
  padding: 0 20px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  box-sizing: border-box;
}

.card-ipva {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 25px 35px;
  font-family: Arial, sans-serif;
  color: #212529;
  width: 100%;
  max-width: 1200px;
}

.card-ipva h2 {
  color: #2e7d32;
  Font-size: 32px;
  margin-left: -20px;
  margin-top: -10px;
  margin-bottom: 30px;
}

.form-linha {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.form-linha input {
  flex: 1;
  border: none;
  border-bottom: 1px solid #6c757d;
  font-size: 15px;
  padding: 6px;
  outline: none;
}

.botoes {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.botoes button {
  border: none;
  border-radius: 3px;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.pesquisar {
  background-color: #2e7d32;
  color: white;
}

.limpar {
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  color: black;
  border: 1px solid #ccc;
}

.pesquisar:hover {
  background-color: #256428;
}

.limpar:hover {
  background-color: #f1f1f1;
}

.info {
  font-size: 13px;
  color: #212529;
  margin-top: 10px;
  font-weight: BOLD;
  line-height: 1.5;
}


/******************************************/
@media (max-width: 768px) {
  .div3 {
    position: relative;
    top: 80px;
    left: 0;
    right: 0;
    bottom: auto;
    background: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .card-ipva {
    width: 100%;
    max-width: 360px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }

  .form-linha {
    flex-direction: column;
    gap: 18px;
  }

  .form-linha input {
    width: 100%;
  }

  .botoes {
    flex-direction: column;
    gap: 10px;
  }

  .botoes button {
    width: 100%;
  }


  .div2 {
    position: fixed;
    top: 70px;
    left: 0;
    height: calc(100vh - 70px);
    transform: translateX(-100%);
    z-index: 999;
  }

  .div2.ativo {
    transform: translateX(0);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }

  .topo {
    height: 60px;
    padding: 0 10px;
  }

  .barra-esquerda {
    margin-left: 0px;
    gap: 0px;
  }

  .barra-esquerda i {
    font-size: 18px;
  }

  .barra-esquerda img {
    height: 28px;
    margin-right: 8px;
  }

  .divisor {
    height: 28px;
    width: 1px;
    margin-right: 8px;
  }

  .texto-direita {
    flex-direction: row;
    align-items: center;
    margin-right: 8px;
    font-size: 12px;
    gap: 4px;

  }

  .texto-direita .titulo {
    font-weight: bold;
    font-size: 12px;
  }

  .texto-direita .subtitulo {
    font-size: 11px;
  }
}