.div-flutuante {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(145deg, #e6f4e6, #cde9cd); 
  border-radius: 20px; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); 
  padding: 18px 22px;
  width: 300px;
  font-family: "Arial", sans-serif;
  transition: all 0.35s ease; 
  z-index: 1000;
  overflow: hidden;
}

#toggleBtn {
  background-color: #4caf50; 
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 28px;
  cursor: pointer;
  position: absolute;
  top: -25px;
  right: -25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

#toggleBtn:hover {
  transform: scale(1.1);
  background-color: #3e8e41;
}

#conteudoFlutuante {
  margin-top: 10px;
  animation: fadeIn 0.3s ease;
}

#valorMaxContainer {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

#valorMaxContainer label {
  font-size: 14px;
  color: #333;
  margin-bottom: 5px;
}

#valorMax {
  padding: 8px 12px;
  border: 1px solid #a0d9a0;
  border-radius: 8px;
  font-size: 16px;
  color: #333;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#valorMax:focus {
  border-color: #4caf50;
  box-shadow: 0 0 6px rgba(76, 175, 80, 0.3);
}

#editarValorBtn {
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: background-color 0.2s;
}

#editarValorBtn:hover {
  background-color: #3e8e41;
}

.div-flutuante p {
  font-size: 14px;
  margin: 4px 0;
  color: #333;
}

.div-flutuante span {
  font-weight: bold;
  color: #4caf50;
  font-size: 16px;
}

.div-flutuante i.material-icons {
  vertical-align: middle;
  margin-right: 5px;
  color: #4caf50;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
