:root {
  --bo-purple: #65358f;
  --bo-purple-dark: #482262;
  --bo-gold: #ffc102;
  --bo-ink: #2f2636;
  --bo-muted: #776d7e;
  --bo-bg: #f6f3f8;
  --bo-line: #e6dfea;
  --bo-white: #ffffff;
  --bo-success: #21885a;
  --bo-danger: #c64555;
  --bo-warning: #a66b00;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

.backoffice-body {
  margin: 0;
  background: var(--bo-bg);
  color: var(--bo-ink);
  font: 1rem/1.5 Roboto, Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

.bo-shell {
  min-height: 100vh;
}

.bo-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1035;
  width: 292px;
  overflow-y: auto;
  background: var(--bo-purple-dark);
  color: #fff;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.bo-brand {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 108px;
  padding: 1.2rem 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--bo-purple-dark);
}

.bo-brand a {
  display: block;
  width: 150px;
}

.bo-brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.bo-brand > span {
  grid-column: 1;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bo-sidebar-close {
  display: none;
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: transparent;
  color: #fff;
}

.bo-navigation {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 108px);
  padding: 1rem 0 2rem;
}

.bo-navigation button,
.bo-navigation a {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

.bo-dashboard-link,
.bo-group-links > button,
.bo-group-links > a,
.bo-nested-links button,
.bo-nested-links a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.91rem;
  font-weight: 500;
  transition: background 160ms ease, color 160ms ease;
}

.bo-dashboard-link {
  font-size: calc(0.91rem + 2px);
}

.bo-dashboard-link i,
.bo-group-links > button > i:first-child,
.bo-group-links > a > i:first-child {
  width: 18px;
  text-align: center;
}

.bo-dashboard-link:hover,
.bo-group-links button:hover,
.bo-group-links a:hover,
.bo-dashboard-link.active,
.bo-group-links button.active,
.bo-group-links a.active {
  background: rgba(255, 193, 2, 0.14);
  color: var(--bo-gold) !important;
}

.bo-dashboard-link.active,
.bo-group-links button.active,
.bo-group-links a.active {
  box-shadow: inset 4px 0 0 var(--bo-gold);
}

.bo-nav-group {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bo-group-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  color: #fff !important;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bo-group-trigger i {
  font-size: 0.7rem;
  transition: transform 180ms ease;
}

.bo-nav-group.open .bo-group-trigger i {
  transform: rotate(180deg);
}

.bo-group-links,
.bo-nested-links {
  display: none;
}

.bo-nav-group.open > .bo-group-links,
.bo-nested-links.open {
  display: block;
}

.bo-nested-trigger {
  position: relative;
}

.bo-nested-trigger i:last-child {
  margin-left: auto;
  font-size: 0.65rem;
}

.bo-nested-trigger.open i:last-child {
  transform: rotate(180deg);
}

.bo-nested-links button,
.bo-nested-links a {
  min-height: 40px;
  padding-left: 4.15rem;
  font-size: 0.86rem;
}

.bo-maintenance {
  display: flex;
  width: auto !important;
  align-items: center;
  gap: 0.8rem;
  margin: 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 193, 2, 0.72) !important;
  border-radius: 12px;
  background: rgba(255, 193, 2, 0.12) !important;
  color: #fff !important;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(20, 8, 29, 0.22);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.bo-navigation-bottom {
  margin-top: auto;
}

.bo-maintenance:hover,
.bo-maintenance.active {
  background: var(--bo-gold) !important;
  color: var(--bo-purple-dark) !important;
  box-shadow: 0 12px 28px rgba(20, 8, 29, 0.28);
  transform: translateY(-2px);
}

.bo-maintenance-icon {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bo-gold);
  color: var(--bo-purple-dark);
  font-size: 1rem;
}

.bo-maintenance-copy {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}

.bo-maintenance-copy strong {
  font-size: 0.86rem;
}

.bo-maintenance-copy small {
  margin-top: 0.14rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 500;
}

.bo-maintenance:hover .bo-maintenance-copy small,
.bo-maintenance.active .bo-maintenance-copy small {
  color: rgba(72, 34, 98, 0.76);
}

.bo-switch {
  position: relative;
  flex: none;
  width: 42px;
  height: 24px;
}

.bo-switch input {
  position: absolute;
  opacity: 0;
}

.bo-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
}

.bo-switch span::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: transform 160ms ease;
}

.bo-switch input:checked + span {
  background: var(--bo-gold);
}

.bo-switch input:checked + span::after {
  transform: translateX(18px);
}

.bo-workspace {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-left: 292px;
}

.bo-topbar {
  position: sticky;
  top: 0;
  z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 108px;
  padding: 1rem clamp(1.25rem, 3vw, 3rem);
  border-bottom: 1px solid var(--bo-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.bo-topbar-start,
.bo-topbar-actions,
.bo-user-button {
  display: flex;
  align-items: center;
}

.bo-topbar-start {
  gap: 1rem;
}

.bo-eyebrow {
  display: block;
  color: var(--bo-purple);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.bo-topbar h1 {
  margin: 0.1rem 0 0;
  color: var(--bo-ink);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 700;
}

.bo-menu-button {
  display: none;
}

.bo-topbar-actions {
  gap: 0.75rem;
}

.bo-icon-button,
.bo-user-button,
.bo-menu-button {
  min-height: 44px;
  border: 1px solid var(--bo-line);
  border-radius: 10px;
  background: #fff;
  color: var(--bo-ink);
}

.bo-store-link {
  display: inline-flex;
  align-self: flex-end;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0;
  color: var(--bo-purple);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.bo-store-link:hover {
  color: var(--bo-purple-dark);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.bo-store-link i {
  font-size: 0.78rem;
}

.bo-time-zone {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.18rem 0.45rem;
  min-width: 150px;
  color: var(--bo-muted);
  line-height: 1.2;
  white-space: nowrap;
}

.bo-time-zone strong {
  grid-column: 1 / -1;
  color: var(--bo-purple);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bo-clock-date,
.bo-clock-time {
  font-size: 0.77rem;
  font-variant-numeric: tabular-nums;
}

.bo-clock-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--bo-purple-dark);
  font-weight: 700;
}

.bo-topbar-divider {
  width: 1px;
  height: 32px;
  background: var(--bo-line);
}

.bo-icon-button,
.bo-menu-button {
  position: relative;
  width: 44px;
  padding: 0;
  text-align: center;
}

.bo-notification-count {
  position: absolute;
  top: -6px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--bo-danger);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
}

.bo-user-button {
  gap: 0.65rem;
  padding: 0.35rem 0.7rem 0.35rem 0.4rem;
}

.bo-user-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--bo-purple);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.bo-user-button > span:nth-child(2) {
  display: grid;
  text-align: left;
}

.bo-user-button strong {
  font-size: 0.85rem;
}

.bo-user-button small {
  color: var(--bo-muted);
  font-size: 0.72rem;
}

.bo-user-button > i {
  color: var(--bo-muted);
  font-size: 0.68rem;
  transition: transform 0.2s ease;
}

.bo-user-menu-wrap {
  position: relative;
}

.bo-user-menu-wrap.open .bo-user-button > i {
  transform: rotate(180deg);
}

.bo-user-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  z-index: 1080;
  display: none;
  width: 220px;
  padding: 0.45rem;
  border: 1px solid var(--bo-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(35, 24, 43, 0.18);
}

.bo-user-menu-wrap.open .bo-user-menu {
  display: grid;
}

.bo-user-menu a,
.bo-user-menu button {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--bo-ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

.bo-user-menu a:hover,
.bo-user-menu button:hover,
.bo-user-menu a:focus-visible,
.bo-user-menu button:focus-visible {
  background: var(--surface-soft);
  color: var(--bo-purple);
}

.bo-user-menu i {
  width: 18px;
  color: var(--bo-purple);
  text-align: center;
}

.bo-content {
  flex: 1 0 auto;
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 3rem);
  outline: none;
}

.bo-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding: 1rem clamp(1.25rem, 3vw, 3rem);
  border-top: 1px solid var(--bo-line);
  background: var(--bo-white);
  color: var(--bo-muted);
  font-size: 0.84rem;
}

.bo-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.9rem;
}

.bo-footer strong {
  color: var(--bo-ink);
}

.bo-footer a {
  color: var(--bo-purple);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.2rem;
}

.bo-footer a:hover,
.bo-footer a:focus-visible {
  text-decoration: underline;
}

.bo-auth-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 193, 2, 0.18), transparent 24rem),
    linear-gradient(135deg, #f7f3f9 0%, #eee5f4 100%);
  color: var(--bo-ink);
  font: 1rem/1.5 Roboto, Arial, sans-serif;
}

.bo-auth-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.bo-auth-header {
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bo-purple-dark);
}

.bo-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  text-decoration: none;
}

.bo-auth-brand img {
  width: 140px;
  filter: brightness(0) invert(1);
}

.bo-auth-brand span {
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-auth-main {
  display: grid;
  flex: 1 0 auto;
  place-items: center;
  width: 100%;
  padding: clamp(2rem, 7vw, 5rem) 1rem;
}

.bo-auth-card {
  width: min(100%, 31rem);
  overflow: hidden;
  border: 1px solid var(--bo-line);
  border-radius: 18px;
  background: var(--bo-white);
  box-shadow: 0 1.5rem 5rem rgba(59, 30, 76, 0.16);
}

.bo-auth-card-head {
  padding: 1.25rem 1.5rem;
  background: var(--bo-purple);
  color: #fff;
}

.bo-auth-card-body {
  padding: clamp(1.5rem, 5vw, 2.5rem);
}

.bo-auth-symbol {
  display: inline-grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--bo-gold);
  color: var(--bo-purple-dark);
  font-size: 1.35rem;
}

.bo-auth-card h1,
.bo-idle-dialog h2 {
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.bo-auth-card .form-label {
  color: var(--bo-ink);
  font-weight: 600;
}

.bo-auth-card .form-control {
  min-height: 48px;
  border-color: #d8cfdd;
}

.bo-auth-card .form-control:focus {
  border-color: var(--bo-purple);
  box-shadow: 0 0 0 0.2rem rgba(101, 53, 143, 0.15);
}

.bo-auth-primary {
  min-height: 46px;
  border: 1px solid var(--bo-purple);
  border-radius: 10px;
  background: var(--bo-purple);
  color: #fff;
  font-weight: 700;
}

.bo-auth-primary:hover,
.bo-auth-primary:focus-visible {
  border-color: var(--bo-purple-dark);
  background: var(--bo-purple-dark);
  color: #fff;
}

.bo-auth-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--bo-line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--bo-muted);
  font-size: 0.84rem;
}

.bo-auth-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
}

.bo-auth-footer a {
  color: var(--bo-purple);
  font-weight: 600;
}

.bo-idle-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(27, 15, 34, 0.72);
}

.bo-idle-backdrop[hidden] {
  display: none;
}

.bo-idle-dialog {
  width: min(100%, 32rem);
  padding: clamp(1.5rem, 5vw, 2.75rem);
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.35);
}

.bo-idle-countdown {
  margin: 1.5rem 0;
  color: var(--bo-purple);
  font-size: clamp(2.75rem, 10vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

@media (max-width: 575.98px) {
  .bo-auth-brand span {
    display: none;
  }

  .bo-footer,
  .bo-auth-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.bo-welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.bo-welcome h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
}

.bo-welcome p {
  max-width: 720px;
  margin: 0;
  color: var(--bo-muted);
}

.bo-primary-button,
.bo-secondary-button,
.bo-table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 42px;
  border-radius: 9px;
  font-weight: 700;
}

.bo-primary-button {
  padding: 0.65rem 1.05rem;
  border: 1px solid var(--bo-purple);
  background: var(--bo-purple);
  color: #fff;
}

.bo-primary-button:hover {
  border-color: var(--bo-gold);
  background: var(--bo-gold);
  color: var(--bo-purple-dark);
}

.bo-secondary-button {
  padding: 0.65rem 1rem;
  border: 1px solid var(--bo-line);
  background: #fff;
  color: var(--bo-purple);
}

.bo-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.bo-card {
  border: 1px solid var(--bo-line);
  border-radius: 14px;
  background: var(--bo-white);
  box-shadow: 0 12px 32px rgba(53, 36, 64, 0.05);
}

.bo-metric-card {
  position: relative;
  min-height: 164px;
  padding: 1.35rem;
  overflow: hidden;
}

.bo-metric-card::after {
  position: absolute;
  right: -25px;
  bottom: -35px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(101, 53, 143, 0.07);
  content: "";
}

.bo-metric-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  border-radius: 10px;
  background: rgba(101, 53, 143, 0.1);
  color: var(--bo-purple);
}

.bo-metric-card small {
  display: block;
  color: var(--bo-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.bo-metric-card strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.65rem;
}

.bo-metric-card em {
  color: var(--bo-success);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 700;
}

.bo-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  gap: 1.25rem;
}

.bo-panel {
  padding: 1.35rem;
}

.bo-panel + .bo-panel {
  margin-top: 1.25rem;
}

.bo-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.bo-panel-header h3 {
  margin: 0;
  font-size: 1.08rem;
}

.bo-panel-header p {
  margin: 0.2rem 0 0;
  color: var(--bo-muted);
  font-size: 0.82rem;
}

.bo-panel-link {
  border: 0;
  background: transparent;
  color: var(--bo-purple);
  font-size: 0.82rem;
  font-weight: 700;
}

.bo-table-wrap {
  overflow-x: auto;
}

.bo-table {
  width: 100%;
  margin: 0;
  border-bottom: 1px solid var(--bo-line);
  border-collapse: separate;
  border-spacing: 0;
  white-space: nowrap;
}

.bo-table th,
.bo-table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--bo-line);
  border-right: 1px solid var(--bo-line);
  text-align: left;
  vertical-align: middle;
}

.bo-table th {
  padding-top: calc(0.85rem + 2.5px);
  padding-bottom: calc(0.85rem + 2.5px);
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--bo-purple);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

.bo-number-column,
.bo-row-number {
  width: 54px;
  text-align: center !important;
}

.bo-row-number {
  color: var(--bo-muted);
  font-weight: 700;
}

.bo-table th:last-child,
.bo-table td:last-child {
  border-right: 0;
}

.bo-sort-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-align: left;
  text-transform: inherit;
  line-height: 1.2;
}

.bo-sort-button:hover,
.bo-sort-button:focus-visible {
  color: var(--bo-gold);
}

.bo-sort-button i {
  font-size: 0.8rem;
}

.bo-table td {
  font-size: 0.86rem;
}

.bo-table tbody tr:last-child td {
  border-bottom: 0;
}

.bo-table tbody tr {
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.bo-table tbody tr:hover {
  background-color: var(--surface-soft);
  box-shadow: inset 4px 0 0 var(--bo-gold);
}

.bo-table-name {
  font-weight: 700;
}

.bo-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.bo-status.success {
  background: #e5f5ed;
  color: var(--bo-success);
}

.bo-status.pending {
  background: #fff3d5;
  color: var(--bo-warning);
}

.bo-status.info {
  background: #eee7f4;
  color: var(--bo-purple);
}

.bo-status.danger {
  background: #fbe8eb;
  color: var(--bo-danger);
}

.bo-status.consulting-new {
  border: 1px solid #111;
  background: #fff;
  color: #111;
}

.bo-status.consulting-replied {
  border: 1px solid #111;
  background: #eee2cf;
  color: #111;
}

.bo-status.consulting-priced {
  border: 0;
  background: var(--bo-purple);
  color: #fff;
}

.bo-status.consulting-waiting {
  border: 0;
  background: #111;
  color: #fff;
}

.bo-status.consulting-accepted {
  border: 0;
  background: var(--bo-gold);
  color: #111;
}

.bo-status.consulting-paid {
  border: 0;
  background: #21885a;
  color: #fff;
}

.bo-status.consulting-delivered {
  border: 0;
  background: #c93b48;
  color: #fff;
}

.bo-table-action {
  width: 34px;
  min-height: 34px;
  border: 1px solid var(--bo-line);
  background: #fff;
  color: var(--bo-purple);
}

.bo-task-list,
.bo-quick-actions {
  display: grid;
  gap: 0.8rem;
}

.bo-task {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--bo-line);
  border-radius: 10px;
}

.bo-task > i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(101, 53, 143, 0.09);
  color: var(--bo-purple);
}

.bo-task strong,
.bo-task small {
  display: block;
}

.bo-task strong {
  font-size: 0.82rem;
}

.bo-task small {
  color: var(--bo-muted);
  font-size: 0.72rem;
}

.bo-task button {
  border: 0;
  background: transparent;
  color: var(--bo-purple);
}

.bo-quick-action {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border: 1px solid var(--bo-line);
  border-radius: 10px;
  background: #fff;
  color: var(--bo-ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
}

.bo-quick-action i {
  color: var(--bo-purple);
}

.bo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
}

.bo-search {
  position: relative;
  flex: 0 1 320px;
  width: min(100%, 320px);
}

.bo-search i {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  color: var(--bo-muted);
  transform: translateY(-50%);
}

.bo-search input,
.bo-toolbar select,
.bo-form input,
.bo-form select,
.bo-form textarea {
  min-height: 44px;
  border: 1px solid var(--bo-line);
  border-radius: 9px;
  background-color: #fff;
  color: var(--bo-ink);
}

.bo-search input {
  width: 100%;
  padding: 0.65rem 0.9rem 0.65rem 2.5rem;
}

.bo-toolbar select {
  min-width: 160px;
  width: auto;
  padding: 0.65rem 2.2rem 0.65rem 0.8rem;
}

.bo-filter-panel {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--bo-gold);
}

.bo-toolbar-action {
  margin-left: auto;
}

.bo-table-panel {
  overflow: hidden;
  padding: 0;
}

.bo-table-panel .bo-pagination {
  padding: 0 1rem 1rem;
}

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

.bo-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--bo-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.bo-form input,
.bo-form select,
.bo-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
}

.bo-form .full-width {
  grid-column: 1 / -1;
}

.bo-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  grid-column: 1 / -1;
  padding-top: 0.5rem;
}

.bo-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bo-purple);
  font-size: 0.82rem;
  font-weight: 700;
}

.bo-catalogue-form {
  display: grid;
  gap: 1.25rem;
}

.bo-content-editor {
  display: grid;
  gap: 1.25rem;
}

.bo-content-editor-heading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--bo-line);
}

.bo-content-editor-heading span {
  color: var(--bo-purple);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bo-content-editor-heading h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.bo-content-editor-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  background: rgba(101, 53, 143, 0.1);
  color: var(--bo-purple);
}

.bo-editor-toggle {
  align-self: end;
  min-height: 46px !important;
  padding: 0.65rem 0.8rem !important;
  align-items: center !important;
}

.bo-editor-toggle input {
  margin-top: 0 !important;
}

.bo-catalogue-drawer .bo-active-card {
  min-height: 46px;
  margin-top: 0;
  align-self: end;
}

.bo-editor-intro textarea {
  min-height: 140px;
}

.bo-editor-body textarea {
  min-height: 300px;
}

.bo-special-form {
  display: grid;
  gap: 1.25rem;
}

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

.bo-company-card {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.bo-company-card .bo-section-heading {
  margin-bottom: 0.2rem;
}

.bo-tax-grid {
  display: grid;
  gap: 0.8rem;
}

.bo-tax-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--bo-line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.bo-tax-apply {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  font-size: 0.82rem;
  font-weight: 700;
}

.bo-financial-card {
  padding: 0;
  overflow: hidden;
}

.bo-financial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bo-financial-section {
  min-width: 0;
  padding: 1.5rem;
  border-right: 1px solid var(--bo-line);
  border-bottom: 1px solid var(--bo-line);
}

.bo-financial-section:nth-child(2n) {
  border-right: 0;
}

.bo-financial-section:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.bo-financial-tax-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.55fr) auto;
  gap: 1rem;
  align-items: end;
}

.bo-financial-tax-fields .bo-tax-apply {
  min-height: 48px;
  margin: 0;
}

.bo-branding-grid,
.bo-integration-grid,
.bo-notification-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.bo-brand-upload {
  display: grid;
  gap: 0.55rem;
  color: var(--bo-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.bo-brand-card {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.bo-brand-card > .bo-primary-button,
.bo-integration-card > .bo-primary-button,
.bo-notification-card > .bo-primary-button {
  justify-self: start;
  margin-top: 1rem;
}

.bo-brand-upload > div {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 1rem;
  border: 1px dashed #cdbfd5;
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--bo-purple);
  text-align: center;
}

.bo-brand-upload > div i {
  margin-bottom: 0.45rem;
  font-size: 1.5rem;
}

.bo-brand-upload > div strong,
.bo-brand-upload > div small {
  display: block;
}

.bo-brand-upload > div small {
  margin-top: 0.2rem;
  color: var(--bo-muted);
  font-weight: 400;
}

.bo-integration-card {
  padding: 1.25rem;
}

.bo-integration-title {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--bo-line);
}

.bo-integration-title > i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--bo-purple);
}

.bo-integration-title h3 {
  margin: 0;
  font-size: 1rem;
}

.bo-integration-title label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.bo-integration-fields {
  display: grid;
  gap: 0.8rem;
}

.bo-notification-grid .bo-field select[multiple] {
  min-height: 130px;
}

.bo-notification-card {
  padding: 1.25rem;
}

.bo-notification-card .bo-section-heading {
  margin-bottom: 1rem;
}

.bo-agent-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.bo-agent-checks label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--bo-line);
  border-radius: 9px;
  background: var(--surface-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.bo-agent-option::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 5;
  padding: 0.45rem 0.65rem;
  border-radius: 7px;
  background: var(--bo-ink);
  color: #fff;
  content: attr(data-tooltip);
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.bo-agent-option:hover::after,
.bo-agent-option:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 767.98px) {
  .bo-tax-row,
  .bo-company-card-grid,
  .bo-financial-grid,
  .bo-branding-grid,
  .bo-integration-grid,
  .bo-notification-grid {
    grid-template-columns: 1fr;
  }

  .bo-financial-section,
  .bo-financial-section:nth-child(2n),
  .bo-financial-section:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--bo-line);
  }

  .bo-financial-section:last-child {
    border-bottom: 0;
  }

  .bo-financial-tax-fields {
    grid-template-columns: 1fr;
  }

  .bo-agent-checks {
    grid-template-columns: 1fr;
  }
}

.bo-editor-section {
  padding: clamp(1.15rem, 2.4vw, 1.75rem);
}

.bo-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bo-line);
}

.bo-section-heading > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bo-section-heading > div > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(101, 53, 143, 0.1);
  color: var(--bo-purple);
  font-size: 0.75rem;
  font-weight: 800;
}

.bo-section-heading h3,
.bo-section-heading p {
  margin: 0;
}

.bo-section-heading h3 {
  font-size: 1.08rem;
}

.bo-section-heading p {
  max-width: 520px;
  color: var(--bo-muted);
  font-size: 0.82rem;
  text-align: right;
}

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

.bo-editor-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bo-field {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  color: var(--bo-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.bo-field input,
.bo-field select,
.bo-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--bo-line);
  border-radius: 9px;
  background-color: #fff;
  color: var(--bo-ink);
  font-weight: 400;
}

.bo-field textarea {
  resize: vertical;
}

.bo-field > small {
  color: var(--bo-muted);
  font-size: 0.74rem;
  font-weight: 400;
}

.bo-active-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 46px;
  margin-top: 1.65rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--bo-line);
  border-radius: 10px;
  background: var(--surface-soft);
  cursor: pointer;
}

.bo-active-card input {
  width: 21px;
  height: 21px;
  accent-color: var(--bo-purple);
}

.bo-active-card strong,
.bo-active-card small {
  display: block;
}

.bo-active-card strong {
  font-size: 0.9rem;
}

.bo-active-card small {
  margin-top: 0.15rem;
  color: var(--bo-muted);
  font-size: 0.75rem;
}

.bo-related-search {
  position: relative;
}

.bo-related-search > i {
  position: absolute;
  top: 15px;
  left: 0.85rem;
  z-index: 2;
  color: var(--bo-muted);
}

.bo-related-search input {
  padding-left: 2.45rem;
}

.bo-related-results {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  left: 0;
  z-index: 20;
  display: none;
  padding: 0.4rem;
  border: 1px solid var(--bo-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(53, 36, 64, 0.14);
}

.bo-related-results.open {
  display: grid;
}

.bo-related-results button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: var(--bo-ink);
  text-align: left;
}

.bo-related-results button:hover {
  background: var(--surface-soft);
}

.bo-related-results strong {
  color: var(--bo-purple);
  font-size: 0.75rem;
}

.bo-related-results span,
.bo-related-results small {
  font-size: 0.76rem;
}

.bo-related-results small {
  color: var(--bo-muted);
}

.bo-related-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 32px;
  margin-top: 0.55rem;
}

.bo-related-selected > small {
  color: var(--bo-muted);
  font-weight: 400;
}

.bo-related-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.45rem 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--bo-ink);
  font-size: 0.72rem;
  font-weight: 500;
}

.bo-related-chip strong {
  color: var(--bo-purple);
}

.bo-related-chip button {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--bo-purple);
}

.bo-publishing-note {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid #d9cde2;
  border-radius: 10px;
  background: var(--surface-soft);
}

.bo-publishing-note i {
  margin-top: 0.15rem;
  color: var(--bo-purple);
}

.bo-publishing-note strong,
.bo-publishing-note span {
  display: block;
}

.bo-main-image-preview {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 190px;
  margin-top: 0.55rem;
  overflow: hidden;
  border: 1px dashed #cdbfd7;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--bo-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.bo-main-image-preview img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.bo-image-manager-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.bo-image-manager-heading strong {
  font-size: 0.86rem;
}

.bo-image-manager-heading span {
  color: var(--bo-muted);
  font-size: 0.75rem;
}

.bo-image-manager {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  min-height: 150px;
  padding: 0.8rem;
  border: 1px solid var(--bo-line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.bo-image-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--bo-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(53, 36, 64, 0.07);
}

.bo-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.bo-image-card-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--bo-line);
}

.bo-image-card-actions button {
  display: grid;
  place-items: center;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--bo-line);
  background: #fff;
  color: var(--bo-purple);
}

.bo-image-card-actions button:last-child {
  border-right: 0;
  color: var(--bo-danger);
}

.bo-image-card-actions button:hover {
  background: var(--surface-soft);
}

.bo-image-empty {
  grid-column: 1 / -1;
  align-self: center;
  margin: 0;
  color: var(--bo-muted);
  font-size: 0.8rem;
  text-align: center;
}

.bo-publishing-note strong {
  font-size: 0.84rem;
}

.bo-publishing-note span {
  margin-top: 0.2rem;
  color: var(--bo-muted);
  font-size: 0.77rem;
  line-height: 1.5;
}

.bo-field select[multiple] {
  min-height: 130px;
}

.bo-field input:focus,
.bo-field select:focus,
.bo-field textarea:focus {
  border-color: var(--bo-purple);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(101, 53, 143, 0.12);
}

.bo-span-2 {
  grid-column: 1 / -1;
}

.bo-col-span-2 {
  grid-column: span 2;
}

.bo-input-prefix {
  display: flex;
  align-items: stretch;
}

.bo-input-prefix > span {
  display: grid;
  place-items: center;
  width: 46px;
  border: 1px solid var(--bo-line);
  border-right: 0;
  border-radius: 9px 0 0 9px;
  background: var(--surface-soft);
  color: var(--bo-purple);
}

.bo-input-prefix input {
  border-radius: 0 9px 9px 0;
}

.bo-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.bo-check-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 92px;
  padding: 1rem;
  border: 1px solid var(--bo-line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.bo-check-card input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: var(--bo-purple);
}

.bo-check-card strong,
.bo-check-card small {
  display: block;
}

.bo-check-card strong {
  color: var(--bo-ink);
  font-size: 0.84rem;
}

.bo-check-card small {
  margin-top: 0.2rem;
  color: var(--bo-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.bo-service-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.bo-service-flow > div {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 180px;
  padding: 1.25rem;
  border-radius: 12px;
  background: var(--surface-soft);
}

.bo-service-flow i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bo-purple);
  color: #fff;
}

.bo-service-flow strong {
  font-size: 0.92rem;
}

.bo-service-flow span {
  color: var(--bo-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.bo-rule-note {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #cce7d8;
  border-radius: 10px;
  background: #eff9f3;
  color: var(--bo-success);
  font-size: 0.82rem;
  font-weight: 700;
}

.bo-editor-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--bo-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -10px 30px rgba(53, 36, 64, 0.08);
  backdrop-filter: blur(10px);
}

.bo-empty-note {
  padding: 2rem;
  color: var(--bo-muted);
  text-align: center;
}

.bo-hero-settings {
  margin-bottom: 1.25rem;
  border-left: 4px solid var(--bo-gold);
}

.bo-hero-settings form label {
  display: grid;
  gap: 0.55rem;
  color: var(--bo-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.bo-hero-settings form label > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bo-hero-settings select {
  min-width: 190px;
  min-height: 44px;
  padding: 0.65rem 2.2rem 0.65rem 0.8rem;
  border: 1px solid var(--bo-line);
  border-radius: 9px;
  background-color: #fff;
  color: var(--bo-ink);
}

.bo-payment-generator {
  margin-bottom: 1.25rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.bo-payment-generator .bo-content-editor-heading {
  margin-bottom: 1.5rem;
}

.bo-payment-result {
  margin-bottom: 1.25rem;
  overflow: hidden;
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.bo-payment-result[hidden] {
  display: none;
}

.bo-payment-result-grid {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
}

.bo-payment-qr {
  align-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--bo-line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  text-align: center;
}

.bo-payment-qr img {
  background: #fff;
  border-radius: 8px;
  display: block;
  height: auto;
  max-width: 220px;
  width: 100%;
}

.bo-payment-qr span {
  color: var(--bo-muted);
  font-size: 0.82rem;
}

.bo-payment-share h3 {
  margin: 0.8rem 0 0.35rem;
}

.bo-payment-share p {
  color: var(--bo-muted);
  margin-bottom: 0.75rem;
}

.bo-payment-amount {
  color: var(--bo-purple);
  display: block;
  font-size: 1.65rem;
  margin-bottom: 1.25rem;
}

.bo-payment-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.bo-payment-share-actions .btn {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
}

.bo-payment-empty {
  align-items: center;
  color: var(--bo-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: center;
  min-height: 150px;
  padding: 1rem;
  text-align: center;
}

.bo-payment-empty i {
  color: var(--bo-purple);
  font-size: 1.5rem;
}

.bo-payment-row-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.bo-table-action-danger {
  color: var(--bo-danger);
}

.bo-table-action-danger:hover {
  border-color: var(--bo-danger);
  background: var(--bo-danger);
  color: #fff;
}

.bo-payment-reference-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--bo-line);
  border-radius: 12px;
  background: var(--bo-bg);
}

.bo-payment-reference-card > span:first-child {
  color: var(--bo-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bo-payment-reference-card .bo-status {
  margin-left: auto;
}

.bo-generated-payment-link {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bo-line);
}

.bo-generated-payment-link label {
  color: var(--bo-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.bo-payment-link-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.bo-payment-link-heading .form-label {
  margin-bottom: 0;
}

.bo-payment-link-heading .btn {
  align-items: center;
  display: inline-flex;
  gap: 0.4rem;
  white-space: nowrap;
}

.bo-payment-link-tools {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
}

.bo-payment-link-tools .btn-link {
  color: var(--bo-purple);
  font-weight: 700;
  text-decoration: underline;
}

.bo-generated-payment-link .form-control.is-created {
  background: var(--surface-soft);
  border-color: #228b4e;
  color: #145c34;
}

.bo-generated-payment-link .form-control {
  min-height: 38px;
  background: var(--surface-soft);
  color: #756e7a;
  font-size: 0.78rem;
}

.bo-generated-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.bo-generated-link-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
}

.bo-payment-editor-actions {
  flex-wrap: wrap;
}

.bo-payment-links-table th:last-child,
.bo-payment-links-table td:last-child {
  width: 1%;
  white-space: nowrap;
}

.bo-payment-receipt-dialog {
  width: min(100%, 680px);
}

.bo-payment-receipt {
  color: var(--bo-ink);
}

.bo-payment-receipt-brand {
  align-items: center;
  border-bottom: 2px solid var(--bo-purple);
  display: flex;
  justify-content: space-between;
  padding-bottom: 1.25rem;
}

.bo-payment-receipt-brand img {
  height: auto;
  max-width: 170px;
}

.bo-payment-receipt-brand div {
  display: grid;
  gap: 0.25rem;
  text-align: right;
}

.bo-payment-receipt-brand span {
  color: var(--bo-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bo-payment-receipt-status {
  align-items: center;
  color: #228b4e;
  display: flex;
  font-weight: 800;
  gap: 0.5rem;
  padding: 1.25rem 0;
}

.bo-payment-receipt dl {
  margin: 0;
}

.bo-payment-receipt dl > div {
  border-bottom: 1px solid var(--bo-line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.bo-payment-receipt dt {
  color: var(--bo-muted);
}

.bo-payment-receipt dd {
  font-weight: 700;
  margin: 0;
  text-align: right;
}

.bo-payment-receipt .bo-receipt-total {
  color: var(--bo-purple-dark);
  font-size: 1.1rem;
}

.bo-payment-receipt-note {
  color: var(--bo-muted);
  margin: 1.25rem 0 0;
}

.bo-payment-editor-actions button:disabled {
  background: var(--surface-soft);
  border-color: #d9d9df;
  color: #9a9aa3;
  cursor: not-allowed;
  opacity: 1;
  pointer-events: none;
}

.bo-payment-before-create,
.bo-payment-after-create {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bo-payment-before-create[hidden],
.bo-payment-after-create[hidden] {
  display: none;
}

.bo-payment-confirm-dialog {
  width: min(100%, 460px);
  text-align: center;
}

.bo-payment-confirm-dialog .bo-content-editor-icon {
  margin: 0 auto 1rem;
}

.bo-payment-confirm-dialog h2 {
  margin-bottom: 0.4rem;
}

.bo-payment-confirm-dialog p {
  margin-bottom: 1.5rem;
  color: var(--bo-muted);
}

.bo-payment-confirm-dialog .bo-editor-actions {
  justify-content: center;
}

.bo-maintenance-timing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.55rem;
}

.bo-maintenance-timing label {
  position: relative;
  cursor: pointer;
}

.bo-maintenance-timing input {
  position: absolute;
  opacity: 0;
}

.bo-maintenance-timing label > span {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 58px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--bo-line);
  border-radius: 10px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.bo-maintenance-timing input:checked + span {
  border-color: var(--bo-purple);
  background: rgba(101, 53, 143, 0.06);
  box-shadow: 0 0 0 3px rgba(101, 53, 143, 0.1);
  color: var(--bo-purple);
}

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

.bo-maintenance-schedule[hidden] {
  display: none;
}

@media (max-width: 767.98px) {
  .bo-maintenance-timing,
  .bo-maintenance-schedule {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .bo-payment-result-grid {
    grid-template-columns: 1fr;
  }

  .bo-payment-qr {
    margin-inline: auto;
    max-width: 280px;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .bo-hero-settings form label > div {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Bootstrap-enhanced operational forms and consulting workspace. */
.backoffice-body .form-control,
.backoffice-body .form-select,
.backoffice-body .input-group-text {
  min-height: 46px;
  border-color: var(--bo-line);
  border-radius: 9px;
}

.backoffice-body .form-select:not([multiple]) {
  padding-right: 2.75rem;
  background-position: right 0.85rem center;
  background-size: 16px 12px;
}

.backoffice-body input.form-control[type="file"] {
  min-height: 48px;
  padding: 0;
  overflow: hidden;
  background-color: #fff;
  line-height: 46px;
}

.backoffice-body input.form-control[type="file"]::file-selector-button {
  height: 46px;
  margin: 0 0.85rem 0 0;
  padding: 0 1rem;
  border: 0;
  border-right: 1px solid var(--bo-line);
  background: var(--bo-purple);
  color: #fff;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.backoffice-body input.form-control[type="file"]:hover::file-selector-button {
  background: var(--bo-gold);
  color: var(--bo-purple-dark);
}

.backoffice-body .form-control:focus,
.backoffice-body .form-select:focus {
  border-color: var(--bo-purple);
  box-shadow: 0 0 0 0.2rem rgba(101, 53, 143, 0.12);
}

.backoffice-body .input-group > .input-group-text {
  border-radius: 9px 0 0 9px;
  background: var(--surface-soft);
  color: var(--bo-purple);
}

.backoffice-body .input-group > .form-control {
  border-radius: 0 9px 9px 0;
}

.backoffice-body .btn-primary {
  border-color: var(--bo-purple);
  background: var(--bo-purple);
}

.backoffice-body .btn-primary:hover,
.backoffice-body .btn-primary:focus {
  border-color: var(--bo-purple-dark);
  background: var(--bo-purple-dark);
}

.backoffice-body .btn-outline-primary {
  border-color: var(--bo-purple);
  color: var(--bo-purple);
}

.backoffice-body .btn-outline-primary:hover,
.backoffice-body .btn-outline-primary.active {
  border-color: var(--bo-purple);
  background: var(--bo-purple);
  color: #fff;
}

.bo-latest-settings {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  border-left: 4px solid var(--bo-gold);
}

.bo-latest-settings h3,
.bo-latest-settings p {
  margin: 0;
}

.bo-latest-settings h3 {
  font-size: 1.05rem;
}

.bo-latest-settings p {
  margin-top: 0.25rem;
  color: var(--bo-muted);
  font-size: 0.8rem;
}

.bo-latest-settings .bo-field {
  min-width: 250px;
}

.bo-consulting-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.75fr);
  gap: 1.25rem;
  align-items: start;
}

.bo-modal-open {
  overflow: hidden;
}

.bo-request-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  visibility: hidden;
  pointer-events: none;
}

.bo-request-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.bo-request-drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(35, 24, 43, 0.46);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bo-request-drawer.open .bo-request-drawer-backdrop {
  opacity: 1;
}

.bo-request-drawer-panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(100%, 680px);
  height: 100%;
  overflow-y: auto;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  box-shadow: -24px 0 70px rgba(35, 24, 43, 0.24);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.bo-request-drawer.open .bo-request-drawer-panel {
  transform: translateX(0);
}

.bo-content-drawer .bo-request-drawer-panel {
  width: min(100%, 840px);
}

.bo-catalogue-drawer .bo-request-drawer-panel {
  width: min(100%, 1080px);
  background: var(--bo-bg);
}

.bo-catalogue-drawer .bo-back-link {
  display: none;
}

.bo-catalogue-drawer .bo-welcome > div {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.bo-catalogue-drawer .bo-welcome h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.bo-content-drawer .bo-content-editor,
.bo-content-drawer .bo-catalogue-form {
  padding-top: 0.5rem;
}

.bo-request-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  place-items: center;
  padding: 1.5rem;
}

.bo-request-modal.open {
  display: grid;
}

.bo-request-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(35, 24, 43, 0.68);
  cursor: default;
}

.bo-request-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(35, 24, 43, 0.32);
}

.bo-request-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--bo-line);
  border-radius: 50%;
  background: #fff;
  color: var(--bo-purple);
}

.bo-request-modal-close:hover,
.bo-request-modal-close:focus-visible {
  border-color: var(--bo-purple);
  background: var(--bo-purple);
  color: #fff;
}

.bo-consulting-detail {
  position: sticky;
  top: 128px;
  min-height: 520px;
  padding: 1.35rem;
}

.bo-consulting-empty {
  display: grid;
  place-items: center;
  min-height: 480px;
  color: var(--bo-muted);
  text-align: center;
}

.bo-consulting-empty i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--bo-purple);
  font-size: 1.3rem;
}

.bo-consulting-empty h3,
.bo-consulting-empty p {
  margin: 0;
}

.bo-consulting-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bo-line);
}

.bo-consulting-detail-head span:first-child {
  color: var(--bo-purple);
  font-size: 0.74rem;
  font-weight: 800;
}

.bo-consulting-detail-head h3 {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
}

.bo-request-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}

.bo-request-meta > div {
  padding: 0.75rem;
  border-radius: 9px;
  background: var(--surface-soft);
}

.bo-request-meta dt {
  color: var(--bo-muted);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bo-request-meta dd {
  margin: 0.2rem 0 0;
  overflow-wrap: anywhere;
  font-size: 0.8rem;
  font-weight: 700;
}

.bo-request-message {
  margin-bottom: 1rem;
  padding: 1rem;
  border-left: 4px solid var(--bo-gold);
  border-radius: 0 9px 9px 0;
  background: var(--surface-soft);
}

.bo-request-message span {
  color: var(--bo-purple);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bo-request-message p {
  margin: 0.45rem 0 0;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.6;
}

.bo-payment-link-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--bo-line);
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--bo-ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.bo-payment-link-option .form-check-input {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0;
  border: 2px solid var(--bo-purple);
  cursor: pointer;
}

.bo-payment-link-option .form-check-input:checked {
  border-color: var(--bo-purple);
  background-color: var(--bo-purple);
}

.bo-payment-link-option .form-check-label {
  margin: 0;
  cursor: pointer;
}

.bo-response-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 1rem;
}

.bo-consulting-response {
  padding-top: 0.25rem;
}

.bo-reply-field {
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
}

.bo-reply-field .form-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.55rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--bo-purple);
  color: #fff;
  font-weight: 800;
}

.bo-activity-log {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid var(--bo-line);
  border-radius: 12px;
  background: #fff;
}

.bo-section-heading,
.bo-activity-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--bo-line);
}

.bo-section-heading h4 {
  margin: 0;
  font-size: 1rem;
}

.bo-section-heading > span,
.bo-activity-heading time {
  color: var(--bo-muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.bo-activity-time {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.bo-day-count {
  background: var(--surface-soft);
  border: 1px solid #d7c3f5;
  border-radius: 999px;
  color: #5d2b86;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.35rem 0.45rem;
}

.bo-activity-log ol {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.bo-activity-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.75rem;
  padding-bottom: 1rem;
}

.bo-activity-item:not(:last-child)::before {
  position: absolute;
  top: 34px;
  bottom: 0;
  left: 16px;
  width: 2px;
  background: var(--bo-line);
  content: '';
}

.bo-activity-item:last-child {
  padding-bottom: 0;
}

.bo-activity-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--bo-purple);
  font-size: 0.78rem;
}

.bo-activity-content {
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 9px;
  background: var(--surface-soft);
}

.bo-activity-heading strong {
  color: var(--bo-ink);
  font-size: 0.82rem;
}

.bo-activity-content p {
  margin: 0.4rem 0 0;
  color: var(--bo-ink);
  font-size: 0.8rem;
  line-height: 1.55;
}

.bo-activity-price {
  display: inline-block;
  color: var(--bo-purple);
  font-size: 0.9rem;
}

.bo-activity-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--bo-line);
}

.bo-log-status {
  flex: 0 0 auto;
}

@media (max-width: 575.98px) {
  .bo-activity-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }
}

.bo-recommend-search {
  position: relative;
}

.bo-recommend-search > i {
  position: absolute;
  top: 23px;
  left: 0.9rem;
  z-index: 2;
  color: var(--bo-muted);
  transform: translateY(-50%);
}

.bo-recommend-search > input {
  padding-left: 2.5rem;
}

.bo-recommend-results {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  z-index: 6;
  display: none;
  padding: 0.35rem;
  border: 1px solid var(--bo-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(35, 24, 43, 0.16);
}

.bo-recommend-results.open {
  display: grid;
}

.bo-recommend-results button {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.65rem;
  padding: 0.65rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--bo-ink);
  font-size: 0.78rem;
  text-align: left;
}

.bo-recommend-results button:hover {
  background: var(--surface-soft);
}

.bo-recommend-selected,
.bo-consulting-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.bo-consulting-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--bo-purple);
  font-size: 0.75rem;
}

.bo-consulting-link > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bo-consulting-link button {
  border: 0;
  background: transparent;
  color: inherit;
}

.bo-response-actions .btn-primary span {
  font-size: 0.72rem;
  font-weight: 500;
}

.bo-order-address,
.bo-order-items {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--bo-line);
  border-radius: 11px;
  background: var(--surface-soft);
}

.bo-order-address > span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--bo-purple);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bo-order-address strong,
.bo-order-address p {
  display: block;
  margin: 0;
  font-size: 0.82rem;
}

.bo-order-address p {
  margin-top: 0.25rem;
  color: var(--bo-muted);
  line-height: 1.55;
}

.bo-order-items h4,
.bo-order-processing h4 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
}

.bo-order-items table {
  width: 100%;
  border-collapse: collapse;
}

.bo-order-items th,
.bo-order-items td {
  padding: 0.65rem;
  border-bottom: 1px solid var(--bo-line);
  font-size: 0.78rem;
  text-align: left;
}

.bo-order-items th {
  color: var(--bo-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.bo-order-items td small {
  display: block;
  margin-top: 0.1rem;
  color: var(--bo-muted);
}

.bo-order-total {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 0.9rem;
  font-size: 0.86rem;
}

.bo-order-total strong {
  color: var(--bo-purple);
  font-size: 1.05rem;
}

.bo-order-processing {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bo-line);
}

.bo-order-notify {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem;
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--bo-ink);
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .bo-consulting-workspace {
    grid-template-columns: 1fr;
  }

  .bo-consulting-detail {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .bo-latest-settings {
    align-items: stretch;
    flex-direction: column;
  }

  .bo-latest-settings .bo-field {
    min-width: 0;
  }
}

.bo-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-top: 1rem;
}

.bo-pagination button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--bo-line);
  border-radius: 8px;
  background: #fff;
  color: var(--bo-ink);
}

.bo-pagination button.active {
  border-color: var(--bo-purple);
  background: var(--bo-purple);
  color: #fff;
}

.bo-sidebar-backdrop {
  display: none;
}

.bo-toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1100;
  display: none;
  max-width: 360px;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: var(--bo-purple-dark);
  color: #fff;
  box-shadow: 0 16px 45px rgba(47, 38, 54, 0.24);
  font-size: 0.86rem;
  font-weight: 600;
}

@media (max-width: 1180px) {
  .bo-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bo-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .bo-editor-grid-4,
  .bo-image-manager {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .bo-sidebar {
    transform: translateX(-100%);
    transition: transform 220ms ease;
  }

  .bo-sidebar.open {
    transform: translateX(0);
  }

  .bo-sidebar-close,
  .bo-menu-button {
    display: block;
  }

  .bo-workspace {
    margin-left: 0;
  }

  .bo-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1030;
    background: rgba(31, 20, 38, 0.48);
  }

  .bo-sidebar-backdrop.open {
    display: block;
  }
}

@media (max-width: 767.98px) {
  .bo-topbar {
    min-height: 86px;
    gap: 0.75rem;
  }

  .bo-topbar-actions {
    gap: 0.4rem;
  }

  .bo-time-zone,
  .bo-topbar-divider,
  .bo-user-button > span:nth-child(2),
  .bo-user-button > i {
    display: none;
  }

  .bo-user-button {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .bo-store-link {
    padding: 0.35rem;
  }

  .bo-user-button .bo-user-avatar {
    width: 34px;
    height: 34px;
  }

  .bo-welcome {
    align-items: stretch;
    flex-direction: column;
  }

  .bo-welcome .bo-primary-button {
    align-self: flex-start;
  }

  .bo-form {
    grid-template-columns: 1fr;
  }

  .bo-section-heading {
    flex-direction: column;
  }

  .bo-section-heading p {
    text-align: left;
  }

  .bo-editor-grid,
  .bo-editor-grid-4,
  .bo-option-grid,
  .bo-service-flow {
    grid-template-columns: 1fr;
  }

  .bo-span-2 {
    grid-column: auto;
  }

  .bo-col-span-2 {
    grid-column: auto;
  }

  .bo-active-card {
    margin-top: 0;
  }

  .bo-image-manager {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bo-editor-actions {
    position: static;
    flex-wrap: wrap;
  }
}

@media (max-width: 575.98px) {
  .bo-topbar {
    padding-inline: 0.85rem;
  }

  .bo-eyebrow {
    display: none;
  }

  .bo-topbar h1 {
    font-size: 1.15rem;
  }

  .bo-content {
    padding: 1rem;
  }

  .bo-metric-grid {
    grid-template-columns: 1fr;
  }

  .bo-metric-card {
    min-height: 145px;
  }

  .bo-icon-button {
    display: none;
  }

  .bo-image-manager {
    grid-template-columns: 1fr;
  }
}

button, .btn, [role="button"], input[type="submit"], input[type="button"] { border-radius: 6px !important; }

/* Lighter action labels and consistent leading icon spacing. */
button, .btn, [role="button"], input[type="submit"], input[type="button"] { font-weight: 500 !important; }
.card-add-cart, .detail-purchase-actions .btn-gold { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; font-size: 1rem; }
.detail-purchase-actions .btn-gold i, .card-add-cart i { margin: 0; line-height: 1; }

:root { --surface-soft: #f5f1e9; --bo-bg: #f5f1e9; --bo-line: #e2dace; }
.btn-primary { background: var(--bo-purple); color: #fff; border-color: var(--bo-purple); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--bo-gold); color: var(--bo-ink); border-color: var(--bo-gold); }
