/* M2 Survey Wizard — learner front-end (mockup-aligned) */

:root {
  --pab-navy: #002a60;
  --pab-navy-deep: #001f47;
  --pab-teal: #00778b;
  --pab-teal-bright: #00a3c1;
  --pab-bg: #e8eef5;
  --pab-card: #ffffff;
  --pab-text: #1a2332;
  --pab-muted: #6b7a8d;
  --pab-border: #d5dde8;
  --pab-pill: #c5d4e8;
  --pab-info: #e8f2fb;
  --pab-info-border: #4a90c2;
  --pab-danger: #c0392b;
  --pab-radius: 12px;
  --pab-footer-h: 72px;
}

/* Hide theme chrome noise on survey pages */
body.single-wlk_partner_activity .container.p-4 {
  max-width: 100%;
  padding: 0 !important;
  margin: 0;
}

/* Hide legacy theme title outside the wizard header (instruction page, etc.) */
body.single-wlk_partner_activity .partner_activity_heading:not(.pab-survey-header__title) {
  display: none !important;
}

.pab-survey-wizard {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--pab-text);
  background: var(--pab-bg);
  min-height: 100vh;
  padding-bottom: calc(var(--pab-footer-h) + 24px);
  overflow-x: hidden;
}

/* —— Header —— */
.pab-survey-header {
  background: var(--pab-navy);
  color: #fff;
  padding: 20px 20px 24px;
  position: relative;
}

.pab-survey-header__inner {
  max-width: 720px;
  margin: 0 auto;
}

.pab-survey-header__org {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  margin: 0 0 6px;
  font-weight: 600;
}

.pab-survey-header__title,
.pab-survey-header h1.pab-survey-header__title {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
  padding-right: 40px;
  color: #ffffff !important;
}

.pab-survey-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.pab-credit-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
}

.pab-credit-badge strong {
  color: #7fd4e8;
  font-size: 15px;
}

.pab-format-pill {
  background: var(--pab-teal);
  color: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  max-width: 100%;
  line-height: 1.3;
}

.pab-accredited-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0 0 8px;
  font-weight: 600;
}

.pab-accredited-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pab-acc-pill {
  background: var(--pab-pill);
  color: var(--pab-navy);
  border: none;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}

.pab-acc-pill:hover, .pab-acc-pill:focus {
    background: #fff;
    outline: none;
    color: var(--pab-navy);
}

.pab-help-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
}

.pab-help-btn:hover,
.pab-help-btn:focus {
  background: rgba(255, 255, 255, 0.28);
  border-color: #fff;
  color: #ffffff !important;
  outline: none;
}

/* —— Progress —— */
.pab-survey-progress {
  background: #fff;
  border-bottom: 1px solid var(--pab-border);
  padding: 12px 20px;
}

.pab-survey-progress__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pab-progress-track {
  flex: 1;
  height: 4px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.pab-progress-fill {
  height: 100%;
  background: var(--pab-teal-bright);
  width: 0%;
  transition: width 0.25s ease;
  border-radius: 4px;
}

.pab-progress-label {
  font-size: 13px;
  color: var(--pab-muted);
  white-space: nowrap;
  font-weight: 500;
}

/* —— Body —— */
.pab-survey-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 16px 32px;
}

.pab-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.pab-save-status {
  font-size: 13px;
  color: var(--pab-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pab-save-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  display: inline-block;
}

.pab-save-status.is-saving::before {
  background: #f0ad4e;
}

.pab-save-status.is-error::before {
  background: var(--pab-danger);
}

.pab-save-later-btn {
  background: #fff;
  border: 1.5px solid var(--pab-navy);
  color: var(--pab-navy);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
}

.pab-save-later-btn:hover {
  text-decoration: none;
  background: #f3f7fb;
  color: var(--pab-navy);
}

.pab-welcome-banner {
  background: var(--pab-info);
  border-left: 4px solid var(--pab-info-border);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  position: relative;
}

.pab-info-banner.pab-credit-cap-banner {
  background: var(--pab-info);
  border-left: 4px solid var(--pab-info-border);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: #1d2327;
}

.pab-welcome-banner__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pab-info-border);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pab-welcome-banner strong {
  display: block;
  margin-bottom: 2px;
}

.pab-welcome-banner p {
  margin: 0;
  font-size: 13px;
  color: var(--pab-muted);
}

.pab-welcome-banner__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: var(--pab-muted);
  line-height: 1;
}

/* —— Cards / steps —— */
.pab-wizard-step {
  display: none;
}

.pab-wizard-step.is-active {
  display: block;
}

.pab-card {
  background: var(--pab-card);
  border-radius: var(--pab-radius);
  box-shadow: 0 1px 3px rgba(0, 42, 96, 0.06);
  padding: 22px 20px;
  margin-bottom: 16px;
}

.pab-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--pab-text);
}

.pab-card__sub {
  font-size: 14px;
  color: var(--pab-muted);
  margin: 0 0 20px;
}

.pab-field-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.pab-field-row > * {
  flex: 1;
  min-width: 0;
}

.pab-field {
  margin-bottom: 14px;
}

.pab-field label,
.pab-survey-wizard .form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--pab-text);
}

.pab-survey-wizard .required,
.pab-req {
  color: var(--pab-danger);
  font-weight: 700;
}

.pab-survey-wizard .form-control,
.pab-survey-wizard .form-select,
.pab-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--pab-border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 16px;
  background: #fff;
  color: var(--pab-text);
}

.pab-survey-wizard .form-control:focus,
.pab-survey-wizard .form-select:focus,
.pab-input:focus {
  border-color: var(--pab-teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 163, 193, 0.15);
}

.pab-field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.pab-credit-info-link {
  font-size: 13px;
  color: var(--pab-teal);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}

/* Credit type radios — separate rounded cards (mockup) */
.pab-credit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.pab-credit-option {
  margin: 0;
  background: #fff;
  border: 1.5px solid var(--pab-border);
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pab-credit-option:last-child {
  border-bottom: 1.5px solid var(--pab-border);
}

.pab-credit-option label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 500;
  margin: 0;
  font-size: 14px;
  color: var(--pab-text);
}

.pab-credit-option__text {
  line-height: 1.35;
}

.pab-credit-option input {
  margin: 0;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--pab-navy);
}

.pab-credit-option.is-selected {
  background: #fff;
  border-color: var(--pab-navy);
  box-shadow: 0 0 0 1px var(--pab-navy);
}

.pab-credit-option--other.is-selected {
  background: #f7fafc;
}

.pab-other-sub {
  display: none;
  padding: 0 16px 16px 46px;
  background: transparent;
}

.pab-other-sub.is-open {
  display: block;
}

.pab-other-sub__intro {
  font-size: 13px;
  color: var(--pab-muted);
  margin: 0 0 10px;
  line-height: 1.4;
}

.pab-other-sub .form-select {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--pab-border);
  font-size: 14px;
  background-color: #fff;
}

.pab-attend-toggles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pab-field--how-attended .pab-attend-toggles--mode {
  max-width: 420px;
}

.pab-attend-toggle {
  border: 1.5px solid var(--pab-border);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background: #fff;
  color: var(--pab-muted);
  margin: 0;
}

.pab-attend-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pab-attend-toggle.is-selected {
  border-color: var(--pab-navy);
  background: #f5f8fc;
  box-shadow: 0 0 0 1px var(--pab-navy);
  color: var(--pab-navy);
}

.pab-optout {
  margin-top: 8px;
  font-size: 13px;
  color: var(--pab-muted);
}

.pab-optout .form-check-input {
  accent-color: var(--pab-navy);
}

.pab-acpe-fields {
  display: none;
  margin-top: 8px;
  padding: 14px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid var(--pab-border);
}

.pab-acpe-fields.is-open {
  display: block;
}

.pab-acpe-warning {
  display: none;
  background: #fdecea;
  color: #922b21;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 12px;
}

.pab-acpe-warning.is-visible {
  display: block;
}

.pab-acpe-blocked-dialog {
  text-align: center;
  max-width: 420px;
}

.pab-acpe-blocked-icon {
  width: 52px;
  height: 52px;
  margin: 4px auto 14px;
  border-radius: 50%;
  background: #fdecea;
  color: #c0392b;
  font-size: 28px;
  font-weight: 700;
  line-height: 52px;
}

.pab-acpe-blocked-dialog .pab-modal__sub {
  margin-bottom: 8px;
  line-height: 1.45;
}

#pab-acpe-blocked-modal .pab-modal__actions.pab-acpe-blocked-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

#pab-acpe-blocked-modal .pab-acpe-blocked-actions .pab-modal__primary {
  width: auto;
  min-width: 220px;
  max-width: 100%;
  margin: 0 auto;
}

/* Credentials autocomplete */
.pab-creds-wrap {
  position: relative;
}

.pab-creds-list {
  display: none;
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: 100%;
  max-height: 240px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--pab-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-top: 4px;
}

.pab-creds-list.is-open {
  display: block;
}

.pab-creds-group {
  padding: 6px 12px 2px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7a8d !important;
  font-weight: 700;
}

.pab-creds-item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: #fff;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: #1a2332 !important;
  line-height: 1.35;
}

.pab-creds-item:hover,
.pab-creds-item.is-active {
  background: #eef5fb;
  color: #1a2332 !important;
}

/* Session cards / Activity evaluation (mockup) */
.pab-eval-shell {
  background: var(--pab-card);
  border-radius: var(--pab-radius);
  box-shadow: 0 1px 3px rgba(0, 42, 96, 0.06);
  padding: 22px 18px 18px;
  margin-bottom: 16px;
}

.pab-eval-intro .pab-card__title {
  margin-bottom: 6px;
}

.pab-eval-intro .pab-card__sub {
  margin-bottom: 18px;
}

.pab-day-switcher {
  display: flex;
  gap: 0;
  overflow-x: auto;
  margin: 0 0 12px;
  padding: 0;
  border-bottom: 1px solid var(--pab-border);
  -webkit-overflow-scrolling: touch;
}

.pab-day-tab {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 10px 16px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--pab-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  gap: 2px;
}

.pab-day-tab.active {
  background: transparent;
  color: var(--pab-navy);
  border-bottom-color: var(--pab-navy);
}

.pab-day-tab small,
.pab-day-tab__date {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
  line-height: 1.2;
}

.pab-day-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--pab-muted);
  flex-wrap: wrap;
}

.pab-day-summary__right {
  font-weight: 600;
  color: var(--pab-text);
}

.pab-eval-sessions .pab-session-card,
.pab-survey-wizard .pab-session-card {
  background: #fff;
  border: 1.5px solid var(--pab-border);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 16px;
  box-shadow: none;
  overflow: hidden;
}

.pab-session-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pab-border);
  background: #fafbfc;
}

.pab-session-card__head-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.pab-session-card__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--pab-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--pab-navy);
  background: #fff;
}

.pab-session-card__info {
  min-width: 0;
}

.pab-session-card__time {
  display: block;
  font-size: 12px;
  color: var(--pab-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.pab-session-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--pab-text);
  line-height: 1.3;
}

.pab-session-card__speaker {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--pab-muted);
}

.pab-ce-pill {
  flex-shrink: 0;
  display: inline-block;
  background: #e8f6f8;
  color: var(--pab-teal);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pab-session-card__attend,
.pab-session-card .pab-attend-toggles {
  max-width: none;
  margin: 14px 16px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pab-attend-toggle {
  border: 1.5px solid var(--pab-border);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background: #fff;
  color: var(--pab-text);
  margin: 0;
}

.pab-attend-toggle.is-selected {
  border-color: var(--pab-navy);
  background: #f5f8fc;
  box-shadow: 0 0 0 1px var(--pab-navy);
  color: var(--pab-navy);
}

.pab-session-body {
  padding: 14px 16px 16px;
}

.pab-agree-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: none;
  border-radius: 10px;
  background: var(--pab-navy);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 16px;
  cursor: pointer;
  margin-bottom: 16px;
}

.pab-agree-all-btn::before {
  content: "✓";
  font-weight: 700;
}

.pab-eval-q {
  margin-bottom: 16px;
}

.pab-eval-q__text {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pab-text);
  line-height: 1.4;
}

.pab-eval-q__n {
  display: inline-block;
  margin-right: 4px;
  color: var(--pab-muted);
}

.pab-seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.pab-seg--2,
.pab-seg:has(.pab-seg__btn:nth-child(2):last-child) {
  grid-template-columns: 1fr 1fr;
}

.pab-seg__btn {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--pab-border);
  border-radius: 8px;
  padding: 10px 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: var(--pab-text);
  text-align: center;
}

.pab-seg__btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pab-seg__btn.is-selected {
  border-color: var(--pab-navy);
  background: #f0f5fb;
  color: var(--pab-navy);
  box-shadow: 0 0 0 1px var(--pab-navy);
}

.pab-concurrent {
  padding: 14px 16px 16px;
}

.pab-concurrent__label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--pab-muted);
  margin: 0 0 10px;
}

.pab-concurrent__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pab-concurrent-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1.5px solid var(--pab-border);
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
}

.pab-concurrent-card.is-selected {
  border-color: var(--pab-navy);
  box-shadow: 0 0 0 1px var(--pab-navy);
  background: #f7fafc;
}

.pab-concurrent.pab-field-error {
  border: 1px solid #c0392b;
  border-radius: 10px;
  background: #fff8f7;
}

.pab-concurrent.pab-field-error .pab-concurrent__label {
  color: #c0392b;
}

.pab-concurrent.pab-field-error .pab-concurrent-card {
  border-color: #d98279;
}

.pab-concurrent-card input {
  margin-top: 3px;
  accent-color: var(--pab-navy);
  flex-shrink: 0;
}

.pab-concurrent-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.pab-concurrent-card__title {
  display: block;
  width: 100%;
  font-size: 14px;
  font-weight: 700;
  color: var(--pab-text);
}

.pab-concurrent-card__speaker {
  font-size: 12px;
  color: var(--pab-muted);
}

.pab-concurrent-card__ce {
  margin-left: auto;
}

.pab-lo-block {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--pab-border);
}

.pab-lo-block__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.pab-lo-block__title {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--pab-muted);
}

.pab-lo-agree-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--pab-navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  cursor: pointer;
}

.pab-lo-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pab-lo-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1.5px solid var(--pab-border);
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
}

.pab-lo-card.is-selected,
.pab-lo-card.is-checked {
  border-color: var(--pab-navy);
  background: #f7fafc;
}

.pab-lo-card input.pab-lo-check {
  margin-top: 2px;
  accent-color: var(--pab-navy);
  flex-shrink: 0;
}

.pab-lo-card__text {
  font-size: 13px;
  line-height: 1.4;
  color: var(--pab-text);
}

/* Hide legacy part tabs when wizard day switcher is present */
.pab-survey-wizard .nav-tabs {
  display: none !important;
}

@media (max-width: 575px) {
  .pab-seg {
    grid-template-columns: 1fr 1fr;
  }

  .pab-eval-shell {
    padding: 16px 12px 12px;
  }

  .pab-session-card__attend,
  .pab-session-card .pab-attend-toggles {
    grid-template-columns: 1fr;
  }
}

/* Review */
.pab-review-ce {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3d2d7a 0%, #1e5f84 55%, #2c7da5 100%);
  color: #fff;
  margin-bottom: 8px;
}

.pab-review-ce__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.pab-review-ce__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.95;
}

.pab-review-ce__hint {
  font-size: 12.5px;
  opacity: 0.8;
  line-height: 1.35;
}

.pab-review-ce__amount {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  color: #fff;
}

.pab-review-ce__amount span {
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.9;
}

.pab-review-ce__label {
  font-size: 14px;
  color: var(--pab-muted);
}

.pab-review-rows {
  margin-top: 16px;
}

.pab-review-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--pab-border);
  font-size: 14px;
}

.pab-review-row span:first-child {
  color: var(--pab-muted);
}

/* Attestation: keep checkbox + “I agree” on one baseline */
#partner-activity-survey-form .pab-block-attestation .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 0;
  min-height: 0;
  margin-bottom: 0;
}

#partner-activity-survey-form .pab-block-attestation .form-check-input {
  float: none;
  margin: 0;
  position: static;
  flex-shrink: 0;
  width: 1.15em;
  height: 1.15em;
  accent-color: var(--pab-navy);
}

#partner-activity-survey-form .pab-block-attestation .form-check-label {
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

.pab-validation-list {
  display: none;
  background: #fff;
  border: 1.5px solid var(--pab-border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.pab-validation-list.is-visible {
  display: block;
}

.pab-validation-list h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--pab-text);
}

.pab-validation-list__sub {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--pab-muted);
  line-height: 1.5;
}

.pab-validation-list a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--pab-text);
  font-size: 14px;
  margin: 8px 0 0;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid var(--pab-border);
  border-radius: 12px;
  padding: 11px 13px;
  background: #fff;
}

.pab-validation-list a span {
  font-size: 12.5px;
  font-weight: 600;
  color: #c0413c;
}

/* Incomplete submission modal (reference “Before you submit”) */
.pab-incomplete-dialog {
  width: min(380px, calc(100vw - 32px));
}

.pab-incomplete-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 4px;
}

.pab-incomplete-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border: 1.5px solid var(--pab-border);
  background: #fff;
  border-radius: 12px;
  padding: 11px 13px;
}

.pab-incomplete-item:hover,
.pab-incomplete-item:focus {
  border-color: var(--pab-navy);
  outline: none;
}

.pab-incomplete-item__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pab-incomplete-item__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--pab-text);
}

.pab-incomplete-item__reason {
  font-size: 12.5px;
  font-weight: 600;
  color: #c0413c;
  line-height: 1.35;
}

.pab-incomplete-item__chev {
  flex: 0 0 auto;
  color: var(--pab-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

#pab-incomplete-modal .pab-modal__actions {
  justify-content: stretch;
}

#pab-incomplete-modal .pab-modal__primary {
  width: 100%;
}

/* Sticky footer — mockup: light bar + navy Continue */
.pab-survey-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  padding: 12px 16px;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0, 24, 64, 0.1);
  border-top: 1px solid var(--pab-border);
}

.pab-survey-footer__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.pab-btn-back {
  background: transparent;
  border: none;
  color: var(--pab-navy);
  border-radius: 10px;
  padding: 12px 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  min-width: 72px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pab-btn-continue,
.pab-btn-submit {
  background: var(--pab-navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 36px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  flex: 1;
  max-width: 520px;
}

.pab-btn-continue:disabled,
.pab-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pab-btn-back.is-hidden {
  display: none;
}

/* Hide original submit button — footer drives submit */
#partner-activity-survey-form .pab-legacy-submit-wrap {
  display: none !important;
}

/* Modals */
.pab-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 20, 40, 0.55);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pab-modal.is-open {
  display: flex;
}

.pab-modal__dialog {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow: auto;
  padding: 24px 22px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.pab-modal__dialog--wide {
  max-width: 560px;
}

.pab-modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
  text-align: center;
  color: var(--pab-navy);
}

.pab-modal__sub {
  font-size: 14px;
  color: var(--pab-muted);
  text-align: center;
  margin: 0 0 18px;
}

.pab-modal__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.pab-modal__cancel {
  background: none;
  border: none;
  color: var(--pab-muted);
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}

.pab-modal__primary {
  background: var(--pab-navy);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
}

.pab-modal__close-full {
  display: block;
  width: 100%;
  background: var(--pab-navy);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px;
  font-weight: 700;
  margin-top: 16px;
  cursor: pointer;
}

/* How this works (help) modal — mockup */
.pab-help-dialog {
  max-width: 400px;
  width: calc(100% - 32px);
  text-align: center;
  padding: 28px 24px 24px;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 24, 64, 0.22);
}

.pab-help-logo {
  margin: 0 auto 6px;
  width: 140px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pab-help-modal .pab-help-logo img,
.pab-help-logo img {
  width: 140px !important;
  max-width: 140px !important;
  height: auto !important;
  max-height: none !important;
  display: block !important;
  object-fit: contain !important;
}

.pab-help-dialog .pab-modal__title {
  margin: 0 0 18px;
  padding-top: 0;
  font-size: 22px !important;
  font-weight: 700;
  color: #1a2332;
  line-height: 1.25;
  text-transform: none !important;
  letter-spacing: 0;
}

.pab-help-sections {
  text-align: center;
}

.pab-help-section {
  margin-bottom: 16px;
}

.pab-help-section:last-child {
  margin-bottom: 2px;
}

.pab-help-section h4 {
  margin: 0 0 6px;
  font-size: 14px !important;
  font-weight: 700;
  color: #1a2332;
  line-height: 1.35;
  text-transform: none !important;
  letter-spacing: 0;
}

.pab-help-section p {
  margin: 0 auto;
  max-width: 34em;
  font-size: 13px !important;
  line-height: 1.45;
  color: #5a6a7d;
  text-transform: none !important;
}

.pab-help-dialog .pab-modal__close-full {
  display: block;
  width: 100%;
  margin-top: 20px;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  background: #002a60;
  color: #fff;
  cursor: pointer;
  text-transform: none;
}

.pab-help-dialog .pab-modal__close-full:hover,
.pab-help-dialog .pab-modal__close-full:focus {
  background: #001f47;
  outline: none;
}

.pab-credit-accordion {
  border: 1px solid var(--pab-border);
  border-radius: 10px;
  overflow: hidden;
  max-height: 50vh;
  overflow-y: auto;
}

.pab-credit-acc-item {
  border-bottom: 1px solid var(--pab-border);
}

.pab-credit-acc-item:last-child {
  border-bottom: none;
}

.pab-credit-acc-head {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.pab-credit-acc-head strong {
  display: block;
  font-size: 14px;
  color: var(--pab-text);
}

.pab-credit-acc-head span {
  font-size: 12px;
  color: var(--pab-muted);
}

.pab-credit-acc-head:hover,
.pab-credit-acc-head:focus {
  background: var(--pab-navy);
  color: #fff;
  outline: none;
}

.pab-credit-acc-head:hover strong,
.pab-credit-acc-head:hover span,
.pab-credit-acc-head:focus strong,
.pab-credit-acc-head:focus span {
  color: #fff;
}

.pab-credit-acc-body {
  display: none;
  padding: 0 16px 14px;
  font-size: 13px;
  color: #445;
}

.pab-credit-acc-item.is-open .pab-credit-acc-body {
  display: block;
}

.pab-credit-acc-body h6 {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #6b4c9a;
  margin: 10px 0 4px;
  font-weight: 700;
}

.pab-input-icon {
  position: relative;
}

.pab-input-icon svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
  pointer-events: none;
}

.pab-input-icon input {
  padding-left: 40px;
}

/* Knowledge check score panel */
.pab-quiz-score {
  display: none;
  margin: 16px 0;
  padding: 16px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--pab-border);
}

.pab-quiz-score.is-visible {
  display: block;
}

.pab-quiz-score.is-pass {
  border-color: #2ecc71;
  background: #eafaf1;
}

.pab-quiz-score.is-fail {
  border-color: #e74c3c;
  background: #fdecea;
}

/* Mobile 360px */
@media (max-width: 575px) {
  .pab-survey-header__title {
    font-size: 1.2rem;
  }

  .pab-field-row {
    flex-direction: column;
    gap: 0;
  }

  .pab-attend-toggles {
    grid-template-columns: 1fr;
  }

  .pab-card {
    padding: 18px 14px;
  }

  .pab-survey-wizard .col-md-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .pab-btn-continue,
  .pab-btn-submit {
    max-width: none;
  }
}

/* Hide practice-setting era fields if any leftover */
.pab-legacy-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Step incomplete banner (mockup) */
.pab-step-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fdecea;
  border: 1px solid #f0b4ae;
  color: #9b2c24;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.pab-step-alert__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #c0392b;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.pab-field-error .form-control,
.pab-field-error textarea,
.pab-field-error select {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 1px rgba(192, 57, 43, 0.15);
}

.pab-field-error-msg {
  margin: 6px 0 0;
  color: #c0392b;
  font-size: 12.5px;
  font-weight: 600;
}

/* Confirm your claim modal — exact mockup */
#pab-confirm-modal.pab-modal--confirm {
  background: rgba(8, 28, 52, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 20px;
}

.pab-confirm-dialog {
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 36px 28px 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 16, 40, 0.28);
  overflow: visible;
}

#pab-confirm-modal .pab-modal__title,
#pab-confirm-modal #pab-confirm-title {
  margin: 0 0 12px;
  padding: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
  text-align: center;
}

.pab-confirm-mark {
  margin: 0 auto 16px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pab-confirm-mark img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}

.pab-confirm-ce {
  margin: 0 0 8px;
  padding: 0;
  font-size: 40px;
  font-weight: 800;
  color: #002a60;
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
}

.pab-confirm-credit {
  margin: 0 0 22px;
  padding: 0;
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.pab-confirm-email-box {
  background: #f3f4f6;
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  display: block;
}

.pab-confirm-email-box__label {
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
}

.pab-confirm-email-box__email,
.pab-confirm-email-box strong {
  display: block;
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  word-break: break-word;
  line-height: 1.35;
}

.pab-confirm-email-box__hint {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: #9ca3af;
  line-height: 1.45;
}

#pab-confirm-modal .pab-modal__actions.pab-confirm-actions,
.pab-confirm-actions {
  margin-top: 22px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  gap: 12px;
  width: 100%;
}

.pab-confirm-btn {
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-sizing: border-box;
  font-family: inherit;
}

.pab-confirm-btn--ghost {
  background: #fff;
  border: 1.5px solid #002a60;
  color: #002a60;
}

.pab-confirm-btn--ghost:hover {
  background: #f8fafc;
}

.pab-confirm-btn--solid {
  background: #002a60;
  border: 1.5px solid #002a60;
  color: #fff;
}

.pab-confirm-btn--solid:hover {
  background: #001f47;
  border-color: #001f47;
}

/* Knowledge check option cards */
.pab-survey-wizard .mcq-question-block {
  margin-bottom: 22px;
}

.pab-survey-wizard .mcq-question-block > .form-label {
  font-weight: 700;
  color: var(--pab-text);
  margin-bottom: 10px;
}

.pab-survey-wizard .mcq-question-block .form-check {
  border: 1.5px solid var(--pab-border);
  border-radius: 12px;
  padding: 12px 14px 12px 40px;
  margin: 0 0 8px;
  background: #fff;
}

.pab-survey-wizard .mcq-question-block .form-check:has(input:checked) {
  border-color: var(--pab-navy);
  box-shadow: 0 0 0 1px var(--pab-navy);
}

.pab-survey-wizard .mcq-question-block .form-check-input {
  margin-top: 0.2em;
}

/* You're certified page */
.pab-certified-page {
  background: var(--pab-bg);
  min-height: 100vh;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--pab-text);
}

.pab-certified-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 16px 56px;
}

.pab-certified-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 8px 28px rgba(0, 24, 64, 0.08);
  text-align: center;
}

.pab-certified-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.pab-certified-status h2 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--pab-navy);
}

.pab-certified-lead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--pab-text);
  margin: 0 auto 14px;
  max-width: 36rem;
}

.pab-certified-score {
  margin: 0 0 12px;
}

.pab-certified-info {
  background: var(--pab-info);
  border-left: 4px solid var(--pab-info-border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0 auto 20px;
  max-width: 36rem;
  text-align: left;
}

.pab-cert-preview {
  margin: 8px auto 22px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.pab-cert-preview--clean {
  max-width: 560px;
  width: 100%;
  margin: 8px auto 24px;
  background: transparent;
  border: none;
  box-shadow: none;
  aspect-ratio: auto;
  min-height: 0;
  overflow: visible;
}

.pab-cert-preview__pages {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.pab-cert-preview__sheet {
  width: auto;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--pab-border);
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 24, 64, 0.1);
  overflow: hidden;
  line-height: 0;
  text-align: center;
}

.pab-cert-preview__canvas {
  display: block;
  /* Do not stretch bitmap; JS sets exact style width/height */
  max-width: none;
  vertical-align: top;
  background: #fff;
}

.pab-cert-preview__loading {
  margin: 24px 0;
  font-size: 14px;
  color: var(--pab-muted);
  text-align: center;
}

/* Legacy PDF iframe preview (unused) */
.pab-cert-preview--pdf {
  width: 100%;
  max-width: 560px;
  margin: 8px auto 24px;
  border: 1px solid var(--pab-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 24, 64, 0.08);
  aspect-ratio: 8.5 / 11;
  min-height: 420px;
}

.pab-cert-preview__frame {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
  background: #fff;
}

.pab-cert-preview__brand {
  font-size: 12px;
  font-weight: 700;
  color: var(--pab-teal);
  margin-bottom: 10px;
}

.pab-cert-preview__title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2c7da5;
  margin-bottom: 14px;
  line-height: 1.35;
}

.pab-cert-preview__name {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.pab-cert-preview__body {
  font-size: 12.5px;
  color: var(--pab-muted);
  line-height: 1.45;
  margin: 0 0 12px;
}

.pab-cert-preview__meta {
  font-size: 11px;
  color: var(--pab-muted);
  border-top: 1px solid var(--pab-border);
  padding-top: 10px;
}

.pab-certified-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.pab-certified-btn {
  flex: 1 1 160px;
  text-align: center;
  text-decoration: none !important;
  border-radius: 10px;
  padding: 13px 16px;
  font-weight: 700;
  font-size: 14px;
}

.pab-certified-btn--ghost {
  border: 1.5px solid var(--pab-navy);
  color: var(--pab-navy) !important;
  background: #fff;
}

.pab-certified-btn--solid {
  background: var(--pab-navy);
  color: #fff !important;
  border: 1.5px solid var(--pab-navy);
}

.pab-certified-dash-link {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--pab-muted);
  text-align: center;
}

.pab-certified-dash-link a {
  color: var(--pab-navy);
  font-weight: 600;
}

.pab-certified-support {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--pab-muted);
  text-align: center;
}

@media (max-width: 640px) {
  .pab-certified-card {
    padding: 24px 16px;
  }

  .pab-cert-preview--clean {
    max-width: 100%;
  }
}

body.page-template-thank-you-page,
body.page-template-templates-thank-you-page-php {
  background: var(--pab-bg) !important;
}

/* Thank-you is trapped in Astra's flex .ast-container (space-between) — force full-width center */
body.page-template-thank-you-page .ast-container,
body.page-template-thank-you-page #content,
body.page-template-thank-you-page #primary,
body.page-template-thank-you-page .site-content,
body.page-template-thank-you-page .entry-content,
body.page-template-thank-you-page article,
body.page-template-templates-thank-you-page-php .ast-container,
body.page-template-templates-thank-you-page-php #content,
body.page-template-templates-thank-you-page-php #primary,
body.page-template-templates-thank-you-page-php .site-content,
body.page-template-templates-thank-you-page-php .entry-content,
body.page-template-templates-thank-you-page-php article {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-content: initial !important;
  align-items: initial !important;
}

body.page-template-thank-you-page .pab-certified-page,
body.page-template-templates-thank-you-page-php .pab-certified-page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  display: block !important;
  box-sizing: border-box;
}

body.page-template-thank-you-page .pab-certified-body,
body.page-template-templates-thank-you-page-php .pab-certified-body {
  width: 100%;
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  display: block !important;
}

body.page-template-thank-you-page .pab-certified-card,
body.page-template-templates-thank-you-page-php .pab-certified-card {
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100%;
  box-sizing: border-box;
}

body.page-template-thank-you-page .pab-survey-header,
body.page-template-thank-you-page .pab-certified-header,
body.page-template-templates-thank-you-page-php .pab-survey-header,
body.page-template-templates-thank-you-page-php .pab-certified-header {
  width: 100% !important;
}

/* Avoid double section titles inside wizard step cards */
[data-wizard-step="quiz"] .pab-block-quiz > h5,
[data-wizard-step="reflection"] .pab-block-reflection > h5:first-child,
[data-wizard-step="feedback"] .pab-block-feedback > h5:first-child {
  display: none;
}

@media (max-width: 560px) {
  .pab-review-ce {
    flex-direction: column;
    align-items: flex-start;
  }

  .pab-confirm-actions {
    flex-direction: column-reverse;
  }

  .pab-confirm-btn {
    width: 100%;
    height: 56px;
    min-height: 56px;
    padding: 14px;
    line-height: 1.2;
  }
}

