/* Styles for redirect-popup */

.redirect-modal {
  width: 100%;
  max-width: 400px;
  border: none;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: center;
  background: #181818;
  border-bottom: 4px solid #222222;
  color: white;
  position: relative;
  overflow: hidden;
  position: fixed;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.modal-footer .low-box .left,
.modal-footer .low-box .right,
.modal-footer .low-box .front,
.modal-footer .low-box .back {
  background: linear-gradient(rgb(21, 21, 25), #007bff);
  filter: drop-shadow(
    0 0 15px color-mix(in srgb, #007bff 80%, transparent)
  ) !important;
  left: 0;
}

.btn {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-primary {
  background: #007bff;
  color: white;
  border: none;
  display: none;
}

.btn-secondary {
  background: #6c757d;
  color: white;
  border: none;
  display: none;
}

@keyframes fillProgress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.modal-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: blue;
}

.modal-content.active::after {
  animation: fillProgress linear 5s forwards;
}
