.up23-bfw {
  color: #59626e;
  font-family: "Rubik", sans-serif;
}

.up23-bfw *,
.up23-bfw *::before,
.up23-bfw *::after {
  box-sizing: border-box;
}

.up23-bfw-form,
.up23-bfw-company-panel,
.up23-bfw-grid,
.up23-bfw-option-list,
.up23-bfw-feature-list,
.up23-bfw-cta-actions,
.up23-bfw-tab-nav,
.up23-bfw-tab-panel,
.up23-bfw-choice-grid,
.up23-bfw-offer-grid,
.up23-bfw-repeater,
.up23-bfw-repeater-items,
.up23-bfw-section-head,
.up23-bfw-panel-intro,
.up23-bfw-offer-content,
.up23-bfw-repeater-section {
  display: grid;
}

.up23-bfw-form,
.up23-bfw-company-panel,
.up23-bfw-tab-panel,
.up23-bfw-cta-actions,
.up23-bfw-repeater,
.up23-bfw-repeater-items {
  gap: 30px;
}

.up23-bfw-grid,
.up23-bfw-offer-grid,
.up23-bfw-choice-grid,
.up23-bfw-repeater-section {
  gap: 20px;
}

.up23-bfw-grid-spaced {
  margin-top: 20px;
}

.up23-bfw-option-list,
.up23-bfw-feature-list,
.up23-bfw-section-head,
.up23-bfw-panel-intro,
.up23-bfw-offer-content {
  gap: 10px;
}

.up23-bfw-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.up23-bfw-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.up23-bfw-card,
.up23-bfw-nested-card,
.up23-bfw-offer-card,
.up23-bfw-repeater-item,
.up23-bfw-subcard,
.up23-bfw-repeater-section {
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  padding: 30px;
}

.up23-bfw-card h3,
.up23-bfw-card h4,
.up23-bfw-offer-card h4,
.up23-bfw-repeater-item h4,
.up23-bfw-section-head h4,
.up23-bfw-panel-intro h4,
.up23-bfw-repeater-item-head strong,
.up23-bfw-choice-card-content strong {
  margin: 0;
  color: #111;
  font-family: "Outfit", sans-serif;
}

.up23-bfw-card > h4,
.up23-bfw-nested-card > h4,
.up23-bfw-subcard > h4,
.up23-bfw-panel-intro h4,
.up23-bfw-section-head h4 {
  margin-bottom: 12px;
}

.up23-bfw-card p,
.up23-bfw-card li,
.up23-bfw-offer-card p,
.up23-bfw-offer-card li,
.up23-bfw-panel-intro p,
.up23-bfw-section-head p,
.up23-bfw-empty-state {
  margin: 0;
}

.up23-bfw-card-head {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.up23-bfw-panel-heading,
.up23-bfw-panel-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.up23-bfw-panel-heading {
  justify-content: flex-start;
}

.up23-bfw-panel-actions {
  justify-content: center;
}

.up23-bfw-logout-link {
  min-height: 38px;
  padding: 8px 16px;
  line-height: 1.2;
}

.up23-bfw-lead,
.up23-bfw-helper-text,
.up23-bfw-section-head p,
.up23-bfw-panel-intro p,
.up23-bfw-empty-state,
.up23-bfw-choice-card-content small {
  color: #59626e;
}

.up23-bfw-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(41, 52, 120, 0.18);
  background: rgba(41, 52, 120, 0.08);
  color: #293478;
  font-size: 13px;
  line-height: 1.2;
}

.up23-bfw-tab-nav-wrap {
  margin: 30px 0;
}

.up23-bfw-tab-nav {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.up23-bfw-tab-panel {
  display: none;
}

.up23-bfw-tab-panel.is-active {
  display: grid;
}

.up23-bfw-form p,
.up23-bfw-repeater-item p {
  margin: 0;
}

.up23-bfw-form p > label,
.up23-bfw-form div > label,
.up23-bfw-form fieldset > label,
.up23-bfw-repeater-item label {
  display: block;
  margin: 10px 0 8px;
  color: #111;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
}

.up23-bfw-form input[type="text"],
.up23-bfw-form input[type="email"],
.up23-bfw-form input[type="url"],
.up23-bfw-form input[type="password"],
.up23-bfw-form input[type="number"],
.up23-bfw-form select {
  width: 100%;
  height: 44px;
  max-height: 44px;
  border: 1px solid var(--bricks-color-zkbvqv);
  border-radius: 0;
  background-color: #ffffff;
  padding: 13px 15px;
  font-family: "Rubik", sans-serif;
  color: var(--bricks-color-bnpffg);
  font-size: 14px;
  line-height: 17.3333px;
  box-shadow: none;
}

.up23-bfw-form textarea,
.up23-bfw-form input[type="file"] {
  width: 100%;
  border: 1px solid var(--bricks-color-zkbvqv);
  border-radius: 0;
  background-color: #ffffff;
  padding: 13px 15px;
  font-family: "Rubik", sans-serif;
  color: var(--bricks-color-bnpffg);
  font-size: 14px;
  line-height: 17.3333px;
  box-shadow: none;
}

.up23-bfw-form input[type="file"] {
  height: 44px;
  max-height: 44px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.up23-bfw-form textarea {
  min-height: 120px;
  resize: vertical;
}

.up23-bfw-form input:focus,
.up23-bfw-form select:focus,
.up23-bfw-form textarea:focus {
  outline: none;
  border-color: #293478;
}

.up23-bfw-button,
.up23-bfw-tab-button,
.up23-bfw-form button,
.up23-bfw-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  border: 1px solid #293478;
  background: #293478;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 25px;
  transition: all 0.3s ease;
  border-radius: 99px;
  line-height: 23.8px;
  font-family: "Rubik", sans-serif;
  cursor: pointer;
}

.up23-bfw-button-secondary,
.up23-bfw-tab-button {
  background: #fff;
  color: #293478;
}

.up23-bfw-button:hover,
.up23-bfw-tab-button:hover,
.up23-bfw-form button:hover,
.up23-bfw-form input[type="submit"]:hover,
.up23-bfw-button:focus,
.up23-bfw-tab-button:focus,
.up23-bfw-form button:focus,
.up23-bfw-form input[type="submit"]:focus {
  background: #1f285c;
  border-color: #1f285c;
  color: #fff;
  outline: none;
}

.up23-bfw-button-secondary:hover,
.up23-bfw-button-secondary:focus {
  background: rgba(41, 52, 120, 0.08);
  border-color: #293478;
  color: #293478;
}

.up23-bfw-tab-button.is-active {
  background: #293478;
  border-color: #293478;
  color: #fff;
}

.up23-bfw-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #59626e;
}

.up23-bfw-checkbox input[type="checkbox"] {
  margin: 4px 0 0;
}

.up23-bfw-checkbox-box {
  gap: 14px;
  padding: 16px 18px;
  background: rgba(41, 52, 120, 0.05);
  border: 1px solid rgba(41, 52, 120, 0.12);
}

.up23-bfw-data-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
}

.up23-bfw-data-item {
  display: grid;
  gap: 5px;
}

.up23-bfw-data-label {
  color: #111;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  line-height: 1.35;
}

.up23-bfw-data-value {
  color: #59626e;
}

.up23-bfw-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.up23-bfw-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(41, 52, 120, 0.16);
  background: rgba(41, 52, 120, 0.06);
  color: #293478;
  font-size: 13px;
  line-height: 1.2;
}

.up23-bfw-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.up23-bfw-choice-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.up23-bfw-choice-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.up23-bfw-choice-card-content {
  display: grid;
  gap: 8px;
  min-height: 100%;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.up23-bfw-choice-card-content small {
  font-size: 13px;
  line-height: 1.4;
}

.up23-bfw-choice-card input:checked + .up23-bfw-choice-card-content {
  border-color: #293478;
  background: rgba(41, 52, 120, 0.06);
  box-shadow: inset 0 0 0 1px #293478;
}

.up23-bfw-offer-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.up23-bfw-offer-card {
  display: grid;
  gap: 16px;
}

.up23-bfw-offer-media {
  overflow: hidden;
}

.up23-bfw-offer-image {
  display: block;
  width: 100%;
  height: auto;
}

.up23-bfw-inline-link {
  color: #293478;
  text-decoration: underline;
}

.up23-bfw-repeater-item {
  display: grid;
  gap: 20px;
}

.up23-bfw-repeater-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.up23-bfw-repeater-actions {
  display: flex;
  justify-content: flex-start;
}

.up23-bfw-repeater-actions .up23-bfw-button {
  flex: 0 0 auto;
}

.up23-bfw-notice {
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #fff;
}

.up23-bfw-notice.success {
  border-color: rgba(13, 124, 62, 0.24);
}

.up23-bfw-notice.error {
  border-color: rgba(171, 33, 33, 0.24);
}

@media (max-width: 991px) {
  .up23-bfw-grid-3,
  .up23-bfw-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .up23-bfw-grid-2,
  .up23-bfw-grid-3,
  .up23-bfw-choice-grid,
  .up23-bfw-offer-grid {
    grid-template-columns: 1fr;
  }

  .up23-bfw-card,
  .up23-bfw-nested-card,
  .up23-bfw-offer-card,
  .up23-bfw-repeater-item,
  .up23-bfw-subcard,
  .up23-bfw-repeater-section {
    padding: 22px;
  }

  .up23-bfw-repeater-actions,
  .up23-bfw-repeater-actions .up23-bfw-button {
    width: 100%;
  }

  .up23-bfw-card-head,
  .up23-bfw-repeater-item-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .up23-bfw-panel-actions {
    justify-content: flex-start;
  }
}

.up23-bfw-required {
  color: #c62828;
}

.up23-bfw-submit-button {
  display: flex;
  justify-self: end;
  width: 50%;
  margin: 15px 0 0 auto;
}

@media (max-width: 477px) {
  .up23-bfw-submit-button {
    justify-self: stretch;
    width: 100%;
  }
}

/* Panel klienta — dopracowanie mobile */
.up23-bfw-panel-wrap,
.up23-bfw-company-panel {
  width: 100%;
  max-width: 100%;
}

.up23-bfw-tab-nav-wrap {
  max-width: 100%;
  overflow: hidden;
}

.up23-bfw-tab-nav {
  align-items: stretch;
}

.up23-bfw-tab-button {
  min-height: 44px;
  text-align: center;
}

.up23-bfw-form input,
.up23-bfw-form select,
.up23-bfw-form textarea,
.up23-bfw-button,
.up23-bfw-tab-button {
  min-width: 0;
}

@media (max-width: 991px) {
  .up23-bfw-card-head {
    align-items: center;
  }

  .up23-bfw-panel-heading {
    flex: 1 1 auto;
    min-width: 0;
  }

  .up23-bfw-panel-heading > div:first-child {
    min-width: 0;
  }

  .up23-bfw-panel-actions {
    flex: 0 0 auto;
  }
}

@media (max-width: 767px) {
  .up23-bfw-form,
  .up23-bfw-company-panel,
  .up23-bfw-tab-panel,
  .up23-bfw-cta-actions,
  .up23-bfw-repeater,
  .up23-bfw-repeater-items {
    gap: 20px;
  }

  .up23-bfw-tab-nav-wrap {
    margin: 20px -22px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .up23-bfw-tab-nav {
    display: flex;
    width: max-content;
    min-width: 100%;
    gap: 8px;
    padding: 0 22px 4px;
  }

  .up23-bfw-tab-button {
    flex: 0 0 auto;
    min-width: 150px;
    white-space: nowrap;
    padding: 10px 18px;
  }

  .up23-bfw-card-head {
    gap: 16px;
  }

  .up23-bfw-panel-heading {
    width: 100%;
    align-items: flex-start;
  }

  .up23-bfw-panel-heading h3 {
    line-height: 1.15;
  }

  .up23-bfw-panel-actions {
    width: 100%;
  }

  .up23-bfw-logout-link {
    margin-left: auto;
  }

  .up23-bfw-status-chip {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 12px;
  }

  .up23-bfw-repeater-item-head {
    gap: 12px;
  }
}

@media (max-width: 477px) {
  .up23-bfw-card,
  .up23-bfw-nested-card,
  .up23-bfw-offer-card,
  .up23-bfw-repeater-item,
  .up23-bfw-subcard,
  .up23-bfw-repeater-section {
    padding: 18px;
  }

  .up23-bfw-tab-nav-wrap {
    margin: 18px -18px;
  }

  .up23-bfw-tab-nav {
    padding: 0 18px 4px;
  }

  .up23-bfw-card-head,
  .up23-bfw-panel-heading,
  .up23-bfw-panel-actions,
  .up23-bfw-repeater-item-head,
  .up23-bfw-repeater-actions,
  .up23-bfw-repeater-actions .up23-bfw-button,
  .up23-bfw-form button:not(.up23-bfw-submit-button) {
    width: 100%;
  }

  .up23-bfw-panel-heading {
    display: grid;
  }

  .up23-bfw-status-chip,
  .up23-bfw-logout-link,
  .up23-bfw-form button:not(.up23-bfw-submit-button) {
    width: 100%;
  }

  .up23-bfw-logout-link {
    margin-left: 0;
  }

  .up23-bfw-data-list,
  .up23-bfw-badge-list {
    gap: 8px;
  }

  .up23-bfw-checkbox {
    gap: 8px;
  }
}

.up23-bfw-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.up23-bfw-recaptcha {
  margin-top: 16px;
}


.up23-bfw-thank-you-wrap {
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: #f5f5f5;
}

.up23-bfw-thank-you-card {
  width: 100%;
  max-width: 720px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  padding: 46px;
  text-align: center;
}

.up23-bfw-thank-you-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(41, 52, 120, 0.16);
  background: rgba(41, 52, 120, 0.06);
  color: #293478;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.up23-bfw-thank-you-card h1 {
  margin: 0 0 16px;
  color: #111111;
  font-family: "Outfit", sans-serif;
  font-size: clamp(26px, 4vw, 32px);
  line-height: 1.08;
}

.up23-bfw-thank-you-card p {
  max-width: 590px;
  margin: 0 auto;
  color: #59626e;
  font-size: 16px;
  line-height: 1.7;
}

.up23-bfw-thank-you-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

@media (max-width: 767px) {
  .up23-bfw-thank-you-wrap {
    padding: 50px 15px;
  }

  .up23-bfw-thank-you-card {
    padding: 30px 22px;
  }

  .up23-bfw-thank-you-actions,
  .up23-bfw-thank-you-actions .up23-bfw-button,
  .up23-bfw-thank-you-actions .up23-bfw-inline-link {
    width: 100%;
  }
}


#brxe-liaxec {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

.up23-bfw-checkbox.up23-bfw-checkbox-box {
  gap: 14px;
}

.up23-bfw-form .up23-bfw-submit-button {
  justify-self: end;
  margin-left: auto;
  margin-right: 0;
}

@media (max-width: 477px) {
  .up23-bfw-form .up23-bfw-submit-button {
    justify-self: stretch;
  }
}


#brxe-liaxec,
.brxe-block#brxe-liaxec {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

#brxe-liaxec::-webkit-scrollbar,
.brxe-block#brxe-liaxec::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.up23-bfw .up23-bfw-checkbox.up23-bfw-checkbox-box {
  gap: 18px !important;
}

.up23-bfw-submit-row {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

.up23-bfw-submit-row .up23-bfw-submit-button {
  width: 50%;
  max-width: 420px;
  margin: 0;
}

@media (max-width: 767px) {
  .up23-bfw-submit-row .up23-bfw-submit-button {
    width: 100%;
    max-width: none;
  }
}
