:root {
  --wulkan-orange: #ff4b00;
  --wulkan-orange-dark: #d83b00;
  --wulkan-orange-soft: #fff1eb;
  --wulkan-orange-ring: rgba(255, 75, 0, 0.16);
  --wulkan-black: #101010;
  --wulkan-ink: #1a1a1a;
  --wulkan-charcoal: #292b2e;
  --wulkan-muted: #7b8494;
  --wulkan-line: #edf0f5;
  --wulkan-soft: #f5f6fa;
  --wulkan-panel: #ffffff;
  --dash-bluegray: #f8f9fc;
  --dash-sidebar: #ffffff;
  --dash-text: #202224;
  --shadow-soft: 0 12px 34px rgba(17, 24, 39, 0.06);
  --bs-primary: var(--wulkan-orange);
  --bs-primary-rgb: 255, 75, 0;
  --bs-link-color: var(--wulkan-orange);
  --bs-link-hover-color: var(--wulkan-orange-dark);
}

body {
  margin: 0;
  background: var(--wulkan-soft);
  color: var(--dash-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--wulkan-orange);
  --bs-btn-border-color: var(--wulkan-orange);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--wulkan-orange-dark);
  --bs-btn-hover-border-color: var(--wulkan-orange-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #b93400;
  --bs-btn-active-border-color: #b93400;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #ffb39a;
  --bs-btn-disabled-border-color: #ffb39a;
  font-weight: 800;
}

.btn-outline-primary {
  --bs-btn-color: var(--wulkan-orange);
  --bs-btn-border-color: rgba(255, 75, 0, 0.42);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--wulkan-orange);
  --bs-btn-hover-border-color: var(--wulkan-orange);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--wulkan-orange-dark);
  --bs-btn-active-border-color: var(--wulkan-orange-dark);
}

.text-primary {
  color: var(--wulkan-orange) !important;
}

.bg-primary,
.text-bg-primary {
  background-color: var(--wulkan-orange) !important;
}

.link-primary {
  color: var(--wulkan-orange) !important;
}

.link-primary:hover,
.link-primary:focus {
  color: var(--wulkan-orange-dark) !important;
}

.app-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 198px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  min-height: 0;
  flex-direction: column;
  gap: 11px;
  border-right: 1px solid var(--wulkan-line);
  background: var(--dash-sidebar);
  overflow: hidden;
  padding: 14px 10px;
  box-shadow: 10px 0 30px rgba(17, 24, 39, 0.025);
}

.sidebar-nav {
  flex: 1 1 auto;
  flex-wrap: nowrap;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  padding-right: 5px;
  scrollbar-color: rgba(255, 75, 0, 0.72) var(--wulkan-orange-soft);
  scrollbar-gutter: stable;
  scrollbar-width: auto;
}

.sidebar-nav::-webkit-scrollbar {
  width: 9px;
}

.sidebar-nav::-webkit-scrollbar-track {
  border-radius: 999px;
  background: var(--wulkan-orange-soft);
}

.sidebar-nav::-webkit-scrollbar-thumb {
  border: 2px solid var(--wulkan-orange-soft);
  border-radius: 999px;
  background: rgba(255, 75, 0, 0.78);
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: var(--wulkan-orange);
}

.brand-box,
.company-card,
.top-actions,
.user-pill,
.hero-status,
.metric-icon {
  display: flex;
  align-items: center;
}

.brand-box span,
.company-card small,
.topbar span,
.page-heading p {
  color: var(--wulkan-muted);
  font-size: 12px;
}

.brand-mark,
.company-avatar,
.metric-icon {
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  background: var(--wulkan-orange);
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 75, 0, 0.18);
}

.company-card {
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--wulkan-orange-soft), #ffffff);
  margin-top: 2px;
  padding: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 75, 0, 0.16);
}

.company-card strong {
  display: block;
  color: var(--wulkan-black);
  font-size: 12px;
  font-weight: 800;
}

.company-avatar {
  width: 28px;
  height: 28px;
  background: var(--wulkan-black);
  color: #fff;
  font-weight: 850;
}

.nav-section {
  margin: 0 10px 4px;
  color: var(--wulkan-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-group {
  margin-top: 4px;
}

.nav-group[open] {
  padding-bottom: 3px;
}

.nav-group summary {
  list-style: none;
}

.nav-group summary::-webkit-details-marker {
  display: none;
}

.nav-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 2px 4px;
  border-radius: 10px;
  color: #7a8391;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.02em;
  padding: 8px 8px;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-group-title span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-group-title i {
  color: #9aa2af;
  font-size: 14px;
}

.nav-group-title:hover,
.nav-group[open] > .nav-group-title {
  background: #fff6f2;
  color: var(--dash-text);
}

.nav-group[open] > .nav-group-title .nav-group-caret {
  transform: rotate(180deg);
}

.nav-group-caret {
  transition: transform 0.18s ease;
}

.nav-submenu {
  display: grid;
  gap: 2px;
  margin: 1px 0 5px;
  padding-left: 7px;
}

.sidebar .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 10px;
  color: #5f6673;
  font-size: 13px;
  font-weight: 750;
  padding: 9px 11px;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.sidebar .nav-sub-link {
  font-size: 12.5px;
  padding-left: 10px;
}

.sidebar .nav-link i {
  width: 18px;
  flex: 0 0 18px;
  color: #9aa2af;
  font-size: 15px;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background: var(--wulkan-orange-soft);
  color: var(--wulkan-orange);
  transform: translateX(2px);
}

.sidebar .nav-link.active::before {
  position: absolute;
  left: -12px;
  top: 7px;
  width: 5px;
  height: 25px;
  border-radius: 0 999px 999px 0;
  background: var(--wulkan-orange);
  content: "";
}

.sidebar .nav-link.active i {
  color: var(--wulkan-orange);
}

.module-tabs {
  display: flex;
  width: min(100%, 1248px);
  gap: 8px;
  overflow-x: auto;
  border-radius: 16px;
  background: #fff;
  padding: 8px;
  box-shadow: var(--shadow-soft);
}

.module-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #5f6673;
  font-weight: 850;
  padding: 9px 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.module-tab i {
  color: #9aa2af;
}

.module-tab:hover,
.module-tab.active {
  border-color: rgba(255, 75, 0, 0.18);
  background: var(--wulkan-orange-soft);
  color: var(--wulkan-orange);
}

.module-tab:hover i,
.module-tab.active i {
  color: var(--wulkan-orange);
}

.template-help {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.template-help > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 10px;
  border: 1px solid var(--wulkan-line);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
}

.template-help i {
  grid-row: span 2;
  color: var(--wulkan-orange);
  font-size: 22px;
}

.template-help strong,
.template-card h2 {
  color: var(--wulkan-black);
  font-weight: 900;
}

.template-help span,
.template-card p,
.template-meta {
  color: var(--wulkan-muted);
}

.section-label {
  width: min(100%, 1248px);
  margin: 0 auto 10px;
  color: #7a8391;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.template-grid {
  display: grid;
  width: min(100%, 1248px);
  margin: 0 auto;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.template-card {
  display: grid;
  gap: 14px;
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.template-card-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.template-card h2 {
  margin: 0 0 4px;
  font-size: 17px;
}

.template-card p {
  margin: 0;
  line-height: 1.45;
}

.template-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: var(--wulkan-orange-soft);
  color: var(--wulkan-orange);
  font-size: 20px;
}

.template-meta,
.template-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.template-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: #f8f9fa;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.template-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.template-columns code {
  border: 1px solid var(--wulkan-line);
  border-radius: 999px;
  background: #f8f9fa;
  color: var(--wulkan-black);
  padding: 4px 8px;
}

.bulk-result {
  width: min(100%, 1248px);
  margin: 0 auto 16px;
}

.bulk-result-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.bulk-result-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.bulk-result-grid > div {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.56);
  padding: 10px 12px;
}

.bulk-result-grid strong {
  display: block;
  margin-bottom: 6px;
}

.bulk-result-grid ul {
  margin: 0;
  padding-left: 16px;
}

.bulk-result-grid li {
  margin-bottom: 3px;
}

.bulk-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.content {
  padding: 0 16px 24px;
  min-width: 0;
}

.content > .page-heading,
.content > section,
.content > .panel {
  width: min(100%, 1248px);
  margin-left: auto;
  margin-right: auto;
}

.topbar.app-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border-bottom: 1px solid var(--wulkan-line);
  background: rgba(245, 246, 250, 0.92);
  backdrop-filter: blur(16px);
}

.topbar strong {
  display: block;
  color: var(--dash-text);
  font-size: 12px;
  font-weight: 850;
}

.module-search {
  display: grid;
  grid-template-columns: 30px minmax(190px, 320px) auto auto;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border: 0;
  border-radius: 999px;
  background: #f8f9fa;
  padding: 3px 4px 3px 10px;
  margin: 0 0 12px;
  box-shadow: inset 0 0 0 1px var(--wulkan-line);
}

.module-search i {
  color: #a0a8b5;
  font-size: 15px;
}

.module-search input {
  min-height: 31px;
  border: 0;
  background: transparent;
  outline: 0;
  font-size: 13px;
}

.module-search .btn {
  border-radius: 999px;
  padding: 5px 12px;
}

.top-actions {
  justify-content: flex-end;
  gap: 6px;
}

.icon-btn,
.user-pill {
  min-height: 31px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--wulkan-black);
  box-shadow: 0 8px 26px rgba(17, 24, 39, 0.04);
}

.icon-btn {
  display: grid;
  width: 33px;
  place-items: center;
}

.user-pill {
  gap: 6px;
  padding: 0 9px;
  font-weight: 800;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  margin-bottom: 12px;
}

.page-heading h1 {
  margin: 0;
  color: var(--dash-text);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 0;
}

.page-heading p {
  margin: 5px 0 0;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 22px;
  align-items: center;
  min-height: 218px;
  margin-bottom: 20px;
  border: 0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.22), transparent 23%),
    linear-gradient(120deg, #151515 0%, #2a1c16 54%, var(--wulkan-orange) 100%);
  color: #fff;
  padding: 30px 34px;
  box-shadow: 0 20px 44px rgba(255, 75, 0, 0.14);
}

.hero-copy h2 {
  margin: 14px 0 6px;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--wulkan-orange);
  font-size: 12px;
  font-weight: 850;
  padding: 4px 10px;
}

.hero-status {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  padding: 16px;
}

.hero-status span,
.hero-status small {
  color: rgba(255, 255, 255, 0.78);
}

.hero-status strong {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.hero-status .progress {
  height: 7px;
  background: rgba(255, 255, 255, 0.32);
}

.hero-status .progress-bar {
  background: var(--wulkan-orange);
}

.metric-card,
.panel {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: var(--wulkan-panel);
  box-shadow: var(--shadow-soft);
}

.metric-card {
  display: grid;
  min-height: 92px;
  gap: 2px;
  padding: 12px;
}

.dashboard-metrics {
  margin-top: 0;
  margin-bottom: 12px;
}

.dashboard-section {
  margin-bottom: 4px;
}

.dashboard-filters {
  margin-bottom: 14px;
  padding: 16px;
}

.dashboard-filter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.dashboard-filter-head h2 {
  margin: 0 0 3px;
  color: var(--wulkan-black);
  font-size: 16px;
  font-weight: 900;
}

.dashboard-filter-head span,
.dashboard-filter-grid label > span {
  color: var(--wulkan-muted);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-filter-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
}

.dashboard-filter-grid label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.metric-card::after {
  display: none;
}

.metric-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--wulkan-orange-soft);
  color: var(--wulkan-orange);
  font-size: 15px;
}

.metric-card span {
  color: var(--wulkan-muted);
  font-size: 12px;
  font-weight: 700;
}

.metric-card strong {
  color: var(--dash-text);
  font-size: 20px;
  font-weight: 900;
}

.metric-card em {
  position: absolute;
  top: 12px;
  right: 10px;
  z-index: 1;
  border-radius: 999px;
  background: #f4f6fa;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  padding: 4px 8px;
  color: var(--wulkan-muted);
}

.metric-stock em,
.metric-active em {
  background: var(--wulkan-orange-soft);
  color: var(--wulkan-orange);
}

.metric-danger .metric-icon {
  background: #f8d7da;
  color: #dc3545;
}

.metric-danger em {
  background: #f8d7da;
  color: #b02a37;
}

.metric-warning .metric-icon {
  background: #fff3cd;
  color: #b58100;
}

.metric-warning em {
  background: #fff3cd;
  color: #7a5b00;
}

.metric-sales em,
.metric-ads em {
  background: #f4f6fa;
  color: var(--wulkan-charcoal);
}

.dashboard-chart {
  min-height: 206px;
}

.panel {
  padding: 15px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.panel-header h2 {
  margin: 0;
  color: var(--wulkan-black);
  font-size: 16px;
  font-weight: 900;
}

.panel-header span {
  color: var(--wulkan-muted);
  font-size: 12px;
  font-weight: 700;
}

.table {
  --bs-table-bg: transparent;
  margin-bottom: 0;
}

.table thead th {
  border-bottom: 1px solid var(--wulkan-line);
  color: #7f8794;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
  padding-top: 9px;
  padding-bottom: 9px;
}

.table tbody td {
  border-color: var(--wulkan-line);
  padding-top: 11px;
  padding-bottom: 11px;
  color: #3f4652;
}

.form-control,
.form-select {
  border-color: var(--wulkan-line);
  border-radius: 10px;
  min-height: 36px;
  font-size: 13px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(255, 75, 0, 0.45);
  box-shadow: 0 0 0 0.2rem var(--wulkan-orange-ring);
}

.input-group [data-password-toggle] {
  min-width: 44px;
  border-color: var(--wulkan-line);
  color: #6c757d;
}

.input-group [data-password-toggle]:hover,
.input-group [data-password-toggle]:focus {
  border-color: rgba(255, 75, 0, 0.38);
  background: #f8f9fa;
  color: var(--wulkan-orange);
}

.btn {
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
}

.btn-light {
  border: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.category-panel {
  padding: 20px;
}

.category-table tbody td {
  vertical-align: middle;
}

.category-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.category-cell strong {
  display: block;
  color: var(--dash-text);
  font-weight: 900;
}

.category-cell small {
  display: block;
  color: var(--wulkan-muted);
  font-size: 12px;
}

.category-thumb {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 75, 0, 0.16), transparent 35%),
    var(--wulkan-orange-soft);
  color: var(--wulkan-orange);
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-thumb i {
  font-size: 22px;
}

.admin-user-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  align-items: center;
  gap: 12px;
  width: min(100%, 1248px);
  margin: 0 auto 14px;
}

.admin-user-notice strong,
.admin-user-notice span {
  display: block;
}

.admin-temp-password .form-control {
  font-weight: 850;
  letter-spacing: 0.04em;
}

.admin-users-table {
  min-width: 1120px;
}

.client-filter-panel {
  padding: 16px;
}

.client-table {
  min-width: 1320px;
}

.client-form-stack {
  display: grid;
  gap: 14px;
}

.form-section {
  border: 1px solid var(--wulkan-line);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.form-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.form-section-head strong,
.form-section-head h3,
.client-detail-title {
  color: var(--dash-text);
  font-size: 14px;
  font-weight: 900;
  margin: 0;
}

.form-section-head span,
.form-section-head p {
  color: var(--wulkan-muted);
  font-size: 12px;
  font-weight: 700;
  margin: 0;
}

.client-detail-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-detail-card {
  border: 1px solid var(--wulkan-line);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.client-detail-card span,
.client-detail-card small {
  display: block;
  color: var(--wulkan-muted);
  font-weight: 700;
}

.client-detail-card strong {
  display: block;
  margin: 4px 0;
  color: var(--dash-text);
  font-size: 18px;
  font-weight: 950;
}

.client-detail-title {
  margin: 0 0 8px;
}

.client-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.seller-filter-panel {
  border: 1px solid rgba(13, 110, 253, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  padding: 14px;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.05);
}

.seller-filter-panel .form-label {
  color: var(--wulkan-muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.seller-panel,
.seller-chart {
  overflow: hidden;
}

.seller-table {
  min-width: 1120px;
}

.seller-table th {
  color: var(--wulkan-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.seller-table td {
  border-color: var(--wulkan-line);
  padding-block: 14px;
}

.seller-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
}

.seller-cell strong {
  display: block;
  color: var(--wulkan-black);
  font-weight: 950;
}

.seller-cell small {
  display: block;
  max-width: 320px;
  overflow: hidden;
  color: var(--wulkan-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-avatar,
.seller-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background: #fff3ed;
  color: var(--wulkan-orange);
  font-weight: 950;
}

.seller-rank {
  width: auto;
  height: auto;
  min-width: 42px;
  padding: 8px 10px;
  border-radius: 999px;
}

.seller-goal-cell {
  min-width: 190px;
}

.seller-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0f5;
}

.seller-progress .progress-bar {
  background: var(--wulkan-orange);
}

.seller-form-stack {
  display: grid;
  gap: 14px;
}

.seller-access-switch {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--wulkan-line);
  border-radius: 12px;
  padding: 9px 12px;
}

.seller-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.seller-detail-card {
  border: 1px solid var(--wulkan-line);
  border-radius: 16px;
  background: #fff;
  padding: 14px;
}

.seller-detail-card span,
.seller-detail-card small {
  display: block;
  color: var(--wulkan-muted);
  font-weight: 750;
}

.seller-detail-card strong {
  display: block;
  margin: 6px 0 3px;
  color: var(--wulkan-black);
  font-size: 20px;
  font-weight: 950;
}

.seller-modal-panel {
  height: 100%;
  box-shadow: none;
}

.seller-mini-list {
  display: grid;
  gap: 9px;
}

.seller-mini-list > div {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(170px, 1.2fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--wulkan-line);
  border-radius: 14px;
  background: #fff;
  padding: 10px 12px;
}

.seller-mini-list strong {
  color: var(--wulkan-black);
  font-weight: 900;
}

.seller-mini-list span {
  color: var(--wulkan-muted);
  font-size: 12px;
  font-weight: 700;
}

.seller-mini-list em {
  color: var(--wulkan-black);
  font-style: normal;
  font-weight: 900;
}

.seller-notes {
  border: 1px solid var(--wulkan-line);
  border-radius: 14px;
  background: #f8f9fb;
  color: var(--wulkan-muted);
  padding: 10px 12px;
  font-weight: 700;
}

.permission-legend-panel,
.permission-panel {
  padding: 16px;
}

.permission-action-grid,
.permission-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.permission-action-chip,
.permission-mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--wulkan-line);
  border-radius: 999px;
  background: #fff;
  color: #49505c;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.permission-action-chip {
  padding: 8px 10px;
}

.permission-action-chip i,
.permission-mini-chip i {
  color: var(--wulkan-orange);
}

.permission-table-wrap {
  max-height: calc(100vh - 380px);
  overflow: auto;
}

.permission-table {
  min-width: 1640px;
}

.permission-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--wulkan-panel);
}

.permission-table thead th:first-child,
.permission-table tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  background: var(--wulkan-panel);
}

.permission-table tbody td {
  vertical-align: top;
}

.permission-module-cell {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  min-width: 300px;
}

.permission-module-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--wulkan-orange-soft);
  color: var(--wulkan-orange);
  font-size: 18px;
}

.permission-module-cell strong,
.permission-module-cell small {
  display: block;
}

.permission-module-cell strong {
  color: var(--dash-text);
  font-weight: 900;
}

.permission-module-cell small {
  color: var(--wulkan-muted);
  font-size: 12px;
}

.permission-mini-chip {
  padding: 5px 7px;
}

.announcement-thumb {
  width: 72px;
  border-radius: 12px;
}

.audit-panel {
  padding: 16px;
}

.audit-filter-panel {
  padding: 16px;
}

.audit-filter-panel .form-label {
  color: var(--wulkan-muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

.audit-filter-panel .input-group-text {
  background: #fff;
  border-color: var(--wulkan-line);
  color: var(--bs-secondary-color);
}

.audit-table {
  min-width: 960px;
}

.audit-table td:first-child {
  width: 150px;
}

.audit-table td:nth-child(2),
.audit-table td:nth-child(3) {
  width: 190px;
}

.audit-detail {
  max-width: 430px;
  color: var(--wulkan-charcoal);
  font-weight: 650;
}

.audit-snapshot {
  border: 1px solid var(--wulkan-line);
  border-radius: 12px;
  background: #f8fafc;
  padding: 8px 10px;
}

.audit-snapshot summary {
  cursor: pointer;
  color: var(--wulkan-orange);
  font-size: 12px;
  font-weight: 800;
}

.audit-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.audit-snapshot-grid strong {
  color: var(--wulkan-charcoal);
  display: block;
  font-size: 11px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.audit-snapshot-grid pre {
  background: #111827;
  border-radius: 10px;
  color: #f8fafc;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
  max-height: 220px;
  overflow: auto;
  padding: 10px;
  white-space: pre-wrap;
  word-break: break-word;
}

.audit-graphify-value {
  font-size: 17px !important;
  white-space: nowrap;
}

.media-summary {
  width: min(100%, 1248px);
  margin: 0 auto 12px;
}

.media-panel {
  padding: 20px;
}

.media-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.media-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--wulkan-line);
  border-radius: 999px;
  background: #fff;
  color: var(--wulkan-muted);
  font-size: 12px;
  font-weight: 850;
  padding: 7px 12px;
}

.media-filter.active {
  border-color: var(--wulkan-black);
  background: var(--wulkan-black);
  color: #fff;
}

.media-table tbody td {
  vertical-align: middle;
}

.media-resource {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
}

.media-resource strong {
  display: block;
  color: var(--wulkan-black);
  font-weight: 900;
}

.media-resource small {
  display: block;
  max-width: 360px;
  overflow: hidden;
  color: var(--wulkan-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-preview {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 75, 0, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 75, 0, 0.16), transparent 34%),
    var(--wulkan-orange-soft);
  color: var(--wulkan-orange);
}

.media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-preview i {
  font-size: 24px;
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 1px dashed rgba(255, 75, 0, 0.24);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--wulkan-orange-soft), #fff);
  padding: 28px 16px;
  text-align: center;
}

.empty-state strong {
  color: var(--wulkan-black);
  font-size: 15px;
  font-weight: 900;
}

.empty-state span {
  max-width: 420px;
  color: var(--wulkan-muted);
}

.empty-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: var(--wulkan-orange);
  color: #fff;
  box-shadow: 0 14px 28px rgba(255, 75, 0, 0.18);
}

.empty-icon i {
  font-size: 22px;
}

.stock-summary {
  width: min(100%, 1248px);
  margin: 0 auto 12px;
}

.stock-panel {
  padding: 20px;
}

.stock-table tbody td {
  vertical-align: middle;
}

.stock-product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
}

.stock-product strong {
  display: block;
  color: var(--wulkan-black);
  font-weight: 900;
}

.stock-product small {
  display: block;
  color: var(--wulkan-muted);
  font-size: 11px;
}

.stock-thumb {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 74% 20%, rgba(255, 75, 0, 0.16), transparent 36%),
    var(--wulkan-orange-soft);
  color: var(--wulkan-orange);
}

.stock-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stock-thumb i {
  font-size: 22px;
}

.stock-number {
  color: var(--wulkan-black);
  font-size: 18px;
  font-weight: 950;
}

.stock-rotation {
  width: min(170px, 100%);
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #eeeeee;
}

.stock-rotation span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--wulkan-orange);
}

.credit-track {
  width: min(180px, 100%);
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef1f6;
}

.credit-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--wulkan-orange);
}

.stock-feed {
  display: grid;
  gap: 10px;
}

.stock-feed-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--wulkan-line);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
}

.stock-feed-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--wulkan-orange-soft);
  color: var(--wulkan-orange);
}

.stock-feed-item strong {
  display: block;
  color: var(--wulkan-black);
  font-weight: 900;
}

.stock-feed-item small {
  display: block;
  overflow: hidden;
  color: var(--wulkan-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stock-feed-item > span {
  color: var(--wulkan-black);
  font-weight: 950;
}

.empty-state.compact {
  padding: 18px 12px;
}

.catalog-product {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 360px;
}

.catalog-product strong {
  display: block;
  color: var(--wulkan-black);
  font-weight: 900;
}

.catalog-product small {
  display: block;
  max-width: 420px;
  overflow: hidden;
  color: var(--wulkan-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sku-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--wulkan-black);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 6px 8px;
  white-space: nowrap;
}

.product-form {
  display: grid;
  width: min(100%, 1248px);
  margin: 0 auto;
  gap: 12px;
}

.product-form-panel {
  height: 100%;
  padding: 20px;
}

.product-form-panel textarea {
  resize: vertical;
}

.product-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border: 1px solid var(--wulkan-line);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
}

.product-form-actions {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--wulkan-line);
  background: rgba(245, 246, 250, 0.9);
  padding: 12px 0 0;
  backdrop-filter: blur(12px);
}

.modal-content {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.18);
}

.modal-header,
.modal-footer {
  border-color: var(--wulkan-line);
}

.modal-title {
  font-weight: 900;
}

.detail-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--wulkan-line);
  padding-bottom: 8px;
}

.detail-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-list dt {
  color: var(--wulkan-muted);
}

.detail-list dd {
  margin: 0;
  color: var(--wulkan-black);
  font-weight: 850;
}

.graphify-bars {
  display: grid;
  gap: 8px;
}

.graphify-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
}

.graphify-label {
  color: var(--wulkan-muted);
  font-size: 11px;
  font-weight: 700;
}

.graphify-track {
  height: 11px;
  overflow: hidden;
  border-radius: 99px;
  background: #eeeeee;
}

.graphify-value {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--wulkan-orange);
}

.login-body {
  --wulkan-orange: #ff4b00;
  --wulkan-orange-dark: #d83b00;
  --wulkan-black: #090909;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 75, 0, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8f8f8 58%, #eeeeee 100%);
}

.login-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px 18px;
  isolation: isolate;
}

.login-bg-logo {
  position: absolute;
  top: 49%;
  left: 50%;
  z-index: -2;
  width: min(760px, 78vw);
  height: auto;
  opacity: 0.07;
  filter: grayscale(1) contrast(1.25);
  transform: translate(-50%, -53%);
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0 42%, rgba(0, 0, 0, 0.72) 58%, transparent 82%);
  mask-image: radial-gradient(ellipse at center, #000 0 42%, rgba(0, 0, 0, 0.72) 58%, transparent 82%);
}

.login-aura {
  position: absolute;
  top: 46%;
  left: 50%;
  z-index: -1;
  width: min(620px, 76vw);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 75, 0, 0.22) 0%, rgba(255, 75, 0, 0.09) 33%, rgba(255, 75, 0, 0.03) 52%, transparent 72%);
  filter: blur(18px);
  transform: translate(-50%, -54%);
  pointer-events: none;
}

.login-center {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(374px, 100%);
  justify-items: center;
}

.login-card {
  width: 100%;
  border: 1px solid var(--wulkan-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 80px rgba(9, 9, 9, 0.14);
  padding: 18px;
  backdrop-filter: blur(18px);
}

.login-card-logo {
  display: grid;
  justify-items: center;
  margin: 0 0 14px;
  border: 1px solid rgba(255, 75, 0, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 75, 0, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72));
  padding: 18px 18px 16px;
}

.login-card-logo img {
  width: min(295px, 100%);
  height: auto;
  object-fit: contain;
}

.login-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #fff0eb;
  color: var(--wulkan-orange);
  font-size: 11px;
  font-weight: 950;
  padding: 6px 9px;
}

.login-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.login-card-head h2 {
  margin: 0;
  color: var(--wulkan-black);
  font-size: 20px;
  font-weight: 950;
}

.login-card-head p {
  margin: 2px 0 0;
  color: var(--wulkan-muted);
}

.login-card .form-control,
.login-card .input-group-text {
  min-height: 42px;
  border-color: var(--wulkan-line);
}

.login-card .input-group-text {
  background: #fff6f2;
  color: var(--wulkan-orange);
}

.login-card [data-password-toggle] {
  min-height: 42px;
  background: #fff;
}

.login-card .btn-primary {
  border: 0;
  background: var(--wulkan-orange);
  font-weight: 950;
}

.login-card .btn-primary:hover {
  background: var(--wulkan-orange-dark);
}

.login-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.login-meta span {
  border-radius: 999px;
  background: #fff0eb;
  color: var(--wulkan-orange);
  font-size: 11px;
  font-weight: 850;
  padding: 6px 9px;
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .sidebar-nav {
    max-height: 260px;
  }

  .topbar.app-topbar,
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .top-actions {
    justify-content: flex-start;
  }

  .template-help,
  .template-grid,
  .bulk-result-grid,
  .dashboard-filter-grid,
  .admin-user-notice,
  .client-detail-grid,
  .seller-detail-grid {
    grid-template-columns: 1fr;
  }

  .seller-mini-list > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .content {
    padding: 0 14px 22px;
  }

  .hero-panel {
    border-radius: 16px;
    padding: 22px;
  }

  .hero-copy h2 {
    font-size: 28px;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-filter-head {
    flex-direction: column;
  }

  .login-shell {
    padding: 24px 14px;
  }

  .login-bg-logo {
    width: 105vw;
    opacity: 0.05;
  }

  .login-card {
    border-radius: 18px;
    padding: 20px;
  }

  .login-card-logo {
    padding: 18px 14px 16px;
  }
}
