/* ========================================
   Order Confirmation Page
   ======================================== */

:root {
  --primary-teal: #2D6A6A;
  --background-cream: #E8F4F4;
  --accent-gold: #D4A574;
  --text-dark: #1F2937;
  --text-secondary: #6B7280;
}

.confirmation-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--background-cream) 0%, #ffffff 50%);
  min-height: calc(100vh - 200px);
}

.confirmation-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Success Icon */
.success-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, var(--primary-teal) 0%, #1E4E4E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s ease;
}

.success-icon i {
  width: 60px;
  height: 60px;
  color: white;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Main Message */
.confirmation-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 16px;
  animation: fadeInUp 0.6s ease 0.2s backwards;
}

.confirmation-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease 0.3s backwards;
}

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

/* Order Info Box */
.order-info-box {
  background: white;
  border: 2px solid var(--background-cream);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.6s ease 0.4s backwards;
}

.order-info-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 20px;
  text-align: center;
}

.order-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #E5E7EB;
}

.order-info-item:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 600;
  color: var(--text-dark);
}

.info-value {
  color: var(--text-secondary);
  font-weight: 500;
}

/* What's Next Box */
.whats-next-box {
  background: var(--background-cream);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 32px;
  text-align: left;
  animation: fadeInUp 0.6s ease 0.5s backwards;
}

.whats-next-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 32px;
  text-align: center;
}

/* Timeline Steps */
.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 24px;
}

.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 50px;
  bottom: -24px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-teal) 0%, rgba(45, 106, 106, 0.3) 100%);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  z-index: 1;
}

.step-content {
  flex: 1;
  padding-top: 4px;
}

.step-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Info Notice */
.info-notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #FEF3C7;
  border-left: 4px solid #F59E0B;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 32px;
  text-align: left;
  animation: fadeInUp 0.6s ease 0.6s backwards;
}

.info-notice i {
  width: 24px;
  height: 24px;
  color: #F59E0B;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-notice div {
  font-size: 15px;
  color: #92400E;
  line-height: 1.6;
}

/* Action Buttons */
.confirmation-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  animation: fadeInUp 0.6s ease 0.7s backwards;
}

.btn-primary,
.btn-secondary {
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-teal);
  color: white;
}

.btn-primary:hover {
  background: #1E4E4E;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(45, 106, 106, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--primary-teal);
  border: 2px solid var(--primary-teal);
}

.btn-secondary:hover {
  background: var(--primary-teal);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(45, 106, 106, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .confirmation-section {
    padding: 60px 20px;
  }

  .confirmation-title {
    font-size: 32px;
  }

  .confirmation-subtitle {
    font-size: 16px;
  }

  .order-info-box,
  .whats-next-box {
    padding: 24px;
  }

  .order-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .confirmation-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .timeline-step {
    gap: 16px;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .timeline-step:not(:last-child)::after {
    left: 18px;
    top: 46px;
  }

  .step-heading {
    font-size: 16px;
  }

  .step-text {
    font-size: 14px;
  }
}
