/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.app-toast-stack {
  position: fixed;
  z-index: 1080;
  top: 5.25rem;
  right: 1rem;
  display: flex;
  width: min(100% - 2rem, 26rem);
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.app-message {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 3.75rem;
  margin: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-left: 0;
  border-radius: 0.5rem;
  background: #111827;
  color: #fff;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.16);
  pointer-events: auto;
}

.app-message::before {
  position: absolute;
  top: 0.7rem;
  bottom: 0.7rem;
  left: 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: #0d6efd;
  content: "";
}

.app-message-success::before {
  background: #198754;
}

.app-message-warning::before {
  background: #ffc107;
}

.app-message-error::before {
  background: #dc3545;
}

.app-message-icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.25rem;
}

.app-message-text {
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
}

.app-message-close {
  width: 1rem;
  height: 1rem;
  padding: 0.75rem;
  border-radius: 999px;
  filter: invert(1) grayscale(100%) brightness(200%);
}

@media (max-width: 767.98px) {
  .app-toast-stack {
    top: 4.5rem;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
  }
}

/* Custom muted red button for Google Login */
.btn-muted-red {
    background-color: #ea4335;
    color: white;
    border: none;
    transition: background-color 0.2s ease-in-out;
}

.btn-muted-red:hover {
    background-color: #d33828;
    color: white;
}

/* Application shell and shared component system (Django admin uses its own base). */
.app-shell-page,
.public-site-page {
  min-height: 100vh;
  background: #f5f7fb;
  color: #172033;
}

.app-shell-page {
  background-image:
    radial-gradient(circle at 8% 0%, rgba(13, 110, 253, 0.045), transparent 28rem),
    linear-gradient(180deg, #f8faff 0, #f5f7fb 24rem);
}

.app-navbar-wrap {
  position: sticky;
  z-index: 1030;
  top: 0;
  padding: 0.55rem 0.75rem 0;
}

.app-navbar {
  max-width: 1440px;
  margin: 0 auto;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 35px rgba(23, 32, 51, 0.08);
  backdrop-filter: blur(14px);
}

.app-navbar-container {
  max-width: 1440px;
}

.app-navbar-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 1.35rem;
  padding: 0.45rem 0;
}

.app-navbar-links {
  gap: 0.1rem;
}

.app-navbar .nav-link {
  border-radius: 9px;
  color: #526078;
  font-size: 0.88rem;
  font-weight: 650;
  transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.app-navbar .nav-link:hover {
  background: #f2f6fc;
  color: #172033;
}

.app-navbar .nav-link.active {
  background: #eaf2ff;
  color: #0b5ed7;
  box-shadow: inset 0 0 0 1px rgba(13, 110, 253, 0.08);
}

.app-navbar-actions {
  gap: 0.2rem;
  align-items: center;
}

.app-nav-icon {
  display: inline-flex;
  width: 2.45rem;
  height: 2.45rem;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}

.app-nav-account {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}

.app-nav-account-label {
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-navbar .dropdown-menu {
  margin-top: 0.6rem;
}

.app-main {
  padding-bottom: 3rem;
}

.app-shell-page h1,
.app-shell-page h2,
.app-shell-page h3,
.app-shell-page h4,
.app-shell-page h5,
.app-shell-page h6 {
  color: #172033;
  letter-spacing: -0.018em;
}

.app-shell-page h1 {
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  font-weight: 780;
}

.app-shell-page h2 {
  font-weight: 750;
}

.app-page {
  padding-top: 1.25rem;
}

.app-page-header {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.app-page-header-copy {
  min-width: 0;
}

.app-page-header-copy > :last-child {
  margin-bottom: 0;
}

.app-page-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

/* Account and profile pages. */
.account-page {
  padding-bottom: 3rem;
}

.account-sidebar {
  position: sticky;
  top: 5.5rem;
}

.account-sidebar .card-body {
  padding: 1rem;
}

.account-avatar {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #0d6efd;
  box-shadow: 0 10px 22px rgba(13, 110, 253, 0.2);
  color: #fff;
  flex: 0 0 auto;
  font-size: 1.4rem;
}

.min-width-0 {
  min-width: 0;
}

.account-nav {
  margin-right: -1rem;
  margin-bottom: -1rem;
  margin-left: -1rem;
  border-radius: 0;
  box-shadow: none !important;
}

.account-nav .list-group-item {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.82rem 1rem;
  border-right: 0;
  border-left: 0;
  color: #526078;
  font-weight: 700;
}

.account-nav .list-group-item:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.account-nav .list-group-item:last-child {
  border-bottom-right-radius: 11px;
  border-bottom-left-radius: 11px;
}

.account-nav .list-group-item.active {
  border-color: rgba(13, 110, 253, 0.14);
  background: #eaf2ff;
  color: #0b5ed7;
}

.account-content-card .card-body {
  padding: 1.5rem;
}

.account-panel-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
}

.account-kicker {
  margin-bottom: 0.3rem;
  color: #0b5ed7;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.account-info-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(23, 32, 51, 0.085);
  border-radius: 11px;
  background: #fbfcfe;
}

.account-info-icon,
.account-action-icon,
.account-settings-icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #eaf2ff;
  color: #0b5ed7;
  flex: 0 0 auto;
  font-size: 1.2rem;
}

.account-info-label {
  color: #66738a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-info-value {
  overflow-wrap: anywhere;
  color: #172033;
  font-weight: 750;
}

.account-action-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  height: 100%;
  padding: 1rem;
  border: 1px solid rgba(23, 32, 51, 0.085);
  border-radius: 11px;
  background: #fff;
  color: #172033;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.account-action-card:hover,
.account-action-card:focus {
  border-color: rgba(13, 110, 253, 0.28);
  box-shadow: 0 10px 26px rgba(23, 32, 51, 0.08);
  color: #172033;
  transform: translateY(-1px);
}

.account-action-title,
.account-action-copy {
  display: block;
}

.account-action-title {
  font-weight: 800;
}

.account-action-copy {
  color: #66738a;
  font-size: 0.86rem;
}

.account-list-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.account-settings-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(23, 32, 51, 0.08);
}

.account-settings-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-settings-panel {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid rgba(23, 32, 51, 0.085);
  border-radius: 11px;
  background: #fbfcfe;
}

.account-settings-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex: 0 0 auto;
  flex-wrap: wrap;
}

@media (max-width: 767.98px) {
  .account-panel-header,
  .account-settings-panel,
  .account-list-item {
    flex-direction: column;
    align-items: stretch;
  }

  .account-summary-grid {
    grid-template-columns: 1fr;
  }

  .account-settings-actions {
    justify-content: flex-start;
  }
}

.app-shell-page .card,
.app-shell-page .list-group,
.app-shell-page .accordion-item,
.public-site-page .card {
  border-color: rgba(23, 32, 51, 0.085);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(23, 32, 51, 0.05);
}

.app-shell-page .card {
  overflow: hidden;
}

.app-shell-page .card-header {
  padding: 0.72rem 0.9rem;
  border-bottom-color: rgba(23, 32, 51, 0.07);
  background: #fbfcfe;
  color: #263248;
  font-weight: 750;
}

.app-shell-page .card-body {
  padding: 0.9rem;
}

.app-shell-page .table-responsive {
  scrollbar-color: rgba(93, 107, 130, 0.35) transparent;
}

.app-shell-page .table {
  --bs-table-striped-bg: #f8fafd;
  --bs-table-hover-bg: #f2f7ff;
  margin-bottom: 0;
  color: #2c374b;
}

.app-shell-page .table > :not(caption) > * > * {
  padding: 0.62rem 0.75rem;
  border-bottom-color: rgba(23, 32, 51, 0.065);
  vertical-align: middle;
}

.app-shell-page .table thead th {
  border-bottom-width: 1px;
  background: #f7f9fc;
  color: #66738a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.app-shell-page .invoice-table > :not(caption) > * > * {
  padding: 0.48rem 0.6rem;
}

.invoice-table {
  width: 100%;
  min-width: 760px;
  table-layout: fixed;
}

.invoice-col-created {
  width: 6.5rem;
}

.invoice-col-number {
  width: 7.5rem;
}

.invoice-col-type {
  width: 3rem;
}

.invoice-col-guest,
.invoice-col-listing {
  width: auto;
}

.invoice-col-date {
  width: 6.5rem;
}

.invoice-col-total {
  width: 7.5rem;
}

.invoice-col-actions {
  width: 6.5rem;
}

.invoice-table-nowrap {
  white-space: nowrap;
}

td.invoice-table-text > span,
span.invoice-table-text {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-shell-page .upsell-orders-table > :not(caption) > * > * {
  padding: 0.48rem 0.6rem;
}

.upsell-orders-table {
  width: 100%;
  min-width: 980px;
  table-layout: fixed;
}

.upsell-order-col-created { width: 8rem; }
.upsell-order-col-guest { width: 9rem; }
.upsell-order-col-booking { width: 12rem; }
.upsell-order-col-catalogue { width: 8rem; }
.upsell-order-col-items { width: auto; }
.upsell-order-col-status { width: 8.5rem; }
.upsell-order-col-total { width: 7rem; }
.upsell-order-col-actions { width: 4.5rem; }

.upsell-order-nowrap {
  white-space: nowrap;
}

.upsell-orders-table td.upsell-order-truncate {
  overflow: hidden;
}

.upsell-order-text {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-shell-page .checkin-table > :not(caption) > * > * {
  padding: 0.48rem 0.6rem;
}

.checkin-table {
  width: 100%;
  table-layout: fixed;
}

.checkin-col-guest { width: auto; }
.checkin-col-listing { width: auto; }
.checkin-col-date { width: 6rem; }
.checkin-col-status { width: 7.5rem; }
.checkin-col-count { width: 4.5rem; }
.checkin-col-submitted { width: 8rem; }
.checkin-col-actions { width: 3.5rem; }

.checkin-open-button {
  white-space: nowrap;
}

.checkin-cell-nowrap {
  white-space: nowrap;
}

.checkin-table td.checkin-cell-truncate {
  overflow: hidden;
}

.checkin-cell-text {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-shell-page .form-label {
  margin-bottom: 0.35rem;
  color: #4f5d73;
  font-size: 0.84rem;
  font-weight: 700;
}

.app-shell-page .form-control,
.app-shell-page .form-select {
  min-height: 2.35rem;
  border-color: rgba(23, 32, 51, 0.14);
  border-radius: 9px;
  background-color: #fbfcfe;
}

.app-shell-page .form-control:focus,
.app-shell-page .form-select:focus {
  border-color: rgba(13, 110, 253, 0.5);
  background-color: #fff;
  box-shadow: 0 0 0 0.22rem rgba(13, 110, 253, 0.1);
}

.app-shell-page .form-check-input {
  border-color: rgba(23, 32, 51, 0.22);
}

.app-shell-page .form-switch .form-check-input {
  width: 2em;
  height: 1.05em;
  margin-top: 0.18em;
}

.app-shell-page .btn,
.public-site-page .btn {
  border-radius: 9px;
  font-weight: 680;
}

.public-site-page:not(.public-flow-page) h1,
.public-site-page:not(.public-flow-page) h2,
.public-site-page:not(.public-flow-page) h3 {
  color: #172033;
  letter-spacing: -0.025em;
}

.public-site-page:not(.public-flow-page) .form-label {
  margin-bottom: 0.35rem;
  color: #4f5d73;
  font-size: 0.84rem;
  font-weight: 700;
}

.public-site-page:not(.public-flow-page) .form-control,
.public-site-page:not(.public-flow-page) .form-select {
  min-height: 2.7rem;
  border-color: rgba(23, 32, 51, 0.14);
  border-radius: 9px;
  background-color: #fbfcfe;
}

.public-site-page:not(.public-flow-page) .form-control:focus,
.public-site-page:not(.public-flow-page) .form-select:focus {
  border-color: rgba(13, 110, 253, 0.5);
  background: #fff;
  box-shadow: 0 0 0 0.22rem rgba(13, 110, 253, 0.1);
}

.public-site-page:not(.public-flow-page) .card-header.bg-primary {
  border: 0;
  background: linear-gradient(135deg, #0d6efd, #315fba) !important;
  font-weight: 750;
}

.app-shell-page .btn-primary {
  box-shadow: 0 7px 18px rgba(13, 110, 253, 0.17);
}

.app-shell-page .btn-sm {
  border-radius: 8px;
}

.app-shell-page .dropdown-menu {
  padding: 0.45rem;
  border-color: rgba(23, 32, 51, 0.09);
  border-radius: 11px;
  box-shadow: 0 16px 42px rgba(23, 32, 51, 0.14);
}

.app-shell-page .dropdown-item {
  padding: 0.55rem 0.7rem;
  border-radius: 7px;
}

.app-shell-page .list-group {
  overflow: hidden;
}

.app-shell-page .list-group-item {
  padding: 0.85rem 1rem;
  border-color: rgba(23, 32, 51, 0.07);
}

.app-shell-page .list-group-item-action:hover {
  background: #f3f7fc;
}

.app-shell-page .alert {
  border-color: transparent;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.05);
}

.app-shell-page .badge {
  padding: 0.38em 0.62em;
  border-radius: 999px;
  font-weight: 750;
}

.app-shell-page .nav-tabs {
  gap: 0.35rem;
  padding: 0.3rem;
  border: 0;
  border-radius: 11px;
  background: #e9edf4;
}

.app-shell-page .nav-tabs .nav-link {
  border: 0;
  border-radius: 8px;
  color: #5d6b82;
  font-weight: 700;
}

.app-shell-page .nav-tabs .nav-link.active {
  background: #fff;
  color: #172033;
  box-shadow: 0 3px 12px rgba(23, 32, 51, 0.08);
}

.app-shell-page .page-link {
  margin: 0 0.15rem;
  border-color: rgba(23, 32, 51, 0.1);
  border-radius: 8px !important;
  color: #41516b;
}

.app-shell-page .page-item.active .page-link {
  border-color: #0d6efd;
  background: #0d6efd;
  color: #fff;
}

.app-shell-page .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(23, 32, 51, 0.22);
}

.app-shell-page .modal-header,
.app-shell-page .modal-footer {
  border-color: rgba(23, 32, 51, 0.08);
  background: #fbfcfe;
}

.app-shell-page .accordion-button {
  font-weight: 720;
  box-shadow: none;
}

.app-shell-page .accordion-button:not(.collapsed) {
  background: #eef5ff;
  color: #172033;
}

.app-shell-page .dataTables_wrapper .dataTables_filter input,
.app-shell-page .dataTables_wrapper .dataTables_length select {
  border-color: rgba(23, 32, 51, 0.14);
  border-radius: 9px;
  background: #fbfcfe;
}

.app-shell-page .dataTables_wrapper .dataTables_length label,
.app-shell-page .dataTables_wrapper .dataTables_filter label {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.app-shell-page .dataTables_wrapper .dataTables_length select {
  width: auto;
  min-width: 4.25rem;
  margin: 0;
  padding-right: 1.8rem;
}

.app-shell-page .dataTables_wrapper .dataTables_filter input {
  margin-left: 0;
}

.app-shell-page .dataTables_wrapper .dataTables_info,
.app-shell-page .dataTables_wrapper .dataTables_length,
.app-shell-page .dataTables_wrapper .dataTables_filter {
  color: #66738a;
  font-size: 0.85rem;
}

.app-shell-page .dataTables_wrapper > .row:first-child,
.app-shell-page .dataTables_wrapper > .row:last-child {
  margin-right: 0;
  margin-left: 0;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.organisation-grid {
  display: block;
  overflow: hidden !important;
  border: 1px solid rgba(23, 32, 51, 0.085) !important;
  border-radius: 11px !important;
  background: #fff !important;
  box-shadow: 0 8px 26px rgba(23, 32, 51, 0.05) !important;
}

.organisation-grid .organisation-card {
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border: 0 !important;
  border-bottom: 1px solid rgba(23, 32, 51, 0.07) !important;
  border-radius: 0 !important;
  background: #fff;
  box-shadow: none;
  transition: background-color 150ms ease;
}

.organisation-grid .organisation-card:last-child {
  border-bottom: 0 !important;
}

.organisation-grid .organisation-card:hover {
  background: #f7faff;
}

.organisation-avatar {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #eef5ff;
  color: #0d6efd;
  font-size: 1.15rem;
}

.min-w-0 {
  min-width: 0;
}

[data-organisation-feature-settings] .feature-setting-option {
  height: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(23, 32, 51, 0.085);
  border-radius: 9px;
  background: #fbfcfe;
}

[data-organisation-feature-settings] .form-check {
  min-height: 1.4rem;
  margin: 0;
  padding-left: 2.45rem;
}

[data-organisation-feature-settings] .form-check-label {
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
}

[data-organisation-feature-settings] .form-text {
  margin: 0.35rem 0 0;
  color: #6c788c;
  font-size: 0.78rem;
  line-height: 1.35;
}

[data-organisation-feature-settings] .errorlist {
  margin: 0.35rem 0 0;
}

.notification-filter {
  flex: 1 1 52rem;
  flex-wrap: nowrap;
  min-width: 0;
  width: min(100%, 64rem);
}

.notification-filter .form-control[type="search"] {
  flex: 1 1 15rem;
  min-width: 10rem;
  width: auto;
}

.notification-filter .form-select {
  flex: 0 0 8rem;
  width: 8rem;
}

.notification-filter .form-control[name="category"] {
  flex: 0 1 11rem;
  min-width: 8rem;
  width: 11rem;
}

.notification-filter-toggles,
.notification-filter-buttons {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.notification-filter-toggles .form-check {
  margin: 0;
}

@media (max-width: 1199.98px) {
  .notification-filter {
    flex-wrap: wrap;
    width: 100%;
  }
}

.app-shell-page .decorative-blob {
  opacity: 0.55;
}

.app-shell-page .display-6 {
  color: #0f274d;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.app-error-page {
  display: flex;
  min-height: 65vh;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.app-error-card {
  width: min(100%, 34rem);
  padding: 2.5rem;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(23, 32, 51, 0.09);
  text-align: center;
}

.app-error-icon {
  display: inline-flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: #eef5ff;
  color: #0d6efd;
  font-size: 1.45rem;
}

@media (max-width: 991.98px) {
  .app-navbar-wrap {
    padding: 0;
  }

  .app-navbar {
    border-width: 0 0 1px;
    border-radius: 0;
  }

  .app-navbar .navbar-collapse {
    padding: 0.75rem 0 0.35rem;
  }

  .app-navbar-links,
  .app-navbar-actions {
    gap: 0.2rem;
    align-items: stretch;
  }

  .app-navbar .nav-link,
  .app-nav-icon,
  .app-nav-account {
    width: 100%;
    height: auto;
    justify-content: flex-start;
    padding: 0.55rem 0.7rem !important;
  }

  .app-nav-icon .visually-hidden,
  .app-nav-account .visually-hidden {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin-left: 0.45rem !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
  }

  .app-navbar-actions .dropdown-menu {
    box-shadow: none;
  }
}

@media (max-width: 767.98px) {
  .app-page {
    padding-top: 1.15rem;
  }

  .app-page-header {
    flex-direction: column;
    align-items: stretch;
  }

  .app-page-header-actions {
    justify-content: flex-start;
  }

  .app-page-header-actions > .btn,
  .app-page-header-actions > a.btn {
    flex: 1;
  }

  .notification-filter {
    display: none;
  }

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

  .organisation-grid .organisation-card {
    align-items: flex-start !important;
  }

  .app-shell-page .card-body {
    padding: 1rem;
  }
}

.upsell-admin-page,
.upsell-public-shell {
  color: #172033;
}

.upsell-page-header,
.upsell-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.upsell-order-actions {
  align-items: center;
  justify-content: flex-end;
}

.upsell-email-actions-menu {
  min-width: 18rem;
  padding: 0.35rem;
  border-color: rgba(23, 32, 51, 0.1);
  border-radius: 9px;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.12);
}

.upsell-email-action {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.6rem 0.7rem;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 700;
}

.upsell-email-action .bi {
  margin-top: 0.1rem;
  color: #0d6efd;
}

.upsell-email-action span,
.upsell-email-action small {
  display: block;
}

.upsell-email-action small {
  max-width: 15rem;
  overflow: hidden;
  color: #718096;
  font-size: 0.72rem;
  font-weight: 500;
  text-overflow: ellipsis;
}

.upsell-back-link {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  color: #5d6b82;
  font-weight: 700;
  text-decoration: none;
}

.upsell-back-link:hover {
  color: #0d6efd;
}

.upsell-panel,
.upsell-catalogue-card,
.upsell-public-panel,
.upsell-success-panel {
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(23, 32, 51, 0.07);
}

.upsell-panel,
.upsell-public-panel,
.upsell-success-panel {
  padding: 1.25rem;
}

.upsell-catalogue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem;
}

.upsell-catalogue-card {
  padding: 1rem;
}

.upsell-catalogue-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.upsell-catalogue-viewport {
  min-width: 0;
  overflow: hidden;
}

.upsell-catalogue-track {
  display: grid;
  grid-auto-columns: calc((100% - 2rem) / 3);
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.1rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.upsell-catalogue-track::-webkit-scrollbar {
  display: none;
}

.upsell-catalogue-track .upsell-catalogue-card {
  min-width: 0;
  scroll-snap-align: start;
}

.upsell-catalogue-chevron {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.upsell-status-badge {
  display: inline-flex;
  align-items: center;
}

.upsell-catalogue-listings,
.upsell-checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.upsell-empty-state {
  grid-column: 1 / -1;
  padding: 3rem 1.5rem;
  border: 1px dashed rgba(23, 32, 51, 0.18);
  border-radius: 8px;
  background: #f8fafc;
  text-align: center;
}

.upsell-empty-state .bi {
  color: #0d6efd;
  font-size: 2rem;
}

.upsell-settings-accordion .accordion-item {
  overflow: hidden;
  border-color: rgba(23, 32, 51, 0.1);
  border-radius: 8px;
}

.upsell-details-panel {
  overflow: hidden;
  padding: 0;
  border-color: rgba(30, 64, 175, 0.12);
  box-shadow: 0 12px 32px rgba(23, 32, 51, 0.07);
}

.upsell-catalogue-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
  background: linear-gradient(135deg, #f7faff 0%, #fff 72%);
}

.upsell-catalogue-form-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.upsell-catalogue-form-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(13, 110, 253, 0.12);
  border-radius: 10px;
  background: linear-gradient(145deg, #fff, #e8f1ff);
  color: #0d6efd;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.08);
}

.upsell-catalogue-status {
  min-width: max-content;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 9px;
  background: #fff;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.upsell-catalogue-status:has(input:checked) {
  border-color: rgba(25, 135, 84, 0.2);
  background: #f2fbf6;
}

.upsell-catalogue-form-body {
  padding: 0.9rem 1rem 1rem;
}

.upsell-catalogue-fields {
  display: grid;
  grid-template-columns: minmax(12rem, 0.85fr) minmax(18rem, 1.15fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.upsell-catalogue-field {
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(23, 32, 51, 0.09);
  border-radius: 10px;
  background: #fbfcfe;
}

.upsell-catalogue-field:focus-within {
  border-color: rgba(13, 110, 253, 0.28);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.06);
}

.upsell-catalogue-field-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  color: #34435c;
  font-size: 0.8rem;
  font-weight: 700;
}

.upsell-catalogue-field-label .bi {
  color: #0d6efd;
}

.upsell-catalogue-field .form-control {
  background: #fff;
}

.upsell-catalogue-field .form-text {
  margin-top: 0.3rem;
  color: #718096;
  font-size: 0.72rem;
  line-height: 1.25;
}

.upsell-details-panel .upsell-settings-accordion {
  margin: 0;
}

.upsell-details-panel .accordion-button {
  padding: 0.6rem 0.75rem;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: none;
}

.upsell-details-panel .accordion-button:not(.collapsed) {
  background: #f7faff;
  color: #172033;
}

.upsell-catalogue-listings-icon {
  display: inline-flex;
  width: 1.65rem;
  height: 1.65rem;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #eaf2ff;
  color: #0d6efd;
}

.upsell-details-panel .accordion-button .badge {
  border: 1px solid rgba(13, 110, 253, 0.12);
  background: #eef5ff;
  color: #315783;
}

.upsell-details-panel .accordion-body {
  padding: 0.6rem;
  border-top: 1px solid rgba(23, 32, 51, 0.06);
  background: #fbfcfe;
}

.upsell-details-panel .upsell-listing-grid {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.5rem;
}

.upsell-details-panel .upsell-listing-choice {
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(23, 32, 51, 0.09);
  background: #fff;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.upsell-details-panel .upsell-listing-choice:has(input:checked) {
  border-color: rgba(13, 110, 253, 0.38);
  background: #eef5ff;
  box-shadow: inset 0 0 0 1px rgba(13, 110, 253, 0.08);
}

.upsell-catalogue-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-top: 1px solid rgba(23, 32, 51, 0.08);
  background: #f8fafc;
}

.upsell-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.75rem;
}

.upsell-listing-choice,
.upsell-check-choice {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.8rem;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 8px;
  background: #fff;
}

.upsell-listing-choice.is-disabled {
  background: #f1f4f8;
  color: #7a8699;
}

.upsell-listing-choice-title {
  display: block;
  font-weight: 700;
}

.upsell-listing-choice-note {
  display: block;
  margin-top: 0.15rem;
  color: #7a8699;
  font-size: 0.85rem;
}

.upsell-editor {
  padding: 1rem;
  border: 1px solid rgba(13, 110, 253, 0.18);
  border-radius: 8px;
  background: #f8fbff;
}

.upsell-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 8px;
}

.upsell-table-wrap thead {
  background: #f8fafc;
}

.upsell-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.upsell-definition-grid {
  display: grid;
  grid-template-columns: minmax(7rem, 0.45fr) minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: 0.75rem;
}

.upsell-definition-grid dt {
  color: #5d6b82;
  font-size: 0.85rem;
  font-weight: 700;
}

.upsell-definition-grid dd {
  min-width: 0;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.upsell-definition-grid-wide {
  grid-template-columns: minmax(8rem, 0.25fr) minmax(0, 1fr);
}

.upsell-timeline {
  position: relative;
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.upsell-timeline::before {
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 1rem;
  width: 1px;
  background: rgba(23, 32, 51, 0.14);
  content: "";
}

.upsell-timeline-event {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.85rem;
}

.upsell-timeline-marker {
  z-index: 1;
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(13, 110, 253, 0.24);
  border-radius: 999px;
  background: #fff;
  color: #0d6efd;
}

.upsell-timeline-body {
  padding: 0.85rem;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 8px;
  background: #f8fafc;
}

.upsell-public-shell {
  width: min(100%, 720px);
  margin: 0 auto;
}

.public-flow-page {
  min-height: 100vh;
  background-color: #f5f8fc;
  background-image:
    radial-gradient(circle at 15% 0%, rgba(13, 110, 253, 0.08), transparent 28rem),
    radial-gradient(circle at 90% 15%, rgba(111, 66, 193, 0.06), transparent 24rem);
}

.public-flow-page > .container {
  min-height: 100vh;
}

.checkin-public-shell {
  width: min(100%, 760px);
}

.upsell-public-header {
  position: relative;
  padding: 0.75rem 1rem 0;
  text-align: center;
}

.upsell-public-header h1 {
  font-weight: 750;
  letter-spacing: -0.025em;
}

.public-flow-icon {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.65rem;
  border: 1px solid rgba(13, 110, 253, 0.14);
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #eaf3ff);
  color: #0d6efd;
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.12);
  font-size: 1.3rem;
}

.public-flow-icon-muted {
  border-color: rgba(93, 107, 130, 0.14);
  background: #f3f5f8;
  color: #5d6b82;
  box-shadow: none;
}

.public-flow-badge,
.public-flow-success-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #fff4d6;
  color: #856404;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.public-flow-success-badge {
  margin-bottom: 0.75rem;
  background: #e8f5ee;
  color: #146c43;
}

.public-flow-page .upsell-public-panel,
.public-flow-page .upsell-success-panel {
  border-color: rgba(23, 32, 51, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(23, 32, 51, 0.08);
}

.public-flow-page .upsell-public-panel {
  padding: 1.35rem;
}

.public-flow-page .upsell-success-panel {
  padding: 2rem;
}

.public-panel-heading {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.public-panel-heading h2 {
  font-weight: 750;
}

.public-flow-page .form-label {
  margin-bottom: 0.35rem;
  color: #49566b;
  font-size: 0.85rem;
  font-weight: 700;
}

.public-flow-page .form-control,
.public-flow-page .form-select {
  min-height: 2.75rem;
  border-color: rgba(23, 32, 51, 0.14);
  border-radius: 10px;
  background-color: #fbfcfe;
}

.public-flow-page .form-control:focus,
.public-flow-page .form-select:focus {
  border-color: rgba(13, 110, 253, 0.5);
  background-color: #fff;
  box-shadow: 0 0 0 0.22rem rgba(13, 110, 253, 0.1);
}

.public-primary-action,
.public-flow-page form > .btn-primary:last-child {
  display: flex;
  min-height: 3.25rem;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.2);
  font-weight: 700;
}

.checkin-section-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.checkin-section-header-actions {
  justify-content: space-between;
  align-items: flex-start;
}

.checkin-section-icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(13, 110, 253, 0.18);
  border-radius: 8px;
  background: #eef5ff;
  color: #0d6efd;
}

.public-flow-page .checkin-section-icon {
  border-radius: 10px;
  background: #f0f6ff;
}

.checkin-additional-guest {
  padding: 1rem;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 8px;
  background: #f8fafc;
}

.public-flow-page .checkin-additional-guest {
  border-radius: 12px;
  background: #fbfcfe;
}

.checkin-guest-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12rem minmax(10rem, 14rem) auto;
  gap: 1rem;
  align-items: end;
}

.checkin-remove-guest {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
}

.checkin-empty-state {
  padding: 1rem;
  border: 1px dashed rgba(23, 32, 51, 0.16);
  border-radius: 8px;
  color: #5d6b82;
  text-align: center;
}

.checkin-billing-toggle {
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 8px;
  background: #f8fafc;
}

.upsell-public-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8.5rem;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 8px;
  background: #f8fafc;
}

.public-flow-page .upsell-public-item {
  border-color: rgba(23, 32, 51, 0.09);
  border-radius: 12px;
  background: #fbfcfe;
}

.upsell-public-item-selectable {
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.upsell-public-item-selectable:hover,
.upsell-public-item-selectable:focus-within {
  border-color: rgba(13, 110, 253, 0.28);
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.07);
  transform: translateY(-1px);
}

.upsell-public-item-copy {
  min-width: 0;
}

.upsell-public-item-copy h2,
.upsell-public-item h3 {
  font-weight: 750;
}

.upsell-public-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
}

.upsell-public-price {
  display: inline-flex;
  gap: 0.3rem;
  align-items: baseline;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: #eef5ff;
  color: #0b5ed7;
  font-size: 0.9rem;
  font-weight: 800;
}

.upsell-public-price small {
  font-size: 0.72rem;
  font-weight: 700;
}

.upsell-public-quantity .form-label {
  margin-bottom: 0.35rem;
  color: #5d6b82;
  font-size: 0.85rem;
  font-weight: 700;
}

.upsell-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.upsell-order-summary .upsell-summary-line:not(.upsell-summary-total),
.upsell-success-summary .upsell-summary-line:not(.upsell-summary-total) {
  padding: 0.15rem 0;
  color: #49566b;
}

.upsell-summary-total {
  margin-bottom: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.upsell-success-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: #e8f5ee;
  color: #198754;
  font-size: 1.5rem;
}

.public-flow-page .upsell-success-icon {
  width: 3.5rem;
  height: 3.5rem;
  box-shadow: 0 10px 30px rgba(25, 135, 84, 0.12);
}

.upsell-success-summary {
  max-width: 30rem;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 8px;
  background: #f8fafc;
}

.public-flow-page .upsell-success-summary {
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 12px;
  background: #fbfcfe;
}

@media (max-width: 767.98px) {
  .upsell-page-header,
  .upsell-panel-header {
    flex-direction: column;
  }

  .upsell-order-actions {
    justify-content: flex-start;
  }

  .upsell-catalogue-form-header {
    align-items: stretch;
    flex-direction: column;
  }

  .upsell-catalogue-status {
    align-self: flex-start;
  }

  .upsell-catalogue-fields {
    grid-template-columns: 1fr;
  }

  .upsell-catalogue-form-actions .btn {
    flex: 1;
  }

  .upsell-catalogue-carousel {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.5rem;
  }

  .upsell-catalogue-track {
    grid-auto-columns: 100%;
  }

  .upsell-detail-grid,
  .upsell-definition-grid,
  .upsell-definition-grid-wide {
    grid-template-columns: 1fr;
  }

  .upsell-public-item {
    grid-template-columns: 1fr;
  }

  .checkin-guest-row {
    grid-template-columns: 1fr;
  }

  .checkin-section-header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .checkin-remove-guest {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .upsell-catalogue-track {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }

  .upsell-detail-grid {
    grid-template-columns: 1fr;
  }
}
