html[data-bs-theme="light"],
html[data-bs-theme="light"] body,
html[data-bs-theme="light"] .table-responsive {
  scrollbar-color: #b8bec9 #f3f5f8;
  scrollbar-width: thin;
}

html[data-bs-theme="light"] {
  color-scheme: light;
}

html[data-bs-theme="light"] ::-webkit-scrollbar {
  height: 12px;
  width: 12px;
}

html[data-bs-theme="light"] ::-webkit-scrollbar-track {
  background: #f3f5f8;
}

html[data-bs-theme="light"] ::-webkit-scrollbar-thumb {
  background: #b8bec9;
  border: 3px solid #f3f5f8;
  border-radius: 999px;
}

html[data-bs-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: #969eac;
}

.tg-phone {
  max-width: 360px;
  border: 1px solid #dbe1ea;
  border-radius: 28px;
  overflow: hidden;
  background: #0e1621;
}
.tg-phone-bar {
  background: #17212b;
  color: #fff;
  padding: 14px 16px;
}
.tg-phone-bar small {
  display: block;
  color: #86d987;
  font-size: 12px;
}
.tg-phone-body {
  min-height: 420px;
  padding: 16px;
  background: #0e1621 url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='%230e1621'/%3E%3C/svg%3E");
}
.tg-bubble {
  background: #182533;
  color: #fff;
  border-radius: 14px 14px 14px 4px;
  padding: 12px 14px;
  white-space: pre-wrap;
  line-height: 1.45;
  margin-bottom: 12px;
}
.tg-keys {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.tg-key {
  background: #2b5278;
  color: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  width: 100%;
  text-align: left;
}
.tg-key.is-wide {
  grid-column: 1 / -1;
  text-align: center;
}
.tg-key.is-soldout {
  opacity: 0.72;
}
.tg-reply {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}
.tg-reply span {
  background: #17212b;
  color: #fff;
  border: 1px solid #2b5278;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  font-size: 12px;
}
.tg-chip {
  display: inline-block;
  margin-top: 18px;
  background: #2b5278;
  color: #fff;
  border-radius: 16px;
  padding: 4px 10px;
  font-size: 12px;
}
.maxw-450px { max-width: 450px; }
.lang-switch .btn.active {
  background: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}

/* Header utilities */
.header-utilities {
  align-items: center;
  display: flex;
  gap: 12px;
  height: 100%;
}
.app-header button,
.app-header .btn,
.app-header .app-toggler { box-shadow: none !important; }
.header-control,
.header-profile-trigger,
.header-theme-control {
  box-shadow: none !important;
  outline: 0;
}
.header-control {
  align-items: center;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 12px;
  color: var(--bs-body-color);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 9px;
  height: 44px;
  justify-content: center;
  min-width: 106px;
  padding: 0 13px;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.header-control:hover,
.header-control[aria-expanded="true"] {
  background: var(--bs-primary-bg-subtle);
  border-color: var(--bs-primary-border-subtle);
  color: var(--bs-primary);
}
.header-control > i:first-child { color: var(--bs-primary); font-size: 17px; }
.header-control-chevron { color: var(--bs-secondary-color); font-size: 14px; line-height: 1; }
.header-language-menu,
.header-profile-menu {
  border: 1px solid var(--bs-border-color);
  border-radius: 14px;
  box-shadow: none !important;
  margin-top: 8px !important;
  padding: 6px;
}
.header-language-menu { min-width: 210px; }
.header-language-option {
  align-items: center;
  border: 0;
  border-radius: 9px;
  color: var(--bs-body-color);
  display: flex;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
}
.header-language-option:hover,
.header-language-option:focus { background: var(--bs-tertiary-bg); color: var(--bs-primary); }
.header-language-option.is-active { background: var(--bs-primary-bg-subtle); color: var(--bs-primary); font-weight: 700; }
.header-language-code {
  align-items: center;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-primary-border-subtle);
  border-radius: 7px;
  color: var(--bs-primary);
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  height: 26px;
  justify-content: center;
  letter-spacing: .04em;
  width: 30px;
}
.header-utility-divider { background: var(--bs-border-color); height: 28px; width: 1px; }
.theme-btn.header-theme-control {
  border: 0;
  cursor: pointer;
  flex: 0 0 74px;
  min-width: 74px;
  padding: 0;
}
.header-profile-trigger {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--bs-body-color);
  display: flex;
  gap: 10px;
  min-height: 48px;
  padding: 3px 7px 3px 10px;
  text-align: right;
  transition: background .16s ease, border-color .16s ease;
}
.header-profile-trigger:hover,
.header-profile-trigger[aria-expanded="true"] { background: var(--bs-tertiary-bg); border-color: var(--bs-border-color); }
.header-profile-copy { display: flex; flex-direction: column; line-height: 1.2; max-width: 170px; }
.header-profile-copy strong { color: var(--bs-heading-color); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-profile-copy small { color: var(--bs-secondary-color); font-size: 10px; margin-top: 3px; }
.header-avatar {
  background: var(--bs-primary-bg-subtle);
  border: 1px solid var(--bs-primary-border-subtle);
  color: var(--bs-primary);
  font-size: 14px !important;
  font-weight: 800;
}
.header-profile-menu { min-width: 245px; }
.header-profile-summary { align-items: center; display: flex; gap: 11px; padding: 9px; }
.header-profile-summary > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.header-profile-summary strong { color: var(--bs-heading-color); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-profile-summary small { color: var(--bs-secondary-color); font-size: 11px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-profile-menu .dropdown-divider { margin: 5px 0; }
.header-profile-menu .dropdown-item { border-radius: 9px; min-height: 40px; }
@media (max-width: 991.98px) {
  .header-profile-copy { display: none; }
  .header-profile-trigger { padding-left: 6px; }
}
@media (max-width: 575.98px) {
  .app-header-inner { min-width: 0; padding-right: 10px; }
  .header-utilities { gap: 5px; white-space: nowrap; }
  .header-utilities > .dropdown { flex: 0 0 auto; }
  .header-utility-divider { display: none; }
  .header-control { gap: 4px; height: 40px; min-width: 58px; padding: 0 7px; }
  .header-control > i:first-child { display: none; }
  .theme-btn.header-theme-control { flex-basis: 74px; min-width: 74px; width: 74px; }
  .header-profile-trigger { gap: 0; min-height: 40px; padding: 2px; }
  .header-profile-trigger .header-control-chevron { display: none; }
  .header-profile-trigger .header-avatar { align-items: center; display: inline-flex; flex: 0 0 38px; height: 38px; justify-content: center; width: 38px; }
}
.bot-config-tabs-wrap {
  align-items: center; background: var(--bs-body-bg); border: 1px solid var(--bs-border-color);
  border-radius: 18px;
  display: flex; gap: 12px; justify-content: space-between; padding: 7px;
}
.bot-config-tabs {
  background: var(--bs-tertiary-bg); border-radius: 13px; display: flex;
  flex: 1; gap: 4px; padding: 4px;
}
.bot-config-tabs .nav-item { flex: 1; }
.bot-config-tabs .nav-link {
  align-items: center; border: 1px solid transparent; border-radius: 10px;
  color: var(--bs-secondary-color); display: flex; font-weight: 700; gap: 8px;
  justify-content: center; min-height: 44px; padding: 9px 16px; transition: all .18s ease; width: 100%;
}
.bot-config-tabs .nav-link:hover { background: var(--bs-body-bg); color: var(--bs-primary); }
.bot-config-tabs .nav-link.active {
  background: var(--bs-primary); border-color: var(--bs-primary);
  color: #fff;
}
.bot-tab-icon {
  align-items: center; border: 1px solid currentColor; border-radius: 7px; display: inline-flex;
  flex: 0 0 24px; font-size: 13px; height: 24px; justify-content: center; opacity: .85;
}
.bot-config-guide-link { align-items: center; color: var(--bs-primary); display: inline-flex; font-size: 13px; font-weight: 700; gap: 6px; text-decoration: none; }
.bot-config-guide-link:hover { color: var(--bs-primary); text-decoration: underline; }
.bot-config-guide-link > i { font-size: 14px; }
.bot-lang-switch { flex: 0 0 auto; }
@media (max-width: 767.98px) {
  .bot-config-tabs-wrap { align-items: stretch; flex-direction: column; }
  .bot-config-tabs { flex-direction: column; }
  .bot-config-tabs .nav-link { justify-content: flex-start; }
  .bot-lang-switch { align-self: flex-end; }
}

.modal {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
.modal-dialog {
  max-height: calc(100vh - 2rem);
  margin: 1rem auto;
}
.modal-dialog-scrollable {
  height: calc(100vh - 2rem);
  max-height: calc(100vh - 2rem);
}
.modal-dialog-scrollable .modal-content,
form.modal-content {
  max-height: calc(100vh - 2rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.modal-dialog-scrollable .modal-body {
  overflow-y: auto !important;
  overscroll-behavior: contain;
  min-height: 0;
  flex: 1 1 auto;
}

@media (max-width: 767.98px) {
  .modal-dialog {
    margin: .75rem auto;
    max-height: 95vh;
    max-height: calc(95dvh - env(safe-area-inset-bottom, 0px));
  }
  .modal-dialog-centered {
    min-height: 0;
  }
  .modal-dialog-scrollable {
    height: 95vh;
    height: calc(95dvh - env(safe-area-inset-bottom, 0px));
  }
  .modal-dialog .modal-content {
    max-height: 95vh;
    max-height: calc(95dvh - env(safe-area-inset-bottom, 0px));
    overflow: hidden;
  }
  .modal-dialog .modal-content > form:not(.modal-content) {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }
  .modal-dialog .modal-body {
    min-height: 0;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }
  .modal-dialog .modal-header,
  .modal-dialog .modal-footer {
    flex-shrink: 0;
  }
}

.product-more-dropdown {
  z-index: 2000;
}
.product-more-dropdown .dropdown-item { align-items: center; display: flex; gap: 10px; }
.product-more-dropdown .dropdown-item > i { color: var(--bs-primary); font-size: 15px; text-align: center; width: 17px; }
.product-more-dropdown .dropdown-item.text-danger > i { color: currentColor; }
.product-more-dropdown .product-restore-action { background: var(--bs-success-bg-subtle); color: var(--bs-success); font-weight: 700; }
.product-more-dropdown .product-restore-action > i { color: currentColor; }
.product-more-dropdown .product-restore-action:hover,
.product-more-dropdown .product-restore-action:focus { background: var(--bs-success); color: #fff; }



@media (min-width: 992px) {
  .modal-dialog.modal-wide {
    width: 80%;
    max-width: 80%;
  }
}

.products-panel {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 24px;
  overflow: hidden;
}
.products-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 24px 8px;
}
.products-panel-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-primary-bg-subtle);
  color: var(--bs-primary);
  font-size: 20px;
}
.products-panel-sub {
  color: var(--bs-secondary-color);
  font-size: 13px;
  margin-top: 2px;
}

.products-table {
  --bs-table-bg: transparent;
  --bs-table-border-color: transparent;
}
.products-table thead th {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  font-weight: 600;
  border-bottom: 0;
  padding: 12px 16px;
  background: transparent;
}
.products-table tbody td {
  padding: 14px 16px;
  border-top: 1px solid var(--bs-border-color);
  vertical-align: middle;
  white-space: nowrap;
}
.products-table tbody tr.is-hidden td { background: var(--bs-tertiary-bg); }
.products-table tbody tr.is-hidden .products-name { color: var(--bs-secondary-color); }
.products-table tbody tr.is-hidden .products-avatar { filter: grayscale(1); }
.products-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bs-primary-bg-subtle);
}
.products-avatar-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-primary);
}
.products-name {
  font-weight: 700;
}
.products-title-block {
  min-width: 0;
}
.products-provider {
  font-size: .78rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.products-promo {
  color: var(--bs-success);
  font-weight: 600;
}
.products-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bs-primary-bg-subtle);
  color: var(--bs-primary);
  font-size: 12px;
  font-weight: 600;
}
.products-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 42px;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}
.products-stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.products-stock.is-ok {
  background: rgba(var(--bs-success-rgb), 0.12);
  color: var(--bs-success);
}
.products-stock.is-empty {
  background: rgba(var(--bs-danger-rgb), 0.12);
  color: var(--bs-danger);
}
.products-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}
.products-action {
  align-items: center;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-primary-border-subtle);
  border-radius: 10px;
  color: var(--bs-primary);
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
  justify-content: center;
  line-height: 1.25;
  min-height: 38px;
  padding: 8px 12px;
  text-decoration: none;
  transition: background .15s ease-in-out, border-color .15s ease-in-out, color .15s ease-in-out, opacity .15s ease-in-out;
  white-space: nowrap;
}
.products-action:hover {
  background: var(--bs-primary-bg-subtle);
  border-color: var(--bs-primary);
  color: var(--bs-primary);
}
.products-action.is-accent {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}
.products-action.is-accent:hover { filter: brightness(.94); color: #fff; }
.products-action.text-danger {
  border-color: rgba(var(--bs-danger-rgb), .32);
  color: var(--bs-danger) !important;
}
.products-action.text-danger:hover {
  background: var(--bs-danger);
  border-color: var(--bs-danger);
  color: #fff !important;
}
.products-action:disabled { cursor: wait; opacity: .65; }
.products-actions .btn { align-items: center; display: inline-flex; gap: 6px; white-space: nowrap; }
.products-more-trigger { align-items: center; display: inline-flex; height: 36px; justify-content: center; padding: 0; width: 36px; }
.products-toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.products-toolbar-btn { align-items: center; background: var(--bs-body-bg); border: 1px solid var(--bs-primary-border-subtle); border-radius: 10px; color: var(--bs-primary); cursor: pointer; display: inline-flex; font-size: 13px; font-weight: 700; gap: 7px; justify-content: center; min-height: 40px; padding: 9px 13px; text-decoration: none; transition: all .15s ease-in-out; }
.products-toolbar-btn:hover { background: var(--bs-primary-bg-subtle); border-color: var(--bs-primary); color: var(--bs-primary); }
.products-toolbar-btn.is-neutral { background: var(--bs-tertiary-bg); border-color: var(--bs-border-color); color: var(--bs-body-color); }
.products-toolbar-btn.is-neutral:hover { background: var(--bs-body-bg); border-color: var(--bs-primary-border-subtle); color: var(--bs-primary); }
.products-toolbar-btn.is-primary { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
.products-toolbar-btn.is-primary:hover { background: #4c48b2; border-color: #4c48b2; color: #fff; }
.products-toolbar-btn i { font-size: 15px; }
@media (max-width: 767.98px) { .products-toolbar { justify-content: flex-start; } }

.accounts-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
}
.account-raw-value { overflow-wrap: anywhere; white-space: pre-wrap; }

.fd-rows { display: flex; flex-direction: column; gap: 10px; }
.fd-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 52px;
  padding: 8px;
  border: 1px dashed #d9d6f5;
  border-radius: 12px;
  background: #f7f6ff;
}
.fd-row.is-over,
.fd-chip.is-over,
.fd-slot.is-over,
.fd-newrow.is-over,
.fd-list.is-over {
  outline: 2px solid var(--bs-primary);
  background: #ecebff;
}
.fd-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #e4e2f5;
  border-radius: 12px;
  padding: 6px 8px;
  min-width: 180px;
  flex: 1;
  cursor: grab;
  position: relative;
  transition: opacity .15s ease, transform .15s ease, border-color .15s ease;
}
.fd-chip:active { cursor: grabbing; }
.fd-chip.is-dragging { opacity: .35; transform: scale(.98); }
.fd-chip.drop-before::before,
.fd-chip.drop-after::after {
  background: var(--bs-primary); border-radius: 999px; bottom: -5px; content: "";
  position: absolute; top: -5px; width: 4px; z-index: 3;
}
.fd-chip.drop-before::before { left: -7px; }
.fd-chip.drop-after::after { right: -7px; }
.fd-chip.is-selected {
  background: var(--bs-primary-bg-subtle);
  border-color: var(--bs-primary);
  outline: 2px solid rgba(var(--bs-primary-rgb), 0.12);
}
.fd-chip strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-style-indicator { display: inline-block; flex: 0 0 11px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); }
.fd-style-indicator--default { background: var(--bs-body-bg); }
.fd-style-indicator--primary { background: #3b82f6; }
.fd-style-indicator--success { background: #22c55e; }
.fd-style-indicator--danger { background: #ef4444; }
.fd-chip-controls { display: inline-flex; gap: 2px; margin-left: auto; }
.fd-chip-arrow {
  align-items: center; background: var(--bs-body-bg); border: 1px solid var(--bs-border-color);
  border-radius: 6px; color: var(--bs-body-color); display: inline-flex; height: 24px;
  justify-content: center; padding: 0; width: 24px;
}
.fd-chip-arrow:hover { background: var(--bs-primary-bg-subtle); border-color: var(--bs-primary); color: var(--bs-primary); }
.fd-icon {
  border-radius: 7px;
  flex: 0 0 24px;
  height: 24px;
  object-fit: contain;
  width: 24px;
}
.fd-handle { color: #9b97c9; font-size: 12px; }
.fd-name {
  border: 0;
  flex: 1;
  min-width: 0;
  background: transparent;
  font-weight: 600;
}
.fd-slot {
  flex: 1;
  min-width: 120px;
  border: 1px dashed #c5c1ea;
  border-radius: 12px;
  color: #8b87b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.fd-newrow {
  margin-top: 10px;
  padding: 14px;
  text-align: center;
  border: 1px dashed #c5c1ea;
  border-radius: 12px;
  color: #6c6894;
  font-size: 13px;
}
.fd-list { display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow: auto; }
#fdFeatured {
  background: rgba(var(--bs-primary-rgb), .035);
  border: 1px dashed rgba(var(--bs-primary-rgb), .42);
  border-radius: 12px;
  min-height: 76px;
  padding: 10px;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
#fdFeatured > .text-muted:only-child {
  align-items: center;
  color: var(--bs-primary) !important;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 10px;
  justify-content: center;
  min-height: 54px;
  text-align: center;
  width: 100%;
}
#fdFeatured > .text-muted:only-child::before {
  align-items: center;
  background: var(--bs-primary-bg-subtle);
  border: 1px solid var(--bs-primary-border-subtle);
  border-radius: 8px;
  content: '↓';
  display: inline-flex;
  flex: 0 0 30px;
  font-size: 17px;
  height: 30px;
  justify-content: center;
}
#fdFeatured.is-over {
  background: var(--bs-primary-bg-subtle);
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), .12);
  outline: 0;
}
.fd-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
}
.fd-item.is-on { border-color: #cfcaf8; background: #f7f6ff; }
.fd-featured-product { cursor: grab; justify-content: flex-start; }
.fd-featured-product.is-dragging { opacity: .5; }
.fd-featured-product.drop-before { border-top: 3px solid var(--bs-primary); }
.fd-featured-product.drop-after { border-bottom: 3px solid var(--bs-primary); }
.fd-featured-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fd-featured-actions { display: flex; flex: 0 0 auto; gap: 6px; }
.fd-catalog-product { cursor: grab; flex-wrap: wrap; justify-content: flex-start; }
.fd-catalog-product:active { cursor: grabbing; }
.fd-product-drag-handle {
  align-items: center; background: var(--bs-primary-bg-subtle); border: 1px solid var(--bs-primary-border-subtle);
  border-radius: 8px; color: var(--bs-primary); display: inline-flex; flex: 0 0 30px;
  font-size: 20px; height: 34px; justify-content: center; user-select: none;
}
.fd-product-info { flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; }
.fd-product-actions { align-items: center; display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 6px; justify-content: flex-end; margin-left: auto; }
.fd-feature-arrow { font-size: 17px; font-weight: 700; line-height: 0; }
.fd-featured-status { background: var(--bs-primary-bg-subtle); border-radius: 8px; color: var(--bs-primary); font-size: 12px; font-weight: 700; padding: 7px 9px; }
.fd-folder-product { cursor: grab; justify-content: flex-start; }
.fd-order {
  align-items: center; background: var(--bs-primary-bg-subtle); border-radius: 6px;
  color: var(--bs-primary); display: inline-flex; font-size: 11px; font-weight: 700;
  height: 22px; justify-content: center; min-width: 22px;
}
.fd-icon-picker { position: relative; }
.fd-icon-toggle {
  align-items: center; background: var(--bs-body-bg); border: 1px solid var(--bs-border-color);
  border-radius: 12px; color: var(--bs-body-color); display: flex; justify-content: space-between;
  min-height: 48px; padding: 8px 12px; width: 100%;
}
.fd-icon-value { align-items: center; display: flex; font-weight: 600; gap: 9px; }
.fd-icon-value img { height: 28px; object-fit: contain; width: 28px; }
.fd-icon-panel {
  background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 12px;
  left: 0; margin-top: 5px;
  padding: 10px; position: absolute; right: 0; z-index: 1090;
}
.fd-icon-options { display: grid; gap: 3px; max-height: 300px; overflow-y: auto; }
.fd-icon-option {
  align-items: center; background: transparent; border: 0; border-radius: 9px;
  color: var(--bs-body-color); display: flex; gap: 10px; min-height: 40px;
  padding: 5px 8px; text-align: left; width: 100%;
}
.fd-icon-option:hover, .fd-icon-option.is-selected { background: var(--bs-primary-bg-subtle); }
.fd-icon-option img, .fd-icon-blank { height: 28px; object-fit: contain; width: 28px; }
.fd-icon-blank { align-items: center; display: inline-flex; justify-content: center; }
.fd-icon-pager { align-items: center; display: flex; justify-content: space-between; padding-top: 8px; }
.fd-icon-page {
  background: var(--bs-primary); border-color: var(--bs-primary); color: #fff;
  font-weight: 700; min-width: 58px;
}
#fdAddModal .modal-content,
#fdAddModal .modal-body { overflow: visible; }

.general-settings-page { margin: 0 auto; max-width: 860px; }
.general-settings-head { align-items: center; display: flex; gap: 12px; margin-bottom: 20px; }
.general-settings-icon {
  align-items: center; background: var(--bs-primary-bg-subtle); border-radius: 12px;
  color: var(--bs-primary); display: inline-flex; flex: 0 0 42px; font-size: 19px;
  height: 42px; justify-content: center;
}
.general-settings-card {
  background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 16px;
  margin-bottom: 18px; padding: 0 22px;
}
.general-settings-section-title {
  align-items: center; border-bottom: 1px solid var(--bs-border-color); display: flex;
  font-size: 12px; font-weight: 800; gap: 7px; letter-spacing: .05em;
  padding: 16px 0 12px; text-transform: uppercase;
}
.general-setting-row {
  align-items: center; color: var(--bs-body-color); cursor: pointer; display: flex;
  gap: 24px; justify-content: space-between; padding: 18px 0;
}
.general-setting-row + .general-setting-row { border-top: 1px solid var(--bs-border-color); }
.general-setting-row > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.general-setting-row strong { font-size: 14px; }
.general-setting-row small { color: var(--bs-secondary-color); line-height: 1.45; }
.general-setting-row .form-switch { flex: 0 0 auto; padding-left: 0; }
.general-setting-row .form-check-input {
  cursor: pointer; height: 24px; margin: 0; width: 44px;
}
.general-setting-row .products-per-page-input {
  flex: 0 0 92px; max-width: 92px; text-align: center;
}
.general-setting-row .product-button-style-select {
  flex: 0 0 172px; max-width: 172px;
}
.general-setting-row.is-disabled { cursor: not-allowed; opacity: .6; }
.general-settings-status { font-size: 13px; padding: 2px 4px; }
.premium-icons-promo { overflow: hidden; padding-left: 30px; padding-right: 30px; }
.premium-icons-promo-body { align-items: center; display: grid; gap: 40px; grid-template-columns: 1.1fr .9fr; padding: 32px 4px 36px; }
.premium-icons-promo-kicker { color: var(--bs-primary); display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; margin-bottom: 7px; }
.premium-icons-promo-copy h5 { line-height: 1.35; margin-bottom: 12px; }
.premium-icons-promo-copy p { color: var(--bs-secondary-color); line-height: 1.65; margin-bottom: 18px; }
.premium-icons-promo-copy ul { color: var(--bs-secondary-color); display: grid; gap: 9px; line-height: 1.5; margin-bottom: 24px; padding-left: 22px; }
.premium-icons-promo-media {
  align-items: center; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--bs-primary-bg-subtle), var(--bs-tertiary-bg));
  border: 1px dashed rgba(var(--bs-primary-rgb), .45); border-radius: 14px; color: var(--bs-secondary-color);
  display: flex; flex-direction: column; gap: 9px; justify-content: center; min-height: 220px; padding: 30px; text-align: center;
}
.premium-icons-promo-media i { color: var(--bs-primary); font-size: 32px; }
.premium-icons-promo-media strong { color: var(--bs-body-color); }
@media (max-width: 575.98px) {
  .general-settings-card { padding: 0 16px; }
  .general-setting-row { align-items: flex-start; gap: 14px; }
  .general-setting-row .product-button-style-select { flex-basis: 136px; max-width: 136px; }
  .premium-icons-promo { padding-left: 20px; padding-right: 20px; }
  .premium-icons-promo-body { gap: 24px; grid-template-columns: 1fr; padding: 24px 0 28px; }
}

.broadcast-page { margin: 0 auto; max-width: 1180px; }
.broadcast-head { align-items: center; display: flex; gap: 12px; margin-bottom: 20px; }
.broadcast-head-icon {
  align-items: center; background: var(--bs-primary-bg-subtle); border-radius: 12px;
  color: var(--bs-primary); display: inline-flex; flex: 0 0 42px; font-size: 19px;
  height: 42px; justify-content: center;
}
.broadcast-card {
  background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 16px;
  padding: 24px;
}
.broadcast-workspace { align-items: start; display: grid; gap: 22px; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); }
.broadcast-scope {
  align-items: center; background: var(--bs-tertiary-bg); border: 1px solid var(--bs-border-color);
  border-radius: 12px; display: flex; gap: 16px; justify-content: space-between; padding: 14px 16px;
}
.broadcast-preview {
  align-items: center; background: var(--bs-tertiary-bg); border: 1px solid var(--bs-border-color);
  border-radius: 12px; display: flex; gap: 12px; padding: 10px;
}
.broadcast-preview img { border-radius: 9px; height: 74px; object-fit: cover; width: 96px; }
.broadcast-format-toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; }
.broadcast-format-toolbar > span { margin-left: 4px; }
.broadcast-format-button { align-items: center; background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 8px; color: var(--bs-body-color); display: inline-flex; height: 34px; justify-content: center; width: 36px; }
.broadcast-format-button:hover, .broadcast-format-button:focus-visible { border-color: var(--bs-primary); color: var(--bs-primary); outline: 2px solid var(--bs-primary-bg-subtle); }
.broadcast-format-codes { background: var(--bs-primary-bg-subtle); border: 1px solid var(--bs-primary-border-subtle); border-radius: 8px; color: var(--bs-primary); font-size: 12px; font-weight: 700; min-height: 34px; padding: 5px 11px; }
.broadcast-format-codes:hover, .broadcast-format-codes:focus-visible { border-color: var(--bs-primary); outline: 2px solid var(--bs-primary-bg-subtle); }
.broadcast-codes-list { display: grid; gap: 9px; }
.broadcast-code-example { align-items: center; background: var(--bs-tertiary-bg); border: 1px solid var(--bs-border-color); border-radius: 10px; display: flex; gap: 12px; justify-content: space-between; min-width: 0; padding: 10px 12px; }
.broadcast-code-example code { color: var(--bs-body-color); flex: 1; font-size: 12px; min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.broadcast-code-example .btn { flex: 0 0 auto; }
.broadcast-emoji-picker { background: var(--bs-tertiary-bg); border-radius: 12px; padding: 12px; }
.broadcast-emoji-list { display: flex; flex-wrap: wrap; gap: 7px; }
.broadcast-emoji-choice { align-items: center; background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 9px; display: inline-flex; font-size: 20px; height: 38px; justify-content: center; width: 38px; }
.broadcast-emoji-choice:hover, .broadcast-emoji-choice:focus-visible { border-color: var(--bs-primary); outline: 2px solid var(--bs-primary-bg-subtle); }
.broadcast-actions-editor { border-top: 1px solid var(--bs-border-color); padding-top: 20px; }
.broadcast-action-row { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--bs-border-color); border-radius: 12px; margin-top: 10px; }
.broadcast-action-number { align-items: center; background: var(--bs-primary-bg-subtle); border-radius: 8px; color: var(--bs-primary); display: inline-flex; flex: 0 0 28px; height: 28px; justify-content: center; font-weight: 700; }
.broadcast-action-fields { flex: 1; min-width: 0; }
.broadcast-action-main { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.broadcast-send-actions { display: flex; gap: 10px; }
.broadcast-send-actions > .btn { flex: 1; min-width: 0; }
.broadcast-live-card {
  background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 16px;
  padding: 18px;
  position: sticky; top: 88px;
}
.broadcast-live-head { align-items: center; display: flex; justify-content: space-between; margin-bottom: 14px; }
.broadcast-live-head > div { display: flex; flex-direction: column; }
.broadcast-live-head small { color: var(--bs-secondary-color); font-size: 11px; }
.broadcast-phone { background: #0e1621; border: 1px solid #263748; border-radius: 18px; overflow: hidden; }
.broadcast-phone-bar {
  align-items: center; background: #17212b; color: #fff; display: flex; gap: 10px;
  min-height: 58px; padding: 10px 13px;
}
.broadcast-phone-bar > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.broadcast-phone-bar small { color: #82d78b; font-size: 11px; }
.broadcast-phone-avatar {
  align-items: center; background: #2b5278; border-radius: 50%; display: inline-flex;
  height: 36px; justify-content: center; width: 36px;
}
.broadcast-chat {
  background: #0e1621; display: flex; flex-direction: column; min-height: 390px; padding: 18px 12px;
}
.broadcast-bubble {
  align-self: flex-start; background: #182533; border-radius: 6px 14px 14px 14px;
  color: #f5f7fa; max-width: 92%; overflow: hidden; padding: 9px 10px 6px;
}
.broadcast-live-image {
  border-radius: 9px; display: block; margin: -3px -4px 8px; max-height: 260px;
  object-fit: cover; width: calc(100% + 8px);
}
.broadcast-live-text { font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; }
.broadcast-live-text.is-empty { color: #90a0ae; font-style: italic; }
.broadcast-live-text a { color: #8bc8ff; text-decoration: underline; }
.broadcast-live-text code, .broadcast-live-text pre { background: rgba(255,255,255,.09); border-radius: 4px; color: #f5f7fa; font-size: 12px; }
.broadcast-live-text pre { margin: 6px 0; overflow-x: auto; padding: 8px; }
.broadcast-live-text blockquote { border-left: 3px solid #72a6cc; margin: 6px 0; padding: 3px 0 3px 9px; }
.broadcast-preview-expandable { max-height: 5.8em; overflow: hidden; }
.broadcast-preview-spoiler { background: #5a6979; border-radius: 3px; color: transparent; cursor: pointer; }
.broadcast-preview-spoiler:hover, .broadcast-preview-spoiler:focus { color: inherit; }
.broadcast-preview-time { text-decoration: underline dotted; }
.broadcast-live-actions { align-self: flex-start; display: grid; gap: 5px; margin-top: 5px; max-width: 92%; min-width: min(230px, 92%); }
.broadcast-live-action { background: #2b5278; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; padding: 8px 12px; text-align: center; }
.broadcast-live-action small { color: #c3d8eb; display: block; font-size: 10px; font-weight: 400; margin-top: 2px; }
.broadcast-live-action.is-primary { background: #2878b5; }
.broadcast-live-action.is-success { background: #25844d; }
.broadcast-live-action.is-danger { background: #c43f48; }
.broadcast-live-action.is-primary small,
.broadcast-live-action.is-success small,
.broadcast-live-action.is-danger small { color: #fff; opacity: .9; }
.broadcast-live-action.is-link { padding-right: 25px; position: relative; }
.broadcast-live-action.is-link::after { content: '\2197'; font-size: 14px; position: absolute; right: 8px; top: 5px; }
.broadcast-destinations { min-width: 0; }
.broadcast-destinations legend { float: none; font-size: 1rem; width: auto; }
.broadcast-audience-switch { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.broadcast-audience-switch .btn { align-items: center; display: flex; justify-content: center; min-height: 48px; }
.broadcast-chat-list { display: grid; gap: 10px; max-height: 330px; overflow-y: auto; padding: 2px; }
.broadcast-chat-destination { align-items: center; border: 1px solid var(--bs-border-color); border-radius: 12px; display: flex; flex-wrap: wrap; gap: 12px; padding: 14px; }
.broadcast-chat-destination:has(input:checked) { background: var(--bs-primary-bg-subtle); border-color: var(--bs-primary); }
.broadcast-chat-choice { align-items: flex-start; cursor: pointer; display: flex; flex: 1 1 180px; gap: 12px; min-width: 0; }
.broadcast-chat-choice .form-check-input { flex-shrink: 0; margin-top: 4px; }
.broadcast-chat-meta { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.broadcast-chat-meta small { color: var(--bs-secondary-color); font-size: .78rem; }
.broadcast-chat-controls { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; }
.broadcast-chat-destination.is-unavailable .broadcast-chat-choice { cursor: default; }
.broadcast-chat-empty { border: 1px dashed var(--bs-border-color); border-radius: 12px; padding: 22px; text-align: center; }
@media (max-width: 575.98px) {
  .broadcast-audience-switch { grid-template-columns: 1fr; }
  .broadcast-chat-controls { margin-left: 28px; }
}
.broadcast-premium-emoji { cursor: help; text-decoration: underline dotted rgba(255,255,255,.45); text-underline-offset: 3px; }
.broadcast-bubble time { color: #7f96a8; display: block; font-size: 10px; margin-top: 3px; text-align: right; }
@media (max-width: 991.98px) {
  .broadcast-workspace { grid-template-columns: 1fr; }
  .broadcast-live-card { position: static; }
  .broadcast-chat { min-height: 320px; }
}
@media (max-width: 575.98px) {
  .broadcast-card { padding: 18px 16px; }
  .broadcast-scope { align-items: flex-start; flex-direction: column; }
  .broadcast-action-main { grid-template-columns: 1fr; }
  .broadcast-send-actions { flex-direction: column; }
}

.tooltip.sidebar-primary-tooltip {
  --bs-tooltip-bg: var(--bs-primary);
  --bs-tooltip-color: #fff;
  --bs-tooltip-opacity: 1;
  font-weight: 700;
}

.app-menubar-tabs .app-content-inner {
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--app-header-height, 70px));
  min-height: 0;
}
.app-menubar-tabs .app-content-inner .app-navbar {
  flex: 1 1 auto;
  height: auto !important;
  min-height: 0;
}
.app-sidebar-tab-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.app-sidebar-tab-content > .tab-pane {
  height: 100%;
}
.app-sidebar-tab-content > .tab-pane.active {
  display: flex;
  flex-direction: column;
}
.app-sidebar-tab-content .app-navbar {
  height: 100% !important;
  width: 100%;
}
.sidebar-upgrade-card {
  background: linear-gradient(145deg, var(--bs-primary-bg-subtle), var(--bs-body-bg));
  border: 1px solid var(--bs-primary-border-subtle); border-radius: 16px;
  flex-shrink: 0; margin: auto 16px 20px; padding: 16px;
}
.sidebar-upgrade-card strong { display: block; margin: 8px 0 4px; }
.sidebar-upgrade-card p { color: var(--bs-secondary-color); font-size: 12px; line-height: 1.4; margin-bottom: 12px; }
.sidebar-upgrade-icon {
  align-items: center; background: var(--bs-primary); border-radius: 9px; color: #fff;
  display: inline-flex; height: 30px; justify-content: center; width: 30px;
}
/* Orders */
.orders-page { margin: 0 auto; max-width: 1480px; }
.orders-hero {
  align-items: center;
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .10), var(--bs-body-bg) 64%);
  border-color: rgba(var(--bs-primary-rgb), .22);
  display: flex;
  gap: 18px;
  padding: 26px 28px;
}
.orders-hero-icon {
  align-items: center;
  background: var(--bs-primary-bg-subtle);
  border: 1px solid var(--bs-primary-border-subtle);
  border-radius: 18px;
  color: var(--bs-primary);
  display: inline-flex;
  flex: 0 0 58px;
  font-size: 24px;
  height: 58px;
  justify-content: center;
  width: 58px;
}
.orders-hero-icon i { display: block; line-height: 1; }
.orders-kicker {
  color: var(--bs-primary);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.orders-tabs {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 16px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 5px;
}
.orders-tabs a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--bs-secondary-color);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  padding: 10px 14px;
  text-decoration: none;
  white-space: nowrap;
}
.orders-tabs a:hover { background: var(--bs-body-bg); color: var(--bs-primary); }
.orders-tabs a.is-active { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
.orders-list-panel { box-shadow: none; }
.orders-list-head {
  align-items: flex-end;
  border-bottom: 1px solid var(--bs-border-color);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 22px 24px;
}
.orders-filters { align-items: flex-end; display: flex; flex-wrap: wrap; gap: 8px; }
.orders-search {
  align-items: center;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 12px;
  display: flex;
  min-height: 42px;
  overflow: hidden;
  width: min(340px, 42vw);
}
.orders-search:focus-within { border-color: var(--bs-primary); }
.orders-search > i { color: var(--bs-secondary-color); margin-left: 13px; }
.orders-search .form-control { background: transparent; border: 0; box-shadow: none; flex: 1; min-width: 110px; padding: 9px 11px; }
.orders-search button { align-items: center; align-self: stretch; background: var(--bs-primary); border: 0; color: #fff; display: flex; justify-content: center; width: 43px; }
.orders-filter-label {
  color: var(--bs-secondary-color);
  display: flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 700;
  gap: 4px;
  margin: 0;
}
.orders-filter-label .form-select { background-color: var(--bs-body-bg); border-color: var(--bs-border-color); min-height: 42px; min-width: 136px; width: auto; }
.orders-tool-btn {
  align-items: center;
  background: var(--bs-primary-bg-subtle);
  border: 1px solid var(--bs-primary-border-subtle);
  border-radius: 11px;
  color: var(--bs-primary);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  min-height: 42px;
  padding: 9px 13px;
  text-decoration: none;
}
.orders-tool-btn:hover { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
.orders-page button,
.orders-page .btn,
.orders-page a { box-shadow: none !important; }
.orders-table tbody tr { transition: background .15s ease; }
.orders-table tbody tr:hover { background: rgba(var(--bs-primary-rgb), .035); }
.orders-table code { background: var(--bs-primary-bg-subtle); border-radius: 7px; color: var(--bs-primary); padding: 4px 7px; }
.orders-page .products-table tbody td { vertical-align: middle; }
.orders-page .orders-message { min-width: 240px; white-space: normal; }
.orders-page .orders-order-table { table-layout: fixed; min-width: 1200px; width: 100%; }
.orders-page .orders-order-table thead th,
.orders-page .orders-order-table tbody td { padding-left: 10px; padding-right: 10px; }
.orders-order-table th:nth-child(1) { width: 3%; }
.orders-order-table th:nth-child(2) { width: 13%; }
.orders-order-table th:nth-child(3) { width: 16%; }
.orders-order-table th:nth-child(4) { width: 5%; }
.orders-order-table th:nth-child(5) { width: 8%; }
.orders-order-table th:nth-child(6) { width: 9%; }
.orders-order-table th:nth-child(7) { width: 10%; }
.orders-order-table th:nth-child(8) { width: 7%; }
.orders-order-table th:nth-child(9) { width: 13%; }
.orders-order-table th:nth-child(10) { width: 16%; }
.orders-page .orders-order-table tbody td { overflow-wrap: anywhere; white-space: normal; }
.orders-page .orders-product-cell { max-width: 240px; }
.orders-product-cell > .d-flex { min-width: 0; }
.orders-product-cell .products-avatar { flex-shrink: 0; }
.orders-product-cell .products-name { min-width: 0; overflow-wrap: anywhere; white-space: normal; }
.orders-page .orders-delivery { max-width: 190px; overflow-wrap: anywhere; white-space: normal; }
.orders-page .orders-order-table tbody .orders-actions-cell { white-space: nowrap; }
.orders-page .orders-delivery small { display: block; line-height: 1.5; margin-bottom: .45rem; }
.orders-page .orders-delivery small:last-child { margin-bottom: 0; }
.orders-details-btn { display: flex; align-items: center; gap: 5px; margin-top: 8px; white-space: nowrap; }
.orders-details-badge { min-width: 18px; pointer-events: none; z-index: 1; }
.orders-detail-modal .modal-content { max-height: 95dvh; }
.orders-detail-grid { display: grid; gap: 16px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.orders-detail-grid > div { min-width: 0; }
.orders-detail-grid > div > span:first-child { color: var(--bs-secondary-color); display: block; font-size: .85rem; margin-bottom: 3px; }
.orders-detail-grid strong { display: block; font-weight: 600; overflow-wrap: anywhere; }
.orders-detail-section { border-top: 1px solid var(--bs-border-color); margin-top: 20px; padding-top: 18px; }
.orders-detail-section h6 { font-weight: 700; margin-bottom: 10px; }
.orders-detail-payload { background: var(--bs-tertiary-bg); border: 1px solid var(--bs-border-color); border-radius: 10px; overflow-wrap: anywhere; padding: 12px 14px; white-space: pre-wrap; }
.orders-pagination { align-items: center; border-top: 1px solid var(--bs-border-color); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding: 16px 24px; }
.orders-scroll-hint { display: none; }
@media (min-width: 768px) {
  .orders-order-table thead th:last-child,
  .orders-order-table tbody .orders-actions-cell {
    background: var(--bs-body-bg);
    box-shadow: -8px 0 12px -12px rgba(0, 0, 0, .3);
    position: sticky;
    right: 0;
    z-index: 1;
  }
  .orders-order-table thead th:last-child { z-index: 2; }
}
@media (max-width: 991.98px) {
  .orders-list-head { align-items: stretch; flex-direction: column; }
  .orders-filters { align-items: flex-end; }
  .orders-search { flex: 1 1 100%; width: 100%; }
}
@media (max-width: 575.98px) {
  .orders-detail-grid { gap: 12px; grid-template-columns: 1fr; }
  .orders-detail-modal .modal-dialog { margin: 8px; }
  .orders-detail-modal .modal-content { max-height: 95dvh; }
  .orders-hero { align-items: flex-start; padding: 20px; }
  .orders-hero-icon { flex-basis: 46px; height: 46px; width: 46px; }
  .orders-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .orders-tabs a { justify-content: center; padding: 10px 8px; }
  .orders-tabs a:last-child { grid-column: 1 / -1; }
  .orders-list-head { padding: 18px 16px; }
  .orders-filter-label { flex: 1 1 calc(50% - 4px); }
  .orders-filter-label .form-select { min-width: 0; width: 100%; }
  .orders-tool-btn { flex: 1 1 calc(50% - 4px); justify-content: center; }
}
@media (max-width: 767.98px) {
  .orders-scroll-hint { color: var(--bs-secondary-color); display: block; font-size: 12px; padding: 10px 16px; }
  .orders-table-scroll { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .orders-table-scroll .orders-table { min-width: 1200px; }
  .orders-pagination { align-items: flex-start; flex-direction: column; padding: 14px 16px; }
}

/* Password */
.password-page { margin: 0 auto; max-width: 1120px; }
.password-hero {
  align-items: center;
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .10), var(--bs-body-bg) 64%);
  border-color: rgba(var(--bs-primary-rgb), .22);
  display: flex;
  gap: 18px;
  padding: 26px 28px;
}
.password-hero-icon,
.password-note-icon {
  align-items: center;
  background: var(--bs-primary-bg-subtle);
  border: 1px solid var(--bs-primary-border-subtle);
  color: var(--bs-primary);
  display: inline-flex;
  justify-content: center;
}
.password-hero-icon { border-radius: 18px; flex: 0 0 58px; font-size: 24px; height: 58px; width: 58px; }
.password-hero-icon i,
.password-note-icon i { display: block; line-height: 1; }
.password-kicker {
  color: var(--bs-primary);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.password-note { display: flex; flex-direction: column; padding: 26px; }
.password-note-icon { border-radius: 15px; font-size: 20px; height: 48px; margin-bottom: 18px; width: 48px; }
.password-note h5 { margin-bottom: 8px; }
.password-note p { color: var(--bs-secondary-color); line-height: 1.55; margin-bottom: 20px; }
.password-rule { align-items: center; background: var(--bs-primary-bg-subtle); border-radius: 10px; color: var(--bs-primary); display: flex; font-size: 12px; font-weight: 700; gap: 8px; margin-top: auto; padding: 10px 12px; }
.password-form-panel { box-shadow: none; }
.password-form-head { border-bottom: 1px solid var(--bs-border-color); padding: 24px 26px 18px; }
.password-form { padding: 24px 26px 0; }
.password-field-group { margin-bottom: 20px; }
.password-field-group .form-label { font-weight: 700; margin-bottom: 7px; }
.password-field-group small { color: var(--bs-secondary-color); display: block; font-size: 11px; margin-top: 6px; }
.password-input {
  align-items: center;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 12px;
  display: flex;
  min-height: 46px;
  overflow: hidden;
  transition: border-color .16s ease;
}
.password-input:focus-within { border-color: var(--bs-primary); }
.password-input > i { color: var(--bs-secondary-color); margin-left: 14px; }
.password-input .form-control { background: transparent; border: 0; box-shadow: none; flex: 1; min-width: 0; padding: 11px 12px; }
.password-input button { align-items: center; align-self: stretch; background: transparent; border: 0; color: var(--bs-secondary-color); display: flex; justify-content: center; width: 44px; }
.password-input button:hover { color: var(--bs-primary); }
.password-form-footer { border-top: 1px solid var(--bs-border-color); display: flex; justify-content: flex-end; margin: 4px -26px 0; padding: 18px 26px; }
.password-delete-panel { border-color: rgba(var(--bs-danger-rgb), .25); }
.password-delete-head { align-items: center; border-bottom: 1px solid var(--bs-border-color); display: flex; gap: 14px; padding: 22px 26px; }
.password-delete-icon { align-items: center; background: rgba(var(--bs-danger-rgb), .10); border-radius: 14px; color: var(--bs-danger); display: inline-flex; flex: 0 0 46px; font-size: 20px; height: 46px; justify-content: center; }
.password-delete-icon i { display: block; line-height: 1; }
.password-delete-kicker { color: var(--bs-danger); display: block; font-size: 10px; font-weight: 800; letter-spacing: .13em; margin-bottom: 4px; }
.password-delete-content { padding: 22px 26px 0; }
.password-delete-description { color: var(--bs-secondary-color); line-height: 1.5; margin: 0 0 16px; }
.password-delete-warning { align-items: flex-start; background: rgba(var(--bs-danger-rgb), .06); border: 1px solid rgba(var(--bs-danger-rgb), .16); border-radius: 12px; display: flex; gap: 10px; line-height: 1.5; margin-bottom: 22px; padding: 13px 15px; }
.password-delete-warning i { color: var(--bs-danger); flex: 0 0 auto; margin-top: 2px; }
.password-delete-content .password-field-group { margin-bottom: 16px; }
.password-delete-content .password-field-group strong { color: var(--bs-body-color); }
.password-delete-start { display: flex; justify-content: flex-end; padding-bottom: 22px; }
[data-manual-confirm-open][hidden], [data-manual-confirm-mount][hidden] { display: none !important; }
.password-delete-footer { border-top: 1px solid var(--bs-border-color); display: flex; justify-content: flex-end; margin: 8px -26px 0; padding: 18px 26px; }
.password-page button,
.password-page .btn { box-shadow: none !important; }
@media (max-width: 575.98px) {
  .password-hero { align-items: flex-start; padding: 20px; }
  .password-hero-icon { flex-basis: 46px; height: 46px; width: 46px; }
  .password-note { padding: 22px; }
  .password-form-head { padding: 20px 18px 16px; }
  .password-form { padding: 20px 18px 0; }
  .password-form-footer { margin: 4px -18px 0; padding: 16px 18px; }
  .password-form-footer .btn { width: 100%; }
  .password-delete-head { padding: 18px; }
  .password-delete-content { padding: 18px 18px 0; }
  .password-delete-start .btn { width: 100%; }
  .password-delete-footer { margin: 8px -18px 0; padding: 16px 18px; }
  .password-delete-footer .btn { width: 100%; }
}
.revenue-page { margin: 0 auto; max-width: 1280px; }
.revenue-heading {
  align-items: center; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 18px;
}
.revenue-heading h3 { font-size: 30px; margin: 0 0 4px; }
.revenue-heading p { color: var(--bs-secondary-color); font-size: 16px; margin: 0; }
.revenue-refresh { min-width: 180px; }
.revenue-summary {
  display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px;
}
.revenue-summary-card {
  background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 16px;
  padding: 20px 22px;
}
.revenue-summary-card span { color: var(--bs-secondary-color); display: block; font-size: 13px; margin-bottom: 8px; }
.revenue-summary-card strong { color: var(--bs-heading-color); font-size: 24px; }
.revenue-filters {
  align-items: end; display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(160px, 1fr));
  margin-bottom: 16px;
}
.revenue-filters label { margin: 0; }
.revenue-filters label > span {
  color: var(--bs-heading-color); display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px;
}
.revenue-filters .form-control, .revenue-filters .form-select { border-radius: 12px; min-height: 46px; }
.revenue-chart-panel { min-height: 410px; padding: 18px 20px; position: relative; }
.revenue-chart-panel--bar-products { max-height: 640px; overflow-y: auto; }
.revenue-empty {
  align-items: center; color: var(--bs-secondary-color); display: flex; inset: 0;
  justify-content: center; pointer-events: none; position: absolute; text-align: center;
}
@media (max-width: 991.98px) {
  .revenue-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .revenue-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .revenue-heading { align-items: stretch; flex-direction: column; }
  .revenue-heading h3 { font-size: 25px; }
  .revenue-summary, .revenue-filters { grid-template-columns: 1fr; }
}
/* Partner API */
.partner-page { margin: 0 auto; max-width: 1480px; }
.partner-hero {
  align-items: center;
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .10), var(--bs-body-bg) 64%);
  border-color: rgba(var(--bs-primary-rgb), .22);
  display: flex;
  gap: 18px;
  padding: 26px 28px;
}
.partner-hero-icon,
.partner-section-icon,
.partner-stat-icon {
  align-items: center;
  background: var(--bs-primary-bg-subtle);
  border: 1px solid var(--bs-primary-border-subtle);
  color: var(--bs-primary);
  display: inline-flex;
  justify-content: center;
}
.partner-hero-icon { border-radius: 18px; flex: 0 0 58px; font-size: 24px; height: 58px; width: 58px; }
.partner-section-icon { border-radius: 13px; flex: 0 0 42px; font-size: 18px; height: 42px; width: 42px; }
.partner-hero-icon i,
.partner-section-icon i,
.partner-stat-icon i { display: block; line-height: 1; }
.partner-kicker {
  color: var(--bs-primary);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.partner-tabs {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 16px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 5px;
}
.partner-tabs a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--bs-secondary-color);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  padding: 10px 14px;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.partner-tabs a:hover { background: var(--bs-body-bg); color: var(--bs-primary); }
.partner-tabs a.is-active { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
.partner-page button,
.partner-page .btn,
.partner-page a { box-shadow: none !important; }
.partner-key-alert {
  background: var(--bs-primary-bg-subtle);
  border: 1px solid var(--bs-primary-border-subtle);
  border-radius: 16px;
  color: var(--bs-body-color);
}
.partner-key-alert strong { color: var(--bs-heading-color); }
.partner-key-alert small { color: var(--bs-secondary-color); display: block; margin-top: 8px; }
.partner-connect-panel { border-color: rgba(var(--bs-primary-rgb), .20); }
.partner-connect-form { background: rgba(var(--bs-primary-rgb), .035); display: flex; gap: 10px; margin: 12px 20px 20px; padding: 18px; border-radius: 16px; }
.partner-connect-form .form-control { background: var(--bs-body-bg); min-height: 44px; }
.partner-connect-form .btn { min-width: 130px; }
.partner-list-panel { box-shadow: none; }
.partner-table tbody tr { transition: background .15s ease; }
.partner-table tbody tr:hover { background: rgba(var(--bs-primary-rgb), .035); }
.partner-table code,
.partner-provider-box > code { background: var(--bs-primary-bg-subtle); border-radius: 7px; color: var(--bs-primary); padding: 4px 7px; }
.partner-provider-box { padding: 4px 24px 24px; }
.partner-provider-box > code { display: inline-block; font-size: 15px; margin-bottom: 14px; overflow-wrap: anywhere; }
.partner-provider-box > .badge { float: right; }
.partner-price-input { min-width: 105px; width: 120px; }
.partner-scroll-table { max-height: none; }
.partner-catalog-tools { padding: 22px 24px 16px; }
.partner-search-control { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr) auto; max-width: 560px; }
.partner-search-control > label { color: var(--bs-secondary-color); font-size: 12px; font-weight: 700; grid-column: 1 / -1; }
.partner-search-control > div { align-items: center; background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 12px; display: flex; min-height: 44px; overflow: hidden; }
.partner-search-control > div:focus-within { border-color: var(--bs-primary); }
.partner-search-control i { color: var(--bs-secondary-color); margin-left: 13px; }
.partner-search-control .form-control { background: transparent; border: 0; box-shadow: none; flex: 1; min-width: 140px; }
.partner-search-control > .btn { min-height: 44px; }
.partner-brand-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.partner-brand-chips a {
  background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 9px;
  color: var(--bs-secondary-color); font-size: 12px; font-weight: 700; padding: 7px 10px; text-decoration: none;
}
.partner-brand-chips a:hover { background: var(--bs-primary-bg-subtle); border-color: var(--bs-primary-border-subtle); color: var(--bs-primary); }
.partner-brand-chips a span { background: var(--bs-tertiary-bg); border-radius: 8px; margin-left: 5px; padding: 2px 6px; }
.partner-brand-chips a.is-active { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
.partner-brand-chips a.is-active span { background: rgba(255,255,255,.16); }
.partner-description { max-width: 560px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.partner-address { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.partner-delivery-form { align-items: center; display: flex; gap: 7px; min-width: 330px; }
.partner-stats-filter { margin-bottom: 14px; max-width: 180px; }
.partner-stats-filter .form-select { background-color: var(--bs-body-bg); border-color: var(--bs-primary-border-subtle); min-height: 44px; }
.partner-stat-grid { display: grid; gap: 14px; grid-template-columns: repeat(5, minmax(0,1fr)); margin-bottom: 14px; }
.partner-stat-grid > div {
  align-items: center; background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 18px;
  display: flex; gap: 13px; min-height: 104px; padding: 18px;
}
.partner-stat-icon { border-radius: 14px; flex: 0 0 44px; font-size: 18px; height: 44px; width: 44px; }
.partner-stat-grid > div > div { min-width: 0; }
.partner-stat-grid small { color: var(--bs-secondary-color); display: block; font-size: 11px; margin-bottom: 5px; }
.partner-stat-grid strong { color: var(--bs-heading-color); display: block; font-size: 19px; white-space: nowrap; }
.admin-partner-identity { min-width: 210px; }
.admin-partner-identity small { color: var(--bs-secondary-color); display: block; line-height: 1.45; }
.admin-partner-identity a { text-decoration: none; }
.admin-partner-identity a:hover { text-decoration: underline; }
.partner-chart-panel { min-height: 385px; padding: 22px; }
@media (max-width: 1199.98px) {
  .partner-stat-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 991.98px) {
  .partner-stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 575.98px) {
  .partner-hero { align-items: flex-start; padding: 20px; }
  .partner-hero-icon { flex-basis: 46px; height: 46px; width: 46px; }
  .partner-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .partner-tabs a { justify-content: center; padding: 10px 8px; }
  .partner-connect-form { flex-direction: column; margin: 8px 12px 14px; padding: 14px; }
  .partner-connect-form .btn { width: 100%; }
  .partner-catalog-tools { padding: 18px 16px 14px; }
  .partner-search-control { max-width: none; }
  .partner-search-control { grid-template-columns: 1fr; }
  .partner-search-control > .btn { width: 100%; }
  .partner-stat-grid { grid-template-columns: 1fr; }
}

/* Visitors CRM */
.visitors-page { margin: 0 auto; max-width: 1480px; }
.visitors-hero {
  align-items: center;
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .10), var(--bs-body-bg) 64%);
  border-color: rgba(var(--bs-primary-rgb), .22);
  display: flex;
  gap: 18px;
  padding: 26px 28px;
  position: relative;
}
.visitors-hero-icon,
.visitors-section-icon,
.visitors-stat-icon {
  align-items: center;
  background: var(--bs-primary-bg-subtle);
  border: 1px solid var(--bs-primary-border-subtle);
  color: var(--bs-primary);
  display: inline-flex;
  justify-content: center;
}
.visitors-hero-icon { border-radius: 18px; flex: 0 0 58px; font-size: 24px; height: 58px; width: 58px; }
.visitors-section-icon { border-radius: 13px; flex: 0 0 42px; font-size: 18px; height: 42px; width: 42px; }
.visitors-hero-icon i,
.visitors-section-icon i,
.visitors-stat-icon i { display: block; line-height: 1; }
.visitors-kicker {
  color: var(--bs-primary);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.visitors-tabs {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 16px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 5px;
}
.visitors-tabs a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--bs-secondary-color);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  padding: 10px 14px;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.visitors-tabs a:hover { background: var(--bs-body-bg); color: var(--bs-primary); }
.visitors-tabs a.is-active {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  box-shadow: none;
  color: #fff;
}
.visitors-wallet-panel { border-color: rgba(var(--bs-primary-rgb), .2); }
.visitors-wallet-form { background: rgba(var(--bs-primary-rgb), .035); margin: 12px 20px 20px; padding: 18px; border-radius: 16px; }
.visitors-wallet-form .form-control,
.visitors-wallet-form .form-select { background-color: var(--bs-body-bg); min-height: 44px; }
.visitors-apply-btn { min-height: 44px; }
.visitor-picker { position: relative; }
.visitor-picker-control {
  align-items: center;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  color: var(--bs-secondary-color);
  display: flex;
  gap: 10px;
  min-height: 44px;
  padding: 7px 12px;
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease;
  width: 100%;
}
.visitor-picker.is-open .visitor-picker-control {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), .1) !important;
}
.visitor-picker-control.has-value { color: var(--bs-body-color); }
.visitor-picker-avatar {
  align-items: center;
  background: var(--bs-primary-bg-subtle);
  border-radius: 9px;
  color: var(--bs-primary);
  display: inline-flex;
  flex: 0 0 30px;
  height: 30px;
  justify-content: center;
}
.visitor-picker-value { flex: 1; font-size: 13px; font-weight: 650; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.visitor-picker-chevron { color: var(--bs-secondary-color); font-size: 17px; transition: transform .16s ease; }
.visitor-picker.is-open .visitor-picker-chevron { transform: rotate(180deg); }
.visitor-picker-menu {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(18, 20, 32, .16);
  left: 0;
  margin-top: 7px;
  overflow: hidden;
  padding: 8px;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 1060;
}
.visitor-picker-search {
  align-items: center;
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 10px;
  display: flex;
  gap: 8px;
  margin-bottom: 7px;
  padding: 0 11px;
}
.visitor-picker-search i { color: var(--bs-secondary-color); }
.visitor-picker-search input { background: transparent; border: 0; color: var(--bs-body-color); min-height: 40px; outline: 0; width: 100%; }
.visitor-picker-results { display: grid; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.visitor-picker-option {
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--bs-body-color);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  text-align: left;
  width: 100%;
}
.visitor-picker-option:hover,
.visitor-picker-option:focus-visible { background: var(--bs-primary-bg-subtle); color: var(--bs-primary); outline: 0; }
.visitor-picker-option strong { font-size: 13px; }
.visitor-picker-option small { color: var(--bs-secondary-color); font-size: 11px; }
.visitor-picker-state { color: var(--bs-secondary-color); font-size: 12px; padding: 10px; text-align: center; }
.visitor-picker-state:empty { display: none; }
.visitor-picker-more {
  background: var(--bs-tertiary-bg);
  border: 0;
  border-radius: 9px;
  color: var(--bs-primary);
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
  min-height: 38px;
  width: 100%;
}
.visitor-picker-more:hover { background: var(--bs-primary-bg-subtle); }
.visitor-api-key-btn { padding-inline: 11px; }
.visitor-api-owner { color: var(--bs-heading-color); font-size: 16px; font-weight: 750; margin-bottom: 18px; }
.visitor-api-value {
  align-items: center;
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
}
.visitor-api-value > i { color: var(--bs-primary); }
.visitor-api-value code { color: var(--bs-heading-color); flex: 1; font-size: 14px; overflow-wrap: anywhere; }
.visitor-api-status { border-radius: 999px; font-size: 10px; font-weight: 800; padding: 5px 8px; text-transform: uppercase; }
.visitor-api-status.is-active { background: rgba(var(--bs-success-rgb), .12); color: var(--bs-success); }
.visitor-api-status.is-disabled { background: rgba(var(--bs-danger-rgb), .12); color: var(--bs-danger); }
.visitor-api-security {
  align-items: flex-start;
  background: var(--bs-primary-bg-subtle);
  border: 1px solid var(--bs-primary-border-subtle);
  border-radius: 13px;
  color: var(--bs-secondary-color);
  display: flex;
  font-size: 12px;
  gap: 10px;
  line-height: 1.55;
  margin-top: 14px;
  padding: 13px 14px;
}
.visitor-api-security i { color: var(--bs-primary); margin-top: 2px; }
.visitors-stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); }
.visitors-stat-card {
  align-items: center;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 18px;
  display: flex;
  gap: 15px;
  min-height: 104px;
  padding: 18px 20px;
}
.visitors-stat-icon { border-radius: 15px; flex: 0 0 48px; font-size: 20px; height: 48px; width: 48px; }
.visitors-stat-card > div > small,
.visitors-stat-card > div > span { color: var(--bs-secondary-color); display: block; font-size: 12px; }
.visitors-stat-card strong { color: var(--bs-heading-color); display: block; font-size: 22px; line-height: 1.25; margin: 3px 0; }
.visitors-list-panel { box-shadow: none; }
.visitors-list-head {
  align-items: flex-end;
  border-bottom: 1px solid var(--bs-border-color);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 22px 24px;
}
.visitors-list-tools { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }
.visitors-filter { order: -1; }
.visitors-tool-btn {
  align-items: center;
  background: var(--bs-primary-bg-subtle);
  border: 1px solid var(--bs-primary-border-subtle);
  border-radius: 11px;
  color: var(--bs-primary);
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
  min-height: 42px;
  padding: 9px 13px;
  text-decoration: none;
  transition: all .16s ease;
}
.visitors-tool-btn:hover { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
.visitors-search {
  align-items: center;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 12px;
  display: flex;
  min-height: 42px;
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease;
  width: min(420px, 48vw);
}
.visitors-search:focus-within { border-color: var(--bs-primary); box-shadow: none; }
.visitors-search > i { color: var(--bs-secondary-color); margin-left: 13px; }
.visitors-search input { background: transparent; border: 0; color: var(--bs-body-color); flex: 1; min-width: 100px; outline: 0; padding: 9px 11px; }
.visitors-search button { align-items: center; align-self: stretch; background: var(--bs-primary); border: 0; color: #fff; display: flex; justify-content: center; width: 43px; }
.visitors-month { color: var(--bs-secondary-color); font-size: 11px; font-weight: 700; }
.visitors-month span { display: block; margin-bottom: 4px; }
.visitors-month .form-control { min-height: 42px; }
.visitors-table tbody tr { transition: background .15s ease; }
.visitors-table tbody tr:hover { background: rgba(var(--bs-primary-rgb), .035); }
.visitors-table code { background: var(--bs-primary-bg-subtle); border-radius: 7px; color: var(--bs-primary); padding: 4px 7px; }
.visitors-empty { align-items: center; color: var(--bs-secondary-color); display: flex; flex-direction: column; gap: 11px; justify-content: center; min-height: 190px; }
.visitors-empty span { align-items: center; background: var(--bs-primary-bg-subtle); border-radius: 50%; color: var(--bs-primary); display: inline-flex; font-size: 24px; height: 58px; justify-content: center; width: 58px; }
.visitors-empty strong { color: var(--bs-secondary-color); font-size: 13px; }
.visitors-pagination { align-items: center; border-top: 1px solid var(--bs-border-color); display: flex; flex-wrap: wrap; gap: 15px; justify-content: space-between; padding: 16px 20px; }
.visitors-pagination > small { color: var(--bs-secondary-color); }
.visitors-pagination .page-link { align-items: center; border-radius: 9px; display: flex; justify-content: center; margin: 0 2px; min-height: 36px; min-width: 36px; }
.visitors-page .btn,
.visitors-page button,
.visitors-page a,
.visitors-page .page-link,
.visitors-page .visitors-tool-btn { box-shadow: none !important; }
@media (max-width: 991.98px) {
  .visitors-list-head { align-items: stretch; flex-direction: column; }
  .visitors-list-tools { align-items: stretch; }
  .visitors-filter { flex: 1 1 100%; width: 100%; }
  .visitors-search { width: 100%; }
}
@media (max-width: 575.98px) {
  .visitors-hero { align-items: flex-start; padding: 20px; }
  .visitors-hero-icon { flex-basis: 46px; height: 46px; width: 46px; }
  .visitors-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .visitors-tabs a { justify-content: center; padding: 10px 8px; }
  .visitors-tabs a:last-child { grid-column: auto; }
  .visitors-wallet-form { margin: 8px 12px 14px; padding: 14px; }
  .visitors-stats { grid-template-columns: 1fr; }
  .visitors-list-head { padding: 18px 16px; }
  .visitors-list-tools > a,
  .visitors-list-tools > form:not(.visitors-filter) { flex: 1 1 calc(50% - 4px); }
  .visitors-tool-btn { justify-content: center; width: 100%; }
  .visitors-pagination { justify-content: center; }
}
.billing-page { margin: 0 auto; max-width: 1400px; }
.billing-hero {
  align-items: center; background: linear-gradient(135deg, #17151f, #242033);
  border-radius: 20px; color: #fff; display: flex; gap: 24px; justify-content: space-between;
  margin-bottom: 22px; padding: 26px;
}
.billing-hero h3 { color: #fff; margin: 5px 0; }
.billing-hero p { color: #bbb6ca; margin: 0; }
.billing-kicker { color: #b8b0ff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.billing-current { align-items: flex-end; display: flex; flex-direction: column; gap: 5px; text-align: right; }
.billing-current small { color: #aaa4b8; }
.billing-plan-heading { margin: 4px auto 30px; text-align: center; }
.billing-plan-heading h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.04em; margin-bottom: 4px; }
.billing-plan-heading p { color: var(--bs-secondary-color); font-size: 17px; margin-bottom: 12px; }
.billing-plan-heading > span { background: linear-gradient(90deg, transparent, var(--bs-primary), transparent); border-radius: 99px; display: block; height: 4px; margin: auto; width: 110px; }
.billing-plan-option {
  --plan-color: #08a66a; --plan-rgb: 8, 166, 106;
  background: linear-gradient(145deg, rgba(var(--plan-rgb), .035), var(--bs-body-bg) 45%);
  border: 2px solid rgba(var(--plan-rgb), .65); border-radius: 22px;
  cursor: pointer; display: flex; flex-direction: column; min-height: 100%; overflow: hidden; padding: 26px; position: relative; transition: .2s ease;
}
.billing-plan-pro { --plan-color: #6737e6; --plan-rgb: 103, 55, 230; }
.billing-plan-option:hover { border-color: var(--plan-color); transform: translateY(-2px); }
.billing-plan-option:has(.billing-plan-radio:checked) { background: linear-gradient(145deg, rgba(var(--plan-rgb), .09), var(--bs-body-bg) 52%); border-color: var(--plan-color); }
.billing-plan-radio { height: 1px; opacity: 0; position: absolute; width: 1px; }
.billing-plan-topline { align-items: center; display: grid; gap: 14px; grid-template-columns: 28px minmax(0, 1fr) auto; }
.billing-plan-dot { background: var(--bs-body-bg); border: 3px solid var(--bs-secondary-color); border-radius: 50%; height: 22px; position: relative; width: 22px; }
.billing-plan-option:has(.billing-plan-radio:checked) .billing-plan-dot { border-color: var(--plan-color); outline: 4px solid rgba(var(--plan-rgb), .12); }
.billing-plan-option:has(.billing-plan-radio:checked) .billing-plan-dot::after { background: var(--plan-color); border-radius: 50%; content: ''; inset: 4px; position: absolute; }
.billing-plan-badge { align-items: center; background: linear-gradient(135deg, var(--plan-color), rgba(var(--plan-rgb), .82)); border-radius: 99px; color: #fff; display: inline-flex; font-size: 12px; font-weight: 800; gap: 7px; justify-self: start; padding: 9px 18px; }
.billing-plan-price { align-items: center; background: rgba(var(--plan-rgb), .09); border-radius: 16px; color: var(--plan-color); display: flex; flex-direction: column; line-height: 1; padding: 14px 16px; text-align: center; }
.billing-plan-price strong { font-size: 30px; font-weight: 800; }
.billing-plan-price small { color: var(--bs-body-color); font-size: 12px; font-weight: 700; margin-top: 7px; }
.billing-plan-intro { display: flex; flex-direction: column; margin: -28px 0 22px 42px; max-width: calc(100% - 170px); }
.billing-plan-intro strong { font-size: 25px; font-weight: 800; letter-spacing: -.025em; }
.billing-plan-intro small { color: var(--bs-secondary-color); line-height: 1.45; margin-top: 5px; }
.billing-plan-content { align-items: end; display: grid; flex: 1; gap: 12px; grid-template-columns: minmax(0, 1fr) 155px; margin-bottom: 24px; }
.billing-plan-benefits { display: flex; flex-direction: column; gap: 9px; }
.billing-plan-benefits > span { align-items: flex-start; color: var(--bs-secondary-color); display: flex; font-size: 13px; gap: 9px; line-height: 1.35; }
.billing-plan-benefits i { align-items: center; background: var(--plan-color); border-radius: 50%; color: #fff; display: inline-flex; flex: 0 0 20px; font-size: 9px; height: 20px; justify-content: center; margin-top: -1px; }
.billing-plan-visual { align-items: center; display: flex; justify-content: center; min-height: 175px; }
.billing-plan-visual img { display: block; height: auto; max-height: 210px; max-width: 100%; object-fit: contain; }
.billing-plan-image-placeholder { align-items: center; background: rgba(var(--plan-rgb), .07); border: 1px dashed rgba(var(--plan-rgb), .4); border-radius: 18px; color: var(--plan-color); display: flex; flex-direction: column; gap: 8px; justify-content: center; min-height: 155px; padding: 18px; text-align: center; width: 100%; }
.billing-plan-image-placeholder i { font-size: 30px; }
.billing-plan-image-placeholder small { color: var(--bs-secondary-color); font-size: 10px; word-break: break-all; }
.billing-plan-action { align-items: center; background: linear-gradient(135deg, var(--plan-color), rgba(var(--plan-rgb), .86)); border-radius: 15px; color: #fff; display: flex; font-size: 16px; font-weight: 800; justify-content: center; min-height: 54px; padding: 13px 18px; text-align: center; }
.billing-plan-action > span { align-items: center; gap: 10px; justify-content: center; }
.billing-action-default { display: flex; }
.billing-action-selected { display: none; }
.billing-plan-option:has(.billing-plan-radio:checked) .billing-action-default { display: none; }
.billing-plan-option:has(.billing-plan-radio:checked) .billing-action-selected { display: flex; }
.billing-steps { color: var(--bs-secondary-color); display: grid; gap: 18px; padding-left: 22px; }
.billing-payment-heading { align-items: center; display: flex; gap: 18px; justify-content: space-between; margin-bottom: 16px; }
.billing-secure-label {
  align-items: center; background: rgba(var(--bs-primary-rgb), .08); border: 1px solid rgba(var(--bs-primary-rgb), .2);
  border-radius: 99px; color: var(--bs-primary); display: inline-flex; font-size: 12px; font-weight: 700; gap: 7px; padding: 8px 12px;
}
.billing-payment-methods { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 16px; }
.billing-payment-option {
  align-items: center; background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 16px;
  box-shadow: none; cursor: pointer; display: grid; gap: 13px; grid-template-columns: 48px minmax(0, 1fr) auto 24px;
  min-height: 92px; padding: 15px; position: relative; transition: border-color .18s ease, background-color .18s ease;
}
.billing-payment-option:hover { border-color: rgba(var(--bs-primary-rgb), .55); }
.billing-payment-option:has(input:checked) { background: rgba(var(--bs-primary-rgb), .055); border-color: var(--bs-primary); }
.billing-payment-option > input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.billing-payment-icon {
  align-items: center; background: #090909; border-radius: 13px; display: inline-flex; height: 48px; justify-content: center; overflow: hidden; width: 48px;
}
.billing-payment-icon img { display: block; height: 34px; object-fit: contain; width: 34px; }
.billing-payment-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.billing-payment-copy strong { color: var(--bs-heading-color); font-size: 15px; }
.billing-payment-copy small { color: var(--bs-secondary-color); font-size: 12px; line-height: 1.35; }
.billing-payment-meta { align-items: flex-end; display: flex; flex-direction: column; gap: 7px; }
.billing-network-badge { background: var(--bs-tertiary-bg); border-radius: 7px; color: var(--bs-body-color); font-size: 10px; font-weight: 800; padding: 4px 7px; }
.billing-method-status { align-items: center; border-radius: 99px; display: inline-flex; font-size: 10px; font-weight: 800; gap: 5px; padding: 5px 8px; white-space: nowrap; }
.billing-method-status.is-automatic { background: rgba(8, 166, 106, .1); color: #078b5a; }
.billing-method-status.is-manual { background: rgba(245, 158, 11, .12); color: #b66d00; }
.billing-payment-check {
  align-items: center; border: 2px solid var(--bs-border-color); border-radius: 50%; color: transparent; display: inline-flex;
  font-size: 9px; height: 22px; justify-content: center; width: 22px;
}
.billing-payment-option:has(input:checked) .billing-payment-check { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
.plan-sales-page { margin: 0 auto; max-width: 1400px; }
.plan-sales-hero {
  align-items: center; background: linear-gradient(120deg, rgba(var(--bs-primary-rgb), .13), var(--bs-body-bg) 62%);
  border: 1px solid rgba(var(--bs-primary-rgb), .28); border-radius: 24px; display: flex; gap: 20px; margin-bottom: 24px; padding: 26px 30px;
}
.plan-sales-hero-icon, .plan-sales-benefits-icon, .voucher-activation-icon, .voucher-ready-icon {
  align-items: center; background: var(--bs-primary); border-radius: 18px; color: #fff; display: inline-flex; flex: 0 0 62px;
  font-size: 26px; height: 62px; justify-content: center; width: 62px;
}
.plan-sales-kicker { color: var(--bs-primary); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.plan-sales-hero h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.035em; margin: 4px 0 6px; }
.plan-sales-hero p { color: var(--bs-secondary-color); margin: 0; max-width: 760px; }
.plan-sales-margin { align-items: flex-end; border-left: 1px solid var(--bs-border-color); display: flex; flex-direction: column; flex: 0 0 190px; padding-left: 24px; text-align: right; }
.plan-sales-margin small, .plan-sales-margin span { color: var(--bs-secondary-color); }
.plan-sales-margin strong { color: var(--bs-primary); font-size: 34px; line-height: 1.1; }
.plan-sales-stats { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 24px; }
.plan-order-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-sales-stats > div { align-items: center; background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 17px; display: grid; gap: 2px 12px; grid-template-columns: 42px minmax(0, 1fr); padding: 15px; }
.plan-sales-stats > div > span { align-items: center; background: rgba(var(--bs-primary-rgb), .08); border-radius: 12px; color: var(--bs-primary); display: inline-flex; grid-row: 1 / span 2; height: 42px; justify-content: center; width: 42px; }
.plan-sales-stats small { color: var(--bs-secondary-color); font-size: 11px; }
.plan-sales-stats strong { font-size: 20px; }
.plan-sales-builder, .plan-sales-benefits, .plan-sales-list, .voucher-activation-card, .voucher-ready-card {
  background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 22px; box-shadow: none; padding: 26px;
}
.plan-sales-section-head { align-items: center; display: flex; gap: 12px; }
.plan-sales-section-head > span { align-items: center; background: rgba(var(--bs-primary-rgb), .1); border-radius: 10px; color: var(--bs-primary); display: inline-flex; flex: 0 0 36px; font-weight: 800; height: 36px; justify-content: center; }
.plan-sales-section-head h4 { font-size: 17px; margin: 0; }
.plan-sales-section-head p { color: var(--bs-secondary-color); font-size: 13px; margin: 2px 0 0; }
.plan-sales-product-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.plan-sales-product { align-items: center; border: 1px solid var(--bs-border-color); border-radius: 17px; cursor: pointer; display: grid; gap: 12px; grid-template-columns: 48px minmax(0, 1fr) 24px; padding: 16px; position: relative; }
.plan-sales-product:only-child { grid-column: 1 / -1; }
.plan-sales-product:hover, .plan-sales-product:has(input:checked) { background: rgba(var(--bs-primary-rgb), .05); border-color: var(--bs-primary); }
.plan-sales-product > input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.plan-sales-product-icon { align-items: center; background: rgba(8,166,106,.1); border-radius: 13px; color: #08a66a; display: inline-flex; font-size: 19px; height: 48px; justify-content: center; width: 48px; }
.plan-sales-product.is-pro .plan-sales-product-icon { background: rgba(var(--bs-primary-rgb), .1); color: var(--bs-primary); }
.plan-sales-product strong { display: block; font-size: 15px; }
.plan-sales-product small { color: var(--bs-secondary-color); grid-column: 2; }
.plan-sales-product-check { align-items: center; border: 2px solid var(--bs-border-color); border-radius: 50%; color: transparent; display: inline-flex; grid-column: 3; grid-row: 1 / span 2; height: 22px; justify-content: center; width: 22px; }
.plan-sales-product:has(input:checked) .plan-sales-product-check { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; font-size: 9px; }
.plan-sales-quote { background: var(--bs-tertiary-bg); border-radius: 17px; display: grid; gap: 1px; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; }
.plan-sales-quote > div { background: var(--bs-body-bg); display: flex; flex-direction: column; gap: 5px; padding: 18px; }
.plan-sales-quote small { color: var(--bs-secondary-color); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.plan-sales-quote strong { font-size: 18px; }
.plan-sales-quote .is-profit { background: rgba(8,166,106,.08); }
.plan-sales-quote .is-profit strong { color: #08a66a; }
.plan-sales-benefits { background: linear-gradient(150deg, rgba(var(--bs-primary-rgb), .1), var(--bs-body-bg) 55%); height: 100%; }
.plan-sales-benefits h4 { font-size: 22px; font-weight: 800; margin: 18px 0 8px; }
.plan-sales-benefits p { color: var(--bs-secondary-color); }
.plan-sales-benefits ul { display: grid; gap: 13px; list-style: none; margin: 24px 0; padding: 0; }
.plan-sales-benefits li { align-items: flex-start; display: flex; gap: 10px; }
.plan-sales-benefits li i { align-items: center; background: rgba(8,166,106,.1); border-radius: 50%; color: #08a66a; display: inline-flex; flex: 0 0 22px; font-size: 9px; height: 22px; justify-content: center; }
.plan-sales-list { padding: 0; overflow: hidden; }
.plan-sales-list-head { align-items: center; display: flex; justify-content: space-between; padding: 22px 26px; }
.plan-sales-list-head > div > span { color: var(--bs-primary); font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.plan-sales-list-head h4 { margin: 3px 0 0; }
.plan-sales-list-head > small { color: var(--bs-secondary-color); }
.plan-sales-link-code { display: inline-block; max-width: 390px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voucher-ready-card, .voucher-activation-card { margin: 20px auto; max-width: 820px; text-align: center; }
.voucher-ready-icon, .voucher-activation-icon { margin: 0 auto 16px; }
.voucher-ready-card h2, .voucher-activation-card h2 { font-size: 30px; font-weight: 800; margin: 5px 0 8px; }
.voucher-ready-card > p, .voucher-activation-card > p { color: var(--bs-secondary-color); }
.voucher-ready-links { display: grid; gap: 10px; margin-top: 24px; text-align: left; }
.voucher-ready-links > div { align-items: center; background: var(--bs-tertiary-bg); border: 1px solid var(--bs-border-color); border-radius: 13px; display: flex; gap: 12px; justify-content: space-between; padding: 13px; }
.voucher-ready-links span { display: flex; flex-direction: column; min-width: 0; }
.voucher-ready-links code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voucher-activation-summary { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); margin: 24px 0; overflow: hidden; }
.voucher-activation-summary > div { background: var(--bs-tertiary-bg); border-radius: 12px; display: flex; flex-direction: column; gap: 5px; padding: 16px; }
.voucher-activation-summary small { color: var(--bs-secondary-color); }
.payment-page { margin: 0 auto; max-width: 1040px; }
.payment-shell {
  background: #131219; border: 1px solid #292631; border-radius: 20px;
  color: #f7f6fa; display: grid; grid-template-columns: .95fr 1.05fr; overflow: hidden;
}
.payment-left, .payment-right { padding: 28px; }
.payment-left { background: #181920; border-right: 1px solid #292a32; }
.payment-right { display: flex; flex-direction: column; min-height: 620px; }
.payment-brand { color: #f3ba2f; font-size: 18px; margin-bottom: 28px; }
.payment-amount { color: #fff; font-size: 38px; font-weight: 800; margin-top: 4px; }
.payment-amount span { color: #f3ba2f; font-size: 14px; }
.payment-qr { background: #fff; border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.22); margin: 20px auto 10px; max-width: 260px; padding: 14px; }
.payment-qr img { display: block; width: 100%; }
.payment-qr-caption { color: #969ba8; font-size: 13px; margin: 0 0 18px; text-align: center; }
.payment-copy-row {
  align-items: center; background: #20232b; border: 1px solid #30343e; border-radius: 10px;
  display: flex; gap: 10px; justify-content: space-between; margin-top: 12px; padding: 10px 12px;
}
.payment-copy-row span { display: flex; flex-direction: column; min-width: 0; }
.payment-copy-row small { color: #969ba8; text-transform: uppercase; }
.payment-copy-row code { color: #fff; overflow-wrap: anywhere; }
.payment-expiry { color: #969ba8; margin: 20px 0 0; }
.payment-expiry strong { color: #fff; }
.payment-waiting { align-items: center; display: flex; gap: 12px; margin-bottom: 22px; }
.payment-waiting > div { display: flex; flex: 1 1 220px; flex-direction: column; }
.payment-waiting small { color: #969ba8; }
.payment-pulse { background: #f3ba2f; border-radius: 50%; height: 10px; outline: 7px solid rgba(243,186,47,.12); width: 10px; }
.payment-wait-progress { background: #2b2932; border-radius: 999px; display: block; flex: 0 1 170px; height: 7px; overflow: hidden; }
.payment-wait-progress > span { animation: payment-waiting-progress 2.4s ease-in-out infinite; background: linear-gradient(90deg, #f3ba2f, #ffd94e); border-radius: inherit; display: block; height: 100%; width: 42%; }
@keyframes payment-waiting-progress { 0% { transform: translateX(-110%); } 55%, 100% { transform: translateX(245%); } }
.payment-reference {
  align-items: center; background: linear-gradient(135deg, #f3ba2f, #ffd94e); border-radius: 16px;
  color: #28200b; display: grid; gap: 5px; grid-template-columns: 1fr auto; margin-bottom: 22px; padding: 18px 20px;
}
.payment-reference small { font-weight: 800; grid-column: 1 / -1; letter-spacing: .1em; }
.payment-reference strong { font-size: clamp(27px, 4vw, 36px); letter-spacing: .12em; line-height: 1; }
.payment-reference-help { font-size: 13px; grid-column: 1 / -1; line-height: 1.45; }
.payment-instructions { display: grid; gap: 10px; margin-bottom: 24px; }
.payment-instructions > div {
  align-items: center; background: #1c1b22; border: 1px solid #302e37; border-radius: 11px;
  color: #a9a6b0; display: flex; gap: 12px; padding: 13px;
}
.payment-instructions b {
  align-items: center; background: #2b2932; border-radius: 50%; color: #fff;
  display: inline-flex; flex: 0 0 26px; height: 26px; justify-content: center;
}
@media (max-width: 767.98px) {
  .billing-hero { align-items: flex-start; flex-direction: column; }
  .billing-current { align-items: flex-start; text-align: left; }
  .billing-plan-heading { margin-bottom: 22px; }
  .billing-plan-heading p { font-size: 14px; }
  .billing-plan-option { padding: 20px; }
  .billing-plan-topline { grid-template-columns: 24px minmax(0, 1fr); }
  .billing-plan-price { align-items: baseline; flex-direction: row; gap: 7px; grid-column: 2; justify-self: start; padding: 10px 13px; }
  .billing-plan-price strong { font-size: 24px; }
  .billing-plan-price small { margin-top: 0; }
  .billing-plan-intro { margin: 20px 0; max-width: none; }
  .billing-plan-intro strong { font-size: 23px; }
  .billing-plan-content { grid-template-columns: 1fr; }
  .billing-plan-visual { min-height: 165px; }
  .billing-plan-visual img { max-height: 190px; }
  .billing-payment-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .billing-payment-methods { grid-template-columns: 1fr; }
  .billing-payment-option { grid-template-columns: 44px minmax(0, 1fr) 22px; }
  .billing-payment-icon { height: 44px; width: 44px; }
  .billing-payment-meta { align-items: flex-start; grid-column: 2; }
  .billing-payment-check { grid-column: 3; grid-row: 1; }
  .plan-sales-hero { align-items: flex-start; flex-direction: column; padding: 22px; }
  .plan-sales-margin { align-items: flex-start; border-left: 0; border-top: 1px solid var(--bs-border-color); flex-basis: auto; padding: 16px 0 0; text-align: left; width: 100%; }
  .plan-sales-product-grid, .plan-sales-quote { grid-template-columns: 1fr; }
  .plan-sales-stats, .plan-order-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-sales-list-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .voucher-activation-summary { grid-template-columns: 1fr; }
  .voucher-ready-links > div { align-items: stretch; flex-direction: column; }
  .payment-shell { grid-template-columns: 1fr; }
  .payment-left { border-bottom: 1px solid #292a32; border-right: 0; }
  .payment-right { min-height: 520px; }
  .payment-waiting { flex-wrap: wrap; }
  .payment-wait-progress { flex-basis: 100%; }
}
@media (max-width: 480px) {
  .plan-sales-stats, .plan-order-stats { grid-template-columns: 1fr; }
  .payment-left, .payment-right { padding: 22px 18px; }
  .payment-reference { grid-template-columns: minmax(0, 1fr) auto; padding: 16px; }
  .payment-reference strong { font-size: 26px; letter-spacing: .08em; }
}

.btn {
  font-weight: 600;
  border-radius: 10px;
}
.btn-sm {
  border-radius: 10px;
  padding: 0.4rem 0.8rem;
}

@media (min-width: 992px) {
  .modal-dialog.modal-wide {
    width: 80%;
    max-width: 80%;
  }
}

.promo-register-page {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px;
  background:
    radial-gradient(circle at top left, rgba(89, 85, 209, 0.12), transparent 42%),
    linear-gradient(160deg, #eef0f7 0%, #f7f8fc 55%, #e9ecf5 100%);
}
.promo-register-card {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(300px, 0.95fr);
  max-width: 920px;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(45, 42, 60, 0.08);
}
.promo-register-offer {
  background: linear-gradient(165deg, #1d2140 0%, #15182b 100%);
  color: #fff;
  padding: 42px 36px;
}
.promo-register-kicker {
  color: #8b9cff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.promo-register-offer h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #ffffff !important;
}
.promo-register-lead {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
}
.promo-register-meta {
  display: grid;
  gap: 14px;
  margin: 0;
}
.promo-register-meta > div {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 4px;
  padding-top: 12px;
}
.promo-register-meta dt {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin: 0;
}
.promo-register-meta dd {
  margin: 0;
  font-weight: 600;
  color: #fff;
}
.promo-register-panel {
  background: #ffffff;
  color: #1c1d24;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 28px;
}
.promo-register-form-wrap,
.promo-register-status {
  width: 100%;
  max-width: 360px;
}
.promo-register-form-wrap h2,
.promo-register-status h2 {
  color: #1c1d24;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.promo-register-form-wrap .text-muted {
  color: #6b7080 !important;
}
.promo-register-status { text-align: center; }
.promo-register-status-icon {
  align-items: center;
  background: #ffd6de;
  border-radius: 10px;
  color: #c6284d;
  display: inline-flex;
  font-size: 22px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  margin-bottom: 16px;
  width: 42px;
}
.promo-register-status p { color: #6b7080; margin-bottom: 18px; }
.promo-register-status a { color: #5955d1; font-weight: 700; text-decoration: none; }
@media (max-width: 767.98px) {
  .promo-register-card { grid-template-columns: 1fr; }
  .promo-register-offer { padding: 28px 22px; }
}

/* Auth pages always use light form controls, even if theme JS races */
.auth-layout,
.auth-layout .page-layout {
  background: #f4f5f8 !important;
  color: #1c1d24 !important;
}
.auth-layout .auth-wrapper {
  background: transparent;
}
.auth-layout .card {
  background: #ffffff !important;
  color: #1c1d24 !important;
}
.auth-layout .form-label,
.auth-layout .promo-register-form-wrap .form-label {
  color: #343a40 !important;
}
.auth-layout .form-control,
.auth-layout .form-select,
.promo-register-panel .form-control,
.promo-register-panel .form-select {
  background-color: #ffffff !important;
  border-color: #ced4da !important;
  color: #212529 !important;
  box-shadow: none;
}
.auth-layout .form-control::placeholder,
.promo-register-panel .form-control::placeholder {
  color: #6c757d !important;
}
.auth-layout .form-control:focus,
.promo-register-panel .form-control:focus {
  background-color: #ffffff !important;
  border-color: #5955d1 !important;
  color: #212529 !important;
}

.promo-generate-form .form-label {
  display: block;
  margin-bottom: 0.4rem;
  min-height: 1.25rem;
}
.promo-generate-form .form-select,
.promo-generate-form .form-control,
.promo-generate-form .btn {
  min-height: 42px;
}
.promo-generate-form-spacer {
  visibility: hidden;
  user-select: none;
}

/* Danger alerts: solid red + white text in light and dark themes */
.alert-danger,
[data-bs-theme=light] .alert-danger,
[data-bs-theme=dark] .alert-danger {
  --bs-alert-color: #ffffff;
  --bs-alert-bg: #dc3545;
  --bs-alert-border-color: #c82333;
  --bs-alert-link-color: #ffffff;
  background-color: #dc3545 !important;
  border-color: #c82333 !important;
  color: #ffffff !important;
}
.alert-danger a,
[data-bs-theme=light] .alert-danger a,
[data-bs-theme=dark] .alert-danger a {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: underline;
}
.alert-danger .btn-close {
  filter: invert(1) grayscale(100%);
  opacity: 0.85;
}

/* Bot payment methods */
.payment-settings-hero {
  align-items: center;
  background: linear-gradient(135deg, rgba(89, 85, 209, .08), rgba(17, 167, 122, .07));
  border: 1px solid var(--bs-border-color);
  border-radius: 18px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  padding: 28px;
}
.payment-settings-kicker {
  color: var(--bs-primary);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  margin-bottom: 7px;
}
.payment-settings-hero h4 { margin-bottom: 8px; }
.payment-settings-hero p { color: var(--bs-secondary-color); margin: 0; max-width: 760px; }
.payment-proof-note {
  align-items: center;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 14px;
  display: flex;
  gap: 13px;
  padding: 16px;
}
.payment-proof-note small { color: var(--bs-secondary-color); display: block; line-height: 1.45; margin-top: 3px; }
.payment-proof-icon,
.payment-brand-icon,
.payment-country-flag {
  align-items: center;
  background: var(--bs-primary-bg-subtle);
  border-radius: 10px;
  color: var(--bs-primary);
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 20px;
  height: 42px;
  justify-content: center;
}
.payment-settings-card,
.payment-method-editor {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 18px;
  box-shadow: none !important;
}
.payment-settings-card { display: flex; flex-direction: column; padding: 24px; }
.payment-card-head { align-items: center; display: flex; gap: 12px; margin-bottom: 22px; }
.payment-card-head > div { flex: 1; min-width: 0; }
.payment-card-head h5,
.payment-card-head p { margin: 0; }
.payment-card-head p { color: var(--bs-secondary-color); font-size: 13px; margin-top: 3px; }
.payment-status-list { list-style: none; margin: 0; padding: 0; }
.payment-status-list li { align-items: center; border-bottom: 1px solid var(--bs-border-color); display: flex; gap: 16px; justify-content: space-between; padding: 12px 0; }
.payment-status-list li:last-child { border-bottom: 0; }
.payment-status-list strong { font-size: 13px; }
.payment-method-editor { overflow: hidden; }
.payment-method-editor > summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: 42px minmax(0, 1fr) auto 36px;
  list-style: none;
  padding: 17px 20px;
  user-select: none;
}
.payment-method-editor > summary::-webkit-details-marker { display: none; }
.payment-method-editor > summary:focus-visible { outline: 2px solid var(--bs-primary); outline-offset: -3px; }
.payment-method-editor[open] > summary { box-shadow: inset 0 -1px var(--bs-border-color); }
.payment-method-editor > summary > .payment-country-flag { grid-column: 1; }
.payment-method-summary { display: flex; flex-direction: column; grid-column: 2; min-width: 0; }
.payment-method-summary small { color: var(--bs-secondary-color); margin-top: 3px; overflow-wrap: anywhere; }
.payment-method-editor > summary > .badge { grid-column: 3; white-space: nowrap; }
.payment-method-chevron {
  align-items: center;
  background: var(--bs-primary-bg-subtle);
  border: 1px solid rgba(var(--bs-primary-rgb), .16);
  border-radius: 10px;
  color: var(--bs-primary);
  display: flex;
  font-size: 0;
  grid-column: 4;
  height: 36px;
  justify-content: center;
  line-height: 0;
  width: 36px;
}
.payment-method-chevron::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: '';
  height: 8px;
  transform: rotate(45deg);
  transition: transform .18s ease;
  width: 8px;
}
.payment-method-editor[open] .payment-method-chevron::after { transform: rotate(225deg); }
.payment-method-body { padding: 22px; position: relative; }
.payment-method-delete { bottom: 22px; position: absolute; right: 22px; }
.payment-method-options { display: flex; flex-wrap: wrap; gap: 18px; }
.payment-method-new { border-color: rgba(var(--bs-primary-rgb), .45); }
@media (max-width: 991.98px) {
  .payment-settings-hero { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .payment-settings-hero,
  .payment-settings-card,
  .payment-method-body { padding: 18px; }
  .payment-method-editor > summary { column-gap: 10px; grid-template-columns: 42px minmax(0, 1fr) 36px; padding: 16px; row-gap: 8px; }
  .payment-method-editor > summary > .payment-country-flag,
  .payment-method-editor > summary > .payment-method-summary,
  .payment-method-editor > summary > .payment-method-chevron { grid-row: 1; }
  .payment-method-editor > summary > .badge { grid-column: 2; grid-row: 2; justify-self: start; }
  .payment-method-chevron { grid-column: 3; }
  .payment-method-delete { margin-top: 10px; position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .payment-method-chevron::after { transition: none; }
}

/* PRO welcome customization */
.welcome-custom-hero {
  align-items: center;
  background: linear-gradient(135deg, rgba(89, 85, 209, .10), rgba(126, 75, 220, .07));
  border: 1px solid var(--bs-border-color);
  border-radius: 18px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  padding: 28px;
}
.welcome-custom-hero h4 { margin-bottom: 8px; }
.welcome-custom-hero p { color: var(--bs-secondary-color); margin: 0; }
.welcome-custom-badge {
  background: var(--bs-body-bg);
  border: 1px solid rgba(var(--bs-primary-rgb), .28);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  padding: 17px 18px;
}
.welcome-custom-badge span { color: var(--bs-primary); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.welcome-custom-badge strong { margin-top: 4px; }
.welcome-custom-badge small { color: var(--bs-secondary-color); margin-top: 3px; }
.welcome-image-preview,
.welcome-image-empty {
  align-items: center;
  background: var(--bs-tertiary-bg);
  border: 1px dashed var(--bs-border-color);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  min-height: 180px;
  overflow: hidden;
}
.welcome-image-preview img { display: block; height: 220px; object-fit: cover; width: 100%; }
.welcome-image-empty { color: var(--bs-secondary-color); flex-direction: column; gap: 8px; }
.welcome-image-empty i { font-size: 30px; }
.welcome-gate-settings {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 15px;
  padding: 20px;
}
.welcome-pro-lock {
  align-items: center;
  background: linear-gradient(145deg, rgba(89, 85, 209, .09), rgba(126, 75, 220, .04));
  border: 1px solid rgba(var(--bs-primary-rgb), .25);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  padding: 54px 28px;
  text-align: center;
}
.welcome-pro-lock-icon {
  align-items: center;
  background: var(--bs-primary);
  border-radius: 16px;
  color: #fff;
  display: inline-flex;
  font-size: 26px;
  height: 58px;
  justify-content: center;
  margin-bottom: 14px;
  width: 58px;
}
.welcome-pro-lock p { color: var(--bs-secondary-color); max-width: 720px; }
.welcome-pro-benefits { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 8px 0 24px; }
.welcome-pro-benefits span { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 999px; padding: 8px 13px; }
.welcome-pro-promo-slot {
  align-items: center;
  border: 1px dashed rgba(var(--bs-primary-rgb), .42);
  border-radius: 14px;
  color: var(--bs-secondary-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  margin: 0 0 24px;
  max-width: 680px;
  min-height: 154px;
  width: 100%;
}
.welcome-pro-promo-slot i { color: var(--bs-primary); font-size: 30px; line-height: 1; }
.welcome-pro-promo-slot span { font-size: .875rem; font-weight: 600; }
.welcome-pro-sales { border-top: 1px solid rgba(var(--bs-primary-rgb), .18); margin-top: 30px; max-width: 760px; padding-top: 26px; width: 100%; }
.welcome-pro-sales h4 { font-size: 1.08rem; margin: 7px 0; }
.welcome-pro-sales > p { font-size: .925rem; margin: 0 auto 16px; }
.welcome-pro-sales-list { display: grid; gap: 10px 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; text-align: left; }
.welcome-pro-sales-list li { align-items: flex-start; color: var(--bs-secondary-color); display: flex; font-size: .875rem; gap: 9px; line-height: 1.35; }
.welcome-pro-sales-list i { color: var(--bs-primary); font-size: 17px; line-height: 1.25; }
.welcome-link-editor .payment-country-flag { font-size: 18px; }
@media (max-width: 991.98px) {
  .welcome-custom-hero { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .welcome-custom-hero { padding: 18px; }
  .welcome-pro-lock { padding: 38px 18px; }
  .welcome-pro-sales-list { grid-template-columns: 1fr; }
}

/* Platform maintenance */
.maintenance-settings { background: rgba(var(--bs-primary-rgb), .025); }
.maintenance-settings__icon,
.maintenance-banner__icon,
.maintenance-screen__icon {
  align-items: center;
  background: rgba(var(--bs-primary-rgb), .10);
  border: 1px solid rgba(var(--bs-primary-rgb), .22);
  color: var(--bs-primary);
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}
.maintenance-settings__icon { border-radius: 12px; font-size: 20px; height: 44px; width: 44px; }
.maintenance-settings__note {
  align-items: flex-start;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 12px;
  color: var(--bs-secondary-color);
  display: flex;
  font-size: 13px;
  gap: 10px;
  padding: 12px 14px;
}
.maintenance-settings__note i { color: var(--bs-primary); margin-top: 2px; }
.maintenance-disable-button { margin-left: auto; }
.customer-notice-settings { background: rgba(var(--bs-primary-rgb), .018); }
.customer-notice-settings__icon,
.customer-notice-banner__icon {
  align-items: center;
  background: rgba(var(--bs-primary-rgb), .08);
  border: 1px solid rgba(var(--bs-primary-rgb), .20);
  color: var(--bs-primary);
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}
.customer-notice-settings__icon { border-radius: 12px; font-size: 20px; height: 44px; width: 44px; }

/* Admin settings */
.admin-settings-page { margin: 0 auto; max-width: 1180px; }
.admin-settings-tabs { align-items: center; border: 1px solid var(--bs-border-color); border-radius: 16px; display: flex; gap: 6px; margin-bottom: 22px; overflow-x: auto; padding: 7px; }
.admin-settings-tab { align-items: center; background: transparent; border: 1px solid transparent; border-radius: 11px; color: var(--bs-secondary-color); display: inline-flex; flex: 1 0 auto; font-weight: 600; gap: 8px; justify-content: center; min-height: 46px; padding: 9px 16px; }
.admin-settings-tab:hover { border-color: rgba(var(--bs-primary-rgb), .24); color: var(--bs-primary); }
.admin-settings-tab.active { background: var(--bs-primary); color: #fff; }
.admin-settings-content { min-height: 420px; }
.admin-settings-panel { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 18px; padding: 26px; }
.admin-settings-panel-head { align-items: flex-start; display: flex; gap: 14px; margin-bottom: 26px; }
.admin-settings-panel-head h4 { font-size: 1.1rem; margin: 0 0 4px; }
.admin-settings-panel-head p { color: var(--bs-secondary-color); margin: 0; }
.admin-settings-panel-icon,
.admin-plan-visibility-icon { align-items: center; background: rgba(var(--bs-primary-rgb), .08); border: 1px solid rgba(var(--bs-primary-rgb), .18); color: var(--bs-primary); display: inline-flex; flex: 0 0 auto; justify-content: center; }
.admin-settings-panel-icon { border-radius: 12px; font-size: 20px; height: 44px; width: 44px; }
.admin-settings-option { border: 1px solid var(--bs-border-color); border-radius: 14px; padding: 18px; }
.admin-settings-subhead { align-items: flex-start; display: flex; gap: 15px; justify-content: space-between; margin: 4px 0 14px; }
.admin-settings-subhead h5 { font-size: 1rem; margin: 0 0 4px; }
.admin-settings-subhead p { color: var(--bs-secondary-color); margin: 0; }
.admin-plan-visibility-card { align-items: center; border: 1px solid var(--bs-border-color); border-radius: 14px; display: flex; gap: 13px; min-height: 96px; padding: 16px; }
.admin-plan-visibility-card-pro { border-color: rgba(var(--bs-primary-rgb), .28); }
.admin-plan-visibility-icon { border-radius: 11px; font-size: 18px; height: 40px; width: 40px; }
.admin-plan-visibility-card strong,
.admin-plan-visibility-card small { display: block; }
.admin-plan-visibility-card small { color: var(--bs-secondary-color); font-size: .78rem; line-height: 1.4; margin-top: 3px; }
.admin-settings-note { align-items: flex-start; background: rgba(var(--bs-primary-rgb), .06); border: 1px solid rgba(var(--bs-primary-rgb), .16); border-radius: 12px; color: var(--bs-secondary-color); display: flex; gap: 9px; padding: 12px 14px; }
.admin-settings-note i { color: var(--bs-primary); margin-top: 2px; }
.admin-settings-actions { align-items: center; display: flex; justify-content: flex-end; padding-top: 18px; }
.migration-center { background: linear-gradient(145deg, rgba(var(--bs-primary-rgb), .055), var(--bs-body-bg) 42%); }
.migration-center__head { align-items: center; }
.migration-center__score { background: rgba(var(--bs-primary-rgb), .09); border: 1px solid rgba(var(--bs-primary-rgb), .18); border-radius: 999px; color: var(--bs-primary); flex: 0 0 auto; font-size: .78rem; font-weight: 700; padding: 7px 11px; }
.migration-status-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.migration-status-card { align-items: center; background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 14px; display: flex; gap: 12px; min-height: 76px; padding: 14px; }
.migration-status-card__icon { align-items: center; background: rgba(var(--bs-primary-rgb), .08); border-radius: 10px; color: var(--bs-primary); display: inline-flex; flex: 0 0 auto; font-size: 17px; height: 38px; justify-content: center; width: 38px; }
.migration-status-card strong,
.migration-status-card small { display: block; }
.migration-status-card strong { font-size: .88rem; }
.migration-status-card small { color: var(--bs-secondary-color); font-size: .76rem; margin-top: 3px; overflow-wrap: anywhere; }
.migration-status-card.is-ready { border-color: rgba(var(--bs-success-rgb), .25); }
.migration-status-card.is-ready .migration-status-card__icon { background: rgba(var(--bs-success-rgb), .1); color: var(--bs-success); }
.migration-status-card.needs-review { border-color: rgba(var(--bs-warning-rgb), .32); }
.migration-status-card.needs-review .migration-status-card__icon { background: rgba(var(--bs-warning-rgb), .12); color: var(--bs-warning-text-emphasis); }
.migration-summary { border-top: 1px solid var(--bs-border-color); display: grid; gap: 15px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; padding-top: 18px; }
.migration-summary span,
.migration-summary strong { display: block; }
.migration-summary span { color: var(--bs-secondary-color); font-size: .72rem; margin-bottom: 3px; }
.migration-summary strong { font-size: .84rem; overflow-wrap: anywhere; }
.migration-route { display: grid; gap: 8px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.migration-route__step { align-items: center; border: 1px solid var(--bs-border-color); border-radius: 13px; display: flex; flex-direction: column; gap: 7px; min-height: 116px; padding: 14px 8px; position: relative; text-align: center; }
.migration-route__step > span { align-items: center; background: var(--bs-primary); border-radius: 50%; color: #fff; display: inline-flex; font-size: .7rem; font-weight: 700; height: 23px; justify-content: center; left: 8px; position: absolute; top: 8px; width: 23px; }
.migration-route__step i { color: var(--bs-primary); font-size: 22px; margin-top: 8px; }
.migration-route__step strong { font-size: .78rem; line-height: 1.3; }
.migration-checklist { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.migration-checklist__item { align-items: flex-start; border: 1px solid var(--bs-border-color); border-radius: 13px; cursor: pointer; display: flex; gap: 11px; min-height: 82px; padding: 14px; }
.migration-checklist__item:hover { border-color: rgba(var(--bs-primary-rgb), .35); }
.migration-checklist__item strong,
.migration-checklist__item small { display: block; }
.migration-checklist__item strong { font-size: .84rem; }
.migration-checklist__item small { color: var(--bs-secondary-color); font-size: .73rem; line-height: 1.35; margin-top: 3px; }
.migration-security-note { align-items: flex-start; background: rgba(var(--bs-success-rgb), .065); border: 1px solid rgba(var(--bs-success-rgb), .22); border-radius: 14px; display: flex; gap: 12px; padding: 16px 18px; }
.migration-security-note > i { color: var(--bs-success); font-size: 20px; margin-top: 2px; }
.migration-security-note strong { display: block; font-size: .88rem; }
.migration-security-note p { color: var(--bs-secondary-color); font-size: .8rem; margin: 3px 0 0; }
.migration-prepare { align-items: center; border: 1px solid rgba(var(--bs-primary-rgb), .22); border-radius: 15px; display: flex; gap: 12px; justify-content: flex-end; padding: 17px 18px; }
.migration-prepare > div { margin-right: auto; }
.migration-prepare strong { display: block; font-size: .92rem; }
.migration-prepare p { color: var(--bs-secondary-color); font-size: .8rem; margin: 3px 0 0; }
.migration-manual-hero { background: linear-gradient(145deg, rgba(var(--bs-warning-rgb), .08), var(--bs-body-bg) 48%); }
.migration-manual-warning { align-items: flex-start; background: rgba(var(--bs-warning-rgb), .1); border: 1px solid rgba(var(--bs-warning-rgb), .22); border-radius: 12px; color: var(--bs-secondary-color); display: flex; font-size: .82rem; gap: 10px; line-height: 1.45; padding: 13px 15px; }
.migration-manual-warning i { color: var(--bs-warning-text-emphasis); font-size: 18px; margin-top: 1px; }
.migration-export-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.migration-export-card { align-items: center; background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 16px; display: grid; gap: 13px; grid-template-columns: auto minmax(0, 1fr) auto; min-height: 126px; padding: 18px; }
.migration-export-card--primary { border-color: rgba(var(--bs-primary-rgb), .36); }
.migration-export-card__icon { align-items: center; background: rgba(var(--bs-primary-rgb), .09); border: 1px solid rgba(var(--bs-primary-rgb), .16); border-radius: 12px; color: var(--bs-primary); display: inline-flex; font-size: 21px; height: 45px; justify-content: center; width: 45px; }
.migration-export-card h5 { font-size: .93rem; margin: 0 0 4px; }
.migration-export-card p { color: var(--bs-secondary-color); font-size: .78rem; line-height: 1.4; margin: 0; }
.migration-manual-guide { counter-reset: migration-step; display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.migration-manual-guide li { align-items: flex-start; border: 1px solid var(--bs-border-color); border-radius: 12px; color: var(--bs-secondary-color); counter-increment: migration-step; display: flex; font-size: .84rem; gap: 11px; line-height: 1.45; padding: 13px 14px; }
.migration-manual-guide li::before { align-items: center; background: rgba(var(--bs-primary-rgb), .1); border-radius: 50%; color: var(--bs-primary); content: counter(migration-step); display: inline-flex; flex: 0 0 auto; font-size: .72rem; font-weight: 700; height: 25px; justify-content: center; width: 25px; }
.migration-manual-security { align-items: flex-start; background: rgba(var(--bs-danger-rgb), .045); border: 1px solid rgba(var(--bs-danger-rgb), .18); border-radius: 14px; display: flex; gap: 12px; padding: 16px 18px; }
.migration-manual-security > i { color: var(--bs-danger); font-size: 19px; margin-top: 2px; }
.migration-manual-security strong { display: block; font-size: .88rem; }
.migration-manual-security p { color: var(--bs-secondary-color); font-size: .8rem; margin: 3px 0 0; }
@media (max-width: 767.98px) {
  .admin-settings-tab { flex: 0 0 auto; justify-content: flex-start; }
  .admin-settings-panel { padding: 20px 16px; }
  .admin-settings-panel-head { flex-wrap: wrap; }
  .migration-status-grid,
  .migration-checklist,
  .migration-export-grid { grid-template-columns: 1fr; }
  .migration-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .migration-route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .migration-prepare { align-items: stretch; flex-direction: column; }
  .migration-prepare > div { margin-right: 0; }
  .migration-export-card { align-items: flex-start; grid-template-columns: auto minmax(0, 1fr); }
  .migration-export-card .btn { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 420px) {
  .migration-summary,
  .migration-route { grid-template-columns: 1fr; }
}
.customer-notice-banner {
  align-items: flex-start;
  background: rgba(var(--bs-primary-rgb), .055);
  border: 1px solid rgba(var(--bs-primary-rgb), .20);
  border-radius: 16px;
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px 18px;
}
.customer-notice-banner__icon { border-radius: 11px; font-size: 18px; height: 40px; width: 40px; }
.customer-notice-banner strong { display: block; font-size: 15px; margin-bottom: 3px; }
.customer-notice-banner p { color: var(--bs-secondary-color); font-size: 14px; margin: 0; }
.auth-layout .customer-notice-banner { margin-bottom: 22px; text-align: left; }

/* Bot guide */
.bot-guide-hero {
  align-items: center;
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .11), rgba(var(--bs-primary-rgb), .025));
  border: 1px solid rgba(var(--bs-primary-rgb), .23);
  border-radius: 20px;
  display: flex;
  gap: 18px;
  padding: 27px;
}
.bot-guide-hero__icon,
.bot-guide-card__icon {
  align-items: center;
  background: rgba(var(--bs-primary-rgb), .11);
  border: 1px solid rgba(var(--bs-primary-rgb), .22);
  border-radius: 14px;
  color: var(--bs-primary);
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}
.bot-guide-hero__icon { font-size: 25px; height: 60px; width: 60px; }
.bot-guide-hero__content { min-width: 0; }
.bot-guide-kicker { color: var(--bs-primary); display: block; font-size: 11px; font-weight: 800; letter-spacing: .11em; margin-bottom: 4px; text-transform: uppercase; }
.bot-guide-hero h4 { margin: 0 0 6px; }
.bot-guide-hero p { color: var(--bs-secondary-color); margin: 0 0 13px; }
.bot-guide-user { align-items: center; color: var(--bs-secondary-color); display: inline-flex; font-size: 13px; gap: 7px; }
.bot-guide-user i { color: var(--bs-primary); }
.bot-guide-user code { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 6px; color: var(--bs-body-color); padding: 2px 6px; }
.bot-guide-card { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 18px; padding: 23px; }
.bot-guide-card__head { align-items: flex-start; display: flex; gap: 13px; margin-bottom: 19px; }
.bot-guide-card__icon { font-size: 20px; height: 45px; width: 45px; }
.bot-guide-card__head h5 { margin: 1px 0 4px; }
.bot-guide-card__head p { color: var(--bs-secondary-color); font-size: 13px; margin: 0; }
.bot-guide-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 17px; }
.bot-guide-actions .btn { align-items: center; display: inline-flex; font-size: 13px; }
.bot-guide-callout { align-items: flex-start; border-radius: 12px; display: flex; font-size: 13px; gap: 10px; margin: 16px 0; padding: 13px; }
.bot-guide-callout > i { color: var(--bs-primary); font-size: 17px; margin-top: 1px; }
.bot-guide-callout strong,
.bot-guide-callout span { display: block; }
.bot-guide-callout span { color: var(--bs-secondary-color); margin-top: 3px; }
.bot-guide-callout--primary { background: rgba(var(--bs-primary-rgb), .07); border: 1px solid rgba(var(--bs-primary-rgb), .16); }
.bot-guide-callout--soft { background: var(--bs-tertiary-bg); border: 1px solid var(--bs-border-color); }
.bot-guide-callout--warning { background: rgba(220, 157, 43, .08); border: 1px solid rgba(220, 157, 43, .24); }
.bot-guide-callout--warning > i { color: #bb7c13; }
.bot-guide-steps { counter-reset: guide-step; list-style: none; margin: 0; padding: 0; }
.bot-guide-steps li { color: var(--bs-secondary-color); counter-increment: guide-step; display: flex; font-size: 13px; gap: 10px; line-height: 1.45; padding: 8px 0; }
.bot-guide-steps li::before { align-items: center; background: rgba(var(--bs-primary-rgb), .09); border-radius: 50%; color: var(--bs-primary); content: counter(guide-step); display: inline-flex; flex: 0 0 auto; font-size: 11px; font-weight: 800; height: 22px; justify-content: center; width: 22px; }
.bot-guide-webhook { align-items: center; background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 18px; display: flex; gap: 15px; padding: 20px 23px; }
.bot-guide-webhook__content { flex: 1; min-width: 180px; }
.bot-guide-webhook__content h5 { margin: 0 0 4px; }
.bot-guide-webhook__content p { color: var(--bs-secondary-color); font-size: 13px; margin: 0; }
.bot-guide-webhook__url { display: flex; flex: 1.35; flex-direction: column; min-width: 250px; }
.bot-guide-webhook__url small { color: var(--bs-secondary-color); font-weight: 700; margin-bottom: 5px; }
.bot-guide-webhook__url code,
.bot-guide-webhook__url span { background: var(--bs-tertiary-bg); border: 1px solid var(--bs-border-color); border-radius: 9px; color: var(--bs-body-color); font-size: 12px; overflow-wrap: anywhere; padding: 9px 11px; }
.bot-guide-modal { border: 1px solid var(--bs-border-color); border-radius: 20px; overflow: hidden; }
.bot-guide-modal .modal-header { align-items: center; border-bottom-color: var(--bs-border-color); padding: 17px 22px; }
.bot-guide-modal .modal-title { font-size: 17px; margin: 1px 0 0; }
.bot-guide-modal-open { align-items: center; display: inline-flex; height: 34px; justify-content: center; padding: 0; width: 34px; }
.bot-guide-modal-frame { border: 0; display: block; height: min(78vh, 800px); width: 100%; }
.bot-online-status { align-items: flex-start; background: rgba(var(--bs-primary-rgb), .07); border: 1px solid rgba(var(--bs-primary-rgb), .18); border-radius: 12px; display: flex; gap: 10px; padding: 12px; }
.bot-online-status > i { color: var(--bs-primary); font-size: 18px; line-height: 1.25; }
.bot-online-status strong, .bot-online-status span { display: block; }
.bot-online-status strong { font-size: 13px; margin-bottom: 2px; }
.bot-online-status span { color: var(--bs-secondary-color); font-size: 12px; line-height: 1.4; }
@media (max-width: 575.98px) {
  .bot-guide-hero { align-items: flex-start; padding: 20px; }
  .bot-guide-hero__icon { font-size: 20px; height: 47px; width: 47px; }
  .bot-guide-card { padding: 18px; }
  .bot-guide-actions .btn { width: 100%; }
  .bot-guide-webhook { align-items: flex-start; flex-wrap: wrap; padding: 18px; }
  .bot-guide-webhook__url { min-width: 100%; }
  .bot-guide-modal-frame { height: calc(100vh - 83px); }
}
.maintenance-banner {
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .10), rgba(var(--bs-primary-rgb), .035));
  border: 1px solid rgba(var(--bs-primary-rgb), .24);
  border-radius: 16px;
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px 18px;
}
.maintenance-banner--block { border-left: 4px solid var(--bs-primary); }
.maintenance-banner__icon { border-radius: 11px; font-size: 18px; height: 40px; width: 40px; }
.maintenance-banner__content { min-width: 0; }
.maintenance-banner__content > strong { display: block; font-size: 15px; margin-bottom: 3px; }
.maintenance-banner__content > p { color: var(--bs-secondary-color); font-size: 14px; margin: 0; }
.maintenance-banner__meta { align-items: center; color: var(--bs-secondary-color); display: flex; flex-wrap: wrap; font-size: 12px; gap: 8px 18px; margin-top: 9px; }
.maintenance-banner__meta i { color: var(--bs-primary); margin-right: 3px; }
.auth-layout .maintenance-banner { margin-bottom: 22px; text-align: left; }
.maintenance-screen {
  align-items: center;
  background: radial-gradient(circle at 50% 12%, rgba(89, 85, 209, .12), transparent 34%), #f7f7fc;
  display: flex;
  justify-content: center;
}
.maintenance-screen__card {
  background: #fff;
  border: 1px solid #e3e4ef;
  border-radius: 24px;
  max-width: 560px;
  padding: 46px;
  text-align: center;
  width: 100%;
}
.maintenance-screen__icon { border-radius: 18px; font-size: 30px; height: 68px; margin-bottom: 18px; width: 68px; }
.maintenance-screen__eyebrow { color: var(--bs-primary); display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; margin-bottom: 8px; }
.maintenance-screen h1 { font-size: clamp(27px, 4vw, 38px); margin-bottom: 12px; }
.maintenance-screen__message { color: #686b80; font-size: 16px; line-height: 1.65; margin: 0 auto 24px; max-width: 450px; }
.maintenance-screen__time { background: #f7f7fc; border: 1px solid #e4e4f1; border-radius: 16px; display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; padding: 17px; }
.maintenance-screen__time span { color: #777a8e; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.maintenance-screen__time strong { color: #151629; font-size: 20px; }
.maintenance-screen__time small { color: #686b80; }
.maintenance-screen__admin { color: #777a8e; font-size: 13px; }
.maintenance-screen__admin i { color: var(--bs-primary); margin-right: 4px; }
@media (max-width: 575.98px) {
  .maintenance-disable-button { margin-left: 0; width: 100%; }
  .maintenance-screen__card { border-radius: 20px; padding: 32px 22px; }
  .maintenance-banner { padding: 14px; }
  .maintenance-banner__icon { display: none; }
}
.admin-dashboard { max-width: 1680px; margin: 0 auto; }
.admin-dashboard-kicker { color: var(--bs-primary); display: block; font-size: 11px; font-weight: 800; letter-spacing: .15em; margin-bottom: 5px; text-transform: uppercase; }
.admin-dashboard-intro h2 { color: var(--bs-heading-color); font-size: clamp(1.45rem, 2vw, 1.9rem); font-weight: 750; }
.admin-dashboard .card { border: 1px solid var(--bs-border-color); border-radius: 18px; box-shadow: 0 4px 20px rgba(24, 34, 75, .025); }
.admin-dashboard .card-header { background: transparent; padding: 21px 22px 12px; }
.admin-dashboard .card-footer { padding: 12px 22px 20px; }
.admin-dashboard .card-title { font-weight: 700; }
.admin-dashboard-metric .card-body { min-height: 170px; padding: 21px 22px 16px; }
.admin-dashboard-metric h6 { color: var(--bs-secondary-color); font-size: .9rem; font-weight: 650; }
.admin-dashboard-metric-icon { align-items: center; background: var(--bs-primary-bg-subtle); border-radius: 12px; color: var(--bs-primary); display: inline-flex; flex: 0 0 42px; font-size: 18px; height: 42px; justify-content: center; }
.admin-dashboard-metric-value { color: var(--bs-heading-color); font-size: clamp(1.55rem, 2.1vw, 2rem); font-weight: 750; line-height: 1.2; overflow-wrap: anywhere; }
.admin-dashboard-metric-footer { border-top: 1px solid var(--bs-border-color); color: var(--bs-secondary-color); font-size: .78rem; }
.admin-dashboard-metric-footer a, .admin-dashboard-link { color: var(--bs-primary); font-weight: 700; text-decoration: none; }
.admin-dashboard-metric-footer a:hover, .admin-dashboard-link:hover { text-decoration: underline; }
.admin-dashboard-chart-card .card-body { padding: 6px 22px 18px; }
.admin-dashboard-feature-value { color: var(--bs-heading-color); font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 750; }
.admin-dashboard-revenue-chart { min-height: 295px; }
.admin-dashboard-plan-chart { max-width: 280px; width: 100%; }
.admin-dashboard-plan-legend { display: flex; gap: 20px; justify-content: center; padding: 0 0 6px; }
.admin-dashboard-plan-legend span { align-items: center; display: inline-flex; gap: 6px; }
.admin-dashboard-plan-legend strong { color: var(--bs-heading-color); }
.admin-dashboard-dot { background: var(--bs-primary); border-radius: 50%; display: inline-block; height: 9px; width: 9px; }
.admin-dashboard-dot.is-pro { background: #9c8df1; }
.admin-dashboard-empty { align-items: center; color: var(--bs-secondary-color); display: flex; flex-direction: column; gap: 12px; min-height: 230px; justify-content: center; text-align: center; }
.admin-dashboard-empty i { color: var(--bs-primary); font-size: 36px; }
.admin-dashboard .admin-dashboard-orders-card { background: linear-gradient(145deg, var(--bs-primary), #3933a9); border: 0; color: #fff; }
.admin-dashboard-orders-card .card-body { padding: 25px; }
.admin-dashboard-orders-card .card-body > .d-flex > i { font-size: 22px; opacity: .7; }
.admin-dashboard-orders-total { display: block; font-size: 3rem; line-height: 1.1; }
.admin-dashboard-order-track { background: rgba(255,255,255,.15); border-radius: 99px; display: flex; height: 10px; margin-bottom: 25px; overflow: hidden; }
.admin-dashboard-order-track span { height: 100%; }
.admin-dashboard-order-track .is-delivered { background: #fff; }
.admin-dashboard-order-track .is-progress { background: rgba(255,255,255,.57); }
.admin-dashboard-order-track .is-other { background: rgba(255,255,255,.27); }
.admin-dashboard-order-row { align-items: center; border-bottom: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; padding: 9px 0; }
.admin-dashboard-order-row:last-child { border-bottom: 0; }
.admin-dashboard-order-row span { color: rgba(255,255,255,.8); }
.admin-dashboard-table-card .table th { color: var(--bs-secondary-color); font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.admin-dashboard-table-card .table td, .admin-dashboard-table-card .table th { padding: 13px 20px; }
.admin-dashboard-table-card .table tbody tr:last-child td { border-bottom: 0; }
.admin-dashboard-price { align-items: center; border-bottom: 1px solid var(--bs-border-color); display: flex; gap: 12px; justify-content: space-between; padding: 13px 0; }
.admin-dashboard-price:first-child { padding-top: 0; }
.admin-dashboard-price:last-child { border-bottom: 0; }
.admin-dashboard-price span, .admin-dashboard-price small { color: var(--bs-secondary-color); }
.admin-dashboard-price strong { color: var(--bs-heading-color); text-align: right; }
.admin-dashboard-price small { font-size: .75rem; font-weight: 400; }
@media (max-width: 575.98px) {
  .admin-dashboard-intro .btn { width: 100%; }
  .admin-dashboard-plan-legend { gap: 14px; }
  .admin-dashboard-table-card .table td, .admin-dashboard-table-card .table th { padding: 11px 13px; }
}
.seller-dashboard-stats { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; }
.seller-dashboard-stat { align-items: center; background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 16px; box-shadow: 0 4px 18px rgba(24, 34, 75, .025); color: inherit; display: flex; gap: 18px; min-height: 112px; min-width: 0; padding: 20px 22px; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.seller-dashboard-stat:hover, .seller-dashboard-stat:focus-visible { border-color: var(--bs-primary); box-shadow: 0 10px 25px rgba(24, 34, 75, .09); color: inherit; transform: translateY(-2px); }
.seller-dashboard-stat__icon { align-items: center; border-radius: 50%; display: inline-flex; flex: 0 0 54px; font-size: 23px; height: 54px; justify-content: center; }
.seller-dashboard-stat--primary .seller-dashboard-stat__icon { background: var(--bs-primary-bg-subtle); color: var(--bs-primary); }
.seller-dashboard-stat--success .seller-dashboard-stat__icon { background: var(--bs-success-bg-subtle); color: var(--bs-success); }
.seller-dashboard-stat--info .seller-dashboard-stat__icon { background: var(--bs-info-bg-subtle); color: var(--bs-info); }
.seller-dashboard-stat--warning .seller-dashboard-stat__icon { background: var(--bs-warning-bg-subtle); color: var(--bs-warning); }
.seller-dashboard-stat--purple .seller-dashboard-stat__icon { background: rgba(142, 80, 219, .1); color: #8e50db; }
.seller-dashboard-stat__content { display: block; min-width: 0; }
.seller-dashboard-stat__label { color: var(--bs-secondary-color); display: block; font-size: .9rem; font-weight: 650; line-height: 1.3; }
.seller-dashboard-stat__value { color: var(--bs-heading-color); display: block; font-size: clamp(1.2rem, 1.5vw, 1.5rem); font-weight: 750; line-height: 1.25; margin-top: 5px; overflow-wrap: anywhere; }
@media (max-width: 1199.98px) { .seller-dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .seller-dashboard-stats { grid-template-columns: 1fr; gap: 12px; } .seller-dashboard-stat { min-height: 96px; padding: 16px 18px; } }
