/* ── Page Band ── */
.page-band {
  background: var(--boa-navy);
  color: var(--white);
  padding: 24px 20px;
}

.page-band-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-band h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.page-band p {
  font-size: 14px;
  opacity: .88;
}

/* ── Step Progress ── */
.ca-progress-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--boa-border);
  padding: 14px 20px;
  position: sticky;
  top: 72px;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

.ca-progress-inner {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.ca-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.ca-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ccc;
  color: #888;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, color .25s;
}

.ca-step span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #aaa;
  white-space: nowrap;
  transition: color .25s;
}

.ca-active .ca-dot {
  background: var(--boa-red);
  color: var(--white);
}

.ca-active span { color: var(--boa-red); }

.ca-done .ca-dot {
  background: #2e7d32;
  color: var(--white);
}

.ca-done span { color: #2e7d32; }

.ca-line {
  flex: 1;
  height: 2px;
  background: #ddd;
  margin: 0 6px 18px;
  min-width: 32px;
  transition: background .25s;
}

.ca-line.ca-done { background: #2e7d32; }

/* ── Layout ── */
.ca-wrap { align-items: flex-start; }

.ca-form-section { border-top-color: var(--boa-red); }

.ca-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.ca-section-sub {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--boa-border);
}

/* Row grids */
.ca-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ca-row-3 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}

/* Phone */
.ca-phone-wrap {
  display: flex;
  max-width: 280px;
}

.ca-prefix {
  background: #f0f0f0;
  border: 1px solid #aaa;
  border-right: none;
  border-radius: 3px 0 0 3px;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #555;
  white-space: nowrap;
}

.ca-phone-wrap .lf-group input,
.ca-phone-wrap input {
  border-radius: 0 3px 3px 0;
  max-width: none;
  flex: 1;
}

/* Error spans */
.ca-err {
  display: block;
  font-size: 11px;
  color: var(--boa-red);
  font-weight: 600;
  min-height: 14px;
  margin-top: 2px;
}

/* Label note */
.ca-label-note {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
}

/* Password strength */
.ca-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  max-width: 360px;
}

.ca-strength-bar {
  flex: 1;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
}

.ca-strength-bar div {
  height: 100%;
  border-radius: 2px;
  width: 0;
  transition: width .3s, background .3s;
}

#caStrLabel {
  font-size: 11px;
  font-weight: 700;
  min-width: 44px;
  text-align: right;
}

/* Password rules */
.ca-rules {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 6px;
  max-width: 360px;
}

.ca-rules li {
  font-size: 11px;
  color: #aaa;
  transition: color .2s;
}

.ca-rules li.ca-met { color: #2e7d32; }

/* Account type cards */
.ca-type-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.ca-type-card {
  border: 2px solid var(--boa-border);
  border-radius: 4px;
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 130px;
  transition: border-color .15s, background .15s;
}

.ca-type-card input[type="radio"] { display: none; }

.ca-type-card strong {
  font-size: 13px;
  color: var(--text-dark);
}

.ca-type-card span {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.4;
}

.ca-type-card:hover { border-color: var(--boa-red); }

.ca-type-selected {
  border-color: var(--boa-red);
  background: #fff5f5;
}

/* Agreements */
.ca-agreements {
  background: #f9f9f9;
  border: 1px solid var(--boa-border);
  border-radius: 3px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ca-agree-item { display: flex; flex-direction: column; gap: 4px; }

.ca-link {
  color: var(--boa-navy);
  text-decoration: underline;
}

.ca-link:hover { color: var(--boa-red); }

/* Review table */
.ca-review-table {
  border: 1px solid var(--boa-border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 20px;
}

.ca-review-row {
  display: flex;
  border-bottom: 1px solid var(--boa-border);
}

.ca-review-row:last-child { border-bottom: none; }

.ca-review-row:nth-child(even) { background: #fafafa; }

.ca-review-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #888;
  padding: 10px 16px;
  width: 180px;
  flex-shrink: 0;
  border-right: 1px solid var(--boa-border);
}

.ca-review-value {
  font-size: 13px;
  color: var(--text-dark);
  padding: 10px 16px;
  font-weight: 500;
}

/* Button row */
.ca-btn-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.ca-btn-back {
  background: var(--white);
  border: 1px solid #aaa;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s, color .15s;
}

.ca-btn-back:hover { border-color: #555; color: var(--text-dark); }

.ca-btn-green { background: #2e7d32; }
.ca-btn-green:hover { background: #1b5e20; }
.ca-btn-green:disabled { background: #81c784; cursor: not-allowed; }

/* Success */
.ca-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0;
  gap: 14px;
}

.ca-success-check {
  width: 68px;
  height: 68px;
  background: #2e7d32;
  border-radius: 50%;
  color: var(--white);
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(46,125,50,.25);
}

.ca-success h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.ca-success > p {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 400px;
  line-height: 1.55;
}

.ca-success-box {
  background: #f5f5f5;
  border: 1px solid var(--boa-border);
  border-radius: 4px;
  padding: 18px 28px;
  width: 100%;
  max-width: 420px;
  text-align: left;
}

.ca-sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid var(--boa-border);
}

.ca-sum-row:last-child { border-bottom: none; }

.ca-sum-row span:first-child {
  color: #888;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.ca-sum-row span:last-child { font-weight: 600; color: var(--text-dark); }

.ca-success-email {
  font-size: 13px;
  color: var(--text-light);
  max-width: 400px;
  line-height: 1.55;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .ca-row-2, .ca-row-3 { grid-template-columns: 1fr; }
  .ca-type-grid { flex-direction: column; }
  .ca-rules { grid-template-columns: 1fr; }
  .ca-review-label { width: 130px; }
  .ca-progress-wrap { top: 60px; }
}
