:root {
  --primary-color: #F0EFEB;
  --secondary-color: #2A9D8F;
  --accent-color: #F4A261;
  --dark-gray: #333333;
  --light-gray: #E0E0E0;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 10px;
  --container-max-width: 400px;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--primary-color);
  margin: 0;
  padding: 0;
}

.thank-you-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: rgba(42, 157, 143, 0.1);
}

.thank-you-content {
  background-color: #ffffff;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  max-width: var(--container-max-width);
  width: 90%;
}

.check-mark {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
}

.check-mark svg {
  width: 100%;
  height: 100%;
}

.check-mark svg circle {
  stroke: var(--secondary-color);
  stroke-width: 4;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  fill: none;
  animation: draw 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.check-mark svg path {
  stroke: var(--secondary-color);
  stroke-width: 4;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  fill: none;
  animation: draw 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.thank-you-content h1 {
  color: var(--dark-gray);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thank-you-content p {
  color: var(--light-gray);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.back-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.back-button:hover {
  background-color: var(--accent-color);
}

@media (max-width: 480px) {
  .thank-you-content {
    padding: 2rem;
  }

  .thank-you-content h1 {
    font-size: 2rem;
  }

  .thank-you-content p {
    font-size: 1rem;
  }
}
