.hbj-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

.hbj-banner-wrapper {
  background-color: rgba(255, 255, 255, 0.9);
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99999;
  padding: 1rem;
  color: black;
  box-sizing: border-box;
  font-family: sans-serif;
}

.hbj-banner-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

.hbj-banner-text-group {
  font-size: 0.875rem;
  margin-left: auto; margin-right: auto;
  text-align: center;
}

.hbj-banner-link {
  text-decoration: underline;
  display: inline-block;
  cursor: pointer;
  color: inherit;
}

.hbj-banner-actions {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}

.hbj-btn-text {
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  text-decoration: underline;
  background: none; border: none; cursor: pointer; color: inherit;
  padding: 0;
}

.hbj-btn-group {
  display: flex;
  gap: 0.5rem;
  white-space: nowrap;
}

.hbj-btn-outline {
  background-color: white;
  border: 1px solid black;
  padding: 0.25rem 1.25rem;
  height: 2rem;
  border-radius: 1rem;
  line-height: 1.25;
  cursor: pointer;
  font-size: 0.875rem;
  color: black;
  box-sizing: border-box;
}

.hbj-btn-fill {
  background-color: black;
  border: 1px solid black;
  color: white;
  padding: 0.25rem 1.25rem;
  height: 2rem;
  border-radius: 1rem;
  line-height: 1.25;
  cursor: pointer;
  font-size: 0.875rem;
  box-sizing: border-box;
}

.hbj-dialog-overlay {
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 100000;
  color: black;
  box-sizing: border-box;
}

.hbj-dialog-box {
  background-color: white;
  width: 100%;
  max-width: 320px;
  max-height: 70vh;
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
}

.hbj-dialog-header {
  flex-shrink: 0;
  position: relative;
}

.hbj-dialog-header h2 {
  text-align: center;
  padding: 1rem;
  font-weight: 700;
  margin: 0; font-size: 1.2rem;
  color: black;
}

.hbj-btn-close-icon {
  position: absolute;
  right: 1rem; top: 1rem;
  background: none; border: none; cursor: pointer;
  padding: 0;
}

.hbj-dialog-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  flex-grow: 1;
  overflow-y: auto;
}

.hbj-dialog-desc {
  font-size: 0.75rem;
  line-height: 1.5;
  margin-bottom: 0;
  margin-top: 0;
  color: black;
}

.hbj-divider {
  height: 0.8px;
  background-color: black;
  margin: 1rem 0;
}

.hbj-setting-item {
  padding: 0.25rem 0;
}

.hbj-setting-label {
  display: flex;
  cursor: pointer;
  gap: 0.5rem;
  position: relative;
  align-items: center;
  margin: 0;
}

.hbj-checkbox-container {
  position: relative;
  flex-shrink: 0;
}

.hbj-custom-checkbox {
  width: 1rem; height: 1rem;
  border: 2px solid black;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-sizing: border-box;
}

.hbj-checkbox-container input:checked + .hbj-custom-checkbox {
  background-color: black;
}

.hbj-custom-checkbox.hbj-disabled-checked {
  background-color: black;
}

.hbj-checkmark-icon {
  position: absolute;
  opacity: 0;
  left: 0; top: -1px;
  flex-shrink: 0;
  width: 1rem; height: 1rem;
  color: white;
  pointer-events: none;
}

.hbj-checkbox-container input:checked ~ .hbj-checkmark-icon {
  opacity: 1;
}

.hbj-checkmark-icon.hbj-visible {
  opacity: 1;
}

.hbj-label-text-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}

.hbj-label-title {
  flex-grow: 1;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  color: black;
}

.hbj-btn-accordion {
  background: none; border: none; cursor: pointer;
  transition: transform 0.2s;
  padding: 0;
}

.hbj-btn-accordion.hbj-open {
  transform: scaleY(-1);
}

.hbj-accordion-content {
  padding-top: 1rem;
  display: none;
}
.hbj-accordion-content p {
  font-size: 0.75rem;
  margin: 0;
  color: black;
}
.hbj-accordion-content.hbj-show {
  display: block;
}

.hbj-dialog-footer {
  display: flex;
  height: 3rem;
  flex-shrink: 0;
}

.hbj-btn-footer-cancel {
  width: 50%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none; cursor: pointer;
  margin: 0; padding: 0;
}
.hbj-btn-footer-cancel p {
  font-weight: 600;
  margin: 0;
  color: black;
}

.hbj-btn-footer-confirm {
  width: 50%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none; cursor: pointer;
  margin: 0; padding: 0;
}
.hbj-btn-footer-confirm p {
  font-weight: 600;
  color: white;
  margin: 0;
}

body.hbj-scroll-locked {
  overflow-y: scroll;
  position: fixed;
  width: 100%;
}