body {
  min-height: 100vh;
}

.bm-admin-nav,
.bm-public-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 1px 0 rgba(16, 24, 32, .12);
}

.bm-system-alert {
  padding: .75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.bm-system-alert--danger {
  background: #dc3545;
  color: #fff;
}

.bm-card-link {
  transition: transform .12s ease, box-shadow .12s ease;
}

.bm-card-link:hover {
  transform: translateY(-2px);
}

.bm-auth-page {
  min-height: calc(100vh - 4.25rem);
  padding: 5rem 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.bm-auth-card,
.bm-public-card {
  border: 1px solid #e5e9f0;
  border-radius: .75rem;
  background: #fff;
}

.bm-auth-card {
  padding: 2rem;
}

.bm-public-page-card h2 {
  margin: 1.5rem 0 .75rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.bm-public-page-card h3 {
  margin: 1.25rem 0 .625rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.bm-placeholder {
  border: 1px dashed #b6c2cf;
  border-radius: .5rem;
  padding: 1rem;
  color: #667085;
  background: #f8f9fa;
  text-align: center;
}

main > nav:first-child {
  position: sticky;
  top: 3.5rem;
  z-index: 1020;
  margin: -1.5rem -1.5rem 1.5rem;
  padding: 1rem 1.5rem .75rem;
  background: rgba(248, 249, 250, .96);
  border-bottom: 1px solid #e5e9f0;
  backdrop-filter: blur(8px);
}

main > nav:first-child .breadcrumb {
  margin-bottom: 0;
}
.bm-public-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1rem;
}

.bm-public-center,
.bm-public-main {
  min-width: 0;
}

.bm-public-center {
  width: min(100%, 82rem);
  margin: 0 auto;
}

.bm-public-main {
  padding: 1.5rem 0;
}

.bm-public-ad-row {
  display: flex;
  justify-content: center;
}

.bm-public-ad-row--top {
  margin-bottom: 1.5rem;
}

.bm-public-ad-row--bottom {
  margin-top: 1.5rem;
}

.bm-public-ad-rail {
  display: none;
}

.bm-public-ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
}
.bm-public-ad-link {
  display: block;
  line-height: 0;
  max-width: 100%;
  text-decoration: none;
}

.bm-public-ad-slot img {
  display: block;
  max-width: 100%;
  height: auto;
}

.bm-public-ad-slot--banner {
  width: min(100%, 728px);
  min-height: 90px;
}

.bm-public-ad-slot--side {
  width: 160px;
  min-height: 600px;
}

.bm-public-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 1.5rem 0 2rem;
  font-size: .875rem;
}

.bm-license-box__action {
  margin-left: auto;
}
.bm-test-license-button,
button[form="license-form"][name="action"][value="activate_test_license"] {
  --bs-btn-padding-y: .125rem;
  --bs-btn-padding-x: .5rem;
  --bs-btn-font-size: .8125rem;
  line-height: 1.2;
}

@media (min-width: 992px) {
  .bm-public-shell--with-left.bm-public-shell--with-right {
    grid-template-columns: 160px minmax(0, 1fr) 160px;
  }

  .bm-public-shell--with-left:not(.bm-public-shell--with-right) {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .bm-public-shell--with-right:not(.bm-public-shell--with-left) {
    grid-template-columns: minmax(0, 1fr) 160px;
  }

  .bm-public-shell--with-left .bm-public-center,
  .bm-public-shell--with-right .bm-public-center {
    width: 100%;
  }

  .bm-public-ad-rail {
    display: flex;
    justify-content: center;
    min-width: 0;
  }

  .bm-public-ad-rail .bm-public-ad-slot {
    position: sticky;
    top: 5rem;
  }
}

@media (max-width: 575.98px) {
  .bm-public-shell {
    padding: .75rem;
  }

  .bm-public-main {
    padding-top: 1.5rem;
  }

  .bm-public-ad-slot--side {
    width: min(100%, 728px);
    min-height: 90px;
  }

  .bm-public-ad-slot--side img {
    width: min(100%, 728px);
    height: auto;
  }
}

:root {
  --bm-primary: #0d6efd;
}

.bm-public-nav > .container-fluid,
.bm-admin-nav > .container-fluid {
  flex-wrap: wrap;
  gap: .75rem 1rem;
}

.bm-public-nav .navbar-brand,
.bm-admin-nav .navbar-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  min-width: 0;
  max-width: 100%;
  margin-right: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.bm-admin-nav > .container-fluid > .d-flex {
  flex-wrap: wrap;
}

.bm-brand-logo {
  max-height: 96px;
  max-width: min(288px, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

.bm-brand-name {
  min-width: 0;
}

.bm-setup-card {
  border-left-width: .45rem;
}

.bm-setup-card--danger {
  background: #fff5f5;
  border-left-color: #dc3545;
}

.bm-setup-card--warning {
  background: #fff8ea;
  border-left-color: #fd7e14;
}

.bm-setup-card--optional {
  background: #eef6ff;
  border-left-color: #0d6efd;
}

.bm-setup-card--success {
  background: #effaf3;
  border-left-color: #198754;
}

.bm-setup-badge--danger {
  background: #dc3545;
  color: #fff;
}

.bm-setup-badge--warning {
  background: #fd7e14;
  color: #111;
}

.bm-setup-badge--optional {
  background: #0d6efd;
  color: #fff;
}

.bm-setup-badge--success {
  background: #198754;
  color: #fff;
}

.bm-dashboard-card--setup {
  border-left-width: .45rem;
}

.bm-setup-system-banner {
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  padding: .75rem 0;
}

.bm-setup-system-banner--danger {
  background: #dc3545;
  border-color: #b02a37;
  color: #fff;
}

.bm-setup-system-banner--warning {
  background: #fd7e14;
  border-color: #ca6510;
  color: #111;
}

.bm-setup-system-banner--optional {
  background: #0d6efd;
  border-color: #0a58ca;
  color: #fff;
}

.bm-setup-system-banner--success {
  background: #198754;
  border-color: #146c43;
  color: #fff;
}

.bm-warning-stack {
  display: grid;
  gap: 1px;
}

.bm-dismissible-warning {
  padding: .65rem 0;
}

.bm-dismissible-warning--danger {
  background: #b02a37;
  color: #fff;
}

.bm-dismissible-warning--warning {
  background: #fff3cd;
  color: #664d03;
  border-bottom: 1px solid #ffda6a;
}

.bm-dismissible-warning--info {
  background: #cff4fc;
  color: #055160;
  border-bottom: 1px solid #9eeaf9;
}

.bm-dismissible-warning--warning .btn-light,
.bm-dismissible-warning--info .btn-light {
  border-color: rgba(0, 0, 0, .2);
}

.bm-dismissible-warning--warning .btn-outline-light,
.bm-dismissible-warning--info .btn-outline-light {
  color: inherit;
  border-color: rgba(0, 0, 0, .35);
}

.bm-dismissible-warning[hidden] {
  display: none !important;
}

.bm-public-intro > :last-child {
  margin-bottom: 0;
}

.bm-public-intro {
  color: #343a40;
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.bm-public-intro p {
  max-width: 70ch;
  margin: 0 0 1.25rem;
}

.bm-public-intro h2 {
  color: #212529;
  font-size: 1.375rem;
  font-weight: 650;
  line-height: 1.35;
  margin: 1.75rem 0 0.625rem;
}

.bm-public-intro h3 {
  color: #212529;
  font-size: 1.125rem;
  font-weight: 650;
  margin: 1.5rem 0 0.5rem;
}

.bm-public-intro > :first-child {
  margin-top: 0;
}

.bm-editor {
  border: 1px solid #dee2e6;
  border-radius: .375rem;
  overflow: hidden;
  background: #fff;
}

.bm-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  padding: .5rem;
  border-bottom: 1px solid #dee2e6;
  background: #f8f9fa;
}

.bm-editor-button {
  min-width: 2rem;
  min-height: 2rem;
  padding: .25rem .5rem;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  background: #fff;
  color: #212529;
  font: inherit;
  line-height: 1;
}

.bm-editor-button:hover,
.bm-editor-button:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
}

.bm-editor-content {
  min-height: 8rem;
  padding: .75rem;
  outline: 0;
}

.bm-editor-content:focus {
  box-shadow: inset 0 0 0 .2rem rgba(13, 110, 253, .15);
}

.bm-editor-content > :last-child {
  margin-bottom: 0;
}

.bm-package-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: .5rem;
  align-items: stretch;
}

.bm-package-choice {
  display: flex;
  min-width: 0;
  height: 100%;
}

.bm-package-choice-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bm-package-choice-card {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  width: 100%;
  height: 100%;
  min-height: 4.75rem;
  padding: .65rem .75rem;
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  background: #fff;
  cursor: pointer;
  transition: border-color .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.bm-package-choice-title {
  font-weight: 600;
}

.bm-package-choice-text {
  color: #667085;
  font-size: .8125rem;
  line-height: 1.25;
}

.bm-package-choice-coupon {
  color: #198754;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.25;
}

.bm-package-choice-price {
  margin-top: auto;
  color: #0d6efd;
  font-size: .875rem;
  font-weight: 600;
}

.bm-package-details-button {
  align-self: flex-start;
  margin-top: .35rem;
  padding: .2rem .5rem;
  border: 1px solid #0d6efd;
  border-radius: .25rem;
  background: #fff;
  color: #0d6efd;
  font-size: .75rem;
  line-height: 1.2;
}

.bm-package-details-button:hover,
.bm-package-details-button:focus {
  background: #0d6efd;
  color: #fff;
}

.bm-package-details {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  margin-top: .35rem;
  padding-top: .45rem;
  border-top: 1px solid rgba(13, 110, 253, .2);
  font-size: .75rem;
}

.bm-package-details[hidden] {
  display: none;
}

.bm-package-details-row {
  display: flex;
  gap: .5rem;
  justify-content: space-between;
  color: #475467;
}

.bm-package-details-row strong {
  color: #101828;
  font-weight: 600;
  text-align: right;
}

.bm-package-choice-input:checked + .bm-package-choice-card {
  border-color: #0d6efd;
  background: #eef6ff;
  box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .12);
}

.bm-package-choice-input:focus + .bm-package-choice-card {
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .2);
}

.bm-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  line-height: 1;
}

.bm-icon {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

