.capaToast {
  position: fixed;
  top: 25px;
  right: 30px;
  border-radius: 12px;
  background: #fff;
  padding: 20px 35px 20px 25px;
  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform: translateX(calc(100% + 30px));
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
}

.capaToast.active {
  transform: translateX(0%);
}

.capaToast .capaToast-content {
  display: flex;
  align-items: center;
}

.capaToast-content .error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  min-width: 35px;
  background-color: #ee1c1c;
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
}

.capaToast-content .success {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  min-width: 35px;
  background-color: #1cee2e;
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
}

.capaToast-content .message {
  display: flex;
  flex-direction: column;
  margin: 0 20px;
}

.message .text {
  font-size: 16px;
  font-weight: 400;
  color: #666666;
}

.message .text.text-1 {
  font-weight: 600;
  color: #333;
}

.capaToast .close {
  position: absolute;
  top: 10px;
  right: 15px;
  padding: 5px;
  cursor: pointer;
  opacity: 0.7;
}

.capaToast .close:hover {
  opacity: 1;
}

.capaToast .progressToast {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;

}

.capaToast .progressToast.error:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-color: #ee1c1c;
}
.capaToast .progressToast.success:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-color: #1cee2e;
}

.progressToast.active:before {
  animation: progressToast 5s linear forwards;
}

@keyframes progressToast {
  100% {
    right: 100%;
  }
}
.capaToast.active ~ button {
  pointer-events: none;
}
