.boh-c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.625rem 1rem;
  border-radius: var(--boh-radius-button);
  border: 1px solid transparent;
  font-family: var(--boh-font-sans);
  font-size: var(--boh-font-size-btn);
  line-height: var(--boh-line-height-btn);
  font-weight: var(--boh-font-weight-700);
  text-decoration: none;
  cursor: pointer;
  transition-property: var(--boh-transition-property-colors), var(--boh-transition-property-transform), var(--boh-transition-property-opacity);
}

.boh-c-button:active {
  transform: scale(0.98);
}

.boh-c-button--primary {
  background-color: var(--boh-color-primary);
  color: var(--boh-color-surface);
}

.boh-c-button--secondary {
  background-color: var(--boh-color-surface);
  color: var(--boh-color-primary);
  border-color: color-mix(in srgb, var(--boh-color-border) 20%, transparent);
}

.boh-c-button--ghost {
  background-color: transparent;
  color: var(--boh-color-primary);
}

.boh-c-button--danger {
  background-color: var(--boh-color-danger);
  color: var(--boh-color-surface);
}

.boh-c-button--loading,
.boh-c-button:disabled,
.boh-c-button[aria-disabled="true"] {
  opacity: 0.7;
  cursor: not-allowed;
}

.boh-c-card {
  background-color: var(--boh-color-surface);
  border: 1px solid color-mix(in srgb, var(--boh-color-border) 12%, transparent);
  border-radius: var(--boh-radius-card);
  box-shadow: var(--boh-shadow-card);
  padding: 1rem;
}

.boh-c-card--interactive {
  cursor: pointer;
  transition-property: var(--boh-transition-property-colors), var(--boh-transition-property-transform), var(--boh-transition-property-opacity);
}

.boh-c-card--interactive:active {
  transform: scale(0.99);
}

.boh-c-field,
.boh-c-select,
.boh-c-textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--boh-color-border) 15%, transparent);
  border-radius: var(--boh-radius-14);
  background-color: var(--boh-color-surface);
  color: var(--boh-color-primary);
  font-family: var(--boh-font-sans);
  font-size: var(--boh-font-size-body);
  line-height: var(--boh-line-height-body);
  padding: 0.75rem 0.875rem;
}

.boh-c-field:focus,
.boh-c-select:focus,
.boh-c-textarea:focus {
  outline: none;
  border-color: var(--boh-color-primary);
}

.boh-c-textarea {
  min-height: 120px;
  resize: vertical;
}

.boh-c-badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--boh-radius-chip);
  padding: 0.25rem 0.625rem;
  font-size: var(--boh-font-size-eyebrow);
  line-height: var(--boh-line-height-eyebrow);
  letter-spacing: var(--boh-letter-spacing-eyebrow);
  text-transform: uppercase;
  font-weight: var(--boh-font-weight-700);
  background-color: var(--boh-color-tile);
  color: var(--boh-color-primary);
}

.boh-c-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: var(--boh-radius-chip);
  padding: 0.375rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--boh-color-border) 16%, transparent);
  background-color: var(--boh-color-surface);
  color: var(--boh-color-primary);
  font-size: var(--boh-font-size-label);
  line-height: var(--boh-line-height-label);
  font-weight: var(--boh-font-weight-600);
}

.boh-c-modal[hidden],
.boh-c-toast[hidden],
.boh-c-alert[hidden] {
  display: none;
}

.boh-c-alert {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.boh-c-alert.is-open {
  opacity: 1;
  pointer-events: auto;
}

.boh-c-alert[data-position="top"],
.boh-c-alert[data-position="top-start"],
.boh-c-alert[data-position="top-end"] {
  align-items: start;
}

.boh-c-alert[data-position="bottom"],
.boh-c-alert[data-position="bottom-start"],
.boh-c-alert[data-position="bottom-end"] {
  align-items: end;
}

.boh-c-alert[data-position="top-start"],
.boh-c-alert[data-position="bottom-start"] {
  justify-items: start;
}

.boh-c-alert[data-position="top-end"],
.boh-c-alert[data-position="bottom-end"] {
  justify-items: end;
}

.boh-c-alert__overlay {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.boh-c-alert__panel {
  position: relative;
  width: 100%;
  max-width: min(23.75rem, calc(100vw - 1.5rem));
  border-radius: var(--boh-radius-20);
  border: 1px solid color-mix(in srgb, var(--boh-color-border) 12%, transparent);
  box-shadow: 0 16px 42px rgba(21, 54, 47, 0.16);
  background-color: var(--boh-color-surface);
  padding: 1.25rem;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.boh-c-alert.is-open .boh-c-alert__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.boh-c-alert.is-closing .boh-c-alert__panel {
  transform: translateY(8px) scale(0.985);
  opacity: 0;
}

.boh-c-alert__panel:focus {
  outline: none;
}

.boh-c-alert__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 0;
  background-color: color-mix(in srgb, var(--boh-color-border) 8%, transparent);
  color: var(--boh-color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.boh-c-alert__close svg {
  width: 1rem;
  height: 1rem;
}

.boh-c-alert__icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--boh-color-primary);
  background-color: color-mix(in srgb, var(--boh-color-primary) 12%, var(--boh-color-surface));
}

.boh-c-alert__icon[data-variant="success"] {
  color: var(--boh-color-accent);
  background-color: color-mix(in srgb, var(--boh-color-accent) 16%, var(--boh-color-surface));
}

.boh-c-alert__icon[data-variant="error"] {
  color: var(--boh-color-danger);
  background-color: color-mix(in srgb, var(--boh-color-danger) 16%, var(--boh-color-surface));
}

.boh-c-alert__icon[data-variant="warning"] {
  color: var(--boh-color-gold);
  background-color: color-mix(in srgb, var(--boh-color-gold) 20%, var(--boh-color-surface));
}

.boh-c-alert__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.boh-c-alert__title {
  margin: 0;
  font-family: var(--boh-font-serif);
  font-size: var(--boh-font-size-heading);
  line-height: var(--boh-line-height-heading);
  color: var(--boh-color-primary);
}

.boh-c-alert__message {
  margin: 0;
  color: color-mix(in srgb, var(--boh-color-muted) 85%, transparent);
  font-size: var(--boh-font-size-body);
  line-height: var(--boh-line-height-body);
  white-space: pre-line;
}

.boh-c-alert__input-wrap {
  width: 100%;
}

.boh-c-alert__input {
  background-color: color-mix(in srgb, var(--boh-color-bg) 70%, var(--boh-color-surface));
}

.boh-c-alert__validation {
  margin: -0.125rem 0 0;
  width: 100%;
  text-align: left;
  color: var(--boh-color-danger);
  font-size: 0.8125rem;
  font-weight: var(--boh-font-weight-600);
}

.boh-c-alert__actions {
  width: 100%;
  display: grid;
  gap: 0.625rem;
  margin-top: 0.125rem;
}

.boh-c-alert__actions--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.boh-c-alert__actions--reverse {
  direction: rtl;
}

.boh-c-alert__actions--reverse > * {
  direction: ltr;
}

.boh-c-alert__btn {
  width: 100%;
  min-height: 42px;
}

.boh-c-alert__timer {
  width: 100%;
  height: 0.25rem;
  border-radius: 999px;
  overflow: hidden;
  background-color: color-mix(in srgb, var(--boh-color-border) 10%, transparent);
}

.boh-c-alert__timer-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--boh-color-accent), var(--boh-color-primary));
  transition-property: width;
  transition-timing-function: linear;
}

.boh-c-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}

.boh-c-modal__overlay {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.boh-c-modal__container {
  position: relative;
  width: 100%;
  max-width: var(--boh-container-max-width);
  border-radius: var(--boh-radius-24) var(--boh-radius-24) 0 0;
  background-color: var(--boh-color-surface);
  padding: 1rem;
}

.boh-c-modal__close {
  border: none;
  background: transparent;
  color: var(--boh-color-primary);
  font-size: var(--boh-font-size-label);
  font-weight: var(--boh-font-weight-700);
}

.boh-c-toast-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 1rem;
  display: flex;
  justify-content: center;
  padding: 0 var(--boh-space-screen);
}

.boh-c-toast {
  width: 100%;
  max-width: var(--boh-container-max-width);
  border-radius: var(--boh-radius-14);
  background-color: var(--boh-color-deep-bg);
  color: var(--boh-color-surface);
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.boh-c-toast__close {
  border: none;
  background: transparent;
  color: inherit;
  font-size: var(--boh-font-size-label);
}

.boh-c-toast-stack {
  position: fixed;
  z-index: 130;
  display: grid;
  gap: 0.625rem;
  width: min(22rem, calc(100vw - 1.25rem));
  pointer-events: none;
}

.boh-c-toast-stack[data-position="top-right"] {
  top: 0.75rem;
  right: 0.75rem;
}

.boh-c-toast-stack[data-position="top-left"] {
  top: 0.75rem;
  left: 0.75rem;
}

.boh-c-toast-stack[data-position="top-center"] {
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
}

.boh-c-toast-stack[data-position="bottom-right"] {
  bottom: 0.75rem;
  right: 0.75rem;
}

.boh-c-toast-stack[data-position="bottom-left"] {
  bottom: 0.75rem;
  left: 0.75rem;
}

.boh-c-toast-stack[data-position="bottom-center"] {
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
}

.boh-c-toast-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--boh-radius-14);
  border: 1px solid color-mix(in srgb, var(--boh-color-border) 10%, transparent);
  background: color-mix(in srgb, var(--boh-color-surface) 92%, var(--boh-color-bg));
  box-shadow: 0 12px 24px rgba(21, 54, 47, 0.12);
  padding: 0.75rem 0.875rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.625rem;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.boh-c-toast-item.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.boh-c-toast-item.is-closing {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
}

.boh-c-toast-stack[data-position="bottom-right"] .boh-c-toast-item,
.boh-c-toast-stack[data-position="bottom-left"] .boh-c-toast-item,
.boh-c-toast-stack[data-position="bottom-center"] .boh-c-toast-item {
  transform: translateY(8px) scale(0.98);
}

.boh-c-toast-stack[data-position="bottom-right"] .boh-c-toast-item.is-open,
.boh-c-toast-stack[data-position="bottom-left"] .boh-c-toast-item.is-open,
.boh-c-toast-stack[data-position="bottom-center"] .boh-c-toast-item.is-open {
  transform: translateY(0) scale(1);
}

.boh-c-toast-stack[data-position="bottom-right"] .boh-c-toast-item.is-closing,
.boh-c-toast-stack[data-position="bottom-left"] .boh-c-toast-item.is-closing,
.boh-c-toast-stack[data-position="bottom-center"] .boh-c-toast-item.is-closing {
  transform: translateY(8px) scale(0.98);
}

.boh-c-toast-item__icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--boh-color-primary);
}

.boh-c-toast-item__icon svg {
  width: 100%;
  height: 100%;
}

.boh-c-toast-item[data-variant="success"] .boh-c-toast-item__icon {
  color: var(--boh-color-accent);
}

.boh-c-toast-item[data-variant="error"] .boh-c-toast-item__icon {
  color: var(--boh-color-danger);
}

.boh-c-toast-item[data-variant="warning"] .boh-c-toast-item__icon {
  color: var(--boh-color-gold);
}

.boh-c-toast-item__content {
  min-width: 0;
}

.boh-c-toast-item__title {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.25;
  font-weight: var(--boh-font-weight-700);
  color: var(--boh-color-primary);
}

.boh-c-toast-item__message {
  margin: 0.125rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: color-mix(in srgb, var(--boh-color-muted) 86%, transparent);
}

.boh-c-toast-item__close {
  border: 0;
  background: transparent;
  color: var(--boh-color-primary);
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.boh-c-toast-item__close svg {
  width: 0.95rem;
  height: 0.95rem;
}

.boh-c-toast-item__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform-origin: left center;
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--boh-color-accent), var(--boh-color-primary));
  transition-property: transform;
  transition-timing-function: linear;
}

.boh-c-empty {
  background-color: var(--boh-color-tile);
  border-radius: var(--boh-radius-card);
  padding: 1rem;
  text-align: center;
  color: var(--boh-color-primary);
}

.boh-c-loading {
  display: grid;
  gap: 0.625rem;
}

.boh-c-loading__line {
  height: 12px;
  border-radius: var(--boh-radius-10);
  background-color: color-mix(in srgb, var(--boh-color-border) 10%, var(--boh-color-surface));
}

.boh-c-loading__line--short {
  width: 50%;
}

/* --- MORE POPUP DROPDOWN MENU --- */
.boh-more-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  width: 14rem;
  background-color: var(--boh-color-surface);
  border-radius: 14px;
  box-shadow: var(--boh-shadow-card);
  border: 1px solid color-mix(in srgb, var(--boh-color-border) 10%, transparent);
  padding: 0.375rem 0;
  z-index: 50;
  overflow: hidden;
}

.boh-more-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.boh-more-dropdown__item span {
  color: var(--boh-color-primary);
  font-weight: var(--boh-font-weight-700);
  font-size: 13px;
  line-height: 1.2;
}

.boh-more-dropdown__item:active {
  background-color: var(--boh-semantic-background);
}

/* --- SHARED CHECK-IN HEADER COMPONENT --- */
.boh-checkin-header {
  background-color: var(--boh-color-primary);
  color: var(--boh-color-surface);
  padding: 2.5rem var(--boh-space-screen) 0.75rem var(--boh-space-screen); /* pt-8 pb-3 */
  flex-shrink: 0;
  position: relative;
  z-index: 20;
}

.boh-checkin-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  position: relative;
}

.boh-checkin-header__back-btn {
  padding: 0.5rem;
  margin-left: -0.5rem;
  color: var(--boh-color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  text-decoration: none;
}

.boh-checkin-header__back-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.boh-checkin-header__title-wrapper {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.boh-checkin-header__title {
  font-family: var(--boh-font-serif);
  font-size: 22px;
  font-weight: var(--boh-font-weight-600);
  line-height: 1.1;
  margin: 0 0 0.125rem 0;
}

.boh-checkin-header__step-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.1;
}

.boh-checkin-header__close-btn {
  padding: 0.5rem;
  margin-right: -0.5rem;
  color: var(--boh-color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  text-decoration: none;
}

.boh-checkin-header__close-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.boh-checkin-header__progress-bar {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.boh-checkin-header__progress-dot {
  height: 4px;
  flex: 1;
  border-radius: 9999px;
  transition: background-color 0.25s;
}

.boh-checkin-header__progress-dot--active {
  background-color: var(--boh-color-surface);
}

.boh-checkin-header__progress-dot--inactive {
  background-color: rgba(255, 255, 255, 0.3);
}

