:root {
  --erp-sidebar-width: 250px;
  --erp-sidebar-collapsed-width: 58px;
  --erp-header-height: 58px;
  /* ERP radius system:
   * - 0.2rem for badges, buttons, progress bars and compact controls
   * - 0.4rem for cards, tables, widgets and panel surfaces
   */
  --erp-radius-sm: 0.2rem;
  --erp-radius: 0.4rem;
  --erp-radius-pill: 999px;
  --erp-surface-bg: #343a40;
  --erp-surface-elevated: #3a4047;
  --erp-surface-contrast: #2d3238;
  --erp-surface-header: #40464d;
  --erp-card-header-bg: #3b4148;
  --erp-surface-stripe: #3b4148;
  --erp-surface-hover: #464d55;
  --erp-surface-hover-strong: #4f5760;
  --erp-border-color: #58606a;
  --erp-border-color-strong: #69727d;
  --erp-surface-text: #e5e7eb;
  --erp-surface-text-muted: #b5bec8;
  --erp-surface-heading: #f5f6f7;
  --erp-control-bg: #2d3238;
  --erp-control-text: #eef2f5;
  --erp-focus-ring: rgba(148, 163, 184, 0.22);
  --erp-menu-bg: #252a2f;
  --erp-menu-bg-strong: #1f2327;
  --erp-menu-bg-soft: #2b3035;
  --erp-menu-bg-hover: #353a40;
  --erp-menu-bg-open: #30363b;
  --erp-menu-bg-active: #1d2024;
  --erp-menu-border: rgba(255, 255, 255, 0.08);
  --erp-menu-border-strong: rgba(255, 255, 255, 0.13);
  --erp-menu-text: #d9dde1;
  --erp-menu-text-muted: #989fa6;
  --erp-menu-text-strong: #f7f7f7;
  --erp-menu-accent: #c4c7ca;
  --erp-menu-success-light: #b8e6c3;
  --erp-menu-badge-bg: #d9534f;
  --erp-menu-badge-text: #ffffff;
  --erp-sr-body-bg-dark: var(--erp-surface-bg);
  --erp-sr-header-bg-dark: var(--erp-surface-header);
  --erp-dark-1: #252a2f;
  --erp-dark-2: #2d3238;
  --erp-dark-3: var(--erp-surface-bg);
  --erp-dark-4: var(--erp-surface-elevated);
  --erp-text-dark: var(--erp-surface-text);
  --erp-text-muted: var(--erp-surface-text-muted);
}

[data-bs-theme="light"] {
  --erp-surface-bg: #ffffff;
  --erp-surface-elevated: #f6f7f8;
  --erp-surface-contrast: #eef0f2;
  --erp-surface-header: #e4e7ea;
  --erp-card-header-bg: #d8dde3;
  --erp-surface-stripe: #f1f3f5;
  --erp-surface-hover: #e7eaed;
  --erp-surface-hover-strong: #dde1e5;
  --erp-border-color: #cbd2d9;
  --erp-border-color-strong: #bcc4cc;
  --erp-surface-text: #20262d;
  --erp-surface-text-muted: #67707b;
  --erp-surface-heading: #111827;
  --erp-control-bg: #ffffff;
  --erp-control-text: #20262d;
  --erp-focus-ring: rgba(148, 163, 184, 0.18);
}

body {
  min-height: 100vh;
  background: #2f343b;
  color: var(--erp-text-dark);
  font-family: "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body,
button,
input,
select,
textarea,
optgroup,
option,
table,
.dataTables_wrapper,
.dropdown-menu,
.modal,
.popover,
.tooltip {
  font-family: "Segoe UI", sans-serif !important;
}

body :not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.bi):not(.ti):not([class^="fa-"]):not([class*=" fa-"]):not([class^="bi-"]):not([class*=" bi-"]):not([class^="ti-"]):not([class*=" ti-"]) {
  font-family: "Segoe UI", sans-serif !important;
}

[data-bs-theme="light"] body {
  background: #eef1f5;
  color: #142033;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.erp-body-shell {
  overflow-x: hidden;
}

.erp-login-page {
  background: linear-gradient(160deg, #2a2f36 0%, #1f252b 52%, #161b20 100%);
}

.erp-login-body {
  min-height: 100vh;
  margin: 0;
}

.erp-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.erp-login-panel {
  width: 100%;
  max-width: 380px;
}

.erp-login-card {
  width: 100%;
}

.erp-login-card .card-body {
  padding: 1.25rem 1.25rem 1.1rem;
}

.card,
.dropdown-menu,
.alert,
.modal-content,
.table-responsive,
.erp-widget-loading,
.erp-widget-empty,
.erp-widget-error,
.erp-widget-alert,
.erp-problem-item,
.erp-outline-card,
.erp-timeline-card,
.erp-retur-loading,
.erp-retur-empty,
.erp-retur-error,
.erp-retur-meta-item {
  border-radius: var(--erp-radius);
}

.btn,
.form-control,
.form-select,
.input-group-text,
.badge,
.progress,
.progress-bar,
.page-link {
  border-radius: var(--erp-radius-sm);
}

.rounded-1,
.rounded-2,
.rounded-3,
.rounded-4,
.rounded-5 {
  border-radius: var(--erp-radius) !important;
}

.rounded-pill {
  border-radius: var(--erp-radius-sm) !important;
}

.card-header,
.card-footer {
  border-radius: 0;
}

.card > .card-header:first-child,
.card > .card-footer:last-child,
.erp-comenzi-legacy-detail .box,
.erp-comenzi-detail-card {
  border-radius: var(--erp-radius) !important;
}

.card > .card-header:first-child {
  border-top-left-radius: calc(var(--erp-radius) - 1px) !important;
  border-top-right-radius: calc(var(--erp-radius) - 1px) !important;
}

.card > .card-footer:last-child {
  border-bottom-left-radius: calc(var(--erp-radius) - 1px) !important;
  border-bottom-right-radius: calc(var(--erp-radius) - 1px) !important;
}

.card-header {
  padding: 0.5rem;
}

.erp-login-page .card {
  border: 0;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  font-weight: 700;
  flex-shrink: 0;
}

.avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 0.82rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
}

.btn-ghost-secondary {
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: transparent;
  color: var(--erp-text-dark);
}

[data-bs-theme="light"] .btn-ghost-secondary {
  color: #334155;
  border-color: rgba(148, 163, 184, 0.35);
}

.subheader {
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--erp-text-muted);
}

[data-bs-theme="light"] .subheader {
  color: #64748b;
}

.text-bg-dark,
.text-bg-secondary,
.text-bg-success,
.text-bg-warning,
.text-bg-danger,
.text-bg-info,
.text-bg-primary {
  color: #fff;
}

.text-bg-dark {
  background-color: #111827;
}

.text-bg-secondary {
  background-color: #6b7280;
}

.text-bg-success {
  background-color: #198754;
}

.text-bg-warning {
  background-color: #f59e0b;
  color: #111827;
}

.text-bg-danger {
  background-color: #dc3545;
}

.text-bg-info {
  background-color: #0ea5e9;
}

.text-bg-primary {
  background-color: #2563eb;
}

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

.erp-main-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--erp-header-height);
  display: flex;
  z-index: 1050;
}

.erp-logo-box {
  width: var(--erp-sidebar-width);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.45rem;
  background: var(--erp-dark-1);
  transition: width 0.18s ease, padding 0.18s ease;
}

body.erp-sidebar-collapsed .erp-logo-box {
  width: var(--erp-sidebar-collapsed-width);
  justify-content: center;
  padding: 0 0.1rem;
}

.erp-header-bar {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem;
  background: var(--erp-dark-3);
}

[data-bs-theme="light"] .erp-logo-box,
[data-bs-theme="light"] .erp-header-bar {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.erp-sidebar {
  position: fixed;
  inset: var(--erp-header-height) auto 0 0;
  width: var(--erp-sidebar-width);
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--erp-menu-bg);
  border-right: 1px solid var(--erp-menu-border);
  overflow: hidden;
  z-index: 1040;
  transition: width 0.18s ease, transform 0.18s ease;
}

body.erp-sidebar-collapsed .erp-sidebar {
  width: var(--erp-sidebar-collapsed-width);
}

[data-bs-theme="light"] .erp-sidebar {
  background: var(--erp-menu-bg);
  border-right: 1px solid rgba(0, 0, 0, 0.18);
}

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

.erp-sidebar-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}

body.erp-sidebar-collapsed .erp-sidebar-logo {
  display: none;
}

.erp-logo-full {
  width: 118px;
  height: auto;
}

.erp-logo-small {
  display: none;
}

body.erp-sidebar-collapsed .erp-logo-full {
  display: none;
}

body.erp-sidebar-collapsed .erp-logo-small {
  display: none;
}

.erp-push-btn,
.erp-sidebar-toggle-btn,
.erp-logo-dashboard-link {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #d0d6dd;
  flex: 0 0 30px;
}

.erp-align-left-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
  height: 14px;
}

.erp-align-left-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.erp-align-left-icon span:nth-child(1) {
  width: 16px;
}

.erp-align-left-icon span:nth-child(2) {
  width: 11px;
}

.erp-align-left-icon span:nth-child(3) {
  width: 16px;
}

.erp-push-btn:hover,
.erp-sidebar-toggle-btn:hover,
.erp-logo-dashboard-link:hover {
  color: #ffffff;
}

.erp-header-title-area {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.erp-header-title-wrap {
  min-width: 0;
}

.erp-topbar-pretitle {
  color: var(--erp-text-muted);
  font-size: 0.7rem !important;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.erp-topbar-title {
  margin: 0.05rem 0 0;
  font-size: 0.7rem !important;
  line-height: 1.15;
  color: #ffffff;
}

[data-bs-theme="light"] .erp-topbar-title {
  color: #0f172a;
}

.erp-debug-panel-host {
  position: relative;
  bottom: auto;
  width: 100%;
  margin-top: auto;
  padding-top: 0.75rem;
  padding-bottom: 0;
  pointer-events: auto;
  z-index: auto;
}

.erp-debug-panel-host:empty {
  display: none;
}

.erp-debug-panel-spacer {
  display: none;
}

.erp-debug-panel {
  margin-top: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(36, 41, 47, 0.94);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.26);
  backdrop-filter: blur(14px);
}

[data-bs-theme="light"] .erp-debug-panel {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
}

.erp-debug-panel-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.erp-debug-panel-summary::-webkit-details-marker {
  display: none;
}

.erp-debug-panel-summary .card-title {
  color: inherit;
}

.erp-debug-panel-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(148, 163, 184, 0.1);
  color: #dbe4ee;
  flex: 0 0 auto;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

[data-bs-theme="light"] .erp-debug-panel-toggle {
  color: #334155;
}

.erp-debug-panel[open] .erp-debug-panel-toggle {
  transform: rotate(180deg);
}

.erp-debug-panel-body {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  max-height: min(48vh, 420px);
  overflow: auto;
}

.erp-debug-panel-body pre {
  max-width: 100%;
  overflow: auto;
}

.erp-debug-sql-code {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.erp-debug-query-grid {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.46);
}

.erp-debug-query-grid .table {
  width: 100%;
  margin-bottom: 0;
  table-layout: fixed;
  font-size: 0.8rem;
  color: #e5ebf2;
  --bs-table-bg: transparent;
  --bs-table-color: #e5ebf2;
  --bs-table-border-color: rgba(148, 163, 184, 0.2);
}

.erp-debug-query-grid th,
.erp-debug-query-grid td {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  vertical-align: top;
  padding: 0.5rem 0.65rem;
  color: inherit;
}

.erp-debug-query-grid thead th {
  background: rgba(15, 23, 42, 0.82);
  color: #f8fafc;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.erp-debug-query-grid tbody td {
  background: rgba(30, 41, 59, 0.72);
}

.erp-debug-query-grid tbody tr + tr td {
  border-top-color: rgba(148, 163, 184, 0.18);
}

.erp-debug-query-grid code {
  color: #f8fafc;
  font-size: 0.8rem;
  background: transparent;
}

.erp-debug-query-grid th:first-child,
.erp-debug-query-grid td:first-child {
  width: 34%;
}

[data-bs-theme="light"] .erp-debug-query-grid {
  background: rgba(241, 245, 249, 0.92);
  border-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="light"] .erp-debug-query-grid .table {
  color: #1f2937;
  --bs-table-color: #1f2937;
  --bs-table-border-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="light"] .erp-debug-query-grid thead th {
  background: #dbe4ee;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-debug-query-grid tbody td {
  background: rgba(255, 255, 255, 0.98);
}

[data-bs-theme="light"] .erp-debug-query-grid code {
  color: #0f172a;
}

@media (min-width: 992px) {
  .erp-debug-panel-host {
    width: 100%;
  }
}

.erp-debug-config-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.erp-debug-config-hero {
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(22, 28, 36, 0.96), rgba(36, 43, 52, 0.96));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

[data-bs-theme="light"] .erp-debug-config-hero {
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.96));
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.erp-debug-config-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.erp-debug-config-save {
  min-width: 220px;
}

.erp-debug-config-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.erp-debug-config-stat {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.34);
}

[data-bs-theme="light"] .erp-debug-config-stat {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(148, 163, 184, 0.18);
}

.erp-debug-config-stat-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--erp-text-muted);
}

[data-bs-theme="light"] .erp-debug-config-stat-label {
  color: #64748b;
}

.erp-debug-config-stat-value {
  font-size: 1.45rem;
  line-height: 1;
  color: #f8fafc;
}

[data-bs-theme="light"] .erp-debug-config-stat-value {
  color: #0f172a;
}

.erp-debug-config-grid {
  display: grid;
  gap: 1rem;
}

.erp-debug-config-module {
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(31, 37, 45, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

[data-bs-theme="light"] .erp-debug-config-module {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.erp-debug-config-module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

[data-bs-theme="light"] .erp-debug-config-module-header {
  border-bottom-color: rgba(148, 163, 184, 0.16);
  background: rgba(248, 250, 252, 0.9);
}

.erp-debug-config-module-count {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #dbe4ee;
  font-size: 0.78rem;
  font-weight: 700;
}

[data-bs-theme="light"] .erp-debug-config-module-count {
  background: rgba(148, 163, 184, 0.12);
  color: #334155;
}

.erp-debug-config-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.erp-debug-config-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(19, 25, 34, 0.82), rgba(31, 37, 45, 0.9));
}

[data-bs-theme="light"] .erp-debug-config-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border-color: rgba(148, 163, 184, 0.16);
}

.erp-debug-config-item-topline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.erp-debug-config-item-title {
  margin: 0;
  font-size: 1rem;
  color: #f8fafc;
}

[data-bs-theme="light"] .erp-debug-config-item-title {
  color: #0f172a;
}

.erp-debug-config-live-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.erp-debug-config-item-code {
  margin-bottom: 0.6rem;
  color: #93a3b8;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

[data-bs-theme="light"] .erp-debug-config-item-code {
  color: #64748b;
}

.erp-debug-config-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.erp-debug-config-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #dbe4ee;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

[data-bs-theme="light"] .erp-debug-config-tag {
  background: rgba(148, 163, 184, 0.12);
  color: #334155;
}

.erp-debug-config-tag.is-live {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
}

[data-bs-theme="light"] .erp-debug-config-tag.is-live {
  color: #166534;
}

.erp-debug-config-tag.is-pending {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

[data-bs-theme="light"] .erp-debug-config-tag.is-pending {
  color: #475569;
}

.erp-debug-config-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.erp-debug-config-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.erp-debug-config-state.is-open {
  background: rgba(14, 165, 233, 0.14);
  color: #7dd3fc;
}

.erp-debug-config-state.is-blocked {
  background: rgba(220, 53, 69, 0.16);
  color: #fda4af;
}

[data-bs-theme="light"] .erp-debug-config-state.is-open {
  color: #075985;
}

[data-bs-theme="light"] .erp-debug-config-state.is-blocked {
  color: #b91c1c;
}

.erp-debug-config-switch {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
}

.erp-debug-config-switch .form-check-input {
  margin: 0;
  float: none;
}

.erp-debug-config-switch .form-check-label {
  color: #e2e8f0;
  font-size: 0.86rem;
  font-weight: 600;
}

[data-bs-theme="light"] .erp-debug-config-switch .form-check-label {
  color: #334155;
}

@media (max-width: 992px) {
  .erp-debug-config-toolbar,
  .erp-debug-config-module-header,
  .erp-debug-config-item {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .erp-debug-config-save {
    width: 100%;
    min-width: 0;
  }

  .erp-debug-config-stats {
    grid-template-columns: 1fr;
  }

  .erp-debug-config-item-side {
    width: 100%;
    align-items: flex-start;
  }
}

.erp-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.erp-theme-toggle,
.erp-user-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.erp-theme-toggle {
  width: 34px;
  height: 34px;
  justify-content: center;
  padding: 0;
}

.erp-theme-toggle span {
  display: none;
}

.erp-sidebar-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0.35rem 0 0.65rem;
  scrollbar-color: #565c62 transparent;
  scrollbar-width: thin;
}

.erp-sidebar-footer {
  flex: 0 0 auto;
  max-height: min(52vh, 430px);
  margin-top: auto;
  padding: 0.35rem 0 0.45rem;
  border-top: 1px solid var(--erp-menu-border-strong);
  background: var(--erp-menu-bg-strong);
  box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.22);
  overflow-y: auto;
  scrollbar-color: #565c62 transparent;
  scrollbar-width: thin;
}

.erp-sidebar-footer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin: 0;
  padding: 0.5rem 0;
  background: var(--erp-menu-bg-active);
  border-bottom: 1px solid var(--erp-menu-border);
}

.erp-sidebar-footer-title {
  padding-left: 10px;
  color: var(--erp-menu-text-strong);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.erp-sidebar-footer-action {
  width: 1.8rem;
  height: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  border-radius: calc(0.35rem - 1px);
  border: 1px solid var(--erp-menu-border-strong);
  color: var(--erp-menu-text);
  background: transparent;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.erp-sidebar-footer-action:hover {
  color: var(--erp-menu-text-strong);
  background: var(--erp-menu-bg-hover);
  transform: none;
  text-decoration: none;
}

[data-bs-theme="light"] .erp-sidebar-footer {
  border-top-color: var(--erp-menu-border-strong);
  background: var(--erp-menu-bg-strong);
}

[data-bs-theme="light"] .erp-sidebar-footer-header {
  background: var(--erp-menu-bg-active);
}

[data-bs-theme="light"] .erp-sidebar-footer-title {
  color: var(--erp-menu-text-strong);
}

[data-bs-theme="light"] .erp-sidebar-footer-action {
  border-color: var(--erp-menu-border-strong);
  color: var(--erp-menu-text);
  background: transparent;
}

[data-bs-theme="light"] .erp-sidebar-footer-action:hover {
  color: var(--erp-menu-text-strong);
  background: var(--erp-menu-bg-hover);
}

.erp-nav-section + .erp-nav-section {
  margin-top: 0.25rem;
}

.erp-nav-section-items {
  margin: 0;
  padding: 0;
}

.erp-nav-section-title {
  padding: 0.5rem;
  background: var(--erp-menu-bg-strong);
  color: var(--erp-menu-text-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
}

.erp-nav-link,
.erp-nav-sublink,
.erp-nav-group-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.5rem;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--erp-menu-text);
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.15;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.erp-nav-link::before,
.erp-nav-sublink::before,
.erp-nav-group-toggle::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: transparent;
  transition: background-color 0.15s ease;
}

.erp-nav-link:hover,
.erp-nav-sublink:hover,
.erp-nav-group-toggle:hover {
  color: var(--erp-menu-success-light);
  background: var(--erp-menu-bg-hover);
  text-decoration: none;
}

.erp-nav-link:focus,
.erp-nav-sublink:focus,
.erp-nav-group-toggle:focus {
  outline: none;
  box-shadow: none;
}

[data-bs-theme="light"] .erp-nav-link,
[data-bs-theme="light"] .erp-nav-sublink,
[data-bs-theme="light"] .erp-nav-group-toggle {
  color: var(--erp-menu-text);
}

[data-bs-theme="light"] .erp-nav-link:hover,
[data-bs-theme="light"] .erp-nav-sublink:hover,
[data-bs-theme="light"] .erp-nav-group-toggle:hover {
  color: var(--erp-menu-success-light);
  background: var(--erp-menu-bg-hover);
}

.erp-nav-link.is-active,
.erp-nav-group-toggle.is-active,
.erp-nav-sublink.is-active {
  background: var(--erp-menu-bg-active);
  color: var(--erp-menu-text-strong);
}

.erp-nav-link.is-active > i,
.erp-nav-group-toggle.is-active .erp-nav-link-main > i,
.erp-nav-sublink.is-active > i {
  color: var(--erp-menu-success-light);
}

.erp-nav-link.is-active,
.erp-nav-sublink.is-active {
  color: var(--erp-menu-success-light);
}

.erp-nav-group.is-active > .erp-nav-group-toggle .erp-nav-label {
  font-weight: 800;
}

.erp-nav-link.is-active:hover,
.erp-nav-group-toggle.is-active:hover,
.erp-nav-sublink.is-active:hover {
  color: var(--erp-menu-success-light);
}

.erp-nav-link.is-active::before,
.erp-nav-group-toggle.is-active::before,
.erp-nav-sublink.is-active::before {
  background: var(--erp-menu-accent);
}

[data-bs-theme="light"] .erp-nav-link.is-active,
[data-bs-theme="light"] .erp-nav-group-toggle.is-active,
[data-bs-theme="light"] .erp-nav-sublink.is-active {
  background: var(--erp-menu-bg-active);
  color: var(--erp-menu-text-strong);
}

[data-bs-theme="light"] .erp-nav-link.is-active,
[data-bs-theme="light"] .erp-nav-sublink.is-active {
  color: var(--erp-menu-success-light);
}

.erp-nav-link-main {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 auto;
  min-width: 0;
}

.erp-nav-label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-width: 0;
}

.erp-nav-label-meta {
  color: var(--erp-menu-text-muted);
  font-size: calc(1em - 2px);
  font-style: italic;
  line-height: 1;
  white-space: nowrap;
}

.erp-nav-label-meta--innoship {
  color: var(--erp-menu-text-muted);
}

.erp-nav-label-meta--direct {
  color: #b4b8bc;
}

.erp-nav-link i,
.erp-nav-sublink i,
.erp-nav-group-toggle i {
  width: 14px;
  flex: 0 0 14px;
  text-align: center;
  font-size: 12px;
}

.erp-nav-link i.erp-nav-icon,
.erp-nav-sublink i.erp-nav-icon,
.erp-nav-group-toggle i.erp-nav-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.78rem;
}

.erp-nav-link i.erp-nav-icon--danger-light,
.erp-nav-sublink i.erp-nav-icon--danger-light,
.erp-nav-group-toggle i.erp-nav-icon--danger-light {
  background: rgba(248, 113, 113, 0.16);
  color: #fecaca;
}

.erp-nav-link.is-active > i.erp-nav-icon--danger-light,
.erp-nav-group-toggle.is-active .erp-nav-link-main > i.erp-nav-icon--danger-light,
.erp-nav-sublink.is-active > i.erp-nav-icon--danger-light {
  background: rgba(248, 113, 113, 0.22);
  color: #fecaca;
}

[data-bs-theme="light"] .erp-nav-link i.erp-nav-icon--danger-light,
[data-bs-theme="light"] .erp-nav-sublink i.erp-nav-icon--danger-light,
[data-bs-theme="light"] .erp-nav-group-toggle i.erp-nav-icon--danger-light {
  background: #fee2e2;
  color: #991b1b;
}

[data-bs-theme="light"] .erp-nav-link.is-active > i.erp-nav-icon--danger-light,
[data-bs-theme="light"] .erp-nav-group-toggle.is-active .erp-nav-link-main > i.erp-nav-icon--danger-light,
[data-bs-theme="light"] .erp-nav-sublink.is-active > i.erp-nav-icon--danger-light {
  background: #fecaca;
  color: #991b1b;
}

[data-bs-theme="light"] .erp-nav-label-meta {
  color: var(--erp-menu-text-muted);
}

[data-bs-theme="light"] .erp-nav-label-meta--innoship {
  color: var(--erp-menu-text-muted);
}

[data-bs-theme="light"] .erp-nav-label-meta--direct {
  color: #b4b8bc;
}

.erp-nav-link.is-active .erp-nav-label-meta,
.erp-nav-group-toggle.is-active .erp-nav-label-meta,
.erp-nav-sublink.is-active .erp-nav-label-meta {
  color: rgba(255, 255, 255, 0.72);
}

.erp-nav-link.is-active .erp-nav-label-meta--innoship,
.erp-nav-group-toggle.is-active .erp-nav-label-meta--innoship,
.erp-nav-sublink.is-active .erp-nav-label-meta--innoship {
  color: rgba(255, 255, 255, 0.6);
}

.erp-nav-link.is-active .erp-nav-label-meta--direct,
.erp-nav-group-toggle.is-active .erp-nav-label-meta--direct,
.erp-nav-sublink.is-active .erp-nav-label-meta--direct {
  color: rgba(255, 255, 255, 0.84);
}

[data-bs-theme="light"] .erp-nav-link.is-active .erp-nav-label-meta,
[data-bs-theme="light"] .erp-nav-group-toggle.is-active .erp-nav-label-meta,
[data-bs-theme="light"] .erp-nav-sublink.is-active .erp-nav-label-meta {
  color: rgba(255, 255, 255, 0.72);
}

[data-bs-theme="light"] .erp-nav-link.is-active .erp-nav-label-meta--innoship,
[data-bs-theme="light"] .erp-nav-group-toggle.is-active .erp-nav-label-meta--innoship,
[data-bs-theme="light"] .erp-nav-sublink.is-active .erp-nav-label-meta--innoship {
  color: rgba(255, 255, 255, 0.6);
}

[data-bs-theme="light"] .erp-nav-link.is-active .erp-nav-label-meta--direct,
[data-bs-theme="light"] .erp-nav-group-toggle.is-active .erp-nav-label-meta--direct,
[data-bs-theme="light"] .erp-nav-sublink.is-active .erp-nav-label-meta--direct {
  color: rgba(255, 255, 255, 0.84);
}

.erp-nav-badge {
  min-width: 1.65rem;
  padding: 0.08rem 0.34rem 0.1rem;
  border-radius: var(--erp-radius-sm);
  background: var(--erp-menu-badge-bg);
  color: var(--erp-menu-badge-text);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.erp-nav-group-toggle {
  justify-content: space-between;
  text-transform: uppercase;
  font-weight: 600;
}

.erp-nav-group--admin > .erp-nav-group-toggle {
  color: var(--erp-menu-text);
  background: var(--erp-menu-bg-strong);
  border-left: 0;
}

.erp-nav-group--admin.is-open > .erp-nav-group-toggle,
.erp-nav-group--admin.is-hover-open > .erp-nav-group-toggle,
.erp-nav-group--admin > .erp-nav-group-toggle.is-active {
  color: var(--erp-menu-text-strong);
  background: var(--erp-menu-bg-hover);
}

.erp-nav-group--admin > .erp-nav-group-toggle:hover {
  color: var(--erp-menu-success-light);
  background: var(--erp-menu-bg-hover);
}

[data-bs-theme="light"] .erp-nav-group--admin > .erp-nav-group-toggle {
  color: var(--erp-menu-text);
  background: var(--erp-menu-bg-strong);
}

[data-bs-theme="light"] .erp-nav-group--admin.is-open > .erp-nav-group-toggle,
[data-bs-theme="light"] .erp-nav-group--admin.is-hover-open > .erp-nav-group-toggle,
[data-bs-theme="light"] .erp-nav-group--admin > .erp-nav-group-toggle.is-active {
  color: var(--erp-menu-text-strong);
  background: var(--erp-menu-bg-hover);
}

[data-bs-theme="light"] .erp-nav-group--admin > .erp-nav-group-toggle:hover {
  color: var(--erp-menu-success-light);
  background: var(--erp-menu-bg-hover);
}

.erp-admin-dashboard {
  display: grid;
  gap: 1rem;
}

.erp-admin-dashboard-hero {
  border: 1px solid rgba(59, 130, 246, 0.16);
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(17, 24, 39, 0.96));
}

[data-bs-theme="light"] .erp-admin-dashboard-hero {
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.98));
  border-color: rgba(59, 130, 246, 0.14);
}

.erp-admin-dashboard-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.erp-admin-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 0.75rem;
}

.erp-admin-dashboard-metric {
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.34);
}

[data-bs-theme="light"] .erp-admin-dashboard-metric {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(148, 163, 184, 0.16);
}

.erp-admin-dashboard-metric-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--erp-text-muted);
}

.erp-admin-dashboard-metric-value {
  font-size: 1.6rem;
  line-height: 1;
  color: #f8fafc;
}

[data-bs-theme="light"] .erp-admin-dashboard-metric-value {
  color: #0f172a;
}

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

.erp-admin-dashboard-card {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(30, 41, 59, 0.92));
}

[data-bs-theme="light"] .erp-admin-dashboard-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.98));
  border-color: rgba(148, 163, 184, 0.16);
}

.erp-admin-dashboard-ajax-corner {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: calc(0.6rem + 2px);
  height: calc(0.6rem + 2px);
  background: #bbf7d0;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  border-top-right-radius: inherit;
  pointer-events: none;
}

[data-bs-theme="light"] .erp-admin-dashboard-ajax-corner {
  background: #86efac;
}

.erp-admin-dashboard-card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: flex-start;
}

.erp-admin-dashboard-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: rgba(59, 130, 246, 0.16);
  color: #bfdbfe;
  font-size: 1.1rem;
}

.erp-admin-dashboard-card--users .erp-admin-dashboard-icon {
  background: rgba(59, 130, 246, 0.14);
  color: #bfdbfe;
}

.erp-admin-dashboard-card--cron .erp-admin-dashboard-icon {
  background: rgba(14, 165, 233, 0.14);
  color: #bae6fd;
}

.erp-admin-dashboard-card--updates .erp-admin-dashboard-icon {
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
}

.erp-admin-dashboard-card--debug .erp-admin-dashboard-icon {
  background: rgba(245, 158, 11, 0.14);
  color: #fde68a;
}

.erp-admin-dashboard-card--settings .erp-admin-dashboard-icon {
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
}

.erp-admin-dashboard-card--efactura .erp-admin-dashboard-icon {
  background: rgba(16, 185, 129, 0.14);
  color: #a7f3d0;
}

[data-bs-theme="light"] .erp-admin-dashboard-icon {
  color: #1e3a8a;
}

.erp-admin-dashboard-links {
  display: grid;
  gap: 0.55rem;
}

.erp-admin-dashboard-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #e2e8f0;
  text-decoration: none;
}

.erp-admin-dashboard-link span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.erp-admin-dashboard-link:hover {
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.18);
  background: rgba(59, 130, 246, 0.12);
  text-decoration: none;
}

[data-bs-theme="light"] .erp-admin-dashboard-link {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-admin-dashboard-link:hover {
  color: #0f172a;
  background: rgba(219, 234, 254, 0.82);
  border-color: rgba(96, 165, 250, 0.18);
}

.erp-admin-dashboard-summary-table {
  width: auto;
  font-size: 0.78rem;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
  --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
  --bs-table-color: inherit;
}

.erp-admin-dashboard-summary-table thead th {
  padding: 0.55rem 0.35rem;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  color: #f8fafc;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #2f3438;
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

table.erp-admin-dashboard-summary-table > :not(caption) > thead > tr > th,
.table.erp-admin-dashboard-summary-table > :not(caption) > thead > tr > th,
.erp-admin-dashboard-summary-table.erp-widget-table > :not(caption) > thead > tr > th {
  background: #2f3438 !important;
  background-color: #2f3438 !important;
  color: #f8fafc !important;
  --bs-table-bg: #2f3438 !important;
  --bs-table-accent-bg: #2f3438 !important;
  --bs-table-color: #f8fafc !important;
  box-shadow: inset 0 0 0 9999px #2f3438 !important;
}

.erp-admin-dashboard-summary-table thead th:first-child {
  text-align: left;
  width: auto;
  min-width: 6.25rem;
}

.erp-admin-dashboard-summary-table tbody td {
  padding: 0.5rem 0.35rem;
  white-space: nowrap;
  text-align: center;
  color: #e5ebf2;
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

.erp-admin-dashboard-summary-head-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  min-width: 0;
}

.erp-admin-dashboard-summary-head-label.is-single {
  display: inline-block;
}

.erp-admin-dashboard-summary-head-label-part {
  display: block;
  white-space: nowrap;
}

.erp-admin-dashboard-summary-table tbody tr:nth-child(odd) td {
  background: rgba(255, 255, 255, 0.02);
}

.erp-admin-dashboard-summary-day {
  text-align: left !important;
  font-weight: 700;
}

.erp-admin-dashboard-summary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  min-width: 3rem;
  padding: 0.32rem 0.35rem;
  border-radius: 0.28rem;
  box-sizing: border-box;
  background: rgba(148, 163, 184, 0.18);
  color: #f8fafc;
  font-size: calc(1.0125rem - 3px);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.erp-admin-dashboard-summary-pill.is-zero {
  font-weight: 500;
}

.erp-admin-dashboard-summary-pill.is-success {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}

.erp-admin-dashboard-summary-pill.is-warning {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
}

.erp-admin-dashboard-summary-pill.is-danger {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.erp-admin-dashboard-summary-pill.is-danger:not(.is-zero) {
  font-weight: 800;
}

[data-bs-theme="light"] .erp-admin-dashboard-summary-table thead th {
  color: #f8fafc;
  background: #2f3438;
}

[data-bs-theme="light"] table.erp-admin-dashboard-summary-table > :not(caption) > thead > tr > th,
[data-bs-theme="light"] .table.erp-admin-dashboard-summary-table > :not(caption) > thead > tr > th,
[data-bs-theme="light"] .erp-admin-dashboard-summary-table.erp-widget-table > :not(caption) > thead > tr > th {
  background: #2f3438 !important;
  background-color: #2f3438 !important;
  color: #f8fafc !important;
  --bs-table-bg: #2f3438 !important;
  --bs-table-accent-bg: #2f3438 !important;
  --bs-table-color: #f8fafc !important;
  box-shadow: inset 0 0 0 9999px #2f3438 !important;
}

[data-bs-theme="light"] .erp-admin-dashboard-summary-table tbody td {
  color: #1e293b;
}

[data-bs-theme="light"] .erp-admin-dashboard-summary-pill {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-admin-dashboard-summary-pill {
  background: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-admin-dashboard-summary-pill.is-success {
  background: rgba(34, 197, 94, 0.16);
  color: #166534;
}

[data-bs-theme="light"] .erp-admin-dashboard-summary-pill.is-warning {
  background: rgba(245, 158, 11, 0.16);
  color: #92400e;
}

[data-bs-theme="light"] .erp-admin-dashboard-summary-pill.is-danger {
  background: rgba(239, 68, 68, 0.16);
  color: #991b1b;
}

.erp-admin-dashboard-users-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.erp-admin-dashboard-users-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.erp-admin-dashboard-users-head-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.erp-admin-dashboard-users-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.erp-admin-dashboard-users-count {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  color: #dbeafe;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.erp-admin-dashboard-users-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #cbd5e1;
}

.erp-admin-dashboard-users-switch .form-check-input {
  margin: 0;
  float: none;
}

.erp-admin-dashboard-users-switch .form-check-label {
  color: inherit;
  font-size: 0.84rem;
  font-weight: 600;
}

.erp-admin-dashboard-user-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.erp-admin-dashboard-user-avatar {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.2rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  color: #dbeafe;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.erp-admin-dashboard-users-table thead th {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.erp-admin-dashboard-users-table tbody td {
  vertical-align: middle;
}

.erp-admin-dashboard-card.is-refreshing .erp-admin-dashboard-users-refresh {
  opacity: 0.78;
}

[data-bs-theme="light"] .erp-admin-dashboard-users-count {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}

[data-bs-theme="light"] .erp-admin-dashboard-users-switch {
  color: #334155;
}

[data-bs-theme="light"] .erp-admin-dashboard-user-avatar {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}

[data-bs-theme="light"] .erp-admin-dashboard-users-table thead th {
  color: #475569;
}

@media (max-width: 991.98px) {
  .erp-admin-dashboard-hero-top {
    flex-direction: column;
  }

  .erp-admin-dashboard-metrics,
  .erp-admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .erp-admin-dashboard-users-toolbar,
  .erp-admin-dashboard-users-toolbar-actions,
  .erp-admin-dashboard-users-head,
  .erp-admin-dashboard-users-head-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .erp-admin-dashboard-users-toolbar .btn,
  .erp-admin-dashboard-users-toolbar-actions .btn {
    width: 100%;
  }

  .erp-admin-dashboard-users-head-actions .erp-dashboard-widget-refresh-btn {
    width: 2rem;
    align-self: flex-start;
  }
}

.erp-nav-group.is-open > .erp-nav-group-toggle,
.erp-nav-group.is-hover-open > .erp-nav-group-toggle {
  background: var(--erp-menu-bg-active);
  color: var(--erp-menu-text-strong);
}

.erp-nav-group.is-open > .erp-nav-group-toggle:hover,
.erp-nav-group.is-hover-open > .erp-nav-group-toggle {
  color: var(--erp-menu-success-light);
}

.erp-nav-group.is-open > .erp-nav-group-toggle::before,
.erp-nav-group.is-hover-open > .erp-nav-group-toggle::before {
  background: var(--erp-menu-accent);
}

[data-bs-theme="light"] .erp-nav-group.is-open > .erp-nav-group-toggle,
[data-bs-theme="light"] .erp-nav-group.is-hover-open > .erp-nav-group-toggle {
  background: var(--erp-menu-bg-active);
  color: var(--erp-menu-text-strong);
}

[data-bs-theme="light"] .erp-nav-group.is-open > .erp-nav-group-toggle:hover,
[data-bs-theme="light"] .erp-nav-group.is-hover-open > .erp-nav-group-toggle {
  color: var(--erp-menu-success-light);
}

.erp-nav-chevron {
  transition: transform 0.2s ease;
  font-size: 11px;
}

.erp-nav-group.is-open .erp-nav-chevron {
  transform: rotate(90deg);
}

.erp-nav-children {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  background: var(--erp-menu-bg-open);
  transition: max-height 0.24s ease, padding 0.2s ease;
}

.erp-nav-flyout-title {
  display: none;
  padding: 0.45rem 0.85rem 0.35rem;
  color: var(--erp-menu-text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-bs-theme="light"] .erp-nav-flyout-title {
  color: var(--erp-menu-text-muted);
}

.erp-nav-group.is-open .erp-nav-children {
  max-height: 760px;
  padding: 0.08rem 0 0.12rem;
}

.erp-nav-sublink {
  padding: 0.5rem;
  padding-left: 0.7rem;
  margin-top: 0;
  font-size: 0.82rem;
}

.erp-nav-subheading {
  padding: 0.45rem 1.15rem 0.15rem;
  color: var(--erp-menu-text-muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.erp-nav-divider {
  height: 1px;
  margin: 0.32rem 0.5rem;
  background: var(--erp-menu-border);
  opacity: 0.85;
}

[data-bs-theme="light"] .erp-nav-subheading {
  color: var(--erp-menu-text-muted);
}

body.erp-sidebar-collapsed .erp-nav-section-title,
body.erp-sidebar-collapsed .erp-nav-link > .erp-nav-label,
body.erp-sidebar-collapsed .erp-nav-group-toggle > .erp-nav-link-main .erp-nav-label,
body.erp-sidebar-collapsed .erp-nav-chevron {
  display: none !important;
}

body.erp-sidebar-collapsed .erp-nav-group-toggle,
body.erp-sidebar-collapsed .erp-nav-link {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

body.erp-sidebar-collapsed .erp-nav-link-main {
  justify-content: center;
}

body.erp-sidebar-collapsed .erp-nav-children {
  display: none !important;
}

body.erp-sidebar-collapsed .erp-nav-group {
  position: relative;
}

body.erp-sidebar-collapsed .erp-nav-group.is-hover-open .erp-nav-children {
  display: block !important;
  position: absolute;
  top: 0;
  left: calc(100% - 2px);
  width: 230px;
  max-height: calc(100vh - var(--erp-header-height) - 1.5rem);
  padding: 0.35rem 0;
  background: var(--erp-menu-bg);
  border: 1px solid var(--erp-menu-border-strong);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.28);
  overflow-y: auto;
  z-index: 1045;
}

body.erp-sidebar-collapsed .erp-nav-group.is-hover-open .erp-nav-flyout-title {
  display: block;
}

body.erp-sidebar-collapsed .erp-nav-group.is-hover-open .erp-nav-sublink {
  padding: 0.5rem;
  padding-left: 0.7rem;
}

[data-bs-theme="light"] body.erp-sidebar-collapsed .erp-nav-group.is-hover-open .erp-nav-children {
  background: var(--erp-menu-bg);
  border-color: var(--erp-menu-border-strong);
}

.erp-main {
  margin-left: var(--erp-sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.18s ease;
}

body.erp-sidebar-collapsed .erp-main {
  margin-left: var(--erp-sidebar-collapsed-width);
}

.erp-content {
  padding: calc(var(--erp-header-height) + 0.35rem) 0 2rem;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.erp-content-container {
  width: 100%;
  max-width: none;
  padding-left: 1rem;
  padding-right: 1rem;
  min-height: calc(100vh - var(--erp-header-height) - 2rem);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.card,
.erp-module-hero,
.erp-widget-card,
.erp-stat-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--erp-dark-3);
  box-shadow: none;
}

[data-bs-theme="light"] .card,
[data-bs-theme="light"] .erp-module-hero,
[data-bs-theme="light"] .erp-widget-card,
[data-bs-theme="light"] .erp-stat-card {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.18);
}

.card-subtitle {
  color: var(--erp-text-muted);
  font-size: 0.8rem;
}

.erp-dashboard-row {
  --bs-gutter-x: 14px;
  --bs-gutter-y: 14px;
}

.erp-dashboard-row + .erp-dashboard-row {
  margin-top: 14px;
}

.erp-widget-loading,
.erp-widget-empty,
.erp-widget-error {
  padding: 1.2rem;
  text-align: center;
}

.erp-widget-loading,
.erp-widget-empty {
  color: #bcc6cf;
  background: rgba(0, 0, 0, 0.08);
}

.erp-widget-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 120px;
}

.erp-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #93c5fd;
  border-radius: 999px;
  animation: erp-spin 0.8s linear infinite;
}

[data-bs-theme="light"] .erp-widget-loading,
[data-bs-theme="light"] .erp-widget-empty {
  color: #64748b;
  background: #f8fafc;
}

[data-bs-theme="light"] .erp-loader {
  border-color: rgba(15, 23, 42, 0.15);
  border-top-color: #2563eb;
}

body.erp-ui-blocked {
  overflow: hidden;
}

.erp-global-blocker {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.erp-global-blocker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 14, 0.58);
  backdrop-filter: blur(1px);
}

.erp-global-blocker-card {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 210px;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 6px;
  background: #1a222b;
  color: #eef2f7;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.32);
  font-size: 0.9rem;
  font-weight: 600;
}

.erp-global-blocker-spinner {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.erp-global-blocker-text {
  white-space: nowrap;
}

.erp-browser-notifications {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2055;
  display: grid;
  gap: 0.75rem;
  width: min(380px, calc(100vw - 2rem));
  pointer-events: none;
}

.erp-browser-notification {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(34, 197, 94, 0.32);
  border-left: 5px solid #16a34a;
  border-radius: calc(var(--erp-radius) + 2px);
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.98) 0%, rgba(220, 252, 231, 0.98) 100%);
  box-shadow: 0 20px 38px rgba(22, 101, 52, 0.18);
  color: #14532d;
  text-align: left;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.erp-browser-notification.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.erp-browser-notification.is-hiding {
  opacity: 0;
  transform: translateY(10px);
}

.erp-browser-notification-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #166534;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-transform: lowercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.erp-browser-notification-content {
  display: grid;
  gap: 0.18rem;
}

.erp-browser-notification-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #166534;
}

.erp-browser-notification-text {
  font-size: 0.94rem;
  line-height: 1.45;
  color: #14532d;
}

[data-bs-theme="light"] .erp-browser-notification {
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.99) 0%, rgba(220, 252, 231, 0.99) 100%);
  border-color: rgba(34, 197, 94, 0.28);
  box-shadow: 0 18px 34px rgba(22, 101, 52, 0.12);
  color: #14532d;
}

[data-bs-theme="light"] .erp-browser-notification-icon {
  background: #166534;
  color: #ffffff;
}

[data-bs-theme="light"] .erp-browser-notification-title,
[data-bs-theme="light"] .erp-browser-notification-text {
  color: #14532d;
}

[data-bs-theme="light"] .erp-global-blocker-backdrop {
  background: rgba(241, 245, 249, 0.7);
}

[data-bs-theme="light"] .erp-global-blocker-card {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.22);
  color: #0f172a;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

.erp-widget-error {
  color: #fecaca;
  background: rgba(127, 29, 29, 0.35);
}

.erp-widget-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  font-size: 0.94rem;
}

.erp-widget-alert > div,
.erp-stat-card .card-body {
  display: grid;
  gap: 0.35rem;
}

.erp-stat-card .card-body {
  height: 100%;
  align-content: stretch;
  grid-template-rows: auto 1fr auto;
}

.erp-widget-alert > div {
  width: 100%;
  height: 100%;
  align-content: stretch;
  grid-template-rows: auto 1fr auto;
}

.erp-widget-alert.is-danger {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.42) 0%, rgba(127, 29, 29, 0.18) 100%);
  border: 1px solid rgba(248, 113, 113, 0.18);
}

.erp-widget-alert.is-danger-light {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(239, 68, 68, 0.08) 100%);
  border: 1px solid rgba(248, 113, 113, 0.24);
}

.erp-widget-alert.is-success {
  background: linear-gradient(135deg, rgba(20, 83, 45, 0.42) 0%, rgba(20, 83, 45, 0.18) 100%);
  border: 1px solid rgba(74, 222, 128, 0.18);
}

.erp-widget-alert.is-warning {
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.42) 0%, rgba(120, 53, 15, 0.18) 100%);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.erp-widget-alert-label {
  color: var(--erp-text-muted);
  text-transform: uppercase;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
}

.erp-widget-alert-value {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
}

.erp-widget-alert-text {
  color: #e3e8ee;
  font-size: 0.88rem;
  margin: 0;
}

.erp-widget-alert-action {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
}

.erp-widget-table thead th {
  color: var(--erp-text-muted);
  font-weight: 600;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  font-size: 0.77rem;
}

.erp-admin-dashboard-summary-table.erp-widget-table thead th {
  background: #2f3438 !important;
  color: #f8fafc !important;
  border-bottom-color: rgba(148, 163, 184, 0.18) !important;
}

[data-bs-theme="light"] .erp-admin-dashboard-summary-table.erp-widget-table thead th {
  background: #2f3438 !important;
  color: #f8fafc !important;
}

.erp-widget-table tbody td {
  border-bottom-color: rgba(255, 255, 255, 0.05);
  font-size: 0.87rem;
}

.erp-problem-list {
  display: grid;
  gap: 0.1rem;
}

.erp-problem-item {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(180px, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.18rem 0.3rem;
  background: rgba(0, 0, 0, 0.08);
  font-size: 0.87rem;
}

[data-bs-theme="light"] .erp-problem-item {
  background: #f8fafc;
}

.erp-problem-delivery-table thead th {
  white-space: nowrap;
}

.erp-problem-delivery-icon-head,
.erp-problem-delivery-icon-cell {
  width: 56px;
}

.erp-problem-delivery-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
}

.erp-problem-delivery-progress {
  min-width: 220px;
}

.erp-dashboard-open-shipments-card {
  position: relative;
}

.erp-dashboard-delivery-problems-card {
  position: relative;
}

.erp-dashboard-open-shipments-card > .card-body {
  padding: 0 !important;
}

.erp-dashboard-delivery-problems-card > .card-body {
  padding: 0 !important;
}

.erp-dashboard-open-shipments-card .table-responsive,
.erp-dashboard-delivery-problems-card .table-responsive,
.erp-dashboard-delivery-problems-card .dataTables_wrapper {
  margin: 0;
  padding: 0 !important;
  width: 100%;
}

.erp-dashboard-delivery-problems-card .erp-problem-delivery-table {
  margin-bottom: 0 !important;
}

.erp-dashboard-widget-refresh-btn {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
}

.erp-dashboard-open-shipments-table .erp-dashboard-courier-payment {
  line-height: 1.65;
}

.erp-dashboard-open-shipments-table .erp-order-courier-badge {
  background: transparent !important;
  border: 1px solid rgba(59, 130, 246, 0.66) !important;
  color: #bfdbfe !important;
}

.erp-dashboard-open-status-date {
  white-space: nowrap;
}

[data-bs-theme="light"] .erp-problem-delivery-icon {
  background: rgba(14, 116, 144, 0.08);
  color: #0f766e;
}

[data-bs-theme="light"] .erp-dashboard-open-shipments-table .erp-order-courier-badge {
  background: transparent !important;
  border-color: rgba(37, 99, 235, 0.55) !important;
  color: #1d4ed8 !important;
}

.erp-outline-card,
.erp-timeline-card {
  height: 100%;
  padding: 1.05rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .erp-outline-card,
[data-bs-theme="light"] .erp-timeline-card {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.16);
}

.erp-outline-card h3,
.erp-timeline-card h3 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

.erp-widget-primary-text {
  color: #eef2f7;
}

.erp-widget-muted-text {
  color: #b9c3cd;
}

[data-bs-theme="light"] .erp-widget-primary-text {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-widget-muted-text {
  color: #64748b;
}

.erp-widget-card .card-title {
  font-size: 0.95rem;
}

.erp-widget-card .card-header {
  padding-top: 0.64rem;
  padding-bottom: 0.64rem;
}

.erp-widget-card .card-body {
  font-size: 0.94rem;
}

.erp-widget-card-compact {
  background: transparent;
  border: 0;
}

.erp-widget-card-compact .card-body {
  padding: 0 !important;
}

.erp-dashboard-compact-widget-slot {
  display: flex;
  align-items: stretch;
}

.erp-dashboard-compact-widget-slot > .erp-widget-alert,
.erp-dashboard-compact-widget-slot > .erp-widget-empty,
.erp-dashboard-compact-widget-slot > .erp-widget-loading,
.erp-dashboard-compact-widget-slot > .erp-widget-error {
  width: 100%;
  min-height: 118px;
}

.erp-stat-card .subheader {
  font-size: 0.69rem;
}

.erp-stat-card,
.erp-widget-card.erp-widget-card-compact {
  height: 100%;
}

.erp-stat-card .card-body,
.erp-widget-card.erp-widget-card-compact .card-body {
  min-height: 118px;
}

.erp-widget-card.erp-widget-card-compact .card-body {
  display: flex;
  align-items: stretch;
}

.erp-widget-card.erp-widget-card-compact [data-erp-dashboard-widget],
.erp-widget-card.erp-widget-card-compact .erp-widget-alert,
.erp-widget-card.erp-widget-card-compact .erp-widget-empty,
.erp-widget-card.erp-widget-card-compact .erp-widget-loading,
.erp-widget-card.erp-widget-card-compact .erp-widget-error {
  width: 100%;
  height: 100%;
}

.erp-stat-card .display-6 {
  font-size: 1.9rem;
  line-height: 1.05;
  margin-bottom: 0 !important;
}

.erp-stat-card .text-secondary {
  font-size: 0.88rem;
  margin-bottom: 0;
}

.erp-stat-card.is-warning {
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.42) 0%, rgba(120, 53, 15, 0.18) 100%);
  border-color: rgba(251, 191, 36, 0.2);
}

.erp-stat-card.is-warning .subheader,
.erp-stat-card.is-warning .text-secondary {
  color: #fbd38d !important;
}

.erp-stat-card.is-warning .display-6 {
  color: #fff4d6;
}

.erp-stat-card.is-success .subheader,
.erp-stat-card.is-success .text-secondary {
  color: #b7d8c1 !important;
}

.erp-stat-card.is-success .display-6 {
  color: #ecfdf3;
}

.btn,
.badge,
.progress,
.progress-bar,
.page-link {
  border-radius: var(--erp-radius-sm) !important;
}

.badge {
  font-weight: 400 !important;
}

.erp-retur-search-card,
.erp-retur-result-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(19, 23, 28, 0.55);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.12);
}

.erp-orders-hero {
  overflow: hidden;
}

.erp-orders-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.erp-orders-hero-actions,
.erp-orders-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.erp-orders-filter-wrap {
  margin-top: 1rem;
}

.erp-orders-filter-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  min-width: 96px;
}

.erp-orders-filter-group {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.82;
}

.erp-orders-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.erp-orders-help-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.24);
  border-radius: var(--erp-radius);
}

[data-bs-theme="light"] .erp-orders-help-item {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.18);
}

.erp-order-identity {
  display: grid;
  gap: 0.45rem;
}

.erp-order-identity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.erp-order-progress {
  height: 0.8rem;
  background: rgba(148, 163, 184, 0.14);
}

.erp-order-progress .progress-bar {
  font-size: 0.68rem;
  font-weight: 700;
}

.erp-order-info-cell {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  min-width: 78px;
  width: 100%;
}

.erp-order-info-group {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.erp-order-info-group-start {
  justify-content: flex-start;
}

.erp-order-info-group-end {
  margin-left: auto;
  justify-content: flex-end;
}

.erp-order-split-score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  height: 1.65rem;
  padding: 0 0.42rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(75, 85, 99, 0.74);
  color: #f8fafc;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: help;
}

.erp-order-split-score-badge.is-success {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(74, 222, 128, 0.28);
  color: #bbf7d0;
}

.erp-order-split-score-badge.is-warning {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(250, 204, 21, 0.3);
  color: #fde68a;
}

.erp-order-split-score-badge.is-danger {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(248, 113, 113, 0.28);
  color: #fecaca;
}

.erp-order-split-state-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1rem;
  padding: 0.12rem 0.32rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--erp-radius-sm, 0.22rem);
  background: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.erp-order-split-delivery-alert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  min-width: 32px;
  min-height: 32px;
  padding: 0.2rem 0.46rem;
  border: 1px solid rgba(248, 113, 113, 0.34);
  border-radius: var(--erp-radius-sm, 0.2rem);
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  white-space: nowrap;
}

.erp-order-split-delivery-alert.is-warning {
  border-color: rgba(250, 204, 21, 0.34);
  background: rgba(250, 204, 21, 0.16);
  color: #fde68a;
}

.erp-order-split-delivery-alert.is-danger-light {
  border-color: rgba(248, 113, 113, 0.34);
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
}

.erp-order-split-delivery-alert.is-danger {
  border-color: #dc3545;
  background: #dc3545;
  color: #ffffff;
}

.erp-order-split-delivery-alert i {
  font-size: 0.86rem;
  line-height: 1;
}

.erp-order-split-delivery-alert span {
  font-size: 0.58rem;
  line-height: 1;
}

.erp-order-score-tooltip {
  position: relative;
  display: inline-flex;
}

.erp-order-score-tooltip-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 50%;
  transform: translateX(-50%);
  width: 430px;
  max-width: min(430px, calc(100vw - 24px));
  z-index: 40;
  padding: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, #2f3438, #24292e);
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.32);
  color: #e5e7eb;
  text-align: left;
  white-space: normal;
  overflow: visible;
}

.erp-order-score-tooltip-panel--split-delivery {
  width: 360px;
  max-width: min(360px, calc(100vw - 24px));
}

.erp-order-score-tooltip--split-delivery .erp-order-score-tooltip-score {
  min-width: 1.6rem;
  text-align: right;
}

.erp-order-score-tooltip-row--split-delivery {
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.65rem;
  row-gap: 0.32rem;
}

.erp-order-score-tooltip:hover .erp-order-score-tooltip-panel,
.erp-order-score-tooltip:focus-within .erp-order-score-tooltip-panel {
  display: block;
}

.erp-order-score-tooltip-header,
.erp-order-score-tooltip-body,
.erp-order-score-tooltip-row {
  display: grid;
}

.erp-order-score-tooltip-header {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(229, 231, 235, 0.08);
  border-radius: 11px;
  background: rgba(17, 24, 39, 0.46);
}

.erp-order-score-tooltip-kicker {
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.erp-order-score-tooltip-score {
  color: #f8fafc;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1;
}

.erp-order-score-tooltip-score small {
  color: #9ca3af;
  font-size: 0.68rem;
  font-weight: 800;
}

.erp-order-score-tooltip-body {
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.erp-order-score-tooltip-row {
  gap: 0.22rem;
  padding: 0.58rem 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  background: rgba(31, 41, 55, 0.48);
}

.erp-order-score-tooltip-label {
  color: #9ca3af;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.erp-order-score-tooltip-value {
  color: #f3f4f6;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.28;
  overflow-wrap: anywhere;
  word-break: normal;
}

.erp-order-info-icon {
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.erp-order-info-icon.is-success {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}

.erp-order-info-icon.is-warning {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
}

.erp-order-info-icon.is-danger {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.erp-order-info-icon.is-change {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
}

[data-bs-theme="light"] .erp-order-info-icon.is-success {
  background: #dcfce7;
  color: #166534;
}

[data-bs-theme="light"] .erp-order-info-icon.is-warning {
  background: #fef3c7;
  color: #92400e;
}

[data-bs-theme="light"] .erp-order-info-icon.is-danger {
  background: #fee2e2;
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-order-info-icon.is-change {
  background: #dbeafe;
  color: #1d4ed8;
}

[data-bs-theme="light"] .erp-order-split-score-badge {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #334155;
}

[data-bs-theme="light"] .erp-order-split-score-badge.is-success {
  background: #f0fdf4;
  border-color: rgba(34, 197, 94, 0.28);
  color: #15803d;
}

[data-bs-theme="light"] .erp-order-split-score-badge.is-warning {
  background: #fffbeb;
  border-color: rgba(245, 158, 11, 0.3);
  color: #b45309;
}

[data-bs-theme="light"] .erp-order-split-score-badge.is-danger {
  background: #fef2f2;
  border-color: rgba(239, 68, 68, 0.28);
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-order-split-state-badge {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

[data-bs-theme="light"] .erp-order-split-delivery-alert {
  background: #fee2e2;
  border-color: rgba(239, 68, 68, 0.32);
  color: #991b1b;
}

[data-bs-theme="light"] .erp-order-split-delivery-alert.is-warning {
  background: #fffbeb;
  border-color: rgba(245, 158, 11, 0.3);
  color: #b45309;
}

[data-bs-theme="light"] .erp-order-split-delivery-alert.is-danger-light {
  background: #fee2e2;
  border-color: rgba(239, 68, 68, 0.32);
  color: #991b1b;
}

[data-bs-theme="light"] .erp-order-split-delivery-alert.is-danger {
  background: #dc3545;
  border-color: #dc3545;
  color: #ffffff;
}

.erp-order-hovercard {
  position: relative;
}

.erp-order-hovercard-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 660px;
  max-width: min(760px, 92vw);
  z-index: 40;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, #2f3438, #252a2f);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.28);
}

.erp-order-hovercard:hover .erp-order-hovercard-panel,
.erp-order-hovercard:focus-within .erp-order-hovercard-panel {
  display: block;
}

[data-bs-theme="light"] .erp-order-hovercard-panel {
  background: #ffffff;
}

.erp-order-hovercard-table {
  --bs-table-bg: transparent;
  --bs-table-color: #e5ebf2;
  --bs-table-border-color: rgba(148, 163, 184, 0.12);
  margin: 0;
}

.erp-order-hovercard-table thead th {
  background: rgba(15, 23, 42, 0.28);
  color: #f8fafc;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom-color: rgba(148, 163, 184, 0.16);
  padding: 0.58rem 0.55rem;
}

.erp-order-hovercard-table tbody td {
  font-size: 0.83rem;
  padding: 0.52rem 0.55rem;
  border-bottom-color: rgba(148, 163, 184, 0.1);
}

[data-bs-theme="light"] .erp-order-hovercard-table {
  --bs-table-color: #0f172a;
  --bs-table-border-color: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-order-hovercard-table thead th {
  background: #dfe5eb;
  color: #1f2937;
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-order-hovercard-table tbody td {
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

.erp-order-hovercard-table tr.is-success > * {
  background: rgba(34, 197, 94, 0.1);
}

.erp-order-hovercard-table tr.is-warning > * {
  background: rgba(245, 158, 11, 0.1);
}

.erp-order-hovercard-table tr.is-danger > * {
  background: rgba(239, 68, 68, 0.14);
}

.erp-order-hovercard-table tr.is-secondary > * {
  background: rgba(148, 163, 184, 0.1);
}

.erp-order-hovercard-text.is-success,
.erp-order-hovercard-subtext.is-success,
.erp-order-hovercard-attr.is-success {
  color: #86efac;
}

.erp-order-hovercard-text.is-warning,
.erp-order-hovercard-subtext.is-warning,
.erp-order-hovercard-attr.is-warning {
  color: #fde68a;
}

.erp-order-hovercard-text.is-danger,
.erp-order-hovercard-subtext.is-danger,
.erp-order-hovercard-attr.is-danger {
  color: #ffffff;
}

.erp-order-hovercard-text.is-secondary,
.erp-order-hovercard-subtext.is-secondary,
.erp-order-hovercard-attr.is-secondary {
  color: #cbd5e1;
}

.erp-order-hovercard-attr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.06);
}

.erp-order-client,
.erp-order-location {
  display: grid;
  gap: 0.2rem;
}

.erp-flag-chip {
  display: inline-flex;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  overflow: hidden;
  vertical-align: middle;
  margin-right: 0.35rem;
}

.erp-flag-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.erp-order-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.8rem;
}

.erp-order-check input {
  width: 1rem;
  height: 1rem;
}

[data-erp-comenzi-page] .card,
.erp-order-detail-page .card {
  border-color: rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.86));
}

[data-erp-comenzi-page] .card-header,
.erp-order-detail-page .card-header {
  background: rgba(15, 23, 42, 0.42);
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

[data-erp-comenzi-page] .table,
.erp-order-detail-page .table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(148, 163, 184, 0.06);
  --bs-table-hover-bg: rgba(59, 130, 246, 0.12);
  --bs-table-color: #e5ebf2;
  --bs-table-border-color: rgba(148, 163, 184, 0.14);
  color: #e5ebf2;
}

[data-erp-comenzi-page] .table > :not(caption) > * > *,
.erp-order-detail-page .table > :not(caption) > * > * {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom-color: rgba(148, 163, 184, 0.14);
}

[data-erp-comenzi-page] .table thead th,
.erp-order-detail-page .table thead th {
  color: #f8fafc;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.erp-orders-hero {
  border-color: rgba(96, 165, 250, 0.2);
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
}

[data-erp-user-admin-page] {
  font-size: 0.9rem;
}

[data-erp-user-admin-page] .card {
  border-color: rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.88));
}

[data-erp-user-admin-page] .card-header {
  background: rgba(15, 23, 42, 0.42);
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

[data-erp-user-admin-page] .card-title {
  font-size: 1rem;
}

[data-erp-user-admin-page] .card-subtitle,
[data-erp-user-admin-page] .text-secondary,
[data-erp-user-admin-page] small {
  font-size: 0.78rem;
}

.erp-user-admin-hero-stats,
.erp-user-admin-profile-stats,
.erp-user-admin-route-actions,
.erp-user-admin-user-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.erp-user-admin-stat,
.erp-user-admin-mini-stat {
  min-width: 110px;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--erp-radius);
  background: rgba(15, 23, 42, 0.32);
}

.erp-user-admin-stat {
  display: grid;
  gap: 0.1rem;
}

.erp-user-admin-stat strong,
.erp-user-admin-mini-stat strong {
  font-size: 1.1rem;
  line-height: 1.1;
}

.erp-user-admin-stat-label,
.erp-user-admin-mini-stat span,
.erp-user-admin-user-meta,
.erp-user-admin-user-side,
.erp-user-admin-route-code,
.erp-user-admin-route-legacy,
.erp-user-admin-footnote,
.erp-user-admin-label,
.erp-user-admin-accordion-title span {
  font-size: 0.74rem;
  color: var(--erp-text-muted);
}

.erp-user-admin-panel .card-body,
.erp-user-admin-panel .card-header {
  padding-left: 0.95rem;
  padding-right: 0.95rem;
}

.erp-user-admin-user-list,
.erp-user-admin-checkbox-list,
.erp-user-admin-route-stack {
  display: grid;
  gap: 0.55rem;
}

.erp-user-admin-user-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.8rem;
  color: inherit;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 0.8rem;
  background: rgba(15, 23, 42, 0.22);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.erp-user-admin-user-card:hover {
  color: inherit;
  border-color: rgba(96, 165, 250, 0.36);
  background: rgba(30, 41, 59, 0.55);
  transform: translateY(-1px);
}

.erp-user-admin-user-card.is-active {
  border-color: rgba(96, 165, 250, 0.55);
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.22), rgba(15, 23, 42, 0.6));
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.14);
}

.erp-user-admin-user-main {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.erp-user-admin-user-name {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
}

.erp-user-admin-user-side {
  display: grid;
  gap: 0.18rem;
  text-align: right;
  white-space: nowrap;
}

.erp-user-admin-profile-top,
.erp-user-admin-route-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.erp-user-admin-profile-top {
  margin-bottom: 0.9rem;
}

.erp-user-admin-profile-id {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.erp-user-admin-dot {
  display: inline-block;
  width: 0.25rem;
  height: 0.25rem;
  margin: 0 0.35rem;
  vertical-align: middle;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.9);
}

.erp-user-admin-label {
  margin-bottom: 0.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.erp-user-admin-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.85rem;
}

.erp-user-admin-alert {
  font-size: 0.8rem;
  line-height: 1.45;
}

.erp-user-admin-accordion .accordion-item {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--erp-radius);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.18);
}

.erp-user-admin-accordion .accordion-item + .accordion-item {
  margin-top: 0.65rem;
}

.erp-user-admin-accordion .accordion-button {
  padding: 0.85rem 0.95rem;
  font-size: 0.84rem;
  color: #e5ebf2;
  background: rgba(15, 23, 42, 0.2);
  box-shadow: none;
}

.erp-user-admin-accordion .accordion-button:not(.collapsed) {
  color: #f8fafc;
  background: rgba(37, 99, 235, 0.12);
}

.erp-user-admin-accordion .accordion-body {
  padding: 0.9rem;
}

.erp-user-admin-accordion-title {
  display: grid;
  gap: 0.12rem;
}

.erp-user-admin-subpanel,
.erp-user-admin-route-card {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--erp-radius);
  background: rgba(15, 23, 42, 0.18);
  padding: 0.8rem;
}

.erp-user-admin-subpanel-title,
.erp-user-admin-route-title {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.erp-user-admin-check,
.erp-user-admin-pill {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.58rem 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.erp-user-admin-pill {
  align-items: center;
  padding: 0.5rem 0.72rem;
}

.erp-user-admin-check strong,
.erp-user-admin-pill span {
  display: block;
  font-size: 0.79rem;
  line-height: 1.3;
}

.erp-user-admin-check small {
  display: block;
  margin-top: 0.1rem;
}

.erp-user-admin-route-head {
  margin-bottom: 0.7rem;
}

.erp-user-admin-master-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 0.8rem;
  background: rgba(15, 23, 42, 0.18);
}

.erp-user-admin-route-shell {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 0.85rem;
}

.erp-user-admin-route-toggle {
  height: 100%;
}

.erp-user-admin-route-meta {
  display: grid;
  gap: 0.65rem;
}

.erp-user-admin-mode-switch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: start;
  margin-bottom: 0.9rem;
}

.erp-user-admin-mode-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.erp-user-admin-route-map {
  display: grid;
  gap: 0.35rem;
}

.erp-user-admin-route-map-line {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 0.55rem;
  font-size: 0.75rem;
  line-height: 1.35;
}

.erp-user-admin-route-map-label,
.erp-user-admin-empty-inline {
  color: #8ea0b5;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.erp-user-admin-empty-inline {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
}

[data-bs-theme="light"] [data-erp-user-admin-page] .card {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="light"] [data-erp-user-admin-page] .card-header {
  background: rgba(241, 245, 249, 0.92);
  border-bottom-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="light"] .erp-user-admin-stat,
[data-bs-theme="light"] .erp-user-admin-mini-stat,
[data-bs-theme="light"] .erp-user-admin-user-card,
[data-bs-theme="light"] .erp-user-admin-accordion .accordion-item,
[data-bs-theme="light"] .erp-user-admin-subpanel,
[data-bs-theme="light"] .erp-user-admin-route-card,
[data-bs-theme="light"] .erp-user-admin-master-check,
[data-bs-theme="light"] .erp-user-admin-check,
[data-bs-theme="light"] .erp-user-admin-pill {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.2);
}

[data-bs-theme="light"] .erp-user-admin-user-card:hover {
  background: #f8fafc;
  border-color: rgba(96, 165, 250, 0.38);
}

[data-bs-theme="light"] .erp-user-admin-user-card.is-active {
  background: linear-gradient(180deg, #eff6ff, #ffffff);
  border-color: rgba(96, 165, 250, 0.45);
}

[data-bs-theme="light"] .erp-user-admin-stat-label,
[data-bs-theme="light"] .erp-user-admin-mini-stat span,
[data-bs-theme="light"] .erp-user-admin-user-meta,
[data-bs-theme="light"] .erp-user-admin-user-side,
[data-bs-theme="light"] .erp-user-admin-route-code,
[data-bs-theme="light"] .erp-user-admin-route-legacy,
[data-bs-theme="light"] .erp-user-admin-footnote,
[data-bs-theme="light"] .erp-user-admin-label,
[data-bs-theme="light"] .erp-user-admin-accordion-title span,
[data-bs-theme="light"] .erp-user-admin-route-map-label,
[data-bs-theme="light"] .erp-user-admin-empty-inline {
  color: #64748b;
}

[data-bs-theme="light"] .erp-user-admin-accordion .accordion-button {
  color: #0f172a;
  background: #f8fafc;
}

[data-bs-theme="light"] .erp-user-admin-accordion .accordion-button:not(.collapsed) {
  background: #eaf4ff;
  color: #0f172a;
}

.erp-user-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.erp-user-admin-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.82rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.38);
  color: #dbe6f3;
  font-size: 0.76rem;
  font-weight: 600;
}

.erp-user-admin-tab:hover {
  color: #f8fafc;
  border-color: rgba(96, 165, 250, 0.36);
}

.erp-user-admin-tab.is-active {
  color: #f8fafc;
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.4);
}

.erp-user-admin-summary-card .card-body {
  display: grid;
  gap: 0.14rem;
}

.erp-user-admin-summary-card strong {
  font-size: 1.05rem;
  line-height: 1.05;
}

.erp-user-admin-summary-card small {
  color: var(--erp-text-muted);
}

.erp-user-admin-audit-list,
.erp-user-admin-chart-list {
  display: grid;
  gap: 0.7rem;
}

.erp-user-admin-audit-card {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--erp-radius);
  background: rgba(15, 23, 42, 0.34);
}

.erp-user-admin-audit-card summary {
  list-style: none;
  cursor: pointer;
  padding: 0.8rem 0.95rem;
  display: grid;
  gap: 0.3rem;
}

.erp-user-admin-audit-card summary::-webkit-details-marker {
  display: none;
}

.erp-user-admin-audit-title {
  font-size: 0.82rem;
  font-weight: 700;
}

.erp-user-admin-audit-summary,
.erp-user-admin-audit-summary-row,
.erp-user-admin-inline-badges,
.erp-user-admin-change-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.erp-user-admin-audit-summary,
.erp-user-admin-change-head {
  justify-content: space-between;
  align-items: flex-start;
}

.erp-user-admin-audit-summary-row,
.erp-user-admin-chart-subtitle {
  font-size: 0.74rem;
  color: var(--erp-text-muted);
}

.erp-user-admin-audit-body {
  padding: 0 0.95rem 0.95rem;
}

.erp-user-admin-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.erp-user-admin-meta-grid > div {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--erp-radius-sm);
  padding: 0.58rem 0.68rem;
  background: rgba(2, 6, 23, 0.16);
}

.erp-user-admin-change-list {
  display: grid;
  gap: 0.65rem;
}

.erp-user-admin-change-row {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--erp-radius-sm);
  padding: 0.68rem 0.76rem;
  background: rgba(2, 6, 23, 0.16);
}

.erp-user-admin-change-head span {
  font-size: 0.72rem;
  color: var(--erp-text-muted);
}

.erp-user-admin-change-values {
  margin-top: 0.55rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.erp-user-admin-change-box {
  min-height: 2.2rem;
  padding: 0.48rem 0.58rem;
  border-radius: var(--erp-radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.46);
  font-size: 0.75rem;
  line-height: 1.38;
  white-space: pre-wrap;
  word-break: break-word;
}

.erp-user-admin-change-box.is-new {
  border-color: rgba(96, 165, 250, 0.26);
}

.erp-user-admin-empty-block {
  border: 1px dashed rgba(148, 163, 184, 0.22);
  border-radius: var(--erp-radius-sm);
  padding: 0.78rem 0.86rem;
  color: var(--erp-text-muted);
  font-size: 0.76rem;
}

.erp-user-admin-chart-row {
  display: grid;
  gap: 0.35rem;
}

.erp-user-admin-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.55rem;
}

.erp-user-admin-chart-head strong {
  font-size: 0.8rem;
}

.erp-user-admin-chart-head span {
  font-size: 0.74rem;
  color: var(--erp-text-muted);
}

.erp-user-admin-chart-track {
  position: relative;
  height: 0.48rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  overflow: hidden;
}

.erp-user-admin-chart-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.92), rgba(56, 189, 248, 0.72));
}

.erp-user-admin-chart-fill.is-section {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.88), rgba(16, 185, 129, 0.7));
}

.erp-user-admin-matrix-wrap {
  overflow-x: auto;
}

.erp-user-admin-matrix-table {
  margin-bottom: 0;
  font-size: 0.76rem;
}

.erp-user-admin-matrix-table th,
.erp-user-admin-matrix-table td {
  white-space: nowrap;
  vertical-align: middle;
}

[data-bs-theme="light"] .erp-user-admin-tab {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.2);
}

[data-bs-theme="light"] .erp-user-admin-tab:hover,
[data-bs-theme="light"] .erp-user-admin-tab.is-active {
  background: #eaf4ff;
  color: #0f172a;
  border-color: rgba(96, 165, 250, 0.34);
}

[data-bs-theme="light"] .erp-user-admin-summary-card small,
[data-bs-theme="light"] .erp-user-admin-audit-summary-row,
[data-bs-theme="light"] .erp-user-admin-chart-subtitle,
[data-bs-theme="light"] .erp-user-admin-change-head span,
[data-bs-theme="light"] .erp-user-admin-chart-head span {
  color: #64748b;
}

[data-bs-theme="light"] .erp-user-admin-audit-card,
[data-bs-theme="light"] .erp-user-admin-meta-grid > div,
[data-bs-theme="light"] .erp-user-admin-change-row,
[data-bs-theme="light"] .erp-user-admin-change-box {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.2);
}

[data-bs-theme="light"] .erp-user-admin-chart-track {
  background: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-user-admin-empty-block {
  border-color: rgba(148, 163, 184, 0.22);
  color: #64748b;
}

.erp-dashboard-widget-admin-toolbar,
.erp-dashboard-widget-admin-summary,
.erp-dashboard-widget-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.erp-dashboard-widget-admin-toolbar {
  align-items: flex-end;
  justify-content: space-between;
}

.erp-dashboard-widget-admin-toolbar > div:first-child {
  min-width: min(100%, 340px);
}

.erp-dashboard-widget-admin-toolbar-actions,
.erp-dashboard-widget-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.erp-dashboard-widget-admin-card {
  overflow: hidden;
}

.erp-dashboard-widget-admin-card[hidden] {
  display: none !important;
}

.erp-dashboard-widget-admin-summary {
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem;
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.erp-dashboard-widget-admin-summary::-webkit-details-marker {
  display: none;
}

.erp-dashboard-widget-admin-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.erp-dashboard-widget-admin-title strong,
.erp-dashboard-widget-user-text strong {
  display: block;
  line-height: 1.25;
}

.erp-dashboard-widget-admin-title small,
.erp-dashboard-widget-user-text small {
  display: block;
  color: var(--erp-text-muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.erp-dashboard-widget-admin-title code {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
}

.erp-dashboard-widget-admin-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 0.75rem;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.erp-dashboard-widget-admin-summary-side {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.erp-dashboard-widget-card-actions {
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

.erp-dashboard-widget-users-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.55rem;
}

.erp-dashboard-widget-user-pill {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
  padding: 0.58rem 0.68rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
}

.erp-dashboard-widget-user-pill.is-inactive {
  opacity: 0.62;
}

.erp-dashboard-widget-user-pill[hidden] {
  display: none !important;
}

.erp-dashboard-widget-user-text {
  min-width: 0;
}

.erp-dashboard-widget-user-text strong,
.erp-dashboard-widget-user-text small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-bs-theme="light"] .erp-dashboard-widget-admin-icon {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: rgba(96, 165, 250, 0.24);
}

[data-bs-theme="light"] .erp-dashboard-widget-admin-summary {
  border-bottom-color: rgba(148, 163, 184, 0.2);
}

[data-bs-theme="light"] .erp-dashboard-widget-admin-title small,
[data-bs-theme="light"] .erp-dashboard-widget-user-text small {
  color: #64748b;
}

[data-bs-theme="light"] .erp-dashboard-widget-user-pill {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.2);
}

[data-erp-notification-settings-page] .card:not(.erp-orders-hero) {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.88));
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.16);
}

[data-erp-notification-settings-page] .card-header {
  background: rgba(15, 23, 42, 0.42);
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

.erp-notification-settings-switch {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
}

.erp-notification-settings-switch .form-check-label {
  display: grid;
  gap: 0.16rem;
}

.erp-notification-settings-switch .form-check-label small {
  color: var(--erp-text-muted);
  font-size: 0.76rem;
}

.erp-notification-settings-head,
.erp-notification-settings-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.erp-notification-settings-head {
  align-items: flex-start;
  justify-content: space-between;
}

.erp-notification-settings-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.erp-notification-settings-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 1rem;
}

.erp-notification-settings-note {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--erp-radius);
  background: rgba(15, 23, 42, 0.18);
  padding: 0.9rem;
}

.erp-notification-settings-note h4 {
  font-size: 0.84rem;
  margin-bottom: 0.55rem;
}

.erp-notification-settings-users {
  min-width: 0;
}

[data-bs-theme="light"] [data-erp-notification-settings-page] .card:not(.erp-orders-hero) {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 28px rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] [data-erp-notification-settings-page] .card-header {
  background: rgba(241, 245, 249, 0.92);
  border-bottom-color: rgba(148, 163, 184, 0.2);
}

[data-bs-theme="light"] .erp-notification-settings-note {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.2);
}

[data-bs-theme="light"] .erp-notification-settings-switch .form-check-label small {
  color: #64748b;
}

@media (max-width: 991.98px) {
  .erp-notification-settings-grid {
    grid-template-columns: 1fr;
  }

  .erp-notification-settings-option,
  .erp-notification-settings-head {
    flex-direction: column;
  }
}

@media (max-width: 991.98px) {
  .erp-user-admin-profile-top {
    flex-direction: column;
  }

  .erp-user-admin-route-shell,
  .erp-user-admin-meta-grid,
  .erp-user-admin-change-values {
    grid-template-columns: 1fr;
  }

  .erp-user-admin-mode-switch {
    grid-template-columns: 1fr;
  }

  .erp-user-admin-mode-options {
    justify-content: flex-start;
  }

  .erp-user-admin-route-map-line {
    grid-template-columns: 1fr;
  }

  .erp-dashboard-widget-admin-toolbar,
  .erp-dashboard-widget-admin-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .erp-dashboard-widget-admin-summary-side,
  .erp-dashboard-widget-card-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .erp-user-admin-user-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .erp-user-admin-user-side {
    grid-column: 2;
    text-align: left;
  }

  .erp-user-admin-route-head {
    flex-direction: column;
  }

  .erp-notification-settings-grid,
  .erp-notification-settings-option,
  .erp-notification-settings-head {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

.erp-order-detail-page {
  display: grid;
  gap: 1rem;
}

.erp-order-detail-alert {
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: rgba(120, 53, 15, 0.22);
}

.erp-order-detail-card {
  overflow: hidden;
}

.erp-order-detail-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.erp-order-detail-chip {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--erp-radius);
  background: rgba(15, 23, 42, 0.38);
  display: grid;
  gap: 0.25rem;
}

.erp-order-detail-chip-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.erp-order-detail-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
}

.erp-order-awb-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.erp-order-inline-form {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--erp-radius);
  background: rgba(15, 23, 42, 0.28);
}

.erp-order-toggle-grid,
.erp-order-sensitive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.erp-order-toggle-card,
.erp-order-sensitive-card {
  padding: 1rem;
  border-radius: var(--erp-radius);
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.3);
}

.erp-order-toggle-card {
  display: grid;
  gap: 0.7rem;
}

.erp-order-sensitive-card.is-warning {
  border-color: rgba(248, 113, 113, 0.3);
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.22), rgba(15, 23, 42, 0.3));
}

.erp-order-sensitive-card.is-info {
  border-color: rgba(59, 130, 246, 0.28);
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.2), rgba(15, 23, 42, 0.3));
}

.erp-order-sensitive-title,
.erp-order-toggle-title {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.erp-order-toggle-value {
  font-size: 1rem;
  font-weight: 700;
}

.erp-order-toggle-value.is-on {
  color: #86efac;
}

.erp-order-toggle-value.is-off {
  color: #fca5a5;
}

.erp-order-contact-list,
.erp-order-address-block {
  display: grid;
  gap: 0.75rem;
}

.erp-order-contact-row {
  display: grid;
  grid-template-columns: minmax(112px, 132px) 1fr;
  gap: 0.85rem;
  align-items: start;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.erp-order-contact-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.erp-order-contact-label {
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.erp-order-contact-value {
  word-break: break-word;
}

.erp-order-history-groups {
  display: grid;
  gap: 0.8rem;
}

.erp-order-history-group,
.erp-order-doc-panel {
  padding: 0.9rem;
  border-radius: var(--erp-radius);
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.24);
}

.erp-order-history-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.7rem;
}

.erp-order-doc-panel h4 {
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
}

.erp-order-log-list {
  display: grid;
  gap: 0.8rem;
}

.erp-order-log-entry {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--erp-radius);
  background: rgba(15, 23, 42, 0.24);
}

.erp-order-log-entry.is-note {
  border-color: rgba(245, 158, 11, 0.22);
  background: rgba(120, 53, 15, 0.18);
}

.erp-order-log-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
}

.erp-order-log-body {
  line-height: 1.55;
}

[data-bs-theme="light"] [data-erp-comenzi-page] .card,
[data-bs-theme="light"] .erp-order-detail-page .card {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="light"] [data-erp-comenzi-page] .card-header,
[data-bs-theme="light"] .erp-order-detail-page .card-header {
  background: rgba(241, 245, 249, 0.9);
  border-bottom-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="light"] [data-erp-comenzi-page] .table,
[data-bs-theme="light"] .erp-order-detail-page .table {
  --bs-table-striped-bg: #f8fafc;
  --bs-table-hover-bg: #e0f2fe;
  --bs-table-color: #0f172a;
  --bs-table-border-color: rgba(148, 163, 184, 0.18);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-order-detail-alert {
  background: #fff7ed;
  border-color: #fdba74;
  color: #7c2d12;
}

[data-bs-theme="light"] .erp-order-detail-chip,
[data-bs-theme="light"] .erp-order-inline-form,
[data-bs-theme="light"] .erp-order-toggle-card,
[data-bs-theme="light"] .erp-order-sensitive-card,
[data-bs-theme="light"] .erp-order-history-group,
[data-bs-theme="light"] .erp-order-doc-panel,
[data-bs-theme="light"] .erp-order-log-entry {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.2);
}

[data-bs-theme="light"] .erp-order-sensitive-card.is-warning {
  background: linear-gradient(180deg, #fff1f2, #ffffff);
  border-color: #fda4af;
}

[data-bs-theme="light"] .erp-order-sensitive-card.is-info {
  background: linear-gradient(180deg, #eff6ff, #ffffff);
  border-color: #93c5fd;
}

[data-bs-theme="light"] .erp-order-toggle-value.is-on {
  color: #15803d;
}

[data-bs-theme="light"] .erp-order-toggle-value.is-off {
  color: #b91c1c;
}

@media (max-width: 767.98px) {
  .erp-order-contact-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .erp-order-detail-summary,
  .erp-order-detail-form-grid,
  .erp-order-toggle-grid,
  .erp-order-sensitive-grid {
    grid-template-columns: 1fr;
  }
}

[data-bs-theme="light"] .erp-retur-search-card,
[data-bs-theme="light"] .erp-retur-result-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}

.erp-retur-search-card .card-title,
.erp-retur-result-card .card-title {
  margin-bottom: 0.25rem;
}

.erp-retur-search-help {
  color: var(--erp-text-muted);
  font-size: 0.82rem;
}

[data-bs-theme="light"] .erp-retur-search-help {
  color: #64748b;
}

.erp-retur-results {
  min-height: 180px;
}

.erp-retur-loading,
.erp-retur-empty,
.erp-retur-error {
  padding: 1rem 1.15rem;
  font-size: 0.92rem;
}

.erp-retur-loading {
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
}

.erp-retur-empty {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
}

.erp-retur-error {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
}

[data-bs-theme="light"] .erp-retur-loading {
  background: #dbeafe;
  color: #1d4ed8;
}

[data-bs-theme="light"] .erp-retur-empty {
  background: #f1f5f9;
  color: #475569;
}

[data-bs-theme="light"] .erp-retur-error {
  background: #fee2e2;
  color: #b91c1c;
}

.erp-retur-result-table td,
.erp-retur-result-table th {
  vertical-align: middle;
}

.erp-retur-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 1rem;
}

.erp-retur-meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.erp-retur-meta-item {
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
}

[data-bs-theme="light"] .erp-retur-meta-item {
  background: #f8fafc;
}

.erp-retur-meta-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--erp-text-muted);
  margin-bottom: 0.35rem;
}

[data-bs-theme="light"] .erp-retur-meta-label {
  color: #64748b;
}

.erp-retur-order-list,
.erp-retur-items-table {
  margin-top: 1rem;
}

.erp-return-stack {
  display: grid;
  gap: 1rem;
}

.erp-retur-panel {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--erp-radius);
  background: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .erp-retur-panel {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.16);
}

.erp-retur-success-card {
  border-color: rgba(74, 222, 128, 0.3);
  background: rgba(34, 197, 94, 0.16);
}

.erp-retur-success-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #bbf7d0;
  margin-bottom: 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.erp-retur-success-text {
  font-size: 0.82rem;
  color: #ecfdf5;
}

.erp-retur-success-text + .erp-retur-success-text {
  margin-top: 0.15rem;
}

.erp-retur-order-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #f1f5f9;
}

.erp-retur-order-table-wrap {
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: var(--erp-radius);
  background: #252b32;
}

.erp-retur-order-table {
  font-size: 0.8rem;
}

[data-bs-theme="light"] .erp-retur-success-title {
  color: #15803d;
}

[data-bs-theme="light"] .erp-retur-success-text {
  color: #334155;
}

[data-bs-theme="light"] .erp-retur-success-card {
  background: #dcfce7;
  border-color: rgba(34, 197, 94, 0.3);
}

[data-bs-theme="light"] .erp-retur-order-title {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-retur-order-table-wrap {
  border-color: rgba(148, 163, 184, 0.16);
  background: #ffffff;
}

.erp-retur-meta-stack {
  display: grid;
  gap: 0.75rem;
}

.erp-retur-orders-grid {
  display: grid;
  gap: 0.85rem;
}

.erp-retur-order-card {
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--erp-radius);
  background: rgba(255, 255, 255, 0.03);
}

.erp-incasate-panel-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
}

.erp-incasate-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 1rem;
  align-items: start;
}

.erp-incasate-layout > .col-xl-8,
.erp-incasate-layout > .col-xl-4 {
  width: 100%;
  max-width: none;
  padding: 0;
}

.erp-incasate-layout > .col-xl-8 {
  min-width: 0;
}

.erp-incasate-layout > .col-xl-4 {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.erp-incasate-card {
  height: auto;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: #262c32;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.erp-incasate-layout > .col-xl-4 .erp-incasate-card {
  margin-bottom: 0 !important;
}

.erp-incasate-card-header {
  min-height: 58px;
  padding: 0.72rem 0.9rem;
  background: #1f252c;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.erp-incasate-card-body {
  padding: 0.78rem 0.82rem;
  background: #262c32;
}

.erp-incasate-section-head {
  padding: 0 0 0.65rem;
}

.erp-incasate-section-body {
  padding: 0;
}

.erp-incasate-side-block + .erp-incasate-side-block {
  margin-top: 1rem;
}

.erp-incasate-table-wrap {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: var(--erp-radius);
  background: #252b32;
}

.erp-incasate-table,
.erp-incasate-side-table {
  margin-bottom: 0;
  font-size: 0.79rem;
}

.erp-incasate-table > :not(caption) > * > * {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.erp-incasate-table thead th,
.erp-incasate-side-table thead th {
  font-size: 0.74rem;
  font-weight: 700;
  background: #1f252c !important;
}

.erp-incasate-table td,
.erp-incasate-table th,
.erp-incasate-side-table td,
.erp-incasate-side-table th {
  background: transparent !important;
  border-color: rgba(148, 163, 184, 0.1);
  color: inherit;
}

.erp-incasate-table thead th {
  color: #dfe7ef;
}

.erp-incasate-table tbody td,
.erp-incasate-side-table tbody td {
  color: #d8e0e8;
}

.erp-incasate-table .form-check-input {
  border-color: rgba(148, 163, 184, 0.45);
  background-color: #171d24;
}

.erp-incasate-table .form-check-input:checked {
  background-color: #2563eb;
  border-color: #2563eb;
}

.erp-incasate-table .fw-semibold,
.erp-incasate-table strong,
.erp-incasate-info-table strong {
  font-weight: 600 !important;
}

.erp-incasate-attribute-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: 0.28rem;
}

.erp-incasate-attribute-badges .badge {
  background: #6b7280 !important;
  color: #f8fafc !important;
  font-size: 0.68rem;
}

.erp-incasate-barcode-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 999px;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.72rem;
  line-height: 1.2;
}

.erp-incasate-total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.68rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--erp-radius);
  background: #1f252c;
}

.erp-incasate-total-bar-inline {
  min-width: 220px;
  margin-left: auto;
}

.erp-incasate-warning-card {
  padding: 0.68rem 0.8rem;
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: var(--erp-radius);
  background: rgba(120, 53, 15, 0.34);
}

.erp-incasate-warning-card-title {
  color: #fbbf24;
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.18rem;
}

.erp-incasate-warning-card-text {
  color: #fde68a;
  font-size: 0.79rem;
  line-height: 1.35;
}

.erp-incasate-total-label {
  font-size: 0.8rem;
  color: #b9c5d1;
}

.erp-incasate-total-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f3f6fa;
}

.erp-incasate-total-pair {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.18rem;
}

.erp-incasate-total-main {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f3f6fa;
}

.erp-incasate-total-secondary {
  font-size: 0.78rem;
  font-weight: 500;
  color: #b9c5d1;
}

.erp-incasate-doc-button {
  min-width: 72px;
}

.erp-incasate-doc-icon {
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(148, 163, 184, 0.24);
  background: #1f252c;
  color: #d6dde5;
}

.erp-incasate-doc-icon:hover,
.erp-incasate-doc-icon:focus {
  border-color: rgba(148, 163, 184, 0.34);
  background: #2b3036;
  color: #ffffff;
}

.erp-incasate-info-table {
  margin-bottom: 0;
  font-size: 0.79rem;
  table-layout: auto;
}

.erp-incasate-info-table td,
.erp-incasate-info-table th {
  background: transparent !important;
  border-color: rgba(148, 163, 184, 0.1);
  color: inherit;
  text-align: left;
  vertical-align: top;
}

.erp-incasate-info-table th {
  width: 1%;
  white-space: nowrap;
  color: #b9c5d1;
  font-weight: 600;
  padding-right: 0.7rem;
}

.erp-incasate-info-table td {
  color: #d8e0e8;
}

.erp-incasate-document-modal .modal-dialog {
  max-width: min(1120px, calc(100vw - 2rem));
}

.erp-incasate-document-modal .modal-content {
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: #262c32;
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.32);
  overflow: hidden;
}

.erp-incasate-document-modal .modal-header {
  padding: 0.62rem 0.8rem;
  background: #1f252c;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  color: #edf2f7;
}

.erp-incasate-document-modal .modal-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f8fafc;
}

.erp-incasate-document-modal .modal-body {
  background: #262c32;
  color: #d8e0e8;
}

.erp-incasate-document-modal .text-secondary {
  color: #aebbc8 !important;
}

.erp-incasate-document-modal .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
  opacity: 0.95;
}

.erp-incasate-document-modal .table-responsive {
  border-radius: 0;
}

.erp-incasate-document-modal .erp-pr-table thead th {
  background: #1f252c !important;
  color: #dfe7ef;
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

.erp-incasate-document-modal .erp-pr-table tbody td {
  background: #262c32 !important;
  color: #d8e0e8;
  border-top-color: rgba(148, 163, 184, 0.1);
}

.erp-incasate-actions {
  padding-top: 0.75rem;
}

.erp-return-stack .text-secondary,
.erp-retur-result-card .text-secondary,
.erp-retur-search-card .text-secondary,
#erp-retururi-pending-table .text-secondary,
#erp-retururi-procesate-table .text-secondary,
#erp-restituiri-asteptare-table .text-secondary,
#erp-restituiri-procesate-table .text-secondary,
#erp-restituiri-table .text-secondary {
  color: #aebbc8 !important;
}

[data-bs-theme="light"] .erp-retur-order-card {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-incasate-card {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 20px rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] .erp-incasate-card-header {
  background: #e2e8f0;
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-incasate-card-body {
  background: #ffffff;
}

[data-bs-theme="light"] .erp-incasate-table-wrap {
  border-color: rgba(148, 163, 184, 0.16);
  background: #ffffff;
}

[data-bs-theme="light"] .erp-incasate-table thead th {
  color: #1e293b;
  background: #e2e8f0 !important;
}

[data-bs-theme="light"] .erp-incasate-table tbody td,
[data-bs-theme="light"] .erp-incasate-side-table tbody td {
  color: #334155;
}

[data-bs-theme="light"] .erp-incasate-table .form-check-input {
  background-color: #ffffff;
  border-color: rgba(148, 163, 184, 0.4);
}

[data-bs-theme="light"] .erp-incasate-attribute-badges .badge {
  background: #cbd5e1 !important;
  color: #0f172a !important;
}

[data-bs-theme="light"] .erp-incasate-barcode-badge {
  border-color: rgba(100, 116, 139, 0.28);
  color: #475569;
}

[data-bs-theme="light"] .erp-incasate-total-bar {
  background: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="light"] .erp-incasate-warning-card {
  background: #fff7ed;
  border-color: rgba(245, 158, 11, 0.35);
}

[data-bs-theme="light"] .erp-incasate-warning-card-title {
  color: #b45309;
}

[data-bs-theme="light"] .erp-incasate-warning-card-text {
  color: #9a3412;
}

[data-bs-theme="light"] .erp-incasate-total-label {
  color: #475569;
}

[data-bs-theme="light"] .erp-incasate-total-value {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-incasate-total-main {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-incasate-total-secondary {
  color: #64748b;
}

[data-bs-theme="light"] .erp-incasate-info-table th {
  color: #475569;
}

[data-bs-theme="light"] .erp-incasate-info-table td {
  color: #334155;
}

[data-bs-theme="light"] .erp-incasate-doc-icon {
  border-color: rgba(148, 163, 184, 0.22);
  background: #ffffff;
  color: #334155;
}

[data-bs-theme="light"] .erp-incasate-doc-icon:hover,
[data-bs-theme="light"] .erp-incasate-doc-icon:focus {
  border-color: rgba(148, 163, 184, 0.3);
  background: #e2e8f0;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-incasate-document-modal .modal-content {
  border-color: rgba(148, 163, 184, 0.18);
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-incasate-document-modal .modal-header {
  background: #e2e8f0;
  border-bottom-color: rgba(148, 163, 184, 0.16);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-incasate-document-modal .modal-title {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-incasate-document-modal .modal-body {
  background: #ffffff;
  color: #334155;
}

[data-bs-theme="light"] .erp-incasate-document-modal .text-secondary {
  color: #64748b !important;
}

[data-bs-theme="light"] .erp-incasate-document-modal .btn-close {
  filter: none;
}

[data-bs-theme="light"] .erp-incasate-document-modal .erp-pr-table thead th {
  background: #e2e8f0 !important;
  color: #1e293b;
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-incasate-document-modal .erp-pr-table tbody td {
  background: #ffffff !important;
  color: #334155;
  border-top-color: rgba(148, 163, 184, 0.12);
}

@media (max-width: 1199.98px) {
  .erp-incasate-layout {
    grid-template-columns: 1fr;
  }
}

[data-bs-theme="light"] .erp-return-stack .text-secondary,
[data-bs-theme="light"] .erp-retur-result-card .text-secondary,
[data-bs-theme="light"] .erp-retur-search-card .text-secondary,
[data-bs-theme="light"] #erp-retururi-pending-table .text-secondary,
[data-bs-theme="light"] #erp-retururi-procesate-table .text-secondary,
[data-bs-theme="light"] #erp-restituiri-asteptare-table .text-secondary,
[data-bs-theme="light"] #erp-restituiri-procesate-table .text-secondary,
[data-bs-theme="light"] #erp-restituiri-table .text-secondary {
  color: #64748b !important;
}

.erp-retur-processing-table td,
.erp-retur-processing-table th {
  vertical-align: middle;
}

.erp-retur-empty-action {
  width: 1%;
}

.erp-country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1rem;
  margin-right: 0.35rem;
  line-height: 1;
  vertical-align: middle;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.24);
}

.erp-country-flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.erp-restituire-entry {
  min-width: 3.8rem;
}

.erp-restituire-id {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.02em;
}

.erp-restituire-inline-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  width: 100%;
}

.erp-restituire-detail-btn {
  min-width: 2rem;
  padding-inline: 0.5rem;
  color: #eff6ff;
  background: #2563eb;
  border-color: #2563eb;
}

.erp-restituire-detail-btn:hover,
.erp-restituire-detail-btn:focus {
  color: #ffffff;
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.erp-restituire-detail-card {
  overflow: hidden;
}

.erp-restituire-detail-header {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.erp-restituire-detail-body {
  padding: 0.85rem 1rem 0.95rem;
}

.erp-restituire-detail-stack {
  display: grid;
}

.erp-restituire-action-row {
  display: flex;
  justify-content: center;
  padding: 0.9rem 0 0.2rem;
}

.erp-restituire-bank-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.erp-restituire-detail-row {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.erp-restituire-detail-row:last-child {
  border-bottom: 0;
}

.erp-restituire-detail-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e5edf5;
}

.erp-restituire-detail-content {
  min-width: 0;
}

.erp-restituire-rma-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.erp-restituire-order-meta {
  text-align: left;
}

.erp-restituire-detail-aside {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.erp-restituire-rma-button {
  width: 1.95rem;
  min-width: 1.95rem;
  height: 1.95rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.erp-restituire-inline,
.erp-restituire-inline-editor {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.erp-restituire-inline-editable .erp-restituire-inline-display {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  padding: 0.14rem 0.42rem;
  border: 1px dotted rgba(203, 213, 225, 0.42);
  border-radius: 0.24rem;
  background: transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.erp-restituire-inline-editable .erp-restituire-inline-display:hover,
.erp-restituire-inline-editable .erp-restituire-inline-display:focus,
.erp-restituire-inline-editable .erp-restituire-inline-display:active {
  border-color: rgba(226, 232, 240, 0.68);
  background: transparent;
}

.erp-restituire-inline-display {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 500;
  text-align: left;
}

.erp-restituire-inline-display:hover,
.erp-restituire-inline-display:focus {
  opacity: 0.92;
}

.erp-restituire-inline-static {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 500;
}

.erp-restituire-inline-placeholder {
  color: #93a4b7;
  font-style: italic;
  font-weight: 400;
}

.erp-restituire-inline-input {
  min-width: 260px;
  max-width: 360px;
}

.erp-restituire-value-content {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: nowrap;
  max-width: 100%;
}

.erp-restituire-value-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: nowrap;
}

.erp-restituire-value-currency {
  white-space: nowrap;
}

.erp-restituire-process-voucher-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding-left: 0;
}

.erp-restituire-process-voucher-check .form-check-input {
  float: none;
  margin: 0;
}

.erp-restituire-process-voucher-check .form-check-label {
  margin-bottom: 0;
  color: #dce6f0;
  font-size: 0.82rem;
  font-weight: 600;
}

.erp-restituire-process-voucher-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.erp-restituire-process-template-warning {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.erp-restituire-process-template-warning i {
  flex: 0 0 auto;
}

@media (max-width: 991.98px) {
  .erp-restituire-value-content,
  .erp-restituire-value-actions {
    flex-wrap: wrap;
  }
}

.erp-restituire-toggle-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.erp-restituire-toggle-label.is-valid {
  color: #86efac;
}

.erp-restituire-toggle-label.is-invalid {
  color: #fca5a5;
}

.erp-restituire-toggle-label.is-neutral {
  color: #94a3b8;
}

.erp-restituire-old-check-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  margin: 0;
  user-select: none;
}

.erp-restituire-old-check-wrap.is-disabled {
  opacity: 0.78;
}

.erp-restituire-old-check-input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #38bdf8;
  cursor: pointer;
}

.erp-restituire-old-check-input:disabled {
  cursor: not-allowed;
}

.erp-restituire-old-check-label {
  margin: 0;
  cursor: pointer;
}

[data-bs-theme="light"] .erp-restituire-inline-placeholder {
  color: #64748b;
}

[data-bs-theme="light"] .erp-restituire-old-check-input {
  accent-color: #2563eb;
}

.erp-restituire-old-toggle {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0 0.15rem;
  user-select: none;
  position: relative;
}

.erp-restituire-old-toggle.is-disabled {
  opacity: 0.72;
}

.erp-restituire-old-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.erp-restituire-old-toggle-label {
  margin: 0;
  cursor: pointer;
}

.erp-restituire-old-toggle-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 28px;
  padding: 0 8px;
  border-radius: 4px;
  border: 1px solid rgba(248, 250, 252, 0.18);
  background: linear-gradient(180deg, rgba(71, 85, 105, 0.88), rgba(30, 41, 59, 0.95));
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}

.erp-restituire-old-toggle-track::before {
  content: attr(data-label-off);
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100% - 28px);
  margin-left: 28px;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

.erp-restituire-old-toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.35);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.erp-restituire-old-toggle.is-valid .erp-restituire-old-toggle-track {
  background: linear-gradient(180deg, #22c55e, #15803d);
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.erp-restituire-old-toggle.is-valid .erp-restituire-old-toggle-track::before {
  content: attr(data-label-on);
  width: calc(100% - 28px);
  margin-left: 0;
  margin-right: 28px;
  text-align: center;
}

.erp-restituire-old-toggle.is-valid .erp-restituire-old-toggle-track::after {
  transform: translateX(62px);
}

.erp-restituire-old-toggle.is-invalid .erp-restituire-old-toggle-track {
  background: linear-gradient(180deg, #ef4444, #b91c1c);
  border-color: rgba(248, 113, 113, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.erp-restituire-old-toggle.is-neutral .erp-restituire-old-toggle-track {
  background: linear-gradient(180deg, rgba(71, 85, 105, 0.78), rgba(51, 65, 85, 0.95));
  border-color: rgba(148, 163, 184, 0.3);
  color: #cbd5e1;
}

.erp-restituire-old-toggle.is-neutral .erp-restituire-old-toggle-track::before {
  content: attr(data-label-empty);
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  text-align: center;
}

.erp-restituire-old-toggle.is-neutral .erp-restituire-old-toggle-track::after {
  background: rgba(226, 232, 240, 0.75);
}

.erp-restituire-old-toggle-input:focus + .erp-restituire-old-toggle-label .erp-restituire-old-toggle-track {
  box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.2);
}

.erp-restituire-old-toggle-input:disabled + .erp-restituire-old-toggle-label {
  cursor: not-allowed;
}

[data-bs-theme="light"] .erp-restituire-inline-placeholder {
  color: #64748b;
}

[data-bs-theme="light"] .erp-restituire-old-check-input {
  accent-color: #2563eb;
}

[data-bs-theme="light"] .erp-restituire-old-toggle-track {
  border-color: rgba(148, 163, 184, 0.28);
  background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-restituire-old-toggle.is-valid .erp-restituire-old-toggle-track {
  background: linear-gradient(180deg, #22c55e, #16a34a);
  border-color: rgba(34, 197, 94, 0.45);
  color: #ffffff;
}

[data-bs-theme="light"] .erp-restituire-old-toggle.is-invalid .erp-restituire-old-toggle-track {
  background: linear-gradient(180deg, #ef4444, #dc2626);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ffffff;
}

[data-bs-theme="light"] .erp-restituire-old-toggle.is-neutral .erp-restituire-old-toggle-track {
  background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
  border-color: rgba(148, 163, 184, 0.32);
  color: #475569;
}

[data-bs-theme="light"] .erp-restituire-old-toggle-track::after {
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
}

[data-bs-theme="light"] .erp-restituire-old-toggle-input:focus + .erp-restituire-old-toggle-label .erp-restituire-old-toggle-track {
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.16);
}

[data-bs-theme="light"] .erp-restituire-old-toggle.is-disabled {
  opacity: 0.78;
}

.erp-restituire-log-wrap {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.erp-restituire-log-title {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.erp-restituire-log-item {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.erp-restituire-log-item:last-child {
  border-bottom: 0;
}

.erp-restituire-log-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.18rem;
}

.erp-restituire-log-date,
.erp-restituire-log-time {
  color: #aebdcb;
  font-size: 0.76rem;
}

.erp-restituire-log-user {
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 0.38rem;
  background: rgba(59, 130, 246, 0.16);
  color: #dbeafe;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 2px;
}

.erp-restituire-log-text {
  color: #e6edf5;
  font-size: 0.82rem;
  line-height: 1.5;
}

.erp-restituire-log-latest {
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.erp-restituire-log-more {
  margin-top: 0.4rem;
}

.erp-restituire-log-more-summary {
  cursor: pointer;
  color: #8fd3ff;
  font-size: 0.8rem;
  font-weight: 600;
  user-select: none;
}

.erp-restituire-log-more[open] .erp-restituire-log-more-summary {
  margin-bottom: 0.35rem;
}

.erp-restituire-log-more-list {
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.erp-restituire-bank-holder {
  color: #f8fafc;
  font-weight: 600;
}

.erp-restituire-bank-account {
  color: #d6dee8;
}

.erp-restituire-bank-warning {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  line-height: 1;
}

.erp-restituire-bank-warning .fa-exclamation-triangle {
  font-size: 0.9rem;
}

.erp-restituire-status-badge {
  font-size: 0.72rem;
  font-weight: 600;
}

.erp-restituiri-client-col {
  white-space: normal !important;
}

.erp-restituiri-client-col .fw-semibold,
.erp-restituiri-client-col .small {
  word-break: break-word;
}

.erp-restituiri-range-toggle {
  display: inline-flex;
  align-items: center;
}

.erp-restituiri-range-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.erp-restituiri-range-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 29px;
  margin: 0;
  padding: 0.2rem 0.62rem 0.2rem 0.28rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.2);
  color: #dbe5ef;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.erp-restituiri-range-toggle-knob {
  position: relative;
  width: 38px;
  height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg, #64748b, #475569);
  border: 1px solid rgba(248, 250, 252, 0.14);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.erp-restituiri-range-toggle-knob::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.34);
  transition: transform 0.15s ease;
}

.erp-restituiri-range-toggle input:checked + label .erp-restituiri-range-toggle-knob {
  background: linear-gradient(180deg, #22c55e, #15803d);
  border-color: rgba(34, 197, 94, 0.42);
}

.erp-restituiri-range-toggle input:checked + label .erp-restituiri-range-toggle-knob::after {
  transform: translateX(18px);
}

.erp-restituiri-range-toggle input:focus + label {
  box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.16);
}

.erp-retur-processing-table thead th,
.erp-retur-result-table thead th,
#erp-retururi-procesate-table thead th,
#erp-retururi-pending-table thead th,
#erp-restituiri-asteptare-table thead th,
#erp-restituiri-procesate-table thead th,
#erp-restituiri-table thead th {
  color: #dce4ec;
  background: rgba(255, 255, 255, 0.04);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.erp-retur-processing-table tbody td,
.erp-retur-result-table tbody td,
#erp-retururi-procesate-table tbody td,
#erp-retururi-pending-table tbody td,
#erp-restituiri-asteptare-table tbody td,
#erp-restituiri-procesate-table tbody td,
#erp-restituiri-table tbody td {
  color: #e5ebf2;
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

#erp-retururi-procesate-table,
#erp-retururi-pending-table,
#erp-restituiri-asteptare-table,
#erp-restituiri-procesate-table,
#erp-restituiri-table {
  font-size: 0.88rem;
}

#erp-retururi-procesate-table.table-striped > tbody > tr:nth-of-type(odd) > *,
#erp-retururi-pending-table.table-striped > tbody > tr:nth-of-type(odd) > *,
#erp-restituiri-asteptare-table.table-striped > tbody > tr:nth-of-type(odd) > *,
#erp-restituiri-procesate-table.table-striped > tbody > tr:nth-of-type(odd) > *,
#erp-restituiri-table.table-striped > tbody > tr:nth-of-type(odd) > * {
  box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, 0.025);
}

#erp-retururi-procesate-table.table-hover > tbody > tr:hover > *,
#erp-retururi-pending-table.table-hover > tbody > tr:hover > *,
#erp-restituiri-asteptare-table.table-hover > tbody > tr:hover > *,
#erp-restituiri-procesate-table.table-hover > tbody > tr:hover > *,
#erp-restituiri-table.table-hover > tbody > tr:hover > * {
  box-shadow: inset 0 0 0 9999px rgba(96, 165, 250, 0.1);
}

#erp-retururi-procesate-table .btn.btn-sm,
#erp-retururi-pending-table .btn.btn-sm,
#erp-restituiri-asteptare-table .btn.btn-sm,
#erp-restituiri-procesate-table .btn.btn-sm,
#erp-restituiri-table .btn.btn-sm {
  padding: 0.28rem 0.55rem;
}

#erp-retururi-procesate-table .fw-semibold,
#erp-restituiri-asteptare-table .fw-semibold,
#erp-restituiri-procesate-table .fw-semibold,
#erp-restituiri-table .fw-semibold {
  color: #f8fafc;
}

[data-bs-theme="light"] .erp-retur-processing-table thead th,
[data-bs-theme="light"] .erp-retur-result-table thead th,
[data-bs-theme="light"] #erp-retururi-procesate-table thead th,
[data-bs-theme="light"] #erp-retururi-pending-table thead th,
[data-bs-theme="light"] #erp-restituiri-asteptare-table thead th,
[data-bs-theme="light"] #erp-restituiri-procesate-table thead th,
[data-bs-theme="light"] #erp-restituiri-table thead th {
  color: #1e293b;
  background: #f8fafc;
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-retur-processing-table tbody td,
[data-bs-theme="light"] .erp-retur-result-table tbody td,
[data-bs-theme="light"] #erp-retururi-procesate-table tbody td,
[data-bs-theme="light"] #erp-retururi-pending-table tbody td,
[data-bs-theme="light"] #erp-restituiri-asteptare-table tbody td,
[data-bs-theme="light"] #erp-restituiri-procesate-table tbody td,
[data-bs-theme="light"] #erp-restituiri-table tbody td {
  color: #0f172a;
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] #erp-retururi-procesate-table.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-bs-theme="light"] #erp-retururi-pending-table.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-bs-theme="light"] #erp-restituiri-asteptare-table.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-bs-theme="light"] #erp-restituiri-procesate-table.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-bs-theme="light"] #erp-restituiri-table.table-striped > tbody > tr:nth-of-type(odd) > * {
  box-shadow: inset 0 0 0 9999px rgba(148, 163, 184, 0.08);
}

[data-bs-theme="light"] #erp-retururi-procesate-table.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] #erp-retururi-pending-table.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] #erp-restituiri-asteptare-table.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] #erp-restituiri-procesate-table.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] #erp-restituiri-table.table-hover > tbody > tr:hover > * {
  box-shadow: inset 0 0 0 9999px rgba(59, 130, 246, 0.08);
}

[data-bs-theme="light"] #erp-retururi-procesate-table .fw-semibold,
[data-bs-theme="light"] #erp-restituiri-asteptare-table .fw-semibold,
[data-bs-theme="light"] #erp-restituiri-procesate-table .fw-semibold,
[data-bs-theme="light"] #erp-restituiri-table .fw-semibold {
  color: #0f172a;
}

#erp-comenzi-table-lista_comenzi_toate thead th,
#erp-comenzi-table-lista_comenzi_avizate thead th,
#erp-comenzi-table-lista_comenzi_in_livrare thead th,
#erp-comenzi-table-comenzi_neconfirmate thead th,
#erp-comenzi-table-comenzi_confirmate thead th,
#erp-comenzi-table-comenzi_probleme thead th {
  color: #dce4ec;
  background: rgba(255, 255, 255, 0.04);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

#erp-comenzi-table-lista_comenzi_toate tbody td,
#erp-comenzi-table-lista_comenzi_avizate tbody td,
#erp-comenzi-table-lista_comenzi_in_livrare tbody td,
#erp-comenzi-table-comenzi_neconfirmate tbody td,
#erp-comenzi-table-comenzi_confirmate tbody td,
#erp-comenzi-table-comenzi_probleme tbody td {
  color: #e5ebf2;
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

#erp-comenzi-table-lista_comenzi_toate,
#erp-comenzi-table-lista_comenzi_avizate,
#erp-comenzi-table-lista_comenzi_in_livrare,
#erp-comenzi-table-comenzi_neconfirmate,
#erp-comenzi-table-comenzi_confirmate,
#erp-comenzi-table-comenzi_probleme {
  font-size: 0.88rem;
}

#erp-comenzi-table-lista_comenzi_toate.table-striped > tbody > tr:nth-of-type(odd) > *,
#erp-comenzi-table-lista_comenzi_avizate.table-striped > tbody > tr:nth-of-type(odd) > *,
#erp-comenzi-table-lista_comenzi_in_livrare.table-striped > tbody > tr:nth-of-type(odd) > *,
#erp-comenzi-table-comenzi_neconfirmate.table-striped > tbody > tr:nth-of-type(odd) > *,
#erp-comenzi-table-comenzi_confirmate.table-striped > tbody > tr:nth-of-type(odd) > *,
#erp-comenzi-table-comenzi_probleme.table-striped > tbody > tr:nth-of-type(odd) > * {
  box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, 0.025);
}

#erp-comenzi-table-lista_comenzi_toate.table-hover > tbody > tr:hover > *,
#erp-comenzi-table-lista_comenzi_avizate.table-hover > tbody > tr:hover > *,
#erp-comenzi-table-lista_comenzi_in_livrare.table-hover > tbody > tr:hover > *,
#erp-comenzi-table-comenzi_neconfirmate.table-hover > tbody > tr:hover > *,
#erp-comenzi-table-comenzi_confirmate.table-hover > tbody > tr:hover > *,
#erp-comenzi-table-comenzi_probleme.table-hover > tbody > tr:hover > * {
  box-shadow: inset 0 0 0 9999px rgba(96, 165, 250, 0.1);
}

#erp-comenzi-table-comenzi_neconfirmate.table-hover > tbody > tr:hover > * {
  box-shadow: inset 0 0 0 9999px rgba(148, 163, 184, 0.1);
}

#erp-comenzi-table-lista_comenzi_toate .fw-semibold,
#erp-comenzi-table-lista_comenzi_avizate .fw-semibold,
#erp-comenzi-table-lista_comenzi_in_livrare .fw-semibold,
#erp-comenzi-table-comenzi_neconfirmate .fw-semibold,
#erp-comenzi-table-comenzi_confirmate .fw-semibold,
#erp-comenzi-table-comenzi_probleme .fw-semibold {
  color: #f8fafc;
}

#erp-comenzi-table-lista_comenzi_toate .text-secondary,
#erp-comenzi-table-lista_comenzi_avizate .text-secondary,
#erp-comenzi-table-lista_comenzi_in_livrare .text-secondary,
#erp-comenzi-table-comenzi_neconfirmate .text-secondary,
#erp-comenzi-table-comenzi_confirmate .text-secondary,
#erp-comenzi-table-comenzi_probleme .text-secondary {
  color: #94a3b8 !important;
}

[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_toate thead th,
[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_avizate thead th,
[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_in_livrare thead th,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_neconfirmate thead th,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_confirmate thead th,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_probleme thead th {
  color: #1e293b;
  background: #f8fafc;
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_toate tbody td,
[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_avizate tbody td,
[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_in_livrare tbody td,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_neconfirmate tbody td,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_confirmate tbody td,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_probleme tbody td {
  color: #0f172a;
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_toate.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_avizate.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_in_livrare.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_neconfirmate.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_confirmate.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_probleme.table-striped > tbody > tr:nth-of-type(odd) > * {
  box-shadow: inset 0 0 0 9999px rgba(148, 163, 184, 0.08);
}

[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_toate.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_avizate.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_in_livrare.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_neconfirmate.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_confirmate.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_probleme.table-hover > tbody > tr:hover > * {
  box-shadow: inset 0 0 0 9999px rgba(59, 130, 246, 0.08);
}

[data-bs-theme="light"] #erp-comenzi-table-comenzi_neconfirmate.table-hover > tbody > tr:hover > * {
  box-shadow: inset 0 0 0 9999px rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_toate .fw-semibold,
[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_avizate .fw-semibold,
[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_in_livrare .fw-semibold,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_neconfirmate .fw-semibold,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_confirmate .fw-semibold,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_probleme .fw-semibold {
  color: #0f172a;
}

[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_toate .text-secondary,
[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_avizate .text-secondary,
[data-bs-theme="light"] #erp-comenzi-table-lista_comenzi_in_livrare .text-secondary,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_neconfirmate .text-secondary,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_confirmate .text-secondary,
[data-bs-theme="light"] #erp-comenzi-table-comenzi_probleme .text-secondary {
  color: #64748b !important;
}

.erp-comenzi-detail-shell .card-header {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12), rgba(15, 23, 42, 0.3));
}

.erp-comenzi-detail-metric-row,
.erp-comenzi-detail-line,
.erp-comenzi-detail-client-meta,
.erp-comenzi-detail-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.erp-comenzi-detail-metric-row {
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.erp-comenzi-detail-metric-label {
  font-size: 0.95rem;
  font-weight: 700;
}

.erp-comenzi-detail-metric-value {
  font-size: 1.1rem;
  font-weight: 700;
}

.erp-comenzi-detail-line {
  padding: 0.9rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.erp-comenzi-detail-line:first-of-type {
  border-top: 0;
}

.erp-comenzi-detail-line-label {
  flex: 0 0 150px;
  font-size: 0.92rem;
  font-weight: 700;
}

.erp-comenzi-detail-line-main {
  flex: 1 1 auto;
  min-width: 220px;
}

.erp-comenzi-inline-form,
.erp-comenzi-toggle-inline {
  margin: 0;
}

.erp-comenzi-detail-line-readonly {
  font-size: 0.95rem;
  font-weight: 600;
}

.erp-comenzi-detail-line-side {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.erp-comenzi-detail-actions {
  justify-content: space-between;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.erp-comenzi-detail-field + .erp-comenzi-detail-field {
  margin-top: 0.9rem;
}

.erp-comenzi-detail-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--erp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.erp-comenzi-detail-field .form-control[readonly] {
  background: rgba(15, 23, 42, 0.28);
  color: #e5ebf2;
  border-color: rgba(148, 163, 184, 0.18);
}

.erp-comenzi-detail-client-meta {
  flex-wrap: wrap;
  margin-top: 1rem;
  color: var(--erp-text-muted);
}

[data-bs-theme="light"] .erp-comenzi-detail-shell .card-header {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.12), #f8fafc);
}

[data-bs-theme="light"] .erp-comenzi-detail-line {
  border-top-color: rgba(148, 163, 184, 0.2);
}

[data-bs-theme="light"] .erp-comenzi-detail-actions {
  border-top-color: rgba(148, 163, 184, 0.2);
}

[data-bs-theme="light"] .erp-comenzi-detail-field .form-control[readonly] {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.22);
}

@media (max-width: 767.98px) {
  .erp-comenzi-detail-matrix-row,
  .erp-comenzi-address-grid-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .erp-comenzi-detail-matrix-side {
    justify-content: flex-start;
  }

  .erp-comenzi-detail-line,
  .erp-comenzi-detail-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .erp-comenzi-detail-line-label,
  .erp-comenzi-detail-line-main,
  .erp-comenzi-detail-line-side {
    flex: 1 1 auto;
    min-width: 0;
  }

  .erp-comenzi-detail-line-side {
    margin-left: 0;
    justify-content: flex-start;
  }
}

[data-bs-theme="light"] .erp-restituiri-range-toggle label {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.24);
  color: #334155;
}

[data-bs-theme="light"] .erp-restituiri-range-toggle-knob {
  background: linear-gradient(180deg, #cbd5e1, #94a3b8);
  border-color: rgba(148, 163, 184, 0.28);
}

[data-bs-theme="light"] .erp-restituiri-range-toggle input:checked + label .erp-restituiri-range-toggle-knob {
  background: linear-gradient(180deg, #22c55e, #16a34a);
  border-color: rgba(34, 197, 94, 0.42);
}

[data-bs-theme="light"] .erp-restituire-id {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-restituire-detail-label {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-restituire-log-user {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

[data-bs-theme="light"] .erp-restituire-log-text {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-restituire-log-more-summary {
  color: #1d4ed8;
}

[data-bs-theme="light"] .erp-restituire-bank-holder {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-restituire-bank-account {
  color: #334155;
}

.erp-retur-reason {
  display: inline-block;
  padding: 0.22rem 0.45rem;
  border-radius: var(--erp-radius);
  background: rgba(245, 158, 11, 0.14);
  color: #fcd34d;
  font-size: 0.78rem;
}

[data-bs-theme="light"] .erp-retur-reason {
  background: #fff7ed;
  color: #c2410c;
}

.erp-retur-note {
  padding: 0.85rem 0.95rem;
  border-radius: var(--erp-radius);
}

.erp-process-modal .modal-dialog {
  max-width: 460px;
}

.erp-process-modal-content {
  background: #20262d;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.erp-process-modal-header {
  border-bottom-color: rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.3);
}

.erp-process-modal-header .modal-title {
  color: #f3f6fa;
}

.erp-process-modal-close {
  filter: invert(1) grayscale(1) brightness(2);
  opacity: 1;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.12);
  padding: 0.55rem;
}

.erp-process-modal-close:hover,
.erp-process-modal-close:focus {
  background-color: rgba(255, 255, 255, 0.18);
  opacity: 1;
}

.erp-process-modal-body {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  color: #dbe5ef;
}

.erp-process-modal-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  font-size: 1.05rem;
}

.erp-process-modal-text {
  grid-column: 2 / -1;
  line-height: 1.55;
}

.erp-process-modal-body > [data-erp-voucher-conversion-box],
.erp-process-modal-body > [data-erp-process-voucher-warning],
.erp-process-modal-body > .form-check {
  grid-column: 2 / -1;
}

.erp-process-modal-body > [data-erp-process-voucher-warning] {
  grid-column: 1 / -1;
  width: 100%;
  margin-bottom: 0;
}

.erp-process-modal-body > .form-check {
  width: 100%;
}

.erp-process-modal-body > .form-check .form-check-label {
  display: block;
  width: 100%;
  white-space: normal;
}

.erp-process-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  border-top-color: rgba(148, 163, 184, 0.12);
}

.erp-process-modal-confirm {
  margin-left: auto;
}

.erp-process-modal .btn-success,
.erp-process-modal .btn-primary {
  background: #343a40;
  border-color: #343a40;
  color: #ffffff;
}

.erp-process-modal .btn-success:hover,
.erp-process-modal .btn-success:focus,
.erp-process-modal .btn-primary:hover,
.erp-process-modal .btn-primary:focus {
  background: #3b4148;
  border-color: #3b4148;
  color: #ffffff;
}

.erp-restituire-storno-modal .modal-dialog {
  max-width: min(1320px, calc(100vw - 1.5rem));
}

.erp-restituire-storno-modal-content {
  overflow: hidden;
  border: 0;
  background: #13171c;
  color: #dbe4ee;
}

.erp-restituire-storno-modal-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: #1f3b73;
  color: #f8fbff;
  padding: 0.9rem 1rem;
}

.erp-restituire-storno-modal-subtitle {
  font-size: 0.82rem;
  color: rgba(248, 251, 255, 0.82);
}

.erp-restituire-storno-modal-body {
  padding: 1rem;
  background: #13171c;
}

.erp-restituire-storno-shell {
  display: grid;
  gap: 0.75rem;
}

.erp-restituire-storno-card {
  overflow: hidden;
}

.erp-restituire-storno-subtitle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: 0.81rem;
  color: #c6d2df;
}

.erp-restituire-storno-separator {
  opacity: 0.5;
}

.erp-restituire-storno-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem;
}

.erp-restituire-storno-metric {
  display: grid;
  gap: 0.22rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 0.7rem;
  background: rgba(15, 23, 42, 0.22);
}

.erp-restituire-storno-metric-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #93a5b8;
}

.erp-restituire-storno-metric-value {
  display: grid;
  gap: 0.18rem;
  font-size: 0.93rem;
  color: #eef4fa;
}

.erp-restituire-storno-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.erp-restituire-storno-toolbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.erp-restituire-storno-line-total {
  font-weight: 700;
  color: #7dd3fc;
}

.erp-restituire-storno-line-total.is-positive {
  color: #7dd3fc;
}

.erp-restituire-storno-line-total.is-negative {
  color: #fda4af;
}

.erp-restituire-storno-line-total.is-muted {
  color: #94a3b8;
}

.erp-restituire-storno-row.is-storno > * {
  background: rgba(14, 116, 144, 0.12) !important;
}

.erp-restituire-storno-actual-qty {
  color: #86efac;
  font-weight: 700;
}

.erp-restituire-storno-side-table td {
  padding-top: 0.58rem;
  padding-bottom: 0.58rem;
}

.erp-restituire-storno-note-list {
  display: grid;
  gap: 0.6rem;
}

.erp-restituire-storno-note {
  display: grid;
  gap: 0.28rem;
  padding: 0.72rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.18);
}

.erp-restituire-storno-note strong {
  font-size: 0.82rem;
}

.erp-restituire-storno-note.is-info {
  border-color: rgba(56, 189, 248, 0.26);
}

.erp-restituire-storno-note.is-warning {
  border-color: rgba(245, 158, 11, 0.26);
}

.erp-restituire-storno-note.is-danger {
  border-color: rgba(239, 68, 68, 0.26);
}

.erp-html-editor {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.16);
}

.erp-html-editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.26);
}

.erp-html-editor-textarea {
  border: 0;
  border-radius: 0;
  min-height: 280px;
}

.erp-html-editor-textarea:focus {
  box-shadow: none;
}

.erp-html-editor-preview {
  min-height: 280px;
  padding: 0.85rem 0.95rem;
  color: #e6edf5;
  background: rgba(15, 23, 42, 0.28);
  overflow: auto;
}

.erp-html-editor-preview p:last-child {
  margin-bottom: 0;
}

[data-bs-theme="light"] .erp-process-modal-content {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.2);
}

[data-bs-theme="light"] .erp-process-modal-header {
  background: #f8fafc;
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-process-modal-header .modal-title {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-process-modal-close {
  filter: none;
  opacity: 0.88;
  background-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-process-modal-close:hover,
[data-bs-theme="light"] .erp-process-modal-close:focus {
  background-color: rgba(148, 163, 184, 0.22);
  opacity: 1;
}

[data-bs-theme="light"] .erp-process-modal-body {
  color: #334155;
}

[data-bs-theme="light"] .erp-process-modal-icon {
  background: #fff7ed;
  color: #c2410c;
}

[data-bs-theme="light"] .erp-process-modal-footer {
  border-top-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-restituire-storno-modal-content {
  background: #f8fafc;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-restituire-storno-modal-header {
  background: #1f3b73;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] .erp-restituire-storno-modal-subtitle {
  color: rgba(248, 251, 255, 0.84);
}

[data-bs-theme="light"] .erp-restituire-storno-modal-body {
  background: #f8fafc;
}

[data-bs-theme="light"] .erp-restituire-storno-subtitle {
  color: #64748b;
}

[data-bs-theme="light"] .erp-restituire-storno-metric {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] .erp-restituire-storno-metric-label {
  color: #64748b;
}

[data-bs-theme="light"] .erp-restituire-storno-metric-value {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-restituire-storno-line-total {
  color: #0369a1;
}

[data-bs-theme="light"] .erp-restituire-storno-line-total.is-positive {
  color: #0369a1;
}

[data-bs-theme="light"] .erp-restituire-storno-line-total.is-negative {
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-restituire-storno-line-total.is-muted {
  color: #64748b;
}

[data-bs-theme="light"] .erp-restituire-storno-row.is-storno > * {
  background: rgba(14, 116, 144, 0.08) !important;
}

[data-bs-theme="light"] .erp-restituire-storno-actual-qty {
  color: #15803d;
}

[data-bs-theme="light"] .erp-restituire-storno-note {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] .erp-html-editor {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="light"] .erp-html-editor-toolbar {
  background: #f8fafc;
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-html-editor-preview {
  background: #ffffff;
  color: #0f172a;
}

.erp-shopify-stock-hero {
  overflow: hidden;
}

.erp-shopify-stock-progress {
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.erp-shopify-stock-progress .progress {
  height: 0.8rem;
  background: rgba(15, 23, 42, 0.4);
}

.erp-shopify-stock-progress .progress-bar {
  background: linear-gradient(90deg, #0ea5e9 0%, #22c55e 100%);
}

.erp-shopify-stock-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.erp-shopify-stock-stat .label {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.erp-shopify-stock-stat .value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
}

.erp-shopify-stock-note {
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
}

.erp-shopify-stock-note.warning {
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
}

.erp-shopify-stock-note.info {
  background: rgba(14, 165, 233, 0.12);
  color: #bae6fd;
}

.erp-shopify-stock-note-title {
  margin-bottom: 0.3rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.erp-shopify-stock-log {
  white-space: pre-wrap;
  max-height: 340px;
  overflow: auto;
}

[data-bs-theme="light"] .erp-shopify-stock-progress .progress {
  background: #e2e8f0;
}

[data-bs-theme="light"] .erp-shopify-stock-stat {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-shopify-stock-stat .label {
  color: #64748b;
}

[data-bs-theme="light"] .erp-shopify-stock-stat .value {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-shopify-stock-note.warning {
  background: #fff7ed;
  color: #9a3412;
}

[data-bs-theme="light"] .erp-shopify-stock-note.info {
  background: #e0f2fe;
  color: #0c4a6e;
}

.erp-retur-note.warning {
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
}

.erp-retur-note.info {
  background: rgba(14, 165, 233, 0.12);
  color: #bae6fd;
}

[data-bs-theme="light"] .erp-retur-note.warning {
  background: #fff7ed;
  color: #9a3412;
}

[data-bs-theme="light"] .erp-retur-note.info {
  background: #e0f2fe;
  color: #0c4a6e;
}

.erp-retur-note-title {
  margin-bottom: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.erp-retur-stat-large {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.erp-retur-order-badge {
  min-width: 90px;
}

.erp-retur-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.erp-retur-value-text {
  color: #f8fafc;
  font-weight: 600;
}

[data-bs-theme="light"] .erp-retur-value-text {
  color: #0f172a;
}

.erp-pr-stack {
  display: grid;
  gap: 0.5rem;
}

.erp-pr-alert {
  margin-bottom: 0;
}

[data-bs-theme="dark"] .erp-pr-card {
  position: relative;
  background: rgba(19, 23, 28, 0.55);
  border-color: rgba(255, 255, 255, 0.06);
  color: #dbe4ee;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.12);
}

[data-bs-theme="light"] .erp-pr-card {
  position: relative;
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.erp-pr-card-header {
  padding: 0.56rem 0.68rem;
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

.erp-pr-header-main {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
}

.erp-pr-header-actions {
  margin-left: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: right;
}

.erp-pr-header-note {
  margin-top: 0.35rem;
  font-size: 0.79rem;
  color: #cbd5e1;
}

.erp-pr-title {
  font-size: 0.9rem;
  font-weight: 400;
}

.erp-pr-title strong {
  font-weight: 700;
}

.erp-pr-table > :not(caption) > * > * {
  padding: 0.42rem 0.52rem;
  vertical-align: top;
  font-size: 0.81rem;
  border-bottom-color: rgba(148, 163, 184, 0.08);
}

.erp-pr-table tbody tr.product-item > * {
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

[data-bs-theme="dark"] .erp-pr-table {
  --bs-table-bg: transparent;
  --bs-table-color: #e5ebf2;
  --bs-table-border-color: rgba(148, 163, 184, 0.12);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.025);
  --bs-table-hover-bg: rgba(255, 255, 255, 0.035);
}

.erp-pr-table thead th {
  white-space: nowrap;
  font-size: 0.77rem;
  color: #dce4ec;
  background: rgba(255, 255, 255, 0.04);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .erp-pr-table tbody th,
[data-bs-theme="dark"] .erp-pr-table tbody td {
  color: #e5ebf2;
}

.erp-pr-col-index {
  width: 52px;
}

.erp-pr-col-process {
  width: 72px;
}

.erp-pr-reason-row td {
  padding-top: 0.1rem;
  padding-bottom: 0.45rem;
  border-top: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.erp-pr-inline-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.45rem;
  border-left: 2px solid rgba(96, 165, 250, 0.7);
  background: rgba(59, 130, 246, 0.09);
  border-radius: 2px;
  font-size: 0.77rem;
  color: #b9d9ff;
}

[data-bs-theme="light"] .erp-pr-inline-note {
  color: #0c4a6e;
  background: #eaf4ff;
}

.erp-pr-restock-select {
  width: 68px;
}

.erp-pr-table .badge {
  font-size: 0.72rem;
}

.erp-pr-product-title {
  color: #f8fafc;
  font-weight: 600;
}

.erp-pr-table .form-select,
.erp-pr-table .form-control,
.erp-pr-footer-fields .form-select,
.erp-pr-footer-fields .form-control {
  font-size: 0.8rem;
}

.erp-pr-table .form-select.is-invalid,
.erp-pr-footer-fields .form-select.is-invalid {
  color: #fca5a5 !important;
  font-weight: 700;
  border-color: rgba(248, 113, 113, 0.55);
}

.erp-pr-table .form-select.is-invalid option,
.erp-pr-footer-fields .form-select.is-invalid option {
  font-weight: 700;
}

[data-bs-theme="light"] .erp-pr-table {
  --bs-table-bg: transparent;
  --bs-table-color: #0f172a;
  --bs-table-border-color: rgba(148, 163, 184, 0.12);
  --bs-table-striped-bg: rgba(148, 163, 184, 0.08);
  --bs-table-hover-bg: rgba(148, 163, 184, 0.1);
}

[data-bs-theme="light"] .erp-pr-table thead th {
  color: #1e293b;
  background: #f8fafc;
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-pr-table tbody th,
[data-bs-theme="light"] .erp-pr-table tbody td {
  color: #0f172a;
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] .erp-pr-product-title {
  color: #0f172a;
}

[data-bs-theme="dark"] .erp-pr-table .form-control,
[data-bs-theme="dark"] .erp-pr-footer-fields .form-control {
  background: #0f151d;
  border-color: rgba(148, 163, 184, 0.2);
  color: #e8eef5;
}

[data-bs-theme="dark"] .erp-pr-table .form-select,
[data-bs-theme="dark"] .erp-pr-footer-fields .form-select {
  background: #0f151d;
  border-color: rgba(148, 163, 184, 0.2);
  color: #e8eef5;
}

[data-bs-theme="dark"] .erp-pr-table .form-select,
[data-bs-theme="dark"] .erp-pr-footer-fields .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23dbe4ee' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 14px 10px;
  padding-right: 2rem;
}

[data-bs-theme="dark"] .erp-pr-table .form-select.is-invalid,
[data-bs-theme="dark"] .erp-pr-footer-fields .form-select.is-invalid {
  color: #fca5a5 !important;
  background-color: #0f151d;
  background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fda4af' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 3v3.25'/%3E%3Ccircle cx='6' cy='8.6' r='.75' fill='%23fda4af'/%3E%3Cpath fill='none' stroke='%23fda4af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.4' d='M6 1.3 10.7 10H1.3z'/%3E%3C/svg%3E"),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23dbe4ee' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat;
    background-position: right 2rem center, right 0.7rem center;
    background-size: 13px 13px, 14px 10px;
    padding-right: 3rem;
}

[data-bs-theme="dark"] .erp-pr-table .form-select.is-invalid option,
[data-bs-theme="dark"] .erp-pr-footer-fields .form-select.is-invalid option {
  color: #e8eef5;
  background: #0f151d;
}

[data-bs-theme="light"] .erp-pr-table .form-select.is-invalid,
[data-bs-theme="light"] .erp-pr-footer-fields .form-select.is-invalid {
  color: #dc2626 !important;
  background-color: #ffffff;
}

[data-bs-theme="light"] .erp-pr-table .form-select.is-invalid option,
[data-bs-theme="light"] .erp-pr-footer-fields .form-select.is-invalid option {
  color: #0f172a;
  background: #ffffff;
}

[data-bs-theme="dark"] .erp-pr-table .form-control::placeholder,
[data-bs-theme="dark"] .erp-pr-footer-fields .form-control::placeholder {
  color: #8ea1b4;
  opacity: 1;
}

[data-bs-theme="dark"] .erp-pr-table .text-secondary,
[data-bs-theme="dark"] .erp-pr-order-table .text-secondary {
  color: #aebdcb !important;
}

[data-bs-theme="dark"] .erp-pr-table .text-info {
  color: #aebdcb !important;
}

[data-bs-theme="dark"] .erp-pr-table .text-warning {
  color: #ffd37a !important;
}

[data-bs-theme="dark"] .erp-pr-qty-hint.text-info {
  color: #aebdcb !important;
}

[data-bs-theme="light"] .erp-pr-qty-hint.text-info {
  color: #64748b !important;
}

.erp-pr-order-button {
  min-width: 2rem;
  padding: 0.18rem 0.45rem;
}

.erp-pr-order-button.btn-outline-info,
.erp-pr-order-button.btn-outline-secondary {
  border-color: #1f3b73;
  background: #1f3b73;
  color: #f8fbff;
}

.erp-pr-order-button.btn-outline-info:hover,
.erp-pr-order-button.btn-outline-info:focus,
.erp-pr-order-button.btn-outline-secondary:hover,
.erp-pr-order-button.btn-outline-secondary:focus {
  border-color: #274887;
  background: #274887;
  color: #ffffff;
}

.erp-sr-stack {
  display: grid;
  gap: 0.5rem;
}

[data-bs-theme="dark"] .erp-sr-card {
  background: var(--erp-sr-body-bg-dark);
  border-color: rgba(255, 255, 255, 0.06);
  color: #d7dde4;
}

.erp-sr-card-header {
  padding: 0.56rem 0.68rem;
}

.erp-sr-card-header-success {
  background: rgba(25, 135, 84, 0.88);
  color: #ffffff;
}

.erp-sr-card-header-warning {
  background: rgba(255, 193, 7, 0.86);
  color: #111827;
}

.erp-sr-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.erp-sr-title {
  font-size: 0.9rem;
  font-weight: 400;
}

.erp-sr-title strong {
  font-weight: 700;
}

.erp-sr-header-note {
  margin-top: 0.35rem;
  font-size: 0.79rem;
}

.erp-sr-table > :not(caption) > * > * {
  padding: 0.38rem 0.48rem;
  vertical-align: top;
  font-size: 0.81rem;
}

[data-bs-theme="dark"] .erp-sr-table {
  --bs-table-bg: var(--erp-sr-body-bg-dark);
  --bs-table-color: #d7dde4;
  --bs-table-border-color: rgba(255, 255, 255, 0.06);
  --bs-table-striped-bg: var(--erp-sr-body-bg-dark);
  --bs-table-hover-bg: var(--erp-sr-body-bg-dark);
}

.erp-sr-table thead th {
  white-space: nowrap;
  font-size: 0.77rem;
  color: #f1f5f9;
  background: transparent !important;
}

.erp-sr-extra-head > * {
  background: var(--erp-sr-header-bg-dark) !important;
  color: #f1f5f9;
  font-size: 0.76rem;
  font-weight: 700;
  border-bottom-color: rgba(148, 163, 184, 0.1);
}

[data-bs-theme="dark"] .erp-sr-table tbody th,
[data-bs-theme="dark"] .erp-sr-table tbody td,
[data-bs-theme="dark"] .erp-sr-side-table td {
  color: #d7dde4;
}

.erp-sr-col-index {
  width: 52px;
}

.erp-sr-col-process {
  width: 86px;
}

.erp-sr-col-details {
  width: 1%;
  white-space: nowrap;
}

.erp-sr-product-title {
  color: #f1f5f9;
  font-weight: 600;
}

.erp-sr-product-meta {
  display: grid;
  gap: 0.12rem;
  font-size: 0.75rem;
}

.erp-sr-price-input {
  max-width: 100px;
  font-size: 0.8rem;
}

.erp-sr-price-currency {
  color: #86efac;
  font-weight: 700;
  min-width: 36px;
  text-align: right;
}

.erp-sr-price-breakdown {
  margin-top: 0.25rem;
  font-size: 0.73rem;
  color: #94a3b8;
}

.erp-sr-price-breakdown.text-warning {
  color: #ffd37a !important;
}

.erp-sr-detail-stack {
  display: grid;
  gap: 0.35rem;
}

.erp-sr-detail-stack-end {
  justify-items: end;
}

.erp-sr-detail-line {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.erp-sr-detail-stack-end .erp-sr-detail-line {
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.erp-sr-col-details-cell {
  white-space: nowrap;
}

.erp-sr-inline-detail-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0.28rem 0.5rem;
  border: 0;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.erp-sr-inline-detail-badge-danger-light {
  background: rgba(239, 68, 68, 0.16);
  color: #fecaca;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

[data-bs-theme="light"] .erp-sr-inline-detail-badge-danger-light {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.22);
}

.erp-sr-inline-detail-link {
  width: 24px;
  min-width: 24px;
  height: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.erp-sr-transport-banner {
  margin: 0.1rem 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #d7dde4;
  background: transparent !important;
}

.erp-sr-qty-select {
  max-width: 86px;
  font-size: 0.79rem;
}

.erp-sr-detail-row td {
  padding-top: 0.12rem;
  padding-bottom: 0.45rem;
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.erp-sr-detail-notes {
  display: grid;
  gap: 0.18rem;
}

.erp-sr-detail-note {
  font-size: 0.77rem;
  line-height: 1.35;
}

.erp-sr-detail-note-info {
  color: #7dd3fc;
}

.erp-sr-detail-note-warning {
  color: #f7c948;
}

.erp-sr-detail-note-danger {
  color: #f87171;
}

.erp-sr-detail-note-success {
  color: #22c55e;
}

.erp-sr-detail-note-secondary {
  color: #9aa6b2;
}

.erp-sr-detail-note-dark {
  color: #cbd5df;
}

[data-bs-theme="dark"] .erp-sr-table .form-control,
[data-bs-theme="dark"] .erp-sr-table .form-select,
[data-bs-theme="dark"] .erp-sr-card .form-control,
[data-bs-theme="dark"] .erp-sr-card .form-select {
  background: #12171d;
  border-color: rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
}

[data-bs-theme="dark"] .erp-sr-table .form-select,
[data-bs-theme="dark"] .erp-sr-card .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23dbe4ee' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 14px 10px;
  padding-right: 2rem;
}

[data-bs-theme="dark"] .erp-sr-table .text-secondary,
[data-bs-theme="dark"] .erp-sr-side-table .text-secondary {
  color: #9aa6b2 !important;
}

.erp-sr-alert {
  font-size: 0.84rem;
}

.erp-sr-page-title-card .card-body {
  border-top: 2px solid rgba(148, 163, 184, 0.35);
}

.erp-sr-page .erp-retur-search-card .card-body {
  padding: 0.85rem;
}

.erp-sr-search-card .card-header {
  padding: 0.6rem 0.72rem 0 0.72rem;
  border-bottom: 0;
}

.erp-sr-search-card .card-body {
  padding-top: 0.75rem;
}

.erp-sr-search-card .btn.btn-info.btn-sm {
  min-width: 40px;
}

.erp-sr-client-card {
  margin-top: 0.1rem;
}

[data-bs-theme="dark"] .erp-sr-client-card,
[data-bs-theme="dark"] .erp-sr-card,
[data-bs-theme="dark"] .erp-sr-side-card,
[data-bs-theme="dark"] .erp-sr-client-card .card-body,
[data-bs-theme="dark"] .erp-sr-card .card-body,
[data-bs-theme="dark"] .erp-sr-side-card .card-body,
[data-bs-theme="dark"] .erp-sr-card .table-responsive,
[data-bs-theme="dark"] .erp-sr-card .erp-pr-table,
[data-bs-theme="dark"] .erp-sr-card .erp-pr-table > :not(caption) > * > *,
[data-bs-theme="dark"] .erp-sr-card .erp-sr-table > :not(caption) > * > *,
[data-bs-theme="dark"] .erp-sr-card .product-item > *,
[data-bs-theme="dark"] .erp-sr-card .erp-pr-reason-row > *,
[data-bs-theme="dark"] .erp-sr-card .erp-sr-transport-banner,
[data-bs-theme="dark"] .erp-sr-card .card-footer,
[data-bs-theme="dark"] .erp-sr-side-card .erp-sr-side-table > :not(caption) > * > *,
[data-bs-theme="dark"] .erp-sr-client-card .erp-sr-client-grid {
  background: var(--erp-sr-body-bg-dark) !important;
  border-color: rgba(255, 255, 255, 0.06);
  color: #dbe4ee;
}

[data-bs-theme="dark"] .erp-sr-card .table,
[data-bs-theme="dark"] .erp-sr-card .table > :not(caption) > * > *,
[data-bs-theme="dark"] .erp-sr-side-card .table,
[data-bs-theme="dark"] .erp-sr-side-card .table > :not(caption) > * > * {
  background-color: transparent !important;
}

[data-bs-theme="dark"] .erp-sr-card .erp-sr-extra-head > th,
[data-bs-theme="dark"] .erp-sr-card .erp-sr-extra-head > td {
  background: var(--erp-sr-header-bg-dark) !important;
  color: #f1f5f9;
}

[data-bs-theme="dark"] .erp-sr-card .card-footer,
[data-bs-theme="dark"] .erp-sr-side-card .card-footer,
[data-bs-theme="dark"] .erp-sr-client-card .card-footer {
  background: rgba(19, 23, 28, 0.55) !important;
}

[data-bs-theme="light"] .erp-sr-client-card,
[data-bs-theme="light"] .erp-sr-card,
[data-bs-theme="light"] .erp-sr-side-card,
[data-bs-theme="light"] .erp-sr-client-card .card-body,
[data-bs-theme="light"] .erp-sr-card .card-body,
[data-bs-theme="light"] .erp-sr-side-card .card-body {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08);
  color: #1f2937;
}

[data-bs-theme="light"] .erp-sr-card .table,
[data-bs-theme="light"] .erp-sr-card .table > :not(caption) > * > *,
[data-bs-theme="light"] .erp-sr-side-card .table,
[data-bs-theme="light"] .erp-sr-side-card .table > :not(caption) > * > * {
  background-color: transparent !important;
}

[data-bs-theme="light"] .erp-sr-card .erp-sr-extra-head > th,
[data-bs-theme="light"] .erp-sr-card .erp-sr-extra-head > td {
  background: #dfe5eb !important;
  color: #0f172a;
}

.erp-sr-client-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 51px;
  padding: 0.48rem 0.68rem;
  background: var(--erp-sr-header-bg-dark);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.erp-sr-client-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-right: auto;
}

.erp-sr-client-grid {
  display: grid;
  gap: 0.65rem;
}

.erp-sr-client-field .form-label {
  font-size: 0.76rem;
  color: #9aa6b2;
  margin-bottom: 0.3rem;
}

.erp-sr-side-card-header {
  display: flex;
  align-items: center;
  min-height: 51px;
  padding: 0.48rem 0.68rem;
  background: var(--erp-sr-header-bg-dark);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.erp-sr-side-card-header > .d-flex {
  width: 100%;
}

.erp-sr-side-card-header > .d-flex > .d-flex:last-child {
  margin-left: auto;
}

.erp-sr-card > .erp-pr-card-header {
  display: flex;
  align-items: center;
  min-height: 51px;
  background: var(--erp-sr-header-bg-dark) !important;
}

.erp-sr-side-title {
  font-size: 0.78rem;
  line-height: 1.2;
  margin-right: auto;
}

.erp-sr-side-title strong {
  font-size: 0.78rem;
  font-weight: 700;
}

.erp-sr-side-badge {
  font-size: 0.66rem;
  font-weight: 500;
  padding: 0.28rem 0.4rem;
}

.erp-sr-client-header .erp-pr-order-button {
  margin-left: auto;
}

.erp-sr-side-field {
  margin-bottom: 0.55rem !important;
}

.erp-sr-side-label {
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
}

.erp-sr-side-select,
.erp-sr-side-input,
.erp-sr-side-card .input-group-text,
.erp-sr-side-card .form-check-label {
  font-size: 0.74rem;
}

.erp-sr-side-note {
  font-size: 0.69rem;
}

.erp-sr-side-check {
  font-size: 0.74rem;
}

.erp-sr-side-table-compact td,
.erp-sr-side-table-compact strong,
.erp-sr-side-table-compact div,
.erp-sr-side-table-compact span {
  font-size: 0.73rem;
}

.erp-sr-side-table-compact td {
  padding-top: 0.42rem;
  padding-bottom: 0.42rem;
}

.erp-sr-side-card .erp-sr-side-table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: transparent;
  --bs-table-hover-bg: transparent;
  --bs-table-border-color: rgba(148, 163, 184, 0.14);
  margin-bottom: 0;
}

.erp-sr-side-card .erp-sr-side-table > :not(caption) > * > * {
  border-bottom-color: rgba(148, 163, 184, 0.14);
  vertical-align: top;
}

.erp-sr-side-card .erp-sr-side-table td {
  color: #e8eef5;
}

.erp-sr-side-card .erp-sr-side-table strong,
.erp-sr-side-card .erp-sr-side-table b {
  color: #f8fafc;
  font-weight: 700;
}

.erp-sr-side-card .erp-sr-side-table .text-secondary {
  color: #a9b6c3 !important;
}

.erp-sr-side-card .erp-sr-side-table .text-warning {
  color: #fbbf24 !important;
}

.erp-sr-side-card .erp-sr-side-table .text-danger {
  color: #f87171 !important;
}

.erp-sr-side-card .erp-sr-side-table .text-success {
  color: #4ade80 !important;
}

[data-bs-theme="dark"] .erp-pr-card .form-select:disabled,
[data-bs-theme="dark"] .erp-pr-card .form-control:disabled {
  opacity: 1;
  color: #e8eef5;
  -webkit-text-fill-color: #e8eef5;
}

[data-bs-theme="light"] .erp-pr-card .form-select:disabled,
[data-bs-theme="light"] .erp-pr-card .form-control:disabled {
  opacity: 1;
  color: #0f172a;
  -webkit-text-fill-color: #0f172a;
}

[data-bs-theme="light"] .erp-sr-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  color: #1f2937;
}

[data-bs-theme="light"] .erp-sr-side-card-header,
[data-bs-theme="light"] .erp-sr-client-header {
  background: #dfe5eb;
}

[data-bs-theme="light"] .erp-sr-card > .erp-pr-card-header {
  background: #dfe5eb !important;
}

[data-bs-theme="light"] .erp-sr-extra-head > * {
  background: #dfe5eb !important;
  color: #0f172a;
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-sr-detail-note-info {
  color: #0369a1;
}

[data-bs-theme="light"] .erp-sr-detail-note-warning {
  color: #b45309;
}

[data-bs-theme="light"] .erp-sr-detail-note-success {
  color: #15803d;
}

[data-bs-theme="light"] .erp-sr-detail-note-danger {
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-sr-side-card .erp-sr-side-table {
  --bs-table-border-color: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-sr-side-card .erp-sr-side-table td {
  color: #1f2937;
}

[data-bs-theme="light"] .erp-sr-side-card .erp-sr-side-table strong,
[data-bs-theme="light"] .erp-sr-side-card .erp-sr-side-table b {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-sr-side-card .erp-sr-side-table .text-secondary {
  color: #64748b !important;
}

[data-bs-theme="light"] .erp-sr-card-header-success {
  color: #ffffff;
}

[data-bs-theme="light"] .erp-sr-card-header-warning {
  color: #111827;
}

[data-bs-theme="light"] .erp-sr-product-title,
[data-bs-theme="light"] .erp-sr-client-title,
[data-bs-theme="light"] .erp-sr-table thead th {
  color: #111827;
}

[data-bs-theme="light"] .erp-sr-price-breakdown {
  color: #64748b;
}

.erp-pr-footer-fields {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.erp-pr-footer-field {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(19, 23, 28, 0.42);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.erp-pr-footer-field .form-label {
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
}

.erp-pr-shipping-title-awb {
  color: #86efac;
  font-weight: 700;
}

.erp-pr-shipping-title-manual {
  color: #f87171;
  font-weight: 700;
}

.erp-pr-shipping-awb-flag {
  margin-left: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #e8eef5;
}

.erp-pr-footer-field textarea.form-control {
  flex: 1 1 auto;
}

[data-bs-theme="light"] .erp-pr-footer-field {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

[data-bs-theme="light"] .erp-pr-header-note {
  color: #64748b;
}

[data-bs-theme="light"] .erp-pr-shipping-title-awb {
  color: #15803d;
}

[data-bs-theme="light"] .erp-pr-shipping-title-manual {
  color: #dc2626;
}

[data-bs-theme="light"] .erp-pr-shipping-awb-flag {
  color: #0f172a;
}

.erp-pr-footer-field-narrow {
  max-width: 330px;
}

.erp-pr-legend-card .card-body {
  padding: 0.7rem 0.85rem;
}

.erp-pr-legend-list {
  display: grid;
  gap: 0.45rem;
}

.erp-pr-legend-item {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 6px;
  background: rgba(19, 23, 28, 0.28);
}

.erp-pr-legend-item dt {
  font-size: 0.79rem;
  font-weight: 700;
  color: #e2e8f0;
}

.erp-pr-legend-item dd {
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.45;
  color: #cbd5e1;
}

[data-bs-theme="light"] .erp-pr-legend-item {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="light"] .erp-pr-legend-item dt {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-pr-legend-item dd {
  color: #475569;
}

.erp-pr-card .card-footer {
  padding: 0.65rem 0.85rem;
}

.erp-pr-submit-wrap {
  display: flex;
  justify-content: center;
}

.erp-pr-submit-button {
  min-width: 132px;
  padding: 0.35rem 0.85rem;
  font-size: 0.84rem;
}

.erp-pr-order-table > :not(caption) > * > * {
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
}

@media (max-width: 991.98px) {
  .erp-pr-footer-fields {
    grid-template-columns: 1fr;
  }

  .erp-pr-footer-field-narrow {
    max-width: none;
  }

  .erp-pr-legend-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@keyframes erp-spin {
  to {
    transform: rotate(360deg);
  }
}

.erp-table-filters th {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background: transparent;
}

.erp-table-card-body {
  padding: 0 !important;
}

.erp-table-card-body .table-responsive {
  margin: 0;
  width: 100%;
}

.erp-table-card-body .dataTables_wrapper {
  margin: 0;
  width: 100%;
}

#erp-restituiri-asteptare-table_wrapper {
  width: 100%;
  padding: 0 !important;
}

.dataTables_wrapper {
  width: 100%;
  padding: 0 !important;
}

.dataTables_wrapper table.dataTable {
  width: 100% !important;
}

.dataTables_wrapper .row {
  margin-left: 0;
  margin-right: 0;
}

.dataTables_wrapper > .row > [class*="col-"],
.dataTables_wrapper > .row > [class^="col-"] {
  padding-left: 0;
  padding-right: 0;
}

.erp-dt-footer {
  padding: 0.55rem 0;
}

.erp-dt-footer .dataTables_length {
  order: 1;
}

.erp-dt-footer .dataTables_info {
  order: 2;
  padding-top: 0 !important;
}

.erp-dt-footer .dataTables_paginate {
  order: 3;
  margin-left: auto;
}

.dropdown-menu .erp-dropdown-action {
  transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-menu .erp-dropdown-action-info {
  color: #7dd3fc;
}

.dropdown-menu .erp-dropdown-action-info:hover,
.dropdown-menu .erp-dropdown-action-info:focus {
  color: #06243a;
  background: #7dd3fc;
}

.dropdown-menu .erp-dropdown-action-primary {
  color: #fbbf24;
}

.dropdown-menu .erp-dropdown-action-primary:hover,
.dropdown-menu .erp-dropdown-action-primary:focus {
  color: #3d2900;
  background: #fbbf24;
}

.dropdown-menu .erp-dropdown-action-success {
  color: #86efac;
}

.dropdown-menu .erp-dropdown-action-success:hover,
.dropdown-menu .erp-dropdown-action-success:focus {
  color: #072914;
  background: #86efac;
}

#erp-retururi-procesate-table_wrapper {
  width: 100%;
  padding: 0 !important;
}

#erp-retururi-procesate-table_wrapper .row {
  margin-left: 0;
  margin-right: 0;
}

.erp-table-filters .form-control {
  background: rgba(15, 23, 42, 0.35);
  color: #e5ebf2;
  border-color: rgba(148, 163, 184, 0.18);
}

.erp-table-filters .form-control:focus,
.dataTables_wrapper .dataTables_length select:focus,
.dataTables_wrapper .dataTables_filter input:focus {
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 0 0 0.12rem rgba(59, 130, 246, 0.18);
}

.erp-table-filters .form-control::placeholder {
  color: #94a3b8;
}

[data-bs-theme="light"] .erp-table-filters .form-control {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.24);
}

.table.dataTable > thead > tr > th {
  white-space: nowrap;
}

.dataTables_wrapper,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_paginate {
  color: #cfd8e3;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
  background: rgba(15, 23, 42, 0.35);
  color: #eef2f7;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 2px;
}

.dataTables_wrapper .dataTables_length select {
  appearance: none;
  min-width: 9.6rem;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23eef2f7' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m3 6 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 14px 10px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #e5ebf2 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  border-radius: 2px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: #ffffff !important;
  background: rgba(59, 130, 246, 0.28) !important;
  border-color: rgba(96, 165, 250, 0.34) !important;
}

[data-bs-theme="light"] .dataTables_wrapper,
[data-bs-theme="light"] .dataTables_wrapper .dataTables_info,
[data-bs-theme="light"] .dataTables_wrapper .dataTables_length,
[data-bs-theme="light"] .dataTables_wrapper .dataTables_filter,
[data-bs-theme="light"] .dataTables_wrapper .dataTables_paginate {
  color: #334155;
}

[data-bs-theme="light"] .dataTables_wrapper .dataTables_length select,
[data-bs-theme="light"] .dataTables_wrapper .dataTables_filter input {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.24);
}

[data-bs-theme="light"] .dataTables_wrapper .dataTables_length select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230f172a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m3 6 5 5 5-5'/%3E%3C/svg%3E");
}

[data-bs-theme="light"] .dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #334155 !important;
  background: #ffffff !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
}

[data-bs-theme="light"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
[data-bs-theme="light"] .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: #0f172a !important;
  background: #dbeafe !important;
  border-color: rgba(96, 165, 250, 0.4) !important;
}

.dataTables_wrapper .dataTables_processing {
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
}

[data-bs-theme="light"] .dataTables_wrapper .dataTables_processing {
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
}

.dataTables_wrapper table.dataTable thead th,
.dataTables_wrapper table.dataTable tbody td {
  vertical-align: middle;
}

#erp-restituiri-asteptare-table tbody td {
  padding-top: 0.42rem;
  padding-bottom: 0.42rem;
  line-height: 1.22;
}

#erp-restituiri-asteptare-table tbody td > *:last-child {
  margin-bottom: 0;
}

#erp-restituiri-asteptare-table .erp-dt-col-tight,
#erp-restituiri-asteptare-table thead .erp-dt-col-tight {
  width: 1% !important;
  white-space: nowrap;
}

#erp-restituiri-asteptare-table th:nth-child(5),
#erp-restituiri-asteptare-table td:nth-child(5) {
  width: auto !important;
}

@media (max-width: 1199.98px) {
  .erp-retur-detail-grid {
    grid-template-columns: 1fr;
  }

  .erp-restituire-detail-row {
    grid-template-columns: 1fr;
  }

  .erp-restituire-detail-aside {
    justify-content: flex-start;
  }
}

@media (max-width: 991.98px) {
  .erp-sidebar {
    transform: translateX(-100%);
  }

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

  .erp-sidebar-mobile-open .erp-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.65);
    z-index: 1035;
  }

  .erp-main {
    margin-left: 0;
  }

  .erp-logo-box,
  body.erp-sidebar-collapsed .erp-logo-box {
    width: auto;
  }

  .erp-header-bar {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .erp-sidebar .erp-nav-link,
  .erp-sidebar .erp-nav-sublink,
  .erp-sidebar .erp-nav-group-toggle {
    padding-top: calc(0.5rem + 1px) !important;
    padding-bottom: calc(0.5rem + 1px) !important;
    font-size: 1rem !important;
  }

  .erp-sidebar .erp-nav-label {
    font-size: 1rem !important;
  }

  .erp-sidebar .erp-nav-label-meta {
    font-size: calc(1rem - 2px) !important;
  }

  .erp-problem-item {
    grid-template-columns: 1fr;
  }

  .erp-problem-delivery-progress {
    min-width: 0;
  }
}

@media (max-width: 767.98px) {
  .erp-retur-meta-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .erp-logo-full {
    display: none;
  }

  .erp-logo-small {
    display: inline-block;
    width: 38px;
    height: 38px;
  }

  .erp-widget-alert {
    flex-direction: column;
    align-items: flex-start;
  }

  .erp-browser-notifications {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    width: auto;
  }
}

.erp-comenzi-legacy-detail .box {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--erp-radius);
  overflow: hidden;
  background: linear-gradient(180deg, #262c32, #242a30);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.22);
}

.erp-comenzi-legacy-detail .box-header {
  background: #1c2126 !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.erp-comenzi-legacy-detail .box-header.bg-primary,
.erp-comenzi-legacy-detail .box-header.bg-dark,
.erp-comenzi-legacy-detail .box-header.bg-info,
.erp-comenzi-legacy-detail .box-header.bg-warning,
.erp-comenzi-legacy-detail .box-header.bg-danger,
.erp-comenzi-legacy-detail .box-header.bg-secondary {
  background: #1c2126 !important;
  color: #f8fafc;
}

.erp-comenzi-legacy-detail .box-body {
  color: #e5ebf2;
}

.erp-comenzi-legacy-detail .box-body.bg-dark {
  background: #262c32 !important;
}

.erp-comenzi-legacy-detail .table.product-overview {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: transparent;
  --bs-table-hover-bg: transparent;
  --bs-table-color: #e5ebf2;
  --bs-table-border-color: rgba(255, 255, 255, 0.08);
  color: #e5ebf2;
}

.erp-comenzi-legacy-detail .table.product-overview thead th {
  color: #dce4ec;
  background: #262c32;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.erp-comenzi-legacy-detail .table.product-overview tbody td {
  color: #e5ebf2;
  background: #262c32;
  border-bottom-color: rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.erp-comenzi-legacy-detail .text-muted {
  color: #94a3b8 !important;
}

.erp-comenzi-legacy-detail .publisher {
  border-radius: 0.85rem;
  border-color: rgba(148, 163, 184, 0.18);
}

.erp-comenzi-legacy-detail .publisher-input {
  min-height: 8rem;
}

.erp-comenzi-inline-holder {
  min-width: 220px;
}

.erp-comenzi-inline-select {
  background: rgba(15, 23, 42, 0.36);
  color: #e5ebf2;
  border-color: rgba(148, 163, 184, 0.22);
}

.erp-comenzi-inline-select:focus {
  background: rgba(15, 23, 42, 0.5);
  color: #f8fafc;
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.18);
}

.erp-comenzi-detail-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
}

.erp-comenzi-address-modal-wrap .modal-dialog {
  max-width: min(780px, calc(100vw - 1.4rem));
}

.erp-comenzi-address-modal {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(33, 39, 46, 0.985), rgba(24, 29, 35, 0.99));
  color: #e5ebf2;
  box-shadow: 0 22px 48px rgba(2, 6, 23, 0.42);
  overflow: hidden;
}

.erp-comenzi-address-modal .modal-header,
.erp-comenzi-address-modal .modal-body,
.erp-comenzi-address-modal .modal-footer {
  background: transparent;
  color: inherit;
  border-color: rgba(148, 163, 184, 0.12);
}

.erp-comenzi-address-modal-header {
  padding: 0.9rem 1rem;
}

.erp-comenzi-address-modal-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.erp-comenzi-address-modal-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(12, 17, 22, 0.42);
  color: #d7dde4;
  font-size: 1rem;
  flex: 0 0 auto;
}

.erp-comenzi-address-modal .modal-title {
  color: #f8fafc;
  font-size: 0.96rem;
  font-weight: 700;
}

.erp-comenzi-address-modal-meta {
  margin-top: 0.18rem;
  color: #94a3b8;
  font-size: 0.77rem;
  line-height: 1.35;
}

.erp-comenzi-address-modal .btn-close {
  filter: invert(1) grayscale(1) brightness(1.9);
  opacity: 0.95;
}

.erp-comenzi-address-modal-body {
  padding: 0.95rem 1rem 0.75rem;
}

.erp-comenzi-address-type-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
  padding: 0.24rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.55rem;
  background: rgba(12, 17, 22, 0.24);
}

.erp-comenzi-address-type-tab {
  min-height: 2.1rem;
  padding: 0.42rem 0.78rem;
  border: 1px solid transparent;
  border-radius: 0.38rem;
  background: transparent;
  color: #b8c2cd;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.1;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.erp-comenzi-address-type-tab:hover,
.erp-comenzi-address-type-tab:focus {
  color: #f1f5f9;
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(51, 65, 85, 0.22);
}

.erp-comenzi-address-type-tab.is-active {
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(71, 85, 105, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.erp-comenzi-address-legal-panel {
  padding: 0 0 0.1rem;
  margin-bottom: 0.15rem;
}

.erp-comenzi-address-toggle-field {
  display: flex;
  align-items: center;
  min-height: 2.4rem;
}

.erp-comenzi-address-toggle-field .erp-restituire-old-toggle {
  margin: 0;
}

.erp-comenzi-address-toggle-field .erp-restituire-old-toggle-track {
  min-width: 70px;
  width: 70px;
  height: 26px;
  padding: 0 6px;
  border-radius: 0.45rem;
  font-size: 0.7rem;
}

.erp-comenzi-address-toggle-field .erp-restituire-old-toggle-track::before {
  width: calc(100% - 24px);
  margin-left: 24px;
  font-weight: 700;
}

.erp-comenzi-address-toggle-field .erp-restituire-old-toggle-track::after {
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
}

.erp-comenzi-address-toggle-field .erp-restituire-old-toggle.is-valid .erp-restituire-old-toggle-track {
  background: linear-gradient(180deg, #38bdf8, #0284c7);
  border-color: rgba(56, 189, 248, 0.5);
}

.erp-comenzi-address-toggle-field .erp-restituire-old-toggle.is-valid .erp-restituire-old-toggle-track::before {
  width: calc(100% - 24px);
  margin-right: 24px;
}

.erp-comenzi-address-toggle-field .erp-restituire-old-toggle.is-valid .erp-restituire-old-toggle-track::after {
  transform: translateX(46px);
}

.erp-comenzi-address-toggle-field .erp-restituire-old-toggle.is-invalid .erp-restituire-old-toggle-track {
  background: linear-gradient(180deg, #6b7280, #4b5563);
  border-color: rgba(148, 163, 184, 0.45);
}

.erp-comenzi-address-toggle-field .erp-restituire-old-toggle-input:focus + .erp-restituire-old-toggle-label .erp-restituire-old-toggle-track {
  box-shadow: 0 0 0 0.16rem rgba(56, 189, 248, 0.16);
}

.erp-comenzi-address-modal-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.18);
  color: #d7dde4;
  font-size: 0.8rem;
  line-height: 1.45;
}

.erp-comenzi-address-modal-note i {
  color: #d7dde4;
  margin-top: 0.08rem;
}

.erp-comenzi-address-modal .form-label {
  color: #b8c2cd !important;
}

.erp-comenzi-address-modal .form-control,
.erp-comenzi-address-modal .form-select {
  min-height: 2.4rem;
  background: rgba(12, 17, 22, 0.34);
  color: #e5ebf2;
  border-color: rgba(148, 163, 184, 0.2);
  border-radius: 0.42rem;
  box-shadow: none;
}

.erp-comenzi-address-modal .form-control::placeholder {
  color: #8ea1b4;
  opacity: 1;
}

.erp-comenzi-address-modal .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23d7dde4' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 14px 10px;
  padding-right: 2rem;
}

.erp-comenzi-address-modal .form-control:focus,
.erp-comenzi-address-modal .form-select:focus {
  background: rgba(12, 17, 22, 0.46);
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.32);
  box-shadow: 0 0 0 0.16rem rgba(100, 116, 139, 0.14);
}

.erp-comenzi-address-modal .form-select:disabled,
.erp-comenzi-address-modal .form-control:disabled,
.erp-comenzi-address-locked-field {
  opacity: 1;
  color: #cbd5e1;
  -webkit-text-fill-color: #cbd5e1;
  background: rgba(15, 23, 42, 0.24);
  border-style: dashed;
  cursor: not-allowed;
}

.erp-comenzi-address-modal-hint {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #94a3b8;
}

.erp-comenzi-address-modal-footer {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.erp-comenzi-address-modal-footer .erp-comenzi-card-action {
  min-height: 34px;
}

.erp-restituiri-range-toggle {
  display: inline-flex;
  align-items: center;
}

.erp-restituiri-range-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.erp-restituiri-range-toggle .erp-restituiri-range-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 29px;
  margin: 0;
  padding: 0.2rem 0.62rem 0.2rem 0.28rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.2);
  color: #dbe5ef;
  font-size: 0.78rem;
  font-weight: 600;
}

.erp-restituiri-range-toggle .erp-restituiri-range-toggle-knob {
  position: relative;
  width: 38px;
  height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg, #64748b, #475569);
  border: 1px solid rgba(248, 250, 252, 0.14);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.erp-restituiri-range-toggle .erp-restituiri-range-toggle-knob::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.34);
  transition: transform 0.15s ease;
}

.erp-restituiri-range-toggle input:checked + .erp-restituiri-range-toggle-label .erp-restituiri-range-toggle-knob {
  background: linear-gradient(180deg, #22c55e, #15803d);
  border-color: rgba(34, 197, 94, 0.42);
}

.erp-restituiri-range-toggle input:checked + .erp-restituiri-range-toggle-label .erp-restituiri-range-toggle-knob::after {
  transform: translateX(18px);
}

.erp-restituiri-range-toggle input:focus + .erp-restituiri-range-toggle-label {
  box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.16);
}

[data-bs-theme="light"] .erp-comenzi-legacy-detail .box {
  background: linear-gradient(180deg, #ffffff, #f4f6f8);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 44px rgba(148, 163, 184, 0.14);
}

[data-bs-theme="light"] .erp-comenzi-legacy-detail .box-body,
[data-bs-theme="light"] .erp-comenzi-legacy-detail .table.product-overview tbody td {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-legacy-detail .box-body.bg-dark {
  background: #f4f6f8 !important;
}

[data-bs-theme="light"] .erp-comenzi-legacy-detail .table.product-overview {
  --bs-table-color: #0f172a;
  --bs-table-border-color: rgba(148, 163, 184, 0.12);
  --bs-table-striped-bg: transparent;
  --bs-table-hover-bg: transparent;
}

[data-bs-theme="light"] .erp-comenzi-legacy-detail .table.product-overview thead th {
  color: #1e293b;
  background: #f4f6f8;
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-comenzi-legacy-detail .table.product-overview tbody td {
  background: #f4f6f8;
}

[data-bs-theme="light"] .erp-comenzi-inline-select,
[data-bs-theme="light"] .erp-comenzi-address-modal .form-control,
[data-bs-theme="light"] .erp-comenzi-address-modal .form-select {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.24);
}

[data-bs-theme="light"] .erp-comenzi-address-modal {
  border-color: rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, #ffffff, #f5f7fa);
  color: #0f172a;
  box-shadow: 0 18px 42px rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-comenzi-address-modal .modal-header,
[data-bs-theme="light"] .erp-comenzi-address-modal .modal-body,
[data-bs-theme="light"] .erp-comenzi-address-modal .modal-footer {
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.14);
}

[data-bs-theme="light"] .erp-comenzi-address-modal .modal-title {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-address-modal-meta,
[data-bs-theme="light"] .erp-comenzi-address-modal-hint {
  color: #64748b;
}

[data-bs-theme="light"] .erp-comenzi-address-modal .btn-close {
  filter: none;
}

[data-bs-theme="light"] .erp-comenzi-address-type-tabs {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(241, 245, 249, 0.96);
}

[data-bs-theme="light"] .erp-comenzi-address-type-tab {
  color: #475569;
}

[data-bs-theme="light"] .erp-comenzi-address-type-tab:hover,
[data-bs-theme="light"] .erp-comenzi-address-type-tab:focus {
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(226, 232, 240, 0.84);
}

[data-bs-theme="light"] .erp-comenzi-address-type-tab.is-active {
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.26);
  background: #e2e8f0;
}

[data-bs-theme="light"] .erp-comenzi-address-toggle-field .erp-restituire-old-toggle.is-valid .erp-restituire-old-toggle-track {
  background: linear-gradient(180deg, #0ea5e9, #0284c7);
  border-color: rgba(14, 165, 233, 0.4);
  color: #ffffff;
}

[data-bs-theme="light"] .erp-comenzi-address-toggle-field .erp-restituire-old-toggle.is-invalid .erp-restituire-old-toggle-track {
  background: linear-gradient(180deg, #cbd5e1, #94a3b8);
  border-color: rgba(148, 163, 184, 0.42);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-address-modal-note {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(248, 250, 252, 0.98);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-address-modal-note i {
  color: #475569;
}

[data-bs-theme="light"] .erp-comenzi-address-modal-icon {
  border-color: rgba(148, 163, 184, 0.18);
  background: #eef2f7;
  color: #334155;
}

[data-bs-theme="light"] .erp-comenzi-address-modal .form-control::placeholder {
  color: #94a3b8;
}

[data-bs-theme="light"] .erp-comenzi-address-modal .form-control:focus,
[data-bs-theme="light"] .erp-comenzi-address-modal .form-select:focus {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow: 0 0 0 0.16rem rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] .erp-comenzi-address-modal .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
}

[data-bs-theme="light"] .erp-comenzi-address-modal .form-select:disabled,
[data-bs-theme="light"] .erp-comenzi-address-modal .form-control:disabled,
[data-bs-theme="light"] .erp-comenzi-address-locked-field {
  color: #475569;
  -webkit-text-fill-color: #475569;
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.24);
}

.erp-shopify-price-hero {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(22, 28, 36, 0.98), rgba(36, 43, 52, 0.96));
}

[data-bs-theme="light"] .erp-shopify-price-hero {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.98));
  border-color: rgba(148, 163, 184, 0.2);
}

.erp-shopify-price-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.erp-shopify-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.34);
  color: #e2e8f0;
  font-size: 0.82rem;
}

[data-bs-theme="light"] .erp-shopify-pill {
  background: rgba(255, 255, 255, 0.82);
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.18);
}

.erp-shopify-runner-card,
.erp-shopify-settings-card,
.erp-shopify-history-item {
  border: 1px solid rgba(148, 163, 184, 0.14);
}

[data-erp-efactura-page] .card-title,
[data-erp-efactura-response-page] .card-title {
  font-size: 0.82rem !important;
  line-height: 1.2;
}

.erp-shopify-runner-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.erp-shopify-stat-box {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.3);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-bs-theme="light"] .erp-shopify-stat-box {
  background: rgba(248, 250, 252, 0.92);
  border-color: rgba(148, 163, 184, 0.18);
}

.erp-shopify-stat-box.is-light-success {
  background: rgba(25, 135, 84, 0.14);
  border-color: rgba(25, 135, 84, 0.35);
  box-shadow: inset 0 0 0 1px rgba(25, 135, 84, 0.08);
}

.erp-shopify-stat-box.is-light-danger {
  background: rgba(220, 53, 69, 0.14);
  border-color: rgba(220, 53, 69, 0.35);
  box-shadow: inset 0 0 0 1px rgba(220, 53, 69, 0.08);
}

[data-bs-theme="light"] .erp-shopify-stat-box.is-light-success {
  background: rgba(212, 237, 218, 0.95);
  border-color: rgba(25, 135, 84, 0.28);
}

[data-bs-theme="light"] .erp-shopify-stat-box.is-light-danger {
  background: rgba(248, 215, 218, 0.95);
  border-color: rgba(220, 53, 69, 0.28);
}

.erp-shopify-stat-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.erp-shopify-stat-value {
  font-size: 1.18rem;
  line-height: 1.2;
}

.erp-shopify-sync-stat-box {
  height: 100%;
  padding: 0.68rem 0.75rem;
}

.erp-shopify-sync-stat-box .erp-shopify-stat-label {
  margin-bottom: 0.22rem;
  font-size: 0.62rem;
  line-height: 1.15;
}

.erp-shopify-sync-stat-box .erp-shopify-stat-value {
  font-size: 0.95rem;
  line-height: 1.12;
}

.erp-shopify-progress-wrap .progress {
  height: 1.05rem;
  background: rgba(148, 163, 184, 0.14);
}

.erp-shopify-progress-wrap .progress-bar {
  font-size: 0.72rem;
  font-weight: 700;
}

.erp-shopify-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.erp-shopify-live-table {
  max-height: 760px;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.44);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.erp-shopify-live-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #111827;
  color: #f8fafc;
  border-bottom-color: rgba(148, 163, 184, 0.22);
}

.erp-shopify-live-table .table {
  margin-bottom: 0;
  color: #e5ebf2;
}

.erp-shopify-live-table tbody td {
  color: #e5ebf2;
  border-color: rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.28);
}

.erp-shopify-live-table tbody tr:nth-child(even) td {
  background: rgba(30, 41, 59, 0.42);
}

.erp-shopify-live-table tbody tr:hover td {
  background: rgba(37, 99, 235, 0.16);
}

.erp-shopify-live-table .fw-semibold,
.erp-shopify-live-table strong {
  color: #f8fafc;
}

.erp-shopify-live-table .text-secondary,
.erp-shopify-live-table .small {
  color: #cbd5e1 !important;
}

[data-bs-theme="light"] .erp-shopify-live-table thead th {
  background: #f8fafc;
  color: #0f172a;
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-shopify-live-table {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.02);
}

[data-bs-theme="light"] .erp-shopify-live-table .table {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-shopify-live-table tbody td {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(148, 163, 184, 0.14);
}

[data-bs-theme="light"] .erp-shopify-live-table tbody tr:nth-child(even) td {
  background: rgba(248, 250, 252, 0.98);
}

[data-bs-theme="light"] .erp-shopify-live-table tbody tr:hover td {
  background: rgba(219, 234, 254, 0.9);
}

[data-bs-theme="light"] .erp-shopify-live-table .fw-semibold,
[data-bs-theme="light"] .erp-shopify-live-table strong {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-shopify-live-table .text-secondary,
[data-bs-theme="light"] .erp-shopify-live-table .small {
  color: #475569 !important;
}

.erp-shopify-mini-list {
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.erp-shopify-run-history {
  display: grid;
  gap: 0.75rem;
}

.erp-shopify-history-item {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.18);
}

[data-bs-theme="light"] .erp-shopify-history-item {
  background: rgba(248, 250, 252, 0.92);
}

.erp-shopify-settings-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.erp-shopify-settings-option:last-child {
  border-bottom: 0;
}

.erp-shopify-settings-option.is-disabled {
  opacity: 0.72;
}

.erp-shopify-markets-hero {
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 32%),
    radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.12), transparent 26%),
    linear-gradient(145deg, rgba(22, 28, 36, 0.96), rgba(36, 43, 52, 0.96));
}

[data-bs-theme="light"] .erp-shopify-markets-hero {
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 32%),
    radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.08), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.98));
}

.erp-shopify-markets-card,
.erp-shopify-markets-filter-card,
.erp-shopify-markets-list-card,
.erp-shopify-markets-operation-card {
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.erp-shopify-market-widget-card {
  position: relative;
  overflow: hidden;
}

.erp-shopify-market-widget-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.54);
  backdrop-filter: blur(2px);
}

.erp-shopify-market-widget-overlay.is-active {
  display: flex;
}

.erp-shopify-market-widget-overlay .erp-widget-loading {
  min-height: 132px;
  width: min(100%, 360px);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.22);
}

.erp-shopify-market-filter-grid,
.erp-shopify-market-toolbar {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.erp-shopify-market-field {
  display: flex;
  flex-direction: column;
}

.erp-shopify-market-inline-subtitle {
  margin-left: 0.45rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--erp-text-muted);
}

[data-bs-theme="light"] .erp-shopify-market-inline-subtitle {
  color: #64748b;
}

.erp-shopify-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.erp-shopify-inline-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.58rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.12);
  color: #dbe4ee;
}

.erp-shopify-inline-badge.is-market {
  background: rgba(14, 165, 233, 0.14);
  border-color: rgba(14, 165, 233, 0.22);
  color: #bfdbfe;
}

.erp-shopify-inline-badge.is-channel-app {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(59, 130, 246, 0.24);
  color: #dbeafe;
}

.erp-shopify-inline-badge-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  text-align: center;
}

.erp-shopify-channel-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  height: 2.15rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.erp-shopify-channel-chip.is-store {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.26), rgba(37, 99, 235, 0.2));
  color: #e0f2fe;
}

.erp-shopify-channel-chip.is-pos {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.24), rgba(249, 115, 22, 0.18));
  color: #fef3c7;
}

.erp-shopify-channel-chip.is-shop {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.24), rgba(16, 185, 129, 0.18));
  color: #dcfce7;
}

.erp-shopify-channel-chip.is-google {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.22), rgba(249, 115, 22, 0.18));
  color: #fee2e2;
}

.erp-shopify-channel-chip.is-social {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.24), rgba(168, 85, 247, 0.18));
  color: #e9d5ff;
}

.erp-shopify-channel-chip.is-generic {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.24), rgba(100, 116, 139, 0.18));
  color: #e2e8f0;
}

.erp-shopify-flag-chip {
  width: 1.2rem;
  height: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.24rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.erp-shopify-flag-chip > span {
  font-size: 0.42rem;
  line-height: 1;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 1px rgba(15, 23, 42, 0.28);
  letter-spacing: 0.02em;
}

.erp-shopify-flag-chip--ro { background: linear-gradient(90deg, #002b7f 0 33.33%, #fcd116 33.33% 66.66%, #ce1126 66.66% 100%); }
.erp-shopify-flag-chip--bg { background: linear-gradient(180deg, #ffffff 0 33.33%, #00966e 33.33% 66.66%, #d62612 66.66% 100%); }
.erp-shopify-flag-chip--hu { background: linear-gradient(180deg, #ce2939 0 33.33%, #ffffff 33.33% 66.66%, #477050 66.66% 100%); }
.erp-shopify-flag-chip--de { background: linear-gradient(180deg, #111111 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%); }
.erp-shopify-flag-chip--fr { background: linear-gradient(90deg, #0055a4 0 33.33%, #ffffff 33.33% 66.66%, #ef4135 66.66% 100%); }
.erp-shopify-flag-chip--it { background: linear-gradient(90deg, #009246 0 33.33%, #ffffff 33.33% 66.66%, #ce2b37 66.66% 100%); }
.erp-shopify-flag-chip--es { background: linear-gradient(180deg, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%); }
.erp-shopify-flag-chip--pt { background: linear-gradient(90deg, #046a38 0 40%, #da291c 40% 100%); }
.erp-shopify-flag-chip--pl { background: linear-gradient(180deg, #ffffff 0 50%, #dc143c 50% 100%); }
.erp-shopify-flag-chip--cz { background: linear-gradient(135deg, #11457e 0 49%, transparent 49% 100%), linear-gradient(180deg, #ffffff 0 50%, #d7141a 50% 100%); }
.erp-shopify-flag-chip--sk { background: linear-gradient(180deg, #ffffff 0 33.33%, #0b4ea2 33.33% 66.66%, #ee1c25 66.66% 100%); }
.erp-shopify-flag-chip--hr { background: linear-gradient(180deg, #ff0000 0 33.33%, #ffffff 33.33% 66.66%, #171796 66.66% 100%); }
.erp-shopify-flag-chip--gr { background: repeating-linear-gradient(180deg, #0d5eaf 0 10%, #ffffff 10% 20%); }
.erp-shopify-flag-chip--nl { background: linear-gradient(180deg, #ae1c28 0 33.33%, #ffffff 33.33% 66.66%, #21468b 66.66% 100%); }
.erp-shopify-flag-chip--be { background: linear-gradient(90deg, #111111 0 33.33%, #ffe936 33.33% 66.66%, #ef3340 66.66% 100%); }
.erp-shopify-flag-chip--at { background: linear-gradient(180deg, #ed2939 0 33.33%, #ffffff 33.33% 66.66%, #ed2939 66.66% 100%); }
.erp-shopify-flag-chip--ch { background: linear-gradient(180deg, #d52b1e 0 100%); }
.erp-shopify-flag-chip--gb { background: linear-gradient(90deg, #012169 0 100%); }
.erp-shopify-flag-chip--ie { background: linear-gradient(90deg, #169b62 0 33.33%, #ffffff 33.33% 66.66%, #ff883e 66.66% 100%); }
.erp-shopify-flag-chip--us { background: linear-gradient(180deg, #b22234 0 14.28%, #ffffff 14.28% 28.56%, #b22234 28.56% 42.84%, #ffffff 42.84% 57.12%, #b22234 57.12% 71.4%, #ffffff 71.4% 85.68%, #b22234 85.68% 100%); }
.erp-shopify-flag-chip--ca { background: linear-gradient(90deg, #d80621 0 25%, #ffffff 25% 75%, #d80621 75% 100%); }
.erp-shopify-flag-chip--mx { background: linear-gradient(90deg, #006847 0 33.33%, #ffffff 33.33% 66.66%, #ce1126 66.66% 100%); }
.erp-shopify-flag-chip--au { background: linear-gradient(180deg, #012169 0 100%); }
.erp-shopify-flag-chip--nz { background: linear-gradient(180deg, #012169 0 100%); }
.erp-shopify-flag-chip--eu { background: linear-gradient(180deg, #003399 0 100%); }
.erp-shopify-flag-chip--emea { background: linear-gradient(135deg, #0f766e 0, #38bdf8 50%, #f59e0b 100%); }
.erp-shopify-flag-chip--latam { background: linear-gradient(135deg, #15803d 0, #facc15 35%, #2563eb 70%, #dc2626 100%); }
.erp-shopify-flag-chip--apac { background: linear-gradient(135deg, #f97316 0, #ef4444 40%, #2563eb 100%); }
.erp-shopify-flag-chip--global { background: linear-gradient(135deg, #0ea5e9 0, #14b8a6 45%, #1d4ed8 100%); }

.erp-shopify-btn-success-light {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.28);
  color: #bbf7d0;
}

.erp-shopify-btn-success-light:hover,
.erp-shopify-btn-success-light:focus,
.erp-shopify-btn-success-light:active {
  background: rgba(34, 197, 94, 0.24);
  border-color: rgba(34, 197, 94, 0.38);
  color: #dcfce7;
}

.erp-shopify-btn-danger-light {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.28);
  color: #fecaca;
}

.erp-shopify-btn-danger-light:hover,
.erp-shopify-btn-danger-light:focus,
.erp-shopify-btn-danger-light:active {
  background: rgba(239, 68, 68, 0.24);
  border-color: rgba(239, 68, 68, 0.38);
  color: #fee2e2;
}

.erp-shopify-market-confirm-icon {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.18);
}

.erp-shopify-inline-badge.is-tag {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.22);
  color: #bbf7d0;
}

.erp-shopify-market-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.erp-shopify-market-table-wrap {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.12);
}

.erp-shopify-market-check-col {
  width: 46px;
  min-width: 46px;
  text-align: center;
}

.erp-shopify-market-selection-panel {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(19, 25, 34, 0.7), rgba(31, 37, 45, 0.84));
}

.erp-shopify-market-channel-stats {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.erp-shopify-market-channel-stat {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.08));
}

.erp-shopify-market-channel-stat.is-warning {
  border-color: rgba(245, 158, 11, 0.22);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.08));
}

.erp-shopify-market-channel-stat.is-muted {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(148, 163, 184, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.08));
}

.erp-shopify-market-channel-stat-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--erp-text-muted);
}

.erp-shopify-market-channel-stat-value {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.95rem;
  line-height: 1;
  font-weight: 700;
}

.erp-shopify-market-channel-action-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.erp-shopify-markets-channel-card .table td,
.erp-shopify-markets-channel-card .table th {
  vertical-align: middle;
}

.erp-shopify-market-selection-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.erp-shopify-market-mode-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.erp-shopify-market-mode-option {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.14);
  cursor: pointer;
}

.erp-shopify-market-mode-option input {
  margin: 0;
}

.erp-shopify-market-catalog-checklist {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.erp-shopify-market-catalog-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.12);
  cursor: pointer;
}

.erp-shopify-market-catalog-option input {
  margin: 0;
}

.erp-shopify-market-catalog-option-text {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.erp-shopify-market-catalog-option-flag {
  width: auto;
  text-align: center;
  display: inline-flex;
  align-items: center;
}

[data-bs-theme="light"] .erp-shopify-inline-badge {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.18);
  color: #334155;
}

[data-bs-theme="light"] .erp-shopify-market-widget-overlay {
  background: rgba(226, 232, 240, 0.46);
}

[data-bs-theme="light"] .erp-shopify-market-widget-overlay .erp-widget-loading {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 34px rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-shopify-inline-badge.is-market {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.16);
  color: #1d4ed8;
}

[data-bs-theme="light"] .erp-shopify-inline-badge.is-channel-app {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.16);
  color: #1d4ed8;
}

[data-bs-theme="light"] .erp-shopify-btn-success-light {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(22, 163, 74, 0.24);
  color: #166534;
}

[data-bs-theme="light"] .erp-shopify-btn-success-light:hover,
[data-bs-theme="light"] .erp-shopify-btn-success-light:focus,
[data-bs-theme="light"] .erp-shopify-btn-success-light:active {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(22, 163, 74, 0.3);
  color: #14532d;
}

[data-bs-theme="light"] .erp-shopify-btn-danger-light {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(220, 38, 38, 0.22);
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-shopify-btn-danger-light:hover,
[data-bs-theme="light"] .erp-shopify-btn-danger-light:focus,
[data-bs-theme="light"] .erp-shopify-btn-danger-light:active {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(220, 38, 38, 0.3);
  color: #991b1b;
}

[data-bs-theme="light"] .erp-shopify-market-confirm-icon {
  background: #fff7ed;
  color: #c2410c;
}

[data-bs-theme="light"] .erp-shopify-inline-badge.is-tag {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.16);
  color: #166534;
}

[data-bs-theme="light"] .erp-shopify-market-table-wrap {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-shopify-market-selection-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border-color: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-shopify-market-channel-stat {
  border-color: rgba(14, 165, 233, 0.16);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.98));
}

[data-bs-theme="light"] .erp-shopify-market-channel-stat.is-warning {
  border-color: rgba(245, 158, 11, 0.18);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 237, 0.98));
}

[data-bs-theme="light"] .erp-shopify-market-channel-stat.is-muted {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(148, 163, 184, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
}

[data-bs-theme="light"] .erp-shopify-market-channel-stat-label {
  color: #64748b;
}

[data-bs-theme="light"] .erp-shopify-market-mode-option,
[data-bs-theme="light"] .erp-shopify-market-catalog-option {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(148, 163, 184, 0.2);
}

.erp-shopify-log-modal-wide .modal-dialog {
  width: min(60vw, 1400px);
  max-width: min(60vw, 1400px);
}

@media (max-width: 1200px) {
  .erp-shopify-runner-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .erp-shopify-market-filter-grid,
  .erp-shopify-market-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .erp-shopify-log-modal-wide .modal-dialog {
    width: min(92vw, 1400px);
    max-width: min(92vw, 1400px);
  }
}

@media (max-width: 767px) {
  .erp-shopify-runner-summary,
  .erp-shopify-settings-option {
    grid-template-columns: 1fr;
  }

  .erp-shopify-market-pager {
    align-items: flex-start;
    flex-direction: column;
  }

  .erp-shopify-market-filter-grid,
  .erp-shopify-market-toolbar {
    grid-template-columns: 1fr;
  }

  .erp-shopify-market-selection-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .erp-shopify-live-table {
    max-height: 520px;
  }

  .erp-shopify-log-modal-wide .modal-dialog {
    width: calc(100vw - 1rem);
    max-width: calc(100vw - 1rem);
    margin: 0.5rem auto;
  }
}

[data-bs-theme="light"] .erp-comenzi-legacy-detail .text-muted {
  color: #64748b !important;
}

[data-bs-theme="light"] .erp-restituiri-range-toggle .erp-restituiri-range-toggle-label {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.24);
  color: #334155;
}

[data-bs-theme="light"] .erp-restituiri-range-toggle .erp-restituiri-range-toggle-knob {
  background: linear-gradient(180deg, #cbd5e1, #94a3b8);
  border-color: rgba(148, 163, 184, 0.28);
}

.erp-orders-hero {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  box-shadow: 0 14px 36px rgba(2, 6, 23, 0.24);
}

.erp-orders-hero .subheader,
.erp-orders-hero .card-subtitle {
  color: rgba(226, 232, 240, 0.78);
}

.erp-orders-hero .card-title {
  color: #f8fafc;
}

.erp-orders-filter-wrap {
  gap: 0.5rem;
}

.erp-orders-filter-btn {
  min-height: 42px;
  border-width: 1px;
  box-shadow: none;
}

.erp-orders-filter-btn.btn-outline-secondary {
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.38);
  background: rgba(15, 23, 42, 0.45);
}

.erp-orders-filter-btn.btn-outline-info {
  color: #d9f5ff;
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(6, 182, 212, 0.12);
}

.erp-orders-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-hero {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(148, 163, 184, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(28, 33, 38, 0.98), rgba(38, 44, 50, 0.96));
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.18);
}

[data-erp-comenzi-page="comenzi_neconfirmate"],
[data-erp-comenzi-page="comenzi_confirmate"],
[data-erp-comenzi-page="comenzi_probleme"],
[data-erp-restituiri-page="restituiri_lista_asteptare"],
[data-erp-restituiri-page="restituiri_lista_procesate"] {
  position: relative;
}

[data-erp-restituiri-page="restituiri_lista_asteptare"],
[data-erp-restituiri-page="restituiri_lista_procesate"] {
  min-height: 0;
}

[data-erp-restituiri-page="restituiri_lista_asteptare"] > [data-erp-restituiri-loader],
[data-erp-restituiri-page="restituiri_lista_procesate"] > [data-erp-restituiri-loader] {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-comenzi-page-overlay,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-page-overlay,
[data-erp-comenzi-page="comenzi_probleme"] .erp-comenzi-page-overlay,
[data-erp-comenzi-page="lista_comenzi_toate"] .erp-comenzi-page-overlay,
[data-erp-comenzi-page="lista_comenzi_avizate"] .erp-comenzi-page-overlay,
[data-erp-comenzi-page="lista_comenzi_in_livrare"] .erp-comenzi-page-overlay,
[data-erp-curieri-page^="rapoarte_curier"] .erp-comenzi-page-overlay,
[data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-comenzi-page-overlay,
[data-product-translations-page] .erp-comenzi-page-overlay,
[data-erp-restituiri-page="restituiri_lista_procesate"] .erp-comenzi-page-overlay {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6rem;
  background: rgba(19, 23, 28, 0.44);
  backdrop-filter: blur(1px);
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-comenzi-page-overlay.is-active,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-page-overlay.is-active,
[data-erp-comenzi-page="comenzi_probleme"] .erp-comenzi-page-overlay.is-active,
[data-erp-comenzi-page="lista_comenzi_toate"] .erp-comenzi-page-overlay.is-active,
[data-erp-comenzi-page="lista_comenzi_avizate"] .erp-comenzi-page-overlay.is-active,
[data-erp-comenzi-page="lista_comenzi_in_livrare"] .erp-comenzi-page-overlay.is-active,
[data-erp-curieri-page^="rapoarte_curier"] .erp-comenzi-page-overlay.is-active,
[data-product-translations-page] .erp-comenzi-page-overlay.is-active,
[data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-comenzi-page-overlay.is-active {
  display: flex;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="comenzi_probleme"] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="lista_comenzi_toate"] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="lista_comenzi_avizate"] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="lista_comenzi_in_livrare"] .erp-comenzi-page-overlay-box,
[data-erp-curieri-page^="rapoarte_curier"] .erp-comenzi-page-overlay-box,
[data-product-translations-page] .erp-comenzi-page-overlay-box,
[data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-comenzi-page-overlay-box {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(28, 33, 38, 0.96);
  color: #f1f5f9;
  box-shadow: 0 16px 28px rgba(2, 6, 23, 0.24);
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-hero .subheader,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-hero .card-subtitle {
  color: #9aa6b2;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-hero .card-title {
  color: #f1f5f9;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-hero-top-compact {
  align-items: center;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-filter-wrap-compact {
  flex: 1 1 auto;
  margin-top: 0;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-hero-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-left: auto;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .card-header .erp-orders-hero-actions {
  width: auto;
  justify-content: flex-end;
  margin-left: auto;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-auto-refresh {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #d7dde4;
  font-size: 0.79rem;
  font-weight: 600;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-auto-refresh .form-check-input {
  margin: 0;
  cursor: pointer;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-auto-refresh .form-check-label {
  cursor: pointer;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-filter-btn {
  min-height: 38px;
  padding: 0.42rem 0.78rem;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-filter-btn:not([data-tip-afisare="toate"]) {
  min-width: 77px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.62rem;
  line-height: 1.15;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-filter-btn[data-tip-afisare="toate"] {
  min-width: 96px;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-filter-btn[data-tip-afisare="ai"] {
  order: 999;
  width: auto;
  min-width: 0;
  padding-right: 0.45rem;
  padding-left: 0.45rem;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-filter-btn.active {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 8px 16px rgba(2, 6, 23, 0.16);
  transform: translateY(-1px);
}

.erp-orders-filter-group {
  color: inherit;
  opacity: 0.72;
}

[data-erp-comenzi-page="comenzi_confirmate"] {
  --bs-gutter-y: 0.55rem;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-orders-hero .card-body {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-orders-filter-wrap {
  margin-top: 0.15rem;
  gap: 0.38rem;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-orders-filter-btn {
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  min-width: 72px;
  min-height: 32px;
  padding: 0.18rem 0.5rem;
  gap: 0;
  line-height: 1;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-orders-filter-btn > span {
  line-height: 1;
  text-align: left;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-orders-filter-btn > span:not(.erp-orders-filter-group) {
  font-size: 0.6rem;
}

[data-erp-comenzi-page] .card:not(.erp-orders-hero) {
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.88));
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.18);
}

.erp-table-card-body {
  padding: 1rem 1rem 0.85rem;
}

.erp-table-card-body table.dataTable,
.erp-table-card-body .table {
  color: #e5edf7;
  border-color: rgba(148, 163, 184, 0.12);
}

.erp-table-card-body table.dataTable thead th,
.erp-table-card-body .table thead th {
  background: rgba(30, 41, 59, 0.88);
  color: #f8fafc;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.erp-table-card-body table.dataTable tbody td,
.erp-table-card-body .table tbody td {
  background: rgba(15, 23, 42, 0.38);
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.erp-table-card-body table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > *,
.erp-table-card-body .table.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: rgba(30, 41, 59, 0.42);
  color: #eef4fb;
}

.erp-table-card-body table.dataTable.table-hover > tbody > tr:hover > *,
.erp-table-card-body .table.table-hover > tbody > tr:hover > * {
  --bs-table-accent-bg: rgba(14, 165, 233, 0.12);
  color: #ffffff;
}

.erp-table-filters th {
  background: rgba(15, 23, 42, 0.72) !important;
}

.erp-table-filters .form-control {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(148, 163, 184, 0.18);
  color: #f8fafc;
}

.erp-table-filters .form-control::placeholder {
  color: rgba(226, 232, 240, 0.56);
}

[data-erp-comenzi-page] .dataTables_wrapper .dataTables_info,
[data-erp-comenzi-page] .dataTables_wrapper .dataTables_length,
[data-erp-comenzi-page] .dataTables_wrapper .dataTables_paginate {
  color: #dbe7f3;
}

[data-erp-comenzi-page] .dataTables_wrapper .paginate_button {
  color: #dbe7f3 !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .card:not(.erp-orders-hero) {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--erp-sr-body-bg-dark);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.14);
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .card-header {
  min-height: 51px;
  padding: 0.48rem 0.68rem;
  background: var(--erp-sr-header-bg-dark);
  border-bottom-color: rgba(148, 163, 184, 0.1);
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body {
  padding: 0.75rem 0.8rem 0.8rem;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .dataTables_wrapper .dataTables_filter {
  display: none !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .card-header .card-title {
  color: #f1f5f9;
  font-size: 0.92rem;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body table.dataTable,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body .table {
  color: #d7dde4;
  border-color: rgba(255, 255, 255, 0.06);
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body table.dataTable thead th,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body .table thead th {
  background: var(--erp-sr-header-bg-dark);
  color: #f1f5f9;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.77rem;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body table.dataTable tbody td,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body .table tbody td {
  background: var(--erp-sr-body-bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #d7dde4;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body .table.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: rgba(19, 23, 28, 0.42);
  color: #dbe4ee;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body table.dataTable.table-hover > tbody > tr:hover > *,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body .table.table-hover > tbody > tr:hover > * {
  --bs-table-accent-bg: rgba(148, 163, 184, 0.10);
  color: #f1f5f9;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-filters th {
  background: var(--erp-sr-header-bg-dark) !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-filters .form-control {
  background: rgba(19, 23, 28, 0.72);
  border-color: rgba(148, 163, 184, 0.16);
  color: #f1f5f9;
  min-height: 34px;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-filters .form-control::placeholder {
  color: #94a3b8;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .dataTables_wrapper .dataTables_length,
[data-erp-comenzi-page="comenzi_neconfirmate"] .dataTables_wrapper .dataTables_info,
[data-erp-comenzi-page="comenzi_neconfirmate"] .dataTables_wrapper .dataTables_paginate,
[data-erp-comenzi-page="comenzi_neconfirmate"] .dataTables_wrapper .dataTables_processing {
  color: #d7dde4;
  font-size: 0.78rem;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .dataTables_wrapper .paginate_button {
  border-radius: 2px !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-identity-head .fw-semibold,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-client .fw-semibold,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-client .fw-semibold {
  color: #f1f5f9;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-identity-head .text-secondary,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-client .text-secondary,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-client .text-secondary,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-location .text-secondary,
[data-erp-comenzi-page="comenzi_probleme"] .erp-order-location .text-secondary {
  color: #94a3b8 !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-progress {
  background: rgba(148, 163, 184, 0.14);
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-info-cell {
  justify-content: space-between;
  width: 100%;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-info-group-start {
  min-width: 0;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-info-group-end {
  margin-left: auto;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-info-icon.is-change {
  color: #98f5b1;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-info-icon {
  width: auto;
  height: auto;
  padding: 0;
  background: transparent !important;
  border-radius: 0;
  cursor: help;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-info-icon.is-success {
  color: #98f5b1;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-info-icon.is-warning {
  color: #f8d469;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-info-icon.is-danger {
  color: #ff9a9a;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-info-icon .fa {
  font-size: 1.15rem;
  line-height: 1;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-panel {
  background: var(--erp-sr-body-bg-dark);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 28px rgba(2, 6, 23, 0.24);
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-trigger {
  min-width: 32px;
  min-height: 32px;
  padding: 0.25rem 0.55rem;
  border-radius: 10px;
  color: #ffffff;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-trigger i {
  color: #ffffff;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table {
  --bs-table-color: #d7dde4;
  --bs-table-border-color: rgba(255, 255, 255, 0.06);
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-success > * {
  background: rgba(92, 214, 130, 0.16);
  color: #98f5b1;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-warning > * {
  background: rgba(248, 203, 85, 0.16);
  color: #f8d469;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-danger > * {
  background: rgba(201, 53, 53, 0.78);
  color: #ffffff;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-secondary > * {
  background: rgba(148, 163, 184, 0.14);
  color: #94a3b8;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-text.is-success,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-subtext.is-success,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-attr.is-success {
  color: #98f5b1;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-text.is-warning,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-subtext.is-warning,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-attr.is-warning {
  color: #f8d469;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-text.is-danger,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-subtext.is-danger,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-attr.is-danger {
  color: #ffffff;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-text.is-secondary,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-subtext.is-secondary,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-attr.is-secondary {
  color: #94a3b8;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-attr {
  background: rgba(17, 24, 39, 0.18);
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .dropdown-menu {
  border-color: rgba(255, 255, 255, 0.06);
  background: #1c2126;
  box-shadow: 0 14px 26px rgba(2, 6, 23, 0.24);
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .dropdown-item {
  color: #d7dde4;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .dropdown-item:hover,
[data-erp-comenzi-page="comenzi_neconfirmate"] .dropdown-item:focus {
  background: rgba(148, 163, 184, 0.12);
  color: #f1f5f9;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-help-card .card-header {
  background: linear-gradient(180deg, rgba(61, 69, 77, 0.92), rgba(50, 57, 64, 0.94));
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-help-card .card-title {
  color: #f1f5f9;
  font-size: 0.92rem;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-help-card .card-title i {
  color: #9ca3af;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8rem;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-help-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(19, 23, 28, 0.58);
  color: #d7dde4;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-client,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-client {
  gap: 0.28rem;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-id-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-id-label {
  font-weight: 700;
  color: #f1f5f9;
}

#erp-rambursuri-grid .erp-order-id-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

#erp-rambursuri-grid .erp-order-id-label {
  font-weight: 700;
  color: #f1f5f9;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-client-head,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-client-head {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-flag-chip,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-flag-chip {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  border-radius: 0;
  margin-right: 0;
  background: rgba(148, 163, 184, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-client .fa,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-client .fa {
  width: 0.95rem;
  text-align: center;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-client-phone.is-success-light,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-client-phone.is-success-light {
  color: #bbf7d0 !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-client-phone.is-info-light,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-client-phone.is-info-light {
  color: #bae6fd !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-client-phone.is-neutral-light,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-client-phone.is-neutral-light {
  color: #e2e8f0 !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-payment .erp-order-courier-badge {
  background: transparent !important;
  border: 1px solid rgba(59, 130, 246, 0.66) !important;
  color: #f8fafc !important;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-courier-badge,
[data-erp-comenzi-page="comenzi_probleme"] .erp-order-courier-badge {
  background: transparent !important;
  border: 1px solid rgba(59, 130, 246, 0.66) !important;
  color: #f8fafc !important;
}

[data-erp-comenzi-page="lista_comenzi_toate"] .erp-comenzi-awb-cell .erp-order-courier-badge {
  margin-top: 0.18rem;
  background: transparent !important;
  border: 1px solid rgba(59, 130, 246, 0.66) !important;
  color: #f8fafc !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-value {
  display: inline-grid;
  gap: 0.2rem;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-value-primary,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-value-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  white-space: nowrap;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-value-primary .erp-order-value-amount {
  font-weight: 700;
  font-size: calc(0.82rem + 1px);
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-value-secondary {
  font-size: 0.82rem;
  font-weight: 400;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-value-secondary .erp-order-value-amount {
  font-weight: 400;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-currency-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  min-height: 1.05rem;
  padding: 0 0.32rem;
  border-radius: 0.35rem;
  background: rgba(148, 163, 184, 0.18);
  color: #e5edf7;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-currency-badge.is-foreign {
  background: #000080;
  color: #f8fafc;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body .text-success:not(.erp-order-client-meta),
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body .table .text-success:not(.erp-order-client-meta),
[data-erp-comenzi-page="comenzi_probleme"] .erp-table-card-body .text-success:not(.erp-order-client-meta),
[data-erp-comenzi-page="comenzi_probleme"] .erp-table-card-body .table .text-success:not(.erp-order-client-meta) {
  color: #98f5b1 !important;
}

[data-erp-comenzi-page="comenzi_probleme"] .erp-table-card-body .text-warning:not(.erp-order-client-meta),
[data-erp-comenzi-page="comenzi_probleme"] .erp-table-card-body .table .text-warning:not(.erp-order-client-meta) {
  color: #f8d469 !important;
}

[data-erp-comenzi-page="comenzi_probleme"] .erp-table-card-body .text-danger:not(.erp-order-client-meta),
[data-erp-comenzi-page="comenzi_probleme"] .erp-table-card-body .table .text-danger:not(.erp-order-client-meta) {
  color: #ff9a9a !important;
}

.erp-comenzi-legacy-detail .erp-comenzi-inline-select {
  min-width: 230px;
  border-color: rgba(148, 163, 184, 0.22);
  background: #1c2126;
  color: #eef4fb;
}

[data-bs-theme="light"] .erp-orders-hero {
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 14px 32px rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-orders-hero .card-title {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-orders-hero .subheader,
[data-bs-theme="light"] .erp-orders-hero .card-subtitle {
  color: #475569;
}

[data-bs-theme="light"] [data-erp-comenzi-page] .card:not(.erp-orders-hero) {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 28px rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] .erp-table-card-body table.dataTable,
[data-bs-theme="light"] .erp-table-card-body .table {
  color: #1e293b;
}

[data-bs-theme="light"] .erp-table-card-body table.dataTable thead th,
[data-bs-theme="light"] .erp-table-card-body .table thead th,
[data-bs-theme="light"] .erp-table-filters th {
  background: #edf4fb !important;
  color: #0f172a;
  border-bottom-color: rgba(100, 116, 139, 0.18);
}

[data-bs-theme="light"] .erp-table-card-body table.dataTable tbody td,
[data-bs-theme="light"] .erp-table-card-body .table tbody td {
  background: rgba(255, 255, 255, 0.98);
  border-top-color: rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] .erp-table-card-body table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-bs-theme="light"] .erp-table-card-body .table.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: rgba(241, 245, 249, 0.94);
  color: #1e293b;
}

[data-bs-theme="light"] .erp-table-card-body table.dataTable.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] .erp-table-card-body .table.table-hover > tbody > tr:hover > * {
  --bs-table-accent-bg: rgba(224, 242, 254, 0.92);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-table-filters .form-control,
[data-bs-theme="light"] .erp-comenzi-legacy-detail .erp-comenzi-inline-select {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.24);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-hero {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(148, 163, 184, 0.10), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 14px 28px rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-hero .card-title {
  color: #111827;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-hero .subheader,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-hero .card-subtitle {
  color: #64748b;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-auto-refresh {
  color: #475569;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_probleme"] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-erp-comenzi-page="lista_comenzi_toate"] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-erp-comenzi-page="lista_comenzi_in_livrare"] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-erp-curieri-page^="rapoarte_curier"] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-product-translations-page] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-comenzi-page-overlay {
  background: rgba(255, 255, 255, 0.56);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-comenzi-page-overlay-box,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-page-overlay-box,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_probleme"] .erp-comenzi-page-overlay-box,
[data-bs-theme="light"] [data-erp-comenzi-page="lista_comenzi_toate"] .erp-comenzi-page-overlay-box,
[data-bs-theme="light"] [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-comenzi-page-overlay-box,
[data-bs-theme="light"] [data-erp-comenzi-page="lista_comenzi_in_livrare"] .erp-comenzi-page-overlay-box,
[data-bs-theme="light"] [data-erp-curieri-page^="rapoarte_curier"] .erp-comenzi-page-overlay-box,
[data-bs-theme="light"] [data-product-translations-page] .erp-comenzi-page-overlay-box,
[data-bs-theme="light"] [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-comenzi-page-overlay-box {
  border-color: rgba(15, 23, 42, 0.08);
  background: #ffffff;
  color: #334155;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .card:not(.erp-orders-hero) {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 22px rgba(148, 163, 184, 0.10);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .card-header {
  background: #dfe5eb;
  border-bottom-color: rgba(148, 163, 184, 0.1);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body table.dataTable thead th,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body .table thead th,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-filters th {
  background: #dfe5eb !important;
  color: #111827;
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body table.dataTable tbody td,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body .table tbody td {
  background: #ffffff;
  color: #1f2937;
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body .table.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: #f8fafc;
  color: #1f2937;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body table.dataTable.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body .table.table-hover > tbody > tr:hover > * {
  --bs-table-accent-bg: rgba(226, 232, 240, 0.72);
  color: #111827;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-filters .form-control {
  background: #ffffff;
  color: #111827;
  border-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .dataTables_wrapper .dataTables_length,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .dataTables_wrapper .dataTables_info,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .dataTables_wrapper .dataTables_paginate,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .dataTables_wrapper .dataTables_processing {
  color: #475569;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .dataTables_wrapper .dataTables_length select {
  background: #ffffff;
  color: #111827;
  border-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-id-label {
  color: #111827;
}

[data-bs-theme="light"] #erp-rambursuri-grid .erp-order-id-label {
  color: #111827;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-identity-head .fw-semibold,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-client .fw-semibold,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-client .fw-semibold {
  color: #111827;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-identity-head .text-secondary,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-client .text-secondary,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-client .text-secondary,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-location .text-secondary,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_probleme"] .erp-order-location .text-secondary {
  color: #64748b !important;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-info-icon.is-change {
  color: #166534;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-info-icon.is-success {
  color: #15803d;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-info-icon.is-warning {
  color: #b45309;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-info-icon.is-danger {
  color: #b91c1c;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-panel {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 24px rgba(148, 163, 184, 0.14);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table {
  --bs-table-color: #1f2937;
  --bs-table-border-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-success > * {
  background: #dcfce7;
  color: #166534;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-warning > * {
  background: #fef3c7;
  color: #92400e;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-danger > * {
  background: #fee2e2;
  color: #b91c1c;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-secondary > * {
  background: #e5e7eb;
  color: #475569;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-text.is-success,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-subtext.is-success,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-attr.is-success {
  color: #166534;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-text.is-warning,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-subtext.is-warning,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-attr.is-warning {
  color: #92400e;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-text.is-danger,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-subtext.is-danger,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-attr.is-danger {
  color: #b91c1c;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-text.is-secondary,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-subtext.is-secondary,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-attr.is-secondary {
  color: #475569;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-attr {
  background: rgba(255, 255, 255, 0.75);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .dropdown-menu {
  border-color: rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .dropdown-item {
  color: #1f2937;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .dropdown-item:hover,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .dropdown-item:focus {
  background: #f8fafc;
  color: #111827;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-help-card .card-header {
  background: #dfe5eb;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-help-card .card-title {
  color: #111827;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-help-card .card-title i {
  color: #64748b;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-help-item {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
  color: #334155;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-flag-chip {
  border-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-client-phone.is-success-light,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-client-phone.is-success-light {
  color: #15803d !important;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-client-phone.is-info-light,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-client-phone.is-info-light {
  color: #0e7490 !important;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-client-phone.is-neutral-light,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-client-phone.is-neutral-light {
  color: #475569 !important;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-courier-badge,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-courier-badge,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_probleme"] .erp-order-courier-badge {
  background: transparent !important;
  border-color: rgba(37, 99, 235, 0.72) !important;
  color: #f8fafc !important;
}

[data-bs-theme="light"] [data-erp-comenzi-page="lista_comenzi_toate"] .erp-comenzi-awb-cell .erp-order-courier-badge {
  background: transparent !important;
  border-color: rgba(37, 99, 235, 0.72) !important;
  color: #1d4ed8 !important;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-currency-badge {
  background: #e5e7eb;
  color: #374151;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-currency-badge.is-foreign {
  background: #000080;
  color: #f8fafc;
}

[data-erp-comenzi-page="comenzi_confirmate"] .card:not(.erp-orders-hero) {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--erp-sr-body-bg-dark);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.14);
}

[data-erp-comenzi-page="comenzi_confirmate"] .card-header {
  background: var(--erp-sr-header-bg-dark);
  border-bottom-color: rgba(148, 163, 184, 0.1);
}

[data-erp-comenzi-page="comenzi_confirmate"] .card-header .card-title {
  color: #f1f5f9;
  font-size: 0.92rem;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body table.dataTable,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .table {
  color: #d7dde4;
  border-color: rgba(255, 255, 255, 0.06);
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body table.dataTable thead th,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .table thead th {
  background: var(--erp-sr-header-bg-dark);
  color: #f1f5f9;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.72rem;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body table.dataTable tbody td,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .table tbody td {
  background: var(--erp-sr-body-bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #d7dde4;
  font-size: 0.78rem !important;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body table.dataTable tbody td *,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .table tbody td * {
  font-size: 0.78rem !important;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .table.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: rgba(19, 23, 28, 0.42);
  color: #dbe4ee;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body table.dataTable.table-hover > tbody > tr:hover > *,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .table.table-hover > tbody > tr:hover > * {
  --bs-table-accent-bg: rgba(148, 163, 184, 0.10);
  color: #f1f5f9;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-value-cell {
  display: inline-grid;
  gap: 0.08rem;
  justify-items: end;
  white-space: nowrap;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-value-primary {
  font-size: calc(0.78rem + 2px) !important;
  font-weight: 800 !important;
  line-height: 1.15;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-value-secondary {
  font-size: calc(0.78rem + 1px) !important;
  font-weight: 400 !important;
  line-height: 1.15;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-table-filters th {
  background: var(--erp-sr-header-bg-dark) !important;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-table-filters .form-control {
  background: rgba(19, 23, 28, 0.72);
  border-color: rgba(148, 163, 184, 0.16);
  color: #f1f5f9;
  min-height: 34px;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-order-rating-cell {
  width: 100%;
  min-width: 0;
}

[data-erp-comenzi-page="comenzi_confirmate"] table.dataTable th.erp-confirmate-order-column,
[data-erp-comenzi-page="comenzi_confirmate"] table.dataTable td.erp-confirmate-order-column {
  width: 128px !important;
  min-width: 128px;
  max-width: 128px;
}

[data-erp-comenzi-page="comenzi_confirmate"] table.dataTable td.erp-confirmate-order-column {
  padding-left: 0.4rem !important;
  padding-right: 0.4rem !important;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-order-rating-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
  margin-bottom: 0.18rem;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-order-number,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-order-id {
  font-size: 0.74rem !important;
  line-height: 1.1;
  white-space: nowrap;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-order-number {
  color: #f1f5f9;
  font-weight: 800;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-order-id {
  color: #cbd5e1;
  font-weight: 500;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-client-rating-progress {
  width: 100%;
  height: 1.05rem;
  margin: 0;
  background: rgba(148, 163, 184, 0.16);
  border-radius: 0.35rem;
  overflow: hidden;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-client-rating-progress .progress-bar {
  min-width: 1.25rem;
  font-size: 0.68rem !important;
  font-weight: 800;
  line-height: 1.05rem;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-client-rating-progress .progress-bar.is-rating-danger {
  background: #fee2e2 !important;
  color: #991b1b !important;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-client-rating-progress .progress-bar.is-rating-warning {
  background: #fef3c7 !important;
  color: #92400e !important;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-client-rating-progress .progress-bar.is-rating-success {
  background: #dcfce7 !important;
  color: #166534 !important;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-table-filters .form-control:focus,
[data-erp-comenzi-page="comenzi_confirmate"] .dataTables_wrapper .dataTables_length select:focus,
[data-erp-comenzi-page="comenzi_confirmate"] .dataTables_wrapper .dataTables_filter input:focus {
  border-color: rgba(148, 163, 184, 0.34);
  box-shadow: 0 0 0 0.12rem rgba(148, 163, 184, 0.16);
}

[data-erp-comenzi-page="comenzi_confirmate"] .dataTables_wrapper .dataTables_length,
[data-erp-comenzi-page="comenzi_confirmate"] .dataTables_wrapper .dataTables_info,
[data-erp-comenzi-page="comenzi_confirmate"] .dataTables_wrapper .dataTables_paginate,
[data-erp-comenzi-page="comenzi_confirmate"] .dataTables_wrapper .dataTables_processing {
  color: #d7dde4;
  font-size: 0.78rem;
}

[data-erp-comenzi-page="comenzi_confirmate"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
[data-erp-comenzi-page="comenzi_confirmate"] .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: #f8fafc !important;
  background: rgba(148, 163, 184, 0.22) !important;
  border-color: rgba(148, 163, 184, 0.32) !important;
}

[data-erp-comenzi-page="comenzi_confirmate"] .dataTables_wrapper .paginate_button,
[data-erp-comenzi-page="comenzi_confirmate"] table.dataTable th.focus,
[data-erp-comenzi-page="comenzi_confirmate"] table.dataTable td.focus {
  outline-color: #6b7280 !important;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-info-cell {
  justify-content: space-between;
  width: 100%;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-info-group-start {
  min-width: 0;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-info-group-end {
  margin-left: auto;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-info-icon {
  width: auto;
  height: auto;
  padding: 0;
  background: transparent !important;
  border-radius: 0;
  cursor: help;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-info-icon .fa {
  font-size: 1.15rem !important;
  line-height: 1;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-info-group-start .erp-order-info-icon,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-info-group-start .erp-order-info-icon .fa,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-info-group-start .erp-order-info-icon .ti {
  font-size: 1.15rem !important;
  line-height: 1 !important;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-info-icon.is-success,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-info-icon.is-change {
  color: #98f5b1;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-info-icon.is-warning {
  color: #f8d469;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-info-icon.is-danger {
  color: #ff9a9a;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-info-selection {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-width: 2.15rem;
  gap: 0.1rem;
  margin-left: 0.1rem;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-info-selection .checkbox {
  line-height: 1;
  min-height: 1.15rem;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-info-selection .checkbox label {
  min-height: 1.05rem;
  line-height: 1.05rem;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-info-selection-label {
  color: #ff9a9a;
  font-size: 0.56rem !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-orders-help-card .card-title .fa {
  color: #cbd5e1;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-orders-help-card .erp-orders-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.55rem;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-orders-help-card .erp-orders-help-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 0.55rem;
  background: rgba(15, 23, 42, 0.14);
  color: #d7dde4;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-orders-help-card .erp-orders-help-item .erp-order-info-icon .fa {
  font-size: 1.28rem !important;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-panel {
  background: var(--erp-sr-body-bg-dark);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 28px rgba(2, 6, 23, 0.24);
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-trigger {
  min-width: 32px;
  min-height: 32px;
  padding: 0.25rem 0.55rem;
  border-color: rgba(148, 163, 184, 0.34) !important;
  border-radius: 10px;
  background: rgba(75, 85, 99, 0.92) !important;
  color: #ffffff !important;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-trigger i {
  display: inline-block;
  color: #ffffff;
  font-size: 0.92rem !important;
  line-height: 1;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table {
  --bs-table-color: #d7dde4;
  --bs-table-border-color: rgba(255, 255, 255, 0.06);
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table th,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table td,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table th *,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table td * {
  font-size: 0.76rem !important;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-success > * {
  background: rgba(92, 214, 130, 0.16);
  color: #98f5b1;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-warning > * {
  background: rgba(248, 203, 85, 0.16);
  color: #f8d469;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-danger > * {
  background: rgba(201, 53, 53, 0.78);
  color: #ffffff;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-secondary > * {
  background: rgba(148, 163, 184, 0.14);
  color: #94a3b8;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-text.is-success,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-subtext.is-success,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-attr.is-success {
  color: #98f5b1;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-text.is-warning,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-subtext.is-warning,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-attr.is-warning {
  color: #f8d469;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-text.is-danger,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-subtext.is-danger,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-attr.is-danger {
  color: #ffffff;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-text.is-secondary,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-subtext.is-secondary,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-attr.is-secondary {
  color: #94a3b8;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-flag-chip {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  border-radius: 0;
  margin-right: 0;
  background: rgba(148, 163, 184, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-flag-chip img {
  display: block;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-client-name {
  color: #f1f5f9;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-row-detail-button {
  height: 2rem;
  min-width: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(75, 85, 99, 0.36);
  color: #f1f5f9;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-row-detail-button .fa {
  font-size: 0.88rem !important;
  line-height: 1;
}

[data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-row-detail-button:hover,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-row-detail-button:focus {
  border-color: rgba(148, 163, 184, 0.46);
  background: rgba(107, 114, 128, 0.56);
  color: #ffffff;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .card:not(.erp-orders-hero) {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 22px rgba(148, 163, 184, 0.10);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .card-header {
  background: #dfe5eb;
  border-bottom-color: rgba(148, 163, 184, 0.1);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body table.dataTable thead th,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .table thead th,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-filters th {
  background: #dfe5eb !important;
  color: #111827;
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body table.dataTable tbody td,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .table tbody td {
  background: #ffffff;
  color: #1f2937;
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .table.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: #f8fafc;
  color: #1f2937;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body table.dataTable.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .table.table-hover > tbody > tr:hover > * {
  --bs-table-accent-bg: rgba(226, 232, 240, 0.72);
  color: #111827;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-order-number {
  color: #111827;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-order-id {
  color: #64748b;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-client-rating-progress {
  background: #e2e8f0;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .dataTables_wrapper .dataTables_length,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .dataTables_wrapper .dataTables_info,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .dataTables_wrapper .dataTables_paginate,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .dataTables_wrapper .dataTables_processing {
  color: #475569;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: #111827 !important;
  background: #e5e7eb !important;
  border-color: rgba(107, 114, 128, 0.34) !important;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-info-icon.is-success,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-info-icon.is-change {
  color: #15803d;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-info-icon.is-warning {
  color: #b45309;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-info-icon.is-danger {
  color: #b91c1c;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-info-selection-label {
  color: #b91c1c;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-orders-help-card .card-title .fa {
  color: #334155;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-orders-help-card .erp-orders-help-item {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.18);
  color: #334155;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-panel {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 24px rgba(148, 163, 184, 0.14);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table {
  --bs-table-color: #1f2937;
  --bs-table-border-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-success > * {
  background: #dcfce7;
  color: #166534;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-warning > * {
  background: #fef3c7;
  color: #92400e;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-danger > * {
  background: #dc3545;
  color: #ffffff;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-secondary > * {
  background: #e5e7eb;
  color: #475569;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-text.is-success,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-subtext.is-success,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-attr.is-success {
  color: #166534;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-text.is-warning,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-subtext.is-warning,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-attr.is-warning {
  color: #92400e;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-text.is-danger,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-subtext.is-danger,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-attr.is-danger {
  color: #ffffff;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-text.is-secondary,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-subtext.is-secondary,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-attr.is-secondary {
  color: #475569;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-client-name {
  color: #111827;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-flag-chip {
  border-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-row-detail-button {
  border-color: rgba(107, 114, 128, 0.24);
  background: rgba(107, 114, 128, 0.10);
  color: #374151;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-row-detail-button:hover,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-row-detail-button:focus {
  border-color: rgba(107, 114, 128, 0.38);
  background: #e5e7eb;
  color: #111827;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body .text-success:not(.erp-order-client-meta),
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-table-card-body .table .text-success:not(.erp-order-client-meta),
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_probleme"] .erp-table-card-body .text-success:not(.erp-order-client-meta),
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_probleme"] .erp-table-card-body .table .text-success:not(.erp-order-client-meta) {
  color: #16a34a !important;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_probleme"] .erp-table-card-body .text-warning:not(.erp-order-client-meta),
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_probleme"] .erp-table-card-body .table .text-warning:not(.erp-order-client-meta) {
  color: #b45309 !important;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_probleme"] .erp-table-card-body .text-danger:not(.erp-order-client-meta),
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_probleme"] .erp-table-card-body .table .text-danger:not(.erp-order-client-meta) {
  color: #b91c1c !important;
}

@media (max-width: 991px) {
  [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-hero-top-compact,
  [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-dt-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-hero-actions {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
}

.erp-comenzi-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.erp-comenzi-list-widget {
  position: relative;
}

.erp-comenzi-list-widget .erp-comenzi-card-head {
  flex-wrap: nowrap;
}

.erp-comenzi-list-widget .erp-orders-hero-actions {
  margin-left: auto;
}

.erp-comenzi-list-widget-title-wrap {
  min-width: 0;
}

.erp-comenzi-list-widget-subtitle {
  margin-top: 0.12rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--erp-text-muted);
}

.erp-comenzi-widget-refresh-btn {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(148, 163, 184, 0.14);
  color: #f8fafc;
}

.erp-comenzi-widget-refresh-btn:hover,
.erp-comenzi-widget-refresh-btn:focus {
  border-color: rgba(203, 213, 225, 0.34);
  background: rgba(148, 163, 184, 0.22);
  color: #ffffff;
}

.erp-comenzi-list-widget .erp-dashboard-widget-refresh-btn i {
  font-size: 1rem;
  line-height: 1;
  color: currentColor;
}

.erp-comenzi-details-info-light {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(74, 222, 128, 0.34);
  background: transparent;
  color: #bbf7d0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.erp-comenzi-details-info-light:hover,
.erp-comenzi-details-info-light:focus {
  border-color: #198754;
  background: #198754;
  color: #ffffff;
}

[data-erp-comenzi-page="lista_comenzi_toate"] #erp-comenzi-table-lista_comenzi_toate thead th:nth-child(3),
[data-erp-comenzi-page="lista_comenzi_toate"] #erp-comenzi-table-lista_comenzi_toate tbody td:nth-child(3) {
  text-align: right !important;
}

[data-erp-comenzi-page="lista_comenzi_toate"] #erp-comenzi-table-lista_comenzi_toate thead th:nth-child(5),
[data-erp-comenzi-page="lista_comenzi_toate"] #erp-comenzi-table-lista_comenzi_toate tbody td:nth-child(5) {
  width: 120px !important;
  min-width: 120px !important;
  max-width: none !important;
  white-space: nowrap;
}

[data-erp-comenzi-page="lista_comenzi_toate"] #erp-comenzi-table-lista_comenzi_toate colgroup col:nth-child(5),
[data-erp-comenzi-page="lista_comenzi_toate"] #erp-comenzi-table-lista_comenzi_toate_wrapper table.dataTable colgroup col:nth-child(5),
[data-erp-comenzi-page="lista_comenzi_toate"] #erp-comenzi-table-lista_comenzi_toate_wrapper table.dataTable thead tr > th:nth-child(5),
[data-erp-comenzi-page="lista_comenzi_toate"] #erp-comenzi-table-lista_comenzi_toate_wrapper table.dataTable tbody tr > td:nth-child(5) {
  width: 120px !important;
  min-width: 120px !important;
  max-width: none !important;
}

[data-erp-comenzi-page="lista_comenzi_toate"] #erp-comenzi-table-lista_comenzi_toate thead tr.erp-table-filters > th:nth-child(5) .form-control,
[data-erp-comenzi-page="lista_comenzi_toate"] #erp-comenzi-table-lista_comenzi_toate_wrapper table.dataTable thead tr.erp-table-filters > th:nth-child(5) .form-control {
  width: 100% !important;
  min-width: 108px !important;
  box-sizing: border-box;
}

.erp-comenzi-all-order-number {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  width: 100%;
}

.erp-comenzi-all-order-number-value {
  white-space: nowrap;
}

.erp-comenzi-split-marker-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.erp-comenzi-split-marker {
  width: 1.24rem;
  height: 1.24rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1;
}

.erp-comenzi-split-marker.is-source {
  border: 1px solid rgba(74, 222, 128, 0.34);
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
}

.erp-comenzi-split-marker.is-child {
  border: 1px solid rgba(251, 191, 36, 0.34);
  background: rgba(245, 158, 11, 0.16);
  color: #fde68a;
}

.erp-comenzi-change-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #bbf7d0;
  font-size: 0.92rem;
  line-height: 1;
}

.erp-comenzi-split-marker.is-old {
  border: 1px solid rgba(148, 163, 184, 0.30);
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

[data-bs-theme="light"] .erp-comenzi-list-widget-subtitle {
  color: #64748b;
}

[data-bs-theme="light"] .erp-comenzi-widget-refresh-btn {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(148, 163, 184, 0.14);
  color: #334155;
}

[data-bs-theme="light"] .erp-comenzi-details-info-light {
  border-color: rgba(22, 163, 74, 0.24);
  background: transparent;
  color: #166534;
}

[data-bs-theme="light"] .erp-comenzi-widget-refresh-btn:hover,
[data-bs-theme="light"] .erp-comenzi-widget-refresh-btn:focus {
  border-color: rgba(100, 116, 139, 0.34);
  background: rgba(148, 163, 184, 0.22);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-details-info-light:hover,
[data-bs-theme="light"] .erp-comenzi-details-info-light:focus {
  border-color: #198754;
  background: #198754;
  color: #ffffff;
}

[data-bs-theme="light"] .erp-comenzi-split-marker.is-source {
  border-color: rgba(22, 163, 74, 0.24);
  background: rgba(34, 197, 94, 0.14);
  color: #166534;
}

[data-bs-theme="light"] .erp-comenzi-split-marker.is-child {
  border-color: rgba(217, 119, 6, 0.24);
  background: rgba(245, 158, 11, 0.14);
  color: #92400e;
}

[data-bs-theme="light"] .erp-comenzi-change-icon {
  color: #166534;
}

[data-bs-theme="light"] .erp-comenzi-split-marker.is-old {
  border-color: rgba(100, 116, 139, 0.22);
  background: rgba(148, 163, 184, 0.14);
  color: #475569;
}

.erp-comenzi-card-title-wrap {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem 0.75rem;
  min-width: 0;
}

.erp-comenzi-card-title-stack {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.erp-comenzi-card-subtitle {
  margin-top: 0.15rem;
  font-size: 0.79rem;
  line-height: 1.2;
  color: #9aa6b2;
}

.erp-comenzi-card-meta {
  font-size: 0.82rem;
  line-height: 1.2;
  color: rgba(226, 232, 240, 0.88);
}

.erp-comenzi-card-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.erp-comenzi-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 32px;
  padding: 0.34rem 0.62rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(248, 250, 252, 0.18);
  background: rgba(248, 250, 252, 0.14);
  color: #f8fafc;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: none;
  background-image: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.erp-comenzi-card-action:hover,
.erp-comenzi-card-action:focus {
  color: #ffffff;
  background: rgba(248, 250, 252, 0.22);
  border-color: rgba(248, 250, 252, 0.32);
  transform: none;
  box-shadow: none;
}

.erp-comenzi-card-action.is-success-light {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(74, 222, 128, 0.28);
  color: #dcfce7;
}

.erp-comenzi-card-action.is-success-light:hover,
.erp-comenzi-card-action.is-success-light:focus {
  color: #f0fdf4;
  background: rgba(34, 197, 94, 0.24);
  border-color: rgba(134, 239, 172, 0.34);
}

.erp-comenzi-card-action.is-info-light {
  background: rgba(14, 165, 233, 0.16);
  border-color: rgba(56, 189, 248, 0.28);
  color: #e0f2fe;
}

.erp-comenzi-card-action.is-info-light:hover,
.erp-comenzi-card-action.is-info-light:focus {
  color: #f0f9ff;
  background: rgba(14, 165, 233, 0.24);
  border-color: rgba(125, 211, 252, 0.34);
}

.erp-comenzi-card-action.is-light-gray {
  background: rgba(226, 232, 240, 0.12);
  border-color: rgba(148, 163, 184, 0.24);
  color: #e2e8f0;
}

.erp-comenzi-card-action.is-light-gray:hover,
.erp-comenzi-card-action.is-light-gray:focus {
  color: #f8fafc;
  background: rgba(226, 232, 240, 0.2);
  border-color: rgba(203, 213, 225, 0.32);
}

.erp-comenzi-card-action.is-danger-light {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(248, 113, 113, 0.28);
  color: #fee2e2;
}

.erp-comenzi-card-action.is-danger-light:hover,
.erp-comenzi-card-action.is-danger-light:focus {
  color: #fff1f2;
  background: rgba(239, 68, 68, 0.24);
  border-color: rgba(252, 165, 165, 0.34);
}

.erp-comenzi-card-action.is-danger {
  background: #dc2626;
  border-color: #b91c1c;
  color: #ffffff;
}

.erp-comenzi-card-action.is-danger:hover,
.erp-comenzi-card-action.is-danger:focus {
  color: #ffffff;
  background: #b91c1c;
  border-color: #991b1b;
}

.erp-comenzi-card-action.is-disabled,
.erp-comenzi-card-action[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.erp-comenzi-card-action.is-disabled:hover,
.erp-comenzi-card-action.is-disabled:focus,
.erp-comenzi-card-action[aria-disabled="true"]:hover,
.erp-comenzi-card-action[aria-disabled="true"]:focus {
  transform: none;
  box-shadow: none;
}

.erp-comenzi-card-action.is-icon-only {
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  justify-content: center;
  border-radius: 0.45rem;
  font-size: 0.85rem;
}

.erp-comenzi-card-action.is-icon-only i {
  margin: 0;
  line-height: 1;
}

.erp-comenzi-detail-page :is(button, .btn, a.btn, .erp-comenzi-card-action, .erp-comenzi-icon-button),
#erp-comenzi-product-delete-modal :is(button, .btn, a.btn),
#erp-comenzi-order-split-modal :is(button, .btn, a.btn),
#erp-comenzi-awb-regenerate-modal :is(button, .btn, a.btn),
#erp-comenzi-awb-delete-modal :is(button, .btn, a.btn),
#erp-comenzi-order-cancel-modal :is(button, .btn, a.btn),
.erp-comenzi-address-modal-wrap :is(button, .btn, a.btn, .erp-comenzi-card-action) {
  transform: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  background-image: none !important;
}

.erp-comenzi-detail-page :is(button, .btn, a.btn, .erp-comenzi-card-action, .erp-comenzi-icon-button):is(:hover, :focus, :active),
#erp-comenzi-product-delete-modal :is(button, .btn, a.btn):is(:hover, :focus, :active),
#erp-comenzi-order-split-modal :is(button, .btn, a.btn):is(:hover, :focus, :active),
#erp-comenzi-awb-regenerate-modal :is(button, .btn, a.btn):is(:hover, :focus, :active),
#erp-comenzi-awb-delete-modal :is(button, .btn, a.btn):is(:hover, :focus, :active),
#erp-comenzi-order-cancel-modal :is(button, .btn, a.btn):is(:hover, :focus, :active),
.erp-comenzi-address-modal-wrap :is(button, .btn, a.btn, .erp-comenzi-card-action):is(:hover, :focus, :active) {
  transform: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  background-image: none !important;
}

.erp-comenzi-detail-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--erp-radius);
  background: var(--erp-sr-body-bg-dark);
  color: #dbe4ee;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.14);
}

.erp-comenzi-detail-card > .box-header {
  display: flex;
  align-items: center;
  min-height: 51px;
  padding: 0.58rem 0.85rem !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: var(--erp-sr-header-bg-dark);
  color: #f1f5f9;
}

@media (max-width: 767.98px) {
  .erp-comenzi-card-head {
    align-items: flex-start;
  }

  .erp-comenzi-card-title-wrap {
    align-items: flex-start;
    gap: 0.2rem;
  }

  .erp-comenzi-card-actions {
    width: 100%;
  }
}

.erp-comenzi-detail-body {
  padding: 0.85rem;
  color: #dbe4ee;
}

.erp-comenzi-text-success-light {
  color: #86efac !important;
}

.erp-comenzi-detail-row {
  min-height: 52px;
}

.erp-comenzi-detail-page {
  padding-top: 1rem !important;
}

.erp-comenzi-detail-matrix {
  display: grid;
}

.erp-comenzi-detail-matrix-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) max-content;
  gap: 0.9rem;
  align-items: center;
  padding: 0.62rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.erp-comenzi-detail-matrix-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.erp-comenzi-detail-matrix-label {
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 700;
}

.erp-comenzi-detail-matrix-value {
  min-width: 0;
}

.erp-comenzi-detail-matrix-side {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  min-height: 38px;
}

.erp-comenzi-detail-matrix-side .erp-restituire-old-toggle {
  flex: 0 0 auto;
}

.erp-comenzi-detail-matrix-side .erp-restituire-old-toggle-track {
  width: 126px;
  min-width: 126px;
}

.erp-comenzi-detail-matrix-side .erp-restituire-old-toggle.is-valid .erp-restituire-old-toggle-track::after {
  transform: translateX(92px);
}

.erp-comenzi-detail-matrix-warning {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
}

@media (max-width: 1199.98px) {
  .erp-comenzi-detail-matrix-row {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .erp-comenzi-detail-matrix-side {
    grid-column: 2;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  .erp-comenzi-detail-matrix-row {
    grid-template-columns: 1fr;
  }

  .erp-comenzi-detail-matrix-side {
    grid-column: auto;
  }
}

.erp-comenzi-detail-card .progress {
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.4);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.24);
}

.erp-comenzi-detail-card .progress-bar {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.erp-comenzi-detail-card,
.erp-comenzi-fragment-card {
  position: relative;
  margin-bottom: 0.95rem;
}

.erp-comenzi-detail-card {
  overflow: hidden;
}

.erp-comenzi-detail-card hr.border-light {
  opacity: 1;
  border-color: rgba(148, 163, 184, 0.1) !important;
}

.erp-comenzi-fragment-card {
  border-radius: var(--erp-radius);
  overflow: hidden;
  background: var(--erp-sr-body-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #dbe4ee;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.14);
}

.erp-comenzi-fragment-card .card-header {
  display: flex;
  align-items: center;
  min-height: 51px;
  padding: 0.58rem 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: var(--erp-sr-header-bg-dark);
  color: #f1f5f9;
}

.erp-comenzi-fragment-card .card-body {
  padding: 0.85rem;
  background: var(--erp-sr-body-bg-dark);
  color: #dbe4ee;
}

.erp-comenzi-fragment-header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.erp-comenzi-fragment-header-actions form {
  margin: 0;
}

.erp-comenzi-split-score {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  max-width: min(420px, 100%);
}

.erp-comenzi-split-score-badge,
.erp-comenzi-split-eligibility {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.34rem 0.62rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.erp-comenzi-split-score-badge {
  background: rgba(226, 232, 240, 0.12);
  border-color: rgba(148, 163, 184, 0.24);
  color: #e2e8f0;
  cursor: help;
}

.erp-comenzi-split-eligibility {
  background: rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
}

.erp-comenzi-split-eligibility.is-success {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(74, 222, 128, 0.24);
  color: #bbf7d0;
}

.erp-comenzi-split-eligibility.is-warning {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(250, 204, 21, 0.24);
  color: #fde68a;
}

.erp-comenzi-split-eligibility.is-danger {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(248, 113, 113, 0.24);
  color: #fecaca;
}

.erp-comenzi-fragment-header-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.erp-comenzi-fragment-header-switch-label {
  font-size: 0.73rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.erp-comenzi-client-cod-switch-wrap {
  gap: 0.35rem;
  padding: 0.16rem 0.28rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
}

.erp-comenzi-client-cod-switch-wrap.is-danger-light {
  background: rgba(239, 68, 68, 0.13);
  border-color: rgba(248, 113, 113, 0.28);
}

.erp-comenzi-client-cod-switch-wrap.is-danger-light .erp-comenzi-fragment-header-switch-label {
  color: #fecaca;
}

.erp-comenzi-cod-blocked-toggle .erp-restituire-old-toggle-track {
  min-width: 64px;
  width: 64px;
  height: 26px;
  padding: 0 6px;
  border-radius: 0.42rem;
  font-size: 0.7rem;
}

.erp-comenzi-cod-blocked-toggle .erp-restituire-old-toggle-track::before {
  width: calc(100% - 24px);
  margin-left: 24px;
  font-weight: 700;
}

.erp-comenzi-cod-blocked-toggle .erp-restituire-old-toggle-track::after {
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
}

.erp-comenzi-cod-blocked-toggle.is-valid .erp-restituire-old-toggle-track {
  background: linear-gradient(180deg, #ef4444, #b91c1c);
  border-color: rgba(248, 113, 113, 0.48);
}

.erp-comenzi-cod-blocked-toggle.is-valid .erp-restituire-old-toggle-track::before {
  width: calc(100% - 24px);
  margin-right: 24px;
}

.erp-comenzi-cod-blocked-toggle.is-valid .erp-restituire-old-toggle-track::after {
  transform: translateX(40px);
}

.erp-comenzi-cod-blocked-toggle.is-invalid .erp-restituire-old-toggle-track {
  background: linear-gradient(180deg, #22c55e, #15803d);
  border-color: rgba(34, 197, 94, 0.48);
}

.erp-comenzi-verification-toggle .erp-restituire-old-toggle-track {
  min-width: 132px;
  width: 132px;
}

.erp-comenzi-verification-toggle.is-valid .erp-restituire-old-toggle-track::after {
  transform: translateX(98px);
}

.erp-comenzi-address-grid {
  display: grid;
  gap: 0.55rem;
}

.erp-comenzi-address-grid-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.erp-comenzi-address-grid-label {
  font-size: 0.76rem;
  color: #9aa6b2;
  white-space: nowrap;
  width: 92px;
}

.erp-comenzi-address-grid-value {
  min-width: 0;
}

.erp-comenzi-readonly-copy-group .form-control[readonly],
.erp-comenzi-fragment-card .erp-comenzi-readonly-copy-group .form-control[readonly] {
  background: rgba(15, 23, 42, 0.28);
  color: #e5ebf2;
  border-color: rgba(148, 163, 184, 0.18);
}

.erp-comenzi-copy-trigger {
  min-width: 40px;
  border-color: rgba(148, 163, 184, 0.18);
}

.erp-comenzi-billing-meta-copy .input-group-text {
  border-color: rgba(56, 189, 248, 0.28);
  background: rgba(14, 165, 233, 0.14);
  color: #dbeafe;
}

.erp-comenzi-billing-meta-copy .input-group-text i {
  color: inherit;
}

.erp-comenzi-readonly-copy-group .input-group-text {
  min-width: 2.45rem;
  justify-content: center;
}

.erp-comenzi-readonly-copy-group .input-group-text i {
  width: 1rem;
  text-align: center;
}

.erp-comenzi-copy-trigger.is-copied {
  color: #15803d;
}

.erp-comenzi-doc-meta {
  font-size: 0.74rem;
  color: #9aa6b2;
}

.erp-comenzi-doc-header-ref {
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
}

.erp-comenzi-warning-card .card-header {
  background: linear-gradient(180deg, rgba(185, 28, 28, 0.98), rgba(153, 27, 27, 0.98));
  color: #fff;
}

.erp-comenzi-warning-card .card-body {
  background: rgba(127, 29, 29, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.22);
}

.erp-comenzi-warning-list {
  display: grid;
  gap: 0.7rem;
}

.erp-comenzi-warning-item {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.75rem 0.85rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: rgba(127, 29, 29, 0.14);
}

.erp-comenzi-warning-icon {
  display: inline-flex;
  justify-content: center;
  color: #f87171;
  line-height: 1.2;
}

.erp-comenzi-warning-text {
  color: #fca5a5;
  font-size: 0.82rem;
  line-height: 1.45;
}

[data-bs-theme="light"] .erp-comenzi-warning-item {
  border-color: rgba(248, 113, 113, 0.32);
  background: rgba(254, 242, 242, 0.98);
}

[data-bs-theme="light"] .erp-comenzi-warning-icon {
  color: #dc2626;
}

[data-bs-theme="light"] .erp-comenzi-warning-text {
  color: #b91c1c;
}

.erp-comenzi-client-grid .erp-comenzi-address-grid-label {
  width: 92px;
}

.erp-comenzi-doc-table tbody td {
  color: #d7dde4;
  border-color: rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.erp-comenzi-doc-index-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.erp-comenzi-doc-index {
  font-size: 0.89rem;
  line-height: 1.1;
  font-weight: 700;
  color: #f8fafc;
}

.erp-comenzi-doc-id {
  font-size: 0.68rem;
  line-height: 1.1;
  color: #94a3b8;
}

.erp-comenzi-doc-link-stack {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  min-width: 180px;
}

.erp-comenzi-doc-link-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.erp-comenzi-doc-link-button {
  flex-shrink: 0;
}

.erp-comenzi-pdf-action {
  color: #7f1d1d !important;
}

.erp-comenzi-pdf-action:hover,
.erp-comenzi-pdf-action:focus {
  color: #991b1b !important;
}

.erp-comenzi-card-action.is-danger-light.erp-comenzi-pdf-action {
  color: #ffffff !important;
}

.erp-comenzi-card-action.is-danger-light.erp-comenzi-pdf-action:hover,
.erp-comenzi-card-action.is-danger-light.erp-comenzi-pdf-action:focus {
  color: #ffffff !important;
}

.erp-comenzi-card-action.is-warning-light.erp-comenzi-pdf-action {
  color: #7c2d12 !important;
}

.erp-comenzi-card-action.is-warning-light.erp-comenzi-pdf-action:hover,
.erp-comenzi-card-action.is-warning-light.erp-comenzi-pdf-action:focus {
  color: #7c2d12 !important;
}

.erp-comenzi-doc-link-value {
  margin-left: auto;
  text-align: right;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 700;
  color: #e5ebf2;
}

.erp-comenzi-doc-link-value.is-secondary {
  font-weight: 400;
}

.erp-comenzi-doc-number {
  font-size: 0.8rem;
  line-height: 1.2;
  font-weight: 700;
  color: #f8fafc;
}

.erp-comenzi-doc-copy {
  font-size: 0.76rem;
  line-height: 1.3;
  color: #d7dde4;
}

.erp-comenzi-doc-link-value.is-success-light,
.erp-comenzi-doc-number.is-success-light {
  color: #86efac;
}

.erp-comenzi-doc-link-value.is-warning-light,
.erp-comenzi-doc-number.is-warning-light {
  color: #fde68a;
}

.erp-comenzi-doc-link-value.is-danger-light,
.erp-comenzi-doc-number.is-danger-light {
  color: #fca5a5;
}

.erp-comenzi-doc-spv-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 1.45rem;
  padding: 0.12rem 0.45rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.erp-comenzi-doc-spv-badge.is-success-light {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.28);
  color: #bbf7d0;
}

.erp-comenzi-doc-spv-badge.is-warning-light {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.28);
  color: #fde68a;
}

.erp-comenzi-doc-empty {
  font-size: 0.76rem;
  color: #94a3b8;
}

.erp-comenzi-doc-option-btn {
  margin-inline: auto;
}

.erp-comenzi-observatii-publisher {
  margin-bottom: 1rem !important;
}

.erp-comenzi-observatii-card .publisher {
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #ffffff;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.erp-comenzi-observatii-card .publisher-input {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 3.55rem;
  padding: 0.72rem 0.9rem;
  background: #ffffff;
  color: #0f172a !important;
  font-size: 0.82rem;
  line-height: 1.35;
  border: 0;
  resize: vertical;
  overflow: auto;
}

.erp-comenzi-observatii-card .publisher-input::placeholder {
  color: #64748b;
  opacity: 1;
}

.erp-comenzi-observatii-card .publisher-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.18);
}

.erp-comenzi-observatii-card .publisher .flexbox {
  padding: 0.75rem 1rem 0.95rem;
  justify-content: flex-end;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  background: #ffffff;
}

.erp-comenzi-card-inline-id {
  display: inline-block;
  margin-left: 0.45rem;
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.78;
}

.erp-comenzi-icon-button {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.erp-comenzi-history-card {
  background: var(--erp-sr-body-bg-dark);
}

.erp-comenzi-history-header {
  background: var(--erp-sr-header-bg-dark);
  color: #f1f5f9;
}

.erp-comenzi-history-card .card-body {
  background: var(--erp-sr-body-bg-dark);
}

.erp-comenzi-history-card .table thead th {
  color: #f1f5f9;
  background: transparent;
}

.erp-comenzi-history-card .table tbody td,
.erp-comenzi-history-card blockquote,
.erp-comenzi-history-card .blockquote p {
  color: #d7dde4;
}

.erp-comenzi-history-card .table-striped > tbody > tr:nth-of-type(odd) > * {
  background: var(--erp-sr-body-bg-dark);
}

.erp-comenzi-collapse-trigger i {
  transition: transform 0.2s ease;
}

.erp-comenzi-collapse-trigger:not(.collapsed) i {
  transform: rotate(180deg);
}

.erp-comenzi-fragment-card .table {
  margin-bottom: 0;
}

.erp-comenzi-fragment-card .table > :not(caption) > * > * {
  padding: 0.38rem 0.48rem;
  vertical-align: top;
  font-size: 0.81rem;
}

.erp-comenzi-fragment-card .table thead th {
  white-space: nowrap;
  font-size: 0.77rem;
  color: #f1f5f9;
  background: transparent !important;
}

.erp-comenzi-client-state {
  display: inline-flex;
  align-items: center;
  margin-left: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.erp-comenzi-client-state.is-new {
  color: #f59e0b;
}

.erp-comenzi-client-state.is-existing {
  color: #22c55e;
}

.erp-comenzi-client-state.is-incomplete {
  color: #94a3b8;
}

.erp-comenzi-products-card .card-header,
.erp-comenzi-actions-card .card-header {
  background: var(--erp-sr-header-bg-dark);
}

.erp-comenzi-products-card .card-body {
  background: var(--erp-sr-body-bg-dark);
}

.erp-comenzi-products-table thead th {
  color: #f1f5f9;
  background: transparent !important;
}

.erp-comenzi-products-table tbody td {
  color: #d7dde4;
  border-color: rgba(255, 255, 255, 0.06);
}

.erp-comenzi-product-row td {
  vertical-align: middle;
}

.erp-comenzi-products-index-cell {
  width: 56px;
}

.erp-comenzi-products-index {
  display: inline;
  min-width: 0;
  min-height: 0;
  align-items: initial;
  justify-content: initial;
  border-radius: 0;
  background: transparent;
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 700;
}

.erp-comenzi-product-name-line {
  margin-bottom: 0.2rem;
}

.erp-comenzi-product-name {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.erp-comenzi-product-subtitle {
  margin-bottom: 0.35rem;
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1.35;
}

.erp-comenzi-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.erp-comenzi-product-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.45rem;
  border-radius: 0.28rem;
  background: rgba(148, 163, 184, 0.14);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.erp-comenzi-product-badge.is-muted {
  background: rgba(100, 116, 139, 0.18);
  color: #cbd5e1;
}

.erp-comenzi-product-badge.is-code {
  letter-spacing: 0.02em;
  background: rgba(51, 65, 85, 0.34);
  color: #e2e8f0;
}

.erp-comenzi-product-badge.is-position {
  background: rgba(59, 130, 246, 0.18);
  color: #bfdbfe;
}

.erp-comenzi-product-badge.is-stock.is-success {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}

.erp-comenzi-product-badge.is-stock.is-warning {
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
}

.erp-comenzi-product-badge.is-stock.is-danger {
  background: rgba(239, 68, 68, 0.18);
  color: #fda4af;
}

.erp-comenzi-product-stock-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.erp-comenzi-product-service-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #e5e7eb;
}

.erp-comenzi-products-qty {
  font-size: 1.02rem;
  font-weight: 700;
  color: #f8fafc;
}

.erp-comenzi-products-qty.is-light {
  font-weight: 600;
}

.erp-comenzi-products-amount {
  font-size: 0.93rem;
  line-height: 1.35;
}

.erp-comenzi-products-amount.is-primary,
.erp-comenzi-products-amount.is-strong {
  font-weight: 700;
  color: #f8fafc;
}

.erp-comenzi-products-amount.is-secondary {
  font-size: 0.78rem;
  font-weight: 500;
  color: #cbd5e1;
}

.erp-comenzi-products-amount.is-discount {
  color: #7dd3fc;
}

.erp-comenzi-products-money-line {
  display: flex;
  justify-content: flex-end;
}

.erp-comenzi-products-money-line + .erp-comenzi-products-money-line {
  margin-top: 0.08rem;
}

.erp-comenzi-products-currency-badge {
  display: inline;
  margin-left: 0.3rem;
  padding: 0;
  background: transparent;
  color: #f8fafc;
  font-size: 0.93rem;
  font-weight: 400;
  line-height: 1.35;
  vertical-align: baseline;
}

.erp-comenzi-products-currency-badge.is-secondary {
  font-size: 0.78rem;
  color: #dbe4ef;
}

.erp-comenzi-products-currency-badge.is-discount {
  color: #7dd3fc;
}

.erp-comenzi-products-total-row td {
  background: rgba(148, 163, 184, 0.06) !important;
}

.erp-comenzi-inline-money-wrap,
.erp-comenzi-inline-money-wrap .erp-restituire-inline-editor {
  width: 100%;
  justify-content: flex-end;
}

.erp-comenzi-inline-money-display {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  padding: 0.14rem 0.42rem;
  border: 1px dotted rgba(203, 213, 225, 0.42);
  border-radius: 0.24rem;
  background: transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.erp-comenzi-inline-money-display:hover,
.erp-comenzi-inline-money-display:focus,
.erp-comenzi-inline-money-display:active {
  border-color: rgba(226, 232, 240, 0.68);
  background: transparent;
}

.erp-comenzi-inline-money-wrap > .erp-comenzi-products-currency-badge {
  margin-left: 0.3rem;
}

.erp-comenzi-inline-money-wrap.is-editing > .erp-comenzi-products-currency-badge {
  display: none;
}

.erp-comenzi-inline-money-editor {
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.erp-comenzi-inline-btn-success-light {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.28);
  color: #bbf7d0;
}

.erp-comenzi-inline-btn-success-light:hover,
.erp-comenzi-inline-btn-success-light:focus,
.erp-comenzi-inline-btn-success-light:active {
  background: rgba(34, 197, 94, 0.24) !important;
  border-color: rgba(34, 197, 94, 0.38) !important;
  color: #dcfce7 !important;
}

.erp-comenzi-inline-btn-danger-light {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.28);
  color: #fecaca;
}

.erp-comenzi-inline-btn-danger-light:hover,
.erp-comenzi-inline-btn-danger-light:focus,
.erp-comenzi-inline-btn-danger-light:active {
  background: rgba(239, 68, 68, 0.24) !important;
  border-color: rgba(239, 68, 68, 0.38) !important;
  color: #fee2e2 !important;
}

.erp-comenzi-inline-money-input {
  min-width: 86px;
  max-width: 120px;
  text-align: right;
}

.erp-comenzi-product-delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 0.45rem;
  border-color: rgba(239, 68, 68, 0.28);
  color: #fecaca;
  background: rgba(239, 68, 68, 0.16);
  line-height: 1;
  box-shadow: none;
}

.erp-comenzi-product-delete-btn:hover,
.erp-comenzi-product-delete-btn:focus,
.erp-comenzi-product-delete-btn:active {
  border-color: rgba(239, 68, 68, 0.38) !important;
  color: #fee2e2 !important;
  background: rgba(239, 68, 68, 0.24) !important;
}

.erp-comenzi-products-operation-placeholder {
  color: #64748b;
  font-size: 0.86rem;
}

.erp-comenzi-products-table.table-striped > tbody > tr:nth-of-type(odd) > * {
  background: var(--erp-sr-body-bg-dark);
}

.erp-comenzi-products-legend + .erp-comenzi-products-legend {
  margin-top: 0.2rem;
}

.erp-comenzi-products-legend-text {
  padding-left: 0.35rem;
  font-size: 0.78rem;
}

.erp-comenzi-products-legend-text.is-success {
  color: #86efac;
}

.erp-comenzi-products-legend-text.is-warning {
  color: #fcd34d;
}

.erp-comenzi-products-legend-text.is-danger {
  color: #fca5a5;
}

.erp-comenzi-product-delete-modal {
  border: 1px solid rgba(248, 113, 113, 0.28);
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
  color: #f8fafc;
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.46);
}

.erp-comenzi-product-delete-modal .modal-header,
.erp-comenzi-product-delete-modal .modal-footer {
  border-color: rgba(248, 113, 113, 0.2);
}

.erp-comenzi-product-delete-modal .modal-title {
  color: #fee2e2;
}

.erp-comenzi-product-delete-modal .btn-close {
  filter: invert(1) grayscale(1) brightness(1.8);
}

.erp-comenzi-product-delete-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(248, 113, 113, 0.22);
  border-radius: 0.55rem;
  background: rgba(127, 29, 29, 0.22);
}

.erp-comenzi-product-delete-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.55rem;
  background: rgba(248, 113, 113, 0.18);
  color: #fca5a5;
  font-size: 1.05rem;
  flex: 0 0 auto;
}

.erp-comenzi-product-delete-alert-title {
  margin-bottom: 0.2rem;
  color: #fee2e2;
  font-size: 0.95rem;
  font-weight: 700;
}

.erp-comenzi-product-delete-summary {
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: 0.55rem;
  background: rgba(15, 23, 42, 0.52);
  color: #f8fafc;
  line-height: 1.4;
  font-weight: 600;
}

.erp-comenzi-order-split-modal {
  border: 1px solid rgba(96, 165, 250, 0.24);
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
  color: #f8fafc;
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.46);
}

.erp-comenzi-order-split-modal .modal-header,
.erp-comenzi-order-split-modal .modal-footer {
  border-color: rgba(96, 165, 250, 0.16);
}

.erp-comenzi-order-split-modal .modal-title {
  color: #dbeafe;
}

.erp-comenzi-order-split-modal .btn-close {
  filter: invert(1) grayscale(1) brightness(1.8);
}

.erp-comenzi-order-split-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 0.95rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 0.55rem;
  background: rgba(30, 64, 175, 0.18);
}

.erp-comenzi-order-split-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.55rem;
  background: rgba(96, 165, 250, 0.18);
  color: #93c5fd;
  font-size: 1.05rem;
  flex: 0 0 auto;
}

.erp-comenzi-order-split-alert-title {
  margin-bottom: 0.2rem;
  color: #dbeafe;
  font-size: 0.95rem;
  font-weight: 700;
}

.erp-comenzi-order-split-copy {
  color: #dbeafe;
  line-height: 1.45;
}

.erp-comenzi-order-split-summary {
  margin-bottom: 0.85rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.52);
  color: #e2e8f0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.erp-comenzi-order-split-state {
  margin-bottom: 0.85rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 0.5rem;
  background: rgba(30, 64, 175, 0.18);
  color: #dbeafe;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 600;
}

.erp-comenzi-order-split-list {
  display: grid;
  gap: 0.7rem;
}

.erp-comenzi-order-split-item {
  display: grid;
  grid-template-columns: 1.2rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.55rem;
  background: rgba(15, 23, 42, 0.38);
  cursor: pointer;
}

.erp-comenzi-order-split-item:hover {
  border-color: rgba(96, 165, 250, 0.28);
}

.erp-comenzi-order-split-checkbox {
  margin-top: 0.14rem;
}

.erp-comenzi-order-split-item-title {
  color: #f8fafc;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.erp-comenzi-order-split-item-meta {
  margin-top: 0.24rem;
  color: #cbd5e1;
  font-size: 0.77rem;
  line-height: 1.45;
}

.erp-comenzi-order-cancel-modal {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    linear-gradient(180deg, rgba(41, 47, 57, 0.98), rgba(28, 33, 40, 0.98));
  color: #e5e7eb;
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.46);
}

.erp-comenzi-order-cancel-modal .modal-header,
.erp-comenzi-order-cancel-modal .modal-footer {
  border-color: rgba(148, 163, 184, 0.16);
}

.erp-comenzi-order-cancel-modal .modal-title {
  color: #f8fafc;
}

.erp-comenzi-order-cancel-modal .btn-close {
  filter: invert(1) grayscale(1) brightness(1.8);
}

.erp-comenzi-order-cancel-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.55rem;
  background: rgba(71, 85, 105, 0.16);
}

.erp-comenzi-order-cancel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.55rem;
  background: rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
  font-size: 1.05rem;
  flex: 0 0 auto;
}

.erp-comenzi-order-cancel-alert-title {
  margin-bottom: 0.2rem;
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 700;
}

.erp-comenzi-order-cancel-copy {
  color: #d1d5db;
  line-height: 1.45;
}

.erp-comenzi-order-cancel-copy-list {
  display: grid;
  gap: 0;
  margin-bottom: 0.7rem;
}

.erp-comenzi-order-cancel-copy-list .erp-comenzi-order-cancel-copy:last-child {
  margin-bottom: 0 !important;
}

.erp-comenzi-order-cancel-state {
  margin-bottom: 0.7rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 0.45rem;
  background: rgba(15, 23, 42, 0.34);
  color: #f8fafc;
  line-height: 1.45;
  font-weight: 600;
}

.erp-comenzi-order-cancel-shopify {
  margin-bottom: 0.7rem;
  padding: 0.8rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.45rem;
  background: rgba(15, 23, 42, 0.28);
}

.erp-comenzi-order-cancel-shopify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.erp-comenzi-order-cancel-shopify-title {
  color: #f8fafc;
  font-size: 0.9rem;
  font-weight: 700;
}

.erp-comenzi-order-cancel-shopify-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.erp-comenzi-order-cancel-shopify-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.65rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.4rem;
  background: rgba(71, 85, 105, 0.16);
  color: #e5e7eb;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.erp-comenzi-order-cancel-shopify-badge.is-loading,
.erp-comenzi-order-cancel-shopify-badge.is-unknown {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(71, 85, 105, 0.18);
  color: #f1f5f9;
}

.erp-comenzi-order-cancel-shopify-badge.is-eligible {
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(100, 116, 139, 0.18);
  color: #f8fafc;
}

.erp-comenzi-order-cancel-shopify-badge.is-blocked {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(51, 65, 85, 0.34);
  color: #f8fafc;
}

.erp-comenzi-order-cancel-shopify-badge.is-prep {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(71, 85, 105, 0.24);
  color: #f8fafc;
}

.erp-comenzi-order-cancel-shopify-badge.is-na {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(51, 65, 85, 0.12);
  color: #cbd5e1;
}

.erp-comenzi-order-cancel-shopify-meta {
  margin-bottom: 0.55rem;
  color: #cbd5e1;
  font-size: 0.78rem;
  line-height: 1.4;
}

.erp-comenzi-order-cancel-shopify-list {
  display: grid;
  gap: 0.35rem;
}

.erp-comenzi-order-cancel-shopify-item {
  padding-left: 0.85rem;
  color: #d1d5db;
  font-size: 0.82rem;
  line-height: 1.45;
  position: relative;
}

.erp-comenzi-order-cancel-shopify-item::before {
  content: "";
  position: absolute;
  top: 0.48rem;
  left: 0.15rem;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
}

.erp-comenzi-order-cancel-copy-strong {
  color: #f8fafc;
  font-weight: 700;
}

.erp-comenzi-actions-card .card-body {
  background: var(--erp-sr-body-bg-dark);
}

.erp-comenzi-actions-card .timeline-event {
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.16);
}

.erp-comenzi-observatii-timeline {
  position: relative;
  display: grid;
  gap: 0.7rem;
}

.erp-comenzi-note-entry {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: flex-start;
}

.erp-comenzi-note-entry:last-child .erp-comenzi-note-rail::after {
  display: none;
}

.erp-comenzi-note-rail {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 0.05rem;
}

.erp-comenzi-note-rail::after {
  content: "";
  position: absolute;
  top: 2rem;
  bottom: -1rem;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(148, 163, 184, 0.22);
}

.erp-comenzi-note-dot {
  position: relative;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.48);
  box-shadow: 0 8px 16px rgba(2, 6, 23, 0.16);
}

.erp-comenzi-note-dot i {
  font-size: 0.82rem;
}

.erp-comenzi-note-card {
  min-width: 0;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.62), rgba(15, 23, 42, 0.52));
  box-shadow: 0 12px 22px rgba(2, 6, 23, 0.14);
  overflow: hidden;
}

.erp-comenzi-note-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.78rem 0.95rem 0.55rem;
}

.erp-comenzi-note-title {
  min-width: 0;
  font-size: 0.79rem;
  line-height: 1.35;
  color: #f1f5f9;
  font-weight: 600;
}

.erp-comenzi-note-time {
  flex-shrink: 0;
  font-size: 0.71rem;
  line-height: 1.2;
  color: #aeb8c4;
  text-align: right;
  white-space: nowrap;
}

.erp-comenzi-note-body {
  padding: 0 0.95rem 0.88rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #dbe4ee;
}

.erp-comenzi-note-body h4 {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 500;
}

.erp-comenzi-note-entry.is-warning .erp-comenzi-note-dot {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.38);
  color: #fbbf24;
}

.erp-comenzi-note-entry.is-warning .erp-comenzi-note-card {
  background: linear-gradient(180deg, rgba(120, 53, 15, 0.2), rgba(15, 23, 42, 0.56));
  border-color: rgba(245, 158, 11, 0.2);
}

.erp-comenzi-note-entry.is-warning .erp-comenzi-note-title,
.erp-comenzi-note-entry.is-warning .erp-comenzi-note-body,
.erp-comenzi-note-entry.is-warning .erp-comenzi-note-body h4 {
  color: #fde68a;
}

.erp-comenzi-note-entry.is-success .erp-comenzi-note-dot {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.34);
  color: #86efac;
}

.erp-comenzi-note-entry.is-success .erp-comenzi-note-card {
  background: linear-gradient(180deg, rgba(20, 83, 45, 0.18), rgba(15, 23, 42, 0.56));
  border-color: rgba(34, 197, 94, 0.18);
}

.erp-comenzi-note-entry.is-success .erp-comenzi-note-title,
.erp-comenzi-note-entry.is-success .erp-comenzi-note-body,
.erp-comenzi-note-entry.is-success .erp-comenzi-note-body h4 {
  color: #dcfce7;
}

.erp-comenzi-note-entry.is-info .erp-comenzi-note-dot {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.32);
  color: #93c5fd;
}

.erp-comenzi-note-entry.is-info .erp-comenzi-note-card {
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.14), rgba(15, 23, 42, 0.56));
  border-color: rgba(59, 130, 246, 0.18);
}

.erp-comenzi-note-entry.is-info .erp-comenzi-note-title,
.erp-comenzi-note-entry.is-info .erp-comenzi-note-body,
.erp-comenzi-note-entry.is-info .erp-comenzi-note-body h4 {
  color: #dbeafe;
}

.erp-comenzi-note-entry.is-primary .erp-comenzi-note-dot {
  background: rgba(148, 163, 184, 0.14);
  border-color: rgba(148, 163, 184, 0.3);
  color: #e2e8f0;
}

.erp-comenzi-note-entry.is-primary .erp-comenzi-note-card {
  background: linear-gradient(180deg, rgba(51, 65, 85, 0.22), rgba(15, 23, 42, 0.56));
}

.erp-comenzi-actions-card .timeline-heading,
.erp-comenzi-actions-card .timeline-title,
.erp-comenzi-actions-card .timeline-body h4,
.erp-comenzi-actions-card .timeline-footer p {
  color: #d7dde4;
}

.erp-comenzi-observatii-card .timeline-body h4 {
  margin-bottom: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.erp-comenzi-observatii-card .timeline-title,
.erp-comenzi-observatii-card .panel-title {
  font-size: 0.78rem;
  font-weight: 600;
}

.erp-comenzi-observatii-card .timeline-footer,
.erp-comenzi-observatii-card .panel .timeline-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.erp-comenzi-card-title-wrap .h3 {
  margin-bottom: 0;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  line-height: 1.2;
  color: #f1f5f9 !important;
}

.erp-comenzi-card-title-wrap .h3 strong {
  font-weight: 700;
}

.erp-comenzi-card-meta {
  margin-top: 0;
  font-size: 0.79rem;
  color: #9aa6b2;
}

.erp-comenzi-fragment-card .card-header > .h5,
.erp-comenzi-fragment-card .card-header .card-title,
.erp-comenzi-history-title-wrap .h5 {
  margin-bottom: 0;
  font-size: 0.82rem;
  line-height: 1.2;
  color: #f1f5f9;
  font-weight: 600;
}

.erp-comenzi-fragment-card .form-label {
  font-size: 0.76rem;
  color: #9aa6b2 !important;
  margin-bottom: 0.3rem;
}

.erp-comenzi-fragment-card .input-group-text,
.erp-comenzi-fragment-card .form-control,
.erp-comenzi-fragment-card .form-select,
.erp-comenzi-fragment-card .form-check-label {
  font-size: 0.74rem;
}

.erp-comenzi-detail-body .h5 {
  font-size: 0.74rem;
  line-height: 1.2;
}

.erp-comenzi-detail-body .h4,
.erp-comenzi-detail-body .text-success.h4,
.erp-comenzi-detail-body .text-info.h4,
.erp-comenzi-detail-page .erp-comenzi-inline-select-wrap .erp-restituire-inline-display,
.erp-comenzi-detail-page .erp-comenzi-inline-select-wrap .erp-restituire-inline-static,
.erp-comenzi-legacy-detail .erp-comenzi-inline-select-wrap .erp-restituire-inline-display,
.erp-comenzi-legacy-detail .erp-comenzi-inline-select-wrap .erp-restituire-inline-static {
  font-size: 0.82rem !important;
  font-weight: 600;
}

.erp-comenzi-doc-table .h5,
.erp-comenzi-doc-table .fw-normal.h5,
.erp-comenzi-doc-table .fw-bold.h5,
.erp-comenzi-doc-table .text-success.h5 {
  font-size: 0.76rem !important;
  line-height: 1.2;
  color: #e5ebf2 !important;
}

.erp-comenzi-doc-table .h6,
.erp-comenzi-doc-table .fw-normal.h6,
.erp-comenzi-doc-table .text-success.h6 {
  font-size: 0.71rem !important;
  line-height: 1.2;
  color: #cbd5e1 !important;
}

.erp-comenzi-doc-table .text-muted,
.erp-comenzi-doc-table .fw-light.text-muted {
  color: #aab4bf !important;
}

.erp-comenzi-doc-table .text-success,
.erp-comenzi-doc-table .table .text-success {
  color: #e5ebf2 !important;
}

.erp-comenzi-address-grid-label,
.erp-comenzi-doc-meta,
.erp-comenzi-fragment-card .form-label {
  color: #b8c2cd !important;
}

.erp-comenzi-legacy-detail .erp-comenzi-inline-select-wrap {
  min-width: 260px;
}

.erp-comenzi-detail-page .erp-comenzi-inline-select-wrap .erp-restituire-inline-editor,
.erp-comenzi-legacy-detail .erp-comenzi-inline-select-wrap .erp-restituire-inline-editor {
  margin-top: 0;
}

.erp-comenzi-detail-page .erp-comenzi-inline-select-wrap .erp-restituire-inline-display,
.erp-comenzi-legacy-detail .erp-comenzi-inline-select-wrap .erp-restituire-inline-display {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e5ebf2;
  text-align: left;
  cursor: pointer;
}

.erp-comenzi-detail-page .erp-comenzi-inline-select-wrap .erp-restituire-inline-display:hover,
.erp-comenzi-detail-page .erp-comenzi-inline-select-wrap .erp-restituire-inline-display:focus,
.erp-comenzi-legacy-detail .erp-comenzi-inline-select-wrap .erp-restituire-inline-display:hover,
.erp-comenzi-legacy-detail .erp-comenzi-inline-select-wrap .erp-restituire-inline-display:focus {
  color: #ffffff;
}

.erp-comenzi-inline-picker {
  min-width: 250px;
}

.erp-comenzi-detail-page .erp-comenzi-inline-select-wrap .erp-restituire-inline-input,
.erp-comenzi-legacy-detail .erp-comenzi-inline-select-wrap .erp-restituire-inline-input,
.erp-comenzi-legacy-detail .erp-comenzi-inline-select-wrap .erp-comenzi-inline-picker {
  background: #1c2126;
  border-color: rgba(148, 163, 184, 0.22);
  color: #f8fafc;
}

.erp-comenzi-detail-page .erp-comenzi-inline-select-wrap .erp-restituire-inline-actions,
.erp-comenzi-legacy-detail .erp-comenzi-inline-select-wrap .erp-restituire-inline-actions {
  width: auto;
  margin-top: 0;
}

.erp-comenzi-detail-page .erp-comenzi-inline-select-wrap .erp-restituire-inline-static,
.erp-comenzi-legacy-detail .erp-comenzi-inline-select-wrap .erp-restituire-inline-static {
  font-size: 0.9rem;
  font-weight: 600;
  color: #22c55e;
}

.erp-comenzi-detail-page .erp-restituire-old-toggle,
.erp-comenzi-legacy-detail .erp-restituire-old-toggle {
  margin-left: 0;
}

[data-bs-theme="light"] .erp-comenzi-card-meta {
  color: #475569;
}

[data-bs-theme="light"] .erp-comenzi-card-subtitle {
  color: #64748b;
}

[data-bs-theme="light"] .erp-comenzi-card-action {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: none;
}

[data-bs-theme="light"] .erp-comenzi-card-action:hover,
[data-bs-theme="light"] .erp-comenzi-card-action:focus {
  color: #020617;
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.3);
}

[data-bs-theme="light"] .erp-comenzi-card-action.is-success-light {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(22, 163, 74, 0.24);
  color: #166534;
}

[data-bs-theme="light"] .erp-comenzi-card-action.is-success-light:hover,
[data-bs-theme="light"] .erp-comenzi-card-action.is-success-light:focus {
  color: #14532d;
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(22, 163, 74, 0.3);
}

[data-bs-theme="light"] .erp-comenzi-card-action.is-info-light {
  background: rgba(14, 165, 233, 0.14);
  border-color: rgba(2, 132, 199, 0.22);
  color: #075985;
}

[data-bs-theme="light"] .erp-comenzi-card-action.is-info-light:hover,
[data-bs-theme="light"] .erp-comenzi-card-action.is-info-light:focus {
  color: #0c4a6e;
  background: rgba(14, 165, 233, 0.2);
  border-color: rgba(2, 132, 199, 0.3);
}

[data-bs-theme="light"] .erp-comenzi-card-action.is-light-gray {
  background: rgba(241, 245, 249, 0.96);
  border-color: rgba(148, 163, 184, 0.28);
  color: #475569;
}

[data-bs-theme="light"] .erp-comenzi-card-action.is-light-gray:hover,
[data-bs-theme="light"] .erp-comenzi-card-action.is-light-gray:focus {
  color: #334155;
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.34);
}

[data-bs-theme="light"] .erp-comenzi-card-action.is-danger-light {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(220, 38, 38, 0.22);
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-comenzi-card-action.is-danger-light:hover,
[data-bs-theme="light"] .erp-comenzi-card-action.is-danger-light:focus {
  color: #991b1b;
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(220, 38, 38, 0.3);
}

[data-bs-theme="light"] .erp-comenzi-card-action.is-danger {
  background: #dc2626;
  border-color: #b91c1c;
  color: #ffffff;
}

[data-bs-theme="light"] .erp-comenzi-card-action.is-danger:hover,
[data-bs-theme="light"] .erp-comenzi-card-action.is-danger:focus {
  color: #ffffff;
  background: #b91c1c;
  border-color: #991b1b;
}

[data-bs-theme="light"] .erp-comenzi-detail-card {
  border-color: rgba(15, 23, 42, 0.08);
  background: #ffffff;
  color: #1f2937;
  box-shadow: 0 10px 22px rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] .erp-comenzi-detail-card > .box-header {
  border-bottom-color: rgba(148, 163, 184, 0.1);
  background: #dfe5eb;
  color: #111827;
}

[data-bs-theme="light"] .erp-comenzi-detail-card .progress {
  background: #e2e8f0;
  box-shadow: inset 0 1px 2px rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-comenzi-detail-card hr.border-light {
  border-color: rgba(148, 163, 184, 0.16) !important;
}

[data-bs-theme="light"] .erp-comenzi-fragment-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #1f2937;
}

[data-bs-theme="light"] .erp-comenzi-fragment-card .card-header {
  border-bottom-color: rgba(148, 163, 184, 0.1);
  background: #dfe5eb;
  color: #111827;
}

[data-bs-theme="light"] .erp-comenzi-fragment-header-switch-label {
  color: #475569;
}

[data-bs-theme="light"] .erp-comenzi-client-cod-switch-wrap.is-danger-light {
  background: #fee2e2;
  border-color: #fecaca;
}

[data-bs-theme="light"] .erp-comenzi-client-cod-switch-wrap.is-danger-light .erp-comenzi-fragment-header-switch-label {
  color: #991b1b;
}

[data-bs-theme="light"] .erp-comenzi-cod-blocked-toggle.is-valid .erp-restituire-old-toggle-track {
  background: linear-gradient(180deg, #ef4444, #dc2626);
  border-color: rgba(239, 68, 68, 0.42);
  color: #ffffff;
}

[data-bs-theme="light"] .erp-comenzi-cod-blocked-toggle.is-invalid .erp-restituire-old-toggle-track {
  background: linear-gradient(180deg, #22c55e, #16a34a);
  border-color: rgba(34, 197, 94, 0.45);
  color: #ffffff;
}

[data-bs-theme="light"] .erp-comenzi-history-card {
  background: #ffffff;
}

[data-bs-theme="light"] .erp-comenzi-history-header {
  background: #dfe5eb;
  color: #111827;
}

[data-bs-theme="light"] .erp-comenzi-history-card .card-body {
  background: #ffffff;
}

[data-bs-theme="light"] .erp-comenzi-history-card .table thead th {
  color: #111827;
  background: transparent !important;
}

[data-bs-theme="light"] .erp-comenzi-history-card .table tbody td,
[data-bs-theme="light"] .erp-comenzi-history-card blockquote,
[data-bs-theme="light"] .erp-comenzi-history-card .blockquote p {
  color: #1f2937;
}

[data-bs-theme="light"] .erp-comenzi-history-card .table-striped > tbody > tr:nth-of-type(odd) > * {
  background: #ffffff;
}

[data-bs-theme="light"] .erp-comenzi-products-card .card-body,
[data-bs-theme="light"] .erp-comenzi-actions-card .card-body {
  background: #ffffff;
}

[data-bs-theme="light"] .erp-comenzi-products-table thead th {
  color: #111827;
  background: transparent !important;
}

[data-bs-theme="light"] .erp-comenzi-products-table tbody td,
[data-bs-theme="light"] .erp-comenzi-actions-card .timeline-heading,
[data-bs-theme="light"] .erp-comenzi-actions-card .timeline-title,
[data-bs-theme="light"] .erp-comenzi-actions-card .timeline-body h4,
[data-bs-theme="light"] .erp-comenzi-actions-card .timeline-footer p {
  color: #1f2937;
}

[data-bs-theme="light"] .erp-comenzi-products-index {
  background: transparent;
  color: #334155;
}

[data-bs-theme="light"] .erp-comenzi-product-subtitle {
  color: #64748b;
}

[data-bs-theme="light"] .erp-comenzi-product-badge {
  background: #e2e8f0;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-product-badge.is-muted {
  background: #f1f5f9;
  color: #475569;
}

[data-bs-theme="light"] .erp-comenzi-product-badge.is-code {
  background: #dbe4ef;
  color: #1e293b;
}

[data-bs-theme="light"] .erp-comenzi-product-badge.is-position {
  background: #dbeafe;
  color: #1d4ed8;
}

[data-bs-theme="light"] .erp-comenzi-product-badge.is-stock.is-success {
  background: #dcfce7;
  color: #15803d;
}

[data-bs-theme="light"] .erp-comenzi-product-badge.is-stock.is-warning {
  background: #fef3c7;
  color: #b45309;
}

[data-bs-theme="light"] .erp-comenzi-product-badge.is-stock.is-danger {
  background: #fee2e2;
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-comenzi-product-service-name,
[data-bs-theme="light"] .erp-comenzi-products-qty,
[data-bs-theme="light"] .erp-comenzi-products-amount.is-primary,
[data-bs-theme="light"] .erp-comenzi-products-amount.is-strong {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-products-amount.is-secondary {
  color: #64748b;
}

[data-bs-theme="light"] .erp-comenzi-products-currency-badge {
  background: transparent;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-products-currency-badge.is-secondary {
  background: transparent;
  color: #64748b;
}

[data-bs-theme="light"] .erp-comenzi-products-currency-badge.is-discount {
  color: #0284c7;
}

[data-bs-theme="light"] .erp-comenzi-products-total-row td {
  background: #f8fafc !important;
}

[data-bs-theme="light"] .erp-comenzi-products-legend-text.is-success {
  color: #15803d;
}

[data-bs-theme="light"] .erp-comenzi-products-legend-text.is-warning {
  color: #b45309;
}

[data-bs-theme="light"] .erp-comenzi-products-legend-text.is-danger {
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-comenzi-product-delete-btn {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(220, 38, 38, 0.22);
  color: #be123c;
}

[data-bs-theme="light"] .erp-comenzi-inline-money-display {
  border-color: rgba(148, 163, 184, 0.42);
  background: transparent;
}

[data-bs-theme="light"] .erp-comenzi-inline-money-display:hover,
[data-bs-theme="light"] .erp-comenzi-inline-money-display:focus,
[data-bs-theme="light"] .erp-comenzi-inline-money-display:active {
  border-color: rgba(148, 163, 184, 0.62);
  background: transparent;
}

[data-bs-theme="light"] .erp-comenzi-inline-btn-success-light {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(22, 163, 74, 0.24);
  color: #166534;
}

[data-bs-theme="light"] .erp-comenzi-inline-btn-success-light:hover,
[data-bs-theme="light"] .erp-comenzi-inline-btn-success-light:focus,
[data-bs-theme="light"] .erp-comenzi-inline-btn-success-light:active {
  background: rgba(34, 197, 94, 0.2) !important;
  border-color: rgba(22, 163, 74, 0.3) !important;
  color: #14532d !important;
}

[data-bs-theme="light"] .erp-comenzi-inline-btn-danger-light {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(220, 38, 38, 0.22);
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-comenzi-inline-btn-danger-light:hover,
[data-bs-theme="light"] .erp-comenzi-inline-btn-danger-light:focus,
[data-bs-theme="light"] .erp-comenzi-inline-btn-danger-light:active {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: rgba(220, 38, 38, 0.3) !important;
  color: #991b1b !important;
}

[data-bs-theme="light"] .erp-comenzi-product-delete-summary {
  border-color: rgba(148, 163, 184, 0.22);
  background: #f8fafc;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-product-delete-modal {
  border-color: rgba(248, 113, 113, 0.24);
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

[data-bs-theme="light"] .erp-comenzi-product-delete-modal .modal-header,
[data-bs-theme="light"] .erp-comenzi-product-delete-modal .modal-footer {
  border-color: rgba(248, 113, 113, 0.14);
}

[data-bs-theme="light"] .erp-comenzi-product-delete-modal .modal-title {
  color: #991b1b;
}

[data-bs-theme="light"] .erp-comenzi-product-delete-modal .btn-close {
  filter: none;
}

[data-bs-theme="light"] .erp-comenzi-product-delete-alert {
  border-color: rgba(248, 113, 113, 0.18);
  background: rgba(254, 226, 226, 0.9);
}

[data-bs-theme="light"] .erp-comenzi-product-delete-icon {
  background: rgba(248, 113, 113, 0.16);
  color: #dc2626;
}

[data-bs-theme="light"] .erp-comenzi-product-delete-alert-title {
  color: #991b1b;
}

[data-bs-theme="light"] .erp-comenzi-order-split-modal {
  border-color: rgba(96, 165, 250, 0.24);
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

[data-bs-theme="light"] .erp-comenzi-order-split-modal .modal-header,
[data-bs-theme="light"] .erp-comenzi-order-split-modal .modal-footer {
  border-color: rgba(96, 165, 250, 0.16);
}

[data-bs-theme="light"] .erp-comenzi-order-split-modal .modal-title {
  color: #1d4ed8;
}

[data-bs-theme="light"] .erp-comenzi-order-split-modal .btn-close {
  filter: none;
}

[data-bs-theme="light"] .erp-comenzi-order-split-alert {
  border-color: rgba(96, 165, 250, 0.18);
  background: rgba(219, 234, 254, 0.94);
}

[data-bs-theme="light"] .erp-comenzi-order-split-icon {
  background: rgba(96, 165, 250, 0.16);
  color: #2563eb;
}

[data-bs-theme="light"] .erp-comenzi-order-split-alert-title {
  color: #1d4ed8;
}

[data-bs-theme="light"] .erp-comenzi-order-split-copy {
  color: #1e3a8a;
}

[data-bs-theme="light"] .erp-comenzi-order-split-summary {
  border-color: rgba(148, 163, 184, 0.22);
  background: #f8fafc;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-order-split-state {
  border-color: rgba(96, 165, 250, 0.18);
  background: rgba(219, 234, 254, 0.94);
  color: #1d4ed8;
}

[data-bs-theme="light"] .erp-comenzi-order-split-item {
  border-color: rgba(148, 163, 184, 0.18);
  background: #ffffff;
}

[data-bs-theme="light"] .erp-comenzi-order-split-item:hover {
  border-color: rgba(96, 165, 250, 0.28);
}

[data-bs-theme="light"] .erp-comenzi-order-split-item-title {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-order-split-item-meta {
  color: #475569;
}

[data-bs-theme="light"] .erp-comenzi-order-cancel-modal {
  border-color: rgba(148, 163, 184, 0.22);
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

[data-bs-theme="light"] .erp-comenzi-order-cancel-modal .modal-header,
[data-bs-theme="light"] .erp-comenzi-order-cancel-modal .modal-footer {
  border-color: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-comenzi-order-cancel-modal .modal-title {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-order-cancel-modal .btn-close {
  filter: none;
}

[data-bs-theme="light"] .erp-comenzi-order-cancel-alert {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(241, 245, 249, 0.94);
}

[data-bs-theme="light"] .erp-comenzi-order-cancel-icon {
  background: rgba(226, 232, 240, 0.95);
  color: #475569;
}

[data-bs-theme="light"] .erp-comenzi-order-cancel-alert-title,
[data-bs-theme="light"] .erp-comenzi-order-cancel-copy-strong {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-order-cancel-copy {
  color: #334155;
}

[data-bs-theme="light"] .erp-comenzi-order-cancel-state {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(226, 232, 240, 0.72);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-order-cancel-shopify {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(248, 250, 252, 0.96);
}

[data-bs-theme="light"] .erp-comenzi-order-cancel-shopify-title {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-order-cancel-shopify-badge {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(241, 245, 249, 0.96);
  color: #334155;
}

[data-bs-theme="light"] .erp-comenzi-order-cancel-shopify-badge.is-loading,
[data-bs-theme="light"] .erp-comenzi-order-cancel-shopify-badge.is-unknown,
[data-bs-theme="light"] .erp-comenzi-order-cancel-shopify-badge.is-eligible,
[data-bs-theme="light"] .erp-comenzi-order-cancel-shopify-badge.is-blocked,
[data-bs-theme="light"] .erp-comenzi-order-cancel-shopify-badge.is-prep,
[data-bs-theme="light"] .erp-comenzi-order-cancel-shopify-badge.is-na {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-order-cancel-shopify-meta,
[data-bs-theme="light"] .erp-comenzi-order-cancel-shopify-item {
  color: #334155;
}

[data-bs-theme="light"] .erp-comenzi-order-cancel-shopify-item::before {
  background: rgba(100, 116, 139, 0.7);
}

[data-bs-theme="light"] .erp-comenzi-products-table.table-striped > tbody > tr:nth-of-type(odd) > * {
  background: #ffffff;
}

[data-bs-theme="light"] .erp-comenzi-address-grid-label,
[data-bs-theme="light"] .erp-comenzi-doc-meta {
  color: #64748b;
}

[data-bs-theme="light"] .erp-comenzi-doc-header-ref {
  color: #475569;
}

[data-bs-theme="light"] .erp-comenzi-readonly-copy-group .form-control[readonly],
[data-bs-theme="light"] .erp-comenzi-fragment-card .erp-comenzi-readonly-copy-group .form-control[readonly] {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="light"] .erp-comenzi-billing-meta-copy .input-group-text {
  border-color: rgba(14, 165, 233, 0.26);
  background: rgba(224, 242, 254, 0.98);
  color: #0369a1;
}

[data-bs-theme="light"] .erp-comenzi-billing-meta-copy .input-group-text i {
  color: inherit;
}

[data-bs-theme="light"] .erp-comenzi-note-rail::after {
  background: rgba(148, 163, 184, 0.28);
}

[data-bs-theme="light"] .erp-comenzi-note-dot {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: 0 8px 16px rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] .erp-comenzi-note-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 20px rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] .erp-comenzi-note-title {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-note-time {
  color: #64748b;
}

[data-bs-theme="light"] .erp-comenzi-note-body,
[data-bs-theme="light"] .erp-comenzi-note-body h4 {
  color: #334155;
}

[data-bs-theme="light"] .erp-comenzi-note-entry.is-warning .erp-comenzi-note-card {
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.98), rgba(255, 255, 255, 0.98));
}

[data-bs-theme="light"] .erp-comenzi-note-entry.is-warning .erp-comenzi-note-title,
[data-bs-theme="light"] .erp-comenzi-note-entry.is-warning .erp-comenzi-note-body,
[data-bs-theme="light"] .erp-comenzi-note-entry.is-warning .erp-comenzi-note-body h4 {
  color: #92400e;
}

[data-bs-theme="light"] .erp-comenzi-note-entry.is-success .erp-comenzi-note-card {
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.98), rgba(255, 255, 255, 0.98));
}

[data-bs-theme="light"] .erp-comenzi-note-entry.is-success .erp-comenzi-note-title,
[data-bs-theme="light"] .erp-comenzi-note-entry.is-success .erp-comenzi-note-body,
[data-bs-theme="light"] .erp-comenzi-note-entry.is-success .erp-comenzi-note-body h4 {
  color: #166534;
}

[data-bs-theme="light"] .erp-comenzi-note-entry.is-info .erp-comenzi-note-card {
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.98));
}

[data-bs-theme="light"] .erp-comenzi-note-entry.is-info .erp-comenzi-note-title,
[data-bs-theme="light"] .erp-comenzi-note-entry.is-info .erp-comenzi-note-body,
[data-bs-theme="light"] .erp-comenzi-note-entry.is-info .erp-comenzi-note-body h4 {
  color: #1d4ed8;
}

[data-bs-theme="light"] .erp-comenzi-copy-trigger {
  border-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="light"] .erp-comenzi-doc-table tbody td {
  color: #1f2937;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] .erp-comenzi-doc-index {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-doc-id {
  color: #64748b;
}

[data-bs-theme="light"] .erp-comenzi-doc-link-value {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-doc-number {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-comenzi-doc-copy {
  color: #334155;
}

[data-bs-theme="light"] .erp-comenzi-pdf-action {
  color: #991b1b !important;
}

[data-bs-theme="light"] .erp-comenzi-pdf-action:hover,
[data-bs-theme="light"] .erp-comenzi-pdf-action:focus {
  color: #b91c1c !important;
}

[data-bs-theme="light"] .erp-comenzi-card-action.is-danger-light.erp-comenzi-pdf-action {
  color: #ffffff !important;
}

[data-bs-theme="light"] .erp-comenzi-card-action.is-danger-light.erp-comenzi-pdf-action:hover,
[data-bs-theme="light"] .erp-comenzi-card-action.is-danger-light.erp-comenzi-pdf-action:focus {
  color: #ffffff !important;
}

[data-bs-theme="light"] .erp-comenzi-card-action.is-warning-light.erp-comenzi-pdf-action {
  color: #7c2d12 !important;
}

[data-bs-theme="light"] .erp-comenzi-card-action.is-warning-light.erp-comenzi-pdf-action:hover,
[data-bs-theme="light"] .erp-comenzi-card-action.is-warning-light.erp-comenzi-pdf-action:focus {
  color: #7c2d12 !important;
}

[data-bs-theme="light"] .erp-comenzi-split-score {
  color: #1f2937;
}

[data-bs-theme="light"] .erp-comenzi-split-score-badge {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.22);
  color: #334155;
}

[data-bs-theme="light"] .erp-comenzi-split-eligibility {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.22);
  color: #334155;
}

[data-bs-theme="light"] .erp-comenzi-split-eligibility.is-success {
  background: rgba(240, 253, 244, 0.98);
  border-color: rgba(34, 197, 94, 0.22);
  color: #15803d;
}

[data-bs-theme="light"] .erp-comenzi-split-eligibility.is-warning {
  background: rgba(255, 251, 235, 0.98);
  border-color: rgba(245, 158, 11, 0.24);
  color: #b45309;
}

[data-bs-theme="light"] .erp-comenzi-split-eligibility.is-danger {
  background: rgba(254, 242, 242, 0.98);
  border-color: rgba(239, 68, 68, 0.24);
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-comenzi-doc-link-value.is-success-light,
[data-bs-theme="light"] .erp-comenzi-doc-number.is-success-light {
  color: #15803d;
}

[data-bs-theme="light"] .erp-comenzi-text-success-light {
  color: #15803d !important;
}

[data-bs-theme="light"] .erp-comenzi-doc-link-value.is-warning-light,
[data-bs-theme="light"] .erp-comenzi-doc-number.is-warning-light {
  color: #b45309;
}

[data-bs-theme="light"] .erp-comenzi-doc-link-value.is-danger-light,
[data-bs-theme="light"] .erp-comenzi-doc-number.is-danger-light {
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-comenzi-doc-spv-badge.is-success-light {
  background: rgba(187, 247, 208, 0.7);
  border-color: rgba(34, 197, 94, 0.28);
  color: #166534;
}

[data-bs-theme="light"] .erp-comenzi-doc-spv-badge.is-warning-light {
  background: rgba(254, 243, 199, 0.86);
  border-color: rgba(245, 158, 11, 0.28);
  color: #92400e;
}

[data-bs-theme="light"] .erp-comenzi-doc-empty {
  color: #64748b;
}

[data-bs-theme="light"] .erp-comenzi-detail-matrix-row {
  border-top-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-comenzi-card-title-wrap .h3,
[data-bs-theme="light"] .erp-comenzi-fragment-card .card-header > .h5,
[data-bs-theme="light"] .erp-comenzi-fragment-card .card-header .card-title,
[data-bs-theme="light"] .erp-comenzi-history-title-wrap .h5 {
  color: #111827 !important;
}

[data-bs-theme="light"] .erp-comenzi-doc-table .h5,
[data-bs-theme="light"] .erp-comenzi-doc-table .fw-normal.h5,
[data-bs-theme="light"] .erp-comenzi-doc-table .fw-bold.h5,
[data-bs-theme="light"] .erp-comenzi-doc-table .text-success.h5 {
  color: #1f2937 !important;
}

[data-bs-theme="light"] .erp-comenzi-doc-table .h6,
[data-bs-theme="light"] .erp-comenzi-doc-table .fw-normal.h6,
[data-bs-theme="light"] .erp-comenzi-doc-table .text-success.h6 {
  color: #475569 !important;
}

[data-bs-theme="light"] .erp-comenzi-doc-table .text-muted,
[data-bs-theme="light"] .erp-comenzi-doc-table .fw-light.text-muted {
  color: #64748b !important;
}

[data-bs-theme="light"] .erp-comenzi-card-meta {
  color: #64748b;
}

[data-bs-theme="light"] .erp-comenzi-fragment-card .form-label {
  color: #64748b !important;
}

[data-bs-theme="light"] .erp-comenzi-detail-page .erp-comenzi-inline-select-wrap .erp-restituire-inline-input,
[data-bs-theme="light"] .erp-comenzi-legacy-detail .erp-comenzi-inline-select-wrap .erp-restituire-inline-input,
[data-bs-theme="light"] .erp-comenzi-legacy-detail .erp-comenzi-inline-select-wrap .erp-comenzi-inline-picker {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.24);
}

[data-bs-theme="light"] .erp-comenzi-detail-page .erp-comenzi-inline-select-wrap .erp-restituire-inline-display,
[data-bs-theme="light"] .erp-comenzi-legacy-detail .erp-comenzi-inline-select-wrap .erp-restituire-inline-display {
  color: #0f172a;
}

.erp-curieri-legacy {
  padding-top: 0;
}

.erp-curieri-legacy .content {
  display: grid;
  gap: 1rem;
}

.erp-curieri-legacy .row {
  margin-right: 0;
  margin-left: 0;
}

.erp-curieri-legacy .col-12,
.erp-curieri-legacy .col-4,
.erp-curieri-legacy .col-md-12 {
  padding-right: 0.35rem;
  padding-left: 0.35rem;
}

.erp-curieri-legacy .box-title,
.erp-curieri-legacy h4,
.erp-curieri-legacy h5,
.erp-curieri-legacy h6 {
  color: #f8fafc;
}

.erp-curieri-legacy .table-responsive {
  border-radius: var(--erp-radius);
}

.erp-curieri-legacy table.dataTable {
  --bs-table-bg: transparent;
  --bs-table-color: #e5ebf2;
  --bs-table-border-color: rgba(148, 163, 184, 0.12);
  color: #e5ebf2;
}

.erp-curieri-legacy table.dataTable thead th,
.erp-curieri-legacy table.dataTable tbody td {
  background: #262c32;
  border-bottom-color: rgba(148, 163, 184, 0.12);
  vertical-align: middle;
}

.erp-curieri-legacy .dataTables_wrapper .dataTables_info,
.erp-curieri-legacy .dataTables_wrapper .dataTables_processing,
.erp-curieri-legacy .text-muted {
  color: #94a3b8 !important;
}

.erp-curieri-legacy .form-control {
  background: #1c2126;
  border-color: rgba(148, 163, 184, 0.22);
  color: #f8fafc;
}

.erp-curieri-legacy .form-control:focus {
  background: #1c2126;
  color: #ffffff;
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow: 0 0 0 0.16rem rgba(148, 163, 184, 0.12);
}

.erp-curieri-legacy .dropdown-menu {
  background: #1c2126;
  border-color: rgba(148, 163, 184, 0.16);
}

.erp-curieri-legacy .dropdown-item {
  color: #e5ebf2;
}

.erp-curieri-legacy .dropdown-item:hover,
.erp-curieri-legacy .dropdown-item:focus {
  background: rgba(148, 163, 184, 0.14);
  color: #ffffff;
}

.erp-curieri-legacy .btn-xs {
  padding: 0.2rem 0.45rem;
  font-size: 0.74rem;
  line-height: 1.2;
}

.erp-curieri-legacy .btn-social-icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.erp-curieri-legacy .btn-vk {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.erp-curieri-legacy .btn-tumblr {
  background: #0f766e;
  border-color: #0f766e;
  color: #ffffff;
}

.erp-curieri-legacy .btn-instagram {
  background: #c2410c;
  border-color: #c2410c;
  color: #ffffff;
}

.erp-curieri-legacy .erp-curieri-flow-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.erp-curieri-legacy .erp-curieri-flow-label.is-warning-light {
  color: #fcd34d;
}

.erp-curieri-legacy .erp-curieri-flow-label.is-success-light {
  color: #86efac;
}

.erp-curieri-legacy .erp-curieri-flow-label.is-info-light {
  color: #67e8f9;
}

[data-bs-theme="light"] .erp-curieri-legacy .erp-curieri-flow-label.is-warning-light {
  color: #a16207;
}

[data-bs-theme="light"] .erp-curieri-legacy .erp-curieri-flow-label.is-success-light {
  color: #15803d;
}

[data-bs-theme="light"] .erp-curieri-legacy .erp-curieri-flow-label.is-info-light {
  color: #0e7490;
}

.erp-curieri-legacy .btn-danger-light {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fecaca;
}

.erp-curieri-legacy .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.erp-curieri-legacy .badge-gray,
.erp-curieri-legacy .badge-secondary {
  background: #475569;
  color: #f8fafc;
}

.erp-curieri-legacy .badge-dark {
  background: #0f172a;
  color: #f8fafc;
}

.erp-curieri-legacy .badge-light {
  background: #e2e8f0;
  color: #0f172a;
}

.erp-curieri-legacy .badge-danger {
  background: #dc2626;
  color: #fef2f2;
}

.erp-curieri-legacy .badge-warning {
  background: #f59e0b;
  color: #111827;
}

.erp-curieri-legacy .badge-success {
  background: #16a34a;
  color: #f0fdf4;
}

.erp-curieri-legacy .badge-info {
  background: #0284c7;
  color: #f0f9ff;
}

.erp-curieri-legacy .badge-primary {
  background: #2563eb;
  color: #eff6ff;
}

.erp-curieri-filter-card,
.erp-curieri-report-card,
.erp-curieri-report-widget {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(43, 48, 54, 0.98), rgba(36, 41, 47, 0.96));
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.erp-curieri-filter-card {
  overflow: visible;
}

.erp-curieri-filter-card .box-body {
  padding: 1.15rem 1.2rem 1.2rem;
  overflow: visible;
}

.erp-comenzi-legacy-detail .box.erp-curieri-filter-card,
.erp-comenzi-legacy-detail .box.erp-curieri-filter-card .box-body {
  overflow: visible;
}

.erp-curieri-filter-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: stretch;
}

.erp-curieri-preset-btn {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.58rem 0.95rem;
  background: rgba(28, 33, 38, 0.92);
  color: #f3f4f6;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.erp-curieri-preset-btn:hover,
.erp-curieri-preset-btn:focus {
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(59, 65, 72, 0.98);
  color: #ffffff;
  transform: translateY(-1px);
}

.erp-curieri-preset-btn.is-active {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(148, 163, 184, 0.16);
  color: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.erp-curieri-range-picker {
  position: relative;
}

.erp-date-range-picker {
  position: relative;
}

.erp-curieri-range-trigger {
  min-width: 250px;
  min-height: 38px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--erp-radius-sm);
  background: #1c2126;
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.48rem 0.78rem;
  text-align: left;
  box-shadow: none !important;
  outline: none !important;
  appearance: none;
}

.erp-date-range-trigger {
  min-width: 250px;
  min-height: 38px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--erp-radius-sm);
  background: #1c2126;
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.48rem 0.78rem;
  text-align: left;
  box-shadow: none !important;
  outline: none !important;
  appearance: none;
}

.erp-curieri-range-trigger:hover,
.erp-curieri-range-trigger:focus,
.erp-curieri-range-trigger.show,
.erp-date-range-trigger:hover,
.erp-date-range-trigger:focus,
.erp-date-range-trigger.show {
  border-color: rgba(148, 163, 184, 0.32);
  background: #232a31;
  color: #ffffff;
  box-shadow: none !important;
}

.erp-curieri-range-trigger-value {
  font-size: 0.93rem;
  font-weight: 600;
  color: #f8fafc;
}

.erp-date-range-trigger-value {
  font-size: 0.93rem;
  font-weight: 600;
  color: #f8fafc;
}

.erp-curieri-range-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--erp-radius-sm);
  background: rgba(148, 163, 184, 0.18);
  color: #f8fafc;
  flex: 0 0 auto;
}

.erp-date-range-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--erp-radius-sm);
  background: rgba(148, 163, 184, 0.18);
  color: #f8fafc;
  flex: 0 0 auto;
}

.erp-curieri-range-modal {
  position: fixed;
  z-index: 2600;
  display: none;
  width: min(360px, calc(100vw - 2rem));
}

.erp-curieri-range-modal.is-open {
  display: block;
}

.erp-curieri-range-dialog {
  width: 100%;
  padding: 0.8rem;
  border-radius: var(--erp-radius);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #1c2126;
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.28);
}

.erp-curieri-range-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.erp-curieri-range-dialog-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: #eef2f7;
  text-transform: capitalize;
  letter-spacing: 0;
}

.erp-curieri-range-close {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(148, 163, 184, 0.12);
  color: #f8fafc;
}

.erp-curieri-range-close:hover,
.erp-curieri-range-close:focus {
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(148, 163, 184, 0.2);
  color: #ffffff;
}

.erp-curieri-range-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.erp-curieri-range-field {
  display: flex;
  flex-direction: column;
}

.erp-curieri-filter-label {
  margin-bottom: 0.45rem;
  color: #c9d1da;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.erp-curieri-apply-btn {
  margin-top: 0.85rem;
  width: 100%;
  min-height: 38px;
  border-radius: var(--erp-radius-sm);
  font-weight: 700;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(148, 163, 184, 0.16);
  color: #f8fafc;
  box-shadow: none;
}

.erp-curieri-apply-btn:hover,
.erp-curieri-apply-btn:focus {
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(148, 163, 184, 0.22);
  color: #ffffff;
}

.erp-curieri-section-shell {
  position: relative;
}

.erp-curieri-section-loader {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: rgba(28, 33, 38, 0.66);
  backdrop-filter: blur(2px);
  color: #f8fafc;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.erp-curieri-section-shell.is-loading .erp-curieri-section-loader {
  opacity: 1;
  visibility: visible;
}

.erp-curieri-section-shell.is-loading .erp-curieri-filter-card,
.erp-curieri-section-shell.is-loading .erp-curieri-report-card,
.erp-curieri-section-shell.is-loading .erp-curieri-report-widget {
  pointer-events: none;
}

.erp-curieri-report-card,
.erp-curieri-report-widget {
  position: relative;
  overflow: hidden;
}

.erp-curieri-report-row {
  margin-top: 0.7rem;
}

.erp-curieri-detail-summary-row {
  position: relative;
  z-index: 1;
  margin-top: 0.7rem;
  margin-bottom: 1rem;
}

[data-erp-curieri-page="rapoarte_curier_probleme"] #box-ajax-cautare-awb {
  position: relative;
  z-index: 120;
}

.erp-curieri-date-picker {
  position: relative;
  min-width: 208px;
  z-index: 2;
}

.erp-curieri-date-picker.is-open {
  z-index: 1400;
}

.erp-curieri-date-picker .erp-rambursuri-date-popover {
  position: fixed;
  z-index: 1401;
}

[data-erp-curieri-page="rapoarte_curier_detaliat"] #box-ajax-cautare-awb {
  position: relative;
  z-index: 80;
}

.erp-curieri-report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, rgba(28, 33, 38, 0.96), rgba(36, 44, 52, 0.92));
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.erp-curieri-report-heading .card-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.erp-curieri-report-context {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
}

.erp-curieri-summary-card.is-collapsed [data-curieri-summary-body] {
  display: none;
}

.erp-curieri-summary-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.erp-curieri-summary-action {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.22);
  color: #dbe7f3;
  line-height: 1;
}

.erp-curieri-summary-action:hover,
.erp-curieri-summary-action:focus {
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(148, 163, 184, 0.14);
  color: #ffffff;
}

.erp-curieri-summary-action.is-loading,
.erp-curieri-summary-action:disabled {
  opacity: 0.68;
  pointer-events: none;
}

.erp-curieri-report-table thead th:first-child,
.erp-curieri-report-table tbody td:first-child {
  width: 56px !important;
  text-align: center;
}

.erp-curieri-flux-table thead th:first-child,
.erp-curieri-flux-table tbody td:first-child,
.erp-curieri-statusuri-table thead th:first-child,
.erp-curieri-statusuri-table tbody td:first-child {
  width: 32% !important;
  text-align: center;
}

.erp-curieri-count-value {
  display: block;
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 700;
}

.erp-curieri-count-share {
  display: inline;
  margin-left: 0.12rem;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
}

.erp-curieri-summary-money {
  display: block;
  margin-top: 0.16rem;
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.18;
  white-space: nowrap;
}

.erp-curieri-summary-money.is-success-light {
  color: #86efac;
}

.erp-curieri-summary-money.is-info {
  color: #67e8f9;
}

.erp-curieri-summary-money-label {
  font-weight: 800;
}

.erp-curieri-summary-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  padding: 0.5rem 0.75rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.erp-curieri-summary-legend-item.is-success-light {
  color: #86efac;
}

.erp-curieri-summary-legend-item.is-info {
  color: #67e8f9;
}

.erp-curieri-flux-total-row td {
  background: rgba(43, 48, 54, 0.96) !important;
}

.erp-curieri-flux-total-label {
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.erp-curieri-report-table thead th {
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #d6dde5;
}

.erp-curieri-report-table tbody td {
  padding-top: 0.62rem;
  padding-bottom: 0.62rem;
  font-size: 0.78rem;
  line-height: 1.2;
  color: #e5ebf2;
}

.erp-curieri-report-table tbody tr:last-child td {
  background: rgba(43, 48, 54, 0.96);
}

.erp-curieri-report-table tbody h4,
.erp-curieri-report-table tbody .h4 {
  font-size: 0.9rem;
  line-height: 1.15;
}

.erp-curieri-report-table tbody h5,
.erp-curieri-report-table tbody .h5 {
  font-size: 0.8rem;
  line-height: 1.15;
}

.erp-curieri-report-table tbody h6,
.erp-curieri-report-table tbody .h6 {
  font-size: 0.71rem;
  line-height: 1.15;
}

.erp-curieri-report-table tbody tr:last-child h4,
.erp-curieri-report-table tbody tr:last-child h5 {
  color: #f8fafc;
}

[data-curieri-section-shell] .erp-loader {
  border-color: rgba(255, 255, 255, 0.14);
  border-top-color: #94a3b8;
}

.erp-curieri-report-card .erp-table-card-body table.dataTable thead th,
.erp-curieri-report-card .erp-table-card-body .table thead th,
.erp-curieri-report-widget .erp-table-card-body table.dataTable thead th,
.erp-curieri-report-widget .erp-table-card-body .table thead th {
  background: var(--erp-sr-header-bg-dark);
  color: #d6dde5;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.erp-curieri-report-card .erp-table-card-body table.dataTable tbody td,
.erp-curieri-report-card .erp-table-card-body .table tbody td,
.erp-curieri-report-widget .erp-table-card-body table.dataTable tbody td,
.erp-curieri-report-widget .erp-table-card-body .table tbody td {
  background: var(--erp-sr-body-bg-dark);
  border-top-color: rgba(255, 255, 255, 0.06);
}

.erp-curieri-report-card .erp-table-card-body table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > *,
.erp-curieri-report-card .erp-table-card-body .table.table-striped > tbody > tr:nth-of-type(odd) > *,
.erp-curieri-report-widget .erp-table-card-body table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > *,
.erp-curieri-report-widget .erp-table-card-body .table.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: rgba(28, 33, 38, 0.92);
  color: #e5ebf2;
}

.erp-curieri-report-card .erp-table-card-body table.dataTable.table-hover > tbody > tr:hover > *,
.erp-curieri-report-card .erp-table-card-body .table.table-hover > tbody > tr:hover > *,
.erp-curieri-report-widget .erp-table-card-body table.dataTable.table-hover > tbody > tr:hover > *,
.erp-curieri-report-widget .erp-table-card-body .table.table-hover > tbody > tr:hover > * {
  --bs-table-accent-bg: rgba(255, 255, 255, 0.03);
  color: #ffffff;
}

.erp-curieri-report-table .text-info {
  color: #93c5fd !important;
}

.erp-curieri-report-table .text-success {
  color: #86efac !important;
}

.erp-curieri-report-table .text-warning {
  color: #fbbf24 !important;
}

.erp-curieri-report-table .text-danger {
  color: #f87171 !important;
}

.erp-curieri-status-filter-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.55rem;
}

.erp-curieri-status-filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  font-size: 0.72rem;
  line-height: 1.15;
  padding: 0.36rem 0.55rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.erp-curieri-status-filter-btn:not(.is-active) {
  opacity: 0.78;
}

.erp-curieri-status-filter-btn:hover,
.erp-curieri-status-filter-btn.is-active {
  opacity: 1;
  border-color: rgba(134, 239, 172, 0.9);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.18);
}

.erp-curieri-status-filter-count {
  margin-left: 0.22rem;
  font-weight: 800;
}

.erp-curieri-address-cell {
  width: 78px;
  max-width: 78px;
  margin: 0 auto;
  gap: 0.1rem;
  font-size: 0.68rem;
  line-height: 1.12;
  text-align: center;
  white-space: normal;
  word-break: break-word;
}

.erp-curieri-address-cell > div {
  overflow-wrap: anywhere;
}

[data-bs-theme="light"] .erp-curieri-filter-card,
[data-bs-theme="light"] .erp-curieri-report-card,
[data-bs-theme="light"] .erp-curieri-report-widget {
  border-color: rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 18px 34px rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-curieri-summary-action {
  border-color: rgba(148, 163, 184, 0.26);
  background: #ffffff;
  color: #334155;
}

[data-bs-theme="light"] .erp-curieri-summary-action:hover,
[data-bs-theme="light"] .erp-curieri-summary-action:focus {
  border-color: rgba(148, 163, 184, 0.36);
  background: #e2e8f0;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-curieri-preset-btn {
  border-color: rgba(148, 163, 184, 0.24);
  background: #ffffff;
  color: #1e293b;
}

[data-bs-theme="light"] .erp-curieri-preset-btn:hover,
[data-bs-theme="light"] .erp-curieri-preset-btn:focus {
  border-color: rgba(148, 163, 184, 0.32);
  background: #f1f5f9;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-curieri-preset-btn.is-active {
  border-color: rgba(148, 163, 184, 0.24);
  background: #e2e8f0;
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

[data-bs-theme="light"] .erp-curieri-range-trigger {
  border-color: rgba(148, 163, 184, 0.24);
  background: #ffffff;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-date-range-trigger {
  border-color: rgba(148, 163, 184, 0.24);
  background: #ffffff;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-curieri-range-trigger:hover,
[data-bs-theme="light"] .erp-curieri-range-trigger:focus,
[data-bs-theme="light"] .erp-curieri-range-trigger.show,
[data-bs-theme="light"] .erp-date-range-trigger:hover,
[data-bs-theme="light"] .erp-date-range-trigger:focus,
[data-bs-theme="light"] .erp-date-range-trigger.show {
  border-color: rgba(148, 163, 184, 0.32);
  background: #f1f5f9;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-curieri-range-trigger-value {
  color: #111827;
}

[data-bs-theme="light"] .erp-date-range-trigger-value {
  color: #111827;
}

[data-bs-theme="light"] .erp-curieri-range-trigger-icon {
  background: #eef2f6;
  color: #334155;
}

[data-bs-theme="light"] .erp-date-range-trigger-icon {
  background: #eef2f6;
  color: #334155;
}

[data-bs-theme="light"] .erp-curieri-range-dialog {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 16px 32px rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-curieri-range-dialog-title {
  color: #334155;
}

[data-bs-theme="light"] .erp-curieri-range-close {
  border-color: rgba(148, 163, 184, 0.2);
  background: #eef2f6;
  color: #334155;
}

[data-bs-theme="light"] .erp-curieri-range-close:hover,
[data-bs-theme="light"] .erp-curieri-range-close:focus {
  border-color: rgba(148, 163, 184, 0.28);
  background: #e2e8f0;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-curieri-filter-label {
  color: #475569;
}

[data-bs-theme="light"] .erp-curieri-apply-btn {
  border-color: rgba(148, 163, 184, 0.22);
  background: #e2e8f0;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-curieri-apply-btn:hover,
[data-bs-theme="light"] .erp-curieri-apply-btn:focus {
  border-color: rgba(148, 163, 184, 0.3);
  background: #cbd5e1;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-curieri-section-loader {
  background: rgba(241, 245, 249, 0.76);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-curieri-report-context {
  color: #334155;
}

[data-bs-theme="light"] .erp-curieri-report-header {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] [data-curieri-section-shell] .erp-loader {
  border-color: rgba(15, 23, 42, 0.12);
  border-top-color: #64748b;
}

[data-bs-theme="light"] .erp-curieri-report-card .erp-table-card-body table.dataTable thead th,
[data-bs-theme="light"] .erp-curieri-report-card .erp-table-card-body .table thead th,
[data-bs-theme="light"] .erp-curieri-report-widget .erp-table-card-body table.dataTable thead th,
[data-bs-theme="light"] .erp-curieri-report-widget .erp-table-card-body .table thead th {
  background: #e8edf2;
  color: #111827;
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-curieri-report-card .erp-table-card-body table.dataTable tbody td,
[data-bs-theme="light"] .erp-curieri-report-card .erp-table-card-body .table tbody td,
[data-bs-theme="light"] .erp-curieri-report-widget .erp-table-card-body table.dataTable tbody td,
[data-bs-theme="light"] .erp-curieri-report-widget .erp-table-card-body .table tbody td {
  background: #ffffff;
  color: #1f2937;
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] .erp-curieri-report-card .erp-table-card-body table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-bs-theme="light"] .erp-curieri-report-card .erp-table-card-body .table.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-bs-theme="light"] .erp-curieri-report-widget .erp-table-card-body table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-bs-theme="light"] .erp-curieri-report-widget .erp-table-card-body .table.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: #f8fafc;
  color: #1f2937;
}

[data-bs-theme="light"] .erp-curieri-report-card .erp-table-card-body table.dataTable.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] .erp-curieri-report-card .erp-table-card-body .table.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] .erp-curieri-report-widget .erp-table-card-body table.dataTable.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] .erp-curieri-report-widget .erp-table-card-body .table.table-hover > tbody > tr:hover > * {
  --bs-table-accent-bg: rgba(226, 232, 240, 0.72);
  color: #111827;
}

[data-bs-theme="light"] .erp-curieri-report-table .text-info {
  color: #2563eb !important;
}

[data-bs-theme="light"] .erp-curieri-report-table .text-success {
  color: #16a34a !important;
}

[data-bs-theme="light"] .erp-curieri-report-table .text-warning {
  color: #d97706 !important;
}

[data-bs-theme="light"] .erp-curieri-report-table .text-danger {
  color: #dc2626 !important;
}

[data-bs-theme="light"] .erp-curieri-count-share {
  color: #64748b;
}

[data-bs-theme="light"] .erp-curieri-summary-money.is-success-light {
  color: #15803d;
}

[data-bs-theme="light"] .erp-curieri-summary-money.is-info {
  color: #0e7490;
}

[data-bs-theme="light"] .erp-curieri-summary-legend-item.is-success-light {
  color: #15803d;
}

[data-bs-theme="light"] .erp-curieri-summary-legend-item.is-info {
  color: #0e7490;
}

[data-bs-theme="light"] .erp-curieri-flux-total-row td {
  background: #e2e8f0 !important;
}

[data-bs-theme="light"] .erp-curieri-flux-total-label {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-curieri-report-table tbody tr:last-child td {
  background: #e2e8f0;
}

[data-bs-theme="light"] .erp-curieri-report-table tbody tr:last-child h4,
[data-bs-theme="light"] .erp-curieri-report-table tbody tr:last-child h5 {
  color: #0f172a;
}

@media (max-width: 991.98px) {
  .erp-curieri-filter-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .erp-curieri-range-trigger {
    width: 100%;
    min-width: 0;
  }

  .erp-date-range-trigger {
    width: 100%;
    min-width: 0;
  }

  .erp-curieri-range-modal {
    width: calc(100vw - 1rem);
  }

  .erp-curieri-range-grid {
    grid-template-columns: 1fr;
  }

  .erp-curieri-report-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

[data-bs-theme="light"] .erp-curieri-legacy .box-title,
[data-bs-theme="light"] .erp-curieri-legacy h4,
[data-bs-theme="light"] .erp-curieri-legacy h5,
[data-bs-theme="light"] .erp-curieri-legacy h6 {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-curieri-legacy table.dataTable {
  --bs-table-color: #0f172a;
  --bs-table-border-color: rgba(148, 163, 184, 0.16);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-curieri-legacy table.dataTable thead th,
[data-bs-theme="light"] .erp-curieri-legacy table.dataTable tbody td {
  background: #f4f6f8;
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-curieri-legacy .dataTables_wrapper .dataTables_info,
[data-bs-theme="light"] .erp-curieri-legacy .dataTables_wrapper .dataTables_processing,
[data-bs-theme="light"] .erp-curieri-legacy .text-muted {
  color: #64748b !important;
}

[data-bs-theme="light"] .erp-curieri-legacy .form-control {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.24);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-curieri-legacy .form-control:focus {
  background: #ffffff;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-curieri-legacy .dropdown-menu {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-curieri-legacy .dropdown-item {
  color: #0f172a;
}

.erp-coletarie-shell {
  position: relative;
}

.erp-coletarie-shell .content-wrapper {
  min-height: auto;
  padding-top: 0 !important;
  background: transparent;
}

.erp-coletarie-shell .container-full {
  width: 100%;
  padding: 0;
}

.erp-coletarie-shell .content {
  display: grid;
  gap: 1rem;
}

.erp-coletarie-shell .row {
  margin-right: -0.35rem;
  margin-left: -0.35rem;
}

.erp-coletarie-shell [class*="col-"] {
  padding-right: 0.35rem;
  padding-left: 0.35rem;
}

.erp-coletarie-shell .box,
.erp-coletarie-shell .modal-content {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(43, 48, 54, 0.98), rgba(36, 41, 47, 0.96));
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.erp-coletarie-shell .box {
  overflow: hidden;
}

.erp-coletarie-shell .bt-2 {
  border-top-width: 2px !important;
}

.erp-coletarie-shell .box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(28, 33, 38, 0.76);
}

.erp-coletarie-shell .box-body {
  padding: 1rem;
}

.erp-coletarie-shell .box-title,
.erp-coletarie-shell h4,
.erp-coletarie-shell h5,
.erp-coletarie-shell h6 {
  margin: 0;
  color: #f8fafc;
}

.erp-coletarie-shell .box-tools,
.erp-coletarie-shell .pull-right {
  margin-left: auto;
}

.erp-coletarie-shell .box-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.erp-coletarie-shell .box-btn-close {
  display: none;
}

.erp-coletarie-shell .box-outline-success {
  border-color: rgba(34, 197, 94, 0.34);
}

.erp-coletarie-shell .box-outline-danger {
  border-color: rgba(239, 68, 68, 0.34);
}

.erp-coletarie-shell .box-success {
  border-color: rgba(34, 197, 94, 0.34);
  background: linear-gradient(180deg, rgba(20, 83, 45, 0.5), rgba(22, 101, 52, 0.2));
}

.erp-coletarie-shell .box-danger {
  border-color: rgba(239, 68, 68, 0.34);
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.54), rgba(127, 29, 29, 0.22));
}

.erp-coletarie-shell .bg-primary,
.erp-coletarie-shell .btn-primary {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

.erp-coletarie-shell .btn-app {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 72px;
  gap: 0.28rem;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: none;
}

.erp-coletarie-shell .btn-app i {
  font-size: 1.15rem;
}

.erp-coletarie-shell .btn-success {
  background: #16a34a;
  border-color: #16a34a;
  color: #f0fdf4;
}

.erp-coletarie-shell .btn-info {
  background: #0891b2;
  border-color: #0891b2;
  color: #ecfeff;
}

.erp-coletarie-shell .btn-info-light {
  background: rgba(14, 165, 233, 0.18);
  border-color: rgba(14, 165, 233, 0.3);
  color: #bae6fd;
}

.erp-coletarie-shell .btn-danger {
  background: #dc2626;
  border-color: #dc2626;
  color: #fef2f2;
}

.erp-coletarie-shell .btn-danger-light {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fecaca;
}

.erp-coletarie-shell .btn-vk {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.erp-coletarie-shell .btn-twitter {
  background: #0f766e;
  border-color: #0f766e;
  color: #ffffff;
}

.erp-coletarie-shell .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 28px;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
}

.erp-coletarie-shell .badge-xl,
.erp-coletarie-shell .badge-lg {
  min-height: 32px;
  padding: 0.48rem 0.85rem;
  font-size: 0.84rem;
}

.erp-coletarie-shell .badge-gray,
.erp-coletarie-shell .badge-secondary {
  background: #475569;
  color: #f8fafc;
}

.erp-coletarie-shell .badge-light {
  background: #e2e8f0;
  color: #0f172a;
}

.erp-coletarie-shell .badge-success {
  background: #16a34a;
  color: #f0fdf4;
}

.erp-coletarie-shell .badge-danger {
  background: #dc2626;
  color: #fef2f2;
}

.erp-coletarie-shell .badge-warning {
  background: #f59e0b;
  color: #111827;
}

.erp-coletarie-shell .badge-primary {
  background: #2563eb;
  color: #eff6ff;
}

.erp-coletarie-shell .badge-info {
  background: #0284c7;
  color: #f0f9ff;
}

.erp-coletarie-shell .table-responsive {
  border-radius: 16px;
}

.erp-coletarie-shell .table {
  --bs-table-bg: transparent;
  --bs-table-color: #e5ebf2;
  --bs-table-border-color: rgba(148, 163, 184, 0.12);
  margin-bottom: 0;
  color: #e5ebf2;
}

.erp-coletarie-shell .table thead th {
  background: #1c2126;
  color: #d6dde5;
  border-bottom-color: rgba(148, 163, 184, 0.14);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
}

.erp-coletarie-shell .table tbody td {
  background: #262c32;
  border-top-color: rgba(148, 163, 184, 0.08);
  vertical-align: middle;
}

.erp-coletarie-shell .form-control,
.erp-coletarie-shell .form-select {
  background: #1c2126;
  border-color: rgba(148, 163, 184, 0.22);
  color: #f8fafc;
}

.erp-coletarie-shell .form-control:focus,
.erp-coletarie-shell .form-select:focus {
  background: #1c2126;
  color: #ffffff;
  border-color: rgba(148, 163, 184, 0.32);
  box-shadow: 0 0 0 0.16rem rgba(148, 163, 184, 0.12);
}

.erp-coletarie-shell .text-muted {
  color: #94a3b8 !important;
}

.erp-coletarie-shell .border-secondary {
  border-color: rgba(148, 163, 184, 0.24) !important;
}

.erp-coletarie-shell .modal-fill .modal-dialog {
  max-width: min(1120px, calc(100vw - 1.5rem));
  margin: 1rem auto;
}

.erp-coletarie-shell .modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.erp-coletarie-shell .modal-body {
  padding: 1rem;
}

.erp-rambursuri-shell {
  position: relative;
}

.erp-rambursuri-shell .content-wrapper {
  min-height: auto;
  padding-top: 0 !important;
  background: transparent;
}

.erp-rambursuri-shell .container-full {
  width: 100%;
  padding: 0;
}

.erp-rambursuri-shell .content {
  display: grid;
  gap: 1rem;
}

.erp-rambursuri-shell .row {
  margin-right: -0.35rem;
  margin-left: -0.35rem;
}

.erp-rambursuri-shell [class*="col-"] {
  padding-right: 0.35rem;
  padding-left: 0.35rem;
}

.erp-rambursuri-shell .box,
.erp-rambursuri-shell .modal-content {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(43, 48, 54, 0.98), rgba(36, 41, 47, 0.96));
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.erp-rambursuri-shell .box {
  overflow: hidden;
}

.erp-rambursuri-shell .bt-2 {
  border-top-width: 2px !important;
}

.erp-rambursuri-shell .box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(28, 33, 38, 0.76);
}

.erp-rambursuri-shell .box-body {
  padding: 1rem;
}

.erp-rambursuri-shell .box-title,
.erp-rambursuri-shell h4,
.erp-rambursuri-shell h5,
.erp-rambursuri-shell h6 {
  margin: 0;
  color: #f8fafc;
}

.erp-rambursuri-shell .box-tools,
.erp-rambursuri-shell .pull-right {
  margin-left: auto;
}

.erp-rambursuri-shell .box-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.erp-rambursuri-shell .box-btn-close {
  display: none;
}

.erp-rambursuri-shell .box-outline-success {
  border-color: rgba(34, 197, 94, 0.34);
}

.erp-rambursuri-shell .box-outline-danger {
  border-color: rgba(239, 68, 68, 0.34);
}

.erp-rambursuri-shell .box-success {
  border-color: rgba(34, 197, 94, 0.34);
  background: linear-gradient(180deg, rgba(20, 83, 45, 0.5), rgba(22, 101, 52, 0.2));
}

.erp-rambursuri-shell .box-danger {
  border-color: rgba(239, 68, 68, 0.34);
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.54), rgba(127, 29, 29, 0.22));
}

.erp-rambursuri-shell .bg-primary,
.erp-rambursuri-shell .btn-primary {
  background: #343a40 !important;
  border-color: #343a40 !important;
  color: #ffffff !important;
}

.erp-rambursuri-shell .btn-app {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 72px;
  gap: 0.28rem;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: none;
}

.erp-rambursuri-shell .btn-app i {
  font-size: 1.15rem;
}

.erp-rambursuri-shell .btn-success {
  background: #343a40;
  border-color: #343a40;
  color: #f8fafc;
}

.erp-rambursuri-shell .btn-info {
  background: #3b4148;
  border-color: #3b4148;
  color: #f8fafc;
}

.erp-rambursuri-shell .btn-info-light {
  background: rgba(148, 163, 184, 0.14);
  border-color: rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
}

.erp-rambursuri-shell .btn-success-light,
.erp-process-modal .btn-success-light {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(74, 222, 128, 0.28);
  color: #dcfce7;
}

.erp-rambursuri-shell .btn-success-light:hover,
.erp-rambursuri-shell .btn-success-light:focus,
.erp-rambursuri-shell .btn-success-light:active,
.erp-process-modal .btn-success-light:hover,
.erp-process-modal .btn-success-light:focus,
.erp-process-modal .btn-success-light:active {
  background: rgba(34, 197, 94, 0.24);
  border-color: rgba(134, 239, 172, 0.34);
  color: #f0fdf4;
}

.erp-rambursuri-shell .btn-danger {
  background: #dc2626;
  border-color: #dc2626;
  color: #fef2f2;
}

.erp-rambursuri-shell .btn-danger-light {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fecaca;
}

.erp-rambursuri-shell .btn-vk {
  background: #343a40;
  border-color: #343a40;
  color: #ffffff;
}

.erp-rambursuri-shell .btn-twitter {
  background: #3b4148;
  border-color: #3b4148;
  color: #ffffff;
}

.erp-rambursuri-shell .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 28px;
  padding: 0.38rem 0.7rem;
  border-radius: var(--erp-radius-sm);
}

.erp-rambursuri-shell .badge-xl,
.erp-rambursuri-shell .badge-lg {
  min-height: 32px;
  padding: 0.48rem 0.85rem;
  font-size: 0.84rem;
}

.erp-rambursuri-shell .badge-gray,
.erp-rambursuri-shell .badge-secondary {
  background: #475569;
  color: #f8fafc;
}

.erp-rambursuri-shell .badge-light {
  background: #e2e8f0;
  color: #0f172a;
}

.erp-rambursuri-shell .badge-success {
  background: #475569;
  color: #f8fafc;
}

.erp-rambursuri-shell .badge-danger {
  background: #dc2626;
  color: #fef2f2;
}

.erp-rambursuri-shell .badge-warning {
  background: #64748b;
  color: #f8fafc;
}

.erp-rambursuri-shell .badge-primary {
  background: #475569;
  color: #f8fafc;
}

.erp-rambursuri-shell .badge-info {
  background: #64748b;
  color: #f8fafc;
}

.erp-rambursuri-shell .table-responsive {
  border-radius: 16px;
}

.erp-rambursuri-section-shell {
  position: relative;
  min-height: var(--erp-rambursuri-section-min-height, 0px);
}

.erp-rambursuri-section-loader {
  position: fixed;
  top: var(--erp-rambursuri-overlay-top, 0px);
  left: var(--erp-rambursuri-overlay-left, 0px);
  width: var(--erp-rambursuri-overlay-width, 0px);
  height: var(--erp-rambursuri-overlay-height, 0px);
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(28, 33, 38, 0.8);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: progress;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.erp-rambursuri-section-loader.is-visible {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.erp-rambursuri-section-shell.is-loading .erp-rambursuri-section-loader {
  opacity: 1;
  visibility: visible;
}

.erp-rambursuri-section-shell.is-loading .erp-rambursuri-section-content {
  pointer-events: none;
}

.erp-rambursuri-section-loader .erp-widget-loading {
  position: relative;
  z-index: 1;
  min-height: auto;
  padding: 0.85rem 1.05rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--erp-radius);
  background: #1c2126 !important;
  color: #f8fafc !important;
  box-shadow: none !important;
}

.erp-rambursuri-datatable-section-shell .dataTables_wrapper .dataTables_processing {
  display: none !important;
}

.erp-rambursuri-card-list-widget .card-header {
  min-height: 4.2rem;
}

.erp-rambursuri-card-list-widget-heading .card-title {
  font-size: 1rem;
  font-weight: 700;
}

.erp-rambursuri-card-list-widget .card-subtitle {
  margin-top: 0.2rem;
}

.erp-rambursuri-card-list-table .erp-rambursuri-card-paid,
.erp-rambursuri-card-list-table .erp-rambursuri-card-money,
.erp-rambursuri-card-list-table .erp-rambursuri-card-aviz {
  min-width: 8.5rem;
  white-space: nowrap;
}

.erp-rambursuri-bulk-select-heading,
.erp-rambursuri-bulk-select-cell {
  min-width: 4.75rem;
  white-space: nowrap;
}

.erp-rambursuri-card-bulk-actions {
  display: flex;
  justify-content: center;
}

.erp-rambursuri-card-bulk-understood {
  margin-top: 0.95rem;
}

html body .erp-rambursuri-card-list-table,
html body .erp-rambursuri-card-list-table :is(th, td, div, span, a, button, label, input, select, textarea, small):not(.fa):not(.ti):not(.glyphicon) {
  font-family: "Segoe UI", sans-serif !important;
}

html body .erp-rambursuri-card-list-table .erp-order-payment {
  line-height: 1.45;
}

html body .erp-rambursuri-card-list-table .erp-order-payment .badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 1.18rem !important;
  padding: 0.18rem 0.38rem !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body .erp-rambursuri-card-list-table .erp-order-payment .erp-order-courier-badge {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 1px solid rgba(59, 130, 246, 0.66) !important;
  color: #f8fafc !important;
}

html[data-bs-theme="light"] body .erp-rambursuri-card-list-table .erp-order-payment .erp-order-courier-badge {
  border-color: rgba(37, 99, 235, 0.55) !important;
  color: #1d4ed8 !important;
}

.erp-rambursuri-card-list-table .erp-rambursuri-card-value.is-danger-light {
  display: inline-block;
  padding: 0.32rem 0.48rem;
  border: 1px solid rgba(248, 113, 113, 0.22);
  border-radius: 0.45rem;
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
}

.erp-rambursuri-card-list-table .erp-rambursuri-card-value.is-danger-light .text-secondary {
  color: #fecaca !important;
  opacity: 0.78;
}

[data-bs-theme="light"] .erp-rambursuri-card-list-table .erp-rambursuri-card-value.is-danger-light {
  border-color: #fecaca;
  background: #fee2e2;
  color: #991b1b;
}

[data-bs-theme="light"] .erp-rambursuri-card-list-table .erp-rambursuri-card-value.is-danger-light .text-secondary {
  color: #991b1b !important;
}

.erp-rambursuri-loader-box {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 46px;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: var(--erp-radius);
  background: #1c2126;
  color: #f8fafc;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: none;
}

.erp-rambursuri-loader-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(248, 250, 252, 0.24);
  border-top-color: #f8fafc;
  border-radius: 50%;
  animation: erp-rambursuri-loader-spin 0.72s linear infinite;
  flex: 0 0 auto;
}

@keyframes erp-rambursuri-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.erp-rambursuri-upload-heading {
  padding: 0.1rem 0.1rem 0.2rem;
}

.erp-rambursuri-upload-heading h2 {
  color: #eef2f7;
}

.erp-rambursuri-upload-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.erp-rambursuri-upload-field {
  flex: 1 1 320px;
  min-width: 0;
}

.erp-rambursuri-upload-submit {
  flex: 0 0 auto;
  min-height: 38px;
  padding-inline: 1rem;
  border-radius: var(--erp-radius-sm);
  font-weight: 600;
}

.erp-rambursuri-filter-card .card-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.erp-rambursuri-kpi-card {
  height: 100%;
}

.erp-rambursuri-kpi-card .card-body {
  display: flex;
  align-items: center;
}

.erp-rambursuri-kpi-list {
  width: 100%;
  display: grid;
  gap: 0.75rem;
}

.erp-rambursuri-kpi-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding: 0.68rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--erp-radius-sm);
  background: rgba(38, 44, 50, 0.72);
}

.erp-rambursuri-kpi-label {
  color: #d6dde5;
  font-size: 0.82rem;
  font-weight: 600;
}

.erp-rambursuri-kpi-value {
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.erp-rambursuri-date-picker {
  position: relative;
  min-width: 208px;
}

.erp-date-picker {
  position: relative;
  min-width: 208px;
}

.erp-rambursuri-date-trigger {
  width: 100%;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.48rem 0.78rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--erp-radius-sm);
  background: #1c2126;
  color: #f8fafc;
  text-align: left;
  box-shadow: none !important;
  outline: none !important;
  appearance: none;
}

.erp-date-trigger {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.48rem 0.72rem 0.48rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--erp-radius-sm);
  background: #1c2126;
  color: #f8fafc;
  text-align: left;
  box-shadow: none !important;
  outline: none !important;
  appearance: none;
}

.erp-curieri-range-grid .erp-date-picker {
  width: 100%;
  min-width: 0;
}

.erp-curieri-range-grid .erp-date-trigger {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  gap: 0.45rem;
  padding: 0.42rem 0.48rem 0.42rem 0.62rem;
}

.erp-curieri-range-grid .erp-date-trigger-value {
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.erp-curieri-range-grid .erp-date-trigger-icon {
  width: 28px;
  height: 28px;
}

.erp-rambursuri-date-trigger:hover,
.erp-rambursuri-date-trigger:focus,
.erp-date-trigger:hover,
.erp-date-trigger:focus {
  border-color: rgba(148, 163, 184, 0.32);
  background: #232a31;
  color: #ffffff;
  box-shadow: none !important;
}

.erp-date-trigger-value {
  min-width: 0;
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
}

.erp-rambursuri-date-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--erp-radius-sm);
  background: rgba(148, 163, 184, 0.18);
  color: #f8fafc;
  flex: 0 0 auto;
}

.erp-date-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--erp-radius-sm);
  background: rgba(148, 163, 184, 0.18);
  color: #f8fafc;
  flex: 0 0 auto;
}

.erp-rambursuri-date-popover {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 50;
  width: 288px;
  padding: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--erp-radius);
  background: #1c2126;
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.28);
}

.erp-date-popover {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 50;
  box-sizing: border-box;
  width: 320px;
  max-width: calc(100vw - 1rem);
  padding: 0.72rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--erp-radius);
  background: #1c2126;
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.28);
}

.erp-date-picker.is-open {
  z-index: 1400;
}

.erp-date-picker .erp-rambursuri-date-popover,
.erp-date-picker .erp-date-popover {
  position: fixed;
  z-index: 1401;
}

#erp-rambursuri-curier-shell .erp-rambursuri-filter-card,
#erp-rambursuri-curier-shell .erp-rambursuri-filter-card .card-body {
  overflow: visible;
}

#erp-rambursuri-curier-shell #erp-rambursuri-date-picker {
  z-index: 2;
}

#erp-rambursuri-curier-shell #erp-rambursuri-date-picker.is-open {
  z-index: 1400;
}

#erp-rambursuri-curier-shell #erp-rambursuri-date-popover {
  position: fixed;
  z-index: 1401;
}

.erp-rambursuri-date-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.erp-date-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.erp-rambursuri-date-label {
  flex: 1 1 auto;
  text-align: center;
  color: #eef2f7;
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: capitalize;
}

.erp-date-label {
  flex: 1 1 auto;
  text-align: center;
  color: #eef2f7;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: none;
}

.erp-rambursuri-date-nav {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--erp-radius-sm);
  background: rgba(51, 65, 85, 0.2);
  color: #e5ebf2;
  box-shadow: none !important;
  outline: none !important;
}

.erp-date-nav {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--erp-radius-sm);
  background: rgba(51, 65, 85, 0.2);
  color: #e5ebf2;
  box-shadow: none !important;
  outline: none !important;
}

.erp-rambursuri-date-nav:hover,
.erp-rambursuri-date-nav:focus,
.erp-date-nav:hover,
.erp-date-nav:focus {
  background: rgba(71, 85, 105, 0.3);
  color: #ffffff;
  box-shadow: none !important;
}

.erp-rambursuri-date-weekdays,
.erp-rambursuri-date-grid,
.erp-date-weekdays,
.erp-date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
}

.erp-rambursuri-date-weekdays,
.erp-date-weekdays {
  margin-bottom: 0.45rem;
}

.erp-rambursuri-date-weekdays span,
.erp-date-weekdays span {
  text-align: center;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 600;
}

.erp-rambursuri-date-day {
  min-height: 34px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--erp-radius-sm);
  background: rgba(51, 65, 85, 0.14);
  color: #e5ebf2;
  font-size: 0.78rem;
  font-weight: 500;
  box-shadow: none !important;
  outline: none !important;
}

.erp-date-day {
  min-height: 36px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--erp-radius-sm);
  background: rgba(51, 65, 85, 0.14);
  color: #e5ebf2;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: none !important;
  outline: none !important;
}

.erp-rambursuri-date-day:hover,
.erp-rambursuri-date-day:focus,
.erp-date-day:hover,
.erp-date-day:focus {
  background: rgba(100, 116, 139, 0.22);
  color: #ffffff;
  box-shadow: none !important;
}

.erp-rambursuri-date-day.is-outside,
.erp-date-day.is-outside {
  color: #64748b;
}

.erp-rambursuri-date-day.is-today,
.erp-date-day.is-today {
  border-color: rgba(148, 163, 184, 0.28);
}

.erp-rambursuri-date-day.is-selected,
.erp-date-day.is-selected {
  background: rgba(148, 163, 184, 0.28);
  border-color: rgba(148, 163, 184, 0.32);
  color: #ffffff;
}

.erp-rambursuri-shell .table {
  --bs-table-bg: transparent;
  --bs-table-color: #e5ebf2;
  --bs-table-border-color: rgba(148, 163, 184, 0.12);
  margin-bottom: 0;
  color: #e5ebf2;
}

.erp-rambursuri-curier-widget {
  position: relative;
  overflow: hidden;
}

.erp-rambursuri-curier-widget .card-body {
  padding: 0 !important;
}

.erp-rambursuri-curier-widget .erp-widget-empty,
.erp-rambursuri-curier-widget .erp-widget-error,
.erp-rambursuri-curier-widget .erp-widget-loading {
  min-height: 132px;
}

.erp-rambursuri-curier-widget .card-header {
  border-bottom-color: rgba(148, 163, 184, 0.1);
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, rgba(28, 33, 38, 0.96), rgba(36, 44, 52, 0.92));
}

.erp-rambursuri-curier-widget-heading .card-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.erp-rambursuri-curier-widget-subtitle {
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1.45;
}

.erp-rambursuri-curier-widget-actions {
  margin-left: auto;
  flex-wrap: nowrap !important;
}

.erp-rambursuri-curier-widget-actions .btn-success,
.erp-rambursuri-curier-widget-actions .btn-success:disabled,
.erp-rambursuri-curier-widget-actions .btn-success.disabled {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #f0fdf4 !important;
}

.erp-rambursuri-curier-widget-actions .btn-success:hover,
.erp-rambursuri-curier-widget-actions .btn-success:focus,
.erp-rambursuri-curier-widget-actions .btn-success:active {
  background: #15803d !important;
  border-color: #15803d !important;
  color: #f0fdf4 !important;
}

.erp-rambursuri-curier-search-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: 270px;
  min-width: 270px;
  min-height: 38px;
  margin: 0;
  padding: 0.22rem 0.82rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--erp-radius-sm);
  background: rgba(28, 33, 38, 0.88);
}

.erp-rambursuri-curier-search-icon {
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1;
}

.erp-rambursuri-curier-search-wrap .form-control {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  color: #f8fafc !important;
  box-shadow: none !important;
}

.erp-rambursuri-curier-search-wrap .form-control::placeholder {
  color: #94a3b8;
}

.erp-rambursuri-curier-table-wrap {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
}

.erp-rambursuri-curier-widget .table-responsive,
.erp-rambursuri-curier-table-wrap.table-responsive {
  border-radius: 0 !important;
  overflow: hidden;
  background: transparent;
}

.erp-rambursuri-curier-widget .dataTables_wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

.erp-rambursuri-curier-widget .dataTables_wrapper > .row,
.erp-rambursuri-curier-widget .dataTables_wrapper > .row > [class*="col-"],
.erp-rambursuri-curier-widget .dataTables_wrapper > .row > [class^="col-"] {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.erp-rambursuri-curier-table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 !important;
}

.erp-rambursuri-shell .erp-rambursuri-curier-table thead th {
  white-space: nowrap;
  padding: 0.86rem 0.95rem;
  background: #1c2126;
  border-top: 0;
  border-bottom-color: rgba(148, 163, 184, 0.14);
  color: #94a3b8;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.erp-rambursuri-curier-filters th {
  padding: 0.55rem 0.65rem !important;
  background: #1c2126 !important;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  border-bottom-color: rgba(148, 163, 184, 0.12) !important;
}

.erp-rambursuri-curier-filters .form-control {
  min-height: 32px;
  padding: 0.28rem 0.55rem;
  border-radius: var(--erp-radius-sm);
  font-size: 0.76rem;
  background: rgba(38, 44, 50, 0.94) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  color: #eef2f7 !important;
}

.erp-rambursuri-curier-filters .form-control::placeholder {
  color: #94a3b8;
}

.erp-rambursuri-curier-widget .card-body > .table-responsive,
.erp-rambursuri-curier-widget .table-responsive,
.erp-rambursuri-curier-widget .dataTables_wrapper,
.erp-rambursuri-curier-widget table.dataTable,
.erp-rambursuri-curier-widget table.dataTable.no-footer,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.erp-rambursuri-shell .erp-rambursuri-curier-table tbody td {
  padding: 0.9rem 0.95rem;
  background: rgba(38, 44, 50, 0.96);
  border-top-color: rgba(148, 163, 184, 0.08);
  vertical-align: middle;
}

.erp-rambursuri-shell .erp-rambursuri-curier-table tbody tr:nth-child(even) td {
  background: rgba(28, 33, 38, 0.96);
}

.erp-rambursuri-shell .erp-rambursuri-curier-table tbody tr {
  transition: background-color 0.18s ease;
}

.erp-rambursuri-shell .erp-rambursuri-curier-table tbody tr:hover td {
  background: rgba(71, 85, 105, 0.16);
}

.erp-rambursuri-shell .erp-rambursuri-curier-table tbody tr.is-mismatch td {
  background: rgba(120, 53, 15, 0.18);
}

.erp-rambursuri-shell .erp-rambursuri-curier-table tbody tr.is-mismatch:hover td {
  background: rgba(146, 64, 14, 0.24);
}

.erp-rambursuri-curier-id-text,
.erp-rambursuri-curier-status-text,
.erp-rambursuri-curier-op-text,
.erp-rambursuri-curier-warning-text {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  font-size: 0.78rem;
  line-height: 1.3;
}

.erp-rambursuri-curier-id-text {
  color: #d6dde5;
  font-weight: 600;
}

.erp-rambursuri-curier-order-number {
  color: #f8fafc;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.erp-rambursuri-curier-date,
.erp-rambursuri-curier-awb {
  color: #dbe5ef;
}

.erp-rambursuri-curier-awb {
  font-family: "Segoe UI", sans-serif !important;
  font-size: 0.81rem;
  font-weight: 700;
}

.erp-rambursuri-curier-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 0.42rem;
  color: #f8fafc;
  font-weight: 600;
}

.erp-rambursuri-curier-table td.text-end .erp-rambursuri-curier-amount {
  justify-content: flex-end;
}

.erp-rambursuri-curier-amount.is-warning {
  color: #fbbf24;
}

.erp-rambursuri-curier-amount-value {
  font-size: 0.92rem;
}

.erp-rambursuri-curier-amount-currency {
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.erp-rambursuri-curier-warning-text {
  margin-top: 0.42rem;
  color: #d6dde5;
  font-size: 0.74rem;
  font-weight: 600;
}

.erp-rambursuri-curier-status-text {
  color: #d6dde5;
  font-weight: 600;
}

.erp-rambursuri-curier-op-text {
  font-weight: 400;
}

.erp-rambursuri-curier-op-text.is-pending {
  color: #fde68a !important;
}

.erp-rambursuri-curier-op-text.is-done {
  color: #86efac !important;
}

.erp-rambursuri-curier-op-text.is-warning {
  color: #facc15 !important;
}

.erp-rambursuri-curier-status-badge {
  min-height: 28px;
  padding: 0.34rem 0.65rem;
  border: 1px solid transparent;
  border-radius: var(--erp-radius-sm);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1;
}

.erp-rambursuri-curier-status-badge.is-success-light {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(74, 222, 128, 0.24);
  color: #bbf7d0;
}

.erp-rambursuri-curier-status-badge.is-warning-light {
  background: rgba(250, 204, 21, 0.16);
  border-color: rgba(250, 204, 21, 0.24);
  color: #fde68a;
}

.erp-rambursuri-curier-status-badge.is-neutral {
  background: rgba(148, 163, 184, 0.14);
  border-color: rgba(148, 163, 184, 0.2);
  color: #dbe4ee;
}

.erp-rambursuri-curier-doc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  max-width: 100%;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.erp-rambursuri-curier-doc.is-aviz {
  color: #fde68a;
}

.erp-rambursuri-curier-doc.is-factura {
  color: #bbf7d0;
}

.erp-rambursuri-curier-doc-kind {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.erp-rambursuri-curier-doc-ref {
  overflow: hidden;
  max-width: 92px;
  text-overflow: ellipsis;
}

.erp-rambursuri-curier-doc-pdf {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  padding: 0;
}

.erp-rambursuri-curier-doc-empty {
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 600;
}

.erp-rambursuri-curier-operation-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.46rem;
}

.erp-rambursuri-curier-mismatch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: var(--erp-radius-sm);
  background: rgba(245, 158, 11, 0.14);
  color: #fde68a;
  cursor: help;
}

.erp-rambursuri-curier-widget .form-check-input {
  background-color: rgba(15, 23, 42, 0.46);
  border-color: rgba(148, 163, 184, 0.28);
}

.erp-rambursuri-curier-widget .form-check-input:checked {
  background-color: #6b7280;
  border-color: #6b7280;
}

.erp-rambursuri-upload-widget .card-header {
  border-bottom-color: rgba(148, 163, 184, 0.1);
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.94), rgba(23, 31, 40, 0.92));
}

.erp-rambursuri-upload-widget {
  position: relative;
}

.erp-rambursuri-upload-widget-title {
  font-size: calc(0.95rem - 1px);
  font-weight: 400;
}

.erp-rambursuri-upload-widget-subtitle {
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1.45;
}

.erp-rambursuri-period-filter {
  min-width: 168px;
  background: transparent !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #cbd5e1 !important;
}

.erp-rambursuri-show-all-switch.form-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 32px;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--erp-radius-sm);
  background: transparent;
  color: #cbd5e1;
  font-size: 0.79rem;
  line-height: 1;
  white-space: nowrap;
}

.erp-rambursuri-show-all-switch .form-check-input {
  width: 2.15rem;
  height: 1.12rem;
  margin: 0;
  border-color: rgba(148, 163, 184, 0.34);
  background-color: rgba(15, 23, 42, 0.34);
  box-shadow: none !important;
  cursor: pointer;
}

.erp-rambursuri-show-all-switch .form-check-input:checked {
  background-color: #6b7280;
  border-color: #6b7280;
}

.erp-rambursuri-show-all-switch .form-check-input:focus {
  border-color: rgba(148, 163, 184, 0.45);
  box-shadow: none !important;
}

.erp-rambursuri-show-all-switch .form-check-label {
  cursor: pointer;
}

.erp-rambursuri-upload-stat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--erp-radius-sm);
  background: transparent;
  color: #cbd5e1;
  font-size: 0.79rem;
  line-height: 1;
  white-space: nowrap;
}

.erp-rambursuri-upload-widget .card-body {
  padding: 0 !important;
}

.erp-rambursuri-upload-widget .erp-widget-empty,
.erp-rambursuri-upload-widget .erp-widget-loading,
.erp-rambursuri-upload-widget .erp-widget-error {
  min-height: 132px;
}

.erp-rambursuri-upload-table thead th {
  white-space: nowrap;
}

.erp-rambursuri-upload-table tbody td {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  background: rgba(36, 44, 52, 0.96);
  border-top-color: rgba(148, 163, 184, 0.08);
  transition: background-color 0.16s ease;
}

.erp-rambursuri-upload-table tbody tr:nth-child(even) td {
  background: rgba(31, 38, 46, 0.96);
}

.erp-rambursuri-upload-table tbody tr:hover td {
  background: rgba(71, 85, 105, 0.16);
}

.erp-rambursuri-upload-meta {
  min-width: 0;
}

.erp-rambursuri-upload-datetime {
  line-height: 1.45;
}

.erp-rambursuri-upload-datetime-date {
  font-weight: 700;
}

.erp-rambursuri-upload-table .btn {
  min-width: 68px;
}

.erp-rambursuri-upload-pill,
.erp-rambursuri-preview-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 32px;
  padding: 0.35rem 0.72rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--erp-radius-sm);
  background: rgba(51, 65, 85, 0.22);
  color: #dbe4ee;
  font-size: 0.79rem;
  line-height: 1;
  white-space: nowrap;
}

.erp-rambursuri-upload-pill.is-dark {
  background: rgba(28, 33, 38, 0.92);
  border-color: rgba(148, 163, 184, 0.26);
  color: #f8fafc;
}

.erp-rambursuri-upload-pill.is-muted,
.erp-rambursuri-preview-pill.is-muted {
  background: rgba(51, 65, 85, 0.24);
  border-color: rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
}

.erp-rambursuri-upload-pill.is-success,
.erp-rambursuri-preview-pill.is-success {
  background: rgba(71, 85, 105, 0.22);
  border-color: rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
}

.erp-rambursuri-upload-pill.is-warning,
.erp-rambursuri-preview-pill.is-warning {
  background: rgba(71, 85, 105, 0.18);
  border-color: rgba(148, 163, 184, 0.2);
  color: #d6dde5;
}

.erp-rambursuri-upload-pill.is-success-light {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(74, 222, 128, 0.24);
  color: #bbf7d0;
}

.erp-rambursuri-upload-pill.is-warning-light {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(251, 191, 36, 0.24);
  color: #fde68a;
}

.erp-rambursuri-upload-pill.is-danger-light {
  background: rgba(248, 113, 113, 0.14);
  border-color: rgba(248, 113, 113, 0.22);
  color: #fecaca;
}

.erp-rambursuri-preview-pill.is-danger {
  background: rgba(248, 113, 113, 0.14);
  border-color: rgba(248, 113, 113, 0.22);
  color: #fca5a5;
}

.erp-rambursuri-preview-pill.is-info {
  background: rgba(71, 85, 105, 0.2);
  border-color: rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
}

.erp-rambursuri-preview-pill.is-success-light,
.erp-rambursuri-preview-value.is-success-light {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(74, 222, 128, 0.24);
  color: #bbf7d0;
}

.erp-rambursuri-preview-pill.is-danger-light,
.erp-rambursuri-preview-value.is-danger-light {
  background: rgba(248, 113, 113, 0.14);
  border-color: rgba(248, 113, 113, 0.22);
  color: #fecaca;
}

.erp-rambursuri-preview-pill.is-warning-light,
.erp-rambursuri-preview-value.is-warning-light {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(251, 191, 36, 0.24);
  color: #fde68a;
}

.erp-rambursuri-preview-pill.is-success-text {
  color: #bbf7d0;
}

.erp-rambursuri-action-btn,
.erp-rambursuri-upload-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 38px;
  border-radius: var(--erp-radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.erp-rambursuri-action-btn:hover,
.erp-rambursuri-upload-action:hover,
.erp-rambursuri-action-btn:focus,
.erp-rambursuri-upload-action:focus {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.18);
}

.erp-rambursuri-action-btn.is-submit {
  background: #343a40;
  border-color: rgba(148, 163, 184, 0.18);
  color: #f8fafc;
}

.erp-rambursuri-action-btn.is-submit:hover,
.erp-rambursuri-action-btn.is-submit:focus {
  background: #3b4148;
  color: #ffffff;
}

.erp-rambursuri-action-btn.is-process {
  background: #343a40;
  border-color: rgba(148, 163, 184, 0.18);
  color: #f8fafc;
}

.erp-rambursuri-action-btn.is-process:hover,
.erp-rambursuri-action-btn.is-process:focus {
  background: #3b4148;
  color: #ffffff;
}

.erp-rambursuri-upload-action {
  min-height: 34px;
  padding-inline: 0.9rem;
}

.erp-rambursuri-upload-widget .erp-rambursuri-upload-action.is-preview {
  background: #0dcaf0;
  border-color: #0dcaf0;
  color: #ffffff;
  transform: none !important;
  box-shadow: none !important;
}

.erp-rambursuri-upload-widget .erp-rambursuri-upload-action.is-preview:hover,
.erp-rambursuri-upload-widget .erp-rambursuri-upload-action.is-preview:focus {
  background: #31d2f2;
  border-color: #25cff2;
  color: #ffffff;
  transform: none !important;
  box-shadow: none !important;
}

.erp-rambursuri-upload-widget .erp-rambursuri-upload-action.is-preview:active {
  background: #3dd5f3;
  border-color: #25cff2;
  color: #ffffff;
  transform: none !important;
  box-shadow: none !important;
}

.erp-rambursuri-upload-action.is-delete {
  width: 34px;
  min-width: 34px;
  padding-inline: 0;
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(248, 113, 113, 0.22);
  color: #fecaca;
}

.erp-rambursuri-upload-action.is-delete i {
  font-size: 0.92rem;
  line-height: 1;
}

.erp-rambursuri-upload-action.is-delete:hover,
.erp-rambursuri-upload-action.is-delete:focus {
  background: rgba(239, 68, 68, 0.16);
  color: #fff1f2;
}

.erp-rambursuri-preview-widget {
  position: relative;
}

.erp-rambursuri-preview-heading-line {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
  line-height: 1.25;
}

.erp-rambursuri-preview-eyebrow {
  color: #94a3b8;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
}

.erp-rambursuri-preview-heading-line .card-title {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
}

.erp-rambursuri-preview-refresh {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--erp-radius-sm);
  background: rgba(51, 65, 85, 0.18);
  color: #e2e8f0;
  box-shadow: none;
  outline: none;
}

.erp-rambursuri-preview-refresh:hover,
.erp-rambursuri-preview-refresh:focus {
  background: rgba(71, 85, 105, 0.24);
  border-color: rgba(148, 163, 184, 0.32);
  color: #ffffff;
  box-shadow: none;
}

.erp-rambursuri-preview-refresh i {
  font-size: 1rem;
  line-height: 1;
}

.erp-rambursuri-preview-subtitle {
  margin-top: 0.35rem;
  color: #94a3b8;
  font-size: 0.86rem;
}

.erp-rambursuri-preview-table thead th {
  white-space: nowrap;
}

.erp-rambursuri-preview-table tbody td {
  padding-top: 0.88rem;
  padding-bottom: 0.88rem;
  background: rgba(36, 44, 52, 0.98);
  border-top-color: rgba(148, 163, 184, 0.08);
  transition: background-color 0.16s ease;
}

.erp-rambursuri-preview-table tbody tr:nth-child(even) td {
  background: rgba(31, 38, 46, 0.98);
}

.erp-rambursuri-preview-table tbody tr:hover td {
  background: rgba(71, 85, 105, 0.16);
}

.erp-rambursuri-preview-awb,
.erp-rambursuri-preview-ref,
.erp-rambursuri-preview-order,
.erp-rambursuri-preview-date,
.erp-rambursuri-preview-file-amount {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.72rem;
  border-radius: var(--erp-radius-sm);
  background: rgba(51, 65, 85, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #e5edf5;
  font-weight: 600;
}

.erp-rambursuri-preview-file-amount {
  justify-content: flex-end;
  text-align: right;
}

.erp-rambursuri-preview-date {
  color: #cbd5e1;
}

.erp-rambursuri-preview-ref,
.erp-rambursuri-preview-order {
  color: #dbe4ee;
}

.erp-rambursuri-preview-value {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.72rem;
  border-radius: var(--erp-radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(51, 65, 85, 0.18);
  color: #cbd5e1;
  font-weight: 600;
}

.erp-rambursuri-preview-value.is-match {
  background: rgba(71, 85, 105, 0.2);
  border-color: rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
}

.erp-rambursuri-preview-value.is-mismatch {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.22);
  color: #fca5a5;
}

.erp-rambursuri-preview-value.is-warning {
  background: rgba(71, 85, 105, 0.18);
  border-color: rgba(148, 163, 184, 0.2);
  color: #d6dde5;
}

.erp-rambursuri-preview-value.is-muted {
  background: rgba(51, 65, 85, 0.24);
  border-color: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
}

.erp-rambursuri-preview-value.is-total {
  background: rgba(15, 23, 42, 0.36);
  border-color: rgba(148, 163, 184, 0.18);
  color: #f8fafc;
}

.erp-rambursuri-preview-text,
.erp-rambursuri-preview-amount-text {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #dbe4ee;
  font-weight: 500;
  line-height: 1.35;
}

.erp-rambursuri-preview-text.is-strong {
  color: #f1f5f9;
  font-weight: 700;
}

.erp-rambursuri-preview-amount-text {
  font-weight: 700;
}

.erp-rambursuri-preview-amount-text.is-success-light {
  color: #bbf7d0;
}

.erp-rambursuri-preview-amount-text.is-danger-light {
  color: #fecaca;
}

.erp-rambursuri-preview-totals-row td {
  background: rgba(17, 24, 39, 0.92) !important;
}

.erp-rambursuri-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top-color: rgba(148, 163, 184, 0.1);
  background: rgba(17, 24, 39, 0.76);
}

.erp-rambursuri-preview-action-row {
  display: flex;
  justify-content: center;
  width: 100%;
}

.erp-rambursuri-preview-action-row .erp-rambursuri-process-btn.btn-success,
.erp-rambursuri-preview-action-row .erp-rambursuri-process-btn--success {
  background: #198754;
  border-color: #198754;
  color: #ffffff;
  box-shadow: none;
  transform: none;
}

.erp-rambursuri-preview-action-row .erp-rambursuri-process-btn.btn-success:hover,
.erp-rambursuri-preview-action-row .erp-rambursuri-process-btn.btn-success:focus,
.erp-rambursuri-preview-action-row .erp-rambursuri-process-btn.btn-success:active,
.erp-rambursuri-preview-action-row .erp-rambursuri-process-btn--success:hover,
.erp-rambursuri-preview-action-row .erp-rambursuri-process-btn--success:focus,
.erp-rambursuri-preview-action-row .erp-rambursuri-process-btn--success:active {
  background: #157347;
  border-color: #146c43;
  color: #ffffff;
  box-shadow: none;
  transform: none;
}

.erp-rambursuri-preview-note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.8rem;
  border-radius: var(--erp-radius);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-weight: 600;
}

.erp-rambursuri-preview-note.is-info {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}

.erp-rambursuri-preview-note.is-danger {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.22);
  color: #fecaca;
}

.erp-rambursuri-shell .table thead th {
  background: #1c2126;
  color: #d6dde5;
  border-bottom-color: rgba(148, 163, 184, 0.14);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
}

.erp-rambursuri-shell .table tbody td {
  background: #262c32;
  border-top-color: rgba(148, 163, 184, 0.08);
  vertical-align: middle;
}

.erp-rambursuri-shell .form-control,
.erp-rambursuri-shell .form-select {
  background: #1c2126;
  border-color: rgba(148, 163, 184, 0.22);
  color: #f8fafc;
}

.erp-rambursuri-shell .form-control:focus,
.erp-rambursuri-shell .form-select:focus {
  background: #1c2126;
  color: #ffffff;
  border-color: rgba(148, 163, 184, 0.32);
  box-shadow: 0 0 0 0.16rem rgba(148, 163, 184, 0.12);
}

.erp-rambursuri-shell .text-muted {
  color: #94a3b8 !important;
}

.erp-rambursuri-shell .border-secondary {
  border-color: rgba(148, 163, 184, 0.24) !important;
}

.erp-rambursuri-shell .modal-fill .modal-dialog {
  max-width: min(1120px, calc(100vw - 1.5rem));
  margin: 1rem auto;
}

.erp-rambursuri-shell .modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.erp-rambursuri-shell .modal-body {
  padding: 1rem;
}

.erp-rambursuri-shell .erp-rambursuri-editable-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #e5ebf2;
  text-decoration: none;
  cursor: pointer;
}

.erp-rambursuri-shell .erp-rambursuri-editable-trigger:hover,
.erp-rambursuri-shell .erp-rambursuri-editable-trigger:focus {
  color: #ffffff;
}

.erp-rambursuri-shell .erp-rambursuri-inline-select {
  min-width: 230px;
  background: #1c2126;
  border-color: rgba(148, 163, 184, 0.22);
  color: #f8fafc;
}

.erp-rambursuri-shell .dataTables_wrapper .dataTables_filter input,
.erp-rambursuri-shell .dataTables_wrapper .dataTables_length select {
  background: #1c2126;
  border-color: rgba(148, 163, 184, 0.22);
  color: #f8fafc;
}

[data-bs-theme="light"] .erp-rambursuri-shell .erp-rambursuri-editable-trigger {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-upload-heading h2 {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-upload-widget-subtitle {
  color: #64748b;
}

[data-bs-theme="light"] .erp-rambursuri-period-filter,
[data-bs-theme="light"] .erp-rambursuri-show-all-switch,
[data-bs-theme="light"] .erp-rambursuri-upload-stat {
  color: #64748b !important;
  border-color: rgba(148, 163, 184, 0.3) !important;
}

[data-bs-theme="light"] .erp-rambursuri-show-all-switch .form-check-input {
  background-color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.42);
}

[data-bs-theme="light"] .erp-rambursuri-show-all-switch .form-check-input:checked {
  background-color: #6b7280;
  border-color: #6b7280;
}

[data-bs-theme="light"] .erp-rambursuri-upload-widget .card-header,
[data-bs-theme="light"] .erp-rambursuri-preview-widget .card-header {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.98), rgba(255, 255, 255, 0.96));
}

[data-bs-theme="light"] .erp-rambursuri-upload-table tbody td,
[data-bs-theme="light"] .erp-rambursuri-preview-table tbody td {
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  border-top-color: rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] .erp-rambursuri-upload-table tbody tr:nth-child(even) td,
[data-bs-theme="light"] .erp-rambursuri-preview-table tbody tr:nth-child(even) td {
  background: #f8fafc;
}

[data-bs-theme="light"] .erp-rambursuri-upload-table tbody tr:hover td,
[data-bs-theme="light"] .erp-rambursuri-preview-table tbody tr:hover td {
  background: rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] .erp-rambursuri-upload-pill,
[data-bs-theme="light"] .erp-rambursuri-preview-pill {
  background: rgba(248, 250, 252, 0.94);
  border-color: rgba(148, 163, 184, 0.22);
  color: #334155;
}

[data-bs-theme="light"] .erp-rambursuri-upload-pill.is-dark {
  background: rgba(226, 232, 240, 0.9);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-upload-pill.is-muted,
[data-bs-theme="light"] .erp-rambursuri-preview-pill.is-muted {
  color: #64748b;
}

[data-bs-theme="light"] .erp-rambursuri-upload-pill.is-success,
[data-bs-theme="light"] .erp-rambursuri-preview-pill.is-success {
  background: rgba(226, 232, 240, 0.96);
  border-color: rgba(148, 163, 184, 0.24);
  color: #334155;
}

[data-bs-theme="light"] .erp-rambursuri-upload-pill.is-warning,
[data-bs-theme="light"] .erp-rambursuri-preview-pill.is-warning {
  background: rgba(241, 245, 249, 0.96);
  border-color: rgba(148, 163, 184, 0.24);
  color: #475569;
}

[data-bs-theme="light"] .erp-rambursuri-upload-pill.is-success-light {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.22);
  color: #15803d;
}

[data-bs-theme="light"] .erp-rambursuri-upload-pill.is-warning-light {
  background: rgba(254, 243, 199, 0.96);
  border-color: rgba(245, 158, 11, 0.28);
  color: #92400e;
}

[data-bs-theme="light"] .erp-rambursuri-upload-pill.is-danger-light {
  background: rgba(254, 226, 226, 0.92);
  border-color: rgba(248, 113, 113, 0.24);
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-rambursuri-preview-pill.is-danger {
  background: rgba(254, 242, 242, 0.96);
  border-color: rgba(252, 165, 165, 0.34);
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-rambursuri-preview-pill.is-info {
  background: rgba(241, 245, 249, 0.96);
  border-color: rgba(148, 163, 184, 0.22);
  color: #334155;
}

[data-bs-theme="light"] .erp-rambursuri-preview-pill.is-success-light,
[data-bs-theme="light"] .erp-rambursuri-preview-value.is-success-light {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.22);
  color: #15803d;
}

[data-bs-theme="light"] .erp-rambursuri-preview-pill.is-danger-light,
[data-bs-theme="light"] .erp-rambursuri-preview-value.is-danger-light {
  background: rgba(254, 226, 226, 0.92);
  border-color: rgba(248, 113, 113, 0.24);
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-rambursuri-preview-pill.is-warning-light,
[data-bs-theme="light"] .erp-rambursuri-preview-value.is-warning-light {
  background: rgba(254, 243, 199, 0.96);
  border-color: rgba(245, 158, 11, 0.28);
  color: #92400e;
}

[data-bs-theme="light"] .erp-rambursuri-preview-pill.is-success-text {
  color: #15803d;
}

[data-bs-theme="light"] .erp-rambursuri-action-btn.is-submit {
  background: #343a40;
  color: #f8fafc;
}

[data-bs-theme="light"] .erp-rambursuri-action-btn.is-submit:hover,
[data-bs-theme="light"] .erp-rambursuri-action-btn.is-submit:focus {
  background: #3b4148;
}

[data-bs-theme="light"] .erp-rambursuri-upload-widget .erp-rambursuri-upload-action.is-preview {
  background: #0dcaf0;
  border-color: #0dcaf0;
  color: #ffffff;
  transform: none !important;
  box-shadow: none !important;
}

[data-bs-theme="light"] .erp-rambursuri-upload-widget .erp-rambursuri-upload-action.is-preview:hover,
[data-bs-theme="light"] .erp-rambursuri-upload-widget .erp-rambursuri-upload-action.is-preview:focus {
  background: #31d2f2;
  border-color: #25cff2;
  color: #ffffff;
  transform: none !important;
  box-shadow: none !important;
}

[data-bs-theme="light"] .erp-rambursuri-upload-widget .erp-rambursuri-upload-action.is-preview:active {
  background: #3dd5f3;
  border-color: #25cff2;
  color: #ffffff;
  transform: none !important;
  box-shadow: none !important;
}

[data-bs-theme="light"] .erp-rambursuri-upload-action.is-delete {
  background: rgba(254, 242, 242, 0.96);
  border-color: rgba(252, 165, 165, 0.32);
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-rambursuri-preview-subtitle {
  color: #64748b;
}

[data-bs-theme="light"] .erp-rambursuri-preview-refresh {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(148, 163, 184, 0.28);
  color: #334155;
}

[data-bs-theme="light"] .erp-rambursuri-preview-refresh:hover,
[data-bs-theme="light"] .erp-rambursuri-preview-refresh:focus {
  background: rgba(226, 232, 240, 0.96);
  border-color: rgba(148, 163, 184, 0.34);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-preview-awb,
[data-bs-theme="light"] .erp-rambursuri-preview-ref,
[data-bs-theme="light"] .erp-rambursuri-preview-order,
[data-bs-theme="light"] .erp-rambursuri-preview-date,
[data-bs-theme="light"] .erp-rambursuri-preview-file-amount,
[data-bs-theme="light"] .erp-rambursuri-preview-value {
  background: rgba(248, 250, 252, 0.98);
  border-color: rgba(148, 163, 184, 0.18);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-preview-value.is-match {
  background: rgba(226, 232, 240, 0.96);
  border-color: rgba(148, 163, 184, 0.24);
  color: #334155;
}

[data-bs-theme="light"] .erp-rambursuri-preview-value.is-mismatch {
  background: rgba(254, 242, 242, 0.96);
  border-color: rgba(252, 165, 165, 0.34);
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-rambursuri-preview-value.is-warning {
  background: rgba(241, 245, 249, 0.96);
  border-color: rgba(148, 163, 184, 0.24);
  color: #475569;
}

[data-bs-theme="light"] .erp-rambursuri-preview-value.is-muted {
  color: #64748b;
}

[data-bs-theme="light"] .erp-rambursuri-preview-value.is-total {
  background: rgba(226, 232, 240, 0.96);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-preview-text,
[data-bs-theme="light"] .erp-rambursuri-preview-amount-text {
  color: #334155;
}

[data-bs-theme="light"] .erp-rambursuri-preview-text.is-strong {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-preview-amount-text.is-success-light {
  color: #15803d;
}

[data-bs-theme="light"] .erp-rambursuri-preview-amount-text.is-danger-light {
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-rambursuri-preview-totals-row td {
  background: #e2e8f0 !important;
}

[data-bs-theme="light"] .erp-rambursuri-preview-footer {
  background: rgba(248, 250, 252, 0.96);
  border-top-color: rgba(148, 163, 184, 0.14);
}

[data-bs-theme="light"] .erp-rambursuri-preview-note.is-info {
  background: rgba(241, 245, 249, 0.98);
  color: #334155;
}

[data-bs-theme="light"] .erp-rambursuri-preview-note.is-danger {
  background: rgba(254, 242, 242, 0.98);
  color: #b91c1c;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget-subtitle {
  color: #64748b;
}

[data-bs-theme="light"] .erp-rambursuri-kpi-item {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-rambursuri-kpi-label {
  color: #334155;
}

[data-bs-theme="light"] .erp-rambursuri-kpi-value {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .card-header {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.95), rgba(255, 255, 255, 0.92));
}

[data-bs-theme="light"] .erp-rambursuri-date-trigger {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.26);
}

[data-bs-theme="light"] .erp-rambursuri-date-trigger:hover,
[data-bs-theme="light"] .erp-rambursuri-date-trigger:focus {
  background: #f8fafc;
  color: #0f172a;
  border-color: rgba(100, 116, 139, 0.32);
}

[data-bs-theme="light"] .erp-rambursuri-date-trigger-icon {
  background: rgba(148, 163, 184, 0.18);
  color: #334155;
}

[data-bs-theme="light"] .erp-rambursuri-date-popover {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
}

[data-bs-theme="light"] .erp-rambursuri-date-label {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-date-nav {
  background: rgba(226, 232, 240, 0.9);
  border-color: rgba(148, 163, 184, 0.22);
  color: #475569;
}

[data-bs-theme="light"] .erp-rambursuri-date-nav:hover,
[data-bs-theme="light"] .erp-rambursuri-date-nav:focus {
  background: rgba(203, 213, 225, 0.9);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-date-weekdays span {
  color: #64748b;
}

[data-bs-theme="light"] .erp-rambursuri-date-day {
  background: rgba(241, 245, 249, 0.9);
  border-color: rgba(148, 163, 184, 0.14);
  color: #334155;
}

[data-bs-theme="light"] .erp-rambursuri-date-day:hover,
[data-bs-theme="light"] .erp-rambursuri-date-day:focus {
  background: rgba(226, 232, 240, 0.92);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-date-day.is-outside {
  color: #94a3b8;
}

[data-bs-theme="light"] .erp-rambursuri-date-day.is-today {
  border-color: rgba(100, 116, 139, 0.26);
}

[data-bs-theme="light"] .erp-rambursuri-date-day.is-selected {
  background: rgba(203, 213, 225, 0.9);
  border-color: rgba(100, 116, 139, 0.24);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-date-trigger {
  background: #1c2126;
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="light"] .erp-date-trigger:hover,
[data-bs-theme="light"] .erp-date-trigger:focus {
  background: #232a31;
  color: #ffffff;
  border-color: rgba(148, 163, 184, 0.32);
}

[data-bs-theme="light"] .erp-date-trigger-value {
  color: #f8fafc;
}

[data-bs-theme="light"] .erp-date-trigger-icon {
  background: rgba(148, 163, 184, 0.18);
  color: #f8fafc;
}

[data-bs-theme="light"] .erp-date-popover {
  background: #1c2126;
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.28);
}

[data-bs-theme="light"] .erp-date-label {
  color: #eef2f7;
}

[data-bs-theme="light"] .erp-date-nav {
  background: rgba(51, 65, 85, 0.2);
  border-color: rgba(148, 163, 184, 0.18);
  color: #e5ebf2;
}

[data-bs-theme="light"] .erp-date-nav:hover,
[data-bs-theme="light"] .erp-date-nav:focus {
  background: rgba(71, 85, 105, 0.3);
  color: #ffffff;
}

[data-bs-theme="light"] .erp-date-weekdays span {
  color: #94a3b8;
}

[data-bs-theme="light"] .erp-date-day {
  background: rgba(51, 65, 85, 0.14);
  border-color: rgba(148, 163, 184, 0.12);
  color: #e5ebf2;
}

[data-bs-theme="light"] .erp-date-day:hover,
[data-bs-theme="light"] .erp-date-day:focus {
  background: rgba(100, 116, 139, 0.22);
  color: #ffffff;
}

[data-bs-theme="light"] .erp-date-day.is-outside {
  color: #64748b;
}

[data-bs-theme="light"] .erp-date-day.is-today {
  border-color: rgba(148, 163, 184, 0.28);
}

[data-bs-theme="light"] .erp-date-day.is-selected {
  background: rgba(148, 163, 184, 0.28);
  border-color: rgba(148, 163, 184, 0.32);
  color: #ffffff;
}

[data-bs-theme="light"] .erp-rambursuri-curier-search-wrap {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.24);
}

[data-bs-theme="light"] .erp-rambursuri-curier-search-wrap .form-control {
  color: #0f172a !important;
}

[data-bs-theme="light"] .erp-rambursuri-curier-table-wrap {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-rambursuri-shell .erp-rambursuri-curier-table thead th {
  background: #f8fafc;
  color: #64748b;
  border-top-color: rgba(148, 163, 184, 0.16);
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-rambursuri-shell .erp-rambursuri-curier-table tbody td {
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  border-top-color: rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] .erp-rambursuri-shell .erp-rambursuri-curier-table tbody tr:nth-child(even) td {
  background: #f8fafc;
}

[data-bs-theme="light"] .erp-rambursuri-shell .erp-rambursuri-curier-table tbody tr:hover td {
  background: rgba(148, 163, 184, 0.12);
}

[data-bs-theme="light"] .erp-rambursuri-shell .erp-rambursuri-curier-table tbody tr.is-mismatch td {
  background: rgba(254, 243, 199, 0.82);
}

[data-bs-theme="light"] .erp-rambursuri-shell .erp-rambursuri-curier-table tbody tr.is-mismatch:hover td {
  background: rgba(253, 230, 138, 0.78);
}

[data-bs-theme="light"] .erp-rambursuri-curier-filters th {
  background: #f3f4f6 !important;
  border-top-color: rgba(148, 163, 184, 0.14);
  border-bottom-color: rgba(148, 163, 184, 0.18) !important;
}

[data-bs-theme="light"] .erp-rambursuri-curier-filters .form-control {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
}

[data-bs-theme="light"] .erp-rambursuri-curier-filters .form-control::placeholder {
  color: #94a3b8;
}

[data-bs-theme="light"] .erp-rambursuri-curier-order-number,
[data-bs-theme="light"] .erp-rambursuri-curier-date,
[data-bs-theme="light"] .erp-rambursuri-curier-awb,
[data-bs-theme="light"] .erp-rambursuri-curier-amount {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-curier-amount-currency {
  color: #64748b;
}

[data-bs-theme="light"] .erp-rambursuri-curier-id-text,
[data-bs-theme="light"] .erp-rambursuri-curier-status-text,
[data-bs-theme="light"] .erp-rambursuri-curier-op-text,
[data-bs-theme="light"] .erp-rambursuri-curier-warning-text {
  color: #334155;
}

[data-bs-theme="light"] .erp-rambursuri-curier-op-text.is-pending {
  color: #a16207 !important;
}

[data-bs-theme="light"] .erp-rambursuri-curier-status-badge.is-success-light {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.22);
  color: #15803d;
}

[data-bs-theme="light"] .erp-rambursuri-curier-status-badge.is-warning-light {
  background: rgba(250, 204, 21, 0.18);
  border-color: rgba(250, 204, 21, 0.24);
  color: #a16207;
}

[data-bs-theme="light"] .erp-rambursuri-curier-status-badge.is-neutral {
  background: rgba(226, 232, 240, 0.9);
  border-color: rgba(148, 163, 184, 0.24);
  color: #475569;
}

[data-bs-theme="light"] .erp-rambursuri-curier-doc.is-aviz {
  color: #92400e;
}

[data-bs-theme="light"] .erp-rambursuri-curier-doc.is-factura {
  color: #15803d;
}

[data-bs-theme="light"] .erp-rambursuri-curier-doc-empty {
  color: #64748b;
}

[data-bs-theme="light"] .erp-rambursuri-curier-mismatch-icon {
  background: rgba(254, 243, 199, 0.96);
  border-color: rgba(245, 158, 11, 0.28);
  color: #92400e;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .form-check-input {
  background-color: #ffffff;
  border-color: rgba(148, 163, 184, 0.28);
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .form-check-input:checked {
  background-color: #6b7280;
  border-color: #6b7280;
}

[data-bs-theme="light"] .erp-rambursuri-section-loader {
  background: rgba(241, 245, 249, 0.7);
}

[data-bs-theme="light"] .erp-rambursuri-section-loader .erp-widget-loading {
  background: #ffffff !important;
  border-color: rgba(148, 163, 184, 0.28);
  color: #0f172a !important;
}

[data-bs-theme="light"] .erp-rambursuri-loader-box {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.28);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-loader-spinner {
  border-color: rgba(15, 23, 42, 0.18);
  border-top-color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-shell .erp-rambursuri-editable-trigger:hover,
[data-bs-theme="light"] .erp-rambursuri-shell .erp-rambursuri-editable-trigger:focus {
  color: #111827;
}

[data-bs-theme="light"] .erp-rambursuri-shell .erp-rambursuri-inline-select,
[data-bs-theme="light"] .erp-rambursuri-shell .dataTables_wrapper .dataTables_filter input,
[data-bs-theme="light"] .erp-rambursuri-shell .dataTables_wrapper .dataTables_length select {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.24);
}

.erp-rambursuri-curier-widget .erp-table-card-body,
.erp-rambursuri-curier-widget .dataTables_wrapper,
.erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_info,
.erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_length,
.erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_filter,
.erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_paginate,
.erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_processing {
  color: #cfd6de;
}

.erp-rambursuri-curier-widget .erp-rambursuri-curier-search-wrap,
.erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_length select,
.erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_filter input {
  border-color: rgba(148, 163, 184, 0.2) !important;
}

.erp-rambursuri-curier-widget .erp-rambursuri-curier-search-wrap:focus-within,
.erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_length select:focus,
.erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_filter input:focus,
.erp-rambursuri-curier-widget .form-check-input:focus {
  border-color: rgba(148, 163, 184, 0.34) !important;
  box-shadow: 0 0 0 0.14rem rgba(148, 163, 184, 0.14) !important;
  outline: 0;
}

.erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #e5ebf2 !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
}

.erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: #f8fafc !important;
  background: rgba(148, 163, 184, 0.18) !important;
  border-color: rgba(148, 163, 184, 0.26) !important;
}

.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.no-footer {
  border-bottom: 0 !important;
}

.erp-rambursuri-curier-widget .erp-rambursuri-curier-table thead th,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable thead th,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable thead td {
  background: #1c2126 !important;
  color: #9aa6b2 !important;
  border-color: rgba(148, 163, 184, 0.14) !important;
}

.erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody td,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable tbody td {
  background: rgba(38, 44, 50, 0.96) !important;
  color: #e5ebf2 !important;
  border-color: rgba(148, 163, 184, 0.08) !important;
  box-shadow: none !important;
}

.erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody tr:nth-child(even) td,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.display tbody tr.even > .sorting_1,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
  background: rgba(28, 33, 38, 0.96) !important;
}

.erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody tr:nth-child(odd) td,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.display tbody tr.odd > .sorting_1,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
  background: rgba(38, 44, 50, 0.96) !important;
}

.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.hover tbody tr:hover > *,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.display tbody tr:hover > *,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table-hover > tbody > tr:hover > *,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody tr:hover td {
  background: rgba(100, 116, 139, 0.16) !important;
  color: #f8fafc !important;
  --bs-table-accent-bg: rgba(100, 116, 139, 0.16) !important;
}

.erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody tr.is-mismatch td,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.display tbody tr.is-mismatch > .sorting_1,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.order-column.stripe tbody tr.is-mismatch > .sorting_1 {
  background: rgba(71, 85, 105, 0.22) !important;
}

.erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody tr.is-mismatch:hover td,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.display tbody tr.is-mismatch:hover > *,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.hover tbody tr.is-mismatch:hover > * {
  background: rgba(100, 116, 139, 0.24) !important;
  --bs-table-accent-bg: rgba(100, 116, 139, 0.24) !important;
}

.erp-rambursuri-curier-widget .erp-rambursuri-curier-amount.is-warning,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-warning-text {
  color: #d6dde5 !important;
}

.erp-rambursuri-curier-widget table.dataTable th.focus,
.erp-rambursuri-curier-widget table.dataTable td.focus {
  outline: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18) !important;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-table-card-body,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .dataTables_wrapper,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_info,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_length,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_filter,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_paginate,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_processing {
  color: #475569;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-search-wrap:focus-within,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_length select:focus,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_filter input:focus,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .form-check-input:focus {
  border-color: rgba(148, 163, 184, 0.34) !important;
  box-shadow: 0 0 0 0.14rem rgba(148, 163, 184, 0.12) !important;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #475569 !important;
  background: #ffffff !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_paginate .paginate_button.current,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: #0f172a !important;
  background: #e5e7eb !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table thead th,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable thead th,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable thead td {
  background: #f3f4f6 !important;
  color: #6b7280 !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody td,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable tbody td {
  background: rgba(255, 255, 255, 0.97) !important;
  color: #111827 !important;
  border-color: rgba(148, 163, 184, 0.12) !important;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody tr:nth-child(even) td,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.display tbody tr.even > .sorting_1,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
  background: #f8fafc !important;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody tr:nth-child(odd) td,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.display tbody tr.odd > .sorting_1,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
  background: rgba(255, 255, 255, 0.97) !important;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.hover tbody tr:hover > *,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.display tbody tr:hover > *,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody tr:hover td {
  background: rgba(229, 231, 235, 0.86) !important;
  color: #111827 !important;
  --bs-table-accent-bg: rgba(229, 231, 235, 0.86) !important;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody tr.is-mismatch td,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.display tbody tr.is-mismatch > .sorting_1,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.order-column.stripe tbody tr.is-mismatch > .sorting_1 {
  background: rgba(226, 232, 240, 0.82) !important;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody tr.is-mismatch:hover td,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.display tbody tr.is-mismatch:hover > *,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.hover tbody tr.is-mismatch:hover > * {
  background: rgba(203, 213, 225, 0.9) !important;
  --bs-table-accent-bg: rgba(203, 213, 225, 0.9) !important;
}

.erp-rambursuri-curier-widget .erp-rambursuri-curier-table thead tr.erp-rambursuri-curier-filters th,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable thead tr.erp-rambursuri-curier-filters th,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable thead tr.erp-rambursuri-curier-filters td {
  padding: 0.55rem 0.65rem !important;
  background: #1c2126 !important;
  border-top: 1px solid rgba(148, 163, 184, 0.1) !important;
  border-bottom-color: rgba(148, 163, 184, 0.12) !important;
}

.erp-rambursuri-curier-widget .erp-rambursuri-curier-table thead tr.erp-rambursuri-curier-filters .form-control {
  min-height: 32px;
  padding: 0.28rem 0.55rem;
  border-radius: var(--erp-radius-sm);
  font-size: 0.76rem;
  background: rgba(38, 44, 50, 0.94) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  color: #eef2f7 !important;
}

.erp-rambursuri-curier-widget .erp-rambursuri-curier-table thead tr.erp-rambursuri-curier-filters .form-control::placeholder {
  color: #94a3b8;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table thead tr.erp-rambursuri-curier-filters th,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable thead tr.erp-rambursuri-curier-filters th,
[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable thead tr.erp-rambursuri-curier-filters td {
  background: #f3f4f6 !important;
  border-top-color: rgba(148, 163, 184, 0.14) !important;
  border-bottom-color: rgba(148, 163, 184, 0.18) !important;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table thead tr.erp-rambursuri-curier-filters .form-control {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
}

[data-bs-theme="light"] .erp-rambursuri-curier-widget .erp-rambursuri-curier-table thead tr.erp-rambursuri-curier-filters .form-control::placeholder {
  color: #94a3b8;
}

@media (max-width: 767.98px) {
  .erp-rambursuri-curier-widget-actions {
    width: 100%;
    flex-wrap: wrap !important;
    justify-content: flex-start;
  }

  .erp-rambursuri-curier-search-wrap {
    width: 100%;
    min-width: 0;
  }
}

.erp-coletarie-shell embed {
  width: 100%;
  min-height: 700px;
  border-radius: 12px;
  background: #ffffff;
}

.erp-rambursuri-shell embed {
  width: 100%;
  min-height: 700px;
  border-radius: 12px;
  background: #ffffff;
}

[data-bs-theme="light"] .erp-coletarie-shell .box,
[data-bs-theme="light"] .erp-coletarie-shell .modal-content {
  border-color: rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 18px 34px rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-rambursuri-shell .box,
[data-bs-theme="light"] .erp-rambursuri-shell .modal-content {
  border-color: rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 18px 34px rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-coletarie-shell .box-header {
  border-bottom-color: rgba(148, 163, 184, 0.16);
  background: rgba(241, 245, 249, 0.9);
}

[data-bs-theme="light"] .erp-rambursuri-shell .box-header {
  border-bottom-color: rgba(148, 163, 184, 0.16);
  background: rgba(241, 245, 249, 0.9);
}

[data-bs-theme="light"] .erp-coletarie-shell .box-title,
[data-bs-theme="light"] .erp-coletarie-shell h4,
[data-bs-theme="light"] .erp-coletarie-shell h5,
[data-bs-theme="light"] .erp-coletarie-shell h6 {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-shell .box-title,
[data-bs-theme="light"] .erp-rambursuri-shell h4,
[data-bs-theme="light"] .erp-rambursuri-shell h5,
[data-bs-theme="light"] .erp-rambursuri-shell h6 {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-coletarie-shell .table {
  --bs-table-color: #0f172a;
  --bs-table-border-color: rgba(148, 163, 184, 0.16);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-shell .table {
  --bs-table-color: #0f172a;
  --bs-table-border-color: rgba(148, 163, 184, 0.16);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-coletarie-shell .table thead th {
  background: #e8edf2;
  color: #111827;
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-rambursuri-shell .table thead th {
  background: #e8edf2;
  color: #111827;
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-coletarie-shell .table tbody td {
  background: #ffffff;
  color: #1f2937;
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] .erp-rambursuri-shell .table tbody td {
  background: #ffffff;
  color: #1f2937;
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] .erp-coletarie-shell .form-control,
[data-bs-theme="light"] .erp-coletarie-shell .form-select {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.24);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-shell .form-control,
[data-bs-theme="light"] .erp-rambursuri-shell .form-select {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.24);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-coletarie-shell .form-control:focus,
[data-bs-theme="light"] .erp-coletarie-shell .form-select:focus {
  background: #ffffff;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-rambursuri-shell .form-control:focus,
[data-bs-theme="light"] .erp-rambursuri-shell .form-select:focus {
  background: #ffffff;
  color: #0f172a;
}

[data-bs-theme="light"] .erp-coletarie-shell .text-muted {
  color: #64748b !important;
}

[data-bs-theme="light"] .erp-rambursuri-shell .text-muted {
  color: #64748b !important;
}

@media (max-width: 991.98px) {
  .erp-coletarie-shell .box-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .erp-coletarie-shell .btn-app {
    width: 100%;
    min-width: 0;
  }

  .erp-coletarie-shell .modal-fill .modal-dialog {
    max-width: calc(100vw - 1rem);
    margin: 0.5rem auto;
  }

  .erp-coletarie-shell embed {
    min-height: 480px;
  }

  .erp-rambursuri-shell .box-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .erp-rambursuri-shell .btn-app {
    width: 100%;
    min-width: 0;
  }

  .erp-rambursuri-shell .modal-fill .modal-dialog {
    max-width: calc(100vw - 1rem);
    margin: 0.5rem auto;
  }

  .erp-rambursuri-shell embed {
    min-height: 480px;
  }
}

.erp-order-hovercard-panel.is-floating,
.erp-order-score-tooltip-panel.is-floating {
  display: block;
  position: fixed;
  transform: none;
  z-index: 2055;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-panel.is-floating,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-panel.is-floating,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-score-tooltip-panel.is-floating,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-score-tooltip-panel.is-floating {
  z-index: 2055;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-success > *,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-success > * {
  background: #dcfce7 !important;
  color: #166534 !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-warning > *,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-warning > * {
  background: #fef3c7 !important;
  color: #92400e !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-danger > *,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-danger > * {
  background: #fee2e2 !important;
  color: #991b1b !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-secondary > *,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-secondary > * {
  background: #e5e7eb !important;
  color: #374151 !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-success .erp-order-hovercard-text,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-success .erp-order-hovercard-subtext,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-success .erp-order-hovercard-text,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-success .erp-order-hovercard-subtext {
  color: #166534 !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-warning .erp-order-hovercard-text,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-warning .erp-order-hovercard-subtext,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-warning .erp-order-hovercard-text,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-warning .erp-order-hovercard-subtext {
  color: #92400e !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-danger .erp-order-hovercard-text,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-danger .erp-order-hovercard-subtext,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-danger .erp-order-hovercard-text,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-danger .erp-order-hovercard-subtext {
  color: #991b1b !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-secondary .erp-order-hovercard-text,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table tr.is-secondary .erp-order-hovercard-subtext,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-secondary .erp-order-hovercard-text,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-secondary .erp-order-hovercard-subtext {
  color: #374151 !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table td.erp-order-hovercard-product-cell,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table td.erp-order-hovercard-product-cell {
  text-align: left !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table td .erp-order-hovercard-product-name,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table td .erp-order-hovercard-product-name {
  display: block;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  line-height: 1.2;
  text-align: left !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table td .erp-order-hovercard-product-meta,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table td .erp-order-hovercard-product-meta {
  display: block;
  font-size: 0.72rem !important;
  font-weight: 500;
  line-height: 1.2;
  margin-top: 0.14rem;
  text-align: left !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table td.erp-order-hovercard-metric,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table td .erp-order-hovercard-metric,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table td.erp-order-hovercard-metric,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table td .erp-order-hovercard-metric {
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  line-height: 1.15;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-table .erp-order-hovercard-attr,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table .erp-order-hovercard-attr {
  min-width: 2.35rem;
  border-color: rgba(15, 23, 42, 0.35) !important;
  border-radius: 0.45rem;
  background: #111827 !important;
  color: #f8fafc !important;
  font-size: 0.72rem !important;
  font-weight: 800;
}

/* Radius overrides for custom ERP components.
 * Truly circular elements such as avatars, loaders and dot indicators keep their round shape.
 */
.erp-debug-query-grid,
.erp-admin-dashboard-icon,
.erp-global-blocker-card,
.erp-browser-notification,
.erp-order-hovercard-panel,
.erp-order-detail-chip,
.erp-user-admin-user-card,
.erp-user-admin-master-check,
.erp-shopify-stock-stat,
.erp-shopify-stock-note,
.erp-html-editor,
.erp-comenzi-legacy-detail .publisher,
.erp-comenzi-address-modal-note,
.erp-shopify-stat-box,
.erp-shopify-live-table,
.erp-shopify-history-item,
.erp-shopify-market-widget-overlay .erp-widget-loading,
.erp-shopify-market-table-wrap,
.erp-shopify-market-selection-panel,
[data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="comenzi_probleme"] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="lista_comenzi_toate"] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="lista_comenzi_avizate"] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="lista_comenzi_in_livrare"] .erp-comenzi-page-overlay-box,
[data-erp-curieri-page^="rapoarte_curier"] .erp-comenzi-page-overlay-box,
[data-product-translations-page] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-help-item,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-orders-help-card .erp-orders-help-item,
.erp-comenzi-warning-item,
.erp-comenzi-observatii-card .publisher,
.erp-comenzi-product-delete-alert,
.erp-comenzi-product-delete-summary,
.erp-comenzi-order-split-alert,
.erp-comenzi-order-split-summary,
.erp-comenzi-order-split-item,
.erp-comenzi-order-cancel-alert,
.erp-comenzi-order-cancel-shopify,
.erp-comenzi-actions-card .timeline-event,
.erp-comenzi-note-card,
.erp-curieri-report-card,
.erp-curieri-range-dialog,
.erp-coletarie-shell .modal-content,
.erp-coletarie-shell .table-responsive,
.erp-rambursuri-shell .modal-content,
.erp-rambursuri-shell .table-responsive,
.erp-coletarie-shell embed,
.erp-rambursuri-shell embed {
  border-radius: var(--erp-radius) !important;
}

.erp-debug-panel-toggle,
.erp-debug-config-module-count,
.erp-debug-config-live-chip,
.erp-debug-config-tag,
.erp-debug-config-state,
.erp-sidebar-footer-action,
.erp-admin-dashboard-summary-pill,
.erp-admin-dashboard-users-count,
.erp-browser-notification-icon,
.erp-problem-delivery-icon,
.erp-order-split-score-badge,
.erp-order-hovercard-attr,
.erp-user-admin-pill,
.erp-user-admin-tab,
.erp-user-admin-chart-track,
.erp-incasate-barcode-badge,
.erp-restituire-rma-button,
.erp-restituire-inline-editable .erp-restituire-inline-display,
.erp-process-modal-close,
.erp-process-modal-icon,
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_paginate .paginate_button,
.erp-comenzi-address-modal .form-select,
.erp-shopify-pill,
.erp-shopify-inline-badge,
.erp-shopify-flag-chip,
.erp-shopify-market-mode-option,
.erp-shopify-market-catalog-option,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-orders-filter-btn,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-trigger,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-currency-badge,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-client-rating-progress,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table .erp-order-hovercard-attr,
.erp-comenzi-card-action,
.erp-comenzi-detail-card .progress,
.erp-comenzi-split-eligibility,
.erp-comenzi-doc-spv-badge,
.erp-comenzi-product-badge,
.erp-comenzi-inline-money-display,
.erp-comenzi-product-delete-btn,
.erp-comenzi-order-split-state,
.erp-comenzi-order-cancel-state,
.erp-comenzi-order-cancel-shopify-badge,
.erp-curieri-preset-btn,
.erp-curieri-range-trigger,
.erp-curieri-apply-btn,
.erp-curieri-report-context,
.erp-coletarie-shell .btn-app,
.erp-coletarie-shell .badge,
.erp-rambursuri-shell .btn-app,
.erp-rambursuri-shell .badge {
  border-radius: var(--erp-radius-sm) !important;
}

/* ERP grayscale surface system:
 * card and widget surfaces, headers, borders and DataTables share a single neutral palette.
 * Intentionally illustrative assets such as country flags keep their own styling.
 */
.erp-login-page,
.erp-debug-config-hero,
.erp-admin-dashboard-hero,
.erp-orders-hero,
.erp-shopify-price-hero,
.erp-shopify-markets-hero,
.erp-shopify-market-selection-panel,
.erp-browser-notification,
.erp-debug-config-item,
.erp-admin-dashboard-card,
.erp-widget-alert,
.erp-widget-empty,
.erp-widget-error,
.erp-widget-loading,
.erp-order-score-tooltip-panel,
.erp-order-hovercard-panel,
.erp-user-admin-stat,
.erp-user-admin-mini-stat,
.erp-user-admin-user-card,
.erp-user-admin-subpanel,
.erp-user-admin-route-card,
.erp-user-admin-master-check,
.erp-user-admin-check,
.erp-order-sensitive-card,
.erp-comenzi-legacy-detail .box,
.erp-comenzi-address-modal,
.erp-comenzi-note-card,
.erp-comenzi-product-delete-modal,
.erp-comenzi-order-split-modal,
.erp-comenzi-order-cancel-modal,
.erp-curieri-filter-card,
.erp-curieri-report-card,
.erp-curieri-range-dialog,
.erp-rambursuri-shell .modal-content,
.erp-coletarie-shell .modal-content,
.erp-rambursuri-curier-widget,
.erp-rambursuri-upload-widget,
.erp-rambursuri-preview-widget,
.erp-pr-card,
.erp-sr-card,
.erp-sr-side-card,
.erp-sr-client-card,
.card,
.erp-module-hero,
.erp-widget-card,
.erp-stat-card,
.erp-retur-search-card,
.erp-retur-result-card,
.modal-content,
.table-responsive {
  background: var(--erp-surface-bg) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  box-shadow: none !important;
  color: var(--erp-surface-text);
}

.erp-user-admin-user-card:hover,
.erp-user-admin-user-card.is-active,
.erp-order-sensitive-card.is-warning,
.erp-order-sensitive-card.is-info {
  background: var(--erp-surface-hover) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-heading) !important;
}

.card-body,
.card-footer,
.erp-table-card-body,
.erp-table-card-body .table-responsive,
.dataTables_wrapper,
.dataTables_wrapper table.dataTable,
.dataTables_wrapper table.dataTable.no-footer,
.erp-widget-card .card-body,
.erp-stat-card .card-body {
  background: transparent !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-text);
}

.card-header,
.erp-pr-card-header,
.erp-sr-card-header,
.erp-sr-card-header-success,
.erp-sr-card-header-warning,
.erp-incasate-card-header,
.erp-sr-search-card .card-header,
.erp-sr-side-card-header,
.erp-sr-card > .erp-pr-card-header,
.erp-sr-client-header,
.erp-comenzi-detail-shell .card-header,
.erp-comenzi-detail-card > .box-header,
.erp-comenzi-legacy-detail .box-header,
.erp-comenzi-fragment-card .card-header,
.erp-comenzi-warning-card .card-header,
.erp-coletarie-shell .box-header,
.erp-rambursuri-shell .box-header,
.erp-rambursuri-curier-widget .card-header,
.erp-rambursuri-upload-widget .card-header,
.erp-rambursuri-preview-widget .card-header {
  background: var(--erp-surface-header) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-heading) !important;
  padding: 0.5rem !important;
}

.card-header .card-title,
.card-header .card-subtitle,
.erp-pr-title,
.erp-sr-title,
.erp-sr-client-title,
.erp-orders-hero .card-title,
.erp-orders-hero .subheader,
.erp-orders-hero .card-subtitle {
  color: inherit !important;
}

.card-subtitle,
.erp-widget-muted-text,
.dataTables_wrapper,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_paginate {
  color: var(--erp-surface-text-muted) !important;
}

.table,
.table.dataTable,
.table.dataTable.no-footer,
.dataTables_wrapper table.dataTable,
.erp-widget-table,
.erp-pr-table,
.erp-sr-table,
.erp-rambursuri-shell .erp-rambursuri-curier-table,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table {
  background: transparent !important;
  color: var(--erp-surface-text) !important;
  border-color: var(--erp-border-color) !important;
  --bs-table-bg: transparent;
  --bs-table-color: var(--erp-surface-text);
  --bs-table-border-color: var(--erp-border-color);
  --bs-table-striped-bg: var(--erp-surface-stripe);
  --bs-table-hover-bg: var(--erp-surface-hover);
}

.erp-table-card-body {
  padding: 0 !important;
}

.erp-table-card-body .table-responsive,
.erp-table-card-body .dataTables_wrapper,
.dataTables_wrapper > .row,
.dataTables_wrapper > .row > [class*="col-"],
.dataTables_wrapper > .row > [class^="col-"] {
  margin: 0 !important;
  padding: 0 !important;
}

.erp-table-card-body .table-responsive {
  border-radius: inherit;
}

.table,
.table.dataTable,
.table.dataTable.no-footer,
.dataTables_wrapper table.dataTable,
.dataTables_wrapper table.dataTable.no-footer {
  margin: 0 !important;
  width: 100% !important;
  background-image: none !important;
}

.table > :not(caption) > * > *,
.table.dataTable > :not(caption) > * > *,
.dataTables_wrapper table.dataTable > :not(caption) > * > *,
.erp-widget-table > :not(caption) > * > *,
.erp-pr-table > :not(caption) > * > *,
.erp-sr-table > :not(caption) > * > *,
.erp-rambursuri-shell .erp-rambursuri-curier-table > :not(caption) > * > *,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table > :not(caption) > * > * {
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-text) !important;
}

.table thead th,
.table thead td,
table.dataTable thead th,
table.dataTable thead td,
.erp-widget-table thead th,
.erp-pr-table thead th,
.erp-sr-table thead th,
.erp-sr-extra-head > *,
.erp-rambursuri-shell .erp-rambursuri-curier-table thead th,
.erp-rambursuri-shell .erp-rambursuri-curier-table thead td,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table thead th,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table thead td {
  background: var(--erp-surface-header) !important;
  background-image: none !important;
  color: var(--erp-surface-heading) !important;
  border-color: var(--erp-border-color) !important;
  font-weight: 700 !important;
}

.table tbody th,
.table tbody td,
table.dataTable tbody th,
table.dataTable tbody td,
.erp-widget-table tbody th,
.erp-widget-table tbody td,
.erp-pr-table tbody th,
.erp-pr-table tbody td,
.erp-sr-table tbody th,
.erp-sr-table tbody td,
.erp-rambursuri-shell .erp-rambursuri-curier-table tbody td,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody td {
  background: var(--erp-surface-bg) !important;
  color: var(--erp-surface-text) !important;
  border-color: var(--erp-border-color) !important;
}

.table.dataTable thead th,
.table.dataTable thead td,
.table.dataTable tbody th,
.table.dataTable tbody td,
.dataTables_wrapper table.dataTable thead th,
.dataTables_wrapper table.dataTable thead td,
.dataTables_wrapper table.dataTable tbody th,
.dataTables_wrapper table.dataTable tbody td,
.erp-widget-table thead th,
.erp-widget-table thead td,
.erp-widget-table tbody th,
.erp-widget-table tbody td,
.erp-pr-table thead th,
.erp-pr-table thead td,
.erp-pr-table tbody th,
.erp-pr-table tbody td,
.erp-sr-table thead th,
.erp-sr-table thead td,
.erp-sr-table tbody th,
.erp-sr-table tbody td,
.erp-rambursuri-shell .erp-rambursuri-curier-table thead th,
.erp-rambursuri-shell .erp-rambursuri-curier-table thead td,
.erp-rambursuri-shell .erp-rambursuri-curier-table tbody td,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table thead th,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table thead td,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody td {
  padding: 0.2rem 0.35rem !important;
  vertical-align: middle;
}

.table.table-striped > tbody > tr:nth-of-type(odd) > *,
table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > *,
table.dataTable.display tbody tr.odd > .sorting_1,
table.dataTable.order-column.stripe tbody tr.odd > .sorting_1,
.erp-rambursuri-shell .erp-rambursuri-curier-table tbody tr:nth-child(odd) td,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody tr:nth-child(odd) td {
  background: var(--erp-surface-stripe) !important;
}

table.dataTable.display tbody tr.even > .sorting_1,
table.dataTable.order-column.stripe tbody tr.even > .sorting_1,
.erp-rambursuri-shell .erp-rambursuri-curier-table tbody tr:nth-child(even) td,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody tr:nth-child(even) td {
  background: var(--erp-surface-bg) !important;
}

.table.table-hover > tbody > tr:hover > *,
table.dataTable.table-hover > tbody > tr:hover > *,
table.dataTable.hover tbody tr:hover > *,
table.dataTable.display tbody tr:hover > *,
.erp-rambursuri-shell .erp-rambursuri-curier-table tbody tr:hover td,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table-hover > tbody > tr:hover > *,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.hover tbody tr:hover > *,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.display tbody tr:hover > *,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody tr:hover td {
  background: var(--erp-surface-hover) !important;
  color: var(--erp-surface-heading) !important;
}

.erp-table-filters > th,
.erp-table-filters > td,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table thead tr.erp-rambursuri-curier-filters th,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table thead tr.erp-rambursuri-curier-filters td {
  background: var(--erp-surface-contrast) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
}

.erp-dashboard-row .erp-widget-card.erp-widget-card-compact .erp-widget-alert.is-danger,
.erp-dashboard-row .erp-dashboard-compact-widget-slot > .erp-widget-alert.is-danger {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.42) 0%, rgba(127, 29, 29, 0.18) 100%) !important;
  border: 1px solid rgba(248, 113, 113, 0.18) !important;
  color: #f8fafc !important;
}

.erp-dashboard-row .erp-widget-card.erp-widget-card-compact .erp-widget-alert.is-danger-light,
.erp-dashboard-row .erp-dashboard-compact-widget-slot > .erp-widget-alert.is-danger-light {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(239, 68, 68, 0.08) 100%) !important;
  border: 1px solid rgba(248, 113, 113, 0.24) !important;
  color: #f8fafc !important;
}

.erp-dashboard-row .erp-widget-card.erp-widget-card-compact .erp-widget-alert.is-success,
.erp-dashboard-row .erp-dashboard-compact-widget-slot > .erp-widget-alert.is-success {
  background: linear-gradient(135deg, rgba(20, 83, 45, 0.42) 0%, rgba(20, 83, 45, 0.18) 100%) !important;
  border: 1px solid rgba(74, 222, 128, 0.18) !important;
  color: #f8fafc !important;
}

.erp-dashboard-row .erp-widget-card.erp-widget-card-compact .erp-widget-alert.is-warning,
.erp-dashboard-row .erp-dashboard-compact-widget-slot > .erp-widget-alert.is-warning {
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.42) 0%, rgba(120, 53, 15, 0.18) 100%) !important;
  border: 1px solid rgba(251, 191, 36, 0.2) !important;
  color: #f8fafc !important;
}

.erp-dashboard-row .erp-widget-card.erp-widget-card-compact .erp-widget-alert-label,
.erp-dashboard-row .erp-dashboard-compact-widget-slot > .erp-widget-alert .erp-widget-alert-label {
  color: var(--erp-text-muted) !important;
}

.erp-dashboard-row .erp-widget-card.erp-widget-card-compact .erp-widget-alert-value,
.erp-dashboard-row .erp-dashboard-compact-widget-slot > .erp-widget-alert .erp-widget-alert-value {
  color: #f8fafc !important;
}

.erp-dashboard-row .erp-widget-card.erp-widget-card-compact .erp-widget-alert-text,
.erp-dashboard-row .erp-dashboard-compact-widget-slot > .erp-widget-alert .erp-widget-alert-text {
  color: #e3e8ee !important;
}

[data-bs-theme="light"] .erp-dashboard-row .erp-widget-card.erp-widget-card-compact .erp-widget-alert.is-danger,
[data-bs-theme="light"] .erp-dashboard-row .erp-dashboard-compact-widget-slot > .erp-widget-alert.is-danger {
  background: linear-gradient(180deg, #fff1f2, #ffffff) !important;
  border: 1px solid #fda4af !important;
  color: #991b1b !important;
}

[data-bs-theme="light"] .erp-dashboard-row .erp-widget-card.erp-widget-card-compact .erp-widget-alert.is-danger-light,
[data-bs-theme="light"] .erp-dashboard-row .erp-dashboard-compact-widget-slot > .erp-widget-alert.is-danger-light {
  background: linear-gradient(180deg, #fff1f2, #ffffff) !important;
  border: 1px solid #fecdd3 !important;
  color: #991b1b !important;
}

[data-bs-theme="light"] .erp-dashboard-row .erp-widget-card.erp-widget-card-compact .erp-widget-alert.is-success,
[data-bs-theme="light"] .erp-dashboard-row .erp-dashboard-compact-widget-slot > .erp-widget-alert.is-success {
  background: linear-gradient(180deg, #f0fdf4, #ffffff) !important;
  border: 1px solid rgba(34, 197, 94, 0.28) !important;
  color: #166534 !important;
}

[data-bs-theme="light"] .erp-dashboard-row .erp-widget-card.erp-widget-card-compact .erp-widget-alert.is-warning,
[data-bs-theme="light"] .erp-dashboard-row .erp-dashboard-compact-widget-slot > .erp-widget-alert.is-warning {
  background: linear-gradient(180deg, #fffbeb, #ffffff) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  color: #92400e !important;
}

[data-bs-theme="light"] .erp-dashboard-row .erp-widget-card.erp-widget-card-compact .erp-widget-alert-label,
[data-bs-theme="light"] .erp-dashboard-row .erp-dashboard-compact-widget-slot > .erp-widget-alert .erp-widget-alert-label {
  color: #64748b !important;
}

[data-bs-theme="light"] .erp-dashboard-row .erp-widget-card.erp-widget-card-compact .erp-widget-alert-value,
[data-bs-theme="light"] .erp-dashboard-row .erp-dashboard-compact-widget-slot > .erp-widget-alert .erp-widget-alert-value {
  color: inherit !important;
}

[data-bs-theme="light"] .erp-dashboard-row .erp-widget-card.erp-widget-card-compact .erp-widget-alert-text,
[data-bs-theme="light"] .erp-dashboard-row .erp-dashboard-compact-widget-slot > .erp-widget-alert .erp-widget-alert-text {
  color: #334155 !important;
}

.erp-dashboard-stock-flags {
  position: relative;
}

.erp-dashboard-stock-flags-card {
  position: relative;
}

.erp-dashboard-stock-flags-table {
  margin-bottom: 0;
}

.erp-dashboard-stock-flags-table thead th {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.erp-dashboard-stock-flags-table tbody th,
.erp-dashboard-stock-flags-table tbody td {
  vertical-align: middle;
}

.erp-dashboard-stock-flags-table tbody th {
  min-width: 190px;
  color: #f8fafc;
  font-weight: 700;
}

.erp-dashboard-stock-flags-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.erp-dashboard-stock-flags-pill.is-erp {
  background: rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
}

.erp-dashboard-stock-flags-pill.is-shopify {
  background: rgba(59, 130, 246, 0.18);
  color: #bfdbfe;
}

[data-bs-theme="light"] .erp-dashboard-stock-flags-table tbody th {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-dashboard-stock-flags-pill.is-erp {
  background: rgba(148, 163, 184, 0.16);
  color: #334155;
}

[data-bs-theme="light"] .erp-dashboard-stock-flags-pill.is-shopify {
  background: rgba(59, 130, 246, 0.14);
  color: #1d4ed8;
}

.erp-rambursuri-shell .erp-rambursuri-curier-table tbody tr.is-mismatch td,
.erp-rambursuri-shell .erp-rambursuri-curier-table tbody tr.is-mismatch:hover td,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody tr.is-mismatch td,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.display tbody tr.is-mismatch > .sorting_1,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.order-column.stripe tbody tr.is-mismatch > .sorting_1,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table tbody tr.is-mismatch:hover td,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.display tbody tr.is-mismatch:hover > *,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-table.table.dataTable.hover tbody tr.is-mismatch:hover > * {
  background: var(--erp-surface-hover-strong) !important;
  color: var(--erp-surface-heading) !important;
}

.erp-table-filters .form-control,
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-search-wrap {
  background-color: var(--erp-control-bg) !important;
  color: var(--erp-control-text) !important;
  border-color: var(--erp-border-color) !important;
  background-image: none !important;
  min-height: 1.85rem;
  padding: 0.2rem 0.35rem !important;
}

.erp-table-filters .form-control::placeholder,
.dataTables_wrapper .dataTables_filter input::placeholder {
  color: var(--erp-surface-text-muted) !important;
}

.erp-table-filters .form-control:focus,
.dataTables_wrapper .dataTables_length select:focus,
.dataTables_wrapper .dataTables_filter input:focus,
.erp-rambursuri-curier-widget .erp-rambursuri-curier-search-wrap:focus-within,
.erp-rambursuri-curier-widget .form-check-input:focus,
.dataTables_wrapper .form-check-input:focus {
  border-color: var(--erp-border-color-strong) !important;
  box-shadow: 0 0 0 0.12rem var(--erp-focus-ring) !important;
}

.erp-dt-footer,
.dataTables_wrapper > .row:last-child {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 !important;
  padding: 0.5rem !important;
  background: var(--erp-surface-header) !important;
  background-image: none !important;
  border-top: 1px solid var(--erp-border-color) !important;
  color: var(--erp-surface-text-muted) !important;
}

.erp-dt-footer .dataTables_length,
.erp-dt-footer .dataTables_info,
.erp-dt-footer .dataTables_paginate,
.dataTables_wrapper > .row:last-child .dataTables_length,
.dataTables_wrapper > .row:last-child .dataTables_info,
.dataTables_wrapper > .row:last-child .dataTables_paginate {
  margin: 0 !important;
  float: none !important;
  color: inherit !important;
  font-size: 0.78rem;
}

.erp-dt-footer .dataTables_length,
.dataTables_wrapper > .row:last-child .dataTables_length {
  display: flex;
  align-items: center;
}

.erp-dt-footer .dataTables_info,
.dataTables_wrapper > .row:last-child .dataTables_info {
  padding-top: 0 !important;
}

.erp-dt-footer .dataTables_paginate,
.dataTables_wrapper > .row:last-child .dataTables_paginate {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: var(--erp-surface-text) !important;
  background: var(--erp-surface-contrast) !important;
  border-color: var(--erp-border-color) !important;
  background-image: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: var(--erp-surface-heading) !important;
  background: var(--erp-surface-hover) !important;
  border-color: var(--erp-border-color-strong) !important;
}

.dataTables_wrapper .dataTables_processing {
  background: var(--erp-surface-bg) !important;
  color: var(--erp-surface-heading) !important;
  border: 1px solid var(--erp-border-color) !important;
}

.erp-rambursuri-curier-widget .form-check-input,
.dataTables_wrapper .form-check-input {
  background-color: var(--erp-control-bg) !important;
  border-color: var(--erp-border-color) !important;
}

.erp-rambursuri-curier-widget .form-check-input:checked,
.dataTables_wrapper .form-check-input:checked {
  background-color: var(--erp-border-color-strong) !important;
  border-color: var(--erp-border-color-strong) !important;
}

/* Unified ERP DataTables: one shared class across all tables and wrappers */
.erp-datatable.card-body,
.erp-datatable.box-body,
.erp-datatable.table-responsive,
.erp-datatable.dataTables_wrapper,
table.erp-datatable.dataTable,
table.erp-datatable.dataTable.no-footer {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-text) !important;
}

.erp-datatable.card-body,
.erp-datatable.box-body,
.erp-datatable.table-responsive {
  overflow: hidden;
}

.erp-datatable.dataTables_wrapper > .row,
.erp-datatable.dataTables_wrapper > .row > [class*="col-"],
.erp-datatable.dataTables_wrapper > .row > [class^="col-"] {
  margin: 0 !important;
  padding: 0 !important;
}

table.erp-datatable.dataTable,
table.erp-datatable.dataTable.no-footer {
  width: 100% !important;
  margin-bottom: 0 !important;
  border-color: var(--erp-border-color) !important;
  --bs-table-bg: var(--erp-surface-bg);
  --bs-table-color: var(--erp-surface-text);
  --bs-table-border-color: var(--erp-border-color);
  --bs-table-striped-bg: var(--erp-surface-stripe);
  --bs-table-hover-bg: var(--erp-surface-hover);
}

table.erp-datatable.dataTable > :not(caption) > * > * {
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-text) !important;
  background-image: none !important;
}

table.erp-datatable.dataTable thead th,
table.erp-datatable.dataTable thead td {
  padding: 0.2rem 0.35rem !important;
  background: var(--erp-surface-header) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-heading) !important;
  font-weight: 700 !important;
  vertical-align: middle;
}

table.erp-datatable.dataTable tbody th,
table.erp-datatable.dataTable tbody td {
  padding: 0.2rem 0.35rem !important;
  background: var(--erp-surface-bg) !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-text) !important;
  vertical-align: middle;
}

table.erp-datatable.dataTable.table-striped > tbody > tr:nth-of-type(odd) > *,
table.erp-datatable.dataTable tbody tr:nth-child(odd) > *,
table.erp-datatable.dataTable.display tbody tr.odd > .sorting_1,
table.erp-datatable.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
  background: var(--erp-surface-stripe) !important;
}

table.erp-datatable.dataTable tbody tr:nth-child(even) > *,
table.erp-datatable.dataTable.display tbody tr.even > .sorting_1,
table.erp-datatable.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
  background: var(--erp-surface-bg) !important;
}

table.erp-datatable.dataTable.table-hover > tbody > tr:hover > *,
table.erp-datatable.dataTable.hover tbody tr:hover > *,
table.erp-datatable.dataTable.display tbody tr:hover > * {
  background: var(--erp-surface-hover) !important;
  color: var(--erp-surface-heading) !important;
}

table.erp-datatable.dataTable .erp-table-filters > th,
table.erp-datatable.dataTable .erp-table-filters > td,
table.erp-datatable.dataTable thead tr.erp-rambursuri-curier-filters th,
table.erp-datatable.dataTable thead tr.erp-rambursuri-curier-filters td {
  padding: 0.2rem !important;
  background: var(--erp-surface-contrast) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
}

table.erp-datatable.dataTable .erp-table-filters .form-control,
.erp-datatable.dataTables_wrapper .dataTables_length select,
.erp-datatable.dataTables_wrapper .dataTables_filter input {
  min-height: 1.85rem;
  padding: 0.2rem 0.35rem !important;
  background: var(--erp-control-bg) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-control-text) !important;
}

table.erp-datatable.dataTable .erp-table-filters .form-control::placeholder,
.erp-datatable.dataTables_wrapper .dataTables_filter input::placeholder {
  color: var(--erp-surface-text-muted) !important;
}

table.erp-datatable.dataTable .erp-table-filters .form-control:focus,
.erp-datatable.dataTables_wrapper .dataTables_length select:focus,
.erp-datatable.dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--erp-border-color-strong) !important;
  box-shadow: 0 0 0 0.12rem var(--erp-focus-ring) !important;
}

.erp-datatable.dataTables_wrapper,
.erp-datatable.dataTables_wrapper .dataTables_info,
.erp-datatable.dataTables_wrapper .dataTables_length,
.erp-datatable.dataTables_wrapper .dataTables_filter,
.erp-datatable.dataTables_wrapper .dataTables_paginate {
  color: var(--erp-surface-text-muted) !important;
}

.erp-datatable.dataTables_wrapper > .row:last-child {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 !important;
  padding: 0.5rem !important;
  background: var(--erp-surface-header) !important;
  background-image: none !important;
  border-top: 1px solid var(--erp-border-color) !important;
}

.erp-datatable.dataTables_wrapper > .row:last-child .dataTables_length,
.erp-datatable.dataTables_wrapper > .row:last-child .dataTables_info,
.erp-datatable.dataTables_wrapper > .row:last-child .dataTables_paginate {
  margin: 0 !important;
  float: none !important;
  color: inherit !important;
  font-size: 0.78rem;
}

.erp-datatable.dataTables_wrapper > .row:last-child .dataTables_length {
  display: flex;
  align-items: center;
}

.erp-datatable.dataTables_wrapper > .row:last-child .dataTables_info {
  padding-top: 0 !important;
}

.erp-datatable.dataTables_wrapper > .row:last-child .dataTables_paginate {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

.erp-datatable.dataTables_wrapper .dataTables_paginate .paginate_button {
  background: var(--erp-surface-contrast) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-text) !important;
}

.erp-datatable.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.erp-datatable.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: var(--erp-surface-hover) !important;
  border-color: var(--erp-border-color-strong) !important;
  color: var(--erp-surface-heading) !important;
}

.erp-datatable.dataTables_wrapper .dataTables_processing {
  background: var(--erp-surface-bg) !important;
  color: var(--erp-surface-heading) !important;
  border: 1px solid var(--erp-border-color) !important;
}

/* Final common override: higher specificity than legacy per-page DataTable rules */
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable.no-footer {
  width: 100% !important;
  margin: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-text) !important;
}

.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable > :not(caption) > * > * {
  border-color: var(--erp-border-color) !important;
  background-image: none !important;
}

.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead th,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead td {
  padding: 0.5rem 0.75rem !important;
  background: var(--erp-surface-header) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-heading) !important;
  font-weight: 700 !important;
  line-height: 1.25;
  vertical-align: middle;
}

.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_asc,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_desc,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_asc_disabled,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_desc_disabled {
  position: relative;
  padding-right: 2rem !important;
}

.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting:before,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting:after,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_asc:before,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_asc:after,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_desc:before,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_desc:after,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_asc_disabled:before,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_asc_disabled:after,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_desc_disabled:before,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_desc_disabled:after {
  right: 0.7rem !important;
  bottom: auto !important;
  line-height: 1;
  font-size: 0.62rem;
  transform: none !important;
}

.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting:before,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_asc:before,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_desc:before,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_asc_disabled:before,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_desc_disabled:before {
  top: calc(50% - 0.55rem) !important;
}

.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting:after,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_asc:after,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_desc:after,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_asc_disabled:after,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead .sorting_desc_disabled:after {
  top: calc(50% + 0.1rem) !important;
}

.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable tbody th,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable tbody td {
  padding: 0.2rem 0.35rem !important;
  background: var(--erp-surface-bg) !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-text) !important;
  vertical-align: middle;
}

.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable tbody tr:nth-child(odd) > *,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable.display tbody tr.odd > .sorting_1,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
  background: var(--erp-surface-stripe) !important;
}

.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable tbody tr:nth-child(even) > *,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable.display tbody tr.even > .sorting_1,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
  background: var(--erp-surface-bg) !important;
}

.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable tbody tr:hover > *,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable.table-hover > tbody > tr:hover > *,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable.hover tbody tr:hover > *,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable.display tbody tr:hover > * {
  background: var(--erp-surface-hover) !important;
  color: var(--erp-surface-heading) !important;
}

.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead tr.erp-table-filters > th,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead tr.erp-table-filters > td,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead tr.erp-rambursuri-curier-filters > th,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead tr.erp-rambursuri-curier-filters > td {
  padding: 0.25rem !important;
  background: var(--erp-surface-contrast) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
}

.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead tr.erp-table-filters .form-control,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead tr.erp-rambursuri-curier-filters .form-control,
.erp-datatable.dataTables_wrapper .dataTables_length select,
.erp-datatable.dataTables_wrapper .dataTables_filter input {
  min-height: 1.95rem;
  padding: 0.25rem 0.45rem !important;
  background: var(--erp-control-bg) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-control-text) !important;
}

.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead tr.erp-table-filters .form-control::placeholder,
.erp-datatable.dataTables_wrapper table.erp-datatable.dataTable thead tr.erp-rambursuri-curier-filters .form-control::placeholder,
.erp-datatable.dataTables_wrapper .dataTables_filter input::placeholder {
  color: var(--erp-surface-text-muted) !important;
}

.erp-datatable.dataTables_wrapper > .row:last-child {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 !important;
  padding: 0.5rem !important;
  background: var(--erp-surface-header) !important;
  background-image: none !important;
  border-top: 1px solid var(--erp-border-color) !important;
  color: var(--erp-surface-text-muted) !important;
}

.erp-datatable.dataTables_wrapper > .row:last-child .dataTables_length,
.erp-datatable.dataTables_wrapper > .row:last-child .dataTables_info,
.erp-datatable.dataTables_wrapper > .row:last-child .dataTables_paginate {
  margin: 0 !important;
  float: none !important;
  color: inherit !important;
  font-size: 0.78rem;
}

.erp-datatable.dataTables_wrapper .dataTables_paginate .paginate_button {
  background: var(--erp-surface-contrast) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-text) !important;
}

.erp-datatable.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.erp-datatable.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: var(--erp-surface-hover) !important;
  border-color: var(--erp-border-color-strong) !important;
  color: var(--erp-surface-heading) !important;
}

/* ERP unified table surface: final source of truth for every DataTable/widget/AJAX table */
body .erp-datatable.card-body,
body .erp-datatable.box-body,
body .erp-datatable.table-responsive,
body .erp-table-card-body.erp-datatable,
body .erp-widget-table.erp-datatable,
body .dataTables_wrapper.erp-datatable {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  box-shadow: none !important;
}

body table.erp-datatable,
body table.erp-datatable.table,
body table.erp-datatable.dataTable,
body .erp-table-card-body table.erp-datatable,
body .dataTables_wrapper.erp-datatable table.erp-datatable,
body .erp-rambursuri-shell table.erp-datatable,
body .erp-rambursuri-curier-widget table.erp-datatable,
body .erp-curieri-legacy table.erp-datatable {
  width: 100% !important;
  margin: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-text) !important;
  box-shadow: none !important;
  --bs-table-bg: var(--erp-surface-bg);
  --bs-table-color: var(--erp-surface-text);
  --bs-table-border-color: var(--erp-border-color);
  --bs-table-striped-bg: var(--erp-surface-stripe);
  --bs-table-hover-bg: var(--erp-surface-hover);
}

body table.erp-datatable > :not(caption) > * > *,
body .erp-table-card-body table.erp-datatable > :not(caption) > * > *,
body .dataTables_wrapper.erp-datatable table.erp-datatable > :not(caption) > * > *,
body .erp-rambursuri-shell table.erp-datatable > :not(caption) > * > *,
body .erp-rambursuri-curier-widget table.erp-datatable > :not(caption) > * > *,
body .erp-curieri-legacy table.erp-datatable > :not(caption) > * > * {
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  box-shadow: none !important;
}

body table.erp-datatable thead th,
body table.erp-datatable thead td,
body .erp-table-card-body table.erp-datatable thead th,
body .erp-table-card-body table.erp-datatable thead td,
body .dataTables_wrapper.erp-datatable table.erp-datatable thead th,
body .dataTables_wrapper.erp-datatable table.erp-datatable thead td,
body .erp-rambursuri-shell table.erp-datatable thead th,
body .erp-rambursuri-shell table.erp-datatable thead td,
body .erp-rambursuri-curier-widget table.erp-datatable thead th,
body .erp-rambursuri-curier-widget table.erp-datatable thead td,
body .erp-curieri-legacy table.erp-datatable thead th,
body .erp-curieri-legacy table.erp-datatable thead td {
  padding: 0.5rem 0.75rem !important;
  background: var(--erp-surface-header) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-heading) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  vertical-align: middle !important;
  white-space: nowrap;
}

body table.erp-datatable.dataTable thead .sorting,
body table.erp-datatable.dataTable thead .sorting_asc,
body table.erp-datatable.dataTable thead .sorting_desc,
body table.erp-datatable.dataTable thead .sorting_asc_disabled,
body table.erp-datatable.dataTable thead .sorting_desc_disabled,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_asc,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_desc,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_asc_disabled,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_desc_disabled {
  box-sizing: border-box !important;
  padding-right: 2.25rem !important;
  position: relative !important;
}

body table.erp-datatable.dataTable thead .sorting::before,
body table.erp-datatable.dataTable thead .sorting::after,
body table.erp-datatable.dataTable thead .sorting_asc::before,
body table.erp-datatable.dataTable thead .sorting_asc::after,
body table.erp-datatable.dataTable thead .sorting_desc::before,
body table.erp-datatable.dataTable thead .sorting_desc::after,
body table.erp-datatable.dataTable thead .sorting_asc_disabled::before,
body table.erp-datatable.dataTable thead .sorting_asc_disabled::after,
body table.erp-datatable.dataTable thead .sorting_desc_disabled::before,
body table.erp-datatable.dataTable thead .sorting_desc_disabled::after,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting::before,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting::after,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_asc::before,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_asc::after,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_desc::before,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_desc::after,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_asc_disabled::before,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_asc_disabled::after,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_desc_disabled::before,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_desc_disabled::after {
  right: 0.7rem !important;
  bottom: auto !important;
  color: var(--erp-surface-heading) !important;
  font-size: 0.62rem !important;
  line-height: 1 !important;
  opacity: 0.72 !important;
  transform: none !important;
}

body table.erp-datatable.dataTable thead .sorting::before,
body table.erp-datatable.dataTable thead .sorting_asc::before,
body table.erp-datatable.dataTable thead .sorting_desc::before,
body table.erp-datatable.dataTable thead .sorting_asc_disabled::before,
body table.erp-datatable.dataTable thead .sorting_desc_disabled::before,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting::before,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_asc::before,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_desc::before,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_asc_disabled::before,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_desc_disabled::before {
  top: calc(50% - 0.55rem) !important;
}

body table.erp-datatable.dataTable thead .sorting::after,
body table.erp-datatable.dataTable thead .sorting_asc::after,
body table.erp-datatable.dataTable thead .sorting_desc::after,
body table.erp-datatable.dataTable thead .sorting_asc_disabled::after,
body table.erp-datatable.dataTable thead .sorting_desc_disabled::after,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting::after,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_asc::after,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_desc::after,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_asc_disabled::after,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_desc_disabled::after {
  top: calc(50% + 0.1rem) !important;
}

body table.erp-datatable tbody th,
body table.erp-datatable tbody td,
body .erp-table-card-body table.erp-datatable tbody th,
body .erp-table-card-body table.erp-datatable tbody td,
body .dataTables_wrapper.erp-datatable table.erp-datatable tbody th,
body .dataTables_wrapper.erp-datatable table.erp-datatable tbody td,
body .erp-rambursuri-shell table.erp-datatable tbody th,
body .erp-rambursuri-shell table.erp-datatable tbody td,
body .erp-rambursuri-curier-widget table.erp-datatable tbody th,
body .erp-rambursuri-curier-widget table.erp-datatable tbody td,
body .erp-curieri-legacy table.erp-datatable tbody th,
body .erp-curieri-legacy table.erp-datatable tbody td {
  padding: 0.2rem 0.35rem !important;
  background: var(--erp-surface-bg) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-text) !important;
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  vertical-align: middle !important;
}

body table.erp-datatable tbody tr:nth-child(odd) > *,
body table.erp-datatable.table-striped > tbody > tr:nth-of-type(odd) > *,
body table.erp-datatable.dataTable.display tbody tr.odd > .sorting_1,
body table.erp-datatable.dataTable.order-column.stripe tbody tr.odd > .sorting_1,
body .dataTables_wrapper.erp-datatable table.erp-datatable tbody tr:nth-child(odd) > *,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable.display tbody tr.odd > .sorting_1,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
  background: var(--erp-surface-stripe) !important;
  background-image: none !important;
  color: var(--erp-surface-text) !important;
}

body table.erp-datatable tbody tr:nth-child(even) > *,
body table.erp-datatable.dataTable.display tbody tr.even > .sorting_1,
body table.erp-datatable.dataTable.order-column.stripe tbody tr.even > .sorting_1,
body .dataTables_wrapper.erp-datatable table.erp-datatable tbody tr:nth-child(even) > *,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable.display tbody tr.even > .sorting_1,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
  background: var(--erp-surface-bg) !important;
  background-image: none !important;
  color: var(--erp-surface-text) !important;
}

body table.erp-datatable tbody tr:hover > *,
body table.erp-datatable.table-hover > tbody > tr:hover > *,
body table.erp-datatable.dataTable.hover tbody tr:hover > *,
body table.erp-datatable.dataTable.display tbody tr:hover > *,
body .dataTables_wrapper.erp-datatable table.erp-datatable tbody tr:hover > *,
body .dataTables_wrapper.erp-datatable table.erp-datatable.table-hover > tbody > tr:hover > *,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable.hover tbody tr:hover > *,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable.display tbody tr:hover > * {
  background: var(--erp-surface-hover) !important;
  background-image: none !important;
  color: var(--erp-surface-heading) !important;
}

body table.erp-datatable thead tr.erp-table-filters > th,
body table.erp-datatable thead tr.erp-table-filters > td,
body table.erp-datatable thead tr.erp-rambursuri-curier-filters > th,
body table.erp-datatable thead tr.erp-rambursuri-curier-filters > td,
body .dataTables_wrapper.erp-datatable table.erp-datatable thead tr.erp-table-filters > th,
body .dataTables_wrapper.erp-datatable table.erp-datatable thead tr.erp-table-filters > td,
body .dataTables_wrapper.erp-datatable table.erp-datatable thead tr.erp-rambursuri-curier-filters > th,
body .dataTables_wrapper.erp-datatable table.erp-datatable thead tr.erp-rambursuri-curier-filters > td {
  padding: 0.25rem !important;
  background: var(--erp-surface-contrast) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
}

body table.erp-datatable thead tr.erp-table-filters .form-control,
body table.erp-datatable thead tr.erp-rambursuri-curier-filters .form-control,
body .dataTables_wrapper.erp-datatable .dataTables_length select,
body .dataTables_wrapper.erp-datatable .dataTables_filter input {
  min-height: 1.95rem !important;
  padding: 0.25rem 0.45rem !important;
  background: var(--erp-control-bg) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-control-text) !important;
  box-shadow: none !important;
}

body table.erp-datatable thead tr.erp-table-filters .form-control::placeholder,
body table.erp-datatable thead tr.erp-rambursuri-curier-filters .form-control::placeholder,
body .dataTables_wrapper.erp-datatable .dataTables_filter input::placeholder {
  color: var(--erp-surface-text-muted) !important;
  opacity: 0.68 !important;
}

body table.erp-datatable tfoot th,
body table.erp-datatable tfoot td {
  padding: 0.5rem 0.75rem !important;
  background: var(--erp-surface-header) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-heading) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

body .dataTables_wrapper.erp-datatable,
body .dataTables_wrapper.erp-datatable .dataTables_info,
body .dataTables_wrapper.erp-datatable .dataTables_length,
body .dataTables_wrapper.erp-datatable .dataTables_filter,
body .dataTables_wrapper.erp-datatable .dataTables_paginate {
  color: var(--erp-surface-text-muted) !important;
}

body .dataTables_wrapper.erp-datatable .erp-dt-footer,
body .dataTables_wrapper.erp-datatable > .row:last-child {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0.5rem !important;
  background: var(--erp-surface-header) !important;
  background-image: none !important;
  border-top: 1px solid var(--erp-border-color) !important;
  color: var(--erp-surface-text-muted) !important;
}

body .dataTables_wrapper.erp-datatable .erp-dt-footer .dataTables_length,
body .dataTables_wrapper.erp-datatable .erp-dt-footer .dataTables_info,
body .dataTables_wrapper.erp-datatable .erp-dt-footer .dataTables_paginate,
body .dataTables_wrapper.erp-datatable > .row:last-child .dataTables_length,
body .dataTables_wrapper.erp-datatable > .row:last-child .dataTables_info,
body .dataTables_wrapper.erp-datatable > .row:last-child .dataTables_paginate {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-size: 0.78rem !important;
}

body .dataTables_wrapper.erp-datatable .dataTables_paginate .paginate_button {
  margin: 0 0.08rem !important;
  padding: 0.25rem 0.5rem !important;
  background: var(--erp-surface-contrast) !important;
  background-image: none !important;
  border: 1px solid var(--erp-border-color) !important;
  color: var(--erp-surface-text) !important;
  border-radius: 0.2rem !important;
}

body .dataTables_wrapper.erp-datatable .dataTables_paginate .paginate_button.current,
body .dataTables_wrapper.erp-datatable .dataTables_paginate .paginate_button:hover {
  background: var(--erp-surface-hover) !important;
  background-image: none !important;
  border-color: var(--erp-border-color-strong) !important;
  color: var(--erp-surface-heading) !important;
}

body table.erp-datatable tbody h1,
body table.erp-datatable tbody h2,
body table.erp-datatable tbody h3,
body table.erp-datatable tbody h4,
body table.erp-datatable tbody h5,
body table.erp-datatable tbody h6,
body table.erp-datatable tbody .h1,
body table.erp-datatable tbody .h2,
body table.erp-datatable tbody .h3,
body table.erp-datatable tbody .h4,
body table.erp-datatable tbody .h5,
body table.erp-datatable tbody .h6 {
  margin: 0 !important;
  color: inherit !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

[data-bs-theme="light"] body .erp-table-card-body table.erp-datatable thead th,
[data-bs-theme="light"] body .erp-table-card-body table.erp-datatable thead td,
[data-bs-theme="light"] body .erp-rambursuri-shell table.erp-datatable thead th,
[data-bs-theme="light"] body .erp-rambursuri-shell table.erp-datatable thead td,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-datatable thead th,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-datatable thead td,
[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable thead th,
[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable thead td,
[data-bs-theme="light"] body .dataTables_wrapper.erp-datatable table.erp-datatable thead th,
[data-bs-theme="light"] body .dataTables_wrapper.erp-datatable table.erp-datatable thead td {
  background: var(--erp-surface-header) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-heading) !important;
}

[data-bs-theme="light"] body .erp-table-card-body table.erp-datatable tbody th,
[data-bs-theme="light"] body .erp-table-card-body table.erp-datatable tbody td,
[data-bs-theme="light"] body .erp-rambursuri-shell table.erp-datatable tbody th,
[data-bs-theme="light"] body .erp-rambursuri-shell table.erp-datatable tbody td,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-datatable tbody th,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-datatable tbody td,
[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable tbody th,
[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable tbody td,
[data-bs-theme="light"] body .dataTables_wrapper.erp-datatable table.erp-datatable tbody th,
[data-bs-theme="light"] body .dataTables_wrapper.erp-datatable table.erp-datatable tbody td {
  background: var(--erp-surface-bg) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-text) !important;
}

[data-bs-theme="light"] body table.erp-datatable tbody tr:nth-child(odd) > *,
[data-bs-theme="light"] body table.erp-datatable.table-striped > tbody > tr:nth-of-type(odd) > *,
[data-bs-theme="light"] body table.erp-datatable.dataTable.display tbody tr.odd > .sorting_1,
[data-bs-theme="light"] body table.erp-datatable.dataTable.order-column.stripe tbody tr.odd > .sorting_1,
[data-bs-theme="light"] body .dataTables_wrapper.erp-datatable table.erp-datatable tbody tr:nth-child(odd) > * {
  background: var(--erp-surface-stripe) !important;
  color: var(--erp-surface-text) !important;
}

[data-bs-theme="light"] body table.erp-datatable tbody tr:nth-child(even) > *,
[data-bs-theme="light"] body table.erp-datatable.dataTable.display tbody tr.even > .sorting_1,
[data-bs-theme="light"] body table.erp-datatable.dataTable.order-column.stripe tbody tr.even > .sorting_1,
[data-bs-theme="light"] body .dataTables_wrapper.erp-datatable table.erp-datatable tbody tr:nth-child(even) > * {
  background: var(--erp-surface-bg) !important;
  color: var(--erp-surface-text) !important;
}

[data-bs-theme="light"] body table.erp-datatable tbody tr:hover > *,
[data-bs-theme="light"] body table.erp-datatable.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] body table.erp-datatable.dataTable.hover tbody tr:hover > *,
[data-bs-theme="light"] body table.erp-datatable.dataTable.display tbody tr:hover > *,
[data-bs-theme="light"] body .dataTables_wrapper.erp-datatable table.erp-datatable tbody tr:hover > * {
  background: var(--erp-surface-hover) !important;
  color: var(--erp-surface-heading) !important;
}

body table.erp-widget-table.erp-datatable thead th,
body table.erp-widget-table.erp-datatable thead td,
body .erp-table-card-body table.erp-widget-table.erp-datatable thead th,
body .erp-table-card-body table.erp-widget-table.erp-datatable thead td {
  padding: 0.5rem 0.75rem !important;
  background: var(--erp-surface-header) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-heading) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body table.erp-widget-table.erp-datatable tbody th,
body table.erp-widget-table.erp-datatable tbody td,
body .erp-table-card-body table.erp-widget-table.erp-datatable tbody th,
body .erp-table-card-body table.erp-widget-table.erp-datatable tbody td {
  padding: 0.2rem 0.35rem !important;
  background: var(--erp-surface-bg) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-text) !important;
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body table.erp-widget-table.erp-datatable tbody tr:nth-child(odd) > *,
body .erp-table-card-body table.erp-widget-table.erp-datatable tbody tr:nth-child(odd) > * {
  background: var(--erp-surface-stripe) !important;
}

body table.erp-widget-table.erp-datatable tbody tr:nth-child(even) > *,
body .erp-table-card-body table.erp-widget-table.erp-datatable tbody tr:nth-child(even) > * {
  background: var(--erp-surface-bg) !important;
}

body table.erp-widget-table.erp-datatable tbody tr:hover > *,
body .erp-table-card-body table.erp-widget-table.erp-datatable tbody tr:hover > * {
  background: var(--erp-surface-hover) !important;
  color: var(--erp-surface-heading) !important;
}

body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable.no-footer {
  border-color: var(--erp-border-color) !important;
  border-bottom: 0 !important;
  background: transparent !important;
  background-image: none !important;
}

body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table thead th,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table thead td,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable thead th,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable thead td {
  padding: 0.5rem 0.75rem !important;
  background: var(--erp-surface-header) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-heading) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table tbody th,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table tbody td,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable tbody th,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable tbody td {
  padding: 0.2rem 0.35rem !important;
  background: var(--erp-surface-bg) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-text) !important;
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table tbody tr:nth-child(odd) > *,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable.display tbody tr.odd > .sorting_1,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable.order-column.stripe tbody tr.odd > .sorting_1,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table tbody tr.is-mismatch:nth-child(odd) > * {
  background: var(--erp-surface-stripe) !important;
  background-image: none !important;
  color: var(--erp-surface-text) !important;
}

body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table tbody tr:nth-child(even) > *,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable.display tbody tr.even > .sorting_1,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable.order-column.stripe tbody tr.even > .sorting_1,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table tbody tr.is-mismatch:nth-child(even) > * {
  background: var(--erp-surface-bg) !important;
  background-image: none !important;
  color: var(--erp-surface-text) !important;
}

body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable.hover tbody tr:hover > *,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable.display tbody tr:hover > *,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.table-hover > tbody > tr:hover > *,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table tbody tr:hover > *,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table tbody tr.is-mismatch:hover > * {
  background: var(--erp-surface-hover) !important;
  background-image: none !important;
  color: var(--erp-surface-heading) !important;
  --bs-table-accent-bg: var(--erp-surface-hover) !important;
}

body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table thead tr.erp-rambursuri-curier-filters th,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table thead tr.erp-rambursuri-curier-filters td,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable thead tr.erp-rambursuri-curier-filters th,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable thead tr.erp-rambursuri-curier-filters td {
  padding: 0.25rem !important;
  background: var(--erp-surface-contrast) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
}

body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table thead tr.erp-rambursuri-curier-filters .form-control,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable thead tr.erp-rambursuri-curier-filters .form-control {
  min-height: 1.95rem !important;
  padding: 0.25rem 0.45rem !important;
  background: var(--erp-control-bg) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-control-text) !important;
  font-size: 0.76rem !important;
  box-shadow: none !important;
}

body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table thead tr.erp-rambursuri-curier-filters .form-control::placeholder,
body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable thead tr.erp-rambursuri-curier-filters .form-control::placeholder {
  color: var(--erp-surface-text-muted) !important;
  opacity: 0.68 !important;
}

body table.erp-datatable .badge,
body table.erp-datatable .label,
body table.erp-datatable .erp-rambursuri-upload-pill,
body table.erp-datatable .erp-rambursuri-preview-pill,
body table.erp-datatable .erp-status-badge {
  background: var(--erp-surface-contrast) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-heading) !important;
}

body table.erp-datatable .erp-rambursuri-upload-pill.is-success-light,
body table.erp-datatable .erp-rambursuri-preview-pill.is-success-light,
body table.erp-datatable .erp-rambursuri-preview-value.is-success-light,
body table.erp-datatable .erp-rambursuri-curier-status-badge.is-success-light {
  background: rgba(34, 197, 94, 0.16) !important;
  border-color: rgba(74, 222, 128, 0.24) !important;
  color: #bbf7d0 !important;
}

body table.erp-datatable .erp-rambursuri-upload-pill.is-warning-light,
body table.erp-datatable .erp-rambursuri-preview-pill.is-warning-light,
body table.erp-datatable .erp-rambursuri-preview-value.is-warning-light,
body table.erp-datatable .erp-rambursuri-curier-status-badge.is-warning-light {
  background: rgba(245, 158, 11, 0.14) !important;
  border-color: rgba(251, 191, 36, 0.24) !important;
  color: #fde68a !important;
}

body table.erp-datatable .erp-rambursuri-upload-pill.is-danger-light,
body table.erp-datatable .erp-rambursuri-preview-pill.is-danger-light,
body table.erp-datatable .erp-rambursuri-preview-value.is-danger-light {
  background: rgba(248, 113, 113, 0.14) !important;
  border-color: rgba(248, 113, 113, 0.22) !important;
  color: #fecaca !important;
}

[data-bs-theme="light"] body table.erp-datatable .erp-rambursuri-upload-pill.is-success-light,
[data-bs-theme="light"] body table.erp-datatable .erp-rambursuri-preview-pill.is-success-light,
[data-bs-theme="light"] body table.erp-datatable .erp-rambursuri-preview-value.is-success-light,
[data-bs-theme="light"] body table.erp-datatable .erp-rambursuri-curier-status-badge.is-success-light {
  background: rgba(34, 197, 94, 0.12) !important;
  border-color: rgba(34, 197, 94, 0.22) !important;
  color: #15803d !important;
}

[data-bs-theme="light"] body table.erp-datatable .erp-rambursuri-upload-pill.is-warning-light,
[data-bs-theme="light"] body table.erp-datatable .erp-rambursuri-preview-pill.is-warning-light,
[data-bs-theme="light"] body table.erp-datatable .erp-rambursuri-preview-value.is-warning-light,
[data-bs-theme="light"] body table.erp-datatable .erp-rambursuri-curier-status-badge.is-warning-light {
  background: rgba(254, 243, 199, 0.96) !important;
  border-color: rgba(245, 158, 11, 0.28) !important;
  color: #92400e !important;
}

body :is(#erp-restituiri-asteptare-table, #erp-restituiri-procesate-table, #erp-restituiri-table) .erp-restituire-days-badge.text-bg-success {
  background: #198754 !important;
  border-color: #198754 !important;
  color: #ffffff !important;
}

body :is(#erp-restituiri-asteptare-table, #erp-restituiri-procesate-table, #erp-restituiri-table) .erp-restituire-days-badge.text-bg-warning {
  background: #f59e0b !important;
  border-color: #f59e0b !important;
  color: #111827 !important;
}

body :is(#erp-restituiri-asteptare-table, #erp-restituiri-procesate-table, #erp-restituiri-table) .erp-restituire-days-badge.text-bg-danger {
  background: #dc3545 !important;
  border-color: #dc3545 !important;
  color: #ffffff !important;
}

body :is(#erp-restituiri-asteptare-table, #erp-restituiri-procesate-table, #erp-restituiri-table) .erp-restituire-days-badge.text-bg-secondary {
  background: #6b7280 !important;
  border-color: #6b7280 !important;
  color: #ffffff !important;
}

[data-bs-theme="light"] body table.erp-datatable .erp-rambursuri-upload-pill.is-danger-light,
[data-bs-theme="light"] body table.erp-datatable .erp-rambursuri-preview-pill.is-danger-light,
[data-bs-theme="light"] body table.erp-datatable .erp-rambursuri-preview-value.is-danger-light {
  background: rgba(254, 226, 226, 0.92) !important;
  border-color: rgba(248, 113, 113, 0.24) !important;
  color: #b91c1c !important;
}

[data-bs-theme="light"] body table.erp-widget-table.erp-datatable thead th,
[data-bs-theme="light"] body table.erp-widget-table.erp-datatable thead td,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table thead th,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table thead td,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable thead th,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable thead td {
  background: var(--erp-surface-header) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-heading) !important;
}

[data-bs-theme="light"] body table.erp-widget-table.erp-datatable tbody th,
[data-bs-theme="light"] body table.erp-widget-table.erp-datatable tbody td,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table tbody th,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table tbody td,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable tbody th,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable tbody td {
  background: var(--erp-surface-bg) !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-text) !important;
}

[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table tbody tr:nth-child(odd) > *,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable.display tbody tr.odd > .sorting_1,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
  background: var(--erp-surface-stripe) !important;
  color: var(--erp-surface-text) !important;
}

[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table tbody tr:nth-child(even) > *,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable.display tbody tr.even > .sorting_1,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
  background: var(--erp-surface-bg) !important;
  color: var(--erp-surface-text) !important;
}

[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table tbody tr:hover > *,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.table-hover > tbody > tr:hover > *,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable.hover tbody tr:hover > *,
[data-bs-theme="light"] body .erp-rambursuri-curier-widget table.erp-rambursuri-curier-table.erp-widget-table.erp-datatable.table.dataTable.display tbody tr:hover > * {
  background: var(--erp-surface-hover) !important;
  color: var(--erp-surface-heading) !important;
  --bs-table-accent-bg: var(--erp-surface-hover) !important;
}

body .erp-curieri-legacy table.erp-datatable .badge-gray,
body .erp-curieri-legacy table.erp-datatable .badge-secondary {
  background: #475569 !important;
  border-color: #475569 !important;
  color: #f8fafc !important;
}

body .erp-curieri-legacy table.erp-datatable .badge-dark {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #f8fafc !important;
}

body .erp-curieri-legacy table.erp-datatable .badge-light {
  background: #e2e8f0 !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

body .erp-curieri-legacy table.erp-datatable .badge-danger {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #fef2f2 !important;
}

body .erp-curieri-legacy table.erp-datatable .badge-warning {
  background: #f59e0b !important;
  border-color: #f59e0b !important;
  color: #111827 !important;
}

body .erp-curieri-legacy table.erp-datatable .badge-success {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #f0fdf4 !important;
}

body .erp-curieri-legacy table.erp-datatable .badge-info {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #f0f9ff !important;
}

body .erp-curieri-legacy table.erp-datatable .badge-primary {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #eff6ff !important;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-flow-label {
  border: 1px solid currentColor !important;
  background: transparent !important;
  background-image: none !important;
  padding: 0.24rem 0.46rem;
  border-radius: var(--erp-radius-sm);
}

body table.erp-datatable .erp-payment-method-badge.text-bg-secondary,
body .dataTables_wrapper .erp-payment-method-badge.text-bg-secondary {
  background: #6b7280 !important;
  background-color: #6b7280 !important;
  background-image: none !important;
  border-color: #6b7280 !important;
  color: #ffffff !important;
}

body table.erp-datatable .erp-payment-method-badge.text-bg-success,
body .dataTables_wrapper .erp-payment-method-badge.text-bg-success {
  background: #198754 !important;
  background-color: #198754 !important;
  background-image: none !important;
  border-color: #198754 !important;
  color: #ffffff !important;
}

body table.erp-datatable .erp-payment-method-badge.text-bg-info,
body .dataTables_wrapper .erp-payment-method-badge.text-bg-info {
  background: #0ea5e9 !important;
  background-color: #0ea5e9 !important;
  background-image: none !important;
  border-color: #0ea5e9 !important;
  color: #ffffff !important;
}

body table.erp-datatable .erp-payment-method-badge.text-bg-warning,
body .dataTables_wrapper .erp-payment-method-badge.text-bg-warning {
  background: #f59e0b !important;
  background-color: #f59e0b !important;
  background-image: none !important;
  border-color: #f59e0b !important;
  color: #111827 !important;
}

body table.erp-datatable .erp-payment-method-badge.text-bg-primary,
body .dataTables_wrapper .erp-payment-method-badge.text-bg-primary {
  background: #2563eb !important;
  background-color: #2563eb !important;
  background-image: none !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

body table.erp-datatable .erp-order-status-badge.text-bg-secondary,
body .dataTables_wrapper .erp-order-status-badge.text-bg-secondary {
  background: #6b7280 !important;
  background-color: #6b7280 !important;
  background-image: none !important;
  border-color: #6b7280 !important;
  color: #ffffff !important;
}

body table.erp-datatable .erp-order-status-badge.text-bg-success,
body .dataTables_wrapper .erp-order-status-badge.text-bg-success {
  background: #198754 !important;
  background-color: #198754 !important;
  background-image: none !important;
  border-color: #198754 !important;
  color: #ffffff !important;
}

body table.erp-datatable .erp-order-status-badge.text-bg-info,
body .dataTables_wrapper .erp-order-status-badge.text-bg-info {
  background: #0ea5e9 !important;
  background-color: #0ea5e9 !important;
  background-image: none !important;
  border-color: #0ea5e9 !important;
  color: #ffffff !important;
}

body table.erp-datatable .erp-order-status-badge.text-bg-warning,
body .dataTables_wrapper .erp-order-status-badge.text-bg-warning {
  background: #f59e0b !important;
  background-color: #f59e0b !important;
  background-image: none !important;
  border-color: #f59e0b !important;
  color: #111827 !important;
}

body table.erp-datatable .erp-order-status-badge.text-bg-danger,
body .dataTables_wrapper .erp-order-status-badge.text-bg-danger {
  background: #dc3545 !important;
  background-color: #dc3545 !important;
  background-image: none !important;
  border-color: #dc3545 !important;
  color: #ffffff !important;
}

body table.erp-datatable .erp-order-status-badge.text-bg-primary,
body .dataTables_wrapper .erp-order-status-badge.text-bg-primary {
  background: #2563eb !important;
  background-color: #2563eb !important;
  background-image: none !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

body table.erp-datatable .erp-order-status-badge.text-bg-dark,
body .dataTables_wrapper .erp-order-status-badge.text-bg-dark {
  background: #111827 !important;
  background-color: #111827 !important;
  background-image: none !important;
  border-color: #111827 !important;
  color: #ffffff !important;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-flow-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-awb-date,
body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date {
  font-weight: 400 !important;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-awb-date {
  color: #cbd5e1 !important;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-flow-label.is-warning-light {
  color: #fcd34d !important;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-flow-label.is-success-light {
  color: #86efac !important;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-flow-label.is-info-light {
  color: #67e8f9 !important;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-detail-money {
  width: 100%;
  text-align: right;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-detail-money-value {
  color: #f8fafc;
  font-weight: 700;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-detail-money-currency {
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 600;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-detail-money.is-total .erp-curieri-detail-money-value,
body .erp-curieri-legacy table.erp-datatable .erp-curieri-detail-total-label {
  color: #ffffff;
  font-weight: 800;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-detail-total-label {
  text-align: right;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-gray,
body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-secondary {
  color: #94a3b8 !important;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-dark {
  color: #cbd5e1 !important;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-light {
  color: #e2e8f0 !important;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-danger {
  color: #fca5a5 !important;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-warning {
  color: #fcd34d !important;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-success {
  color: #86efac !important;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-info {
  color: #7dd3fc !important;
}

body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-primary {
  color: #93c5fd !important;
}

[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable .erp-curieri-flow-label.is-warning-light {
  color: #a16207 !important;
}

[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable .erp-curieri-flow-label.is-success-light {
  color: #15803d !important;
}

[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable .erp-curieri-flow-label.is-info-light {
  color: #0e7490 !important;
}

[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable .erp-curieri-awb-date {
  color: #64748b !important;
}

[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-gray,
[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-secondary {
  color: #64748b !important;
}

[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-dark {
  color: #475569 !important;
}

[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-light {
  color: #94a3b8 !important;
}

[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-danger {
  color: #ef4444 !important;
}

[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-warning {
  color: #f59e0b !important;
}

[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-success {
  color: #22c55e !important;
}

[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-info {
  color: #0ea5e9 !important;
}

[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable .erp-curieri-status-date.is-primary {
  color: #60a5fa !important;
}

[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable .erp-curieri-detail-money-value,
[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable .erp-curieri-detail-total-label {
  color: #111827;
}

[data-bs-theme="light"] body .erp-curieri-legacy table.erp-datatable .erp-curieri-detail-money-currency {
  color: #64748b;
}

/* Unified ERP loader system */
:root {
  --erp-loader-size: 1.3rem;
  --erp-loader-size-lg: 2.65rem;
  --erp-loader-thickness: 0.16rem;
  --erp-loader-thickness-inner: 0.11rem;
  --erp-loader-track: rgba(255, 255, 255, 0.16);
  --erp-loader-track-strong: rgba(255, 255, 255, 0.34);
  --erp-loader-accent: #f5f7fa;
  --erp-loader-accent-soft: rgba(203, 213, 225, 0.78);
  --erp-loader-label-color: var(--erp-surface-heading);
  --erp-loader-label-muted: var(--erp-surface-text-muted);
}

[data-bs-theme="light"] {
  --erp-loader-track: rgba(15, 23, 42, 0.12);
  --erp-loader-track-strong: rgba(15, 23, 42, 0.24);
  --erp-loader-accent: #1f2937;
  --erp-loader-accent-soft: rgba(71, 85, 105, 0.72);
  --erp-loader-label-color: #111827;
  --erp-loader-label-muted: #67707b;
}

@keyframes erp-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.erp-loader {
  --erp-loader-current-size: var(--erp-loader-size);
  --erp-loader-current-thickness: var(--erp-loader-thickness);
  --erp-loader-current-inner-thickness: var(--erp-loader-thickness-inner);
  position: relative;
  display: inline-block;
  width: var(--erp-loader-current-size);
  height: var(--erp-loader-current-size);
  flex: 0 0 auto;
  border-radius: 999px;
  animation: erp-loader-spin 0.88s linear infinite;
}

.erp-loader::before,
.erp-loader::after {
  content: "";
  position: absolute;
  border-radius: inherit;
}

.erp-loader::before {
  inset: 0;
  border: var(--erp-loader-current-thickness) solid var(--erp-loader-track);
  border-top-color: var(--erp-loader-accent);
  border-right-color: var(--erp-loader-accent-soft);
}

.erp-loader::after {
  inset: calc(var(--erp-loader-current-size) * 0.22);
  border: var(--erp-loader-current-inner-thickness) solid transparent;
  border-top-color: var(--erp-loader-accent);
  border-left-color: var(--erp-loader-accent-soft);
  opacity: 0.86;
}

.erp-loader-label {
  display: block;
  font-size: 0.88rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: inherit;
}

.erp-loader-shell,
.erp-inline-loader,
.erp-widget-loading,
.erp-retur-loading,
.erp-comenzi-detail-loader {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.erp-loader-shell {
  min-width: min(15rem, 100%);
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--erp-border-color);
  border-radius: var(--erp-radius);
  background: var(--erp-surface-bg);
  color: var(--erp-loader-label-color);
  box-shadow: none;
}

.erp-loader-shell--page .erp-loader {
  --erp-loader-current-size: var(--erp-loader-size-lg);
  --erp-loader-current-thickness: 0.22rem;
  --erp-loader-current-inner-thickness: 0.14rem;
}

.erp-loader-shell--page .erp-loader-label {
  font-size: 0.92rem;
}

.erp-inline-loader,
.erp-widget-loading,
.erp-retur-loading,
.erp-comenzi-detail-loader {
  min-height: 5.5rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--erp-border-color);
  border-radius: var(--erp-radius);
  background: var(--erp-surface-contrast) !important;
  color: var(--erp-loader-label-muted) !important;
  box-shadow: none !important;
}

.erp-widget-loading {
  min-height: 120px;
}

.erp-widget-loading .erp-loader,
.erp-retur-loading .erp-loader,
.erp-inline-loader .erp-loader,
.erp-comenzi-detail-loader .erp-loader {
  --erp-loader-current-size: var(--erp-loader-size);
}

.erp-button-loader {
  --erp-loader-current-size: 0.95rem;
  --erp-loader-current-thickness: 0.14rem;
  --erp-loader-current-inner-thickness: 0.09rem;
  flex: 0 0 auto;
  vertical-align: middle;
}

.erp-global-blocker {
  position: fixed;
  top: var(--erp-header-height);
  right: 0;
  bottom: 0;
  left: var(--erp-sidebar-width);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

body.erp-sidebar-collapsed .erp-global-blocker {
  left: var(--erp-sidebar-collapsed-width);
}

.erp-global-blocker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 17, 24, 0.58);
  backdrop-filter: blur(2px);
}

.erp-global-blocker-card {
  position: relative;
  z-index: 1;
}

[data-bs-theme="light"] .erp-global-blocker-backdrop {
  background: rgba(241, 245, 249, 0.76);
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-comenzi-page-overlay,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-page-overlay,
[data-erp-comenzi-page="comenzi_probleme"] .erp-comenzi-page-overlay,
[data-erp-comenzi-page="lista_comenzi_toate"] .erp-comenzi-page-overlay,
[data-erp-comenzi-page="lista_comenzi_avizate"] .erp-comenzi-page-overlay,
[data-erp-comenzi-page="lista_comenzi_in_livrare"] .erp-comenzi-page-overlay,
[data-erp-curieri-page^="rapoarte_curier"] .erp-comenzi-page-overlay,
[data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-comenzi-page-overlay,
[data-product-translations-page] .erp-comenzi-page-overlay,
[data-erp-restituiri-page="restituiri_lista_procesate"] .erp-comenzi-page-overlay {
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(12, 17, 24, 0.56);
  backdrop-filter: blur(2px);
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="comenzi_probleme"] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="lista_comenzi_toate"] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="lista_comenzi_avizate"] .erp-comenzi-page-overlay-box,
[data-erp-comenzi-page="lista_comenzi_in_livrare"] .erp-comenzi-page-overlay-box,
[data-erp-curieri-page^="rapoarte_curier"] .erp-comenzi-page-overlay-box,
[data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-comenzi-page-overlay-box,
[data-product-translations-page] .erp-comenzi-page-overlay-box,
[data-erp-restituiri-page="restituiri_lista_procesate"] .erp-comenzi-page-overlay-box {
  min-width: min(15rem, 100%);
  padding: 1.25rem 1.35rem;
  border-radius: var(--erp-radius);
  border-color: var(--erp-border-color) !important;
  background: var(--erp-surface-bg) !important;
  color: var(--erp-loader-label-color) !important;
  box-shadow: none !important;
}

[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-comenzi-page-overlay-box .erp-loader,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-page-overlay-box .erp-loader,
[data-erp-comenzi-page="comenzi_probleme"] .erp-comenzi-page-overlay-box .erp-loader,
[data-erp-comenzi-page="lista_comenzi_toate"] .erp-comenzi-page-overlay-box .erp-loader,
[data-erp-comenzi-page="lista_comenzi_avizate"] .erp-comenzi-page-overlay-box .erp-loader,
[data-erp-comenzi-page="lista_comenzi_in_livrare"] .erp-comenzi-page-overlay-box .erp-loader,
[data-erp-curieri-page^="rapoarte_curier"] .erp-comenzi-page-overlay-box .erp-loader,
[data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-comenzi-page-overlay-box .erp-loader,
[data-product-translations-page] .erp-comenzi-page-overlay-box .erp-loader,
[data-erp-restituiri-page="restituiri_lista_procesate"] .erp-comenzi-page-overlay-box .erp-loader {
  --erp-loader-current-size: var(--erp-loader-size-lg);
  --erp-loader-current-thickness: 0.22rem;
  --erp-loader-current-inner-thickness: 0.14rem;
}

[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-erp-comenzi-page="comenzi_probleme"] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-erp-comenzi-page="lista_comenzi_toate"] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-erp-comenzi-page="lista_comenzi_in_livrare"] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-erp-curieri-page^="rapoarte_curier"] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-product-translations-page] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-erp-restituiri-page="restituiri_lista_procesate"] .erp-comenzi-page-overlay {
  background: rgba(241, 245, 249, 0.72);
}

[data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-comenzi-page-overlay,
[data-erp-restituiri-page="restituiri_lista_procesate"] .erp-comenzi-page-overlay,
[data-erp-comenzi-page="comenzi_neconfirmate"] .erp-comenzi-page-overlay,
[data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-page-overlay,
[data-erp-curieri-page^="rapoarte_curier"] .erp-comenzi-page-overlay,
[data-erp-comenzi-page="comenzi_probleme"] .erp-comenzi-page-overlay,
[data-erp-comenzi-page="lista_comenzi_toate"] .erp-comenzi-page-overlay,
[data-erp-comenzi-page="lista_comenzi_avizate"] .erp-comenzi-page-overlay,
[data-product-translations-page] .erp-comenzi-page-overlay,
[data-erp-comenzi-page="lista_comenzi_in_livrare"] .erp-comenzi-page-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--erp-sidebar-width);
  z-index: 2000;
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}

body.erp-sidebar-collapsed [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-comenzi-page-overlay,
body.erp-sidebar-collapsed [data-erp-restituiri-page="restituiri_lista_procesate"] .erp-comenzi-page-overlay,
body.erp-sidebar-collapsed [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-comenzi-page-overlay,
body.erp-sidebar-collapsed [data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-page-overlay,
body.erp-sidebar-collapsed [data-erp-curieri-page^="rapoarte_curier"] .erp-comenzi-page-overlay,
body.erp-sidebar-collapsed [data-erp-comenzi-page="comenzi_probleme"] .erp-comenzi-page-overlay,
body.erp-sidebar-collapsed [data-erp-comenzi-page="lista_comenzi_toate"] .erp-comenzi-page-overlay,
body.erp-sidebar-collapsed [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-comenzi-page-overlay,
body.erp-sidebar-collapsed [data-product-translations-page] .erp-comenzi-page-overlay,
body.erp-sidebar-collapsed [data-erp-comenzi-page="lista_comenzi_in_livrare"] .erp-comenzi-page-overlay {
  left: var(--erp-sidebar-collapsed-width);
}

[data-erp-restituiri-page="restituiri_lista_asteptare"] .dataTables_wrapper .dataTables_processing,
[data-erp-restituiri-page="restituiri_lista_procesate"] .dataTables_wrapper .dataTables_processing,
[data-erp-comenzi-page="comenzi_neconfirmate"] .dataTables_wrapper .dataTables_processing,
[data-erp-comenzi-page="comenzi_confirmate"] .dataTables_wrapper .dataTables_processing,
[data-erp-curieri-page^="rapoarte_curier"] .dataTables_wrapper .dataTables_processing,
[data-erp-comenzi-page="comenzi_probleme"] .dataTables_wrapper .dataTables_processing,
[data-erp-comenzi-page="lista_comenzi_toate"] .dataTables_wrapper .dataTables_processing,
[data-erp-comenzi-page="lista_comenzi_avizate"] .dataTables_wrapper .dataTables_processing,
[data-product-translations-page] .dataTables_wrapper .dataTables_processing,
[data-erp-comenzi-page="lista_comenzi_in_livrare"] .dataTables_wrapper .dataTables_processing {
  display: none !important;
}

.erp-product-translations-modal-wrap .modal-dialog {
  max-width: min(1180px, calc(100vw - 1.5rem));
}

.erp-product-translations-modal-wrap .modal-md {
  max-width: min(860px, calc(100vw - 1.5rem));
}

.erp-product-translations-modal {
  overflow: hidden;
  border: 1px solid var(--erp-border-color);
  border-radius: var(--erp-radius);
  background: var(--erp-surface-bg);
  color: var(--erp-surface-text);
  box-shadow: 0 22px 46px rgba(2, 6, 23, 0.38);
}

.erp-product-translations-modal-header {
  min-height: 0;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--erp-border-color);
  background: var(--erp-surface-header);
  color: var(--erp-surface-heading);
}

.erp-product-translations-modal-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.erp-product-translations-modal-title-wrap .modal-title {
  margin: 0;
  color: var(--erp-surface-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.erp-product-translations-modal-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--erp-border-color);
  border-radius: var(--erp-radius);
  background: var(--erp-surface-contrast);
  color: var(--erp-surface-heading);
}

.erp-product-translations-modal-close {
  opacity: 0.95;
  filter: invert(1) grayscale(1) brightness(1.85);
}

.erp-product-translations-modal-body {
  padding: 0.9rem;
  background: var(--erp-surface-bg);
  color: var(--erp-surface-text);
}

.erp-product-translations-modal-content {
  width: 100%;
  min-width: 0;
}

.erp-product-translations-modal-content > *,
.erp-product-translations-modal-body > .erp-product-translations-language-card {
  width: 100%;
}

.erp-product-translations-modal-placeholder {
  width: 100%;
  min-height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--erp-border-color);
  border-radius: var(--erp-radius);
  background: var(--erp-surface-elevated);
  color: var(--erp-surface-text-muted);
  font-weight: 600;
}

.erp-product-translations-form {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

.erp-product-translations-field {
  width: 100%;
  min-width: 0;
  margin-bottom: 0 !important;
  padding: 0.8rem;
  border: 1px solid var(--erp-border-color);
  border-radius: var(--erp-radius);
  background: var(--erp-surface-elevated);
}

.erp-product-translations-form .form-label {
  color: var(--erp-surface-heading);
  font-weight: 700;
}

.erp-product-translations-form .form-control,
.erp-product-translations-form .form-select,
.erp-product-translations-form textarea {
  width: 100%;
  min-width: 0;
  border-color: var(--erp-border-color-strong);
  background: var(--erp-control-bg);
  color: var(--erp-control-text);
}

.erp-product-translations-description-editor {
  min-height: 500px;
}

.erp-product-translations-form .form-control:focus,
.erp-product-translations-form .form-select:focus {
  border-color: var(--erp-border-color-strong);
  background: var(--erp-control-bg);
  color: var(--erp-control-text);
  box-shadow: 0 0 0 0.18rem var(--erp-focus-ring);
}

.erp-product-translations-form .form-control[readonly],
.erp-product-translations-form .form-control:disabled,
.erp-product-translations-form .form-select:disabled {
  background: var(--erp-surface-contrast);
  color: var(--erp-surface-text-muted);
  opacity: 1;
}

.erp-product-translations-readonly {
  border: 1px solid var(--erp-border-color);
  background: var(--erp-surface-contrast);
  color: var(--erp-surface-text-muted);
}

.erp-product-translations-actions-bar {
  width: 100%;
  min-width: 0;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--erp-border-color);
  border-radius: var(--erp-radius);
  background: var(--erp-surface-contrast);
}

.erp-product-translations-modal .btn-info-light,
.erp-product-translations-modal .btn-info {
  border-color: var(--erp-border-color-strong);
  background: var(--erp-surface-header);
  color: var(--erp-surface-heading);
}

.erp-product-translations-modal .btn-info-light:hover,
.erp-product-translations-modal .btn-info-light:focus,
.erp-product-translations-modal .btn-info:hover,
.erp-product-translations-modal .btn-info:focus {
  border-color: var(--erp-border-color-strong);
  background: var(--erp-surface-hover-strong);
  color: var(--erp-surface-heading);
}

.erp-product-translations-modal .cke_chrome {
  width: 100% !important;
  overflow: hidden;
  border: 1px solid var(--erp-border-color-strong) !important;
  border-radius: var(--erp-radius);
  background: var(--erp-control-bg) !important;
  color: var(--erp-control-text);
}

.erp-product-translations-modal .cke_top,
.erp-product-translations-modal .cke_bottom {
  border-color: var(--erp-border-color) !important;
  background: var(--erp-surface-header) !important;
}

.erp-product-translations-modal .cke_toolgroup,
.erp-product-translations-modal .cke_combo_button {
  border-color: var(--erp-border-color) !important;
  background: var(--erp-surface-elevated) !important;
}

.erp-product-translations-modal .cke_button_icon,
.erp-product-translations-modal .cke_combo_arrow {
  filter: none;
}

.erp-product-translations-modal .cke_wysiwyg_frame,
.erp-product-translations-modal .cke_wysiwyg_div {
  background: #ffffff !important;
}

.erp-product-translations-language-card {
  margin-bottom: 0;
}

.erp-product-translations-preview {
  padding: 0.85rem;
  border: 1px solid var(--erp-border-color);
  border-radius: var(--erp-radius);
  background: var(--erp-surface-elevated);
  color: var(--erp-surface-text);
}

.erp-product-translations-preview table {
  border-color: var(--erp-border-color);
  color: inherit;
}

.erp-product-translations-preview :is(h1, h2, h3, h4, h5, h6, strong, b) {
  color: var(--erp-surface-heading);
}

[data-bs-theme="light"] .erp-product-translations-modal {
  border-color: #b6bec8;
  background: #eceff2;
  color: #1f2937;
  box-shadow: 0 18px 34px rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-product-translations-modal-header {
  border-bottom-color: #b6bec8;
  background: var(--erp-card-header-bg);
  color: #111827;
}

[data-bs-theme="light"] .erp-product-translations-modal-title-wrap .modal-title,
[data-bs-theme="light"] .erp-product-translations-form .form-label,
[data-bs-theme="light"] .erp-product-translations-preview :is(h1, h2, h3, h4, h5, h6, strong, b) {
  color: #111827;
}

[data-bs-theme="light"] .erp-product-translations-modal-icon,
[data-bs-theme="light"] .erp-product-translations-field,
[data-bs-theme="light"] .erp-product-translations-modal-placeholder,
[data-bs-theme="light"] .erp-product-translations-preview {
  border-color: #cbd2d9;
  background: #f6f7f8;
  color: #1f2937;
}

[data-bs-theme="light"] .erp-product-translations-modal-body {
  background: #eceff2;
  color: #1f2937;
}

[data-bs-theme="light"] .erp-product-translations-actions-bar,
[data-bs-theme="light"] .erp-product-translations-readonly {
  border-color: #cbd2d9;
  background: #e4e7ea;
  color: #475569;
}

[data-bs-theme="light"] .erp-product-translations-form .form-control,
[data-bs-theme="light"] .erp-product-translations-form .form-select {
  border-color: #bcc4cc;
  background: #ffffff;
  color: #111827;
}

[data-bs-theme="light"] .erp-product-translations-form .form-control:focus,
[data-bs-theme="light"] .erp-product-translations-form .form-select:focus {
  background: #ffffff;
  color: #111827;
}

[data-bs-theme="light"] .erp-product-translations-form .form-control[readonly],
[data-bs-theme="light"] .erp-product-translations-form .form-control:disabled,
[data-bs-theme="light"] .erp-product-translations-form .form-select:disabled {
  background: #eef0f2;
  color: #64748b;
}

[data-bs-theme="light"] .erp-product-translations-modal .btn-info-light,
[data-bs-theme="light"] .erp-product-translations-modal .btn-info {
  border-color: #bcc4cc;
  background: #ffffff;
  color: #1f2937;
}

[data-bs-theme="light"] .erp-product-translations-modal .btn-info-light:hover,
[data-bs-theme="light"] .erp-product-translations-modal .btn-info-light:focus,
[data-bs-theme="light"] .erp-product-translations-modal .btn-info:hover,
[data-bs-theme="light"] .erp-product-translations-modal .btn-info:focus {
  border-color: #aab4bf;
  background: #dde1e5;
  color: #111827;
}

[data-bs-theme="light"] .erp-product-translations-modal-close {
  filter: none;
}

[data-bs-theme="light"] .erp-product-translations-modal .cke_chrome {
  border-color: #bcc4cc !important;
  background: #ffffff !important;
}

[data-bs-theme="light"] .erp-product-translations-modal .cke_top,
[data-bs-theme="light"] .erp-product-translations-modal .cke_bottom {
  border-color: #cbd2d9 !important;
  background: #e4e7ea !important;
}

[data-bs-theme="light"] .erp-product-translations-modal .cke_toolgroup,
[data-bs-theme="light"] .erp-product-translations-modal .cke_combo_button {
  border-color: #cbd2d9 !important;
  background: #ffffff !important;
}

@media (max-width: 767.98px) {
  .erp-product-translations-modal-header,
  .erp-product-translations-modal-body {
    padding: 0.75rem;
  }

  .erp-product-translations-modal-title-wrap {
    gap: 0.55rem;
  }

  .erp-product-translations-modal-icon {
    width: 2rem;
    height: 2rem;
  }

  .erp-product-translations-actions-bar .ms-auto {
    width: 100%;
    margin-left: 0 !important;
  }

  .erp-product-translations-actions-bar .btn {
    width: 100%;
  }
}

[data-erp-retururi-page="retururi_lista"] .erp-comenzi-page-overlay,
[data-erp-retururi-page="retururi_procesate_in_asteptare"] .erp-comenzi-page-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--erp-sidebar-width);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 1rem;
  background: rgba(12, 17, 24, 0.56);
  backdrop-filter: blur(2px);
}

[data-erp-retururi-page="retururi_lista"] .erp-comenzi-page-overlay.is-active,
[data-erp-retururi-page="retururi_procesate_in_asteptare"] .erp-comenzi-page-overlay.is-active {
  display: flex;
}

[data-erp-retururi-page="retururi_lista"] .erp-comenzi-page-overlay-box,
[data-erp-retururi-page="retururi_procesate_in_asteptare"] .erp-comenzi-page-overlay-box {
  min-width: min(15rem, 100%);
  padding: 1.25rem 1.35rem;
  border-radius: var(--erp-radius);
  border-color: var(--erp-border-color) !important;
  background: var(--erp-surface-bg) !important;
  color: var(--erp-loader-label-color) !important;
  box-shadow: none !important;
}

[data-erp-retururi-page="retururi_lista"] .erp-comenzi-page-overlay-box .erp-loader,
[data-erp-retururi-page="retururi_procesate_in_asteptare"] .erp-comenzi-page-overlay-box .erp-loader {
  --erp-loader-current-size: var(--erp-loader-size-lg);
  --erp-loader-current-thickness: 0.22rem;
  --erp-loader-current-inner-thickness: 0.14rem;
}

[data-bs-theme="light"] [data-erp-retururi-page="retururi_lista"] .erp-comenzi-page-overlay,
[data-bs-theme="light"] [data-erp-retururi-page="retururi_procesate_in_asteptare"] .erp-comenzi-page-overlay {
  background: rgba(241, 245, 249, 0.72);
}

body.erp-sidebar-collapsed [data-erp-retururi-page="retururi_lista"] .erp-comenzi-page-overlay,
body.erp-sidebar-collapsed [data-erp-retururi-page="retururi_procesate_in_asteptare"] .erp-comenzi-page-overlay {
  left: var(--erp-sidebar-collapsed-width);
}

[data-erp-retururi-page="retururi_lista"] .dataTables_wrapper .dataTables_processing,
[data-erp-retururi-page="retururi_procesate_in_asteptare"] .dataTables_wrapper .dataTables_processing {
  display: none !important;
}

@media (max-width: 991.98px) {
  [data-erp-retururi-page="retururi_lista"] .erp-comenzi-page-overlay,
  [data-erp-retururi-page="retururi_procesate_in_asteptare"] .erp-comenzi-page-overlay {
    left: 0;
  }
}

.erp-curieri-section-loader,
.erp-rambursuri-section-loader,
.erp-shopify-market-widget-overlay {
  justify-content: center;
  padding: 1rem;
  background: rgba(12, 17, 24, 0.56) !important;
  backdrop-filter: blur(2px);
}

.erp-curieri-section-loader .erp-loader-shell,
.erp-rambursuri-section-loader .erp-loader-shell,
.erp-shopify-market-widget-overlay .erp-widget-loading {
  min-width: min(15rem, 100%);
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--erp-border-color) !important;
  border-radius: var(--erp-radius) !important;
  background: var(--erp-surface-bg) !important;
  color: var(--erp-loader-label-color) !important;
  box-shadow: none !important;
}

.erp-curieri-section-loader .erp-loader,
.erp-rambursuri-section-loader .erp-loader,
.erp-rambursuri-loader-box .erp-loader {
  --erp-loader-current-size: var(--erp-loader-size-lg);
  --erp-loader-current-thickness: 0.22rem;
  --erp-loader-current-inner-thickness: 0.14rem;
}

.erp-rambursuri-loader-box {
  min-width: min(15rem, 100%);
  padding: 1.1rem 1.25rem;
}

[data-bs-theme="light"] .erp-curieri-section-loader,
[data-bs-theme="light"] .erp-rambursuri-section-loader,
[data-bs-theme="light"] .erp-shopify-market-widget-overlay {
  background: rgba(241, 245, 249, 0.72) !important;
}

.erp-shopify-market-widget-overlay .erp-widget-loading {
  width: min(100%, 18rem);
  min-height: auto;
}

.erp-comenzi-detail-loader {
  min-height: 5rem;
}

.dataTables_wrapper .dataTables_processing {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-width: min(14rem, calc(100% - 1.5rem));
  min-height: 5.5rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--erp-border-color) !important;
  border-radius: var(--erp-radius);
  background: var(--erp-surface-bg) !important;
  color: var(--erp-loader-label-muted) !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.dataTables_wrapper .dataTables_processing::before {
  content: "";
  width: var(--erp-loader-size);
  height: var(--erp-loader-size);
  border-radius: 999px;
  border: var(--erp-loader-thickness) solid var(--erp-loader-track);
  border-top-color: var(--erp-loader-accent);
  border-right-color: var(--erp-loader-accent-soft);
  animation: erp-loader-spin 0.88s linear infinite;
}

.dataTables_wrapper .dataTables_processing::after {
  content: "Se incarca ...";
  font-size: 0.88rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--erp-loader-label-muted);
}

@media (max-width: 991.98px) {
  .erp-global-blocker {
    left: 0;
  }

  [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-comenzi-page-overlay,
  [data-erp-restituiri-page="restituiri_lista_procesate"] .erp-comenzi-page-overlay,
  [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-comenzi-page-overlay,
  [data-erp-comenzi-page="comenzi_confirmate"] .erp-comenzi-page-overlay,
  [data-erp-curieri-page^="rapoarte_curier"] .erp-comenzi-page-overlay,
  [data-erp-comenzi-page="comenzi_probleme"] .erp-comenzi-page-overlay,
  [data-erp-comenzi-page="lista_comenzi_toate"] .erp-comenzi-page-overlay,
  [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-comenzi-page-overlay,
  [data-product-translations-page] .erp-comenzi-page-overlay,
  [data-erp-comenzi-page="lista_comenzi_in_livrare"] .erp-comenzi-page-overlay {
    left: 0;
  }
}

html body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-restituiri-waiting-card,
html body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-restituiri-waiting-card .card-body,
html body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-restituiri-waiting-card .erp-table-card-body,
html body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-restituiri-waiting-card .erp-restituiri-table-wrap.erp-datatable,
html body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-restituiri-waiting-card .dataTables_wrapper,
html body [data-erp-restituiri-page="restituiri_lista_asteptare"] #erp-restituiri-asteptare-table_wrapper {
  overflow: visible !important;
}

html body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-restituiri-waiting-card .erp-restituiri-table-wrap.erp-datatable {
  overflow: visible !important;
}

html body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-restituire-entry,
html body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-restituire-inline-actions,
html body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-restituiri-waiting-card .dropdown {
  overflow: visible !important;
}

html body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-restituiri-waiting-card .dropdown-menu {
  z-index: 2200 !important;
}

html body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-restituiri-waiting-card .erp-restituire-options-dropdown.dropup .dropdown-menu {
  margin-bottom: 0.35rem !important;
}

html body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-restituire-dropdown-floating {
  position: fixed !important;
  z-index: 2300 !important;
}

/* Final ERP DataTable contract.
 * Keep this at the end so legacy route styles cannot override the shared table class.
 */
:root {
  --erp-dt-header-bg: #252a2f;
  --erp-dt-header-text: #d9dee4;
  --erp-dt-filter-bg: #2d3238;
  --erp-dt-filter-control-bg: #252a2f;
  --erp-dt-filter-control-text: #eef2f5;
  --erp-dt-filter-placeholder: #9aa6b2;
  --erp-dt-body-bg: #343a40;
  --erp-dt-row-odd-bg: #3a4047;
  --erp-dt-row-even-bg: #343a40;
  --erp-dt-row-hover-bg: #464d55;
  --erp-dt-border: #58606a;
}

[data-bs-theme="light"] {
  --erp-dt-header-bg: #252a2f;
  --erp-dt-header-text: #d9dee4;
  --erp-dt-filter-bg: #2d3238;
  --erp-dt-filter-control-bg: #252a2f;
  --erp-dt-filter-control-text: #eef2f5;
  --erp-dt-filter-placeholder: #9aa6b2;
  --erp-dt-body-bg: #eceff2;
  --erp-dt-row-odd-bg: #e3e7eb;
  --erp-dt-row-even-bg: #eceff2;
  --erp-dt-row-hover-bg: #d5dbe1;
  --erp-dt-border: #b6bec8;
}

body .erp-card {
  border: 1px solid var(--erp-border-color) !important;
  border-radius: var(--erp-radius) !important;
  background: var(--erp-surface-bg) !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--erp-surface-text) !important;
}

body .erp-card > .erp-card-header {
  min-height: 0 !important;
  padding: 0.5rem !important;
  border-color: var(--erp-border-color) !important;
  background: var(--erp-surface-header) !important;
  background-image: none !important;
  color: var(--erp-surface-heading) !important;
  border-top-left-radius: calc(var(--erp-radius) - 1px) !important;
  border-top-right-radius: calc(var(--erp-radius) - 1px) !important;
}

body .erp-datatable.card-body,
body .erp-datatable.box-body,
body .erp-table-card-body.erp-datatable,
body [data-erp-comenzi-page] .erp-table-card-body.erp-datatable,
body .erp-curieri-report-widget .erp-table-card-body.erp-datatable,
body .erp-rambursuri-upload-widget .erp-table-card-body.erp-datatable,
body .erp-rambursuri-curier-widget .erp-table-card-body.erp-datatable {
  margin: 0 !important;
  padding: 0 !important;
  border-radius: var(--erp-radius) !important;
  background: transparent !important;
  background-image: none !important;
  border-color: var(--erp-border-color) !important;
  color: var(--erp-surface-text) !important;
}

body .erp-datatable.table-responsive,
body .erp-table-card-body > .table-responsive.erp-datatable,
body [data-erp-comenzi-page] .erp-table-card-body > .table-responsive.erp-datatable,
body .erp-curieri-report-widget .erp-table-card-body > .table-responsive.erp-datatable,
body .erp-rambursuri-upload-widget .erp-table-card-body > .table-responsive.erp-datatable,
body .erp-rambursuri-curier-widget .erp-table-card-body > .table-responsive.erp-datatable {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: var(--erp-radius) !important;
  background: transparent !important;
  background-image: none !important;
  border-color: var(--erp-dt-border) !important;
}

body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-table-card-body.erp-datatable,
body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-table-card-body > .erp-restituiri-table-wrap.erp-datatable,
body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-table-card-body > .erp-restituiri-table-wrap.erp-datatable .dataTables_wrapper,
body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-table-card-body > .erp-restituiri-table-wrap.erp-datatable table.erp-datatable {
  overflow: visible !important;
}

body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-table-card-body > .erp-restituiri-table-wrap.erp-datatable {
  overflow: visible !important;
}

body [data-erp-restituiri-page="restituiri_lista_asteptare"] .dropdown-menu {
  z-index: 2100 !important;
}

body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-restituire-options-dropdown.dropup .dropdown-menu {
  margin-bottom: 0.35rem !important;
}

body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-restituire-dropdown-floating {
  position: fixed !important;
  z-index: 2300 !important;
}

@media (max-width: 991.98px) {
  body [data-erp-restituiri-page="restituiri_lista_asteptare"] .erp-table-card-body > .erp-restituiri-table-wrap.erp-datatable {
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
}

body table.erp-datatable,
body table.erp-datatable.table,
body table.erp-datatable.dataTable,
body table.erp-datatable.dataTable.no-footer,
body .dataTables_wrapper.erp-datatable table.erp-datatable,
body [data-erp-comenzi-page] .dataTables_wrapper.erp-datatable table.erp-datatable,
body [data-erp-curieri-page^="rapoarte_curier"] .dataTables_wrapper.erp-datatable table.erp-datatable,
body .erp-curieri-report-widget .dataTables_wrapper.erp-datatable table.erp-datatable,
body .erp-rambursuri-upload-widget table.erp-datatable,
body .erp-rambursuri-curier-widget .dataTables_wrapper.erp-datatable table.erp-datatable {
  width: 100% !important;
  margin: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border: 0 !important;
  border-radius: var(--erp-radius) !important;
  background: transparent !important;
  background-image: none !important;
  color: var(--erp-surface-text) !important;
  box-shadow: none !important;
  --bs-table-bg: var(--erp-dt-body-bg);
  --bs-table-color: var(--erp-surface-text);
  --bs-table-border-color: var(--erp-dt-border);
  --bs-table-striped-bg: var(--erp-dt-row-odd-bg);
  --bs-table-hover-bg: var(--erp-dt-row-hover-bg);
  --bs-table-accent-bg: transparent;
}

body table.erp-datatable > :not(caption) > * > *,
body .dataTables_wrapper.erp-datatable table.erp-datatable > :not(caption) > * > *,
body [data-erp-comenzi-page] .dataTables_wrapper.erp-datatable table.erp-datatable > :not(caption) > * > *,
body [data-erp-curieri-page^="rapoarte_curier"] .dataTables_wrapper.erp-datatable table.erp-datatable > :not(caption) > * > *,
body .erp-curieri-report-widget .dataTables_wrapper.erp-datatable table.erp-datatable > :not(caption) > * > *,
body .erp-rambursuri-upload-widget table.erp-datatable > :not(caption) > * > *,
body .erp-rambursuri-curier-widget .dataTables_wrapper.erp-datatable table.erp-datatable > :not(caption) > * > * {
  border-color: var(--erp-dt-border) !important;
  background-image: none !important;
  box-shadow: none !important;
}

body table.erp-datatable thead th,
body table.erp-datatable thead td,
body .dataTables_wrapper.erp-datatable table.erp-datatable thead th,
body .dataTables_wrapper.erp-datatable table.erp-datatable thead td,
body [data-erp-comenzi-page] .erp-table-card-body table.erp-datatable thead th,
body [data-erp-comenzi-page] .erp-table-card-body table.erp-datatable thead td,
body [data-erp-curieri-page^="rapoarte_curier"] table.erp-datatable thead th,
body [data-erp-curieri-page^="rapoarte_curier"] table.erp-datatable thead td,
body .erp-curieri-report-widget .erp-table-card-body table.erp-datatable thead th,
body .erp-curieri-report-widget .erp-table-card-body table.erp-datatable thead td,
body .erp-rambursuri-upload-widget table.erp-datatable thead th,
body .erp-rambursuri-upload-widget table.erp-datatable thead td,
body .erp-rambursuri-curier-widget table.erp-datatable thead th,
body .erp-rambursuri-curier-widget table.erp-datatable thead td {
  padding: 0.5rem 0.75rem !important;
  border-color: var(--erp-dt-border) !important;
  background: var(--erp-dt-header-bg) !important;
  background-image: none !important;
  color: var(--erp-dt-header-text) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

body table.erp-datatable.dataTable thead .sorting,
body table.erp-datatable.dataTable thead .sorting_asc,
body table.erp-datatable.dataTable thead .sorting_desc,
body table.erp-datatable.dataTable thead .sorting_asc_disabled,
body table.erp-datatable.dataTable thead .sorting_desc_disabled,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_asc,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_desc,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_asc_disabled,
body .dataTables_wrapper.erp-datatable table.erp-datatable.dataTable thead .sorting_desc_disabled {
  box-sizing: border-box !important;
  padding-right: 2.35rem !important;
  position: relative !important;
}

body table.erp-datatable.dataTable thead .sorting::before,
body table.erp-datatable.dataTable thead .sorting::after,
body table.erp-datatable.dataTable thead .sorting_asc::before,
body table.erp-datatable.dataTable thead .sorting_asc::after,
body table.erp-datatable.dataTable thead .sorting_desc::before,
body table.erp-datatable.dataTable thead .sorting_desc::after,
body table.erp-datatable.dataTable thead .sorting_asc_disabled::before,
body table.erp-datatable.dataTable thead .sorting_asc_disabled::after,
body table.erp-datatable.dataTable thead .sorting_desc_disabled::before,
body table.erp-datatable.dataTable thead .sorting_desc_disabled::after {
  right: 0.75rem !important;
  bottom: auto !important;
  color: var(--erp-dt-header-text) !important;
  font-size: 0.62rem !important;
  line-height: 1 !important;
  opacity: 0.75 !important;
  transform: none !important;
}

body table.erp-datatable.dataTable thead .sorting::before,
body table.erp-datatable.dataTable thead .sorting_asc::before,
body table.erp-datatable.dataTable thead .sorting_desc::before,
body table.erp-datatable.dataTable thead .sorting_asc_disabled::before,
body table.erp-datatable.dataTable thead .sorting_desc_disabled::before {
  top: calc(50% - 0.55rem) !important;
}

body table.erp-datatable.dataTable thead .sorting::after,
body table.erp-datatable.dataTable thead .sorting_asc::after,
body table.erp-datatable.dataTable thead .sorting_desc::after,
body table.erp-datatable.dataTable thead .sorting_asc_disabled::after,
body table.erp-datatable.dataTable thead .sorting_desc_disabled::after {
  top: calc(50% + 0.1rem) !important;
}

body table.erp-datatable tbody th,
body table.erp-datatable tbody td,
body .dataTables_wrapper.erp-datatable table.erp-datatable tbody th,
body .dataTables_wrapper.erp-datatable table.erp-datatable tbody td,
body [data-erp-comenzi-page] .erp-table-card-body table.erp-datatable tbody th,
body [data-erp-comenzi-page] .erp-table-card-body table.erp-datatable tbody td,
body [data-erp-curieri-page^="rapoarte_curier"] table.erp-datatable tbody th,
body [data-erp-curieri-page^="rapoarte_curier"] table.erp-datatable tbody td,
body .erp-curieri-report-widget .erp-table-card-body table.erp-datatable tbody th,
body .erp-curieri-report-widget .erp-table-card-body table.erp-datatable tbody td,
body .erp-rambursuri-upload-widget table.erp-datatable tbody th,
body .erp-rambursuri-upload-widget table.erp-datatable tbody td,
body .erp-rambursuri-curier-widget table.erp-datatable tbody th,
body .erp-rambursuri-curier-widget table.erp-datatable tbody td {
  padding: 0.2rem 0.35rem !important;
  border-color: var(--erp-dt-border) !important;
  background: var(--erp-dt-body-bg) !important;
  background-image: none !important;
  color: var(--erp-surface-text) !important;
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  vertical-align: middle !important;
  box-shadow: none !important;
}

body table.erp-datatable tbody tr:nth-child(odd) > *,
body table.erp-datatable.table-striped > tbody > tr:nth-of-type(odd) > *,
body table.erp-datatable.dataTable.display tbody tr.odd > .sorting_1,
body table.erp-datatable.dataTable.order-column.stripe tbody tr.odd > .sorting_1,
body .dataTables_wrapper.erp-datatable table.erp-datatable tbody tr:nth-child(odd) > *,
body [data-erp-comenzi-page] .dataTables_wrapper.erp-datatable table.erp-datatable tbody tr:nth-child(odd) > *,
body [data-erp-curieri-page^="rapoarte_curier"] .dataTables_wrapper.erp-datatable table.erp-datatable tbody tr:nth-child(odd) > *,
body .erp-rambursuri-upload-widget table.erp-datatable tbody tr:nth-child(odd) > * {
  background: var(--erp-dt-row-odd-bg) !important;
  background-image: none !important;
  color: var(--erp-surface-text) !important;
  --bs-table-accent-bg: var(--erp-dt-row-odd-bg) !important;
}

body table.erp-datatable tbody tr:nth-child(even) > *,
body table.erp-datatable.dataTable.display tbody tr.even > .sorting_1,
body table.erp-datatable.dataTable.order-column.stripe tbody tr.even > .sorting_1,
body .dataTables_wrapper.erp-datatable table.erp-datatable tbody tr:nth-child(even) > *,
body [data-erp-comenzi-page] .dataTables_wrapper.erp-datatable table.erp-datatable tbody tr:nth-child(even) > *,
body [data-erp-curieri-page^="rapoarte_curier"] .dataTables_wrapper.erp-datatable table.erp-datatable tbody tr:nth-child(even) > *,
body .erp-rambursuri-upload-widget table.erp-datatable tbody tr:nth-child(even) > * {
  background: var(--erp-dt-row-even-bg) !important;
  background-image: none !important;
  color: var(--erp-surface-text) !important;
  --bs-table-accent-bg: var(--erp-dt-row-even-bg) !important;
}

body table.erp-datatable tbody tr:hover > *,
body table.erp-datatable.table-hover > tbody > tr:hover > *,
body table.erp-datatable.dataTable.hover tbody tr:hover > *,
body table.erp-datatable.dataTable.display tbody tr:hover > *,
body .dataTables_wrapper.erp-datatable table.erp-datatable tbody tr:hover > *,
body [data-erp-comenzi-page] .dataTables_wrapper.erp-datatable table.erp-datatable tbody tr:hover > *,
body [data-erp-curieri-page^="rapoarte_curier"] .dataTables_wrapper.erp-datatable table.erp-datatable tbody tr:hover > *,
body .erp-rambursuri-upload-widget table.erp-datatable tbody tr:hover > * {
  background: var(--erp-dt-row-hover-bg) !important;
  background-image: none !important;
  color: var(--erp-surface-heading) !important;
  --bs-table-accent-bg: var(--erp-dt-row-hover-bg) !important;
}

body table.erp-datatable thead tr.erp-table-filters > th,
body table.erp-datatable thead tr.erp-table-filters > td,
body table.erp-datatable thead tr.erp-rambursuri-curier-filters > th,
body table.erp-datatable thead tr.erp-rambursuri-curier-filters > td,
body [data-erp-comenzi-page] table.erp-datatable thead tr.erp-table-filters > th,
body [data-erp-comenzi-page] table.erp-datatable thead tr.erp-table-filters > td,
body .erp-rambursuri-curier-widget table.erp-datatable thead tr.erp-rambursuri-curier-filters > th,
body .erp-rambursuri-curier-widget table.erp-datatable thead tr.erp-rambursuri-curier-filters > td {
  padding: 0.25rem !important;
  background: var(--erp-dt-filter-bg) !important;
  background-image: none !important;
  border-color: var(--erp-dt-border) !important;
}

body table.erp-datatable thead tr.erp-table-filters .form-control,
body table.erp-datatable thead tr.erp-rambursuri-curier-filters .form-control,
body .dataTables_wrapper.erp-datatable .dataTables_length select,
body .dataTables_wrapper.erp-datatable .dataTables_filter input {
  min-height: 1.95rem !important;
  padding: 0.25rem 0.45rem !important;
  border-color: var(--erp-dt-border) !important;
  background: var(--erp-dt-filter-control-bg) !important;
  background-image: none !important;
  color: var(--erp-dt-filter-control-text) !important;
  box-shadow: none !important;
}

body table.erp-datatable thead tr.erp-table-filters .form-control::placeholder,
body table.erp-datatable thead tr.erp-rambursuri-curier-filters .form-control::placeholder,
body .dataTables_wrapper.erp-datatable .dataTables_filter input::placeholder {
  color: var(--erp-dt-filter-placeholder) !important;
  opacity: 0.55 !important;
}

body .dataTables_wrapper.erp-datatable .erp-dt-footer,
body .dataTables_wrapper.erp-datatable > .row:last-child,
body [data-erp-comenzi-page] .dataTables_wrapper.erp-datatable .erp-dt-footer,
body [data-erp-curieri-page^="rapoarte_curier"] .dataTables_wrapper.erp-datatable .erp-dt-footer,
body .erp-rambursuri-curier-widget .dataTables_wrapper.erp-datatable .erp-dt-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0.5rem !important;
  border-top: 1px solid var(--erp-dt-border) !important;
  background: var(--erp-dt-header-bg) !important;
  background-image: none !important;
  color: var(--erp-dt-header-text) !important;
}

body .dataTables_wrapper.erp-datatable .erp-dt-footer .dataTables_length,
body .dataTables_wrapper.erp-datatable .erp-dt-footer .dataTables_info,
body .dataTables_wrapper.erp-datatable .erp-dt-footer .dataTables_paginate,
body .dataTables_wrapper.erp-datatable > .row:last-child .dataTables_length,
body .dataTables_wrapper.erp-datatable > .row:last-child .dataTables_info,
body .dataTables_wrapper.erp-datatable > .row:last-child .dataTables_paginate {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-size: 0.78rem !important;
}

body .dataTables_wrapper.erp-datatable .dataTables_paginate .paginate_button,
body [data-erp-comenzi-page] .dataTables_wrapper.erp-datatable .dataTables_paginate .paginate_button,
body [data-erp-curieri-page^="rapoarte_curier"] .dataTables_wrapper.erp-datatable .dataTables_paginate .paginate_button {
  margin: 0 0.08rem !important;
  padding: 0.25rem 0.5rem !important;
  border: 1px solid var(--erp-dt-border) !important;
  border-radius: var(--erp-radius-sm) !important;
  background: var(--erp-dt-filter-bg) !important;
  background-image: none !important;
  color: var(--erp-dt-header-text) !important;
  box-shadow: none !important;
}

body .dataTables_wrapper.erp-datatable .dataTables_paginate .paginate_button.current,
body .dataTables_wrapper.erp-datatable .dataTables_paginate .paginate_button:hover,
body [data-erp-comenzi-page] .dataTables_wrapper.erp-datatable .dataTables_paginate .paginate_button.current,
body [data-erp-comenzi-page] .dataTables_wrapper.erp-datatable .dataTables_paginate .paginate_button:hover,
body [data-erp-curieri-page^="rapoarte_curier"] .dataTables_wrapper.erp-datatable .dataTables_paginate .paginate_button.current,
body [data-erp-curieri-page^="rapoarte_curier"] .dataTables_wrapper.erp-datatable .dataTables_paginate .paginate_button:hover {
  border-color: var(--erp-border-color-strong) !important;
  background: var(--erp-dt-row-hover-bg) !important;
  background-image: none !important;
  color: var(--erp-surface-heading) !important;
}

/* Absolute final DataTable colors: keep last so legacy route styles and theme styles cannot win. */
html body .erp-card > .erp-card-header {
  padding: 0.5rem !important;
  border-color: #58606a !important;
  background: var(--erp-card-header-bg) !important;
  background-color: var(--erp-card-header-bg) !important;
  background-image: none !important;
  color: var(--erp-surface-heading) !important;
  box-shadow: none !important;
}

html body .erp-card > .erp-card-header .erp-card-title {
  color: inherit !important;
}

html body table.dataTable thead tr:first-child > th,
html body table.dataTable thead tr:first-child > td,
html body table.erp-datatable thead tr:first-child > th,
html body table.erp-datatable thead tr:first-child > td,
html body .dataTables_wrapper table.dataTable thead tr:first-child > th,
html body .dataTables_wrapper table.dataTable thead tr:first-child > td,
html body .dataTables_wrapper table.erp-datatable thead tr:first-child > th,
html body .dataTables_wrapper table.erp-datatable thead tr:first-child > td,
html body .dataTables_scrollHead table.dataTable thead tr:first-child > th,
html body .dataTables_scrollHead table.dataTable thead tr:first-child > td,
html body [data-erp-comenzi-page] table.dataTable thead tr:first-child > th,
html body [data-erp-comenzi-page] table.dataTable thead tr:first-child > td,
html body [data-erp-curieri-page^="rapoarte_curier"] table.dataTable thead tr:first-child > th,
html body [data-erp-curieri-page^="rapoarte_curier"] table.dataTable thead tr:first-child > td,
html body .erp-rambursuri-shell table.dataTable thead tr:first-child > th,
html body .erp-rambursuri-shell table.dataTable thead tr:first-child > td,
html body .erp-rambursuri-shell table.erp-datatable thead tr:first-child > th,
html body .erp-rambursuri-shell table.erp-datatable thead tr:first-child > td {
  --bs-table-bg: #252a2f !important;
  --bs-table-color: #d9dee4 !important;
  --bs-table-border-color: #58606a !important;
  padding: 0.5rem 0.75rem !important;
  border-color: #58606a !important;
  background: #252a2f !important;
  background-color: #252a2f !important;
  background-image: none !important;
  color: #d9dee4 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

html body table.dataTable thead tr:first-child > th *,
html body table.dataTable thead tr:first-child > td *,
html body table.erp-datatable thead tr:first-child > th *,
html body table.erp-datatable thead tr:first-child > td *,
html body .dataTables_scrollHead table.dataTable thead tr:first-child > th *,
html body .dataTables_scrollHead table.dataTable thead tr:first-child > td * {
  color: inherit !important;
}

html body table.dataTable thead tr:first-child > th.sorting,
html body table.dataTable thead tr:first-child > th.sorting_asc,
html body table.dataTable thead tr:first-child > th.sorting_desc,
html body table.dataTable thead tr:first-child > th.sorting_asc_disabled,
html body table.dataTable thead tr:first-child > th.sorting_desc_disabled,
html body table.erp-datatable.dataTable thead tr:first-child > th.sorting,
html body table.erp-datatable.dataTable thead tr:first-child > th.sorting_asc,
html body table.erp-datatable.dataTable thead tr:first-child > th.sorting_desc,
html body table.erp-datatable.dataTable thead tr:first-child > th.sorting_asc_disabled,
html body table.erp-datatable.dataTable thead tr:first-child > th.sorting_desc_disabled {
  padding-right: 2.35rem !important;
}

html body table.dataTable thead tr:first-child > th.sorting::before,
html body table.dataTable thead tr:first-child > th.sorting::after,
html body table.dataTable thead tr:first-child > th.sorting_asc::before,
html body table.dataTable thead tr:first-child > th.sorting_asc::after,
html body table.dataTable thead tr:first-child > th.sorting_desc::before,
html body table.dataTable thead tr:first-child > th.sorting_desc::after,
html body table.dataTable thead tr:first-child > th.sorting_asc_disabled::before,
html body table.dataTable thead tr:first-child > th.sorting_asc_disabled::after,
html body table.dataTable thead tr:first-child > th.sorting_desc_disabled::before,
html body table.dataTable thead tr:first-child > th.sorting_desc_disabled::after {
  right: 0.75rem !important;
  color: #d9dee4 !important;
  opacity: 0.75 !important;
}

html body table.dataTable thead tr:nth-child(n+2) > th,
html body table.dataTable thead tr:nth-child(n+2) > td,
html body table.erp-datatable thead tr:nth-child(n+2) > th,
html body table.erp-datatable thead tr:nth-child(n+2) > td,
html body table.erp-datatable thead tr.erp-table-filters > th,
html body table.erp-datatable thead tr.erp-table-filters > td,
html body table.erp-datatable thead tr.erp-rambursuri-curier-filters > th,
html body table.erp-datatable thead tr.erp-rambursuri-curier-filters > td {
  --bs-table-bg: #2d3238 !important;
  --bs-table-color: #d9dee4 !important;
  padding: 0.25rem !important;
  border-color: #58606a !important;
  background: #2d3238 !important;
  background-color: #2d3238 !important;
  background-image: none !important;
  color: #d9dee4 !important;
  box-shadow: none !important;
}

html body table.dataTable thead tr:nth-child(n+2) .form-control,
html body table.dataTable thead tr:nth-child(n+2) input,
html body table.dataTable thead tr:nth-child(n+2) select,
html body table.erp-datatable thead tr:nth-child(n+2) .form-control,
html body table.erp-datatable thead tr:nth-child(n+2) input,
html body table.erp-datatable thead tr:nth-child(n+2) select {
  border-color: #8b949e !important;
  background: #252a2f !important;
  background-color: #252a2f !important;
  background-image: none !important;
  color: #eef2f5 !important;
  box-shadow: none !important;
}

html body table.dataTable thead tr:nth-child(n+2) input::placeholder,
html body table.erp-datatable thead tr:nth-child(n+2) input::placeholder {
  color: #9aa6b2 !important;
  opacity: 0.55 !important;
}

html body div.dataTables_wrapper .erp-dt-footer,
html body div.dataTables_wrapper.erp-datatable .erp-dt-footer,
html body div.dataTables_wrapper > .row:last-child,
html body div.dataTables_wrapper.erp-datatable > .row:last-child,
html body div.dataTables_wrapper .dt-layout-row:last-child,
html body [data-erp-comenzi-page] div.dataTables_wrapper .erp-dt-footer,
html body [data-erp-curieri-page^="rapoarte_curier"] div.dataTables_wrapper .erp-dt-footer,
html body .erp-rambursuri-shell div.dataTables_wrapper .erp-dt-footer {
  border-color: #58606a !important;
  background: #252a2f !important;
  background-color: #252a2f !important;
  background-image: none !important;
  color: #d9dee4 !important;
  box-shadow: none !important;
}

html body div.dataTables_wrapper .erp-dt-footer *,
html body div.dataTables_wrapper > .row:last-child *,
html body div.dataTables_wrapper .dt-layout-row:last-child * {
  color: inherit !important;
}

/* Specificity lock for the unified DataTable contract. */
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-color: var(--erp-dt-border) !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  --bs-table-bg: var(--erp-dt-body-bg) !important;
  --bs-table-color: var(--erp-surface-text) !important;
  --bs-table-border-color: var(--erp-dt-border) !important;
  --bs-table-striped-bg: var(--erp-dt-row-odd-bg) !important;
  --bs-table-hover-bg: var(--erp-dt-row-hover-bg) !important;
  --bs-table-accent-bg: transparent !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > td,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, .dataTables_scrollHead table.dataTable) thead tr:first-child > th,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, .dataTables_scrollHead table.dataTable) thead tr:first-child > td {
  --bs-table-bg: #252a2f !important;
  --bs-table-color: #d9dee4 !important;
  --bs-table-border-color: #58606a !important;
  padding: 0.5rem 0.75rem !important;
  border-color: #58606a !important;
  background: #252a2f !important;
  background-color: #252a2f !important;
  background-image: none !important;
  color: #d9dee4 !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  box-shadow: none !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th *,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > td * {
  color: inherit !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th.sorting,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th.sorting_asc,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th.sorting_desc,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th.sorting_asc_disabled,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th.sorting_desc_disabled {
  padding-right: 2.35rem !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th.sorting::before,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th.sorting::after,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th.sorting_asc::before,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th.sorting_asc::after,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th.sorting_desc::before,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th.sorting_desc::after,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th.sorting_asc_disabled::before,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th.sorting_asc_disabled::after,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th.sorting_desc_disabled::before,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th.sorting_desc_disabled::after {
  right: 0.75rem !important;
  color: #d9dee4 !important;
  opacity: 0.75 !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:nth-child(n+2) > th,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:nth-child(n+2) > td {
  --bs-table-bg: #2d3238 !important;
  --bs-table-color: #d9dee4 !important;
  padding: 0.25rem !important;
  border-color: #58606a !important;
  background: #2d3238 !important;
  background-color: #2d3238 !important;
  background-image: none !important;
  color: #d9dee4 !important;
  box-shadow: none !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:nth-child(n+2) .form-control,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:nth-child(n+2) input,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:nth-child(n+2) select {
  border-color: #8b949e !important;
  background: #252a2f !important;
  background-color: #252a2f !important;
  background-image: none !important;
  color: #eef2f5 !important;
  box-shadow: none !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:nth-child(n+2) input::placeholder {
  color: #9aa6b2 !important;
  opacity: 0.55 !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) tbody th,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) tbody td {
  padding: 0.2rem 0.35rem !important;
  border-color: var(--erp-dt-border) !important;
  background: var(--erp-dt-body-bg) !important;
  background-color: var(--erp-dt-body-bg) !important;
  background-image: none !important;
  color: var(--erp-surface-text) !important;
  box-shadow: none !important;
  --bs-table-accent-bg: transparent !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) tbody tr:nth-child(odd) > *,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable.table-striped) > tbody > tr:nth-of-type(odd) > *,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable.display, table.dataTable.order-column.stripe) tbody tr.odd > .sorting_1 {
  background: var(--erp-dt-row-odd-bg) !important;
  background-color: var(--erp-dt-row-odd-bg) !important;
  background-image: none !important;
  color: var(--erp-surface-text) !important;
  box-shadow: none !important;
  --bs-table-accent-bg: var(--erp-dt-row-odd-bg) !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) tbody tr:nth-child(even) > *,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable.display, table.dataTable.order-column.stripe) tbody tr.even > .sorting_1 {
  background: var(--erp-dt-row-even-bg) !important;
  background-color: var(--erp-dt-row-even-bg) !important;
  background-image: none !important;
  color: var(--erp-surface-text) !important;
  box-shadow: none !important;
  --bs-table-accent-bg: var(--erp-dt-row-even-bg) !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) tbody tr:hover > *,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable.hover, table.dataTable.display, table.erp-datatable.table-hover) tbody tr:hover > * {
  background: var(--erp-dt-row-hover-bg) !important;
  background-color: var(--erp-dt-row-hover-bg) !important;
  background-image: none !important;
  color: var(--erp-surface-heading) !important;
  box-shadow: none !important;
  --bs-table-accent-bg: var(--erp-dt-row-hover-bg) !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, div.dataTables_wrapper) .erp-dt-footer,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, div.dataTables_wrapper) > .row:last-child,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, div.dataTables_wrapper) .dt-layout-row:last-child {
  border-color: #58606a !important;
  background: #252a2f !important;
  background-color: #252a2f !important;
  background-image: none !important;
  color: #d9dee4 !important;
  box-shadow: none !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, div.dataTables_wrapper) .dataTables_length select,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, div.dataTables_wrapper) .dataTables_filter input,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, div.dataTables_wrapper) .dt-length select,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, div.dataTables_wrapper) .dt-search input {
  border-color: #8b949e !important;
  background: #252a2f !important;
  background-color: #252a2f !important;
  background-image: none !important;
  color: #eef2f5 !important;
  box-shadow: none !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, div.dataTables_wrapper) .dataTables_paginate .paginate_button,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, div.dataTables_wrapper) .dt-paging .dt-paging-button,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, div.dataTables_wrapper) .pagination .page-link {
  border-color: #58606a !important;
  background: #2d3238 !important;
  background-color: #2d3238 !important;
  background-image: none !important;
  color: #d9dee4 !important;
  box-shadow: none !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, div.dataTables_wrapper) .dataTables_paginate .paginate_button.current,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, div.dataTables_wrapper) .dataTables_paginate .paginate_button:hover,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, div.dataTables_wrapper) .dt-paging .dt-paging-button.current,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, div.dataTables_wrapper) .dt-paging .dt-paging-button:hover,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, div.dataTables_wrapper) .pagination .page-item.active .page-link,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, div.dataTables_wrapper) .pagination .page-link:hover {
  border-color: #8b949e !important;
  background: #464d55 !important;
  background-color: #464d55 !important;
  background-image: none !important;
  color: #eef2f5 !important;
  box-shadow: none !important;
}

/* Header sizing rule: data cells decide width; short multi-word headers may wrap to two lines. */
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) {
  table-layout: auto !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > td,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, .dataTables_scrollHead table.dataTable) thead tr:first-child > th,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, .dataTables_scrollHead table.dataTable) thead tr:first-child > td {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  white-space: nowrap !important;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > th.erp-dt-header-wrap,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) thead tr:first-child > td.erp-dt-header-wrap,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, .dataTables_scrollHead table.dataTable) thead tr:first-child > th.erp-dt-header-wrap,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, .dataTables_scrollHead table.dataTable) thead tr:first-child > td.erp-dt-header-wrap {
  width: 1% !important;
  min-width: 3.25rem !important;
  max-width: 8rem !important;
  white-space: normal !important;
}

html body .erp-dt-heading-text {
  display: block !important;
  max-width: 100% !important;
  white-space: nowrap !important;
}

html body .erp-dt-header-wrap > .erp-dt-heading-text {
  display: -webkit-box !important;
  overflow: hidden !important;
  white-space: normal !important;
  line-height: 1.15 !important;
  max-height: 2.3em !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-wrap: balance;
}

html body .erp-dt-header-nowrap > .erp-dt-heading-text {
  overflow: visible !important;
  white-space: nowrap !important;
  max-height: none !important;
  -webkit-line-clamp: initial;
}

html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) tbody > tr > th,
html body :is(#erp-dt-lock-a#erp-dt-lock-b#erp-dt-lock-c, table.dataTable, table.erp-datatable) tbody > tr > td {
  white-space: nowrap !important;
}

/* Single ERP card/widget contract. JS decorates legacy markup with these classes. */
html body :is(#erp-card-style-lock#erp-card-style-lock, .erp-card) {
  overflow: hidden !important;
  border: 1px solid #58606a !important;
  border-radius: 0.4rem !important;
  background: #343a40 !important;
  background-color: #343a40 !important;
  background-image: none !important;
  color: #eef2f5 !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] body :is(#erp-card-style-lock#erp-card-style-lock, .erp-card) {
  border-color: #b6bec8 !important;
  background: #eceff2 !important;
  background-color: #eceff2 !important;
  background-image: none !important;
  color: #1f2937 !important;
  box-shadow: none !important;
}

html body :is(#erp-card-style-lock#erp-card-style-lock, .erp-card) > .erp-card-header,
html body :is(#erp-card-style-lock#erp-card-style-lock, .erp-card) .erp-card-header {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0.5rem !important;
  border-color: #58606a !important;
  border-bottom: 1px solid #58606a !important;
  border-radius: 0 !important;
  background: var(--erp-card-header-bg) !important;
  background-color: var(--erp-card-header-bg) !important;
  background-image: none !important;
  color: var(--erp-surface-heading) !important;
  box-shadow: none !important;
}

html body :is(#erp-card-style-lock#erp-card-style-lock, .erp-card) .erp-card-body {
  margin: 0 !important;
  padding: 0.75rem !important;
  background: transparent !important;
  background-image: none !important;
  color: inherit !important;
  box-shadow: none !important;
}

html body :is(#erp-card-style-lock#erp-card-style-lock, .erp-card) .erp-card-body:is(.erp-table-card-body, .erp-datatable) {
  padding: 0 !important;
}

html body :is(#erp-card-style-lock#erp-card-style-lock, .erp-card) .erp-card-footer {
  margin: 0 !important;
  padding: 0.5rem !important;
  border-color: #58606a !important;
  border-top: 1px solid #58606a !important;
  background: #252a2f !important;
  background-color: #252a2f !important;
  background-image: none !important;
  color: #d9dee4 !important;
  box-shadow: none !important;
}

html body :is(#erp-card-style-lock#erp-card-style-lock, .erp-card-header) .erp-card-title {
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
  color: var(--erp-surface-heading) !important;
}

html body :is(#erp-card-style-lock#erp-card-style-lock, .erp-card-header) .erp-card-subtitle,
html body :is(#erp-card-style-lock#erp-card-style-lock, .erp-card-header) .erp-card-subtitle :is(strong, span, a, code) {
  margin: 0 !important;
  font-size: 0.7rem !important;
  line-height: 1.2 !important;
  color: #9aa6b2 !important;
}

html[data-bs-theme="light"] body :is(#erp-card-style-lock#erp-card-style-lock, .erp-card-header) .erp-card-subtitle,
html[data-bs-theme="light"] body :is(#erp-card-style-lock#erp-card-style-lock, .erp-card-header) .erp-card-subtitle :is(strong, span, a, code) {
  color: #9aa6b2 !important;
}

/* Single ERP options/action dropdown button contract. */
html body :is(#erp-options-style-lock#erp-options-style-lock, .erp-options-toggle) {
  width: 2rem !important;
  height: 2rem !important;
  min-width: 2rem !important;
  min-height: 2rem !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(34, 197, 94, 0.28) !important;
  border-radius: 0.2rem !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #d9dee4 !important;
  box-shadow: none !important;
  line-height: 1 !important;
  text-decoration: none !important;
  vertical-align: middle !important;
}

html body :is(#erp-options-style-lock#erp-options-style-lock, .erp-options-toggle):is(:hover, :focus, :active, .show, [aria-expanded="true"]) {
  border-color: rgba(34, 197, 94, 0.38) !important;
  background: rgba(34, 197, 94, 0.24) !important;
  background-color: rgba(34, 197, 94, 0.24) !important;
  background-image: none !important;
  color: #dcfce7 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

html body :is(#erp-options-style-lock#erp-options-style-lock, .erp-options-toggle).dropdown-toggle::after {
  display: none !important;
}

html body :is(#erp-options-style-lock#erp-options-style-lock, .erp-options-toggle) > :is(.btn, span.btn, .waves-effect, .glyphicon) {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: inherit !important;
  box-shadow: none !important;
  line-height: 1 !important;
}

html body :is(#erp-options-style-lock#erp-options-style-lock, .erp-options-toggle) :is(.fa, .ti, .glyphicon) {
  margin: 0 !important;
  color: inherit !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
}

html[data-bs-theme="light"] body :is(#erp-options-style-lock#erp-options-style-lock, .erp-options-toggle) {
  border-color: rgba(22, 163, 74, 0.24) !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #374151 !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] body :is(#erp-options-style-lock#erp-options-style-lock, .erp-options-toggle):is(:hover, :focus, :active, .show, [aria-expanded="true"]) {
  border-color: rgba(22, 163, 74, 0.3) !important;
  background: rgba(34, 197, 94, 0.2) !important;
  background-color: rgba(34, 197, 94, 0.2) !important;
  background-image: none !important;
  color: #14532d !important;
  box-shadow: none !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .text-success:not(.erp-order-client-meta) {
  color: #98f5b1 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .text-warning:not(.erp-order-client-meta) {
  color: #f8d469 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .text-danger:not(.erp-order-client-meta) {
  color: #ff9a9a !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .text-info:not(.erp-order-client-meta) {
  color: #8ecdf8 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .text-muted:not(.erp-order-client-meta) {
  color: #94a3b8 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .text-secondary:not(.erp-order-client-meta) {
  color: #cbd5e1 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .text-white:not(.erp-order-client-meta) {
  color: #f8fafc !important;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .text-success:not(.erp-order-client-meta) {
  color: #15803d !important;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .text-warning:not(.erp-order-client-meta) {
  color: #b45309 !important;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .text-danger:not(.erp-order-client-meta) {
  color: #b91c1c !important;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .text-info:not(.erp-order-client-meta) {
  color: #0369a1 !important;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .text-muted:not(.erp-order-client-meta) {
  color: #64748b !important;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .text-secondary:not(.erp-order-client-meta) {
  color: #475569 !important;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_confirmate"] .erp-table-card-body .text-white:not(.erp-order-client-meta) {
  color: #111827 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-panel {
  padding: 0 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table {
  width: 100% !important;
  margin: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table th,
html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table td {
  padding: 0 !important;
  margin: 0 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table .erp-order-hovercard-product-name,
html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table .erp-order-hovercard-product-meta {
  padding: 0 !important;
  margin: 0 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-success > * {
  --bs-table-bg: #dcfce7 !important;
  --bs-table-accent-bg: #dcfce7 !important;
  background: #dcfce7 !important;
  color: #166534 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-warning > * {
  --bs-table-bg: #fef3c7 !important;
  --bs-table-accent-bg: #fef3c7 !important;
  background: #fef3c7 !important;
  color: #92400e !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-danger > * {
  --bs-table-bg: #fee2e2 !important;
  --bs-table-accent-bg: #fee2e2 !important;
  background: #fee2e2 !important;
  color: #991b1b !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-secondary > * {
  --bs-table-bg: #e5e7eb !important;
  --bs-table-accent-bg: #e5e7eb !important;
  background: #e5e7eb !important;
  color: #374151 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-success .erp-order-hovercard-text,
html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-success .erp-order-hovercard-subtext {
  color: #166534 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-warning .erp-order-hovercard-text,
html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-warning .erp-order-hovercard-subtext {
  color: #92400e !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-danger .erp-order-hovercard-text,
html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-danger .erp-order-hovercard-subtext {
  color: #991b1b !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-secondary .erp-order-hovercard-text,
html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-table tr.is-secondary .erp-order-hovercard-subtext {
  color: #374151 !important;
}

html body .erp-order-hovercard-panel--orders {
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  width: max-content !important;
  max-width: min(620px, 92vw) !important;
  overflow: hidden !important;
}

html body .erp-order-hovercard-panel--orders.is-floating {
  overflow: hidden !important;
}

html body .erp-order-hovercard-table--orders,
html body .erp-order-hovercard-table--orders.table,
html body .erp-order-hovercard-table--orders.table-sm {
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}

html body .erp-order-hovercard-table--orders > :not(caption) > * > * {
  padding: 0.3rem !important;
  margin: 0 !important;
}

html body .erp-order-hovercard-table--orders .erp-order-hovercard-product-head,
html body .erp-order-hovercard-table--orders .erp-order-hovercard-product-cell {
  width: 18rem !important;
  max-width: 18rem !important;
}

html body .erp-order-hovercard-table--orders .erp-order-hovercard-product-name,
html body .erp-order-hovercard-table--orders .erp-order-hovercard-product-meta {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

html body .erp-order-hovercard-table--orders thead th {
  background: #3f4751 !important;
  color: #f8fafc !important;
}

html body .erp-order-hovercard-table--orders .erp-order-hovercard-attr {
  min-width: 1.75rem !important;
  padding: 0.08rem 0.24rem !important;
  border-radius: 0.32rem !important;
  font-size: 0.62rem !important;
  line-height: 1 !important;
}

html body .erp-order-hovercard-table--orders tbody tr.is-success > * {
  --bs-table-bg: #dcfce7 !important;
  --bs-table-accent-bg: #dcfce7 !important;
  background: #dcfce7 !important;
  background-color: #dcfce7 !important;
  color: #166534 !important;
}

html body .erp-order-hovercard-table--orders tbody tr.is-warning > * {
  --bs-table-bg: #fef3c7 !important;
  --bs-table-accent-bg: #fef3c7 !important;
  background: #fef3c7 !important;
  background-color: #fef3c7 !important;
  color: #92400e !important;
}

html body .erp-order-hovercard-table--orders tbody tr.is-danger > * {
  --bs-table-bg: #dc3545 !important;
  --bs-table-accent-bg: #dc3545 !important;
  background: #dc3545 !important;
  background-color: #dc3545 !important;
  color: #ffffff !important;
}

html body .erp-order-hovercard-table--orders tbody tr.is-secondary > * {
  --bs-table-bg: #e5e7eb !important;
  --bs-table-accent-bg: #e5e7eb !important;
  background: #e5e7eb !important;
  background-color: #e5e7eb !important;
  color: #374151 !important;
}

html body .erp-order-hovercard-table--orders tbody tr.is-success :is(.erp-order-hovercard-text, .erp-order-hovercard-subtext) {
  color: #166534 !important;
}

html body .erp-order-hovercard-table--orders tbody tr.is-warning :is(.erp-order-hovercard-text, .erp-order-hovercard-subtext) {
  color: #92400e !important;
}

html body .erp-order-hovercard-table--orders tbody tr.is-danger :is(.erp-order-hovercard-text, .erp-order-hovercard-subtext) {
  color: #ffffff !important;
}

html body .erp-order-hovercard-table--orders tbody tr.is-secondary :is(.erp-order-hovercard-text, .erp-order-hovercard-subtext) {
  color: #374151 !important;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-client,
html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-client * {
  font-weight: 400 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-client-meta,
html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-client-meta :is(i, span),
html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-location-cell,
html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-location-cell :is(span, i) {
  font-weight: 400 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-confirmate-client-meta {
  font-weight: 300 !important;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-payment .badge,
html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-payment .badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 1.18rem !important;
  padding: 0.18rem 0.38rem !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-payment .erp-order-courier-badge,
html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-payment .erp-order-courier-badge,
html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-payment .erp-order-courier-badge {
  background: transparent !important;
  border: 1px solid rgba(59, 130, 246, 0.66) !important;
  color: #f8fafc !important;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-payment .erp-order-courier-badge,
html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-payment .erp-order-courier-badge,
html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-payment .erp-order-courier-badge {
  background: transparent !important;
  border-color: rgba(37, 99, 235, 0.72) !important;
  color: #f8fafc !important;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-trigger,
html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-trigger {
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0.25rem 0.55rem !important;
  border-radius: var(--erp-radius-sm, 0.2rem) !important;
  border-color: rgba(14, 165, 233, 0.28) !important;
  background: rgba(14, 165, 233, 0.14) !important;
  color: #7dd3fc !important;
  box-shadow: none !important;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-trigger i,
html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-trigger i {
  color: #7dd3fc !important;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-trigger:hover,
html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-trigger:focus,
html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-trigger:hover,
html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-trigger:focus {
  border-color: rgba(14, 165, 233, 0.62) !important;
  background: #0ea5e9 !important;
  color: #ffffff !important;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-trigger:hover i,
html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-order-hovercard-trigger:focus i,
html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-trigger:hover i,
html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-hovercard-trigger:focus i {
  color: #ffffff !important;
}

/* ERP pagination contract: all pagination controls use the same secondary button style. */
html body :is(#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock, div.dataTables_wrapper) .erp-dt-footer,
html body :is(#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock, div.dataTables_wrapper) > .row:last-child,
html body :is(#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock, div.dataTables_wrapper) .dt-layout-row:last-child {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0.45rem 0.65rem !important;
  border: 1px solid #58606a !important;
  border-radius: var(--erp-radius-md, 0.4rem) !important;
  background: #252a2f !important;
  background-color: #252a2f !important;
  background-image: none !important;
  color: #d9dee4 !important;
  box-shadow: none !important;
}

html body :is(#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock, div.dataTables_wrapper, .erp-card, .erp-widget, .erp-table-card, .card, .erp-pagination) :is(.dataTables_paginate, .dt-paging, .pagination),
html body .pagination {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 0.25rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

html body :is(#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock, div.dataTables_wrapper, .erp-card, .erp-widget, .erp-table-card, .card, .erp-pagination) .pagination .page-item,
html body .pagination .page-item {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body :is(#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock, div.dataTables_wrapper, .erp-card, .erp-widget, .erp-table-card, .card, .erp-pagination) :is(.dataTables_paginate .paginate_button, .dt-paging .dt-paging-button, .pagination .page-link, .pagination .page-item > a, .pagination .page-item > span),
html body .pagination :is(.page-link, .page-item > a, .page-item > span) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 2rem !important;
  min-height: 1.85rem !important;
  margin: 0 !important;
  padding: 0.32rem 0.62rem !important;
  border: 1px solid #6b7280 !important;
  border-radius: var(--erp-radius-sm, 0.2rem) !important;
  outline: 0 !important;
  background: #4b5563 !important;
  background-color: #4b5563 !important;
  background-image: none !important;
  color: #f3f4f6 !important;
  box-shadow: none !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  --bs-pagination-bg: #4b5563 !important;
  --bs-pagination-color: #f3f4f6 !important;
  --bs-pagination-border-color: #6b7280 !important;
  --bs-pagination-hover-bg: #5b6472 !important;
  --bs-pagination-hover-color: #ffffff !important;
  --bs-pagination-hover-border-color: #7b8490 !important;
  --bs-pagination-active-bg: #6b7280 !important;
  --bs-pagination-active-color: #ffffff !important;
  --bs-pagination-active-border-color: #8b949e !important;
  --bs-pagination-disabled-bg: #3f4751 !important;
  --bs-pagination-disabled-color: #cbd5e1 !important;
  --bs-pagination-disabled-border-color: #58606a !important;
}

html body :is(#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock, div.dataTables_wrapper, .erp-card, .erp-widget, .erp-table-card, .card, .erp-pagination) :is(.dataTables_paginate .paginate_button.current, .dataTables_paginate .paginate_button:hover, .dataTables_paginate .paginate_button:focus, .dt-paging .dt-paging-button.current, .dt-paging .dt-paging-button:hover, .dt-paging .dt-paging-button:focus, .pagination .page-item.active .page-link, .pagination .page-link:hover, .pagination .page-link:focus),
html body .pagination :is(.page-item.active .page-link, .page-link:hover, .page-link:focus) {
  border-color: #8b949e !important;
  background: #6b7280 !important;
  background-color: #6b7280 !important;
  background-image: none !important;
  color: #ffffff !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

html body :is(#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock, div.dataTables_wrapper, .erp-card, .erp-widget, .erp-table-card, .card, .erp-pagination) :is(.dataTables_paginate .paginate_button.disabled, .dataTables_paginate .paginate_button.disabled:hover, .dataTables_paginate .paginate_button.disabled:focus, .dt-paging .dt-paging-button.disabled, .dt-paging .dt-paging-button.disabled:hover, .dt-paging .dt-paging-button.disabled:focus, .pagination .page-item.disabled .page-link),
html body .pagination .page-item.disabled .page-link {
  border-color: #58606a !important;
  background: #3f4751 !important;
  background-color: #3f4751 !important;
  background-image: none !important;
  color: #cbd5e1 !important;
  box-shadow: none !important;
  opacity: 0.62 !important;
  pointer-events: none !important;
}

html body :is(#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock, div.dataTables_wrapper, .erp-card, .erp-widget, .erp-table-card, .card, .erp-pagination) :is(.dataTables_info, .dt-info, .dataTables_length, .dt-length) {
  color: inherit !important;
}

html[data-bs-theme="light"] body :is(#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock, div.dataTables_wrapper) .erp-dt-footer,
html[data-bs-theme="light"] body :is(#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock, div.dataTables_wrapper) > .row:last-child,
html[data-bs-theme="light"] body :is(#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock#erp-pagination-secondary-lock, div.dataTables_wrapper) .dt-layout-row:last-child {
  border-color: #c7ced6 !important;
  background: #f1f3f5 !important;
  background-color: #f1f3f5 !important;
  color: #374151 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] table.erp-datatable td .erp-confirmate-client-meta,
html body [data-erp-comenzi-page="comenzi_confirmate"] table.erp-datatable td .erp-confirmate-client-meta * {
  font-weight: 300 !important;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-confirmate-order-rating-cell {
  width: 100%;
  min-width: 0;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] table.dataTable th.erp-confirmate-order-column,
html body [data-erp-comenzi-page="comenzi_neconfirmate"] table.dataTable td.erp-confirmate-order-column {
  width: 128px !important;
  min-width: 128px;
  max-width: 128px;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] table.dataTable td.erp-confirmate-order-column {
  padding-left: 0.4rem !important;
  padding-right: 0.4rem !important;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-confirmate-order-rating-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
  margin-bottom: 0.18rem;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-confirmate-order-number,
html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-confirmate-order-id {
  font-size: 0.74rem !important;
  line-height: 1.1;
  white-space: nowrap;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-confirmate-order-number {
  color: #f1f5f9;
  font-weight: 800;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-confirmate-order-id {
  color: #cbd5e1;
  font-weight: 500;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-confirmate-client-rating-progress {
  width: 100%;
  height: 1.05rem;
  margin: 0;
  background: rgba(148, 163, 184, 0.16);
  border-radius: 0.35rem;
  overflow: hidden;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-confirmate-client-rating-progress .progress-bar {
  min-width: 1.25rem;
  font-size: 0.68rem !important;
  font-weight: 800;
  line-height: 1.05rem;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-confirmate-client-rating-progress .progress-bar.is-rating-danger {
  background: #fee2e2 !important;
  color: #991b1b !important;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-confirmate-client-rating-progress .progress-bar.is-rating-warning {
  background: #fef3c7 !important;
  color: #92400e !important;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-confirmate-client-rating-progress .progress-bar.is-rating-success {
  background: #dcfce7 !important;
  color: #166534 !important;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-confirmate-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-confirmate-order-number {
  color: #111827;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-confirmate-order-id {
  color: #64748b;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_neconfirmate"] .erp-confirmate-client-rating-progress {
  background: #e2e8f0;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-payment .erp-payment-method-badge.text-bg-secondary {
  background: #6b7280 !important;
  background-color: #6b7280 !important;
  background-image: none !important;
  border-color: #6b7280 !important;
  color: #ffffff !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-payment .erp-payment-method-badge.text-bg-success {
  background: #198754 !important;
  background-color: #198754 !important;
  background-image: none !important;
  border-color: #198754 !important;
  color: #ffffff !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-payment .erp-payment-method-badge.text-bg-info {
  background: #0ea5e9 !important;
  background-color: #0ea5e9 !important;
  background-image: none !important;
  border-color: #0ea5e9 !important;
  color: #ffffff !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-payment .erp-payment-method-badge.text-bg-warning {
  background: #f59e0b !important;
  background-color: #f59e0b !important;
  background-image: none !important;
  border-color: #f59e0b !important;
  color: #111827 !important;
}

html body [data-erp-comenzi-page="comenzi_confirmate"] .erp-order-payment .erp-payment-method-badge.text-bg-primary {
  background: #2563eb !important;
  background-color: #2563eb !important;
  background-image: none !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] table.erp-datatable,
html body [data-erp-comenzi-page="comenzi_confirmate"] table.erp-datatable,
html body [data-erp-comenzi-page="comenzi_neconfirmate"] table.erp-datatable :is(th, td, div, span, a, button, label, input, select, textarea, small):not(.fa):not(.ti):not(.glyphicon),
html body [data-erp-comenzi-page="comenzi_confirmate"] table.erp-datatable :is(th, td, div, span, a, button, label, input, select, textarea, small):not(.fa):not(.ti):not(.glyphicon) {
  font-family: "Segoe UI", sans-serif !important;
}

html body [data-erp-comenzi-page="comenzi_neconfirmate"] table.erp-datatable tbody td :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):not(.erp-confirmate-value-primary):not(.erp-confirmate-value-secondary),
html body [data-erp-comenzi-page="comenzi_confirmate"] table.erp-datatable tbody td :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):not(.erp-confirmate-value-primary):not(.erp-confirmate-value-secondary) {
  margin: 0 !important;
  font-family: "Segoe UI", sans-serif !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

html body [data-erp-comenzi-page="comenzi_probleme"] table.erp-datatable,
html body [data-erp-comenzi-page="comenzi_probleme"] table.erp-datatable :is(th, td, div, span, a, button, label, input, select, textarea, small):not(.fa):not(.ti):not(.glyphicon) {
  font-family: "Segoe UI", sans-serif !important;
}

html body [data-erp-comenzi-page="comenzi_probleme"] table.erp-datatable tbody td :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):not(.erp-confirmate-value-primary):not(.erp-confirmate-value-secondary) {
  margin: 0 !important;
  font-family: "Segoe UI", sans-serif !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-client-head {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-flag-chip {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  border-radius: 0;
  margin-right: 0;
  background: rgba(148, 163, 184, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-client .fa {
  width: 0.95rem;
  text-align: center;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-client-phone.is-success-light {
  color: #bbf7d0 !important;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-client-phone.is-info-light {
  color: #bae6fd !important;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-client-phone.is-neutral-light {
  color: #e2e8f0 !important;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-confirmate-order-rating-cell {
  width: 100%;
  min-width: 0;
}

html body [data-erp-comenzi-page="comenzi_probleme"] table.dataTable th.erp-confirmate-order-column,
html body [data-erp-comenzi-page="comenzi_probleme"] table.dataTable td.erp-confirmate-order-column {
  width: 128px !important;
  min-width: 128px;
  max-width: 128px;
}

html body [data-erp-comenzi-page="comenzi_probleme"] table.dataTable td.erp-confirmate-order-column {
  padding-left: 0.4rem !important;
  padding-right: 0.4rem !important;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-confirmate-order-rating-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
  margin-bottom: 0.18rem;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-confirmate-order-number,
html body [data-erp-comenzi-page="comenzi_probleme"] .erp-confirmate-order-id {
  font-size: 0.74rem !important;
  line-height: 1.1;
  white-space: nowrap;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-confirmate-order-number {
  color: #f1f5f9;
  font-weight: 800;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-confirmate-order-id {
  color: #cbd5e1;
  font-weight: 500;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-confirmate-client-rating-progress {
  width: 100%;
  height: 1.05rem;
  margin: 0;
  background: rgba(148, 163, 184, 0.16);
  border-radius: 0.35rem;
  overflow: hidden;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-confirmate-client-rating-progress .progress-bar {
  min-width: 1.25rem;
  font-size: 0.68rem !important;
  font-weight: 800;
  line-height: 1.05rem;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-confirmate-client-rating-progress .progress-bar.is-rating-danger {
  background: #fee2e2 !important;
  color: #991b1b !important;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-confirmate-client-rating-progress .progress-bar.is-rating-warning {
  background: #fef3c7 !important;
  color: #92400e !important;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-confirmate-client-rating-progress .progress-bar.is-rating-success {
  background: #dcfce7 !important;
  color: #166534 !important;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-info-cell {
  justify-content: space-between;
  width: 100%;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-info-group-start {
  min-width: 0;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-info-group-end {
  margin-left: auto;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-info-icon {
  width: auto;
  height: auto;
  padding: 0;
  background: transparent !important;
  border-radius: 0;
  cursor: help;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-info-icon.is-success,
html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-info-icon.is-change {
  color: #98f5b1;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-info-icon.is-warning {
  color: #f8d469;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-info-icon.is-danger {
  color: #ff9a9a;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-info-icon .fa {
  font-size: 1.15rem !important;
  line-height: 1;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-panel {
  background: var(--erp-sr-body-bg-dark);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 28px rgba(2, 6, 23, 0.24);
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-trigger {
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0.25rem 0.55rem !important;
  border-radius: var(--erp-radius-sm, 0.2rem) !important;
  border-color: rgba(14, 165, 233, 0.28) !important;
  background: rgba(14, 165, 233, 0.14) !important;
  color: #7dd3fc !important;
  box-shadow: none !important;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-trigger i {
  color: #7dd3fc !important;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-trigger:hover,
html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-trigger:focus {
  border-color: rgba(14, 165, 233, 0.62) !important;
  background: #0ea5e9 !important;
  color: #ffffff !important;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-trigger:hover i,
html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-trigger:focus i {
  color: #ffffff !important;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-table {
  --bs-table-color: #d7dde4;
  --bs-table-border-color: rgba(255, 255, 255, 0.06);
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-table tr.is-success > * {
  background: rgba(92, 214, 130, 0.16);
  color: #98f5b1;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-table tr.is-warning > * {
  background: rgba(248, 203, 85, 0.16);
  color: #f8d469;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-table tr.is-danger > * {
  background: rgba(201, 53, 53, 0.78);
  color: #ffffff;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-table tr.is-secondary > * {
  background: rgba(148, 163, 184, 0.14);
  color: #94a3b8;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-text.is-success,
html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-subtext.is-success,
html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-attr.is-success {
  color: #98f5b1;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-text.is-warning,
html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-subtext.is-warning,
html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-attr.is-warning {
  color: #f8d469;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-text.is-danger,
html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-subtext.is-danger,
html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-attr.is-danger {
  color: #ffffff;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-text.is-secondary,
html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-subtext.is-secondary,
html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-attr.is-secondary {
  color: #94a3b8;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-hovercard-attr {
  background: rgba(17, 24, 39, 0.18);
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-value {
  display: inline-grid;
  gap: 0.2rem;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-value-primary,
html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-value-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  white-space: nowrap;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-value-primary .erp-order-value-amount {
  font-weight: 700;
  font-size: calc(0.82rem + 1px);
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-value-secondary {
  font-size: 0.82rem;
  font-weight: 400;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-value-secondary .erp-order-value-amount {
  font-weight: 400;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-currency-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  min-height: 1.05rem;
  padding: 0 0.32rem;
  border-radius: 0.35rem;
  background: rgba(148, 163, 184, 0.18);
  color: #e5edf7;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-currency-badge.is-foreign {
  background: #000080;
  color: #f8fafc;
}

html body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-payment .badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 1.18rem !important;
  padding: 0.18rem 0.38rem !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_probleme"] .erp-flag-chip {
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-client-phone.is-success-light {
  color: #15803d !important;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-client-phone.is-info-light {
  color: #0e7490 !important;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_probleme"] .erp-order-client-phone.is-neutral-light {
  color: #475569 !important;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_probleme"] .erp-confirmate-order-number {
  color: #111827;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_probleme"] .erp-confirmate-order-id {
  color: #64748b;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="comenzi_probleme"] .erp-confirmate-client-rating-progress {
  background: #e2e8f0;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] table.erp-datatable tbody td :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):not(.erp-confirmate-value-primary):not(.erp-confirmate-value-secondary) {
  margin: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-client-head {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-flag-chip {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  border-radius: 0;
  margin-right: 0;
  background: rgba(148, 163, 184, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-client .fa {
  width: 0.95rem;
  text-align: center;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-client-phone.is-success-light {
  color: #bbf7d0 !important;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-client-phone.is-info-light {
  color: #bae6fd !important;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-client-phone.is-neutral-light {
  color: #e2e8f0 !important;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-confirmate-order-rating-cell {
  width: 100%;
  min-width: 0;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] table.dataTable th.erp-confirmate-order-column,
html body [data-erp-comenzi-page="lista_comenzi_avizate"] table.dataTable td.erp-confirmate-order-column {
  width: 128px !important;
  min-width: 128px;
  max-width: 128px;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] table.dataTable td.erp-confirmate-order-column {
  padding-left: 0.4rem !important;
  padding-right: 0.4rem !important;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-confirmate-order-rating-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
  margin-bottom: 0.18rem;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-confirmate-order-number,
html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-confirmate-order-id {
  font-size: 0.74rem !important;
  line-height: 1.1;
  white-space: nowrap;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-confirmate-order-number {
  color: #f1f5f9;
  font-weight: 800;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-confirmate-order-id {
  color: #cbd5e1;
  font-weight: 500;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-confirmate-client-rating-progress {
  width: 100%;
  height: 1.05rem;
  margin: 0;
  background: rgba(148, 163, 184, 0.16);
  border-radius: 0.35rem;
  overflow: hidden;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-confirmate-client-rating-progress .progress-bar {
  min-width: 1.25rem;
  font-size: 0.68rem !important;
  font-weight: 800;
  line-height: 1.05rem;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-confirmate-client-rating-progress .progress-bar.is-rating-danger {
  background: #fee2e2 !important;
  color: #991b1b !important;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-confirmate-client-rating-progress .progress-bar.is-rating-warning {
  background: #fef3c7 !important;
  color: #92400e !important;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-confirmate-client-rating-progress .progress-bar.is-rating-success {
  background: #dcfce7 !important;
  color: #166534 !important;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-info-cell {
  justify-content: space-between;
  width: 100%;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-info-group-start {
  min-width: 0;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-info-group-end {
  margin-left: auto;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-info-icon {
  width: auto;
  height: auto;
  padding: 0;
  background: transparent !important;
  border-radius: 0;
  cursor: help;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-info-icon.is-success,
html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-info-icon.is-change {
  color: #98f5b1;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-info-icon.is-warning {
  color: #f8d469;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-info-icon.is-danger {
  color: #ff9a9a;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-info-icon .fa {
  font-size: 1.15rem !important;
  line-height: 1;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-hovercard-trigger {
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0.25rem 0.55rem !important;
  border-radius: var(--erp-radius-sm, 0.2rem) !important;
  border-color: rgba(14, 165, 233, 0.28) !important;
  background: rgba(14, 165, 233, 0.14) !important;
  color: #7dd3fc !important;
  box-shadow: none !important;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-hovercard-trigger i {
  color: #7dd3fc !important;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-hovercard-trigger:hover,
html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-hovercard-trigger:focus {
  border-color: rgba(14, 165, 233, 0.62) !important;
  background: #0ea5e9 !important;
  color: #ffffff !important;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-hovercard-trigger:hover i,
html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-hovercard-trigger:focus i {
  color: #ffffff !important;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-value {
  display: inline-grid;
  gap: 0.2rem;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-value-primary,
html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-value-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  white-space: nowrap;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-value-primary .erp-order-value-amount {
  font-weight: 700;
  font-size: calc(0.82rem + 1px);
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-value-secondary {
  font-size: 0.82rem;
  font-weight: 400;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-value-secondary .erp-order-value-amount {
  font-weight: 400;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-currency-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  min-height: 1.05rem;
  padding: 0 0.32rem;
  border-radius: 0.35rem;
  background: rgba(148, 163, 184, 0.18);
  color: #e5edf7;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-currency-badge.is-foreign {
  background: #000080;
  color: #f8fafc;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-payment .badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 1.18rem !important;
  padding: 0.18rem 0.38rem !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-payment .erp-order-courier-badge {
  background: transparent !important;
  border: 1px solid rgba(59, 130, 246, 0.66) !important;
  color: #f8fafc !important;
}

html body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-confirmate-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-flag-chip {
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-client-phone.is-success-light {
  color: #15803d !important;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-client-phone.is-info-light {
  color: #0e7490 !important;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-order-client-phone.is-neutral-light {
  color: #475569 !important;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-confirmate-order-number {
  color: #111827;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-confirmate-order-id {
  color: #64748b;
}

html[data-bs-theme="light"] body [data-erp-comenzi-page="lista_comenzi_avizate"] .erp-confirmate-client-rating-progress {
  background: #e2e8f0;
}

.erp-comenzi-awb-regenerate-parcel-field {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.28);
}

.erp-comenzi-awb-regenerate-parcel-field .form-label {
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.78);
}

.erp-comenzi-awb-regenerate-parcel-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.erp-comenzi-awb-regenerate-parcel-row .form-select {
  width: auto;
  min-width: 6.5rem;
  border-color: rgba(148, 163, 184, 0.28);
  background-color: rgba(15, 23, 42, 0.82);
  color: #f8fafc;
}

.erp-comenzi-awb-regenerate-parcel-hint {
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.92);
}

.erp-comenzi-awb-parcel-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 0.75rem 0 0.25rem;
}

.erp-comenzi-awb-parcel-list-title {
  width: 100%;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.92);
}

.erp-comenzi-awb-parcel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.36rem 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 0.45rem;
  background: rgba(30, 41, 59, 0.42);
  color: #e2e8f0;
  font-size: 0.86rem;
  line-height: 1.2;
}

[data-bs-theme="light"] .erp-comenzi-awb-regenerate-parcel-field {
  border-top-color: rgba(148, 163, 184, 0.36);
}

[data-bs-theme="light"] .erp-comenzi-awb-regenerate-parcel-field .form-label {
  color: #475569;
}

[data-bs-theme="light"] .erp-comenzi-awb-regenerate-parcel-row .form-select {
  background-color: #ffffff;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.48);
}

[data-bs-theme="light"] .erp-comenzi-awb-regenerate-parcel-hint,
[data-bs-theme="light"] .erp-comenzi-awb-parcel-list-title {
  color: #64748b;
}

[data-bs-theme="light"] .erp-comenzi-awb-parcel-badge {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.4);
  color: #1e293b;
}

html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-trigger,
.erp-coletarie-procesare-confirm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  border-radius: 0.45rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: none;
}

html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-trigger {
  border-color: rgba(245, 158, 11, 0.4) !important;
  background: rgba(245, 158, 11, 0.12) !important;
  color: #fcd34d !important;
}

html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-trigger:hover,
html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-trigger:focus {
  border-color: rgba(245, 158, 11, 0.72) !important;
  background: rgba(245, 158, 11, 0.22) !important;
  color: #fde68a !important;
}

html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-preview-trigger {
  border-color: rgba(59, 130, 246, 0.4) !important;
  background: rgba(59, 130, 246, 0.12) !important;
  color: #93c5fd !important;
}

html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-preview-trigger:hover,
html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-preview-trigger:focus {
  border-color: rgba(59, 130, 246, 0.72) !important;
  background: rgba(59, 130, 246, 0.22) !important;
  color: #dbeafe !important;
}

html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-list-card {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(27, 36, 46, 0.96), rgba(22, 29, 39, 0.96));
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.16);
}

html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-list-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-subtitle,
.erp-coletarie-procesare-card .erp-coletarie-procesare-subtitle {
  display: block;
  text-align: left;
  text-transform: none !important;
  letter-spacing: 0;
}

html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-list-table {
  margin-bottom: 0;
}

html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-list-table thead tr.erp-table-filters > th {
  padding: 0.45rem 0.4rem;
  background: rgba(15, 23, 42, 0.62);
  border-bottom-color: rgba(148, 163, 184, 0.14);
}

html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-list-table thead tr.erp-table-filters .form-control {
  min-height: 1.95rem;
  padding: 0.28rem 0.5rem;
}

html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-trigger-icon {
  width: 2.5rem;
  min-width: 2.5rem;
  padding: 0;
}

html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-operations {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-operations > .m-1 {
  margin: 0 !important;
}

html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  border-radius: 0.45rem;
  border-color: rgba(14, 165, 233, 0.34) !important;
  background: rgba(14, 165, 233, 0.12) !important;
  color: #7dd3fc !important;
  box-shadow: none !important;
}

html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-detail-btn:hover,
html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-detail-btn:focus {
  border-color: rgba(14, 165, 233, 0.7) !important;
  background: rgba(14, 165, 233, 0.22) !important;
  color: #e0f2fe !important;
}

.erp-coletarie-procesare-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(24, 32, 41, 0.96), rgba(31, 41, 55, 0.96));
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.18);
}

.erp-coletarie-procesare-card--meta {
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(24, 32, 41, 0.96), rgba(31, 41, 55, 0.96));
}

.erp-coletarie-procesare-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1rem 1rem 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.erp-coletarie-procesare-card-kicker {
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
}

.erp-coletarie-procesare-products-table,
.erp-coletarie-procesare-meta-table {
  margin-bottom: 0;
  --bs-table-bg: transparent;
  --bs-table-color: #e5e7eb;
  --bs-table-border-color: rgba(148, 163, 184, 0.14);
  color: #e5e7eb;
}

.erp-coletarie-procesare-products-table thead th,
.erp-coletarie-procesare-meta-table tbody td:first-child {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.erp-coletarie-procesare-products-table thead th {
  background: rgba(15, 23, 42, 0.5);
}

.erp-coletarie-procesare-products-table tbody tr:hover > * {
  background: rgba(59, 130, 246, 0.08) !important;
}

.erp-coletarie-procesare-product-title {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.3;
  color: #f8fafc;
}

.erp-coletarie-procesare-attr-badge {
  background: rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.erp-coletarie-procesare-position-badge {
  padding: 0.45rem 0.7rem;
  background: rgba(14, 165, 233, 0.16);
  color: #bae6fd;
  border: 1px solid rgba(14, 165, 233, 0.26);
}

.erp-coletarie-procesare-action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.erp-coletarie-procesare-action-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(148, 163, 184, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(51, 65, 85, 0.96), rgba(30, 41, 59, 0.96));
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.14);
}

.erp-coletarie-procesare-action-card .card-body {
  padding: 1rem 1.1rem;
}

.erp-coletarie-procesare-action-hint {
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.45;
}

.erp-coletarie-procesare-confirm-btn {
  border-color: rgba(220, 53, 69, 0.48) !important;
  background: linear-gradient(180deg, rgba(220, 53, 69, 0.96), rgba(185, 28, 28, 0.96)) !important;
  color: #ffffff !important;
}

.erp-coletarie-procesare-confirm-btn:hover,
.erp-coletarie-procesare-confirm-btn:focus {
  border-color: rgba(248, 113, 113, 0.72) !important;
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.98), rgba(185, 28, 28, 0.98)) !important;
  color: #ffffff !important;
}

.erp-coletarie-procesare-confirm-btn:disabled,
.erp-coletarie-procesare-confirm-btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  border-color: rgba(148, 163, 184, 0.24) !important;
  background: linear-gradient(180deg, rgba(100, 116, 139, 0.9), rgba(71, 85, 105, 0.9)) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: none !important;
}

.erp-coletarie-procesare-modal {
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.erp-coletarie-procesare-modal-warning {
  padding: 0.9rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(248, 113, 113, 0.24);
  background: rgba(127, 29, 29, 0.2);
  color: #fecaca;
  text-align: left;
}

.erp-coletarie-procesare-modal-warning-line + .erp-coletarie-procesare-modal-warning-line {
  margin-top: 0.45rem;
}

.erp-coletarie-procesare-modal-irreversible {
  text-align: left;
  color: #fecaca;
}

.erp-coletarie-procesare-modal-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #e5e7eb;
}

.erp-coletarie-procesare-modal-check .form-check-input {
  float: none;
  margin: 0;
}

.erp-coletarie-procesare-modal-check .form-check-label {
  margin: 0;
}

.erp-coletarie-procesare-result {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
}

html[data-bs-theme="light"] body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-trigger {
  color: #92400e !important;
  background: rgba(245, 158, 11, 0.12) !important;
}

html[data-bs-theme="light"] body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-preview-trigger {
  color: #1d4ed8 !important;
  background: rgba(59, 130, 246, 0.12) !important;
}

[data-bs-theme="light"] .erp-coletarie-procesare-card,
[data-bs-theme="light"] .erp-coletarie-procesare-card--meta {
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

html[data-bs-theme="light"] body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-list-card {
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

html[data-bs-theme="light"] body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-list-header {
  background: rgba(248, 250, 252, 0.92);
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

html[data-bs-theme="light"] body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-list-table thead tr.erp-table-filters > th {
  background: #dbe4ee;
  border-bottom-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="light"] .erp-coletarie-procesare-card-header {
  background: rgba(248, 250, 252, 0.92);
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="light"] .erp-coletarie-procesare-card-kicker {
  color: #2563eb;
}

[data-bs-theme="light"] .erp-coletarie-procesare-products-table,
[data-bs-theme="light"] .erp-coletarie-procesare-meta-table {
  --bs-table-color: #0f172a;
  --bs-table-border-color: rgba(148, 163, 184, 0.18);
  color: #0f172a;
}

[data-bs-theme="light"] .erp-coletarie-procesare-products-table thead th,
[data-bs-theme="light"] .erp-coletarie-procesare-meta-table tbody td:first-child {
  color: #475569;
}

[data-bs-theme="light"] .erp-coletarie-procesare-products-table thead th {
  background: #e2e8f0;
}

[data-bs-theme="light"] .erp-coletarie-procesare-product-title {
  color: #0f172a;
}

[data-bs-theme="light"] .erp-coletarie-procesare-attr-badge {
  background: rgba(148, 163, 184, 0.12);
  color: #334155;
  border-color: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="light"] .erp-coletarie-procesare-position-badge {
  background: rgba(14, 165, 233, 0.12);
  color: #0c4a6e;
  border-color: rgba(14, 165, 233, 0.22);
}

[data-bs-theme="light"] .erp-coletarie-procesare-action-bar {
  background: transparent;
}

html[data-bs-theme="light"] body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-detail-btn {
  border-color: rgba(14, 165, 233, 0.26) !important;
  background: rgba(14, 165, 233, 0.1) !important;
  color: #0c4a6e !important;
}

[data-bs-theme="light"] .erp-coletarie-procesare-action-card {
  background:
    radial-gradient(circle at top right, rgba(148, 163, 184, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(226, 232, 240, 0.98));
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

[data-bs-theme="light"] .erp-coletarie-procesare-action-hint {
  color: #475569;
}

[data-bs-theme="light"] .erp-coletarie-procesare-modal-warning {
  border-color: rgba(248, 113, 113, 0.24);
  background: rgba(254, 226, 226, 0.86);
  color: #991b1b;
}

[data-bs-theme="light"] .erp-coletarie-procesare-modal-irreversible {
  color: #991b1b;
}

[data-bs-theme="light"] .erp-coletarie-procesare-modal-check {
  color: #334155;
}

@media (max-width: 767.98px) {
  .erp-coletarie-procesare-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .erp-coletarie-procesare-action-bar {
    flex-direction: column;
    align-items: center;
  }

  .erp-coletarie-procesare-confirm-btn,
  html body [data-erp-coletarie-page="colete_in_procesare"] .erp-coletarie-procesare-trigger {
    width: 100%;
  }
}
