#exchange-hero {
  padding-top: 9rem;
  padding-bottom: 7rem;
  background: radial-gradient(circle at top left, #ff3ba7 0, #7b1fa2 35%, #060316 80%);
  color: #ffffff;
}

#exchange-hero .badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  background: rgba(6, 3, 22, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#exchange-hero .hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
}

#exchange-hero .hero-text {
  opacity: 0.9;
  max-width: 520px;
}

/* Main Form Container */
#exchange-form {
  margin-top: 4rem; /* Spacing between hero and form */
  padding-bottom: 4rem;
  position: relative;
  z-index: 10;
}

#exchange-form .card-form {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 0; /* Padding handled by internal sections */
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

/* Progress Bar Section */
.form-header {
  background: #ffffff;
  padding: 2.5rem 3rem 1rem 3rem;
  border-bottom: none;
}

/* Form Body */
.form-body {
  padding: 1rem 3rem 3rem 3rem;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.2rem;
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
}

.form-label .optional {
  float: right;
  color: #94a3b8;
  font-weight: 400;
  font-size: 0.8rem;
}

.form-control, .form-select {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: #1e293b;
  background-color: #f8fafc;
  background-clip: padding-box;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.form-control:focus, .form-select:focus {
  background-color: #ffffff;
  border-color: #ff3ba7;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 59, 167, 0.1);
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
}

/* PIN Inputs specific styling */
.pincode-group {
  display: flex;
  gap: 10px;
}
.pincode-group input {
  text-align: center;
  letter-spacing: 2px;
  font-family: monospace;
  font-size: 1.1rem;
}

/* File Upload Styling */
.file-upload-wrapper {
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}
.file-upload-wrapper:hover {
  background: #e2e8f0;
}
.file-upload-wrapper input[type=file] {
  opacity: 0;
  position: absolute;
  z-index: -1;
}
.file-upload-btn {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}

/* Summary Box (Clean style) */
.summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.summary-title {
  font-family: 'HostGrotesk', sans-serif;
  font-weight: 600;
  color: #0f172a;
  font-size: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #1e293b;
}

.summary-row.total {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  font-size: 1.1rem;
}

.total-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ff3ba7; /* Brand Pink */
}

/* Footer Buttons */
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 1rem;
}

.btn-back {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-back:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.btn-submit {
  background: #ff3ba7; /* Brand Pink */
  border: 1px solid #ff3ba7;
  color: #ffffff;
  padding: 0.75rem 2.5rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 59, 167, 0.35);
  transition: all 0.2s;
}
.btn-submit:hover {
  background: #d62d88;
  border-color: #d62d88;
  box-shadow: 0 6px 20px rgba(255, 59, 167, 0.45);
  color: #fff;
  transform: translateY(-2px);
}

/* Helper Text */
.helper-text {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.4rem;
}
