/* ===========================================================
   ADMISSION FLOW — STEPPER + STEP CARDS
=========================================================== */
.flow-page { padding: 36px 0 64px; }

.flow-head { margin-bottom: 30px; }
.flow-head .eyebrow { color: var(--navy-600); }
.flow-head h1 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--navy-900);
  margin: 6px 0 0;
}

/* Stepper rail — signature element */
.stepper {
  display: flex;
  align-items: flex-start;
  margin-bottom: 36px;
  background: var(--surface-0);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
}
.step-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}
.step-item .step-connector {
  position: absolute;
  top: 19px;
  left: calc(-50% + 19px);
  width: calc(100% - 38px);
  height: 3px;
  background: var(--border-soft);
  z-index: 0;
}
.step-item:first-child .step-connector { display: none; }
.step-item.done .step-connector,
.step-item.active .step-connector {
  background: linear-gradient(90deg, var(--gold-500), var(--navy-600));
}
.step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border-soft);
  color: var(--ink-300);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all 0.25s var(--ease);
}
.step-item.active .step-num {
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  border-color: var(--navy-700);
  color: #fff;
  box-shadow: 0 0 0 5px var(--navy-100);
}
.step-item.done .step-num {
  background: var(--gold-500);
  border-color: var(--gold-600);
  color: var(--navy-900);
}
.step-text { padding-top: 6px; min-width: 0; }
.step-text .step-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink-300);
  font-family: var(--font-mono);
}
.step-text .step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-300);
  margin-top: 2px;
}
.step-item.active .step-text .step-label { color: var(--navy-600); }
.step-item.active .step-text .step-title { color: var(--navy-900); }
.step-item.done .step-text .step-label { color: var(--gold-600); }
.step-item.done .step-text .step-title { color: var(--ink-700); }

/* Step content card */
.step-panel {
  background: var(--surface-0);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.step-panel-head {
  padding: 26px 32px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}
.step-panel-head h2 {
  font-family: var(--font-display);
  font-size: 19.5px;
  color: var(--navy-900);
  margin: 0 0 6px;
}
.step-panel-head p { font-size: 13.5px; color: var(--ink-500); margin: 0; }
.step-panel-body { padding: 30px 32px 12px; }
.step-panel-foot {
  padding: 22px 32px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-1);
  gap: 12px;
  flex-wrap: wrap;
}

/* Info display grid (Step 1) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 28px;
}
.info-item {
  padding: 16px 18px;
  background: var(--surface-1);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
}
.info-item.full { grid-column: 1 / -1; }
.info-item label {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-300);
  font-family: var(--font-mono);
  margin-bottom: 6px;
}
.info-item .value {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  font-family: var(--font-display);
}
.info-item .value.mono { font-family: var(--font-mono); letter-spacing: 0.5px; }
.info-item .value.highlight { color: var(--navy-600); }
.info-item .sub { font-size: 12.5px; color: var(--ink-500); margin-top: 3px; }

.score-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-900);
  padding: 3px 12px 4px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
}
.score-badge strong { font-size: 18px; }
.score-badge span { font-size: 11.5px; }

.confirm-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--success-100);
  border: 1px solid #b7ecd6;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-top: 24px;
  color: #086347;
  font-size: 13.5px;
  line-height: 1.6;
}
.confirm-banner svg { flex-shrink: 0; margin-top: 1px; }

/* Form fields (Step 2) */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
}
.form-grid .span-2 { grid-column: 1 / -1; }
.form-section { margin-bottom: 30px; }
.form-section:last-child { margin-bottom: 0; }
.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--navy-700);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-soft);
}
.form-section-title .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-500); flex-shrink: 0;
}

.field-std label {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: var(--ink-700); margin-bottom: 7px;
}
.field-std label .req { color: var(--danger-600); }
.field-std input,
.field-std select,
.field-std textarea {
  width: 100%;
  padding: 11.5px 14px;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--surface-1);
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.field-std select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235b6679' stroke-width='1.6' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  appearance: none;
}
.field-std input:focus,
.field-std select:focus,
.field-std textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  background: #fff;
  box-shadow: 0 0 0 4px var(--navy-100);
}
.field-std { margin-bottom: 4px; }
.radio-row { display: flex; gap: 22px; padding-top: 6px; }
.radio-opt { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-700); }
.radio-opt input { width: 16px; height: 16px; accent-color: var(--navy-600); }

/* Step 3 — tuition */
.tuition-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  border-radius: var(--radius-md);
  padding: 22px 26px;
  color: #fff;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 14px;
}
.tuition-summary .label { font-size: 12.5px; color: #b9cae8; }
.tuition-summary .amount {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold-400);
  margin-top: 3px;
}
.tuition-summary .deadline {
  text-align: right;
  font-size: 13px;
  color: #d8e2f3;
}
.tuition-summary .deadline strong { color: #fff; display: block; font-size: 14.5px; }

.fee-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.fee-table th, .fee-table td {
  text-align: left;
  padding: 13px 16px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border-soft);
}
.fee-table th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-300);
  background: var(--surface-1);
}
.fee-table td.amount-col { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); text-align: right; }
.fee-table tr:last-child td { border-bottom: none; }
.fee-table tfoot td { font-weight: 700; color: var(--navy-900); border-top: 2px solid var(--navy-100); }

.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.pay-method {
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
}
.pay-method input { position: absolute; opacity: 0; }
.pay-method .icon-circle {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--navy-100);
  color: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.pay-method h4 { font-size: 14px; margin: 0 0 4px; color: var(--ink-900); font-family: var(--font-display); }
.pay-method p { font-size: 12px; color: var(--ink-500); margin: 0; line-height: 1.5; }
.pay-method.selected {
  border-color: var(--navy-600);
  background: var(--navy-50);
  box-shadow: 0 0 0 3px var(--navy-100);
}
.pay-method.selected .icon-circle { background: var(--navy-600); color: #fff; }

.upload-zone {
  border: 2px dashed var(--border-soft);
  border-radius: var(--radius-md);
  padding: 34px 24px;
  text-align: center;
  background: var(--surface-1);
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
}
.upload-zone:hover, .upload-zone.drag {
  border-color: var(--navy-600);
  background: var(--navy-50);
}
.upload-zone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}
.upload-zone .upload-icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--navy-600);
  display: flex; align-items: center; justify-content: center;
}
.upload-zone strong { display: block; font-size: 14.5px; color: var(--navy-900); margin-bottom: 4px; }
.upload-zone span { font-size: 12.5px; color: var(--ink-500); }
.upload-preview {
  display: none;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--success-100);
  border: 1px solid #b7ecd6;
  border-radius: var(--radius-sm);
}
.upload-preview img {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #b7ecd6;
}
.upload-preview .info { flex: 1; }
.upload-preview .name { font-size: 13.5px; font-weight: 600; color: #086347; }
.upload-preview .size { font-size: 12px; color: #15875a; }
.upload-preview button {
  background: none; border: none; color: #086347; font-size: 12.5px; font-weight: 600;
  text-decoration: underline;
}

/* Step 4 */
.review-block { margin-bottom: 24px; }
.review-block h3 {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--navy-700);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 8px;
}
.review-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.review-row { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; padding: 9px 0; border-bottom: 1px solid var(--surface-2); }
.review-row .k { color: var(--ink-500); }
.review-row .v { color: var(--ink-900); font-weight: 600; text-align: right; }

.checkbox-confirm {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--gold-100);
  border: 1px solid #f3d488;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 26px;
}
.checkbox-confirm input { width: 19px; height: 19px; margin-top: 1px; accent-color: var(--navy-700); flex-shrink: 0; }
.checkbox-confirm label { font-size: 13.5px; color: #6b5103; line-height: 1.6; }

.success-state {
  text-align: center;
  padding: 50px 20px 30px;
}
.success-state .check-circle {
  width: 84px; height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success-600), #0a7a55);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 12px 30px rgba(14, 159, 110, 0.35);
}
.success-state h2 { font-family: var(--font-display); font-size: 23px; color: var(--navy-900); margin: 0 0 10px; }
.success-state p { font-size: 14px; color: var(--ink-500); max-width: 440px; margin: 0 auto 28px; line-height: 1.6; }
.success-code {
  display: inline-flex; flex-direction: column; gap: 2px;
  background: var(--navy-50); border: 1px dashed var(--navy-600);
  padding: 14px 26px; border-radius: var(--radius-md); margin-bottom: 28px;
}
.success-code span:first-child { font-size: 11.5px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.5px; }
.success-code strong { font-family: var(--font-mono); font-size: 19px; color: var(--navy-800); letter-spacing: 1px; }

@media (max-width: 860px) {
  .stepper { padding: 18px 16px; }
  .step-text .step-title { font-size: 12px; }
  .step-text .step-label { display: none; }
  .info-grid, .form-grid { grid-template-columns: 1fr; }
  .pay-methods { grid-template-columns: 1fr; }
  .review-list { grid-template-columns: 1fr; }
  .step-panel-body { padding: 24px 20px 8px; }
  .step-panel-head, .step-panel-foot { padding: 20px; }
}
