/* Aromata POS – надополнува Tailwind (DataTables, Select2, Chart, форми) */
:root {
  --gold: #d4af37;
  --sidebar-width: 14rem;
  --topbar-height: 3.5rem;
}

/* DataTables темна тема */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  color: #e4e4e7;
}
.dataTables_wrapper .dataTables_filter input {
  background: #27272a;
  border: 1px solid #3f3f46;
  color: #fff;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
}
.dataTables_wrapper .dataTables_length select {
  background: #27272a;
  border: 1px solid #3f3f46;
  color: #fff;
  border-radius: 0.375rem;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #e4e4e7 !important;
  border: 1px solid #3f3f46 !important;
  background: #27272a !important;
  border-radius: 0.375rem;
  margin: 0 2px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #3f3f46 !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: #18181b !important;
}

/* Select2 темна тема */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  background-color: #18181b !important;
  border: 1px solid #3f3f46 !important;
  color: #e4e4e7 !important;
  border-radius: 0.5rem;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #3f3f46 !important;
  color: #e4e4e7 !important;
  border: none !important;
  border-radius: 0.25rem;
}
.select2-dropdown {
  background-color: #18181b !important;
  border: 1px solid #3f3f46 !important;
  border-radius: 0.5rem;
}
.select2-results__option {
  background-color: #18181b !important;
  color: #e4e4e7 !important;
}
.select2-results__option--highlighted {
  background-color: #3f3f46 !important;
  color: var(--gold) !important;
}
.select2-search--dropdown .select2-search__field {
  background-color: #27272a !important;
  color: #e4e4e7 !important;
  border: 1px solid #3f3f46 !important;
  border-radius: 0.375rem;
}

/* Chart.js контејнер – резинабилен за мобилен */
.chart-wrap canvas {
  display: block;
  max-width: 100%;
  border-radius: 0.5rem;
}

/* Мобилен sidebar анимација */
.sidebar-mobile {
  transition: transform 0.22s ease;
}
.sidebar-backdrop {
  transition: opacity 0.2s ease;
}

/* На мобилен: криј го десктоп sidebar-от (лево мени) */
@media (max-width: 768px) {
  .sidebar-desktop {
    display: none !important;
  }
}

@media (max-width: 768px) {
  header {
    margin-top: 7vh !important;
  }
  body {
    margin-top: 7vh !important;
  }
}
