:root {
  --primary-orange: #ff6b00;
  --primary-orange-hover: #e05a00;
  --primary-orange-light: rgba(255, 107, 0, 0.1);
  --primary-orange-glow: rgba(255, 107, 0, 0.25);

  --primary-blue: #0f172a;
  --sidebar-blue: #0f172a;
  --sidebar-blue-light: #1e293b;
  --accent-blue: #002aff;
  --accent-blue-hover: #001fd1;
  --accent-blue-light: rgba(0, 42, 255, 0.08);

  --bg-main: #f8fafc;
  --surface-card: #ffffff;
  --border-subtle: #e2e8f0;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --success: #10b981;
  --success-light: rgba(16, 185, 129, 0.1);
  --warning: #f59e0b;
  --warning-light: rgba(245, 158, 11, 0.1);
  --danger: #ef4444;
  --danger-light: rgba(239, 68, 68, 0.1);

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    "Montserrat",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: flex;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
}

.review-product-link {
  display: block;
  margin: 3px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-blue);
  font: inherit;
  font-size: 9px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.sidebar {
  width: 260px;
  background-color: var(--sidebar-blue);
  color: var(--text-white);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  z-index: 100;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-badge {
  background: linear-gradient(135deg, var(--primary-orange), #ff8533);
  color: white;
  font-weight: 800;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px var(--primary-orange-glow);
}

.brand-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.3px;
}

.brand-caption {
  font-size: 9px;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-top: 2px;
}
.nav-section-label {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 0 16px;
  margin: 8px 0 6px;
}
.nav-section-label-spaced {
  margin-top: 22px;
}
.menu-counter {
  margin-left: auto;
  min-width: 23px;
  padding: 2px 6px;
  border-radius: 20px;
  text-align: center;
  background: var(--primary-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
  color: #94a3b8;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-scrollable {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}
.nav-toggle,
.mobile-menu-button,
.mobile-nav-close {
  display: none;
}

.flex-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}

.nav-item .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  position: relative;
}

.nav-item .nav-link i,
.nav-item .nav-link span.bi {
  font-size: 18px;
  color: var(--text-light);
  transition: color 0.2s ease;
}

.nav-item .nav-link:hover {
  color: var(--text-white);
  background-color: var(--sidebar-blue-light);
}

.nav-item .nav-link:hover i,
.nav-item .nav-link:hover span.bi {
  color: var(--primary-orange);
}

.nav-item .nav-link.active {
  color: var(--text-white);
  background: linear-gradient(
    90deg,
    rgba(255, 107, 0, 0.15),
    rgba(255, 107, 0, 0.02)
  );
  font-weight: 600;
  border-left: 3px solid var(--primary-orange);
}

.nav-item .nav-link.active i,
.nav-item .nav-link.active span.bi {
  color: var(--primary-orange);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.top-header {
  height: 72px;
  background-color: var(--surface-card);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  box-shadow: var(--shadow-sm);
}

.search-box {
  position: relative;
  width: 320px;
}

.search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-main);
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.search-box input:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px var(--primary-orange-light);
  background-color: #fff;
}

.search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.header-icon-button {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
}
.header-icon-button span {
  position: absolute;
  top: 7px;
  right: 6px;
  width: 7px;
  height: 7px;
  background: var(--primary-orange);
  border: 2px solid #fff;
  border-radius: 50%;
}
.user-chevron {
  color: var(--text-light);
  font-size: 11px;
}

.lang-selector {
  display: flex;
  background-color: var(--bg-main);
  border-radius: 20px;
  padding: 3px;
  border: 1px solid var(--border-subtle);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background-color: var(--primary-orange);
  color: white;
  box-shadow: 0 2px 8px var(--primary-orange-glow);
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--border-subtle);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sidebar-blue), var(--accent-blue));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.user-info-text {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
}

.user-role {
  font-size: 12px;
  color: var(--primary-orange);
  font-weight: 600;
}

.content-body {
  padding: 32px;
  flex: 1;
  min-width: 0;
}

.eyebrow {
  color: var(--primary-orange) !important;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 11px !important;
  font-weight: 800;
  margin: 0 0 7px !important;
}
.dashboard-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.dashboard-primary-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--primary-orange);
  color: #fff;
  padding: 11px 16px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 5px 14px var(--primary-orange-glow);
}
.dashboard-primary-action:hover {
  color: #fff;
  background: var(--primary-orange-hover);
}
.table-muted {
  display: block;
  color: var(--text-light);
  font-size: 12px;
  margin-top: 3px;
}
.table-wrap {
  overflow-x: auto;
}

.dashboard-header {
  margin-bottom: 28px;
}

.dashboard-header h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.dashboard-header p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-top: 4px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--surface-card);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 0, 0.3);
}

.stat-info .stat-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-info .stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  margin: 6px 0;
}

.stat-trend {
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.trend-up {
  color: var(--success);
}

.trend-warning {
  color: var(--warning);
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.icon-orange {
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
}

.icon-blue {
  background-color: var(--accent-blue-light);
  color: var(--accent-blue);
}

.icon-amber {
  background-color: var(--warning-light);
  color: var(--warning);
}

.icon-green {
  background-color: var(--success-light);
  color: var(--success);
}

.section-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 1024px) {
  .section-grid {
    grid-template-columns: 1fr;
  }
}

.card-box {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  min-width: 0;
}

.card-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-box-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.btn-link-action {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.btn-link-action:hover {
  color: var(--primary-orange-hover);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  padding: 12px 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-main);
}

.custom-table th:first-child {
  border-radius: 8px 0 0 8px;
}
.custom-table th:last-child {
  border-radius: 0 8px 8px 0;
}

.custom-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.status-badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-paid {
  background-color: var(--success-light);
  color: var(--success);
}

.badge-pending {
  background-color: var(--warning-light);
  color: var(--warning);
}

.badge-shipped {
  background-color: var(--accent-blue-light);
  color: var(--accent-blue);
}

.request-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.request-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-main);
}

.request-item-info strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
}

.request-item-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.settings-page-header {
  align-items: flex-start;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.settings-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 150px;
  padding: 22px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.settings-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: var(--shadow-md);
}

.settings-card-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-orange);
  background: var(--primary-orange-light);
  border-radius: var(--radius-md);
  font-size: 20px;
}

.settings-card-content {
  min-width: 0;
  flex: 1;
}

.settings-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.settings-card-heading h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.settings-card-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
}

.settings-status {
  padding: 4px 9px;
  color: var(--accent-blue);
  background: var(--accent-blue-light);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.btn-action-sm {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

@media (max-width: 760px) {
  .sidebar {
    width: 76px;
  }
  .sidebar-header {
    padding: 18px 14px;
    justify-content: center;
  }
  .brand-title,
  .brand-caption,
  .nav-section-label,
  .nav-item .nav-link {
    font-size: 0;
  }
  .nav-item .nav-link {
    justify-content: center;
    padding: 14px;
  }
  .nav-item .nav-link i {
    font-size: 20px;
  }
  .menu-counter,
  .sidebar-footer span {
    display: none;
  }
  .sidebar-footer {
    justify-content: center;
    padding: 20px 0;
  }
  .top-header {
    padding: 0 16px;
  }
  .search-box {
    width: min(52vw, 320px);
  }
  .user-info-text,
  .user-chevron {
    display: none;
  }
  .user-profile-badge {
    border-left: 0;
    padding-left: 0;
  }
  .content-body {
    padding: 22px 16px;
  }
  .dashboard-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
}

.btn-orange {
  background-color: var(--primary-orange);
  color: white;
}

.btn-orange:hover {
  background-color: var(--primary-orange-hover);
  box-shadow: 0 4px 10px var(--primary-orange-glow);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.btn-outline:hover {
  border-color: var(--danger);
  color: var(--danger);
}

/* Users */
.user-details-actions { margin-left: auto; display: flex; gap: .75rem; align-items: center; }
.danger-button { color: #b42318; border-color: #f3b7b2; }
.users-page-header {
  align-items: center;
  width: min(100%, 1280px);
  margin: 0 auto 26px;
  padding: 4px 2px;
}
.users-page-header h1 {
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -1px;
  line-height: 1.12;
}
.users-list-card {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding: 0;
  overflow: hidden;
  border-color: #dfe5ec;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}
.users-toolbar {
  display: block;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}
.users-toolbar-main {
  display: flex;
  align-items: center;
  gap: 18px;
}
.users-search {
  position: relative;
  flex: 1;
  max-width: 620px;
}
.users-search i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.users-search input {
  width: 100%;
  min-height: 46px;
  padding: 11px 44px 11px 42px;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  background: #fff;
  color: var(--text-main);
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.users-search input:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px var(--primary-orange-light);
  background: #fff;
}
.users-search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}
.users-search-clear:hover {
  background: #f1f5f9;
  color: var(--text-main);
}
.users-results-count {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 12px;
  white-space: nowrap;
}
.users-results-count strong {
  margin-left: 4px;
  color: var(--text-main);
  font-size: 14px;
}
.users-status-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
  padding-top: 16px;
  border-top: 1px solid #edf0f4;
}
.users-status-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 4px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}
.users-filter-pill {
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
  transition: all .18s ease;
}
.users-filter-pill:hover {
  border-color: #fdba8c;
  color: var(--primary-orange);
}
.users-filter-pill.active {
  border-color: var(--primary-orange);
  background: var(--primary-orange);
  color: #fff;
  box-shadow: 0 6px 14px rgba(255, 107, 0, .18);
}
.users-reset-filters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  margin-left: auto;
  padding: 5px 8px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}
.users-reset-filters:hover {
  color: var(--primary-orange);
}
.users-filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.users-filter-search { flex: 1 1 430px; }
.users-filter-status { flex: 0 0 190px; }
.users-filter-label {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.users-status-select {
  width: 100%;
  min-height: 42px;
  padding: 9px 34px 9px 13px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-main);
  font: inherit;
  font-size: 12px;
  outline: none;
}
.users-status-select:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px var(--primary-orange-light);
}
.users-clear-button { min-height: 42px; align-self: flex-end; }
.users-state {
  min-height: 300px;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  text-align: center;
}
.users-state strong {
  color: var(--text-main);
  font-size: 17px;
}
.users-state-icon {
  color: var(--text-light);
  font-size: 38px;
}
.users-state-error i {
  color: var(--danger);
  font-size: 30px;
}
.users-table td {
  vertical-align: middle;
  padding-block: 15px;
  border-bottom-color: #edf0f4;
}
.users-table th {
  padding-block: 11px;
  background: #f8fafc;
  color: #64748b;
  font-size: 10px;
  letter-spacing: .45px;
}
.users-table tbody tr {
  transition: background .16s ease;
}
.users-table tbody tr:hover {
  background: #fffaf6;
}
.users-table tbody tr:last-child td {
  border-bottom: 0;
}
.user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.user-cell:hover strong {
  color: var(--primary-orange);
}
.user-list-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #eef2ff, #e0e7ff);
  color: #4f46e5;
  font-size: 12px;
  font-weight: 800;
}
.badge-active {
  background: var(--success-light);
  color: var(--success);
}
.badge-blocked,
.badge-deleted {
  background: var(--danger-light);
  color: var(--danger);
}
.users-row-action {
  width: 124px;
  padding-right: 24px !important;
  text-align: right;
  white-space: nowrap;
}
.users-row-action .btn-link-action {
  display: inline-flex;
  justify-content: center;
  gap: 6px;
  min-width: 92px;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  text-decoration: none;
}
.users-row-action .btn-link-action:hover {
  border-color: #fdba8c;
  background: #fff7ed;
  color: var(--primary-orange);
}
.users-pagination {
  padding: 18px 24px;
  border-top: 1px solid var(--border-subtle);
}
.users-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.users-back-link:hover {
  color: var(--primary-orange);
}
.user-details-state {
  min-height: 420px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}
.user-details-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.user-details-avatar {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border-radius: 50%;
  object-fit: cover;
}
.user-details-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sidebar-blue), var(--accent-blue));
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}
.user-details-heading {
  min-width: 0;
}
.user-details-name-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.user-details-name-line h1 {
  font-size: 25px;
  font-weight: 800;
}
.user-details-heading > a {
  display: inline-block;
  margin: 4px 0;
  color: var(--accent-blue);
  text-decoration: none;
}
.user-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.user-info-card .card-box-header {
  margin-bottom: 6px;
}
.user-property-list {
  margin: 0;
}
.user-property-list > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) 1.2fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.user-property-list > div:last-child {
  border-bottom: 0;
}
.user-property-list dt {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}
.user-property-list dd {
  margin: 0;
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}
.empty-card-text {
  color: var(--text-muted);
  font-size: 13.5px;
}
.address-count {
  min-width: 28px;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--primary-orange-light);
  color: var(--primary-orange);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.user-addresses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.user-address-item {
  padding: 16px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.user-address-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.user-address-item p {
  margin: 8px 0;
  color: var(--text-muted);
  font-size: 13px;
}
.user-address-item > span {
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 600;
}
.default-address-badge {
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--success-light);
  color: var(--success);
  font-size: 10px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .user-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .users-toolbar {
    padding: 16px;
  }
  .users-toolbar-main {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .users-search {
    max-width: none;
    width: 100%;
  }
  .users-results-count {
    align-self: flex-start;
    margin-left: 0;
  }
  .users-status-filter {
    align-items: stretch;
  }
  .users-status-filter-label {
    width: 100%;
    margin-bottom: 2px;
  }
  .users-filter-pill {
    flex: 1 1 auto;
    text-align: center;
  }
  .users-reset-filters {
    width: 100%;
    justify-content: center;
    margin: 4px 0 0;
  }
  .users-page-header {
    align-items: stretch;
  }
  .users-page-header h1 {
    font-size: 28px;
  }
  .users-table th:nth-child(2),
  .users-table td:nth-child(2),
  .users-table th:nth-child(5),
  .users-table td:nth-child(5) {
    display: none;
  }
  .user-details-header {
    align-items: flex-start;
  }
  .user-details-avatar {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }
  .user-details-name-line h1 {
    font-size: 20px;
  }
  .user-property-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .user-property-list dd {
    text-align: left;
  }
}

/* Storefront-aligned administration */
.storefront-blue-hero {
  position: relative;
  overflow: hidden;
  padding: 27px 30px;
  border-radius: 16px;
  background: linear-gradient(120deg, #002aff, #173de8);
  color: #fff;
  box-shadow: 0 16px 35px rgba(0, 42, 255, 0.18);
}
.storefront-blue-hero::after {
  content: "";
  position: absolute;
  right: -45px;
  top: -70px;
  width: 230px;
  height: 230px;
  border: 42px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.storefront-blue-hero h1,
.storefront-blue-hero > div > p:last-child {
  color: #fff;
}
.storefront-blue-hero .eyebrow {
  color: #ffb089;
}
.storefront-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #ff6e2a;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(255, 110, 42, 0.3);
  cursor: pointer;
}
.store-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.store-kpi-grid article {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid var(--border-subtle);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.store-kpi-grid article div {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  flex: 1;
}
.store-kpi-grid small {
  grid-column: 1/-1;
  color: var(--text-muted);
  font-size: 10px;
}
.store-kpi-grid strong {
  font-size: 20px;
}
.store-kpi-grid em {
  color: var(--success);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}
.store-kpi-icon {
  width: 40px;
  height: 40px;
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 11px;
  font-size: 17px;
}
.store-kpi-icon.blue {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}
.store-kpi-icon.green {
  background: var(--success-light);
  color: var(--success);
}
.store-kpi-icon.amber {
  background: var(--warning-light);
  color: var(--warning);
}
.store-kpi-icon.orange {
  background: var(--primary-orange-light);
  color: var(--primary-orange);
}
.product-catalog-card {
  overflow: hidden;
}
.store-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.store-toolbar .workspace-search {
  flex: 1;
  min-width: 200px;
}
.store-filter-row {
  display: flex;
  gap: 5px;
}
.store-filter {
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.store-filter.active {
  border-color: #bfd0ff;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}
.store-filter b {
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 10px;
  background: var(--primary-orange);
  color: #fff;
  font-size: 8px;
}
.catalog-product {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 260px;
}
.catalog-product > div {
  display: flex;
  flex-direction: column;
}
.catalog-product strong {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}
.catalog-product small,
.old-price {
  color: var(--text-light);
  font-size: 9px;
}
.product-thumb {
  width: 43px;
  height: 43px;
  display: grid;
  flex: 0 0 43px;
  place-items: center;
  border-radius: 10px;
  font-size: 18px;
}
.product-thumb.blue {
  background: #eaf0ff;
  color: #002aff;
}
.product-thumb.purple {
  background: #f3e8ff;
  color: #9333ea;
}
.product-thumb.orange {
  background: #fff0e8;
  color: #ff6e2a;
}
.product-thumb.green {
  background: #e9fbf2;
  color: #10b981;
}
.product-thumb.pink {
  background: #fce7f3;
  color: #db2777;
}
.catalog-category {
  padding: 5px 8px;
  border-radius: 20px;
  background: #f1f5f9;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 650;
}
.storefront-products-table td:nth-child(4) strong,
.storefront-products-table td:nth-child(4) small {
  display: block;
}
.old-price {
  text-decoration: line-through;
}
.stock-value {
  font-size: 10px;
  font-weight: 700;
}
.stock-value.low {
  color: var(--danger);
}
.icon-more {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}
.icon-more:hover {
  background: var(--bg-main);
}
.storefront-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 310px;
  gap: 20px;
  align-items: start;
}
.storefront-main-column,
.storefront-side-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.placement-card {
  padding: 20px;
}
.placement-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.placement-heading h2 {
  margin: 3px 0;
  font-size: 17px;
}
.placement-heading p {
  color: var(--text-muted);
  font-size: 10px;
}
.placement-tag {
  color: var(--accent-blue);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.2px;
}
.placement-tag.orange {
  color: var(--primary-orange);
}
.banner-preview {
  position: relative;
  min-height: 230px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 34px;
  border-radius: 13px;
  background: linear-gradient(110deg, #f8f9ff, #fff);
  border: 1px solid #dce4ff;
}
.banner-preview::after {
  content: "";
  position: absolute;
  right: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: #002aff;
}
.banner-brand {
  position: absolute;
  left: 20px;
  top: 17px;
  color: #002aff;
  font-size: 11px;
  font-weight: 800;
}
.banner-preview div {
  position: relative;
  z-index: 1;
  max-width: 58%;
}
.banner-preview div small {
  color: var(--text-muted);
  font-size: 9px;
}
.banner-preview div strong {
  display: block;
  margin: 5px 0;
  color: #111827;
  font-size: 27px;
  line-height: 1.08;
}
.banner-preview div p {
  color: #002aff;
  font-size: 15px;
  font-weight: 700;
}
.banner-device {
  position: absolute;
  z-index: 1;
  right: 65px;
  color: #fff;
  font-size: 90px;
  transform: rotate(8deg);
}
.slide-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 12px;
}
.slide-dots i {
  width: 6px;
  height: 6px;
  border-radius: 8px;
  background: #cbd5e1;
}
.slide-dots i.active {
  width: 20px;
  background: #002aff;
}
.collection-list > div {
  display: grid;
  grid-template-columns: 34px 1fr auto 18px;
  align-items: center;
  gap: 10px;
  padding: 13px 4px;
  border-top: 1px solid var(--border-subtle);
}
.collection-list > div > div {
  display: flex;
  flex-direction: column;
}
.collection-list strong {
  font-size: 11px;
}
.collection-list small {
  color: var(--text-muted);
  font-size: 9px;
}
.collection-order {
  color: var(--accent-blue);
  font-size: 10px;
  font-weight: 800;
}
.collection-list > div > i {
  color: var(--text-light);
}
.storefront-health {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
}
.storefront-health div {
  display: flex;
  flex-direction: column;
}
.storefront-health small,
.storefront-health p {
  color: var(--text-muted);
  font-size: 9px;
}
.storefront-health strong {
  font-size: 13px;
}
.info-strip-editor {
  padding: 19px;
}
.benefit-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid var(--border-subtle);
}
.benefit-row > i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}
.benefit-row div {
  display: flex;
  flex-direction: column;
}
.benefit-row strong {
  font-size: 10px;
}
.benefit-row small {
  color: var(--success);
  font-size: 8px;
}
.toggle-on {
  position: relative;
  width: 31px;
  height: 18px;
  border-radius: 20px;
  background: #002aff;
}
.toggle-on::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}
.review-summary {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 13px;
  margin-bottom: 20px;
}
.review-summary > article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--border-subtle);
  border-radius: 13px;
  background: #fff;
}
.review-summary article > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 17px;
}
.review-summary i.amber {
  background: var(--warning-light);
  color: var(--warning);
}
.review-summary i.red {
  background: var(--danger-light);
  color: var(--danger);
}
.review-summary i.blue {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}
.review-summary article div {
  display: flex;
  flex-direction: column;
}
.review-summary small,
.review-summary p {
  color: var(--text-muted);
  font-size: 9px;
}
.review-summary strong {
  font-size: 20px;
}
.review-score-card {
  background: #002aff !important;
  color: #fff !important;
  border-color: #002aff !important;
}
.review-score-card > strong {
  font-size: 35px;
}
.review-score-card p {
  color: #b7c3ff;
}
.review-stars {
  color: #ffb020;
  letter-spacing: 1px;
}
.review-stars.small {
  font-size: 10px;
}
.review-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 18px;
  align-items: start;
}
.review-feed {
  overflow: hidden;
}
.review-feed .store-toolbar {
  justify-content: space-between;
}
.review-feed .workspace-search {
  max-width: 270px;
}
.review-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  padding: 17px 20px;
  border-top: 1px solid var(--border-subtle);
}
.review-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  font-size: 10px;
  font-weight: 800;
}
.review-body {
  min-width: 0;
}
.review-meta-line {
  display: flex;
  align-items: center;
  gap: 9px;
}
.review-meta-line strong {
  font-size: 10px;
}
.review-meta-line small {
  margin-left: auto;
  color: var(--text-light);
  font-size: 8px;
}
.review-body > a {
  display: block;
  margin: 3px 0;
  color: var(--accent-blue);
  font-size: 9px;
  font-weight: 650;
}
.review-body > p {
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.55;
}
.review-tags {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}
.review-tags span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--success);
  font-size: 8px;
  font-weight: 700;
}
.review-tags span.reported {
  color: var(--danger);
}
.review-actions {
  display: flex;
  gap: 6px;
}
.review-actions button {
  width: 31px;
  height: 31px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.review-approve {
  background: var(--success-light);
  color: var(--success);
}
.review-reject {
  background: var(--danger-light);
  color: var(--danger);
}
.review-insight {
  padding: 21px;
  text-align: center;
}
.review-insight h2 {
  font-size: 17px;
}
.quality-ring {
  width: 104px;
  height: 104px;
  display: grid;
  margin: 20px auto 13px;
  place-items: center;
  border: 10px solid #dfe6ff;
  border-top-color: #002aff;
  border-right-color: #002aff;
  border-radius: 50%;
  color: #002aff;
  font-size: 26px;
  font-weight: 800;
  transform: rotate(12deg);
}
.quality-ring small {
  font-size: 11px;
}
.review-insight > p:not(.eyebrow) {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 9px;
}
.quality-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 9px;
}
.quality-row span {
  color: var(--text-muted);
}
.support-board {
  display: grid;
  grid-template-columns: 300px minmax(380px, 1fr) 230px;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.support-board > .card-box {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.support-queue {
  border-right: 1px solid var(--border-subtle) !important;
}
.support-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
}
.support-tabs button {
  flex: 1;
  padding: 14px 4px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 8px;
  font-weight: 700;
}
.support-tabs button.active {
  border-color: #002aff;
  color: #002aff;
}
.support-tabs span {
  margin-left: 2px;
  padding: 1px 4px;
  border-radius: 8px;
  background: var(--bg-main);
}
.support-search {
  margin: 12px;
}
.ticket-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 9px;
  padding: 13px;
  border-top: 1px solid var(--border-subtle);
  cursor: pointer;
}
.ticket-row.active {
  background: var(--accent-blue-light);
  box-shadow: inset 3px 0 #002aff;
}
.ticket-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 800;
}
.ticket-avatar.blue {
  background: #e4ebff;
  color: #002aff;
}
.ticket-avatar.orange {
  background: #fff0e8;
  color: #ff6e2a;
}
.ticket-avatar.purple {
  background: #f3e8ff;
  color: #9333ea;
}
.ticket-avatar.green {
  background: #e9fbf2;
  color: #10b981;
}
.ticket-avatar.large {
  width: 54px;
  height: 54px;
  margin: auto;
  border-radius: 15px;
  font-size: 13px;
}
.ticket-row > div > div {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}
.ticket-row strong {
  font-size: 9px;
}
.ticket-row time,
.ticket-row small {
  color: var(--text-light);
  font-size: 7px;
}
.ticket-row p {
  margin: 2px 0;
  overflow: hidden;
  color: var(--text-main);
  font-size: 9px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ticket-row > div {
  min-width: 0;
}
.ticket-row > b {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ff6e2a;
  color: #fff;
  font-size: 7px;
}
.conversation {
  display: flex;
  flex-direction: column;
}
.conversation > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border-subtle);
}
.conversation > header > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.conversation header div div {
  display: flex;
  flex-direction: column;
}
.conversation header strong {
  font-size: 10px;
}
.conversation header small {
  color: var(--text-muted);
  font-size: 8px;
}
.conversation header small i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--success);
}
.conversation-body {
  flex: 1;
  padding: 25px 20px;
  background: #f8faff;
}
.chat-day {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 8px;
  text-align: center;
}
.message {
  width: fit-content;
  max-width: 75%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-main);
  font-size: 9px;
  line-height: 1.5;
}
.message.customer {
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: 3px;
  background: #fff;
}
.message.agent {
  margin-left: auto;
  border-bottom-right-radius: 3px;
  background: #dfe6ff;
}
.message time {
  display: block;
  margin-top: 4px;
  color: var(--text-light);
  font-size: 7px;
  text-align: right;
}
.conversation > footer {
  display: grid;
  grid-template-columns: 32px 1fr 35px;
  gap: 7px;
  padding: 13px;
  border-top: 1px solid var(--border-subtle);
}
.conversation footer input {
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 0 10px;
  font: inherit;
  font-size: 9px;
}
.conversation footer button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
}
.conversation footer .send-message {
  background: #002aff;
  color: #fff;
}
.customer-context {
  padding: 24px 17px;
  text-align: center;
  border-left: 1px solid var(--border-subtle) !important;
}
.customer-context h2 {
  margin-top: 10px;
  font-size: 12px;
}
.customer-context > p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 8px;
}
.customer-context > div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 8px;
}
.customer-context > div span {
  color: var(--text-muted);
}
.customer-context > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  color: #002aff;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}
.loyalty-metrics {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 13px;
  margin-bottom: 20px;
}
.loyalty-metrics article {
  position: relative;
  padding: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 13px;
  background: #fff;
}
.loyalty-metrics article:not(.loyalty-balance) {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
}
.loyalty-metrics small {
  grid-column: 1/-1;
  color: var(--text-muted);
  font-size: 9px;
}
.loyalty-metrics strong {
  font-size: 20px;
}
.loyalty-metrics article > span {
  color: var(--text-muted);
  font-size: 9px;
}
.loyalty-balance {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0f172a !important;
  color: #fff;
}
.loyalty-balance > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #ff6e2a;
  color: #fff;
  font-size: 17px;
}
.loyalty-balance div {
  display: flex;
  flex-direction: column;
}
.loyalty-balance p {
  color: #94a3b8;
  font-size: 8px;
}
.loyalty-metrics .metric-rise {
  color: var(--success);
}
.campaign-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.campaign-featured {
  display: grid;
  grid-template-columns: 160px 1fr;
  overflow: hidden;
  border-radius: 15px;
  background: #002aff;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 42, 255, 0.18);
}
.campaign-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  background: #ff6e2a;
}
.campaign-art span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}
.campaign-art strong {
  font-size: 34px;
}
.campaign-art i {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 46px;
}
.campaign-copy {
  padding: 20px;
}
.campaign-copy h2 {
  margin: 8px 0 4px;
  font-size: 16px;
}
.campaign-copy > p {
  color: #cbd5ff;
  font-size: 8px;
}
.campaign-progress {
  margin: 15px 0;
}
.campaign-progress > span {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.18);
}
.campaign-progress i {
  display: block;
  height: 100%;
  background: #ff6e2a;
}
.campaign-progress small {
  color: #cbd5ff;
  font-size: 7px;
}
.campaign-copy footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
}
.campaign-copy footer button {
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 8px;
  font-weight: 700;
}
.campaign-card {
  padding: 18px;
}
.campaign-card-icon {
  width: 39px;
  height: 39px;
  display: grid;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 11px;
  font-size: 17px;
}
.campaign-card-icon.orange {
  background: var(--primary-orange-light);
  color: var(--primary-orange);
}
.campaign-card-icon.blue {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}
.campaign-card > .status-badge {
  float: right;
  margin-top: -50px;
}
.campaign-card h2 {
  margin: 8px 0 5px;
  font-size: 13px;
}
.campaign-card > p {
  min-height: 38px;
  color: var(--text-muted);
  font-size: 8px;
}
.campaign-card footer {
  display: flex;
  align-items: end;
  gap: 5px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
.campaign-card footer strong {
  font-size: 16px;
}
.campaign-card footer span {
  color: var(--text-muted);
  font-size: 7px;
}
.loyalty-table {
  overflow: hidden;
}
.positive-value {
  color: var(--success);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .store-kpi-grid,
  .review-summary,
  .loyalty-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .support-board {
    grid-template-columns: 280px 1fr;
  }
  .customer-context {
    display: none;
  }
  .campaign-grid {
    grid-template-columns: 1fr 1fr;
  }
  .campaign-featured {
    grid-column: 1/-1;
  }
}
@media (max-width: 900px) {
  .storefront-layout,
  .review-workspace {
    grid-template-columns: 1fr;
  }
  .support-board {
    grid-template-columns: 1fr;
  }
  .support-queue {
    display: none;
  }
  .store-toolbar {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .store-toolbar .workspace-search {
    flex-basis: 100%;
    max-width: none;
  }
  .store-filter-row {
    overflow-x: auto;
  }
  .campaign-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .store-kpi-grid,
  .review-summary,
  .loyalty-metrics {
    grid-template-columns: 1fr;
  }
  .storefront-blue-hero {
    padding: 22px;
  }
  .catalog-product {
    min-width: 210px;
  }
  .banner-preview {
    min-height: 200px;
    padding: 24px;
  }
  .banner-preview div {
    max-width: 72%;
  }
  .banner-preview div strong {
    font-size: 20px;
  }
  .banner-device {
    right: 25px;
    font-size: 60px;
  }
  .campaign-featured {
    grid-template-columns: 110px 1fr;
  }
  .support-board {
    min-height: 540px;
  }
  .conversation > header .secondary-button {
    display: none;
  }
}
.storefront-action {
  text-decoration: none;
}
h1:focus {
  outline: none;
}
.editor-top-actions {
  display: flex;
  gap: 8px;
}
.product-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
  align-items: start;
}
.product-editor-main,
.product-editor-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.editor-section {
  padding: 22px;
}
.editor-section-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 19px;
}
.editor-section-heading > span {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  font-size: 10px;
  font-weight: 800;
}
.editor-section-heading h2 {
  font-size: 15px;
}
.editor-section-heading p {
  color: var(--text-muted);
  font-size: 9px;
}
.editor-section-heading.compact {
  margin-bottom: 14px;
}
.editor-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.editor-full {
  grid-column: 1/-1;
}
.editor-form-grid textarea {
  resize: vertical;
}
.editor-form-grid select,
.product-editor-side select {
  appearance: auto;
}
.media-uploader {
  position: relative;
  display: flex;
  min-height: 185px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed #b9c7ff;
  border-radius: 12px;
  background: #fafbff;
  text-align: center;
  cursor: pointer;
}
.media-uploader.disabled { opacity: .6; cursor: wait; }
.media-uploader input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.media-uploader > i {
  color: var(--accent-blue);
  font-size: 28px;
}
.media-uploader strong {
  margin-top: 7px;
  font-size: 11px;
}
.media-uploader p {
  margin: 3px 0 12px;
  color: var(--text-muted);
  font-size: 8px;
}
.editor-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.editor-tabs button {
  padding: 9px 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 9px;
  font-weight: 700;
}
.editor-tabs button.active {
  border-color: #002aff;
  color: #002aff;
}
.attribute-row {
  display: grid;
  grid-template-columns: 1fr 1fr 34px;
  gap: 8px;
  margin-bottom: 8px;
}
.attribute-row button {
  border: 0;
  border-radius: 8px;
  background: var(--danger-light);
  color: var(--danger);
}
.add-attribute {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--accent-blue);
  font: inherit;
  font-size: 9px;
  font-weight: 700;
}
.product-editor-side .field-group {
  margin-bottom: 13px;
}
.money-input {
  position: relative;
}
.money-input b {
  position: absolute;
  right: 12px;
  top: 11px;
  color: var(--text-muted);
  font-size: 11px;
}
.editor-check {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 650;
}
.editor-check input {
  accent-color: #002aff;
}
.editor-tip {
  display: flex;
  gap: 11px;
  padding: 17px;
  border-color: #fed7aa;
  background: #fffaf5;
}
.editor-tip > i {
  color: var(--primary-orange);
}
.editor-tip strong {
  font-size: 10px;
}
.editor-tip p {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 8px;
  line-height: 1.5;
}
.activity-funnel {
  display: grid;
  grid-template-columns: 1fr 25px 1fr 25px 1fr 25px 1fr;
  align-items: center;
  margin-bottom: 19px;
  padding: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: #fff;
}
.activity-funnel > div {
  display: grid;
  grid-template-columns: 39px 1fr auto;
  align-items: center;
  gap: 2px 10px;
}
.activity-funnel > i {
  color: var(--text-light);
  text-align: center;
}
.activity-funnel small {
  color: var(--text-muted);
  font-size: 8px;
}
.activity-funnel strong {
  font-size: 18px;
}
.activity-funnel em {
  color: var(--accent-blue);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}
.activity-icon {
  width: 39px;
  height: 39px;
  display: grid;
  grid-row: 1/3;
  place-items: center;
  border-radius: 10px;
}
.activity-icon.blue {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}
.activity-icon.purple {
  background: #f3e8ff;
  color: #9333ea;
}
.activity-icon.pink {
  background: #fce7f3;
  color: #db2777;
}
.activity-icon.orange {
  background: var(--primary-orange-light);
  color: var(--primary-orange);
}
.activity-icon.green {
  background: var(--success-light);
  color: var(--success);
}
.activity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 0.7fr;
  gap: 17px;
  margin-bottom: 17px;
}
.activity-chart,
.parcel-summary,
.activity-segments {
  padding: 20px;
}
.activity-chart .card-box-header p {
  color: var(--text-muted);
  font-size: 8px;
}
.activity-chart select {
  padding: 7px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #fff;
  color: var(--text-muted);
  font: inherit;
  font-size: 8px;
}
.bar-chart {
  height: 190px;
  display: flex;
  align-items: end;
  gap: 8px;
  padding: 18px 4px 0;
  border-bottom: 1px solid var(--border-subtle);
  background: repeating-linear-gradient(
    to bottom,
    #eef2f7 0,
    #eef2f7 1px,
    transparent 1px,
    transparent 47px
  );
}
.bar-chart div {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: end;
}
.bar-chart i {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(#002aff, #6078f5);
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--text-light);
  font-size: 7px;
}
.parcel-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid var(--border-subtle);
}
.parcel-stat div {
  display: flex;
  flex-direction: column;
}
.parcel-stat strong {
  font-size: 15px;
}
.parcel-stat small {
  color: var(--text-muted);
  font-size: 8px;
}
.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}
.segment-grid article {
  display: grid;
  grid-template-columns: 6px 1fr auto;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--border-subtle);
  border-radius: 11px;
}
.segment-color {
  border-radius: 6px;
}
.segment-color.blue {
  background: #002aff;
}
.segment-color.orange {
  background: #ff6e2a;
}
.segment-color.purple {
  background: #9333ea;
}
.segment-grid strong {
  font-size: 10px;
}
.segment-grid p {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 7px;
}
.segment-grid b {
  font-size: 14px;
}
@media (max-width: 900px) {
  .product-editor-layout,
  .activity-grid {
    grid-template-columns: 1fr;
  }
  .activity-funnel {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .activity-funnel > i {
    display: none;
  }
  .segment-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .editor-top-actions {
    width: 100%;
    flex-direction: column;
  }
  .editor-form-grid {
    grid-template-columns: 1fr;
  }
  .editor-full {
    grid-column: auto;
  }
  .activity-funnel {
    grid-template-columns: 1fr;
  }
  .attribute-row {
    grid-template-columns: 1fr 1fr 30px;
  }
}

/* Shared page language */
.page-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.page-hero h1 {
  color: var(--text-main);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.6px;
}
.page-hero > div > p:last-child {
  max-width: 680px;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 14px;
}
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 9px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}
.primary-button {
  border: 1px solid var(--primary-orange);
  background: var(--primary-orange);
  color: #fff;
  box-shadow: 0 5px 14px var(--primary-orange-glow);
  text-decoration: none;
}
.primary-button:hover {
  border-color: var(--primary-orange-hover);
  background: var(--primary-orange-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.secondary-button {
  border: 1px solid var(--border-subtle);
  background: #fff;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}
.secondary-button:hover {
  border-color: #cbd5e1;
  background: var(--bg-main);
}
.secondary-button.danger {
  color: var(--danger);
}
.wide {
  width: 100%;
}
.workspace-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.workspace-search {
  position: relative;
  display: block;
  min-width: 250px;
  flex: 1;
}
.workspace-search > i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}
.workspace-search input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 39px;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  background: var(--bg-main);
  color: var(--text-main);
  outline: none;
}
.workspace-search input:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px var(--primary-orange-light);
  background: #fff;
}
.filter-pills {
  display: flex;
  align-items: center;
  gap: 5px;
}
.filter-pill {
  padding: 7px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.filter-pill span {
  margin-left: 4px;
  color: var(--text-light);
}
.filter-pill.active {
  background: var(--sidebar-blue);
  color: #fff;
}
.filter-pill.active span {
  color: #cbd5e1;
}
.icon-filter-button,
.row-menu {
  border: 1px solid var(--border-subtle);
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
}
.icon-filter-button {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}
.row-menu {
  width: 32px;
  height: 32px;
  border-color: transparent;
  border-radius: 8px;
}
.row-menu:hover,
.icon-filter-button:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

/* Orders */
.orders-hero {
  padding-bottom: 2px;
}
.orders-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.orders-kpi {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.orders-kpi::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.06;
}
.orders-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}
.orders-kpi-top i {
  font-size: 18px;
}
.orders-kpi > strong {
  display: block;
  margin: 7px 0 2px;
  color: var(--text-main);
  font-size: 24px;
}
.orders-kpi > small {
  color: var(--text-light);
  font-size: 11px;
}
.orders-kpi.orange .orders-kpi-top i {
  color: var(--primary-orange);
}
.orders-kpi.amber .orders-kpi-top i {
  color: var(--warning);
}
.orders-kpi.blue .orders-kpi-top i {
  color: var(--accent-blue);
}
.orders-kpi.red .orders-kpi-top i {
  color: var(--danger);
}
.orders-workspace {
  padding: 0;
  overflow: hidden;
}
.orders-table td {
  vertical-align: middle;
  white-space: nowrap;
}
.compact-person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.compact-person > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  font-size: 10px;
  font-weight: 800;
}
.compact-person div {
  display: flex;
  flex-direction: column;
}
.compact-person small {
  color: var(--text-light);
  font-size: 10px;
}
.payment-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}
.payment-state i {
  color: var(--success);
}
.badge-new {
  background: var(--primary-orange-light);
  color: var(--primary-orange);
}
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12px;
}

/* Moderation */
.moderation-score {
  min-width: 170px;
  padding: 14px 17px;
  border-radius: var(--radius-md);
  background: var(--sidebar-blue);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.moderation-score span,
.moderation-score small {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
}
.moderation-score strong {
  display: block;
  margin: 2px 0;
  font-size: 25px;
}
.moderation-score small i {
  margin-right: 3px;
  color: var(--success);
}
.moderation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.7fr);
  gap: 22px;
}
.moderation-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  padding: 5px;
  border: 1px solid var(--border-subtle);
  border-radius: 11px;
  background: #fff;
  width: fit-content;
}
.moderation-tab {
  padding: 8px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.moderation-tab span {
  margin-left: 5px;
  opacity: 0.7;
}
.moderation-tab.active {
  background: var(--primary-orange);
  color: #fff;
  box-shadow: 0 4px 10px var(--primary-orange-glow);
}
.featured-review {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) 1.2fr;
  gap: 28px;
  padding: 20px;
}
.featured-product-visual {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: radial-gradient(
    circle at 60% 35%,
    #334155 0,
    #172033 42%,
    #0f172a 100%
  );
  color: #fff;
}
.featured-product-visual::before,
.featured-product-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.featured-product-visual::before {
  width: 240px;
  height: 240px;
}
.featured-product-visual::after {
  width: 150px;
  height: 150px;
}
.featured-product-visual > i {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 92px;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.3));
}
.featured-product-visual > span {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 20px;
  background: var(--primary-orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}
.featured-review-copy {
  padding: 8px 4px;
}
.featured-review-copy h2 {
  margin: 5px 0;
  font-size: 24px;
  line-height: 1.25;
}
.product-sku {
  color: var(--text-muted);
  font-size: 12px;
}
.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--text-light);
  font-size: 10px;
}
.risk-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 20px;
  font-weight: 700;
}
.risk-low {
  background: var(--success-light);
  color: var(--success);
}
.product-review-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0;
}
.product-review-facts div {
  padding: 13px;
  border-radius: 9px;
  background: var(--bg-main);
}
.product-review-facts span,
.product-review-facts strong {
  display: block;
}
.product-review-facts span {
  color: var(--text-muted);
  font-size: 10px;
}
.product-review-facts strong {
  margin-top: 3px;
  font-size: 12px;
}
.moderation-actions {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 8px;
}
.queue-panel {
  padding: 20px;
}
.queue-list {
  display: flex;
  flex-direction: column;
}
.queue-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.queue-thumb {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 19px;
}
.queue-thumb.blue {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}
.queue-thumb.pink {
  background: #fce7f3;
  color: #db2777;
}
.queue-thumb.green {
  background: var(--success-light);
  color: var(--success);
}
.queue-thumb.amber {
  background: var(--warning-light);
  color: var(--warning);
}
.queue-item div:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.queue-item strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.queue-item span,
.queue-item small {
  color: var(--text-muted);
  font-size: 10px;
}
.risk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.risk-dot.risk-low {
  background: var(--success);
}
.risk-dot.risk-medium {
  background: var(--warning);
}
.risk-dot.risk-high {
  background: var(--danger);
}
.queue-more {
  width: 100%;
  margin-top: 15px;
  padding: 9px;
  border: 0;
  background: transparent;
  color: var(--primary-orange);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* Categories */
.category-overview {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 14px;
  margin-bottom: 22px;
}
.category-overview > article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 19px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.category-overview-main {
  display: block !important;
}
.category-overview-main > span,
.category-overview-main > strong,
.category-overview-main > small {
  display: block;
}
.category-overview-main > span,
.category-overview-main > small,
.category-overview article div span {
  color: var(--text-muted);
  font-size: 11px;
}
.category-overview-main > strong {
  margin: 2px 0 7px;
  font-size: 21px;
}
.coverage-track {
  height: 5px;
  margin-bottom: 6px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--border-subtle);
}
.coverage-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary-orange), #ff9a4c);
}
.category-overview > article > i {
  color: var(--primary-orange);
  font-size: 25px;
}
.category-overview article div strong,
.category-overview article div span {
  display: block;
}
.category-overview article div strong {
  font-size: 19px;
}
.categories-workspace {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
}
.category-tree-panel {
  padding: 18px;
}
.category-tree-panel .workspace-search {
  min-width: 0;
  margin-bottom: 12px;
}
.category-tree {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.category-tree-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
}
.category-tree-row:hover {
  background: var(--bg-main);
}
.category-tree-row.selected {
  background: var(--primary-orange-light);
}
.category-tree-row > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}
.category-tree-row strong {
  font-size: 12px;
}
.category-tree-row small {
  color: var(--text-muted);
  font-size: 10px;
}
.category-tree-row > i {
  color: var(--text-light);
  font-size: 10px;
}
.category-tree-icon,
.category-hero-icon {
  display: grid;
  place-items: center;
  border-radius: 9px;
}
.category-tree-icon {
  width: 38px;
  height: 38px;
}
.category-tree-icon.blue,
.category-hero-icon.blue {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}
.category-tree-icon.green {
  background: var(--success-light);
  color: var(--success);
}
.category-tree-icon.pink {
  background: #fce7f3;
  color: #db2777;
}
.category-tree-icon.red {
  background: var(--danger-light);
  color: var(--danger);
}
.category-tree-icon.amber {
  background: var(--warning-light);
  color: var(--warning);
}
.category-tree-icon.purple {
  background: #f3e8ff;
  color: #9333ea;
}
.category-content-panel {
  min-width: 0;
}
.category-content-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #fff;
}
.category-content-heading > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
.category-hero-icon {
  width: 52px;
  height: 52px;
  font-size: 22px;
}
.category-content-heading h2 {
  font-size: 20px;
}
.category-content-heading span {
  color: var(--text-muted);
  font-size: 11px;
}
.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.subcategory-card {
  display: grid;
  grid-template-columns: 42px 1fr auto auto;
  align-items: center;
  gap: 11px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.subcategory-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  transform: translateY(-1px);
}
.subcategory-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--bg-main);
  color: var(--text-muted);
  font-size: 18px;
}
.subcategory-card > div:nth-child(2) {
  display: flex;
  flex-direction: column;
}
.subcategory-card strong {
  font-size: 12px;
}
.subcategory-card span {
  color: var(--text-muted);
  font-size: 10px;
}
.category-status {
  padding: 4px 7px;
  border-radius: 20px;
  background: var(--success-light);
  color: var(--success) !important;
  font-weight: 700;
}

/* Sellers */
.seller-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.3fr;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.seller-summary-strip > div {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px;
  border-right: 1px solid var(--border-subtle);
}
.seller-summary-strip > div:last-child {
  border: 0;
}
.summary-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.summary-icon.green {
  background: var(--success-light);
  color: var(--success);
}
.summary-icon.amber {
  background: var(--warning-light);
  color: var(--warning);
}
.summary-icon.red {
  background: var(--danger-light);
  color: var(--danger);
}
.seller-summary-strip p {
  margin: 0;
}
.seller-summary-strip p strong,
.seller-summary-strip p span {
  display: block;
}
.seller-summary-strip p strong {
  font-size: 18px;
}
.seller-summary-strip p span {
  color: var(--text-muted);
  font-size: 10px;
}
.seller-gmv {
  justify-content: space-between;
  background: var(--sidebar-blue);
  color: #fff;
}
.seller-gmv p span {
  color: #94a3b8;
}
.seller-gmv small {
  color: var(--success);
  font-weight: 700;
}
.seller-board {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: #eff3f8;
}
.seller-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.seller-search {
  flex: 0 1 330px;
  min-width: 220px;
}
.seller-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.seller-card {
  padding: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: 0.2s ease;
}
.seller-card:hover {
  border-color: rgba(255, 107, 0, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.seller-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.seller-logo {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}
.seller-logo.blue {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}
.seller-logo.orange {
  background: var(--primary-orange-light);
  color: var(--primary-orange);
}
.seller-logo.green {
  background: var(--success-light);
  color: var(--success);
}
.seller-logo.pink {
  background: #fce7f3;
  color: #db2777;
}
.seller-logo.purple {
  background: #f3e8ff;
  color: #9333ea;
}
.seller-logo.amber {
  background: var(--warning-light);
  color: var(--warning);
}
.seller-logo.large {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  font-size: 17px;
}
.seller-card h2 {
  margin: 14px 0 2px;
  font-size: 15px;
}
.seller-card > p {
  color: var(--text-muted);
  font-size: 11px;
}
.seller-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 16px 0;
  padding: 12px 0;
  border-block: 1px solid var(--border-subtle);
}
.seller-card-metrics span,
.seller-card-metrics strong {
  display: block;
}
.seller-card-metrics span {
  color: var(--text-light);
  font-size: 9px;
}
.seller-card-metrics strong {
  margin-top: 2px;
  font-size: 11px;
}
.seller-card-metrics i {
  color: var(--warning);
  font-size: 10px;
}
.seller-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--text-light);
  font-size: 10px;
}
.seller-card-footer a {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 700;
}

/* Seller review */
.seller-review-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 20px 23px;
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, #fff 55%, #f1f5f9);
  border: 1px solid var(--border-subtle);
}
.seller-review-identity {
  display: flex;
  align-items: center;
  gap: 15px;
}
.seller-review-identity h1 {
  font-size: 23px;
}
.seller-review-identity span {
  color: var(--text-muted);
  font-size: 11px;
}
.review-progress {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
}
.review-progress i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px var(--success-light);
}
.seller-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 20px;
  align-items: start;
}
.seller-dossier {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.dossier-section {
  padding: 20px;
}
.check-seal {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success-light);
  color: var(--success);
}
.dossier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
}
.dossier-grid > div {
  padding: 11px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.dossier-grid dt {
  color: var(--text-muted);
  font-size: 10px;
}
.dossier-grid dd {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 700;
}
.document-summary {
  color: var(--text-muted);
  font-size: 11px;
}
.document-list {
  display: flex;
  flex-direction: column;
}
.document-list article {
  display: grid;
  grid-template-columns: 38px 1fr auto 32px;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.document-list article:last-child {
  border: 0;
}
.document-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}
.document-list article > div {
  display: flex;
  flex-direction: column;
}
.document-list strong {
  font-size: 11px;
}
.document-list small {
  color: var(--text-light);
  font-size: 9px;
}
.document-ok {
  color: var(--success);
  font-size: 10px;
  font-weight: 700;
}
.document-ok i {
  margin-right: 4px;
}
.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.focus-tags span {
  padding: 6px 10px;
  border-radius: 20px;
  background: var(--primary-orange-light);
  color: var(--primary-orange);
  font-size: 10px;
  font-weight: 700;
}
.dossier-note {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 11px;
}
.decision-card {
  position: sticky;
  top: 20px;
  padding: 21px;
}
.decision-card h2 {
  margin-bottom: 4px;
  font-size: 19px;
}
.decision-card > p:not(.eyebrow) {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 11px;
}
.decision-card label > span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-main);
  font-size: 10px;
  font-weight: 700;
}
.decision-card textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  resize: vertical;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  background: var(--bg-main);
  font: inherit;
  font-size: 11px;
  outline: none;
}
.decision-card textarea:focus {
  border-color: var(--primary-orange);
}
.decision-card .secondary-button {
  margin-top: 8px;
}
.text-danger-button {
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--danger);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.review-audit {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding: 13px;
  color: var(--text-muted);
  font-size: 10px;
}
.review-audit > i {
  color: var(--accent-blue);
  font-size: 16px;
}
.review-audit strong,
.review-audit span {
  display: block;
}
.review-audit strong {
  color: var(--text-main);
  margin-bottom: 2px;
}

/* Authentication */
.auth-layout {
  display: block;
  min-height: 100vh;
  background: #fff;
}
.login-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100vh;
}
.login-brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 42px 54px;
  background: linear-gradient(145deg, #0b1120, #172033 65%, #1e293b);
  color: #fff;
}
.login-brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
}
.login-brand > span,
.login-mobile-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--primary-orange);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 7px 20px var(--primary-orange-glow);
}
.login-brand div {
  display: flex;
  flex-direction: column;
}
.login-brand strong {
  letter-spacing: 0.8px;
}
.login-brand small {
  color: #94a3b8;
  font-size: 8px;
  letter-spacing: 1.3px;
}
.login-brand-copy {
  position: relative;
  z-index: 2;
  max-width: 500px;
}
.login-brand-copy h1 {
  max-width: 420px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
  letter-spacing: -2.5px;
}
.login-brand-copy > p:last-child {
  max-width: 430px;
  margin-top: 20px;
  color: #94a3b8;
  font-size: 14px;
}
.login-security-note {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}
.login-security-note > i {
  color: var(--success);
  font-size: 22px;
}
.login-security-note strong,
.login-security-note span {
  display: block;
}
.login-security-note strong {
  font-size: 11px;
}
.login-security-note span {
  color: #94a3b8;
  font-size: 9px;
}
.login-orbit {
  position: absolute;
  border: 1px solid rgba(255, 107, 0, 0.18);
  border-radius: 50%;
}
.orbit-one {
  right: -120px;
  top: 10%;
  width: 420px;
  height: 420px;
}
.orbit-two {
  right: 5%;
  top: 22%;
  width: 210px;
  height: 210px;
}
.login-form-panel {
  display: grid;
  place-items: center;
  padding: 38px;
}
.login-form-wrap {
  width: min(100%, 400px);
}
.login-mobile-mark {
  display: none;
  margin-bottom: 24px;
}
.login-form-wrap h2 {
  margin: 5px 0;
  font-size: 30px;
}
.login-intro {
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 12px;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.login-form > label > span {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
}
.login-input {
  position: relative;
}
.login-input > i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}
.login-input input {
  width: 100%;
  height: 45px;
  padding: 0 42px 0 39px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-main);
  outline: none;
}
.login-input input:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px var(--primary-orange-light);
  background: #fff;
}
.login-input button {
  position: absolute;
  right: 8px;
  top: 7px;
  width: 31px;
  height: 31px;
  border: 0;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
}
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
}
.remember-check {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
}
.remember-check input {
  accent-color: var(--primary-orange);
}
.login-options a,
.login-help a {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 700;
}
.login-submit {
  height: 47px;
  margin-top: 3px;
}
.login-help {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 10px;
  text-align: center;
}

.users-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.users-create-button {
  min-height: 48px;
  padding-inline: 18px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 7px 18px rgba(255, 107, 0, .2);
}
.create-user-hero {
  align-items: flex-start;
}
.create-user-hero .back-link {
  display: inline-flex;
  margin-bottom: 24px;
}
.create-user-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 22px;
}
.create-user-card {
  padding: 28px;
}
.form-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.form-section-heading h2,
.create-user-note h2 {
  margin: 0;
  color: var(--text-main);
  font-size: 18px;
  font-weight: 750;
}
.form-section-heading p {
  margin: 3px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}
.form-section-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 12px;
  color: #f97316;
  background: #fff2e8;
  font-size: 18px;
}
.form-section-divider {
  margin-top: 28px;
  padding-top: 27px;
  border-top: 1px solid var(--border-subtle);
}
.create-user-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.create-user-full-row {
  grid-column: 1 / -1;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 650;
}
.field-group > span b {
  color: #f97316;
}
.field-group > span em {
  margin-left: 5px;
  color: var(--text-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}
.field-group .form-control {
  min-height: 44px;
  border-color: var(--border-subtle);
  border-radius: 10px;
  box-shadow: none;
}
.field-group .form-control:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}
.field-error {
  color: #dc2626;
  font-size: 12px;
  font-weight: 550;
}
.form-alert {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #b91c1c;
  background: #fef2f2;
  font-size: 13px;
}
.create-user-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}
.create-user-actions .btn-action-sm,
.create-user-actions .primary-button {
  min-height: 42px;
  padding-inline: 18px;
}
.create-user-note {
  padding: 26px;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  background: linear-gradient(145deg, #fffaf5, #fff7ed);
  box-shadow: 0 12px 30px rgba(154, 52, 18, 0.06);
}
.create-user-note-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 14px;
  color: #ea580c;
  background: #ffedd5;
  font-size: 21px;
}
.create-user-note p {
  margin: 9px 0 20px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}
.create-user-note-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 12px;
  font-weight: 700;
}
.create-user-note-status .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.13);
}

/* Create user — focused workspace refresh */
.create-user-hero,
.create-user-layout {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.create-user-hero {
  position: relative;
  margin-bottom: 30px;
  padding: 8px 4px 0;
}

.create-user-hero::after {
  content: "";
  position: absolute;
  top: -52px;
  right: 7%;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, .13), transparent 68%);
  pointer-events: none;
}

.create-user-hero .back-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  padding: 9px 13px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.create-user-hero .back-link:hover {
  border-color: #fdba8c;
  background: #fff7ed;
  color: var(--primary-orange);
  text-decoration: none;
}

.create-user-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-top: 0;
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -1.2px;
  line-height: 1.08;
}

.create-user-layout {
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
}

.create-user-card {
  padding: 30px 32px 26px;
  border-color: #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}

.create-user-card form {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.form-section-heading {
  gap: 13px;
  margin-bottom: 20px;
}

.form-section-heading h2,
.create-user-note h2 {
  font-size: 17px;
  letter-spacing: -.25px;
}

.form-section-heading p {
  font-size: 12px;
}

.form-section-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border-radius: 11px;
  background: #fff4eb;
  font-size: 16px;
}

.form-section-divider {
  margin-top: 25px;
  padding-top: 25px;
}

.create-user-grid {
  gap: 16px 18px;
}

.field-group {
  gap: 6px;
  font-size: 12px;
  letter-spacing: -.05px;
}

.field-group .form-control {
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #dbe2ea;
  border-radius: 11px;
  background: #fbfcfe;
  color: #0f172a;
  font-size: 13px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field-group .form-control:hover {
  border-color: #c4ceda;
  background: #fff;
}

.field-group .form-control:focus {
  border-color: var(--primary-orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 107, 0, .11);
  outline: none;
}

.field-group .form-control:-webkit-autofill,
.field-group .form-control:-webkit-autofill:hover,
.field-group .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #0f172a;
  -webkit-box-shadow: 0 0 0 1000px #fbfcfe inset;
  transition: background-color 9999s ease-out 0s;
}

.create-user-actions {
  align-items: center;
  margin-top: 25px;
  padding-top: 20px;
}

.create-user-cancel {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.create-user-cancel:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  text-decoration: none;
}

.create-user-actions .primary-button {
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(255, 107, 0, .22);
}

.create-user-note {
  position: relative;
  overflow: hidden;
  padding: 25px;
  border: 1px solid #d9d8ff;
  border-radius: 20px;
  background: linear-gradient(155deg, #f8f7ff 0%, #f1f3ff 100%);
  box-shadow: 0 18px 45px rgba(37, 36, 99, .07);
}

.create-user-note::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -58px;
  width: 170px;
  height: 170px;
  border: 24px solid rgba(99, 102, 241, .08);
  border-radius: 50%;
}

.create-user-note-icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 13px;
  color: #4f46e5;
  background: #e5e7ff;
  font-size: 19px;
}

.create-user-note h2,
.create-user-note p,
.create-user-note-status {
  position: relative;
  z-index: 1;
}

.create-user-note p {
  margin: 10px 0 22px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.65;
}

.create-user-note-status {
  border-top-color: #d9d8ff;
  color: #4f46e5;
  font-size: 11px;
}

.create-user-note-status .status-dot {
  background: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .13);
}

@media (max-width: 760px) {
  .create-user-hero {
    padding-inline: 0;
  }
  .create-user-hero h1 {
    font-size: 30px;
  }
  .create-user-card {
    padding: 22px 18px 20px;
    border-radius: 16px;
  }
  .create-user-note {
    border-radius: 16px;
  }
}

@media (max-width: 1100px) {
  .orders-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .moderation-layout {
    grid-template-columns: 1fr;
  }
  .queue-panel {
    max-width: none;
  }
  .seller-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .seller-summary-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .seller-summary-strip > div:nth-child(2) {
    border-right: 0;
  }
  .seller-summary-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border-subtle);
  }
}

@media (max-width: 900px) {
  .categories-workspace {
    grid-template-columns: 1fr;
  }
  .category-tree {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .seller-review-layout {
    grid-template-columns: 1fr;
  }
  .decision-card {
    position: static;
  }
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-brand-panel {
    display: none;
  }
  .login-mobile-mark {
    display: grid;
  }
  .create-user-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .top-header {
    padding: 0 10px;
    justify-content: flex-end;
  }
  .top-header .search-box {
    display: none;
  }
  .header-actions {
    gap: 8px;
  }
  .lang-btn {
    padding: 5px 7px;
  }
  .header-icon-button {
    padding: 6px;
  }
  .avatar {
    width: 34px;
    height: 34px;
  }
  .content-body {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }
  .content-body > * {
    max-width: 100%;
  }
  .page-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-hero .primary-button {
    width: 100%;
  }
  .users-header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
  }
  .users-create-button {
    width: 100%;
  }
  .create-user-grid {
    grid-template-columns: 1fr;
  }
  .create-user-full-row {
    grid-column: auto;
  }
  .create-user-card {
    padding: 20px;
  }
  .create-user-actions {
    flex-direction: column-reverse;
  }
  .users-toolbar { flex-wrap: wrap; align-items: stretch; padding: 16px; }
  .users-filter-search,
  .users-filter-status { flex: 1 1 100%; }
  .users-search-button,
  .users-clear-button { align-self: stretch; }
  .create-user-actions .create-user-cancel,
  .create-user-actions .primary-button {
    width: 100%;
    justify-content: center;
  }
  .orders-kpi-grid,
  .category-overview,
  .seller-summary-strip {
    grid-template-columns: 1fr;
  }
  .seller-summary-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
  }
  .workspace-toolbar,
  .seller-board-header {
    align-items: stretch;
    flex-direction: column;
  }
  .workspace-search,
  .seller-search {
    min-width: 0;
    flex-basis: auto;
  }
  .filter-pills {
    overflow-x: auto;
    padding-bottom: 3px;
  }
  .moderation-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .moderation-main,
  .queue-panel {
    min-width: 0;
  }
  .moderation-tabs {
    width: 100%;
    overflow-x: auto;
  }
  .moderation-tab {
    flex: 0 0 auto;
  }
  .featured-review {
    grid-template-columns: minmax(0, 1fr);
  }
  .featured-product-visual {
    min-height: 240px;
  }
  .moderation-actions {
    grid-template-columns: 1fr;
  }
  .subcategory-grid,
  .seller-grid,
  .dossier-grid {
    grid-template-columns: 1fr;
  }
  .category-tree {
    grid-template-columns: 1fr;
  }
  .category-content-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .category-content-heading .secondary-button {
    width: 100%;
  }
  .seller-review-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .document-ok {
    display: none;
  }
  .document-list article {
    grid-template-columns: 38px 1fr 32px;
  }
  .settings-card {
    min-width: 0;
    flex-direction: column;
  }
  .settings-card-content {
    width: 100%;
  }
  .settings-card-heading {
    flex-wrap: wrap;
  }
  .login-form-panel {
    padding: 28px 20px;
  }
  .login-form-wrap h2 {
    font-size: 25px;
  }
}

/* Responsive shell audit fixes */
@media (max-width: 1100px) {
  .sidebar {
    width: 76px;
  }
  .sidebar-header {
    padding: 18px 14px;
    justify-content: center;
  }
  .brand-title,
  .brand-caption,
  .nav-section-label,
  .nav-item .nav-link {
    font-size: 0;
  }
  .nav-item .nav-link {
    justify-content: center;
    padding: 14px;
  }
  .nav-item .nav-link i {
    font-size: 20px;
  }
  .menu-counter,
  .sidebar-footer span {
    display: none;
  }
  .sidebar-footer {
    justify-content: center;
    padding: 20px 0;
  }
  .user-info-text,
  .user-chevron {
    display: none;
  }
  .user-profile-badge {
    border-left: 0;
    padding-left: 0;
  }
  .top-header {
    padding-inline: 20px;
  }
  .search-box {
    width: min(38vw, 280px);
  }
  .content-body {
    padding: 24px;
  }
  .categories-workspace {
    grid-template-columns: 1fr;
  }
  .category-tree {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace-toolbar,
  .seller-board-header {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .filter-pills {
    max-width: 100%;
    overflow-x: auto;
  }
  .moderation-main,
  .queue-panel,
  .section-grid > *,
  .activity-grid > *,
  .storefront-layout > * {
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .workspace-toolbar,
  .seller-board-header {
    flex-direction: column;
  }
  .workspace-search,
  .seller-search {
    width: 100%;
    min-width: 0;
    flex-basis: auto;
  }
  .category-content-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .category-content-heading .secondary-button {
    width: 100%;
  }
  .moderation-tabs,
  .editor-tabs,
  .store-filter-row {
    max-width: 100%;
    overflow-x: auto;
  }
  .moderation-tab,
  .editor-tabs button,
  .store-filter {
    flex: 0 0 auto;
  }
}

@media (max-width: 600px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .page {
    display: block;
  }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(280px, 86vw);
    height: 100dvh;
    z-index: 1000;
    transform: translateX(-105%);
    box-shadow: 18px 0 45px rgba(15, 23, 42, 0.25);
    transition: transform 0.24s ease;
  }
  .nav-toggle:checked + .sidebar {
    transform: translateX(0);
  }
  .nav-toggle:checked ~ main::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 900;
    background: rgba(15, 23, 42, 0.45);
  }
  .sidebar-header {
    justify-content: flex-start;
    padding: 18px;
  }
  .brand-title {
    color: var(--text-white);
    font-size: 17px;
  }
  .brand-caption {
    color: #94a3b8;
    font-size: 9px;
  }
  .nav-section-label {
    display: block;
    color: #64748b;
    font-size: 10px;
  }
  .nav-item .nav-link {
    justify-content: flex-start;
    padding: 11px 14px;
    font-size: 13px;
  }
  .nav-item .nav-link i {
    font-size: 17px;
  }
  .menu-counter {
    display: inline-block;
  }
  .sidebar-footer {
    justify-content: flex-start;
    padding: 16px 24px;
  }
  .sidebar-footer span {
    display: inline;
  }
  .mobile-nav-close {
    display: grid;
    width: 34px;
    height: 34px;
    margin-left: auto;
    place-items: center;
    border-radius: 8px;
    color: #94a3b8;
    cursor: pointer;
  }
  main {
    width: 100%;
  }
  .top-header {
    height: 64px;
    padding: 0 12px;
  }
  .mobile-menu-button {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 9px;
    color: var(--text-main);
    background: var(--bg-main);
    font-size: 21px;
    cursor: pointer;
  }
  .top-header .search-box {
    display: none;
  }
  .header-actions {
    margin-left: auto;
    gap: 6px;
  }
  .lang-selector {
    padding: 2px;
  }
  .lang-btn {
    padding: 5px 6px;
    font-size: 9px;
  }
  .header-icon-button {
    padding: 6px;
  }
  .avatar {
    width: 32px;
    height: 32px;
  }
  .content-body {
    width: 100%;
    padding: 18px 14px 28px;
    overflow: visible;
  }
  .content-body > * {
    width: 100%;
    max-width: 100%;
  }
  .dashboard-header,
  .page-hero {
    gap: 16px;
  }
  .users-header-actions {
    grid-template-columns: 1fr;
  }
  .dashboard-header h1,
  .page-hero h1 {
    font-size: 23px;
  }
  .card-box {
    max-width: 100%;
  }
  .card-box-header {
    gap: 10px;
    flex-wrap: wrap;
  }
  .section-grid,
  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .attribute-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 30px;
  }
  .attribute-row .form-control {
    width: 100%;
    min-width: 0;
  }
  .review-item {
    grid-template-columns: 34px minmax(0, 1fr);
    padding-inline: 14px;
  }
  .review-actions {
    grid-column: 2;
  }
  .conversation {
    width: 100%;
  }
  .activity-chart .card-box-header select {
    max-width: 130px;
  }
  .subcategory-card {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }
  .subcategory-card .row-menu {
    display: none;
  }
  .category-tree {
    grid-template-columns: 1fr;
  }
}

/* Connected catalog workspace */
.feedback-error,.feedback-success { padding:16px 20px; border-radius:12px; margin:16px 0; line-height:1.5; }
.feedback-error { background:#fff1f2; color:#a51832; border:1px solid #fecdd3; }
.feedback-success { background:#ecfdf5; color:#047857; }
.empty-state { padding:48px 24px; text-align:center; color:#68758d; }
.empty-state > i { font-size:36px; color:#4d78e4; }
.empty-state h2 { color:#1d2941; margin:16px 0 8px; }
.workspace-empty {
  min-height: 280px;
  padding: 48px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #fff 35%, #f7f9fc);
}
.workspace-empty-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--primary-orange-light);
  color: var(--primary-orange);
  font-size: 28px;
}
.workspace-empty h2 { margin: 0; color: var(--sidebar-blue); font-size: clamp(20px, 2vw, 26px); }
.workspace-empty p { max-width: 480px; margin: 0; color: var(--text-muted); line-height: 1.6; }
.seller-board .workspace-empty { background: #fff; }
.seller-summary-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.summary-icon.blue { background: var(--accent-blue-light); color: var(--accent-blue); }
.seller-card-details { display: grid; gap: 8px; margin: 14px 0; padding: 14px 0; border-block: 1px solid var(--border-subtle); }
.seller-card-details div { display: flex; justify-content: space-between; gap: 12px; min-width: 0; }
.seller-card-details dt { color: var(--text-muted); font-size: 11px; }
.seller-card-details dd { margin: 0; color: var(--sidebar-blue); font-size: 11px; font-weight: 700; overflow-wrap: anywhere; text-align: right; }
.seller-status-card { align-self: start; }
.dashboard-shortcuts .card-box { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.dashboard-shortcuts .card-box p { margin: 0; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 1100px) {
  .seller-summary-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seller-summary-strip > div:nth-child(2) { border-right: 0; }
  .seller-summary-strip > div:nth-child(-n + 2) { border-bottom: 1px solid var(--border-subtle); }
}
@media (max-width: 700px) {
  .seller-summary-strip > div { padding: 13px; }
  .workspace-empty { min-height: 230px; padding: 32px 18px; }
}
.catalog-filter { max-width:220px; }
.catalog-pagination { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:20px; }
.pagination-container { display:flex; align-items:center; gap:16px; }
.pagination-container button { border:1px solid #dce3ee; background:white; border-radius:8px; padding:8px 14px; cursor:pointer; }
button:disabled { opacity:.5; cursor:wait; }
.editor-save-actions { display:grid; gap:12px; margin-top:24px; }
.product-back-link { margin-bottom:16px; }
.product-editor-hero { margin-bottom:20px; }
.page-loading { padding:24px 0; color:var(--text-muted); }
.product-image-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:14px; margin-top:18px; }
.product-image-card { position:relative; min-height:140px; overflow:hidden; border:1px solid #dfe5ee; border-radius:12px; background:#f8fafc; }
.product-image-card img { display:block; width:100%; height:140px; object-fit:cover; }
.product-image-unavailable { display:flex; min-height:140px; padding:30px 12px; flex-direction:column; align-items:center; justify-content:center; gap:8px; color:#64748b; font-size:12px; text-align:center; }
.product-image-unavailable i { font-size:24px; }
.product-image-warning { margin-top:16px; color:#92400e; font-size:14px; }
.product-image-card.pending { border-style:dashed; }
.product-image-main,.product-image-pending { position:absolute; left:8px; bottom:8px; padding:4px 8px; border-radius:20px; background:rgba(15,23,42,.82); color:#fff; font-size:9px; font-weight:750; }
.product-image-pending { background:rgba(37,99,235,.88); }
.product-image-remove { position:absolute; top:8px; right:8px; display:grid; width:30px; height:30px; place-items:center; border:0; border-radius:8px; background:rgba(255,255,255,.94); color:#b42336; box-shadow:0 4px 12px rgba(15,23,42,.16); cursor:pointer; }
.category-editor-card form { margin-top:18px; }
.category-editor-actions { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-top:22px; padding-top:18px; border-top:1px solid var(--border-subtle); }
.category-editor-actions .editor-check { margin:0; font-size:12px; }
.category-editor-actions .primary-button { min-width:150px; }
.field-group { margin-bottom:16px; }
.field-group small { color:#7a869a; font-size:12px; }
.validation-message,.validation-errors { color:#b42336; }
.live-review { margin:20px 0; }
.review-description { white-space:pre-wrap; overflow-wrap:anywhere; }
.workflow-steps { padding-left:24px; margin:24px 0; }
.workflow-steps li { padding-left:8px; margin-bottom:20px; }
.workflow-steps strong,.workflow-steps span { display:block; }
.workflow-steps span { color:#738097; margin-top:6px; }
.dashboard-status-row { display:flex; justify-content:space-between; border-bottom:1px solid #eef1f6; padding:16px 0; }
.logout-button { border:1px solid #e1e6ef; border-radius:10px; padding:9px 12px; background:white; cursor:pointer; }
.page-hero p:not(.eyebrow) { max-width:500px; opacity:.8; }
@media(max-width:768px) { .catalog-pagination { flex-direction:column; } .catalog-filter { max-width:100%; } }
@media(max-width:600px) { .category-editor-actions { align-items:stretch; flex-direction:column; } .category-editor-actions .primary-button { width:100%; } }

/* Moderation workspace */
.moderation-topline { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:18px; }
.moderation-back { display:inline-flex; align-items:center; gap:8px; color:#334155; font-size:11px; font-weight:750; text-decoration:none; transition:color .15s ease, transform .15s ease; }
.moderation-back:hover { color:var(--primary-orange); transform:translateX(-2px); }
.moderation-hero { align-items:flex-end; margin-bottom:22px; }
.moderation-loading { display:flex; align-items:center; justify-content:center; gap:12px; min-height:260px; color:var(--text-muted); font-weight:650; }
.moderation-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.moderation-count { display:flex; align-items:center; gap:12px; min-width:210px; padding:11px 15px; border:1px solid #e4e9f1; border-radius:14px; background:#fff; box-shadow:0 5px 18px rgba(15,23,42,.045); }
.moderation-count-icon { display:grid; width:40px; height:40px; place-items:center; border-radius:11px; background:#fff1e8; color:var(--primary-orange); font-size:18px; }
.moderation-count > span:last-child { display:flex; align-items:baseline; gap:9px; }
.moderation-count small { color:var(--text-muted); font-size:11px; font-weight:700; }
.moderation-count strong { color:var(--sidebar-blue); font-size:23px; line-height:1; }
.moderation-refresh { display:inline-flex; align-items:center; gap:8px; min-height:42px; }
.moderation-refresh .spinning { animation:moderation-spin .8s linear infinite; }
.moderation-list { display:flex; flex-direction:column; gap:18px; }
.moderation-card { display:grid; grid-template-columns:minmax(320px, .72fr) minmax(0, 1.28fr); min-height:342px; overflow:hidden; border:1px solid #e1e7f0; border-radius:20px; background:#fff; box-shadow:0 10px 34px rgba(15,23,42,.055); transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.moderation-card:hover { border-color:#d3dae6; box-shadow:0 16px 42px rgba(15,23,42,.08); transform:translateY(-1px); }
.moderation-media { position:relative; display:grid; min-width:0; min-height:342px; place-items:center; overflow:hidden; border-right:1px solid #e7ebf2; background:linear-gradient(145deg,#f8fafc,#f1f4f8); }
.moderation-media > img { width:100%; height:100%; max-height:390px; padding:28px; object-fit:contain; background:#fff; }
.moderation-status { position:absolute; z-index:3; top:16px; left:16px; display:inline-flex; align-items:center; gap:7px; padding:7px 10px; border:1px solid rgba(238,116,45,.18); border-radius:999px; background:rgba(255,255,255,.94); color:#c95616; box-shadow:0 5px 16px rgba(15,23,42,.08); font-size:9px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; backdrop-filter:blur(8px); }
.moderation-status i { width:7px; height:7px; border-radius:50%; background:var(--primary-orange); box-shadow:0 0 0 4px rgba(238,116,45,.13); }
.moderation-brand-fallback { display:flex; align-items:center; flex-direction:column; justify-content:center; width:100%; height:100%; min-height:342px; color:#172033; background:radial-gradient(circle at 50% 42%,#fff 0,#f8fafc 46%,#eef2f7 100%); }
.moderation-brand-fallback::before { content:""; position:absolute; width:210px; height:210px; border:1px solid rgba(15,23,42,.06); border-radius:50%; box-shadow:0 0 0 34px rgba(15,23,42,.018); }
.moderation-brand-mark { z-index:1; display:grid; width:74px; height:74px; margin-bottom:14px; place-items:center; border-radius:19px; background:linear-gradient(145deg,#f6853f,#e6651d); color:#fff; box-shadow:0 16px 30px rgba(238,116,45,.28); font-size:35px; font-weight:800; }
.moderation-brand-fallback strong { z-index:1; font-size:21px; letter-spacing:.12em; }
.moderation-brand-fallback small { z-index:1; margin-top:5px; color:#8a96aa; font-size:10px; font-weight:650; }
.moderation-carousel-button { position:absolute; z-index:3; top:50%; display:grid; width:38px; height:38px; place-items:center; border:1px solid rgba(15,23,42,.1); border-radius:50%; background:rgba(255,255,255,.94); color:#162033; box-shadow:0 6px 20px rgba(15,23,42,.12); cursor:pointer; transform:translateY(-50%); transition:background .15s ease, color .15s ease, transform .15s ease; }
.moderation-carousel-button:hover { background:var(--primary-orange); color:#fff; transform:translateY(-50%) scale(1.05); }
.moderation-carousel-button.previous { left:14px; }
.moderation-carousel-button.next { right:14px; }
.moderation-image-position { position:absolute; z-index:3; right:14px; bottom:14px; display:inline-flex; align-items:center; gap:6px; padding:6px 9px; border-radius:999px; background:rgba(15,23,42,.82); color:#fff; font-size:9px; font-weight:750; backdrop-filter:blur(7px); }
.moderation-card-content { display:flex; min-width:0; padding:25px 28px 23px; flex-direction:column; }
.moderation-product-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.moderation-product-heading h2 { margin:7px 0 0; color:#111827; font-size:23px; line-height:1.25; letter-spacing:-.025em; }
.moderation-category { display:flex; align-items:center; gap:8px; margin:0; color:var(--primary-orange); font-size:9px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.moderation-category span { width:3px; height:3px; border-radius:50%; background:#cbd5e1; }
.moderation-created { flex:0 0 auto; padding:6px 9px; border-radius:8px; background:#f7f8fb; color:#7f8ba0; font-size:9px; font-weight:650; }
.moderation-product-meta { display:flex; flex-wrap:wrap; gap:7px 14px; margin-top:10px; color:#8a95a7; font-size:10px; }
.moderation-product-meta b { margin-right:4px; color:#5b6678; font-weight:750; }
.moderation-summary { margin:20px 0 0; color:#334155; font-size:13px; font-weight:650; line-height:1.55; }
.moderation-description { display:-webkit-box; overflow:hidden; margin:8px 0 0; color:#697588; font-size:12px; line-height:1.58; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.moderation-card .product-review-facts { gap:9px; margin:22px 0 18px; }
.moderation-card .product-review-facts div { padding:12px 14px; border:1px solid #edf0f5; border-radius:11px; background:#f8fafc; }
.moderation-card .product-review-facts span { color:#8b96a8; font-size:9px; font-weight:650; }
.moderation-card .product-review-facts strong { color:#172033; font-size:12px; }
.moderation-card .moderation-actions { display:grid; grid-template-columns:minmax(120px,.7fr) minmax(170px,1.3fr); gap:10px; width:min(100%,470px); margin-top:auto; margin-left:auto; }
.moderation-reject,.moderation-approve { display:inline-flex; min-height:42px; align-items:center; justify-content:center; gap:8px; border-radius:10px; font:inherit; font-size:11px; font-weight:750; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .15s ease; }
.moderation-reject { border:1px solid #f0c9c9; background:#fff; color:#d64a4a; }
.moderation-reject:hover { background:#fff5f5; border-color:#e8a9a9; }
.moderation-approve { border:1px solid var(--primary-orange); background:var(--primary-orange); color:#fff; box-shadow:0 8px 18px rgba(238,116,45,.2); }
.moderation-approve:hover { box-shadow:0 11px 24px rgba(238,116,45,.28); transform:translateY(-1px); }
.moderation-reject:disabled,.moderation-approve:disabled { opacity:.55; cursor:not-allowed; transform:none; box-shadow:none; }
.moderation-empty { border:1px solid #e2e8f0; border-radius:20px; background:#fff; }
@keyframes moderation-spin { to { transform:rotate(360deg); } }

@media(max-width:1180px) {
  .moderation-card { grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr); }
  .moderation-card-content { padding:22px; }
}
@media(max-width:900px) {
  .moderation-card { grid-template-columns:1fr; }
  .moderation-media { min-height:300px; border-right:0; border-bottom:1px solid #e7ebf2; }
  .moderation-media > img { height:300px; }
  .moderation-brand-fallback { min-height:300px; }
}
@media(max-width:600px) {
  .moderation-topline { align-items:stretch; flex-direction:column; }
  .moderation-count { width:100%; }
  .moderation-hero { align-items:flex-start; }
  .moderation-card { border-radius:16px; }
  .moderation-media,.moderation-brand-fallback { min-height:245px; }
  .moderation-media > img { height:245px; padding:22px; }
  .moderation-card-content { padding:20px 17px; }
  .moderation-product-heading { flex-direction:column-reverse; gap:8px; }
  .moderation-product-heading h2 { font-size:20px; }
  .moderation-card .product-review-facts { grid-template-columns:1fr; }
  .moderation-card .moderation-actions { grid-template-columns:1fr; width:100%; }
}

@media(prefers-reduced-motion:reduce) {
  .moderation-card,.moderation-carousel-button,.moderation-reject,.moderation-approve { transition:none; }
  .moderation-refresh .spinning { animation:none; }
}
.storefront-blue-hero h1,.storefront-blue-hero p { color:#fff; }
.storefront-blue-hero .eyebrow { color:#ffbd8a; }
.storefront-blue-hero p:not(.eyebrow) { color:rgba(255,255,255,.88); opacity:1; }
.product-catalog-card .custom-table th,.product-catalog-card .custom-table td { padding:14px 10px; }
.product-catalog-card .catalog-product { min-width:200px; }
.product-catalog-card .catalog-product strong { max-width:220px; white-space:normal; }
.product-catalog-card .catalog-product small { max-width:220px; overflow-wrap:anywhere; }
.product-catalog-card td:nth-child(4) { white-space:nowrap; min-width:86px; }

/* Current user menu and profile */
.profile-menu-container {
  position: relative;
}

.user-profile-badge {
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.user-profile-badge:hover .user-name {
  color: var(--primary-orange);
}

.avatar-image {
  object-fit: cover;
  background: var(--bg-main);
}

.user-chevron {
  transition: transform .18s ease;
}

.user-chevron.open {
  transform: rotate(180deg);
}

.profile-dropdown {
  position: absolute;
  z-index: 50;
  top: calc(100% + 12px);
  right: 0;
  width: 245px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
}

.profile-dropdown-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-bottom: 1px solid #eef1f6;
}

.profile-dropdown-summary strong {
  overflow: hidden;
  color: var(--text-main);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-dropdown-summary span {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-dropdown-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 0;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.profile-dropdown-item:hover {
  background: #f8fafc;
  color: var(--primary-orange);
  text-decoration: none;
}

.profile-dropdown-item i {
  width: 19px;
  font-size: 16px;
}

.profile-dropdown-logout {
  border-top: 1px solid #eef1f6;
  color: #b42336;
}

.profile-page-hero,
.profile-layout {
  width: min(100%, 1100px);
  margin-inline: auto;
}

.profile-page-hero {
  margin-bottom: 24px;
}

.profile-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.profile-preview-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 22px;
  text-align: center;
}

.profile-avatar-preview {
  width: 92px;
  height: 92px;
  border: 5px solid #eef2ff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(37, 36, 99, .13);
}

.profile-avatar-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sidebar-blue), var(--accent-blue));
  color: #fff;
  font-size: 34px;
  font-weight: 800;
}

.profile-preview-card h2 {
  margin: 18px 0 4px;
  color: var(--text-main);
  font-size: 18px;
}

.profile-preview-card > p {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 8px 11px;
  border-radius: 20px;
  background: #fff2e8;
  color: var(--primary-orange);
  font-size: 11px;
  font-weight: 750;
}

.avatar-upload-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 9px 14px;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}

.avatar-upload-button:hover {
  border-color: #fb923c;
  background: #ffedd5;
}

.avatar-upload-button input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.avatar-upload-hint {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 10px;
}

.avatar-file-name {
  display: block;
  max-width: 100%;
  margin-top: 8px;
  overflow: hidden;
  color: #475569;
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar-remove-button {
  margin-top: 10px;
  padding: 5px 8px;
  border: 0;
  background: transparent;
  color: #b42336;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

.avatar-remove-button:hover {
  text-decoration: underline;
}

.profile-form-card {
  padding: 30px 32px;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.profile-full-row {
  grid-column: 1 / -1;
}

.profile-readonly {
  background: #f1f5f9 !important;
  color: #64748b !important;
  cursor: not-allowed;
}

.profile-checkbox {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid #dbe2ea;
  border-radius: 11px;
  background: #fbfcfe;
  cursor: pointer;
}

.profile-checkbox input {
  width: 17px;
  height: 17px;
  accent-color: var(--primary-orange);
}

.profile-checkbox span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-checkbox strong {
  color: var(--text-main);
  font-size: 12px;
}

.profile-checkbox small {
  color: var(--text-muted);
  font-size: 10px;
}

.profile-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}

.profile-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 28px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-preview-card { display: grid; grid-template-columns: auto 1fr; justify-items: start; column-gap: 18px; text-align: left; }
  .profile-avatar-preview { grid-row: 1 / 4; width: 72px; height: 72px; }
  .profile-preview-card h2 { margin: 5px 0 2px; }
  .profile-role-badge { margin-top: 8px; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .user-info-text { display: flex; }
  .user-chevron { display: inline-block; }
  .user-profile-badge { padding-left: 12px; border-left: 1px solid var(--border-subtle); }
}

@media (max-width: 620px) {
  .profile-form-card { padding: 22px 18px; }
  .profile-form-grid { grid-template-columns: 1fr; }
  .profile-full-row { grid-column: auto; }
  .profile-dropdown { right: -4px; width: min(245px, calc(100vw - 24px)); }
}
.catalog-filter { border:1px solid #e1e6ef; border-radius:10px; min-height:40px; padding:8px 10px; background:#fff; }
.page-hero.storefront-blue-hero > div > p:last-child { color:rgba(255,255,255,.88); }

.profile-sidebar { display:flex; flex-direction:column; gap:18px; min-width:0; }
.security-panel { position:relative; overflow:hidden; padding:20px; }
.security-panel::before { content:""; position:absolute; inset:0 0 auto; height:3px; background:linear-gradient(90deg,var(--primary-orange),#fbbf24); }
.security-panel-heading { display:flex; align-items:flex-start; gap:11px; }
.security-panel-heading > span { display:grid; width:36px; height:36px; flex:0 0 36px; place-items:center; border-radius:11px; background:#fff2e8; color:var(--primary-orange); }
.security-panel-heading h2 { margin:1px 0 3px; font-size:15px; }
.security-panel-heading p { margin:0; color:var(--text-muted); font-size:10px; line-height:1.45; }
.security-loading { display:flex; align-items:center; gap:8px; padding:22px 0 3px; color:var(--text-muted); font-size:11px; }
.security-score { display:flex; align-items:center; gap:10px; margin-top:17px; padding:12px; border:1px solid #fee2e2; border-radius:12px; background:#fff8f8; color:#b42336; }
.security-score.is-protected { border-color:#bbf7d0; background:#f0fdf4; color:#15803d; }
.security-score > i { font-size:22px; }
.security-score div { min-width:0; }
.security-score strong,.security-score small { display:block; }
.security-score strong { font-size:11px; }
.security-score small { margin-top:2px; color:var(--text-muted); font-size:9px; line-height:1.35; }
.security-method-list { display:flex; flex-direction:column; margin-top:14px; border-top:1px solid #edf1f6; }
.security-method-row { display:grid; grid-template-columns:34px minmax(0,1fr) auto; align-items:center; gap:9px; padding:13px 0; border-bottom:1px solid #edf1f6; }
.security-method-icon { display:grid; width:32px; height:32px; place-items:center; border-radius:10px; color:#fff; }
.security-method-icon.authenticator { background:linear-gradient(135deg,#182446,#324d8f); }
.security-method-icon.email { background:linear-gradient(135deg,#f97316,#fb923c); }
.security-method-row > div { min-width:0; }
.security-method-row strong,.security-method-row small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.security-method-row strong { font-size:10px; }
.security-method-row small { margin-top:2px; color:var(--text-muted); font-size:9px; }
.security-status { grid-column:2; width:max-content; padding:3px 7px; border-radius:99px; background:#f1f5f9; color:#64748b; font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.4px; }
.security-status.enabled { background:#dcfce7; color:#15803d; }
.security-action { grid-column:3; grid-row:1 / 3; padding:5px 0 5px 7px; border:0; background:transparent; color:var(--primary-orange); font-size:9px; font-weight:800; cursor:pointer; }
.security-action:disabled { opacity:.55; cursor:wait; }
.security-feedback { margin-top:13px; padding:10px 11px; font-size:9px; }

.login-back { display:inline-flex; align-items:center; gap:7px; margin-bottom:26px; padding:0; border:0; background:transparent; color:#64748b; font-size:11px; font-weight:700; cursor:pointer; }
.login-back:hover { color:var(--primary-orange); }
.login-step-icon { display:grid; width:52px; height:52px; margin-bottom:16px; place-items:center; border-radius:16px; background:linear-gradient(135deg,#fff2e8,#ffedd5); color:var(--primary-orange); font-size:23px; box-shadow:0 10px 24px rgba(249,115,22,.12); }
.login-methods { display:flex; flex-direction:column; gap:11px; }
.login-method { display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:12px; width:100%; padding:13px; border:1px solid #e2e8f0; border-radius:13px; background:#fff; text-align:left; cursor:pointer; transition:.18s ease; }
.login-method:hover { transform:translateY(-1px); border-color:#fdba74; box-shadow:0 8px 22px rgba(15,23,42,.07); }
.login-method > span { display:grid; width:42px; height:42px; place-items:center; border-radius:12px; background:#fff2e8; color:var(--primary-orange); font-size:19px; }
.login-method div { min-width:0; }
.login-method strong,.login-method small { display:block; }
.login-method strong { color:var(--text-main); font-size:12px; }
.login-method small { margin-top:3px; overflow:hidden; color:var(--text-muted); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.login-method > i { color:#94a3b8; }
.login-code-input { width:100%; height:58px; padding:0 13px; border:1px solid #dbe2ea; border-radius:12px; background:#f8fafc; color:var(--text-main); text-align:center; font-size:25px; font-weight:800; letter-spacing:10px; outline:0; }
.login-code-input:focus { border-color:var(--primary-orange); box-shadow:0 0 0 4px var(--primary-orange-light); background:#fff; }
.login-resend { display:block; margin:18px auto 0; border:0; background:transparent; color:var(--primary-orange); font-size:10px; font-weight:750; cursor:pointer; }

@media (max-width:900px) { .profile-sidebar { display:grid; grid-template-columns:1fr; } }

.security-modal-backdrop {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 15, 35, .62);
  backdrop-filter: blur(7px);
  animation: security-backdrop-in .18s ease-out;
}
.security-modal {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(8,15,35,.28);
  animation: security-modal-in .22s ease-out;
}
.security-modal-header {
  display: grid;
  grid-template-columns: 52px minmax(0,1fr) 36px;
  align-items: center;
  gap: 15px;
  padding: 24px 26px 20px;
  border-bottom: 1px solid #edf1f6;
  background: linear-gradient(145deg,#fff 50%,#fff7ed);
}
.security-modal-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg,#ffedd5,#fff7ed);
  color: var(--primary-orange);
  font-size: 23px;
  box-shadow: inset 0 0 0 1px #fed7aa;
}
.security-modal-header .eyebrow { margin: 0 0 4px; font-size: 9px; }
.security-modal-header h2 { margin: 0; color: var(--text-main); font-size: 21px; letter-spacing: -.35px; }
.security-modal-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  transition: .16s ease;
}
.security-modal-close:hover { border-color:#fdba74; color:var(--primary-orange); transform:rotate(4deg); }
.security-modal-body { padding: 25px 26px; }
.authenticator-setup-layout { display:grid; grid-template-columns:230px minmax(0,1fr); align-items:start; gap:28px; }
.security-qr-wrap { padding:16px; border:1px solid #e6eaf0; border-radius:18px; background:#f8fafc; text-align:center; }
.security-qr-wrap .security-qr { width:190px; margin:0 auto 12px; border:0; box-shadow:none; }
.security-qr-wrap > span { display:inline-flex; align-items:center; gap:6px; color:#64748b; font-size:10px; font-weight:700; }
.security-setup-content { display:flex; min-width:0; flex-direction:column; gap:13px; }
.security-step { display:flex; align-items:flex-start; gap:10px; }
.security-step b { display:grid; width:24px; height:24px; flex:0 0 24px; place-items:center; border-radius:50%; background:#fff2e8; color:var(--primary-orange); font-size:10px; }
.security-step p { margin:2px 0 0; color:#475569; font-size:11px; line-height:1.55; }
.security-setup-content details { font-size:10px; }
.security-setup-content summary { color:#64748b; font-weight:700; cursor:pointer; }
.security-setup-content code { display:block; margin-top:8px; overflow-wrap:anywhere; padding:10px; border-radius:9px; background:#f1f5f9; color:#0f172a; font-size:10px; }
.security-code-field { display:block; }
.security-code-field > span { display:block; margin-bottom:7px; color:#334155; font-size:10px; font-weight:800; }
.security-code-field .security-code-input {
  width:100%;
  height:55px;
  margin:0;
  padding:0 13px;
  border:1px solid #dbe2ea;
  border-radius:12px;
  background:#f8fafc;
  color:#111827;
  outline:0;
  text-align:center;
  font-size:23px;
  font-weight:850;
  letter-spacing:9px;
}
.security-code-field .security-code-input:focus { border-color:var(--primary-orange); background:#fff; box-shadow:0 0 0 4px var(--primary-orange-light); }
.security-code-flow { width:min(100%,430px); margin-inline:auto; text-align:center; }
.security-code-illustration { display:grid; width:76px; height:76px; margin:0 auto 18px; place-items:center; border-radius:24px; background:linear-gradient(145deg,#fff2e8,#ffedd5); color:var(--primary-orange); font-size:32px; box-shadow:0 13px 30px rgba(249,115,22,.12); }
.security-code-illustration.danger { background:linear-gradient(145deg,#fff1f2,#ffe4e6); color:#dc2626; box-shadow:0 13px 30px rgba(220,38,38,.1); }
.security-code-flow > p { margin:0 auto 20px; color:#64748b; font-size:12px; line-height:1.6; }
.security-code-flow > small { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:12px; color:#94a3b8; font-size:9px; }
.security-modal-footer { display:flex; justify-content:flex-end; gap:10px; padding:17px 26px 23px; border-top:1px solid #edf1f6; }
.security-modal-footer button { min-width:128px; min-height:43px; border-radius:11px; }
.security-modal-footer .danger-button { border:1px solid #fecaca; background:#fff1f2; color:#c81e1e; font:inherit; font-size:11px; font-weight:800; cursor:pointer; }
.security-modal-footer .danger-button:hover { border-color:#ef4444; background:#dc2626; color:#fff; box-shadow:0 8px 20px rgba(220,38,38,.18); }
.security-modal-footer button:disabled { opacity:.48; cursor:not-allowed; box-shadow:none; }
.security-modal-feedback { margin:0 26px 22px; }
@keyframes security-backdrop-in { from { opacity:0; } to { opacity:1; } }
@keyframes security-modal-in { from { opacity:0; transform:translateY(16px) scale(.98); } to { opacity:1; transform:none; } }

@media (max-width:640px) {
  .security-modal-backdrop { align-items:end; padding:10px; }
  .security-modal { max-height:calc(100vh - 20px); border-radius:20px; }
  .security-modal-header { grid-template-columns:44px minmax(0,1fr) 34px; gap:11px; padding:18px; }
  .security-modal-icon { width:44px; height:44px; border-radius:14px; font-size:20px; }
  .security-modal-header h2 { font-size:17px; }
  .security-modal-body { padding:20px 18px; }
  .authenticator-setup-layout { grid-template-columns:1fr; gap:18px; }
  .security-qr-wrap { width:230px; max-width:100%; margin-inline:auto; }
  .security-modal-footer { padding:15px 18px 18px; }
  .security-modal-footer button { min-width:0; flex:1; }
}
