.bcmc-widget,
.bcmc-widget * ,
.bcmc-widget *::before,
.bcmc-widget *::after {
  box-sizing: border-box;
}

.bcmc-widget {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.55;
}

.bcmc-widget .bcmc-wrap {
  max-width: 1060px;
  margin: 32px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(51, 71, 122, .13), 0 1px 4px rgba(0, 0, 0, .06);
  overflow: hidden;
}

.bcmc-widget .bcmc-header {
  background: #33477A;
  padding: 28px 36px 18px;
  text-align: center;
}

.bcmc-widget .bcmc-header h1 {
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
  max-width: none;
  margin: 0 auto 10px;
  white-space: nowrap;
}

.bcmc-widget .bcmc-header p {
  color: rgba(255, 255, 255, .78);
  font-size: 1.23rem;
  line-height: 1.35;
  margin: 0;
}

.bcmc-widget .bcmc-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 840px;
  margin: 0 auto;
  padding: 14px 0 0;
  background: transparent;
}

.bcmc-widget .bcmc-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  flex: 1;
  max-width: 130px;
}

.bcmc-widget .bcmc-step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .72);
  transition: all .25s;
  position: relative;
  z-index: 1;
}

.bcmc-widget .bcmc-step-circle.is-active,
.bcmc-widget .bcmc-step-circle.is-done {
  border-color: #FFC107;
}

.bcmc-widget .bcmc-step-circle.is-active {
  background: #FFC107;
  color: #1a1a1a;
}

.bcmc-widget .bcmc-step-circle.is-done {
  background: rgba(255, 193, 7, .12);
  color: #FFC107;
}

.bcmc-widget .bcmc-step-label {
  font-size: .66rem;
  color: rgba(255, 255, 255, .68);
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
}

.bcmc-widget .bcmc-step-label.is-active {
  color: #FFC107;
}

.bcmc-widget .bcmc-step-connector {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, .3);
  margin-bottom: 19px;
  transition: background .25s;
}

.bcmc-widget .bcmc-step-connector.is-done {
  background: #FFC107;
}

.bcmc-widget .bcmc-body {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 0;
  padding: 28px 36px 32px;
}

.bcmc-widget .bcmc-left {
  padding-right: 32px;
  border-right: 1.5px solid #edf0f7;
}

.bcmc-widget .bcmc-right {
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bcmc-widget .bcmc-field {
  margin-bottom: 24px;
}

.bcmc-widget .bcmc-current-field .bcmc-revenue-input {
  font-size: 1rem;
}

.bcmc-widget .bcmc-current-field .bcmc-revenue-input::placeholder {
  color: #9aa0b8;
  font-weight: 600;
}

.bcmc-widget .bcmc-current-field .bcmc-revenue-prefix {
  background: #fff9df;
}

.bcmc-widget .bcmc-salary-toggle-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-top: 7px;
}

.bcmc-widget .bcmc-salary-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin: 0;
  color: #33477A;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}

.bcmc-widget .bcmc-salary-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #33477A;
  cursor: pointer;
  flex: 0 0 auto;
}

.bcmc-widget .bcmc-tooltip-trigger {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  padding: 0;
  border: 1px solid #98A2C1;
  border-radius: 50%;
  background: #fff;
  color: #33477A;
  font: 800 .68rem/1 Arial, sans-serif;
  cursor: help;
}

.bcmc-widget .bcmc-tooltip-trigger:hover,
.bcmc-widget .bcmc-tooltip-trigger:focus,
.bcmc-widget .bcmc-tooltip-trigger:focus-visible {
  border-color: #33477A;
  background: #F3F5FB;
  outline: none;
}

.bcmc-widget .bcmc-salary-assumption {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  width: max-content;
  max-width: min(320px, calc(100vw - 64px));
  padding: 8px 10px;
  border-radius: 4px;
  background: #18233F;
  box-shadow: 0 6px 18px rgba(24, 35, 63, .2);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-3px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}

.bcmc-widget .bcmc-tooltip-trigger:hover + .bcmc-salary-assumption,
.bcmc-widget .bcmc-tooltip-trigger:focus + .bcmc-salary-assumption,
.bcmc-widget .bcmc-tooltip-trigger:focus-visible + .bcmc-salary-assumption {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bcmc-widget .bcmc-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: #33477A;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 9px;
}

.bcmc-widget .bcmc-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #9aa0b8;
  font-size: .78rem;
  margin-left: 5px;
}

.bcmc-widget .bcmc-revenue-row {
  display: flex;
  align-items: center;
  border: 2px solid #d0d5e4;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s;
  background: #fff;
}

.bcmc-widget .bcmc-revenue-row:focus-within {
  border-color: #33477A;
}

.bcmc-widget .bcmc-revenue-prefix {
  padding: 0 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #33477A;
  background: #f0f3fa;
  align-self: stretch;
  display: flex;
  align-items: center;
  border-right: 1.5px solid #d0d5e4;
}

.bcmc-widget .bcmc-revenue-input {
  border: none;
  outline: none;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  padding: 11px 14px;
  width: 100%;
  background: transparent;
}

.bcmc-widget .bcmc-slider-wrap {
  margin-top: 10px;
  position: relative;
}

.bcmc-widget input[type=range].bcmc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, #33477A 0%, #33477A var(--pct, 30%), #d0d5e4 var(--pct, 30%), #d0d5e4 100%);
  outline: none;
  cursor: pointer;
}

.bcmc-widget .bcmc-slider-notches {
  position: relative;
  height: 34px;
  margin: 3px 11px 0;
}

.bcmc-widget .bcmc-slider-notch {
  position: absolute;
  top: 0;
  width: 52px;
  min-height: 32px;
  padding: 10px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #9aa0b8;
  font-family: inherit;
  font-size: .64rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transform: translateX(-50%);
  transition: color .15s ease;
}

.bcmc-widget .bcmc-slider-notch:nth-child(1) { left: 0; transform: none; text-align: left; }
.bcmc-widget .bcmc-slider-notch:nth-child(2) { left: 20%; }
.bcmc-widget .bcmc-slider-notch:nth-child(3) { left: 40%; }
.bcmc-widget .bcmc-slider-notch:nth-child(4) { left: 60%; }
.bcmc-widget .bcmc-slider-notch:nth-child(5) { left: 80%; }
.bcmc-widget .bcmc-slider-notch:nth-child(6) { left: 100%; transform: translateX(-100%); text-align: right; }

.bcmc-widget .bcmc-slider-notch-mark {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 7px;
  border-radius: 1px;
  background: #b8bfd0;
  transform: translateX(-50%);
  transition: height .15s ease, background .15s ease;
}

.bcmc-widget .bcmc-slider-notch:first-child .bcmc-slider-notch-mark { left: 0; transform: none; }
.bcmc-widget .bcmc-slider-notch:last-child .bcmc-slider-notch-mark { left: 100%; transform: translateX(-100%); }

.bcmc-widget .bcmc-slider-notch:hover,
.bcmc-widget .bcmc-slider-notch:focus-visible,
.bcmc-widget .bcmc-slider-notch.is-active {
  color: #33477A;
}

.bcmc-widget .bcmc-slider-notch:hover .bcmc-slider-notch-mark,
.bcmc-widget .bcmc-slider-notch:focus-visible .bcmc-slider-notch-mark,
.bcmc-widget .bcmc-slider-notch.is-active .bcmc-slider-notch-mark {
  height: 9px;
  background: #FFC107;
}

.bcmc-widget .bcmc-slider-notch:focus-visible {
  outline: 2px solid #33477A;
  outline-offset: 2px;
}

.bcmc-widget input[type=range].bcmc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFC107;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(255, 193, 7, .45);
  cursor: pointer;
  transition: transform .15s;
}

.bcmc-widget input[type=range].bcmc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.bcmc-widget input[type=range].bcmc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFC107;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(255, 193, 7, .45);
  cursor: pointer;
}

.bcmc-widget .bcmc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bcmc-widget .bcmc-pill {
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 12px;
  border: 2px solid #d0d5e4;
  border-radius: 8px;
  background: #fff;
  color: #4a5270;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all .18s;
  line-height: 1.3;
  user-select: none;
  font-family: inherit;
}

.bcmc-widget .bcmc-pill:hover {
  border-color: #33477A;
  color: #33477A;
  background: #f0f3fa;
}

.bcmc-widget .bcmc-pill.is-active {
  background: #33477A;
  border-color: #33477A;
  color: #fff;
}

.bcmc-widget .bcmc-pill-sub {
  display: block;
  font-size: .68rem;
  font-weight: 400;
  opacity: .82;
  margin-top: 2px;
  white-space: normal;
}

.bcmc-widget .bcmc-select-wrap {
  position: relative;
}

.bcmc-widget .bcmc-select-wrap::after {
  content: "\25BE";
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #33477A;
  pointer-events: none;
  font-size: .9rem;
}

.bcmc-widget .bcmc-niche-wrap::after {
  content: "";
}

.bcmc-widget .bcmc-select,
.bcmc-widget .bcmc-text-input {
  width: 100%;
  padding: 11px 36px 11px 13px;
  border: 2px solid #d0d5e4;
  border-radius: 10px;
  font-size: .9rem;
  color: #1a1a1a;
  background: #fff;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s;
  font-family: inherit;
}

.bcmc-widget .bcmc-select:focus,
.bcmc-widget .bcmc-text-input:focus {
  border-color: #33477A;
}

.bcmc-widget .bcmc-text-input {
  padding-right: 13px;
  margin-top: 8px;
}

.bcmc-widget .bcmc-niche-input {
  margin-top: 0;
  padding-right: 13px;
}

.bcmc-widget .bcmc-niche-help {
  font-size: .75rem;
  color: #7a82a0;
  line-height: 1.45;
  margin-top: 7px;
}

.bcmc-widget .bcmc-niche-meta {
  margin-top: 10px;
  border: 1.5px solid #edf0f7;
  border-radius: 10px;
  background: #f7f9ff;
  padding: 10px 12px;
}

.bcmc-widget .bcmc-niche-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .76rem;
  color: #4a5270;
  margin-bottom: 6px;
}

.bcmc-widget .bcmc-niche-meta-row:last-of-type {
  margin-bottom: 0;
}

.bcmc-widget .bcmc-niche-meta-row strong {
  color: #33477A;
  font-size: .78rem;
  text-align: right;
}

.bcmc-widget .bcmc-niche-channels {
  color: #7a82a0;
  font-size: .72rem;
  line-height: 1.45;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #edf0f7;
}

.bcmc-widget .bcmc-update-btn {
  width: 100%;
  padding: 13px;
  background: #33477A;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: background .18s, transform .12s;
  letter-spacing: .02em;
  font-family: inherit;
}

.bcmc-widget .bcmc-update-btn:hover {
  background: #2a3a65;
  transform: translateY(-1px);
}

.bcmc-widget .bcmc-update-btn:active {
  transform: translateY(0);
}

.bcmc-widget .bcmc-results-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 280px;
  text-align: center;
  color: #b0b8d0;
  gap: 14px;
}

.bcmc-widget .bcmc-placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0f3fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
}

.bcmc-widget .bcmc-results-placeholder p {
  font-size: .88rem;
  max-width: 220px;
  margin: 0;
}

.bcmc-widget .bcmc-results {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.bcmc-widget .bcmc-results.is-visible {
  display: flex;
}

.bcmc-widget .bcmc-result-main {
  background: linear-gradient(135deg, #33477A 0%, #2a3a65 100%);
  border-radius: 14px;
  padding: 24px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bcmc-widget .bcmc-result-main::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 193, 7, .12);
}

.bcmc-widget .bcmc-result-main-label {
  color: rgba(255, 255, 255, .75);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.bcmc-widget .bcmc-level-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  position: relative;
  z-index: 1;
}

.bcmc-widget .bcmc-level {
  min-width: 0;
  padding: 13px 8px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.bcmc-widget .bcmc-level.is-average {
  border-color: rgba(255, 193, 7, .75);
  background: rgba(255, 193, 7, .13);
}

.bcmc-widget .bcmc-level-name {
  color: #FFC107;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.bcmc-widget .bcmc-level-value {
  margin-top: 5px;
  color: #fff;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.bcmc-widget .bcmc-level-pct {
  margin-top: 5px;
  color: rgba(255, 255, 255, .72);
  font-size: .68rem;
  white-space: nowrap;
}

.bcmc-widget .bcmc-level-purpose {
  margin-top: 9px;
  color: rgba(255, 255, 255, .9);
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.25;
}

.bcmc-widget .bcmc-comparison,
.bcmc-widget .bcmc-insights {
  border: 1.5px solid #edf0f7;
  border-radius: 12px;
  padding: 16px 18px;
}

.bcmc-widget .bcmc-comparison {
  background: #f7f9ff;
}

.bcmc-widget .bcmc-insights {
  background: #fff;
}

.bcmc-widget .bcmc-comparison-title,
.bcmc-widget .bcmc-insights-title {
  font-size: .75rem;
  font-weight: 700;
  color: #33477A;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.bcmc-widget .bcmc-spend-comparison {
  margin-bottom: 12px;
}

.bcmc-widget .bcmc-spend-comparison-label {
  font-size: .72rem;
  color: #7a82a0;
  margin-bottom: 2px;
}

.bcmc-widget .bcmc-spend-comparison-value {
  color: #33477A;
  font-size: 1.22rem;
  line-height: 1.2;
  font-weight: 800;
}

.bcmc-widget .bcmc-comparison-note {
  font-size: .75rem;
  color: #7a82a0;
  margin-top: 8px;
  line-height: 1.5;
}

.bcmc-widget .bcmc-insight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: .84rem;
  color: #2a2f45;
  line-height: 1.5;
}

.bcmc-widget .bcmc-insight-item:last-child {
  margin-bottom: 0;
}

.bcmc-widget .bcmc-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 193, 7, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.bcmc-widget .bcmc-check::before {
  content: "\2713";
  color: #FFC107;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.bcmc-widget .bcmc-cta-block {
  margin-top: 0;
}

.bcmc-widget .bcmc-cta-btn {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: #33477A;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background .18s, transform .12s, box-shadow .18s;
  letter-spacing: 0;
  box-shadow: 0 4px 16px rgba(51, 71, 122, .25);
}

.bcmc-widget .bcmc-cta-btn::after {
  content: " \2192";
}

.bcmc-widget .bcmc-cta-btn:hover {
  background: #2a3a65;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(51, 71, 122, .35);
  color: #fff;
}

.bcmc-widget .bcmc-cta-btn:active {
  transform: translateY(0);
}

.bcmc-widget .bcmc-cta-sub {
  text-align: center;
  font-size: .72rem;
  color: #9aa0b8;
  margin-top: 7px;
}

.bcmc-widget .bcmc-footer {
  border-top: 1.5px solid #edf0f7;
  padding: 14px 36px;
  text-align: center;
  font-size: .72rem;
  color: #9aa0b8;
}

@keyframes bcmc-fadein {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bcmc-widget .bcmc-animate {
  animation: bcmc-fadein .35s ease both;
}

.bcmc-widget .bcmc-badge {
  display: inline-block;
  background: #FFC107;
  color: #1a1a1a;
  font-size: .65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  margin-left: 7px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: .04em;
}

@media (max-width: 767px) {
  .bcmc-widget .bcmc-wrap {
    margin: 20px auto;
    border-radius: 12px;
  }

  .bcmc-widget .bcmc-body {
    grid-template-columns: 1fr;
    padding: 20px 18px 24px;
  }

  .bcmc-widget .bcmc-header {
    padding: 20px 14px 12px;
  }

  .bcmc-widget .bcmc-header h1 {
    font-size: 1.02rem;
    white-space: normal;
  }

  .bcmc-widget .bcmc-header p {
    font-size: .9rem;
  }

  .bcmc-widget .bcmc-progress {
    padding: 10px 0 0;
  }

  .bcmc-widget .bcmc-left {
    padding-right: 0;
    border-right: none;
    border-bottom: 1.5px solid #edf0f7;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .bcmc-widget .bcmc-right {
    padding-left: 0;
  }

  .bcmc-widget .bcmc-footer {
    padding: 14px 18px;
  }
}

@media (max-width: 480px) {
  .bcmc-widget .bcmc-progress {
    padding-left: 10px;
    padding-right: 10px;
  }

  .bcmc-widget .bcmc-step-label {
    font-size: .58rem;
  }

  .bcmc-widget .bcmc-step-circle {
    width: 26px;
    height: 26px;
  }

  .bcmc-widget .bcmc-step-connector {
    margin-bottom: 17px;
  }

  .bcmc-widget .bcmc-result-main {
    padding: 20px 12px;
  }

  .bcmc-widget .bcmc-level-grid {
    gap: 5px;
  }

  .bcmc-widget .bcmc-level {
    padding: 11px 4px 10px;
  }

  .bcmc-widget .bcmc-level-value {
    font-size: .98rem;
  }

  .bcmc-widget .bcmc-level-pct,
  .bcmc-widget .bcmc-level-purpose {
    font-size: .61rem;
  }
}
