:root {
  --primary-color: #eb3505;
  --primary-dark: #d43004;
  --secondary-color: #1e293b;
  --success-color: #10b981;
  --text-color: #475569;
  --border-color: #e2e8f0;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Thank You Modal */
.thank-you-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.thank-you-modal.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.thank-you-content {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 450px;
  padding: 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.thank-you-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  padding: 40px 20px;
  text-align: center;
  position: relative;
}

.success-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border: 3px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--white);
  margin: 0 auto 16px;
  animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.thank-you-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 8px;
}

.thank-you-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.thank-you-body {
  padding: 32px 24px;
  text-align: center;
}

.thank-you-message {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 24px;
}

.thank-you-footer {
  padding: 20px 24px;
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
}

.btn-thank-you {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-continue {
  background: var(--primary-color);
  color: var(--white);
}

.btn-continue:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-close-modal {
  background: var(--white);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-close-modal:hover {
  background: var(--bg-light);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 480px) {
  .thank-you-content {
    max-width: 100%;
    border-radius: 12px;
  }

  .thank-you-header {
    padding: 32px 16px;
  }

  .success-icon {
    width: 60px;
    height: 60px;
    font-size: 32px;
  }

  .thank-you-title {
    font-size: 20px;
  }

  .thank-you-body {
    padding: 24px 16px;
  }

  .thank-you-footer {
    flex-direction: column;
  }

  .btn-thank-you {
    width: 100%;
  }
}
