body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.card {
  border-radius: 14px;
}

table.dataTable thead .filters input {
  min-width: 120px;
}
:root {
  --bg-dark: #252028;
  --bg-deep: #1b161b;
  --green: #8e1a8e;
  --lime: #c2599d;
  --white: #ffffff;
}

/* ==== ОСНОВА ==== */
body {
  min-height: 100vh;
  font-family: Roboto, "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(142, 26, 142, 0.24), transparent 34%),
    radial-gradient(circle at 90% 85%, rgba(194, 89, 157, 0.14), transparent 31%),
    linear-gradient(145deg, #252028, #1b161b 62%);
  background-attachment: fixed;
  color: var(--white);
}

.warehouse-shell {
  max-width: 1320px;
  margin-inline: auto;
}

/* Заголовок */
h3 {
  color: var(--lime);
  letter-spacing: 0.5px;
}

/* Метаданные */
#metaLine {
  color: #b7c9a3 !important;
}

/* ==== Карточки ==== */
.card {
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

/* ==== Блок ИТОГО ==== */
#totalsCard .card {
  background: linear-gradient(135deg, var(--green), var(--lime));
  color: #1b260f;
  font-weight: 600;
}

#totalsCard {
  max-width: 60%;
}

@media (max-width: 768px) {
  #totalsCard {
    max-width: 100%;
  }
}

#totalsCard .badge {
  background: #1b260f !important;
  color: var(--lime);
}

/* ==== КНОПКИ ==== */
.btn-outline-primary {
  color: var(--lime);
  border-color: var(--lime);
}

.btn-outline-primary:hover {
  background: var(--lime);
  color: #1b260f;
}

/* ==== ТАБЛИЦА ==== */
table.dataTable {
  border-radius: 12px;
  overflow: hidden;
}

/* Заголовки */
table.dataTable thead th {
  background: linear-gradient(135deg, var(--bg-deep), var(--green));
  color: white;
  border: none;
}

/* Строка фильтров */
table.dataTable thead tr.filters th {
  background: #e8f2d2;
}

/* Поля фильтров */
table.dataTable thead input {
  border-radius: 8px;
  border: 1px solid var(--green);
}

/* Строки */
table.dataTable tbody tr:nth-child(odd) {
  background-color: #f3f7e8;
}

table.dataTable tbody tr:nth-child(even) {
  background-color: #ffffff;
}

table.dataTable tbody tr:hover {
  background-color: #dff0a3 !important;
}



/* ==== КНОПКИ ЭКСПОРТА ==== */
.dt-buttons .btn {
  background: linear-gradient(135deg, #ff9a3c, #ffd166);
  border: none;
  color: #1b260f;
  font-weight: 600;
  box-shadow: 0 8px 16px rgba(255, 154, 60, 0.35);
  transition: transform .12s ease, box-shadow .18s ease, filter .18s ease;
}

.dt-buttons .btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(255, 154, 60, 0.45);
}

#exportButtons .dt-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.dropdown-filters-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
}

.dropdown-filter .form-select {
  min-width: 180px;
}

.dropdown-filter {
  flex: 0 0 auto;
  white-space: nowrap;
}

.metrika-informer {
  opacity: 0.85;
}

.metrika-informer:hover {
  opacity: 1;
}

/* ================================
   Пагинация DT2 (ul.pagination) — ПРИЦЕЛЬНО
   ================================ */
div.dt-container div.dt-paging ul.pagination {
  --bs-pagination-color: var(--bg-deep) !important;
  --bs-pagination-bg: rgba(255,255,255,0.92) !important;
  --bs-pagination-border-color: var(--green) !important;

  --bs-pagination-hover-color: #1b260f !important;
  --bs-pagination-hover-bg: var(--lime) !important;
  --bs-pagination-hover-border-color: var(--lime) !important;

  --bs-pagination-focus-color: #1b260f !important;
  --bs-pagination-focus-bg: var(--lime) !important;
  --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(151,212,7,0.35) !important;

  --bs-pagination-active-color: #1b260f !important;
  --bs-pagination-active-bg: var(--green) !important;
  --bs-pagination-active-border-color: var(--green) !important;

  --bs-pagination-disabled-color: #999 !important;
  --bs-pagination-disabled-bg: rgba(255,255,255,0.55) !important;
  --bs-pagination-disabled-border-color: #ccc !important;
}

/* Активная страница — градиент */
div.dt-container div.dt-paging ul.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--green), var(--lime)) !important;
  border-color: var(--green) !important;
  color: #1b260f !important;
  box-shadow: 0 0 8px rgba(151,212,7,0.8) !important;
}

/* Вид кнопок/цифр */
div.dt-container div.dt-paging ul.pagination .page-link {
  font-weight: 700 !important;
  border-radius: 8px !important;
  margin: 0 3px !important;
}

/* Убираем синий focus */
div.dt-container div.dt-paging ul.pagination .page-link:focus,
div.dt-container div.dt-paging ul.pagination .page-link:active {
  outline: none !important;
  box-shadow: 0 0 0 0.25rem rgba(151,212,7,0.35) !important;
}
/* ================================
   Hover-анимация строки таблицы
   ================================ */

/* Плавность для ячеек (чтобы не дёргалось) */
table.dataTable tbody td {
  transition: background-color .18s ease, color .18s ease;
}

/* Плавность для строк */
table.dataTable tbody tr {
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease;
}

/* Подсветка строки при наведении */
table.dataTable tbody tr:hover {
  background-color: #dff0a3 !important;              /* твой лаймовый оттенок */
  box-shadow: 0 0 0 2px rgba(145, 176, 70, 0.35),
              0 10px 22px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-1px);
}

/* Чтобы цвет применялся и к ячейкам (DataTables иногда задаёт фон ячейкам отдельно) */
table.dataTable tbody tr:hover > * {
  background-color: #dff0a3 !important;
}

/* Чуть выделим первую колонку (№) при наведении — выглядит “как в системе” */
table.dataTable tbody tr:hover td:first-child {
  background-color: rgba(151, 212, 7, 0.35) !important;
  font-weight: 800;
}

/* Убираем “липкий” hover на тач-устройствах */
@media (hover: none) {
  table.dataTable tbody tr:hover {
    transform: none;
    box-shadow: none !important;
  }
}
/* ================================
   Выбранная строка (клик)
   ================================ */

/* Базовое состояние выбранной строки */
table.dataTable tbody tr.selected {
  background: linear-gradient(135deg, rgba(145,176,70,0.55), rgba(151,212,7,0.55)) !important;
  box-shadow: 0 0 0 2px rgba(151,212,7,0.8),
              0 10px 24px rgba(0,0,0,0.25) !important;
}

/* Все ячейки выбранной строки */
table.dataTable tbody tr.selected > * {
  background: transparent !important;
  color: #1b260f !important;
  font-weight: 700;
}

/* Если выбрана строка и навели — усиливаем эффект */
table.dataTable tbody tr.selected:hover {
  background: linear-gradient(135deg, rgba(145,176,70,0.75), rgba(151,212,7,0.75)) !important;
}

/* Небольшая анимация “прилипания” */
table.dataTable tbody tr.selected {
  transition: box-shadow .15s ease, transform .12s ease;
  transform: scale(1.002);
}
/* ================================
   Убиваем DataTables blue selection
   ================================ */

/* Переопределяем системные переменные DataTables */
:root {
  --dt-row-selected: 145, 176, 70;        /* #91b046 */
  --dt-row-selected-text: 27, 38, 15;     /* тёмно-зелёный */
  --dt-row-selected-link: 27, 38, 15;
}

/* Убираем встроенный фон ячеек DataTables */
table.dataTable tbody tr.selected > * {
  background-color: transparent !important;
}

/* ================================
   Фирменный заголовок склада
   ================================ */

/* Главный заголовок */
h3 {
  color: var(--lime);
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow:
    0 1px 0 #1b260f,                 /* тиснение вниз */
    0 2px 2px rgba(0,0,0,0.6),       /* глубина */
    0 0 14px rgba(151,212,7,0.45);   /* зелёное свечение */
}

/* Строка с метаданными */
#metaLine {
  color: #cfe7a8 !important;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-shadow:
    0 1px 0 rgba(27,38,15,0.8),
    0 2px 6px rgba(0,0,0,0.6);
}

/* ================================
   Контакты
   ================================ */

.btn-contacts {
  color: #1b260f;
  border: 1px solid rgba(190, 238, 79, 0.9);
  background: linear-gradient(135deg, var(--green), var(--lime));
  font-weight: 750;
  box-shadow: 0 8px 20px rgba(35, 50, 18, 0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.btn-contacts:hover,
.btn-contacts:focus-visible {
  color: #14200a;
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 11px 24px rgba(35, 50, 18, 0.32);
}

.contacts-dialog {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #243117;
  background: rgba(12, 18, 8, 0.72);
  backdrop-filter: blur(5px);
}

.contacts-dialog[hidden] {
  display: none;
}

.contacts-modal-open {
  overflow: hidden;
}

.contacts-dialog__panel {
  display: flex;
  width: min(92vw, 620px);
  max-height: 88vh;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(151, 212, 7, 0.7);
  border-radius: 20px;
  background: #f8fbf1;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.55) inset;
  animation: contacts-dialog-in 0.2s ease-out;
}

.contacts-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 18px 14px 22px;
  color: #f8ffe9;
  background:
    radial-gradient(circle at 12% 0%, rgba(190, 238, 79, 0.28), transparent 38%),
    linear-gradient(135deg, #263817, #18250e);
}

.contacts-dialog__eyebrow {
  margin-bottom: 2px;
  color: #c5e88a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contacts-dialog__title {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.contacts-dialog__close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  padding: 0 0 3px;
  color: #eaffc0;
  border: 1px solid rgba(218, 255, 144, 0.36);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.75rem;
  line-height: 1;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.contacts-dialog__close:hover,
.contacts-dialog__close:focus-visible {
  color: #fff;
  background: rgba(190, 238, 79, 0.24);
  outline: 2px solid rgba(190, 238, 79, 0.7);
  outline-offset: 2px;
  transform: rotate(4deg) scale(1.04);
}

.contacts-dialog__body {
  overflow-y: auto;
  padding: 16px;
  scrollbar-color: var(--green) transparent;
}

.contacts-dialog__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 10px;
  margin-top: 10px;
}

.contact-section {
  padding: 13px 14px;
  border: 1px solid rgba(92, 120, 45, 0.18);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(39, 55, 22, 0.06);
}

.contact-section--accent {
  background: linear-gradient(135deg, rgba(145, 176, 70, 0.14), rgba(190, 238, 79, 0.08));
  border-color: rgba(112, 153, 33, 0.32);
}

.contact-section h3 {
  margin: 0 0 7px;
  color: #496224;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-shadow: none;
  text-transform: uppercase;
}

.contact-section p {
  margin: 0;
}

.contact-person {
  margin-bottom: 7px !important;
  color: #202b16;
  font-size: 1.04rem;
  font-weight: 750;
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
}

.contact-lines a {
  color: #476713;
  font-weight: 700;
  text-decoration-color: rgba(71, 103, 19, 0.35);
  text-underline-offset: 3px;
}

.contact-lines a:hover {
  color: #253c04;
  text-decoration-color: currentColor;
}

.contact-lines--labelled {
  display: grid;
  gap: 5px;
}

.contact-lines--labelled span {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 10px;
}

.contact-lines small {
  color: #6c755f;
  font-size: 0.73rem;
}

.contact-address {
  margin-top: 10px;
  line-height: 1.42;
}

.bank-details {
  margin-top: 10px;
  background: #f1f5e9;
}

.bank-details dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
}

.bank-details dl > div {
  min-width: 0;
}

.bank-details__wide {
  grid-column: 1 / -1;
}

.bank-details dt {
  color: #737c66;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.bank-details dd {
  margin: 1px 0 0;
  overflow-wrap: anywhere;
  color: #202b16;
  font-weight: 750;
}

@keyframes contacts-dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 575.98px) {
  .contacts-dialog {
    padding: 12px;
  }

  .contacts-dialog__panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 16px;
  }

  .contacts-dialog__grid,
  .bank-details dl {
    grid-template-columns: 1fr;
  }

  .bank-details__wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contacts-dialog__panel {
    animation: none;
  }
}

/* ================================
   ТК КристЭлКом — фирменная тема
   ================================ */

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
  padding: 8px 13px 8px 10px;
  border: 1px solid rgba(194, 89, 157, 0.28);
  border-top-right-radius: 12px;
  border-bottom-left-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.brand-lockup__gem {
  position: relative;
  width: 34px;
  height: 28px;
  flex: 0 0 34px;
  clip-path: polygon(50% 0, 100% 34%, 76% 100%, 24% 100%, 0 34%);
  background: linear-gradient(135deg, #f2adcd, #8e1a8e 72%);
}

.brand-lockup__gem::after {
  position: absolute;
  content: "";
  inset: 7px 9px 6px;
  clip-path: polygon(50% 0, 100% 35%, 50% 100%, 0 35%);
  background: rgba(255, 255, 255, 0.82);
}

.brand-lockup__copy {
  display: grid;
  line-height: 1;
}

.brand-lockup__copy strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.055em;
}

.brand-lockup__copy small {
  margin-top: 4px;
  color: #c6bac8;
  font-size: 0.59rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h3 {
  color: #fff;
  text-shadow: none;
}

h3::after {
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 8px;
  content: "";
  background: #8e1a8e;
}

#metaLine {
  color: #c9becb !important;
  text-shadow: none;
}

.card {
  border: 1px solid rgba(142, 26, 142, 0.12);
  border-top-right-radius: 14px;
  border-bottom-left-radius: 14px;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
}

#totalsCard .card {
  color: #fff;
  border-color: rgba(194, 89, 157, 0.38);
  background: linear-gradient(135deg, #352f35, #1b161b);
}

#totalsCard .card .text-muted {
  color: #d8cfd9 !important;
}

#totalsCard .badge {
  color: #fff;
  background: #8e1a8e !important;
}

.btn-outline-secondary,
.btn-outline-primary {
  color: #f2dcea;
  border-color: #c2599d;
}

.btn-outline-secondary:hover,
.btn-outline-primary:hover {
  color: #fff;
  border-color: #8e1a8e;
  background: #8e1a8e;
}

.btn-contacts,
.dt-buttons .btn {
  color: #fff;
  border-color: transparent;
  background: #8e1a8e;
  box-shadow: 0 8px 18px rgba(142, 26, 142, 0.28);
}

.btn-contacts:hover,
.btn-contacts:focus-visible,
.dt-buttons .btn:hover {
  color: #fff;
  background: #a52d96;
  box-shadow: 0 11px 24px rgba(142, 26, 142, 0.38);
}

table.dataTable thead th {
  background: linear-gradient(135deg, #1b161b, #352f35);
}

table.dataTable thead tr.column-headings th:first-child,
table.dataTable thead tr:first-child th:first-child {
  border-left: 4px solid #8e1a8e;
}

table.dataTable thead tr.filters th {
  background: #eee8ef;
}

table.dataTable thead input,
.form-select:focus,
.form-control:focus {
  border-color: #8e1a8e;
  box-shadow: 0 0 0 0.2rem rgba(142, 26, 142, 0.18);
}

table.dataTable tbody tr:nth-child(odd) {
  background-color: #faf7fa;
}

table.dataTable tbody tr:hover,
table.dataTable tbody tr:hover > * {
  background-color: #f0deed !important;
}

table.dataTable tbody tr.selected {
  background: linear-gradient(135deg, rgba(142, 26, 142, 0.24), rgba(194, 89, 157, 0.34)) !important;
  box-shadow: 0 0 0 2px rgba(142, 26, 142, 0.7), 0 10px 24px rgba(0, 0, 0, 0.2) !important;
}

table.dataTable tbody tr.selected > * {
  color: #1b161b !important;
}

.contacts-dialog {
  color: #272028;
  background: rgba(27, 22, 27, 0.78);
}

.contacts-dialog__panel {
  border-color: rgba(142, 26, 142, 0.64);
  background: #f8f8f8;
}

.contacts-dialog__header {
  color: #fff;
  background:
    radial-gradient(circle at 12% 0%, rgba(194, 89, 157, 0.33), transparent 39%),
    linear-gradient(135deg, #352f35, #1b161b);
}

.contacts-dialog__eyebrow,
.contacts-dialog__close {
  color: #f2adcd;
}

.contacts-dialog__close {
  border-color: rgba(242, 173, 205, 0.4);
}

.contacts-dialog__close:hover,
.contacts-dialog__close:focus-visible {
  background: rgba(194, 89, 157, 0.25);
  outline-color: #c2599d;
}

.contact-section {
  border-color: rgba(142, 26, 142, 0.15);
  box-shadow: 0 5px 15px rgba(53, 47, 53, 0.07);
}

.contact-section--accent {
  border-color: rgba(142, 26, 142, 0.28);
  background: linear-gradient(135deg, rgba(142, 26, 142, 0.11), rgba(194, 89, 157, 0.07));
}

.contact-section h3 {
  color: #8e1a8e;
}

.contact-section h3::after {
  display: none;
}

.contact-lines a {
  color: #8e1a8e;
  text-decoration-color: rgba(142, 26, 142, 0.32);
}

.contact-lines a:hover {
  color: #601060;
}

.contact-phone-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 12px;
}

.contact-lines small,
.bank-details dt {
  color: #716873;
}

.contact-section p,
.bank-details dd,
.contact-person {
  color: #272028;
}

.bank-details {
  background: #f1ecf1;
}

div.dt-container div.dt-paging ul.pagination {
  --bs-pagination-color: #8e1a8e !important;
  --bs-pagination-border-color: rgba(142, 26, 142, 0.42) !important;
  --bs-pagination-hover-color: #fff !important;
  --bs-pagination-hover-bg: #c2599d !important;
  --bs-pagination-hover-border-color: #c2599d !important;
  --bs-pagination-active-color: #fff !important;
  --bs-pagination-active-bg: #8e1a8e !important;
  --bs-pagination-active-border-color: #8e1a8e !important;
}

div.dt-container div.dt-paging ul.pagination .page-item.active .page-link {
  color: #fff !important;
  border-color: #8e1a8e !important;
  background: #8e1a8e !important;
  box-shadow: 0 0 8px rgba(142, 26, 142, 0.45) !important;
}

/* ================================
   Компактная шапка и фон платы
   ================================ */

body {
  background:
    linear-gradient(rgba(8, 17, 24, 0.86), rgba(20, 14, 23, 0.92)),
    url("/static/motherboard-background.jpg") center / cover fixed no-repeat;
}

.warehouse-hero {
  position: relative;
  overflow: hidden;
  padding: 16px 18px 14px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(105deg, rgba(6, 27, 38, 0.94), rgba(27, 22, 27, 0.91) 58%, rgba(65, 19, 61, 0.88));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
}

.warehouse-hero::after {
  position: absolute;
  content: "";
  width: 320px;
  height: 180px;
  right: -80px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 125, 34, 0.2), transparent 68%);
  pointer-events: none;
}

.warehouse-hero__main,
.warehouse-hero__actions {
  position: relative;
  z-index: 1;
}

.warehouse-hero__main h3 {
  margin: 0;
  color: #f7f2f7;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  font-weight: 850;
  letter-spacing: 0.015em;
}

.warehouse-hero__main h3::after {
  width: 105px;
  height: 3px;
  margin-top: 7px;
  border-radius: 3px;
  background: linear-gradient(90deg, #c2599d, #ed7d22);
}

.warehouse-hero #metaLine {
  margin-top: 7px;
  color: #c9d8df !important;
  font-size: 0.88rem;
}

.warehouse-hero__toolbar {
  margin-top: 11px !important;
}

.warehouse-hero #totalsCard {
  max-width: none;
}

.warehouse-hero #totalsCard .card {
  border: 1px solid rgba(242, 173, 205, 0.25) !important;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(142, 26, 142, 0.95), rgba(194, 89, 157, 0.92));
  box-shadow: 0 8px 20px rgba(85, 15, 82, 0.3) !important;
}

.warehouse-hero #totalsCard .card-body {
  padding: 0.48rem 0.75rem !important;
}

.warehouse-hero #totalsCard .badge {
  color: #ffe7f5;
  background: rgba(27, 22, 27, 0.82) !important;
}

.warehouse-hero #totalsCard .text-muted {
  color: #f9e8f4 !important;
}

.warehouse-hero #exportButtons .dt-buttons {
  gap: 7px;
}

.warehouse-hero #exportButtons .btn {
  color: #21170d;
  border: 1px solid rgba(255, 210, 140, 0.72);
  border-radius: 9px;
  background: linear-gradient(135deg, #ed7d22, #ffc56d);
  box-shadow: 0 8px 20px rgba(237, 125, 34, 0.27);
}

.warehouse-hero #exportButtons .btn:hover,
.warehouse-hero #exportButtons .btn:focus-visible {
  color: #160f09;
  background: linear-gradient(135deg, #ff922f, #ffd58a);
  box-shadow: 0 10px 25px rgba(237, 125, 34, 0.4);
}

.warehouse-hero__actions .btn {
  white-space: nowrap;
}

.warehouse-hero__actions .btn-outline-secondary,
.warehouse-hero__actions .btn-outline-primary {
  color: #b8c8d0;
  border-color: rgba(184, 200, 208, 0.48);
  background: rgba(2, 20, 30, 0.34);
}

.warehouse-hero__actions .btn-outline-secondary:hover,
.warehouse-hero__actions .btn-outline-primary:hover {
  color: #fff;
  border-color: #ed7d22;
  background: rgba(237, 125, 34, 0.2);
}

.warehouse-hero__actions .btn-contacts {
  color: #fff;
  border-color: #c2599d;
  background: linear-gradient(135deg, #8e1a8e, #c2599d);
}

table.dataTable thead th {
  background: linear-gradient(135deg, #092a38, #211923 72%) !important;
}

.container > .card.shadow-sm > .card-body,
.container-fluid > .card.shadow-sm > .card-body {
  background: rgba(255, 255, 255, 0.97);
  border-radius: inherit;
}

@media (min-width: 992px) {
  .warehouse-hero__main {
    width: 100%;
    min-width: 0;
  }

  .warehouse-hero__main h3,
  .warehouse-hero #metaLine {
    max-width: calc(100% - 340px);
  }

  .warehouse-hero__actions {
    position: absolute;
    top: 16px;
    right: 18px;
  }
}

@media (max-width: 767.98px) {
  .warehouse-hero {
    padding: 14px;
  }

  .warehouse-hero__actions {
    width: 100%;
    order: 2;
  }

  .warehouse-hero__toolbar {
    align-items: stretch !important;
  }

  .warehouse-hero #totalsCard,
  .warehouse-hero #exportButtons {
    width: 100%;
  }
}
