.container-download {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.label-download {
  background-color: transparent;
  border: 2px solid rgb(201, 201, 208);
  display: flex;
  align-items: center;
  border-radius: 25px;
  width: 160px;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 5px;
  position: relative;
}

.label-download .input-download {
  display: none;
}

.label-download .title {
  font-size: 17px;
  color: #c9c9c9;
  transition: all 0.4s ease;
  position: absolute;
  right: 29px;
  bottom: 1px;
  text-align: center;
}

.label-download .title:last-child {
  opacity: 0;
  visibility: hidden;
}

.label-download .circle {
  height: 45px;
  width: 45px;
  border-radius: 50%;
  background-color: rgb(201, 201, 208);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 0 0 0 rgb(255, 255, 255);
  overflow: hidden;
}

.label-download .circle .icon {
  color: #fff;
  width: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.label-download .circle .square {
  aspect-ratio: 1;
  width: 15px;
  border-radius: px;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.label-download .circle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: #2ec262;
  width: 100%;
  height: 0;
  transition: all 0.4s ease;
}

.label-download:has(.input-download:checked) {
  width: 45px;
  animation: installed 0.4s ease 3.5s forwards;
}

.label-download:has(.input-download:checked)::before {
  animation: rotate 3s ease-in-out 0.4s forwards;
}

.label-download .input-download:checked + .circle {
  animation: pulse 1s forwards, circleDelete 0.2s ease 3.5s forwards;
  rotate: 180deg;
}

.label-download .input-download:checked + .circle::before {
  animation: installing 3s ease-in-out forwards;
}

.label-download .input-download:checked + .circle .icon {
  opacity: 0;
  visibility: hidden;
}

.label-download .input-download:checked ~ .circle .square {
  opacity: 1;
  visibility: visible;
}

.label-download .input-download:checked ~ .title {
  opacity: 0;
  visibility: hidden;
}

.label-download .input-download:checked ~ .title:last-child {
  animation: showInstalledMessage 0.4s ease 3.5s forwards;
}

@keyframes pulse {
  0% {
    scale: 0.95;
    box-shadow: 0 0 0 0 rgba(51, 251, 32, 0.7);
  }
  70% {
    scale: 1;
    box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
  }
  100% {
    scale: 0.95;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes installing {
  from {
    height: 0;
  }
  to {
    height: 100%;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(-90deg) translate(27px) rotate(0);
    opacity: 1;
    visibility: visible;
  }
  99% {
    transform: rotate(270deg) translate(27px) rotate(270deg);
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes installed {
  100% {
    width: 150px;
    border-color: rgb(35, 174, 35);
  }
}

@keyframes circleDelete {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes showInstalledMessage {
  100% {
    opacity: 1;
    visibility: visible;
    right: 56px;
  }
}
.botoes-container {
  display: flex;
  justify-content: flex-start; /* ou center, se quiser centralizado */
  align-items: center;
  gap: 10px; /* espaço entre os botões */
  margin-top: 20px; /* margem superior opcional */
}
