/* Registration Success Page Styles */

.snapit-registration-success {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.snapit-success-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.snapit-success-container {
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 700px;
  width: 100%;
  padding: 60px 40px;
  text-align: center;
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Success Icon Animation */
.snapit-success-icon {
  margin: 0 auto 30px;
  width: 120px;
  height: 120px;
}

.checkmark {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: #10b981;
  stroke-miterlimit: 10;
  box-shadow: inset 0 0 0 #10b981;
  animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: #10b981;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0 0 0 60px #10b981;
  }
}

/* Content Styles */
.snapit-success-content {
  animation: fadeIn 0.6s ease-out 0.3s both;
}

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

.snapit-success-title {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 10px;
  line-height: 1.2;
}

.snapit-success-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin: 0 0 30px;
}

.snapit-success-info {
  background: #f0fdf4;
  border: 2px solid #10b981;
  border-radius: 12px;
  padding: 20px;
  margin: 0 0 40px;
}

.snapit-success-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color: #065f46;
  font-size: 15px;
  line-height: 1.6;
}

.snapit-success-info-item svg {
  flex-shrink: 0;
  color: #10b981;
}

/* Steps Section */
.snapit-success-steps {
  margin: 0 0 40px;
}

.snapit-success-steps h2 {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 24px;
}

.snapit-success-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.snapit-step-card {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 16px;
  transition: all 0.3s ease;
}

.snapit-step-card:hover {
  border-color: #667eea;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.1);
}

.snapit-step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.snapit-step-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 8px;
}

.snapit-step-card p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* Action Buttons */
.snapit-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 0 0 24px;
}

.snapit-btn-primary,
.snapit-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.snapit-btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.snapit-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.snapit-btn-secondary {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}

.snapit-btn-secondary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

.snapit-success-help {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.snapit-success-help a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.snapit-success-help a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .snapit-success-container {
    padding: 40px 24px;
  }

  .snapit-success-title {
    font-size: 26px;
  }

  .snapit-success-subtitle {
    font-size: 16px;
  }

  .snapit-success-steps-grid {
    grid-template-columns: 1fr;
  }

  .snapit-success-actions {
    flex-direction: column;
  }

  .snapit-btn-primary,
  .snapit-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .snapit-success-icon {
    width: 100px;
    height: 100px;
  }

  .checkmark {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .snapit-success-container {
    padding: 30px 20px;
  }

  .snapit-success-title {
    font-size: 22px;
  }

  .snapit-success-info-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
