/*
 * WK B2B Commerce
 * Isolation contract:
 * - every rule targets plugin-owned wkb2b-* classes;
 * - no generic HTML, WooCommerce, theme, or Elementor selectors;
 * - Elementor editor and preview do not enqueue this file.
 */

.wkb2b-commerce-notice,
.wkb2b-commerce-notice *,
.wkb2b-registration-fields,
.wkb2b-registration-fields *,
.wkb2b-registration-confirmation,
.wkb2b-registration-confirmation * {
  box-sizing: border-box;
}

.wkb2b-commerce-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 14px;
  align-items: center;
  margin: 0 0 24px;
  padding: 16px 18px;
  border-left: 6px solid #ffff00;
  background: #0a0a08;
  color: #fff;
  font-family: "Bornia", Roboto, sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
}

.wkb2b-commerce-notice__mark {
  display: grid;
  width: 46px;
  height: 34px;
  grid-row: 1 / span 2;
  place-items: center;
  background: #ffff00;
  color: #0a0a08;
  font-size: 0.72rem;
  font-weight: 900;
}

.wkb2b-commerce-notice strong {
  color: #fff;
  text-transform: uppercase;
}

.wkb2b-commerce-notice__review {
  grid-column: 2;
  color: #ffff00;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wkb2b-registration-fields__intro {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-left: 5px solid #ffff00;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  font-size: 0.88rem;
  line-height: 1.5;
}

.wkb2b-registration-fields__intro strong {
  display: block;
  margin: 0 0 3px;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wkb2b-registration-confirmation {
  margin: 18px 0 22px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.wkb2b-registration-confirmation .woocommerce-form__label-for-checkbox {
  align-items: flex-start;
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
}

@media (max-width: 560px) {
  .wkb2b-commerce-notice {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .wkb2b-commerce-notice__mark {
    width: 42px;
    height: 30px;
    grid-row: auto;
  }

  .wkb2b-commerce-notice__review {
    grid-column: 1;
  }
}
