.bbob-shell {
  width: 100%;
}

.bbob-card {
  padding: 32px;
  border: 1px solid rgba(53, 16, 79, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(60, 18, 86, 0.07);
}

.bbob-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.bbob-heading span {
  display: block;
  margin-bottom: 8px;
  color: #9926f0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.bbob-heading h2 {
  margin: 0 0 10px;
  color: #23142f;
  font-size: 34px;
  line-height: 1.16;
  font-weight: 950;
}

.bbob-heading p {
  margin: 0;
  color: #5c4a68;
  font-size: 17px;
  line-height: 1.65;
}

.bbob-form {
  display: grid;
  gap: 24px;
}

.bbob-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bbob-lookup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 20px;
  align-items: end;
  margin: 24px 0;
  padding: 22px;
  border: 1px solid rgba(153, 38, 240, 0.12);
  border-radius: 8px;
  background: #fbf8ff;
}

.bbob-lookup-copy span,
.bbob-receipt-head span {
  display: block;
  margin-bottom: 6px;
  color: #9926f0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.bbob-lookup-copy strong {
  display: block;
  color: #23142f;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 950;
}

.bbob-lookup-copy p {
  margin: 8px 0 0;
  color: #5c4a68;
  font-size: 15px;
  line-height: 1.55;
}

.bbob-lookup-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.bbob-lookup-form label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.bbob-lookup-form span {
  color: #23142f;
  font-size: 13px;
  font-weight: 900;
}

.bbob-lookup-form input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(53, 16, 79, 0.18);
  border-radius: 8px;
  color: #23142f;
  font: inherit;
}

.bbob-lookup-form button,
.bbob-print {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: #9926f0;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.bbob-status-card {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid rgba(31, 143, 88, 0.2);
  border-radius: 8px;
  background: #eefbf4;
  color: #17633d;
  font-size: 14px;
}

.bbob-status-card strong {
  width: 100%;
  font-size: 16px;
}

.bbob-receipt {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid rgba(153, 38, 240, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #fbf8ff);
}

.bbob-receipt-head {
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.bbob-receipt-head h3 {
  margin: 0 0 4px;
  color: #23142f;
  font-size: 26px;
  line-height: 1.18;
  font-weight: 950;
}

.bbob-receipt-head p {
  margin: 0;
  color: #5c4a68;
}

.bbob-receipt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bbob-receipt-grid div,
.bbob-receipt-extra {
  padding: 14px;
  border: 1px solid rgba(53, 16, 79, 0.08);
  border-radius: 8px;
  background: #fff;
}

.bbob-receipt-grid strong,
.bbob-receipt-extra strong {
  display: block;
  margin-bottom: 4px;
  color: #6b5b76;
  font-size: 12px;
  text-transform: uppercase;
}

.bbob-receipt-grid span,
.bbob-receipt-extra p {
  margin: 0;
  color: #23142f;
  font-weight: 800;
}

.bbob-receipt-extra {
  margin-top: 12px;
}

.bbob-form-section {
  display: grid;
  gap: 16px;
}

.bbob-form-section h3 {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(153, 38, 240, 0.14);
  color: #23142f;
  font-size: 22px;
  font-weight: 900;
}

.bbob-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bbob-field {
  display: block;
  min-width: 0;
  margin: 0;
}

.bbob-field.is-wide {
  grid-column: 1 / -1;
}

.bbob-field > span {
  display: block;
  margin-bottom: 7px;
  color: #23142f;
  font-size: 14px;
  font-weight: 900;
}

.bbob-field small {
  display: block;
  margin-top: 7px;
  color: #6b5b76;
  font-size: 13px;
  line-height: 1.45;
}

.bbob-field input,
.bbob-field select,
.bbob-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(53, 16, 79, 0.18);
  border-radius: 8px;
  background: #fff;
  color: #23142f;
  font: inherit;
}

.bbob-field input:focus,
.bbob-field select:focus,
.bbob-field textarea:focus {
  border-color: #9926f0;
  box-shadow: 0 0 0 3px rgba(153, 38, 240, 0.12);
  outline: none;
}

.bbob-field textarea {
  resize: vertical;
}

.bbob-field-check {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #4d3d58;
  font-size: 15px;
  font-weight: 700;
}

.bbob-field-check input {
  width: 18px;
  min-height: auto;
  height: 18px;
  padding: 0;
  accent-color: #9926f0;
}

.bbob-consents {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(153, 38, 240, 0.12);
  border-radius: 8px;
  background: #fbf8ff;
}

.bbob-consents label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  color: #4d3d58;
  font-size: 14px;
  line-height: 1.55;
}

.bbob-consents input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #9926f0;
}

.bbob-consents a {
  color: #9926f0;
  font-weight: 900;
}

.bbob-submit {
  width: max-content;
  min-height: 50px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background: #9926f0;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.bbob-submit:hover,
.bbob-submit:focus {
  background: #781080;
}

.bbob-notice {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 800;
}

.bbob-notice.is-success {
  border: 1px solid rgba(31, 143, 88, 0.2);
  background: #eefbf4;
  color: #17633d;
}

.bbob-notice.is-error {
  border: 1px solid rgba(184, 42, 42, 0.2);
  background: #fff1f1;
  color: #8e2424;
}

.bbob-modal-opened {
  overflow: hidden;
}

.bbob-modal[aria-hidden="true"] {
  display: none;
}

.bbob-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.bbob-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 11, 34, 0.66);
}

.bbob-modal-dialog {
  position: relative;
  width: min(980px, 100%);
  height: min(760px, 88vh);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.bbob-modal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(53, 16, 79, 0.1);
  color: #23142f;
}

.bbob-modal-head strong {
  font-size: 16px;
  font-weight: 900;
}

.bbob-modal-open {
  color: #9926f0;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.bbob-modal-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fbf8ff;
  color: #23142f;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.bbob-modal-body {
  width: 100%;
  height: calc(100% - 126px);
  overflow-y: auto;
  padding: 28px 32px;
  background: #fff;
  color: #554b5c;
  font-size: 16px;
  line-height: 1.68;
}

.bbob-modal-body h1,
.bbob-modal-body h2,
.bbob-modal-body h3,
.bbob-modal-body h4 {
  margin: 0 0 14px;
  color: #34213d;
  font-weight: 900;
  line-height: 1.25;
}

.bbob-modal-body h1 {
  font-size: 28px;
}

.bbob-modal-body h2 {
  font-size: 22px;
}

.bbob-modal-body h3 {
  font-size: 18px;
}

.bbob-modal-body p,
.bbob-modal-body ul,
.bbob-modal-body ol {
  margin: 0 0 16px;
}

.bbob-modal-body ul,
.bbob-modal-body ol {
  padding-left: 24px;
}

.bbob-modal-loading {
  display: grid;
  min-height: 240px;
  place-items: center;
  color: #6b5b76;
  font-weight: 800;
}

.bbob-modal-foot {
  display: flex;
  justify-content: flex-end;
  min-height: 68px;
  padding: 14px 16px;
  border-top: 1px solid rgba(53, 16, 79, 0.1);
  background: #fff;
}

.bbob-modal-ok {
  min-width: 112px;
  min-height: 40px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: #9926f0;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 767px) {
  .bbob-card {
    padding: 22px;
  }

  .bbob-heading h2 {
    font-size: 28px;
  }

  .bbob-grid {
    grid-template-columns: 1fr;
  }

  .bbob-lookup,
  .bbob-lookup-form,
  .bbob-receipt-grid {
    grid-template-columns: 1fr;
  }

  .bbob-lookup {
    padding: 18px;
  }

  .bbob-submit {
    width: 100%;
  }

  .bbob-modal {
    padding: 12px;
  }

  .bbob-modal-dialog {
    height: 86vh;
  }

  .bbob-modal-body {
    height: calc(100% - 148px);
    padding: 22px;
    font-size: 15px;
  }

  .bbob-modal-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .bbob-modal-open {
    grid-column: 1 / -1;
  }
}

@media print {
  body * {
    visibility: hidden;
  }

  .bbob-receipt,
  .bbob-receipt * {
    visibility: visible;
  }

  .bbob-receipt {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    box-shadow: none;
  }

  .bbob-print {
    display: none;
  }
}
