/* return.css */

.return-section {
  padding: 48px 0 60px;
  background: var(--bg-page);
}

/* Steps */
.return-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
}
.rs-step {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.rs-step.active { color: var(--primary); }
.rs-step span {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700;
}
.rs-step.active span { background: var(--primary); color: #fff; }
.rs-line { flex: 1; height: 2px; background: var(--border); margin: 0 8px; max-width: 48px; }

/* Error Alert */
.return-alert-error {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  color: #dc2626;
}
.return-alert-error i { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.return-alert-error ul { margin: 0; padding-left: 16px; font-size: .84rem; }

/* Form Card */
.return-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 32px 28px;
}

/* Section inside form */
.rf-section { margin-bottom: 4px; }
.rf-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.rf-section-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--si-color) 12%, transparent);
  color: var(--si-color);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.rf-section-title { font-size: .95rem; font-weight: 700; color: var(--text-main); }
.rf-section-sub { font-size: .75rem; color: var(--text-muted); }

.rf-divider { height: 1px; background: var(--border); margin: 20px 0; }

/* Labels */
.rf-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 7px;
}
.rf-req { color: var(--primary); }
.rf-optional { color: var(--text-muted); font-weight: 400; font-size: .75rem; }

/* Input Wrap */
.rf-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.rf-input-wrap > i {
  position: absolute;
  left: 13px;
  color: var(--primary);
  font-size: .9rem;
  pointer-events: none;
  z-index: 1;
}
.rf-input {
  width: 100%;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px 11px 38px;
  font-size: .88rem;
  font-family: var(--font);
  color: var(--text-main);
  transition: var(--transition);
  outline: none;
}
.rf-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(232,35,42,.08);
}
.rf-input-suffix {
  position: absolute;
  right: 13px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-muted);
}
.rf-textarea {
  resize: vertical;
  min-height: 100px;
  padding-top: 11px;
}
.rf-hint {
  font-size: .73rem;
  color: var(--text-muted);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.rf-hint i { color: var(--primary); font-size: .75rem; }
.rf-char-count {
  font-size: .72rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

/* Payment Options */
.rf-payment-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.rf-pay-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  flex: 1;
  min-width: 100px;
  justify-content: center;
  background: var(--bg-light);
}
.rf-pay-opt input { display: none; }
.rf-pay-opt i { font-size: 1rem; }
.rf-pay-opt:hover,
.rf-pay-opt.selected {
  border-color: var(--pay-color);
  color: var(--pay-color);
  background: color-mix(in srgb, var(--pay-color) 8%, #fff);
}

/* Quick Reason Chips */
.rf-reason-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.rf-chip {
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
}
.rf-chip:hover, .rf-chip.active {
  background: rgba(232,35,42,.08);
  border-color: var(--primary);
  color: var(--primary);
}

/* Submit */
.rf-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: .95rem;
  font-weight: 700;
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(232,35,42,.35);
  margin-top: 24px;
}
.rf-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,35,42,.5);
}
.rf-note {
  text-align: center;
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.rf-note i { color: #10b981; }

/* Success Card */
.return-success-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid #bbf7d0;
  padding: 48px 32px;
  text-align: center;
}
.rsc-icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 16px;
  animation: bounceIn .6s ease;
}
@keyframes bounceIn {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}
.rsc-title { font-size: 1.3rem; font-weight: 700; color: var(--text-main); margin-bottom: 10px; }
.rsc-desc  { font-size: .88rem; color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }
.rsc-btns  { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-rsc-home {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--secondary); color: #fff;
  padding: 10px 22px; border-radius: 50px;
  font-size: .88rem; font-weight: 600; transition: var(--transition);
}
.btn-rsc-home:hover { opacity: .85; color: #fff; }
.btn-rsc-new {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 10px 22px; border-radius: 50px;
  font-size: .88rem; font-weight: 600; transition: var(--transition);
  box-shadow: 0 4px 14px rgba(232,35,42,.3);
}
.btn-rsc-new:hover { transform: translateY(-2px); color: #fff; }

@media(max-width:767px) {
  .return-form-card { padding: 22px 16px; }
  .rf-payment-options { gap: 8px; }
  .rf-pay-opt { min-width: 80px; padding: 9px 12px; font-size: .8rem; }
  .rsc-btns { flex-direction: column; }
  .btn-rsc-home, .btn-rsc-new { width: 100%; justify-content: center; }
}