:root{
  --orange:#E87820;
  --orange-dark:#4620B0;
  --orange-light:#EFE9FD;
  --success:#1DA968;
  --success-light:#E7F7EF;
  --charcoal:#20232B;
  --muted:#6B7280;
  --border:#E7E6F0;
  --bg:#F7F7FB;
} 

.page-wrap{margin:0 auto;padding:24px 16px 60px;}
.crumb-title{font-size:1.4rem;font-weight:700;margin-bottom:2px;}
.crumb-trail{font-size:.82rem;color:var(--muted);}
.crumb-trail .sep{margin:0 6px;color:#C7C6D6;}

/* Stepper */
.stepper-card{
  background:#fff;border:1px solid var(--border);border-radius:16px;
  padding:22px 16px;margin:20px 0 24px;
}
.stepper{display:flex;align-items:flex-start;list-style:none;padding:0;margin:0;}
.step-item{flex:1;text-align:center;position:relative;}
.step-item .line{
  position:absolute;top:19px;left:-50%;width:100%;height:2px;background:var(--border);z-index:0;
}
.step-item:first-child .line{display:none;}
.step-item.done .line, .step-item.active .line{background:var(--orange);}
.step-circle{
  width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  margin:0 auto 8px;font-weight:600;position:relative;z-index:1;border:2px solid var(--border);
  background:#fff;color:var(--muted);font-size:.9rem;cursor:pointer;transition:.15s;
}
.step-item.done .step-circle{background:var(--orange);border-color:var(--orange);color:#fff;}
.step-item.active .step-circle{background:var(--orange);border-color:var(--orange);color:#fff;box-shadow:0 0 0 5px var(--orange-light);}
.step-label{font-size:.8rem;color:var(--muted);font-weight:500;}
.step-item.active .step-label{color:var(--orange);font-weight:700;}
.step-item.done .step-label{color:var(--charcoal);}
.step-item button{background:none;border:none;padding:0;width:100%;}

/* Panels */
.panel{display:none;}
.panel.show{display:block;animation:fade .25s ease;}
@keyframes fade{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);}}

.main-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:28px 20px;margin-bottom:20px;}

/* Confirmation hero */
.confirm-icon-wrap{position:relative;width:110px;height:110px;margin:0 auto 18px;}
.confirm-icon{
  width:100%;height:100%;border-radius:50%;background:var(--success);
  display:flex;align-items:center;justify-content:center;color:#fff;font-size:2.4rem;
  box-shadow:0 8px 24px rgba(29,169,104,.25);
}
.confetti{position:absolute;border-radius:50%;}
.confirm-title{text-align:center;font-weight:800;font-size:1.5rem;margin-bottom:8px;}
.confirm-sub{text-align:center;color:var(--muted);font-size:.92rem;max-width:480px;margin:0 auto 22px;}

.balance-strip{
  background:var(--success-light);border-radius:14px;padding:18px 20px;
  display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;
}
.balance-strip .divider{width:1px;align-self:stretch;background:#C9EAD9;}
.balance-label{font-size:.78rem;color:#3B7A5C;font-weight:600;}
.balance-value{font-size:1.3rem;font-weight:800;display:flex;align-items:center;gap:6px;}
.balance-usd{font-size:.75rem;color:var(--muted);}

/* Reward item card */
.reward-card{border:1px solid var(--border);border-radius:14px;padding:16px;margin:22px 0;}
.reward-img{width:100%;height:150px;object-fit:cover;border-radius:10px;}
.reward-name{font-weight:700;font-size:1.05rem;margin:10px 0 6px;}
.reward-note{font-size:.82rem;color:var(--muted);margin-bottom:8px;}
.reward-coins{color:var(--orange);font-weight:700;display:flex;align-items:center;gap:6px;}
.stock-badge{
  background:var(--success-light);color:var(--success);font-size:.78rem;font-weight:600;
  padding:3px 10px;border-radius:20px;display:inline-block;margin-top:8px;
}
.meta-list{display:flex;flex-direction:column;gap:12px;font-size:.85rem;}
.meta-list .lbl{color:var(--muted);font-size:.75rem;}
.meta-list .val{font-weight:600;}
.meta-list i{color:var(--orange);margin-right:8px;}

/* Details + info */
.detail-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px dashed var(--border);font-size:.9rem;}
.detail-row:last-child{border-bottom:none;}
.detail-row .k{color:var(--muted);}
.detail-row .v{font-weight:700;}
.detail-row.total .v{color:var(--success);}

.info-card{background:var(--orange-light);border-radius:14px;padding:18px;height:100%;}
.info-card h6{font-weight:700;margin-bottom:14px;color:var(--orange-dark);}
.info-item{display:flex;gap:10px;font-size:.85rem;margin-bottom:12px;align-items:flex-start;}
.info-item i{color:var(--orange);margin-top:2px;}

.action-bar{
  display:flex;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--border);
  border-radius:16px;padding:18px;flex-wrap:wrap;
}
.btn-outline-purple{
  border:1px solid var(--orange);color:var(--orange);background:#fff;font-weight:600;
  border-radius:10px;padding:10px 22px;
}
.btn-outline-purple:hover{background:var(--orange-light);color:var(--orange);}
.btn-orange-purple{
  background:var(--orange);border:none;color:#fff;font-weight:600;border-radius:10px;padding:10px 26px;
}
.btn-orange-purple:hover{background:var(--orange-dark);color:#fff;}
.tc-note{text-align:center;font-size:.78rem;color:var(--muted);margin-top:14px;}
.tc-note a{color:var(--orange);text-decoration:none;font-weight:600;}

/* Other step placeholders */
.placeholder-box{
  border:1px dashed var(--border);border-radius:14px;padding:40px 20px;text-align:center;color:var(--muted);
}

/* Complete step */
.complete-icon{
  width:100px;height:100px;border-radius:50%;background:var(--success-light);color:var(--success);
  display:flex;align-items:center;justify-content:center;font-size:2.6rem;margin:0 auto 18px;
}

@media (max-width:767.98px){
  .step-label{font-size:.68rem;}
  .step-circle{width:32px;height:32px;font-size:.78rem;}
  .balance-strip{flex-direction:column;align-items:flex-start;}
  .balance-strip .divider{display:none;}
  .confirm-title{font-size:1.2rem;}
}