.bkaf-app-shell {
  --bkaf-color-primary: #f18800;
  --bkaf-color-ink: #0d3656;
  --bkaf-color-ink-deep: #040d21;
  --bkaf-color-white: #ffffff;
  --bkaf-color-muted: #6b7280;
  --bkaf-color-border: rgba(13, 54, 86, 0.18);
  --bkaf-shadow-lg: 0 16px 40px rgba(4, 13, 33, 0.06);
  --bkaf-transition: 220ms ease;
  font-family: "Roboto", sans-serif !important;
  color: var(--bkaf-color-ink) !important;
  background: #ffffff !important;
  padding: 32px 20px !important;
  line-height: 1.5;
  isolation: isolate;
}

.bkaf-app-shell *,
.bkaf-app-shell *::before,
.bkaf-app-shell *::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

.bkaf-app-shell :is(h1, h2, h3, h4, h5, h6, p, small, span, label, button, input, textarea) {
  font-family: inherit !important;
  letter-spacing: normal;
  text-transform: none;
}

.bkaf-app-shell :is(button, input, textarea) {
  font: inherit !important;
  color: inherit !important;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0 !important;
}

.bkaf-app-shell :is(a, button) {
  text-decoration: none !important;
}

.bkaf-hidden {
  display: none !important;
}

.bkaf-app-shell .bkaf-form-panel__frame {
  width: min(680px, 100%);
  display: grid;
  gap: 12px;
  margin: 0 auto;
  font-family: 'Roboto';
}

.wpfm-position-right ul {
  width: 50px !important;
}

.bkaf-app-shell .bkaf-progress-card,
.bkaf-app-shell .bkaf-form-card {
  border: 1px solid var(--bkaf-color-border);
  background: var(--bkaf-color-white);
  box-shadow: var(--bkaf-shadow-lg);
}

.bkaf-app-shell .bkaf-status-badge {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  display: inline-flex;
  padding: 8px 12px;
  background: #fff4e8;
  color: var(--bkaf-color-primary);
}

.bkaf-app-shell .bkaf-form-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif !important;
  font-weight: 600;
  line-height: 1.02;
  margin-top: 14px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.bkaf-app-shell .bkaf-progress-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
}

.bkaf-app-shell .bkaf-progress-card__ring {
  position: relative;
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
}

.bkaf-app-shell .bkaf-progress-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.bkaf-app-shell .bkaf-progress-ring__track,
.bkaf-app-shell .bkaf-progress-ring__value {
  fill: none;
  stroke-width: 8;
}

.bkaf-app-shell .bkaf-progress-ring__track {
  stroke: rgba(13, 54, 86, 0.12);
}

.bkaf-app-shell .bkaf-progress-ring__value {
  stroke: var(--bkaf-color-primary);
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transition: stroke-dashoffset 280ms ease;
}

.bkaf-app-shell .bkaf-progress-card__inner {
  position: absolute;
  inset: 0;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.bkaf-app-shell .bkaf-progress-card__inner span {
  font-size: 1.3rem;
  font-weight: 700;
}

.bkaf-app-shell .bkaf-progress-card__inner small {
  font-size: 11px;
}

.bkaf-app-shell .bkaf-progress-card__inner small,
.bkaf-app-shell .bkaf-progress-card__stepline,
.bkaf-app-shell .bkaf-step-description,
.bkaf-app-shell .bkaf-contact-note {
  color: var(--bkaf-color-muted);
}

.bkaf-app-shell .bkaf-progress-card__meta {
  flex: 1;
}

.bkaf-app-shell .bkaf-progress-card__stepline {
  margin: 0 0 10px;
  font-weight: 500;
}

.bkaf-app-shell .bkaf-progress-card__bar {
  height: 8px;
  background: rgba(13, 54, 86, 0.08);
  overflow: hidden;
}

.bkaf-app-shell .bkaf-progress-card__bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--bkaf-color-primary);
  transition: width 280ms ease;
}

.bkaf-app-shell .bkaf-form-card {
  padding: 24px 20px;
}

.bkaf-app-shell .bkaf-form-card__intro {
  margin-bottom: 28px;
}

.bkaf-app-shell .bkaf-step-description {
  margin: 12px 0 0;
  line-height: 1.65;
}

.bkaf-app-shell .bkaf-step-content {
  display: grid;
  gap: 14px;
  min-height: 140px;
}

.bkaf-app-shell .bkaf-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bkaf-app-shell .bkaf-option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--bkaf-color-border);
  background: var(--bkaf-color-white);
  cursor: pointer;
  transition:
    transform var(--bkaf-transition),
    border-color var(--bkaf-transition),
    box-shadow var(--bkaf-transition);
}

.bkaf-app-shell .bkaf-option-card:hover,
.bkaf-app-shell .bkaf-option-card:focus-visible {
  border-color: var(--bkaf-color-primary);
  box-shadow: 0 8px 24px rgba(4, 13, 33, 0.06);
  outline: none;
}

.bkaf-app-shell .bkaf-option-card.is-selected {
  border-color: var(--bkaf-color-primary);
  background: #fffaf4;
}

.bkaf-app-shell .bkaf-option-card__index {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: rgba(13, 54, 86, 0.06);
  color: var(--bkaf-color-ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.bkaf-app-shell .bkaf-option-card__icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: var(--bkaf-color-primary);
}

.bkaf-app-shell .bkaf-option-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bkaf-app-shell .bkaf-option-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--bkaf-color-ink-deep);
}

.bkaf-app-shell .bkaf-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bkaf-app-shell .bkaf-field {
  display: grid;
  gap: 10px;
}

.bkaf-app-shell .bkaf-field--wide {
  grid-column: 1 / -1;
}

.bkaf-app-shell .bkaf-field label {
  font-size: 0.95rem;
  font-weight: 600;
}

.bkaf-app-shell .bkaf-field input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid rgba(13, 54, 86, 0.14);
  background: var(--bkaf-color-white);
  transition:
    border-color var(--bkaf-transition),
    box-shadow var(--bkaf-transition);
}

.bkaf-app-shell .bkaf-field textarea {
  width: 100%;
  min-height: 140px;
  padding: 14px 16px;
  border: 1px solid rgba(13, 54, 86, 0.14);
  background: var(--bkaf-color-white);
  font: inherit;
  resize: vertical;
  transition:
    border-color var(--bkaf-transition),
    box-shadow var(--bkaf-transition);
}

.bkaf-app-shell .bkaf-field input:focus,
.bkaf-app-shell .bkaf-field textarea:focus {
  border-color: rgba(241, 136, 0, 0.56);
  box-shadow: 0 0 0 3px rgba(241, 136, 0, 0.12);
  outline: none;
}

.bkaf-app-shell .bkaf-contact-note {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.bkaf-app-shell .bkaf-form-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.bkaf-app-shell .bkaf-primary-button,
.bkaf-app-shell .bkaf-ghost-button {
  border: 0;
  min-height: 56px;
  padding: 0 24px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0 !important;
  transition:
    transform var(--bkaf-transition),
    box-shadow var(--bkaf-transition),
    background var(--bkaf-transition),
    color var(--bkaf-transition);
}

.bkaf-app-shell .bkaf-primary-button {
  background: var(--bkaf-color-primary);
  color: var(--bkaf-color-white);
}

.bkaf-app-shell .bkaf-primary-button:hover,
.bkaf-app-shell .bkaf-primary-button:focus-visible,
.bkaf-app-shell .bkaf-ghost-button:hover,
.bkaf-app-shell .bkaf-ghost-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.bkaf-app-shell .bkaf-ghost-button {
  background: #edf0f3;
  color: var(--bkaf-color-ink);
}

.bkaf-app-shell .bkaf-ghost-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

.bkaf-app-shell .bkaf-thank-you {
  display: grid;
  gap: 18px;
  padding: 4px 0 8px;
}

.bkaf-app-shell .bkaf-thank-you__panel {
  padding: 22px;
  background: #fffaf4;
  border: 1px solid rgba(241, 136, 0, 0.18);
}

.bkaf-app-shell .bkaf-thank-you__panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.bkaf-app-shell .bkaf-answer-list {
  display: grid;
  gap: 10px;
}

.bkaf-app-shell .bkaf-answer-list__item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(13, 54, 86, 0.04);
}

.bkaf-app-shell .bkaf-answer-list__label {
  color: var(--bkaf-color-muted);
}

.bkaf-app-shell .bkaf-answer-list__value {
  font-weight: 700;
  text-align: right;
}

.bkaf-app-shell .bkaf-fade-in {
  animation: bkafFadeInUp 320ms ease both;
}

@keyframes bkafFadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .bkaf-app-shell {
    padding: 16px;
  }

  .bkaf-app-shell .bkaf-option-grid,
  .bkaf-app-shell .bkaf-contact-grid {
    grid-template-columns: 1fr;
  }

  .bkaf-app-shell .bkaf-progress-card {
    padding: 18px;
    align-items: center;
  }

  .bkaf-app-shell .bkaf-form-card {
    padding: 20px 16px;
  }

  .bkaf-app-shell .bkaf-form-card h2 {
    font-size: 2.4rem;
  }

  .bkaf-app-shell .bkaf-form-actions {
    flex-direction: column-reverse;
  }

  .bkaf-app-shell .bkaf-primary-button,
  .bkaf-app-shell .bkaf-ghost-button {
    width: 100%;
  }
}
