.register-main { background: var(--cream); min-height: 100vh; }

.register-header {
  background: linear-gradient(135deg, var(--burgundy-dark), var(--burgundy));
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
  border-bottom: 2px solid var(--gold);
}
.register-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 5vw, 34px); color: var(--gold); margin-bottom: 0.4rem;
}
.register-header p { color: #D4A882; font-size: 15px; }

/* Progress */
.progress-bar-wrap {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
}
.progress-track {
  height: 4px; background: var(--border); border-radius: 2px;
  margin-bottom: 1rem; position: relative;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--saffron));
  border-radius: 2px; transition: width 0.35s ease;
}
.progress-steps { display: flex; justify-content: space-between; }
.progress-step  { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; }
.progress-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--text-mid);
  transition: all 0.25s;
}
.progress-step.done    .progress-dot { background: var(--gold); border-color: var(--gold); color: var(--text-dark); }
.progress-step.current .progress-dot { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.2); }
.progress-label { font-size: 11px; color: var(--text-mid); font-weight: 600; letter-spacing: 0.3px; text-align: center; }
.progress-step.done .progress-label,
.progress-step.current .progress-label { color: var(--copper); }

/* Body layout */
.register-body {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 2rem; padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3rem) 4rem;
  align-items: start;
}

/* Form */
.register-form-col { min-width: 0; }
.form-section {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 28px);
  margin-bottom: 1rem;
}
.form-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; color: var(--burgundy); margin-bottom: 1.5rem;
  padding-bottom: 0.75rem; border-bottom: 1px solid var(--border);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 2fr 1.5fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--text-mid); margin-bottom: 6px; letter-spacing: 0.2px;
}
.req { color: var(--burgundy); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 14px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-family: 'Lato', sans-serif; font-size: 14px;
  color: var(--text-dark); background: var(--cream);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 70px; }
.field-error { font-size: 12px; color: var(--burgundy); margin-top: 4px; }

/* Plan select */
.plan-select-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 12px;
}
.plan-select-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 14px;
  cursor: pointer; text-align: left; position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Lato', sans-serif; display: flex; flex-direction: column; gap: 4px;
}
.plan-select-card:hover  { border-color: var(--gold); }
.plan-select-card.selected {
  border-color: var(--gold); background: var(--gold-light);
  box-shadow: 0 2px 12px rgba(212,175,55,0.2);
}
.plan-select-badge {
  position: absolute; top: -10px; right: 12px;
  background: linear-gradient(90deg, var(--gold), var(--saffron));
  color: var(--text-dark); font-size: 10px; font-weight: 700;
  padding: 2px 10px; border-radius: 20px; letter-spacing: 0.5px;
}
.plan-select-emoji   { font-size: 28px; }
.plan-select-name    { font-size: 15px; font-weight: 700; color: var(--burgundy); margin-top: 4px; }
.plan-select-tagline { font-size: 12px; color: var(--text-mid); }
.plan-select-meals   { list-style: none; margin-top: 8px; display: flex; flex-direction: column; gap: 3px; }
.plan-select-meals li { font-size: 12px; color: var(--copper); font-weight: 600; }

/* Duration */
.duration-options { display: flex; gap: 12px; flex-wrap: wrap; }
.duration-card {
  flex: 1; min-width: 110px; background: var(--white);
  border: 2px solid var(--border); border-radius: var(--radius-md);
  padding: 16px 14px; cursor: pointer; text-align: left;
  font-family: 'Lato', sans-serif; display: flex; flex-direction: column; gap: 3px;
  transition: all 0.2s;
}
.duration-card:hover    { border-color: var(--gold); }
.duration-card.selected { border-color: var(--gold); background: var(--gold-light); }
.duration-label { font-size: 15px; font-weight: 700; color: var(--burgundy); }
.duration-desc  { font-size: 12px; color: var(--text-mid); }
.duration-price { font-size: 18px; font-weight: 700; color: var(--copper); margin-top: 6px; }

/* Radio */
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-card {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--white);
  cursor: pointer; font-size: 14px; font-weight: 600;
  color: var(--text-dark); transition: all 0.2s;
}
.radio-card input { display: none; }
.radio-card.selected { border-color: var(--gold); background: var(--gold-light); }
.radio-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }

/* Checkbox */
.checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-size: 14px; color: var(--text-dark); line-height: 1.5;
}
.checkbox-label input { margin-top: 2px; accent-color: var(--gold); width: 16px; height: 16px; }

/* Spice */
.spice-options { display: flex; gap: 10px; flex-wrap: wrap; }
.spice-btn {
  padding: 9px 20px; border-radius: 30px;
  border: 1.5px solid var(--border); background: var(--white);
  font-family: 'Lato', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--text-mid); cursor: pointer; transition: all 0.2s;
}
.spice-btn:hover, .spice-btn.selected {
  background: var(--burgundy-light); border-color: var(--burgundy); color: var(--burgundy);
}

/* Payment */
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.payment-card {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: var(--radius-md);
  border: 2px solid var(--border); background: var(--white);
  cursor: pointer; font-family: 'Lato', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--text-dark);
  transition: all 0.2s;
}
.payment-card:hover  { border-color: var(--gold); }
.payment-card.selected { border-color: var(--gold); background: var(--gold-light); }
.payment-icon { font-size: 22px; }

/* Confirm */
.confirm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 1.5rem; }
.confirm-block {
  background: var(--cream); border-radius: var(--radius-md);
  padding: 16px; border: 1px solid var(--border);
}
.confirm-block-title { font-size: 13px; font-weight: 700; color: var(--burgundy); margin-bottom: 10px; letter-spacing: 0.3px; }
.confirm-row {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 13px; color: var(--text-mid); margin-bottom: 6px;
}
.confirm-row span:last-child { color: var(--text-dark); font-weight: 600; text-align: right; }
.confirm-total {
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(90deg, var(--burgundy-dark), var(--burgundy));
  color: #FFF8EE; border-radius: var(--radius-md);
  padding: 16px 20px; margin-bottom: 1rem;
  font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700;
}
.confirm-total-val { color: var(--gold); }
.confirm-note { font-size: 12px; color: var(--text-mid); line-height: 1.7; }

/* Nav buttons */
.form-nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 1.5rem; }
.btn-back {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 24px;
  font-family: 'Lato', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--text-mid); cursor: pointer; transition: all 0.2s;
}
.btn-back:hover { border-color: var(--burgundy); color: var(--burgundy); }
.btn-next {
  background: var(--burgundy); border: none; border-radius: var(--radius-sm);
  padding: 12px 28px; font-family: 'Lato', sans-serif;
  font-size: 14px; font-weight: 700; color: #FFF8EE; cursor: pointer;
  transition: background 0.2s;
}
.btn-next:hover { background: var(--saffron); color: var(--text-dark); }
.btn-submit {
  background: linear-gradient(90deg, var(--saffron), var(--marigold));
  border: none; border-radius: var(--radius-sm);
  padding: 13px 28px; font-family: 'Lato', sans-serif;
  font-size: 15px; font-weight: 700; color: var(--text-dark); cursor: pointer;
  transition: opacity 0.2s;
}
.btn-submit:hover { opacity: 0.9; }

/* Sidebar */
.register-sidebar { position: sticky; top: 84px; }
.sidebar-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; margin-bottom: 16px;
  border-top: 3px solid var(--gold);
}
.sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px; color: var(--burgundy); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.sidebar-plan { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sidebar-plan-emoji { font-size: 32px; }
.sidebar-plan-name  { font-size: 15px; font-weight: 700; color: var(--text-dark); }
.sidebar-plan-meals { font-size: 12px; color: var(--text-mid); margin-top: 2px; }
.sidebar-rows {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.sidebar-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-mid); }
.sidebar-row span:last-child { color: var(--text-dark); font-weight: 600; text-transform: capitalize; }
.sidebar-total {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Playfair Display', serif; font-size: 20px;
  font-weight: 700; color: var(--burgundy);
}
.sidebar-trust {
  background: var(--gold-light); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.trust-item { font-size: 13px; color: var(--text-mid); font-weight: 600; }

/* Success */
.register-success {
  max-width: 540px; margin: 5rem auto;
  background: var(--white); border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); text-align: center;
}
.success-icon { font-size: 64px; margin-bottom: 16px; }
.register-success h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px; color: var(--burgundy); margin-bottom: 12px;
}
.register-success p { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 8px; }
.success-summary {
  background: var(--cream); border-radius: var(--radius-md);
  padding: 18px; margin: 24px 0 0; text-align: left; border: 1px solid var(--border);
}
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 14px; color: var(--text-mid); padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.summary-row:last-child { border-bottom: none; }
.summary-row span:last-child { font-weight: 700; color: var(--text-dark); }
.summary-row.total {
  font-family: 'Playfair Display', serif;
  font-size: 18px; color: var(--burgundy); margin-top: 4px;
}

/* Responsive */
@media (max-width: 900px) {
  .register-body { grid-template-columns: 1fr; }
  .register-sidebar { position: static; }
}
@media (max-width: 600px) {
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .confirm-grid            { grid-template-columns: 1fr; }
  .payment-options         { grid-template-columns: 1fr; }
  .duration-options        { flex-direction: column; }
}
