.thank-you-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-out;
}

.thank-you-popup {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 0;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  animation: scaleIn 0.4s ease-out;
}

.thank-you-popup-content {
  padding: 30px 20px;
  text-align: center;
}

.thank-you-popup-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: #e2c7c8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ee1f25;
}

.thank-you-popup h2 {
  color: #333;
  margin: 0 0 15px;
  font-size: 24px;
}

.thank-you-popup p {
  color: #666;
  margin: 0 0 25px;
  line-height: 1.5;
}

.thank-you-popup-close {
  background-color: #ee1f25;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.thank-you-popup-close:hover {
  background-color: #ee1f25;
}

.submit-loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.submit-loader-svg {
  width: 24px;
  height: 24px;
  transform-origin: center;
  animation: rotate 1.5s linear infinite;
}

.submit-loader-circle {
  stroke: #ffffff;
  stroke-dasharray: 150;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}