/* Viewbin — compact UI + palette (Frest horizontal) */

:root {
  --vb-primary: #4f46e5;
  --vb-primary-soft: #eef2ff;
  --vb-success: #059669;
  --vb-warning: #d97706;
  --vb-danger: #dc2626;
  --vb-surface: #ffffff;
  --vb-bg: #f1f5f9;
  --vb-text: #1e293b;
  --vb-muted: #64748b;
  --vb-border: #e2e8f0;
  --vb-font: "Vazirmatn", Tahoma, sans-serif;
  --vb-fs: 0.8125rem;
  --vb-fs-sm: 0.75rem;
  --vb-fs-title: 0.9375rem;
}

html {
  font-size: 14px;
}

body {
  font-family: var(--vb-font);
  font-size: var(--vb-fs);
  color: var(--vb-text);
  background: var(--vb-bg) !important;
}

/* غیرفعال: سفارشی‌سازی قالب Frest/Vuexy */
.customizer,
.template-customizer-open-btn,
#template-customizer {
  display: none !important;
}

.layout-wrapper .container-p-y {
  padding-top: 0.75rem !important;
  padding-bottom: 1rem !important;
}

/* منوی افقی — جمع‌وجور */
.layout-menu-horizontal .menu-inner > .menu-item > .menu-link {
  font-size: var(--vb-fs);
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.layout-menu-horizontal .menu-sub .menu-link {
  font-size: var(--vb-fs-sm);
}

.menu-inner .menu-item > a .bx,
.menu-inner .menu-item > a .tf-icons {
  font-size: 1rem !important;
}

/* نوار بالا */
.layout-navbar {
  min-height: 3.25rem;
  box-shadow: 0 1px 0 var(--vb-border);
  overflow: visible !important;
}

.layout-navbar .container-xxl,
.layout-navbar .navbar-nav-right {
  overflow: visible !important;
}

.layout-navbar .dropdown-menu {
  z-index: 1200;
  pointer-events: auto;
}

.layout-navbar .dropdown-toggle,
.layout-navbar .dropdown-item {
  pointer-events: auto;
}

.vb-header-avatar {
  cursor: pointer;
  display: inline-flex;
  line-height: 0;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  background: #f8fafc;
}

.vb-header-avatar .round {
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.vb-header-user {
  padding: 0 !important;
}

.vb-header-user__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background-color 0.18s ease;
  pointer-events: none; /* clicks bubble to dropdown toggle only */
}

.vb-header-user__chip:hover,
.vb-header-user.show .vb-header-user__chip,
.dropdown.show .vb-header-user__chip {
  background: #f1f5f9;
}

@media (hover: hover) and (min-width: 992px) {
  .navbar-nav > li.dropdown-user:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.vb-header-user__avatar {
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  background: #f8fafc;
  flex-shrink: 0;
}

.vb-header-user__text {
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.2;
  gap: 0.1rem;
}

.vb-header-user__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.vb-header-user__meta {
  font-size: 0.75rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
  direction: ltr;
  text-align: right;
}

/* مودال: باید مستقیم زیر body باشد؛ وگرنه داخل vb-main-content (z-index:0) زیر backdrop می‌رود */
.modal {
  --bs-modal-zindex: 1500;
  z-index: 1500 !important;
  background: transparent !important;
  pointer-events: none;
}

.modal.show {
  display: block !important;
  opacity: 1 !important;
}

.modal-backdrop {
  --bs-backdrop-zindex: 1490;
  z-index: 1490 !important;
}

.modal-backdrop.show {
  opacity: 0.4 !important;
}

body.modal-open .layout-overlay,
body.modal-open .content-backdrop,
body.modal-open .content-backdrop.show {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.modal-dialog {
  margin: 1.5rem auto;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.modal-content {
  pointer-events: auto;
  background-color: #fff !important;
  color: var(--vb-text, #1e293b) !important;
  opacity: 1 !important;
  box-shadow: 0 0.5rem 1.75rem rgba(15, 23, 42, 0.25);
}

@media (min-width: 576px) {
  .layout-horizontal .modal-dialog.modal-dialog-centered {
    min-height: calc(100% - 5rem);
  }
}

.select2-container {
  z-index: 1510 !important;
}

.vb-pages-form-card .card-body {
  overflow: visible;
}

.vb-pages-form-card .select2-container {
  width: 100% !important;
  max-width: 100%;
}

.vb-pages-form-card .select2-selection--multiple {
  min-height: 2.375rem;
}

.vb-pages-form-card .select2-dropdown {
  max-width: 100%;
  box-sizing: border-box;
}

.vb-pages-form-card .select2-results__option {
  white-space: normal;
  word-break: break-word;
}

.app-brand-text {
  font-size: var(--vb-fs-title) !important;
}

/* کارت‌ها */
.card {
  border: 1px solid var(--vb-border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  margin-bottom: 0.75rem;
}

.card-header {
  padding: 0.5rem 0.85rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--vb-border);
}

.card-header .card-title {
  font-size: var(--vb-fs-title);
  font-weight: 600;
  margin: 0;
}

.card-body {
  padding: 0.65rem 0.85rem;
}

.card .h3, .card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.btn {
  font-size: var(--vb-fs-sm);
  padding: 0.35rem 0.65rem;
}

.btn-sm {
  font-size: var(--vb-fs-sm);
  padding: 0.25rem 0.5rem;
}

.text-primary { color: var(--vb-primary) !important; }
.btn-primary {
  background: var(--vb-primary);
  border-color: var(--vb-primary);
}
.btn-primary:hover {
  background: #4338ca;
  border-color: #4338ca;
}

.table {
  font-size: var(--vb-fs-sm);
}

.table th,
.table td {
  padding: 0.4rem 0.5rem;
}

.form-control,
.form-select {
  font-size: var(--vb-fs);
  padding: 0.35rem 0.55rem;
}

h1, .h1 { font-size: 1.35rem; }
h2, .h2 { font-size: 1.2rem; }
h3, .h3 { font-size: 1.05rem; }
h4, .h4 { font-size: var(--vb-fs-title); }
h5, .h5 { font-size: var(--vb-fs); }

/* پیشخوان فشرده */
.vb-dashboard .row {
  --bs-gutter-x: 0.65rem;
  --bs-gutter-y: 0.65rem;
}

.vb-dashboard .vb-stat {
  padding: 0.55rem 0.75rem;
}

.vb-dashboard .vb-stat-label {
  font-size: var(--vb-fs-sm);
  color: var(--vb-muted);
  margin-bottom: 0.15rem;
}

.vb-dashboard .vb-stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.vb-dashboard .vb-stat-value.text-primary { color: var(--vb-primary) !important; }
.vb-dashboard .vb-stat-value.text-success { color: var(--vb-success) !important; }
.vb-dashboard .vb-stat-value.text-warning { color: var(--vb-warning) !important; }
.vb-dashboard .vb-stat-value.text-danger { color: var(--vb-danger) !important; }

.vb-dashboard .vb-mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: var(--vb-fs-sm);
  margin-bottom: 0.35rem;
}

.vb-dashboard .card-chart .card-body {
  padding: 0.5rem 0.65rem 0.35rem;
}

/* ——— پیشخوان کاربر / ادمین (سبک کارت‌محور) ——— */
.vb-dashboard .card {
  border: 1px solid var(--vb-border);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.vb-dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
  margin-bottom: 0.85rem;
}

.vb-dash-actions .btn {
  border-radius: 10px;
  font-size: var(--vb-fs);
  font-weight: 600;
  padding: 0.45rem 0.9rem;
}

.vb-dash-actions .btn-outline-secondary {
  border-color: var(--vb-border);
  color: var(--vb-text);
  background: var(--vb-surface);
}

.vb-dash-actions .btn-primary {
  background: var(--vb-primary);
  border-color: var(--vb-primary);
}

.vb-dash-actions .vb-dash-cta-campaign {
  padding: 0.55rem 1.15rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.vb-dash-actions .vb-dash-cta-campaign:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.vb-stat-card .card-body {
  padding: 0.85rem 1rem;
}

.vb-stat-card-label {
  font-size: var(--vb-fs-sm);
  color: var(--vb-muted);
  margin-bottom: 0.2rem;
}

.vb-stat-card-value {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--vb-text);
}

.vb-stat-card-detail {
  font-size: var(--vb-fs-sm);
  margin-top: 0.25rem;
}

.vb-stat-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.vb-stat-sparkline {
  min-height: 36px;
  margin-top: auto;
}

.vb-wallet-panel .card-header h6,
.vb-dashboard .vb-card-title {
  font-size: var(--vb-fs-title);
  font-weight: 700;
}

.vb-wallet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--vb-border);
  font-size: var(--vb-fs-sm);
}

.vb-wallet-row:last-of-type {
  border-bottom: none;
}

.vb-wallet-row-label {
  color: var(--vb-muted);
}

.vb-wallet-row-value {
  color: var(--vb-text);
  font-size: var(--vb-fs);
}

.vb-invite-panel {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #6366f1 100%);
  border: none;
  color: #fff;
}

.vb-invite-url-wrap {
  display: flex;
  gap: 0.35rem;
  align-items: stretch;
}

.vb-invite-url {
  font-size: var(--vb-fs-sm);
  border: none;
  background: rgba(255, 255, 255, 0.95);
  direction: ltr;
  text-align: left;
}

.vb-invite-stat-value {
  font-weight: 700;
  font-size: 1rem;
}

.vb-invite-stat-label {
  font-size: 0.65rem;
  opacity: 0.9;
}

.vb-chart-card .vb-chart-tabs .btn {
  font-size: var(--vb-fs-sm);
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
}

.vb-chart-card .vb-chart-tabs .btn.active {
  background: var(--vb-primary-soft);
  color: var(--vb-primary);
  border-color: transparent;
}

.vb-status-pill {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.vb-status-pill--success {
  background: rgba(5, 150, 105, 0.12);
  color: var(--vb-success);
}

.vb-status-pill--warning {
  background: rgba(217, 119, 6, 0.12);
  color: var(--vb-warning);
}

.vb-status-pill--danger {
  background: rgba(220, 38, 38, 0.12);
  color: var(--vb-danger);
}

.vb-status-pill--muted {
  background: #f1f5f9;
  color: var(--vb-muted);
}

.vb-activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.vb-activity-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.vb-activity-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.vb-activity-icon--success {
  background: rgba(5, 150, 105, 0.12);
  color: var(--vb-success);
}

.vb-activity-icon--warning {
  background: rgba(217, 119, 6, 0.12);
  color: var(--vb-warning);
}

.vb-activity-icon--danger {
  background: rgba(220, 38, 38, 0.12);
  color: var(--vb-danger);
}

.vb-activity-icon--info {
  background: var(--vb-primary-soft);
  color: var(--vb-primary);
}

.vb-activity-icon--user {
  background: rgba(14, 165, 233, 0.12);
  color: #0ea5e9;
}

.vb-activity-text {
  font-size: var(--vb-fs-sm);
  line-height: 1.4;
}

.vb-activity-time {
  font-size: 0.7rem;
}

.vb-promo-card {
  background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 100%);
}

.vb-promo-card .vb-promo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--vb-primary-soft);
  color: var(--vb-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.vb-admin-highlight {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  border: none;
  color: #f8fafc;
}

.vb-admin-highlight .vb-invite-stat-label {
  opacity: 0.75;
}

.vb-table-compact th,
.vb-table-compact td {
  font-size: var(--vb-fs-sm);
  vertical-align: middle;
}

.vb-ops-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.35rem;
  border-radius: 10px;
  border: 1px solid var(--vb-border);
  text-decoration: none;
  color: var(--vb-text);
  font-size: var(--vb-fs-sm);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.vb-ops-link:hover {
  background: var(--vb-primary-soft);
  border-color: rgba(79, 70, 229, 0.25);
  color: var(--vb-text);
}

.vb-ops-link--alert {
  border-color: rgba(217, 119, 6, 0.35);
  background: rgba(217, 119, 6, 0.06);
}

.vb-ops-link-badge {
  min-width: 1.75rem;
  text-align: center;
  font-weight: 700;
  font-size: var(--vb-fs-sm);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
}

.vb-ops-link--alert .vb-ops-link-badge {
  background: var(--vb-warning);
  border-color: var(--vb-warning);
  color: #fff;
}

.vb-quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.vb-quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 0.4rem;
  border-radius: 10px;
  border: 1px solid var(--vb-border);
  text-decoration: none;
  color: var(--vb-text);
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.3;
  min-height: 4.25rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.vb-quick-link:hover {
  background: var(--vb-primary-soft);
  color: var(--vb-primary);
  border-color: rgba(79, 70, 229, 0.25);
}

.vb-quick-link .bx {
  font-size: 1.35rem;
  color: var(--vb-primary);
}

.vb-dash-section-title {
  font-size: var(--vb-fs-title);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.vb-queue-tabs .nav-link {
  font-size: var(--vb-fs-sm);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  color: var(--vb-muted);
}

.vb-queue-tabs .nav-link.active {
  background: var(--vb-primary-soft);
  color: var(--vb-primary);
  font-weight: 600;
}

.menu-livicon {
  display: none;
}

.menu-inner a:not(.app-brand-link):not(.layout-menu-toggle) {
  display: flex;
  align-items: center;
}

.app-content.content {
  padding: 0;
  margin: 0;
  width: 100%;
}

.container-p-y > .content-wrapper {
  padding: 0;
  max-width: 100%;
}

.container-p-y > .content-wrapper > .content-body {
  padding: 0;
}

.content-wrapper .content-header:empty {
  display: none;
}

.mr-1 { margin-left: 0.25rem !important; }
.mr-2 { margin-left: 0.5rem !important; }
.ml-1 { margin-right: 0.25rem !important; }
.ml-50 { margin-right: 0.5rem !important; }
.pr-0 { padding-left: 0 !important; }
.pl-0 { padding-right: 0 !important; }
.float-left { float: left !important; }
.float-right { float: right !important; }
.text-bold-400 { font-weight: 400 !important; }
.text-bold-700 { font-weight: 700 !important; }
.font-small-3 { font-size: var(--vb-fs-sm) !important; }
.font-medium-4 { font-size: 1rem !important; }

.badge-up {
  position: absolute;
  top: 0;
  right: 0;
}

/* ——— اعلان‌های هدر: badge + ping ——— */
.vb-notif-bell {
  position: relative;
}

.vb-notif-bell__wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
}

.vb-notif-ping {
  position: absolute;
  top: -0.15rem;
  inset-inline-end: -0.15rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: #f87171;
  opacity: 0.75;
  animation: vb-notif-ping 1.25s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.vb-notif-badge {
  position: absolute;
  top: -0.35rem;
  inset-inline-end: -0.4rem;
  z-index: 1;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
}

@keyframes vb-notif-ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.vb-notif-dropdown {
  min-width: 20rem;
  max-width: 22rem;
  border: 1px solid var(--vb-border, #e2e8f0);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.vb-notif-dropdown .dropdown-menu-header {
  background: transparent;
  padding: 0;
}

.vb-notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #fff;
}

.vb-notif-header__title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 800;
}

.vb-notif-header__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.25rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.7rem;
  font-weight: 800;
}

.vb-notif-header__mark {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.vb-notif-header__mark:hover {
  text-decoration: underline;
  color: #fff !important;
}

.vb-notif-list {
  max-height: 22rem;
  overflow-y: auto;
  background: #fff;
}

.vb-notif-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 1rem 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  text-decoration: none !important;
  color: var(--vb-text, #1e293b);
  transition: background 0.15s ease;
}

.vb-notif-item.is-unread {
  background: rgba(239, 246, 255, 0.55);
}

.vb-notif-item:hover {
  background: #f8fafc;
}

.vb-notif-item.is-unread:hover {
  background: rgba(219, 234, 254, 0.65);
}

.vb-notif-item__dot {
  position: absolute;
  top: 1.05rem;
  inset-inline-start: 0.35rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #3b82f6;
  flex-shrink: 0;
}

.vb-notif-item__avatar {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
  background: var(--vb-primary-soft, #eef2ff);
  color: var(--vb-primary, #4f46e5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-inline-start: 0.35rem;
}

.vb-notif-item__body {
  flex: 1;
  min-width: 0;
}

.vb-notif-item__msg {
  display: block;
  font-size: var(--vb-fs, 0.8125rem);
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.15rem;
}

.vb-notif-item__time {
  color: var(--vb-muted, #64748b);
  font-size: 0.7rem;
}

.vb-notif-item__dismiss {
  border: 0;
  background: transparent;
  color: #94a3b8;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.vb-notif-item__dismiss:hover {
  background: #fee2e2;
  color: #b91c1c;
}

.vb-notif-empty {
  padding: 1.75rem 1.25rem;
  text-align: center;
  color: var(--vb-muted, #64748b);
}

.vb-notif-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 1.35rem;
}

.vb-notif-empty p {
  margin: 0;
  font-size: var(--vb-fs-sm, 0.75rem);
  font-weight: 600;
}

.content-footer.footer {
  font-size: var(--vb-fs-sm);
  padding: 0.5rem 0;
}

.vb-perm-group {
  background: #f8fafc;
}

.vb-perm-group label span {
  font-size: var(--vb-fs-sm);
  line-height: 1.35;
}

/*
 * زیرمنوی افقی: داخل #layout-menu قیچی نشود (fixed + overflow:hidden + h-100)
 */
.layout-wrapper.layout-horizontal .content-wrapper {
  overflow: visible !important;
}

.layout-wrapper.layout-horizontal .vb-layout-menu,
.layout-wrapper.layout-horizontal .vb-layout-menu .vb-menu-bar,
.layout-wrapper.layout-horizontal .vb-layout-menu .menu,
.layout-wrapper.layout-horizontal .vb-layout-menu .menu-horizontal-wrapper,
.layout-wrapper.layout-horizontal .vb-layout-menu .menu-inner {
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}

.layout-wrapper.layout-horizontal .menu-horizontal .menu-inner {
  overflow: visible !important;
}

.layout-wrapper.layout-horizontal .menu-horizontal .menu-inner > .menu-item {
  position: relative;
}

.layout-wrapper.layout-horizontal .menu-horizontal .menu-sub {
  z-index: 1111;
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.layout-wrapper.layout-horizontal .vb-main-content {
  position: relative;
  z-index: 0;
}

.layout-wrapper.layout-horizontal .container-p-y,
.layout-wrapper.layout-horizontal .vb-dashboard {
  overflow: visible !important;
}

@media (min-width: 1200px) {
  /* منوی افقی در جریان صفحه — زیرمنو بیرون از باکس منو دیده شود */
  .layout-menu-fixed.layout-horizontal .layout-page .menu-horizontal,
  .layout-menu-fixed.layout-horizontal .layout-page #layout-menu.menu-horizontal {
    position: relative !important;
    top: auto !important;
    inset-inline: auto !important;
    width: 100% !important;
    z-index: 1110 !important;
    overflow: visible !important;
  }

  .layout-menu-fixed.layout-horizontal .layout-page .menu-horizontal + .container-p-y,
  .layout-menu-fixed.layout-horizontal .layout-page .menu-horizontal + [class*="container-"] {
    padding-top: 0.75rem !important;
  }
}

/* صفحات داخلی (ساختار قدیمی Vuexy داخل @section content) */
.container-p-y > .content-wrapper {
  display: block;
  flex: none;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  padding: 0 !important;
  margin: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible !important;
}

.container-p-y .content-body {
  padding: 0;
  width: 100%;
}

.container-p-y .content-header:empty,
.container-p-y .content-header.row:empty {
  display: none !important;
  margin: 0;
  padding: 0;
  min-height: 0;
}

.container-p-y .content-overlay,
.container-p-y .app-content-overlay {
  display: none !important;
}

.container-p-y .card .card-content {
  padding: 0;
}

.container-p-y .card-content > .card-body {
  padding: 0.65rem 0.85rem;
}

.container-p-y .invoice-view-wrapper,
.container-p-y .invoice-print-area {
  width: 100%;
}

.container-p-y .table-responsive {
  margin-bottom: 0.5rem;
}

.container-p-y .breadcrumb-wrapper,
.container-p-y .content-header-title {
  font-size: var(--vb-fs-title);
  font-weight: 600;
}

.container-p-y .search-bar {
  margin-bottom: 0.65rem;
}

.container-p-y .nav-tabs .nav-link {
  font-size: var(--vb-fs-sm);
  padding: 0.4rem 0.65rem;
}

.container-p-y .badge {
  font-size: 0.7rem;
}

.container-p-y .pagination {
  font-size: var(--vb-fs-sm);
  margin-bottom: 0;
}

/* ——— تب‌ها و جداول (سراسری پنل‌ها) ——— */
.vb-main-content .nav-tabs,
.container-p-y .nav-tabs,
.content-body .nav-tabs,
.content-wrapper .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  padding: 0.35rem 0.5rem 0;
  margin-bottom: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--vb-border);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
}

.vb-main-content .nav-tabs .nav-item,
.container-p-y .nav-tabs .nav-item,
.content-body .nav-tabs .nav-item,
.content-wrapper .nav-tabs .nav-item {
  margin-bottom: 0;
}

.vb-main-content .nav-tabs .nav-link,
.container-p-y .nav-tabs .nav-link,
.content-body .nav-tabs .nav-link,
.content-wrapper .nav-tabs .nav-link {
  border: none !important;
  border-radius: 10px 10px 0 0;
  color: var(--vb-muted);
  font-weight: 600;
  font-size: var(--vb-fs-sm);
  padding: 0.5rem 0.85rem;
  margin-bottom: -1px;
  background: transparent;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.vb-main-content .nav-tabs .nav-link:hover,
.container-p-y .nav-tabs .nav-link:hover,
.content-body .nav-tabs .nav-link:hover,
.content-wrapper .nav-tabs .nav-link:hover {
  color: var(--vb-primary);
  background: rgba(255, 255, 255, 0.65);
}

.vb-main-content .nav-tabs .nav-link.active,
.container-p-y .nav-tabs .nav-link.active,
.content-body .nav-tabs .nav-link.active,
.content-wrapper .nav-tabs .nav-link.active {
  color: var(--vb-primary);
  background: var(--vb-surface);
  box-shadow: inset 0 3px 0 var(--vb-primary);
  font-weight: 700;
}

.card-body > .nav-tabs,
.card-content > .card-body > .nav-tabs {
  margin: -0.65rem -0.85rem 0;
  width: calc(100% + 1.7rem);
  max-width: none;
}

.card-body > .nav-tabs + .tab-content,
.card-content .card-body > .nav-tabs + .tab-content {
  margin-left: -0.85rem;
  margin-right: -0.85rem;
  width: calc(100% + 1.7rem);
  padding-top: 0 !important;
  border: 1px solid var(--vb-border);
  border-top: none;
  border-radius: 0 0 14px 14px;
  background: var(--vb-surface);
}

.tab-content > .tab-pane {
  padding: 0;
}

.vb-main-content .table-responsive,
.container-p-y .table-responsive,
.content-body .table-responsive,
.content-wrapper .table-responsive,
.invoice-product-details.table-responsive {
  border: 1px solid var(--vb-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--vb-surface);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.card-body .nav-tabs + .tab-content .table-responsive,
.card-body .nav-tabs + .tab-content .invoice-product-details {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.vb-main-content .table,
.container-p-y .table,
.content-body .table,
.content-wrapper .table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.vb-main-content .table thead th,
.container-p-y .table thead th,
.content-body .table thead th,
.content-wrapper .table thead th {
  background: #f8fafc;
  color: var(--vb-muted);
  font-weight: 700;
  font-size: var(--vb-fs-sm);
  border-bottom: 2px solid var(--vb-border) !important;
  border-top: none !important;
  padding: 0.65rem 0.75rem !important;
  vertical-align: middle;
  white-space: nowrap;
}

.vb-main-content .table tbody td,
.container-p-y .table tbody td,
.content-body .table tbody td,
.content-wrapper .table tbody td {
  padding: 0.6rem 0.75rem !important;
  border-top: none !important;
  border-bottom: 1px solid var(--vb-border) !important;
  vertical-align: middle;
  color: var(--vb-text);
}

.vb-main-content .table tbody tr:last-child td,
.container-p-y .table tbody tr:last-child td,
.content-body .table tbody tr:last-child td,
.content-wrapper .table tbody tr:last-child td {
  border-bottom: none !important;
}

.vb-main-content .table-hover tbody tr:hover,
.container-p-y .table-hover tbody tr:hover,
.content-body .table-hover tbody tr:hover,
.content-wrapper .table-hover tbody tr:hover,
.vb-main-content .table tbody tr:hover,
.container-p-y .table tbody tr:hover {
  background: rgba(238, 242, 255, 0.65);
}

.vb-main-content .table-striped > tbody > tr:nth-of-type(odd) > *,
.container-p-y .table-striped > tbody > tr:nth-of-type(odd) > *,
.content-body .table-striped > tbody > tr:nth-of-type(odd) > *,
.content-wrapper .table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: rgba(248, 250, 252, 0.9);
  background-color: rgba(248, 250, 252, 0.9);
}

.vb-main-content .table .border-0,
.content-body .table thead tr.border-0 th {
  border: none !important;
}

.vb-main-content .table a,
.container-p-y .table a,
.content-body .table a {
  font-weight: 600;
  text-decoration: none;
}

.vb-main-content .table a:hover,
.container-p-y .table a:hover {
  text-decoration: underline;
}

/* جستجو بالای جدول */
.search-input.form-group,
fieldset.search-input {
  display: flex !important;
  gap: 0.5rem;
  align-items: stretch;
  margin-bottom: 0.75rem !important;
  padding: 0.5rem;
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.search-input .form-control {
  border-radius: 10px !important;
  border: 1px solid var(--vb-border);
  box-shadow: none !important;
}

.search-input .search-btn,
.search-input .btn-primary {
  border-radius: 10px !important;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
  white-space: nowrap;
}

/* کارت لیست‌ها */
.content-body .card.invoice-print-area,
.content-body .invoice-view-wrapper .card {
  border-radius: 14px;
  overflow: hidden;
}

.content-body .card .text-primary.h4,
.content-body h4.text-primary {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0.65rem 0.85rem 0.5rem;
  color: var(--vb-text) !important;
}

.vb-users-table th,
.vb-users-table td,
.vb-table-compact th,
.vb-table-compact td {
  font-size: var(--vb-fs-sm);
}

.vb-queue-tabs.nav-tabs {
  border-radius: 12px;
  border-bottom: 1px solid var(--vb-border);
  padding: 0.25rem;
}

.vb-queue-tabs .nav-link.active {
  box-shadow: none;
  background: var(--vb-primary-soft);
}

/* ——— کیف پول کاربر ——— */
.vb-wallet-page {
  max-width: 1200px;
  margin-inline: auto;
}

.vb-wallet-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 45%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.28);
}

.vb-wallet-hero__label {
  font-size: var(--vb-fs-sm);
  opacity: 0.92;
}

.vb-wallet-hero__amount {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin: 0.15rem 0 0.35rem;
  line-height: 1.2;
}

.vb-wallet-hero__amount span {
  font-size: 0.55em;
  font-weight: 600;
  opacity: 0.9;
}

.vb-wallet-hero__hint {
  margin: 0;
  font-size: var(--vb-fs-sm);
  opacity: 0.88;
}

.vb-wallet-hero__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.vb-wallet-card {
  border: 1px solid var(--vb-border);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.vb-wallet-segments {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
  padding: 0.35rem;
  background: #f8fafc;
  border: 1px solid var(--vb-border);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.vb-wallet-segment {
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 0.55rem 0.35rem;
  font-size: var(--vb-fs-sm);
  font-weight: 600;
  color: var(--vb-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.vb-wallet-segment i {
  font-size: 1.15rem;
}

.vb-wallet-segment.is-active {
  background: var(--vb-surface);
  color: var(--vb-primary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.vb-wallet-panel__lead {
  font-size: var(--vb-fs-sm);
  color: var(--vb-muted);
  margin-bottom: 0.75rem;
}

.vb-wallet-rules-list {
  margin: 0;
  padding-right: 1.1rem;
  font-size: var(--vb-fs-sm);
  color: var(--vb-text);
}

.vb-wallet-rules-list li {
  margin-bottom: 0.45rem;
}

.vb-wallet-guide {
  margin-top: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.96)),
    radial-gradient(circle at top right, rgba(79, 70, 229, 0.08), transparent 55%);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.vb-wallet-guide__details {
  margin: 0;
}

.vb-wallet-guide__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 0.9rem;
  font-size: var(--vb-fs-sm);
  font-weight: 800;
  color: var(--vb-text);
  user-select: none;
}

.vb-wallet-guide__summary::-webkit-details-marker {
  display: none;
}

.vb-wallet-guide__summary > i:first-child {
  color: var(--vb-primary);
  font-size: 1.1rem;
}

.vb-wallet-guide__chev {
  margin-inline-start: auto;
  color: var(--vb-muted);
  transition: transform 0.2s ease;
}

.vb-wallet-guide__details[open] .vb-wallet-guide__chev {
  transform: rotate(180deg);
}

.vb-wallet-guide__body {
  padding: 0 0.9rem 0.9rem;
}

.vb-wallet-guide__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.vb-wallet-guide__list li {
  position: relative;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--vb-muted);
}

.vb-wallet-guide__list strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--vb-text);
  font-size: 0.75rem;
}

.vb-wallet-form-title {
  font-size: var(--vb-fs-title);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.vb-wallet-form-desc {
  font-size: var(--vb-fs-sm);
  color: var(--vb-muted);
  margin-bottom: 1rem;
}

.vb-wallet-notice {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: var(--vb-primary-soft);
  border: 1px solid #c7d2fe;
  font-size: var(--vb-fs-sm);
}

.vb-wallet-notice p:last-child {
  margin-bottom: 0;
}

.vb-wallet-form .form-label {
  font-weight: 600;
  font-size: var(--vb-fs-sm);
}

.vb-wallet-form .form-control,
.vb-wallet-form .form-select {
  border-radius: 10px;
}

.vb-wallet-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.vb-wallet-badge--success {
  background: #d1fae5;
  color: #047857;
}

.vb-wallet-badge--warning {
  background: #fef3c7;
  color: #b45309;
}

.vb-wallet-badge--danger {
  background: #fee2e2;
  color: #b91c1c;
}

.vb-finance-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.vb-finance-subnav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  font-size: var(--vb-fs-sm);
  font-weight: 600;
  color: var(--vb-muted);
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.vb-finance-subnav__link:hover {
  color: var(--vb-primary);
  border-color: #c7d2fe;
}

.vb-finance-subnav__link.is-active {
  color: var(--vb-primary);
  background: var(--vb-primary-soft);
  border-color: #a5b4fc;
}

.vb-wallet-hero--neutral {
  background: linear-gradient(135deg, #475569 0%, #64748b 50%, #334155 100%);
  box-shadow: 0 12px 32px rgba(51, 65, 85, 0.22);
}

.vb-wallet-hero--income {
  background: linear-gradient(135deg, #047857 0%, #059669 45%, #10b981 100%);
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.28);
}

.vb-wallet-hero__amount--sm {
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 700;
}

.vb-finance-stat {
  border: 1px solid var(--vb-border);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.vb-finance-stat__label {
  font-size: var(--vb-fs-sm);
  color: var(--vb-muted);
}

.vb-finance-stat__value {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0.2rem 0 0;
  line-height: 1.25;
}

.vb-finance-stat__value small {
  font-size: 0.65em;
  font-weight: 600;
  color: var(--vb-muted);
}

.vb-finance-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.vb-finance-tabs__badge {
  display: inline-block;
  min-width: 1.25rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  background: #fef3c7;
  color: #b45309;
}

.vb-finance-page .card-body > .nav-tabs + .tab-content {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  border: none;
  border-radius: 0;
}

.vb-finance-page .vb-finance-tabs {
  border-radius: 0;
  border-left: none;
  border-right: none;
}

/* ——— تنظیمات ادمین ——— */
.vb-settings-page {
  max-width: 1200px;
  margin-inline: auto;
}

.vb-settings-nav-card {
  position: sticky;
  top: 0.75rem;
}

.vb-settings-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.vb-settings-nav__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font-size: var(--vb-fs-sm);
  font-weight: 600;
  color: var(--vb-muted);
  text-align: right;
  transition: background 0.15s ease, color 0.15s ease;
}

.vb-settings-nav__link i {
  font-size: 1.1rem;
  opacity: 0.85;
}

.vb-settings-nav__link:hover {
  background: #f8fafc;
  color: var(--vb-text);
}

.vb-settings-nav__link.active {
  background: var(--vb-primary-soft);
  color: var(--vb-primary);
}

.vb-settings-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.vb-settings-preview {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-top: 0.5rem;
  border-radius: 10px;
  border: 1px solid var(--vb-border);
  background: #f8fafc;
  padding: 0.25rem;
}

.vb-settings-page .form-group {
  margin-bottom: 1rem;
}

.vb-settings-page .form-label,
.vb-settings-page label {
  font-weight: 600;
  font-size: var(--vb-fs-sm);
  margin-bottom: 0.35rem;
}

.vb-settings-savebar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.vb-settings-nav-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--vb-muted);
}

.vb-settings-form-card {
  min-height: 420px;
}

.vb-settings-tab-content > .tab-pane {
  animation: vbSettingsFade 0.2s ease;
}

@keyframes vbSettingsFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.vb-settings-section-head {
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--vb-border);
}

.vb-settings-section-desc {
  margin: 0.35rem 0 0;
  font-size: var(--vb-fs-sm);
  color: var(--vb-muted);
  line-height: 1.55;
}

.vb-settings-grid {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
}

.vb-settings-grid > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.vb-settings-grid .form-label {
  margin-bottom: 0.4rem;
}

.vb-settings-grid .form-control,
.vb-settings-grid .form-select {
  border-radius: 10px;
  border-color: var(--vb-border);
  min-height: 2.35rem;
}

.vb-settings-grid .form-text {
  margin-top: 0.35rem;
  font-size: var(--vb-fs-sm);
}

.vb-settings-switch {
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid var(--vb-border);
  border-radius: 12px;
}

.vb-settings-switch .form-check-label {
  font-weight: 600;
  font-size: var(--vb-fs-sm);
}

.vb-settings-panel {
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border: 1px solid var(--vb-border);
  border-radius: 14px;
}

.vb-settings-panel__title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: var(--vb-fs);
  margin-bottom: 1rem;
  color: var(--vb-text);
}

.vb-settings-page .float-left,
.vb-settings-page .float-right {
  float: none !important;
}

.vb-settings-page .controls {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

@media (max-width: 991.98px) {
  .vb-settings-nav-card {
    position: static;
  }

  .vb-settings-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .vb-settings-nav__link {
    width: auto;
    flex: 1 1 calc(50% - 0.25rem);
    justify-content: center;
  }

  .vb-settings-nav__link span {
    font-size: 0.7rem;
  }
}

.vb-wallet-table thead th {
  background: #f8fafc !important;
}

@media (max-width: 991.98px) {
  .vb-wallet-hero__icon {
    display: none;
  }
}

/* Instagram page avatars (pages table + selectors) */
.vb-ig-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  padding: 2px;
  box-sizing: border-box;
}

.vb-ig-avatar__img {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  z-index: 1;
}

.vb-ig-avatar__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
}

.vb-ig-avatar__letter {
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
  color: #475569;
  text-transform: uppercase;
}

.vb-ig-avatar__camera {
  display: block;
}

.vb-page-cell {
  min-width: 0;
}

.vb-page-cell__meta {
  min-width: 0;
}

.vb-page-id {
  font-weight: 700;
  color: #0f172a;
  direction: ltr;
  text-align: right;
}

