#successModal .modal-dialog {
  margin: 2rem auto 0 auto;
  max-width: 400px;
}

#successModal .modal-content {
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  padding: 1.5rem 1rem;
}

#successModal .modal-body h5 {
  margin-top: 1rem;
  font-size: 1.1rem;
}

#successModal .modal-body p {
  font-size: 0.95rem;
  margin: 0.5rem 0 1rem 0;
}

.circle-loader {
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-left-color: #5cb85c;
  animation: loader-spin 1.2s linear infinite;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  position: relative;
}

.circle-loader.load-complete {
  animation: none;
  border-color: #5cb85c;
}

.checkmark {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 60px;
  border-right: 5px solid #5cb85c;
  border-top: 5px solid #5cb85c;
  transform: translate(-50%, -50%) scaleX(-1) rotate(135deg);
  opacity: 0;
}

.checkmark.draw {
  display: block;
  animation: checkmark-draw 0.8s ease forwards;
}

@keyframes loader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes checkmark-draw {
  0% {
    height: 0;
    width: 0;
    opacity: 1;
  }
  20% {
    height: 0;
    width: 30px;
    opacity: 1;
  }
  40% {
    height: 60px;
    width: 30px;
    opacity: 1;
  }
  100% {
    height: 60px;
    width: 30px;
    opacity: 1;
  }
}
