:root {
  --bc-navy: #14213d;
  --bc-navy-dark: #0b1526;
  --bc-navy-soft: #1f2f52;
  --bc-navy-header: #354b74;
  --bc-gold: #a9812f;
  --bc-gold-soft: #e7d9b8;
  --bc-cream: #f8f6f1;
  --bc-ink: #2a2f3a;
  --bc-line: #e4e0d6;
}

body {
  background-color: var(--bc-cream);
  color: var(--bc-ink);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  margin-bottom: 0;
}

footer.footer {
  position: static !important;
  bottom: auto !important;
  white-space: normal !important;
  line-height: 1.6 !important;
  padding: 0.75rem 0 !important;
}

/* ---------- Navbar ---------- */
.bc-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--bc-line);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.bc-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.bc-navbar .navbar-brand img {
  height: 32px;
}

.bc-navbar .navbar-brand .bc-brand-text {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--bc-navy);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.bc-navbar .navbar-brand .bc-brand-text small {
  display: block;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--bc-gold);
  font-weight: 600;
}

/* ---------- Hero ---------- */
.bc-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bc-cream) 100%);
  border-bottom: 1px solid var(--bc-line);
  padding: 0 0 1rem;
  text-align: center;
}

.bc-hero img.bc-hero-logo {
  height: 90px;
  margin-bottom: 0.4rem;
}

.bc-hero-title-band {
  background: var(--bc-navy-header);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0.6rem 0;
  margin-bottom: 0.4rem;
}

.bc-hero h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 0;
}

.bc-hero p.lead {
  color: #5b5f6a;
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.bc-hero .bc-meta {
  margin-top: 0.5rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--bc-navy);
}

.bc-hero .bc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.bc-hero .bc-meta svg {
  color: var(--bc-gold);
}

.bc-lang-switch {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  margin-bottom: 1rem;
}

.bc-lang-switch form {
  margin: 0;
}

.bc-lang-btn {
  border: 1px solid var(--bc-gold-soft);
  background: #fff;
  color: var(--bc-navy);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.bc-lang-btn:hover {
  background: var(--bc-cream);
}

.bc-lang-btn.is-active {
  background: var(--bc-navy);
  border-color: var(--bc-navy);
  color: #fff;
}

/* ---------- Stepper ---------- */
.bc-stepper {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid var(--bc-line);
  padding: 0.4rem 0;
}

.bc-stepper-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.bc-stepper-track::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--bc-line);
  z-index: 0;
}

.bc-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--bc-navy);
}

.bc-step .bc-step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--bc-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: #9a9a9a;
  transition: all 0.15s ease;
}

.bc-step .bc-step-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  color: #9a9a9a;
  max-width: 90px;
  letter-spacing: 0.01em;
}

.bc-step.is-active .bc-step-circle {
  background: var(--bc-navy);
  border-color: var(--bc-navy);
  color: #fff;
}

.bc-step.is-active .bc-step-label {
  color: var(--bc-navy);
}

.bc-step.is-complete .bc-step-circle {
  background: var(--bc-gold);
  border-color: var(--bc-gold);
  color: #fff;
}

.bc-step.is-complete .bc-step-label {
  color: var(--bc-navy);
}

/* ---------- Cards ---------- */
.bc-card {
  background: #fff;
  border: 1px solid var(--bc-line);
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(20, 33, 61, 0.04);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.bc-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.5rem;
  background: ghostwhite;
  color: var(--bc-navy);
  border-bottom: 3px solid var(--bc-gold);
}

.bc-card-header .bc-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--bc-navy);
}

.bc-card-header h2 {
  font-size: 1.05rem;
  font-weight: 400;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.01em;
  color: var(--bc-navy);
}

.bc-card-header p {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.bc-card-body {
  padding: 1.1rem 1.5rem;
}

.bc-form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--bc-navy);
}

.bc-form-label .text-danger {
  font-weight: 700;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--bc-navy);
  box-shadow: 0 0 0 0.2rem rgba(20, 33, 61, 0.12);
}

.form-check-input:checked {
  background-color: var(--bc-navy);
  border-color: var(--bc-navy);
}

/* ---------- Benefit checkbox tiles ---------- */
.bc-benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.75rem;
}

.bc-benefit-tile {
  border: 1px solid var(--bc-line);
  border-radius: 0.4rem;
  padding: 0.7rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.15s ease;
  background: var(--bc-cream);
}

.bc-benefit-tile:has(input:checked) {
  border-color: var(--bc-gold);
  background: #fdf8ec;
  box-shadow: 0 0 0 1px var(--bc-gold);
}

.bc-benefit-tile input {
  margin: 0;
}

.bc-benefit-tile label {
  font-size: 0.87rem;
  cursor: pointer;
  margin: 0;
}

/* ---------- Document checklist ---------- */
.bc-doc-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0.6rem 1rem;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--bc-line);
}

.bc-doc-row:last-child {
  border-bottom: none;
}

.bc-doc-row .form-check-label {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--bc-navy);
}

/* ---------- Upload dropzone ---------- */
.bc-dropzone {
  border: 2px dashed #c8c2ac;
  border-radius: 0.6rem;
  background: var(--bc-cream);
  padding: 2.25rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bc-dropzone:hover,
.bc-dropzone.is-dragover {
  border-color: var(--bc-gold);
  background: #fdf8ec;
}

.bc-dropzone svg {
  color: var(--bc-gold);
  margin-bottom: 0.5rem;
}

.bc-dropzone .bc-browse {
  color: var(--bc-navy);
  font-weight: 600;
  text-decoration: underline;
}

.bc-file-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bc-file-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bc-cream);
  border: 1px solid var(--bc-line);
  border-radius: 0.4rem;
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
}

.bc-file-chip .bc-file-icon {
  color: var(--bc-navy);
  flex-shrink: 0;
}

.bc-file-chip .bc-file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.bc-file-chip .bc-file-size {
  color: #8a8f99;
  font-size: 0.78rem;
}

.bc-file-chip .bc-file-remove {
  background: none;
  border: none;
  color: #b5473f;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Appointment ---------- */
.bc-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.6rem;
}

.bc-slot {
  border: 1px solid var(--bc-line);
  border-radius: 0.4rem;
  padding: 0.55rem 0.4rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bc-navy);
  background: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bc-slot:hover {
  border-color: var(--bc-gold);
}

.bc-slot.is-selected {
  background: var(--bc-navy);
  border-color: var(--bc-navy);
  color: #fff;
}

.bc-method-tile {
  border: 1px solid var(--bc-line);
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  background: #fff;
  height: 100%;
}

.bc-method-tile svg {
  color: var(--bc-navy);
  margin-bottom: 0.4rem;
}

.bc-method-tile.is-selected {
  border-color: var(--bc-gold);
  background: #fdf8ec;
  box-shadow: 0 0 0 1px var(--bc-gold);
}

/* ---------- Payment ---------- */
.bc-fee-summary {
  background: var(--bc-cream);
  border: 1px solid var(--bc-line);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.bc-fee-summary .bc-fee-label {
  font-size: 0.85rem;
  color: #5b5f6a;
}

.bc-fee-summary .bc-fee-amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bc-navy);
  font-family: Georgia, serif;
}

.bc-card-icons {
  display: flex;
  gap: 0.4rem;
}

.bc-card-icons span {
  border: 1px solid var(--bc-line);
  border-radius: 0.25rem;
  padding: 0.15rem 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #8a8f99;
  letter-spacing: 0.02em;
}

.bc-secure-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #5b5f6a;
  margin-top: 0.75rem;
}

.bc-secure-note svg {
  color: var(--bc-gold);
  flex-shrink: 0;
}

/* ---------- Nav buttons ---------- */
.bc-wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.25rem;
  margin-bottom: 4rem;
}

.bc-scroll-submit {
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
  margin-bottom: 4rem;
}

.btn-bc-primary {
  background-color: var(--bc-navy);
  border-color: var(--bc-navy);
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 1.6rem;
}

.btn-bc-primary:hover {
  background-color: var(--bc-navy-soft);
  border-color: var(--bc-navy-soft);
  color: #fff;
}

.btn-bc-gold {
  background-color: var(--bc-gold);
  border-color: var(--bc-gold);
  color: #fff;
  font-weight: 700;
  padding: 0.65rem 2rem;
}

.btn-bc-gold:hover {
  background-color: #8f6c26;
  border-color: #8f6c26;
  color: #fff;
}

.btn-bc-outline {
  border-color: var(--bc-navy);
  color: var(--bc-navy);
  font-weight: 600;
  padding: 0.55rem 1.6rem;
  background: #fff;
}

.btn-bc-outline:hover {
  background-color: var(--bc-navy);
  color: #fff;
}

/* ---------- Steps show/hide ---------- */
.bc-step-panel {
  display: none;
}

.bc-step-panel.is-active {
  display: block;
  animation: bc-fade-in 0.25s ease;
}

@keyframes bc-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bc-required-note {
  font-size: 0.78rem;
  color: #8a8f99;
  margin-bottom: 0.25rem;
}

/* ---------- Success modal ---------- */
.bc-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bc-gold-soft);
  color: var(--bc-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

@media (max-width: 576px) {
  .bc-stepper .bc-step-label {
    display: none;
  }

  .bc-doc-row {
    grid-template-columns: 1fr;
  }
}
