/* ==========================================================================
   Thank You Page Styles
   ========================================================================== */

.thank-you-main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg-color);
}

/* Hero Section */
.thank-you-hero {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(10, 54, 34, 0.08) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: var(--space-16) var(--space-4);
  margin-bottom: var(--space-12);
}

.thank-you-hero .hero-content {
  padding: var(--space-8) 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--bg-color);
  animation: successPulse 0.6s ease-out;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

@keyframes successPulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.thank-you-hero h1 {
  font-size: var(--text-4xl);
  color: var(--primary);
  margin-bottom: var(--space-3);
  font-weight: 700;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
  max-width: 600px;
  margin: 0 auto;
}

/* Content Section */
.thank-you-content {
  flex: 1;
  padding: var(--space-12) var(--space-4);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-8);
}

@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.thank-you-content .card {
  background: var(--surface-color);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  padding: var(--space-8);
  margin-bottom: var(--space-8);
  transition: all 0.3s ease;
}

.thank-you-content .card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.1);
}

.thank-you-content .card h2 {
  font-size: var(--text-2xl);
  color: var(--primary);
  margin-bottom: var(--space-5);
  font-weight: 700;
}

.thank-you-content .card h3 {
  color: var(--text-color);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.thank-you-content .card p {
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-4);
}

/* Confirmation Card */
.confirmation-card .checklist {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0;
}

.confirmation-card .checklist li {
  display: flex;
  align-items: center;
  padding: var(--space-3) 0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.confirmation-card .checklist li:last-child {
  border-bottom: none;
}

.check-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(46, 125, 50, 0.2);
  border: 1px solid var(--success);
  border-radius: 50%;
  color: var(--success);
  font-size: var(--text-sm);
  margin-right: var(--space-3);
  flex-shrink: 0;
}

.info-note {
  background: rgba(212, 175, 55, 0.05);
  border-left: 3px solid var(--primary);
  padding: var(--space-4);
  border-radius: 4px;
  margin-top: var(--space-5);
  font-size: var(--text-sm);
}

/* Next Steps */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin: var(--space-6) 0;
}

.step-item {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-5);
  background: rgba(212, 175, 55, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.step-item:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.2);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--bg-color);
  border-radius: 50%;
  font-weight: 700;
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.step-content h3 {
  margin: 0 0 var(--space-2) 0;
  color: var(--primary);
}

.step-content p {
  margin: 0;
  font-size: var(--text-sm);
}

.step-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.step-content a:hover {
  text-decoration: underline;
}

/* Quick Links Card */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.quick-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5);
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 6px;
  color: var(--text-color);
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  font-size: var(--text-sm);
  font-weight: 500;
}

.quick-link-item:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-4px);
}

.quick-link-item i {
  font-size: var(--text-2xl);
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.sidebar .card {
  margin-bottom: 0;
}

.sidebar .info-box {
  text-align: center;
}

.sidebar .info-box h3 {
  margin-bottom: var(--space-3);
}

.sidebar .info-box p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.sidebar .btn-block {
  width: 100%;
}

/* Accent Info Box */
.info-box.accent {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(10, 54, 34, 0.1) 100%);
  border: 1px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.info-box.accent::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.accent-title {
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.accent-status {
  font-size: var(--text-sm);
  color: var(--text-color);
  margin: var(--space-3) 0;
  position: relative;
  z-index: 1;
}

.accent-status strong {
  color: var(--success);
  font-weight: 700;
}

.accent-text {
  font-size: var(--text-sm);
  position: relative;
  z-index: 1;
}

/* CTA Section */
.thank-you-cta {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(10, 54, 34, 0.1) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: var(--space-12) var(--space-4);
  margin-top: var(--space-12);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: var(--text-3xl);
  color: var(--primary);
  margin-bottom: var(--space-4);
  font-weight: 700;
}

.cta-content p {
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-buttons .btn {
  min-width: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .thank-you-hero h1 {
    font-size: var(--text-3xl);
  }

  .thank-you-hero .hero-subtitle {
    font-size: var(--text-base);
  }

  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-number {
    align-self: flex-start;
  }

  .thank-you-content,
  .thank-you-hero {
    padding: var(--space-8) var(--space-4);
  }
}

@media (max-width: 640px) {
  .quick-links-grid {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: var(--text-2xl);
  }

  .success-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }
}
