/* ============================================================
   ORDER STATUS STYLES - CASTELLO (PAN AFRICA)
   ============================================================ */

.status-page {
  min-height: 100vh;
  padding: 3rem 1.5rem 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 10%, rgba(111, 29, 27, 0.25) 0%, #120704 70%);
}

.status-container {
  max-width: 620px;
  width: 100%;
  text-align: center;
}

/* Confirmation Checkmark Animation */
.confirmation-section {
  margin-bottom: 2.5rem;
}

.checkmark-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
}

.checkmark-circle {
  width: 90px;
  height: 90px;
  animation: scaleIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.circle-bg {
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  animation: circleDraw 1s ease forwards 0.2s;
}

.checkmark {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: checkDraw 0.6s ease forwards 0.7s;
}

@keyframes circleDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes checkDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes scaleIn {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.confirmation-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.confirmation-subtitle {
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* Order Details Card */
.order-details-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: left;
  box-shadow: var(--shadow-md);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.order-id span {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.order-id strong {
  color: var(--color-gold);
  font-size: 1.2rem;
  margin-left: 0.3rem;
  letter-spacing: 1px;
}

.order-time {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--color-text);
}

.order-item-qty {
  color: var(--color-gold);
  font-weight: 700;
  margin-right: 0.5rem;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed var(--color-border);
  padding-top: 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-gold);
}

/* Progress Stepper */
.status-tracker-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.tracker-title {
  font-size: 1.15rem;
  color: var(--color-cream);
  margin-bottom: 1.5rem;
  text-align: left;
}

.stepper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.step {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  position: relative;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 14, 10, 0.9);
  border: 1.5px solid var(--color-border);
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.step.active .step-icon {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: #140b08;
  box-shadow: 0 0 16px var(--color-gold-glow);
}

.step.done .step-icon {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.step-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.step-time {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Estimated Time Box */
.estimated-time-box {
  background: #190c08;
  border: 1.5px solid var(--color-border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.time-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-gold);
  margin: 0.5rem 0;
  letter-spacing: 2px;
}

.time-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Actions Row */
.actions-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.home-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.home-link:hover {
  color: var(--color-gold);
}

.footer-note {
  margin-top: 3rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-ornament {
  width: 80px;
  height: 24px;
  margin: 0 auto 0.8rem;
}
