@charset "UTF-8";
/* ==========================================================================
   Nomeco Kædeportal — Premium theme
   Primærfarven #234082 (logoets blå) er bevaret; alle øvrige blå toner
   er afledt af den.
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
@import url("https://cdn.materialdesignicons.com/7.3.67/css/materialdesignicons.min.css");
:root {
  --brand: #234082;
  --brand-rgb: 35, 64, 130;
  --bs-primary: #234082;
  --bs-primary-rgb: 35, 64, 130;
  --bs-link-color: #234082;
  --bs-link-color-rgb: 35, 64, 130;
  --bs-link-hover-color: #172c5c;
  --bs-body-font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  --bs-body-color: #0f1a2e;
  --bs-border-color: #e3e8f0;
}

/* ---------------------------------- Icons ---------------------------------- */
.mdi {
  font-family: "Material Design Icons";
  vertical-align: middle;
}
.mdi-18 {
  font-size: 18px;
}
.mdi-20 {
  font-size: 20px;
}
.mdi-24 {
  font-size: 24px;
}
.mdi-30 {
  font-size: 30px;
}
.mdi-36 {
  font-size: 36px;
}
.mdi-48 {
  font-size: 48px;
}
.mdi.md-dark {
  color: rgba(0, 0, 0, 0.54);
}
.mdi.md-dark.md-inactive {
  color: rgba(0, 0, 0, 0.26);
}
.mdi.md-light {
  color: #fff;
}
.mdi.md-light.md-inactive {
  color: rgba(255, 255, 255, 0.3);
}

/* ---------------------------------- Base ---------------------------------- */
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
}

html {
  -webkit-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #0f1a2e;
  background-color: #f3f5f9;
  background-image: radial-gradient(1200px 400px at 85% -120px, rgba(92, 124, 194, 0.1), transparent 70%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}
body:after {
  content: "desktop";
  display: none;
}

@media (max-width: 992px) {
  body:after {
    content: "tablet";
  }
}
@media (max-width: 576px) {
  body:after {
    content: "mobile";
  }
}
::selection {
  background: #c5d2ec;
  color: #0b1630;
}

a {
  color: #234082;
  text-decoration: none;
  transition: color 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}
a:hover {
  color: #172c5c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

table, img, iframe {
  max-width: 100%;
  height: auto;
}

ul, ol {
  margin: 1em 0;
  padding: 0 0 0 40px;
}

.img-responsive, .vdo-responsive {
  width: 100%;
  display: block;
}

.left {
  float: left;
}

.right {
  float: right;
}

.clr {
  clear: both;
}

.point {
  cursor: pointer;
}

.anchor {
  padding-top: 40px;
  margin-top: -40px;
}

.vdowrap {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}
.vdowrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Fokus: tydelig, men diskret ring (kun ved tastatur) */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid #5c7cc2;
  outline-offset: 2px;
}

/* ---------------------------------- Typography ---------------------------------- */
h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #0f1a2e;
  letter-spacing: -0.01em;
}

h1, .h1 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}

h3, .h3 {
  font-size: 15px;
  font-weight: 600;
}

h4, .h4 {
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 766px) {
  h1, .h1 {
    font-size: 22px;
  }
  h2, .h2 {
    font-size: 16px;
  }
}
.helper {
  color: #6b7487;
  font-size: 11.5px;
  white-space: nowrap;
}

.text-danger {
  color: #C93B3B !important;
}

/* ---------------------------------- Helpbox / Popover ---------------------------------- */
.helpbox {
  cursor: help;
  color: #93a9da;
  font-size: 15px;
  margin-left: 4px;
  position: relative;
  top: -1px;
  transition: color 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.helpbox:hover {
  color: #234082;
}

.popover {
  --bs-popover-border-color: #e3e8f0;
  --bs-popover-border-radius: 12px;
  --bs-popover-body-color: #3b465c;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(16, 31, 69, 0.08), 0 12px 32px rgba(16, 31, 69, 0.08);
  border-color: #e3e8f0;
  z-index: 9999 !important;
}

.popover-body {
  padding: 12px 14px;
}

/* ---------------------------------- Forms ---------------------------------- */
label {
  font-size: 12.5px;
  font-weight: 600;
  color: #3b465c;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.form-group {
  margin-bottom: 14px;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

::placeholder {
  color: #a3abbb !important;
  opacity: 1 !important;
}

.form-control, .form-select,
input[type=text], input[type=password], input[type=email], input[type=tel], input[type=number], input[type=search] {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: #0f1a2e;
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  background-color: #ffffff;
  transition: border-color 0.15s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.form-control, .form-select {
  min-height: 42px;
  padding: 9px 13px;
  box-shadow: 0 1px 2px rgba(16, 31, 69, 0.06);
}

.form-control:hover, .form-select:hover {
  border-color: #c5d2ec;
}

.form-control:focus, .form-select:focus,
input[type=text]:focus, input[type=password]:focus, textarea:focus {
  border-color: #93a9da !important;
  box-shadow: 0 0 0 3px rgba(35, 64, 130, 0.08) !important;
  outline: none;
}

.form-control[readonly] {
  background-color: #ffffff;
}

.input-group {
  flex-wrap: nowrap;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 31, 69, 0.06);
  transition: box-shadow 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.input-group:focus-within {
  box-shadow: 0 0 0 3px rgba(35, 64, 130, 0.08);
}
.input-group .form-control:focus {
  box-shadow: none !important;
}
.input-group:focus-within .input-group-text {
  border-color: #93a9da;
}
.input-group .form-control {
  border-radius: 8px 0 0 8px !important;
  box-shadow: none;
  min-width: 210px;
}
.input-group .input-group-text {
  border-radius: 0 8px 8px 0 !important;
  background-color: #f2f5fb;
  border-color: #e3e8f0;
  color: #234082;
  font-size: 18px;
  padding: 0 12px;
  transition: background-color 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.input-group .input-group-text:hover {
  background-color: #e3e9f6;
}
.input-group > .btn {
  border-radius: 0 8px 8px 0 !important;
}

/* Fejl */
select.error, input[type=text].error, input[type=password].error, input[type=email].error, input[type=tel].error, textarea.error, button.error {
  border-color: #C93B3B !important;
  box-shadow: 0 0 0 4px rgba(201, 59, 59, 0.12) !important;
}

.errormsg {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background-color: #C93B3B;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.errormsg .arrow {
  display: none;
}

/* ---------------------------------- Checkbox / Radio ---------------------------------- */
input[type=checkbox], .form-check-input[type=checkbox] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: none;
  display: inline-block;
  vertical-align: -4px;
  position: relative;
  cursor: pointer;
  border: 1.5px solid #93a9da;
  border-radius: 5px;
  background: #ffffff center/12px no-repeat;
  transition: background-color 0.15s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}
input[type=checkbox]:hover, .form-check-input[type=checkbox]:hover {
  border-color: #234082;
}
input[type=checkbox]:focus, .form-check-input[type=checkbox]:focus {
  box-shadow: 0 0 0 4px rgba(35, 64, 130, 0.14);
  border-color: #234082;
}
input[type=checkbox]:checked, .form-check-input[type=checkbox]:checked {
  background-color: #234082;
  border-color: #234082;
  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='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
}
input[type=checkbox]:disabled, .form-check-input[type=checkbox]:disabled {
  background-color: #edf1f7;
  border-color: #e3e8f0;
  cursor: not-allowed;
}

.form-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
  padding-left: 0;
}
.form-check-inline .form-check-input {
  float: none;
  margin: 0;
}
.form-check-inline .form-check-label {
  font-size: 14px;
  font-weight: 500;
  color: #0f1a2e;
  margin: 0;
}

input[type=radio] {
  accent-color: #234082;
  width: 17px;
  height: 17px;
}

.checkbox label, .radio label {
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------------------------------- Select2 ---------------------------------- */
.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple {
  height: 42px !important;
  min-height: 42px;
  border: 1px solid #e3e8f0 !important;
  border-radius: 8px !important;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 31, 69, 0.06);
  transition: border-color 0.15s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.select2-container--default .select2-selection--single:hover, .select2-container--default .select2-selection--multiple:hover {
  border-color: #c5d2ec !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 40px !important;
  padding-left: 13px;
  padding-right: 32px;
  color: #0f1a2e;
  font-size: 14px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px !important;
  width: 32px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #5c7cc2 transparent transparent transparent;
  border-width: 5px 4px 0 4px;
}
.select2-container--default.select2-container--open .select2-selection--single, .select2-container--default.select2-container--open .select2-selection--multiple, .select2-container--default.select2-container--focus .select2-selection--single, .select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: #5c7cc2 !important;
  box-shadow: 0 0 0 4px rgba(35, 64, 130, 0.14);
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b, .select2-container--default.select2-container--focus .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #5c7cc2 transparent;
  border-width: 0 4px 5px 4px;
}
.select2-container--default .select2-results__option {
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 6px;
  margin: 1px 6px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: #f2f5fb !important;
  color: #172c5c !important;
}
.select2-container--default .select2-results__option--selected {
  background: transparent;
  color: #234082;
  font-weight: 700;
  position: relative;
  padding-right: 30px;
}
.select2-container--default .select2-results__option--selected:after {
  content: "\f012c";
  font-family: "Material Design Icons";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #234082;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  padding: 8px 10px;
}

.select2-dropdown {
  z-index: 3051;
  border: 1px solid #e3e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(16, 31, 69, 0.08), 0 12px 32px rgba(16, 31, 69, 0.08);
  overflow: hidden;
  padding: 6px 0;
}

.select2-container--open .select2-dropdown--below {
  margin-top: 6px;
}

.select2-container--open .select2-dropdown--above {
  margin-top: -6px;
}

.select2-close-mask {
  z-index: 2099;
}

/* ---------------------------------- Datepickers ---------------------------------- */
.daterangepicker {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  border: 1px solid #e3e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(16, 31, 69, 0.08), 0 12px 32px rgba(16, 31, 69, 0.08);
  padding: 4px;
}
.daterangepicker:before, .daterangepicker:after {
  display: none;
}
.daterangepicker td.in-range {
  background-color: #e3e9f6 !important;
  color: #101f45 !important;
}
.daterangepicker td.active, .daterangepicker td.start-date, .daterangepicker td.end-date {
  background-color: #234082 !important;
  color: #fff !important;
}
.daterangepicker td.today:not(.active) {
  font-weight: 700;
  color: #234082;
}
.daterangepicker td.available:hover {
  background-color: #f2f5fb;
}
.daterangepicker .drp-buttons {
  border-top-color: #e3e8f0;
}
.daterangepicker .btn {
  font-size: 12px !important;
  padding: 6px 16px !important;
  margin-left: 6px !important;
  border-radius: 8px;
}

.datepicker:hover, .datepicker-notbeforetoday:hover, .daterangepicker:hover, .datepicker-min3weeks:hover {
  cursor: pointer;
}

.ui-datepicker {
  z-index: 99999 !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  padding: 10px;
  border: 1px solid #e3e8f0 !important;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(16, 31, 69, 0.08), 0 12px 32px rgba(16, 31, 69, 0.08);
  background: #ffffff;
}
.ui-datepicker .ui-datepicker-header {
  padding: 4px 0 8px;
}
.ui-datepicker .ui-datepicker-title {
  font-weight: 700;
  color: #0f1a2e;
  font-size: 14px;
}
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
  top: 4px !important;
  border: none !important;
  border-radius: 6px;
  cursor: pointer;
}
.ui-datepicker .ui-datepicker-prev:hover, .ui-datepicker .ui-datepicker-next:hover {
  background: #f2f5fb !important;
}
.ui-datepicker th {
  color: #6b7487;
  font-weight: 600;
  font-size: 11px;
}
.ui-datepicker .ui-datepicker-week-col {
  color: #93a9da;
  font-size: 11px;
}

.ui-widget-header {
  background: transparent !important;
  border: none !important;
}

.ui-state-default {
  padding: 6px !important;
  border-radius: 6px !important;
  background: transparent !important;
  border: none !important;
  text-align: center !important;
  color: #0f1a2e !important;
  transition: background-color 0.12s cubic-bezier(0.2, 0.7, 0.2, 1);
}

a.ui-state-default:hover {
  background: #f2f5fb !important;
}

.ui-state-highlight {
  background: #e3e9f6 !important;
  color: #234082 !important;
  font-weight: 700;
}

.ui-state-active {
  background: #234082 !important;
  color: #fff !important;
}

.ui-state-disabled .ui-state-default {
  color: #b7bfcd !important;
}

/* Range-slider (VUP) */
.ui-slider {
  height: 6px;
  border: none !important;
  background: #e3e9f6 !important;
  border-radius: 99px;
}
.ui-slider .ui-slider-range {
  background: linear-gradient(90deg, #34559f, #234082) !important;
  border-radius: 99px;
}
.ui-slider .ui-slider-handle, .ui-slider .ui-state-default {
  width: 18px !important;
  height: 18px !important;
  top: -6px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 3px solid #234082 !important;
  box-shadow: 0 1px 2px rgba(16, 31, 69, 0.05), 0 2px 8px rgba(16, 31, 69, 0.05);
  cursor: grab;
}

/* ---------------------------------- Buttons ---------------------------------- */
.btn {
  --bs-btn-focus-box-shadow: 0 0 0 4px rgba(35, 64, 130, 0.14);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 9px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.18s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.18s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.18s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.18s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn .mdi {
  font-size: 18px;
  line-height: 1;
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(35, 64, 130, 0.14);
}
.btn-xsmall, .btn-micro {
  padding: 3px 10px !important;
  font-size: 12px;
  border-radius: 6px;
}
.btn-small {
  padding: 6px 14px !important;
  font-size: 13px;
}
.btn-medium {
  padding: 8px 16px !important;
}
.btn-primary, .btn-blue, .btn-green {
  color: #fff;
  background: linear-gradient(180deg, #34559f 0%, #234082 100%);
  border-color: #1c3570;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 1px 2px rgba(16, 31, 69, 0.2), 0 4px 12px rgba(35, 64, 130, 0.22);
}
.btn-primary:hover, .btn-primary:focus, .btn-blue:hover, .btn-blue:focus, .btn-green:hover, .btn-green:focus {
  color: #fff;
  background: linear-gradient(180deg, #234082 0%, #172c5c 100%);
  border-color: #172c5c;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 6px 18px rgba(35, 64, 130, 0.32);
}
.btn-primary:active, .btn-primary.active, .btn-blue:active, .btn-blue.active, .btn-green:active, .btn-green.active {
  color: #fff !important;
  background: #172c5c !important;
  border-color: #101f45 !important;
}
.btn-primary:disabled, .btn-blue:disabled, .btn-green:disabled {
  background: #93a9da;
  border-color: #93a9da;
  box-shadow: none;
}
.btn-secondary, .btn-grey, .btn-selected {
  color: #234082;
  background: #ffffff;
  border-color: #c5d2ec;
  box-shadow: 0 1px 2px rgba(16, 31, 69, 0.06);
}
.btn-secondary:hover, .btn-secondary:focus, .btn-grey:hover, .btn-grey:focus, .btn-selected:hover, .btn-selected:focus {
  color: #172c5c;
  background: #f2f5fb;
  border-color: #93a9da;
}
.btn-secondary:active, .btn-secondary.active, .btn-grey:active, .btn-grey.active, .btn-selected:active, .btn-selected.active {
  color: #101f45 !important;
  background: #e3e9f6 !important;
  border-color: #93a9da !important;
}
.btn-orange {
  color: #fff;
  background: #E08A00;
  border-color: #E08A00;
}
.btn-link {
  color: #6b7487;
  font-weight: 600;
  padding: 9px 14px;
  text-decoration: none;
}
.btn-link:hover, .btn-link:focus {
  color: #234082;
  background: #f2f5fb;
  text-decoration: none;
}

/* ---------------------------------- Alert ---------------------------------- */
.alert {
  border: 1px solid transparent;
  border-radius: 12px;
  margin: 0 0 24px;
  padding: 16px 20px;
  box-shadow: 0 1px 2px rgba(16, 31, 69, 0.05), 0 2px 8px rgba(16, 31, 69, 0.05);
}
.alert .mdi {
  font-size: 32px;
}
.alert .headline {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.alert .text {
  font-size: 14px;
}
.alert-danger {
  color: #8a1f1f;
  background: #fdf3f3;
  border-color: #f4d4d4;
  border-left: 4px solid #C93B3B;
}
.alert-danger .mdi, .alert-danger .headline {
  color: #C93B3B;
}

/* ---------------------------------- Spinner / venteside ---------------------------------- */
.spinner-border {
  color: #234082;
  border-width: 3px;
}

.wait-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 40px 56px;
  background: #ffffff;
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(16, 31, 69, 0.08), 0 12px 32px rgba(16, 31, 69, 0.08);
}
.wait-card .h1, .wait-card h1 {
  font-size: 17px;
  font-weight: 600;
  color: #3b465c;
  margin: 0;
  letter-spacing: 0;
}
.wait-card .spinner-border {
  width: 2.5rem !important;
  height: 2.5rem !important;
}

/* ---------------------------------- Login ---------------------------------- */
body.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(900px 600px at 15% 10%, rgba(92, 124, 194, 0.45), transparent 60%), radial-gradient(800px 600px at 100% 100%, rgba(52, 85, 159, 0.55), transparent 60%), linear-gradient(135deg, #101f45 0%, #172c5c 45%, #234082 100%);
}
body.login-page > .container {
  flex: 1;
  display: flex;
  align-items: center;
}
body.login-page > .container > .row {
  width: 100%;
  margin: 0;
}

.login {
  margin: 48px 0;
}
.login .login-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 44px 40px 36px;
  box-shadow: 0 12px 40px rgba(11, 22, 48, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.login .login-card:before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #5c7cc2, #234082, #5c7cc2);
}
.login .logo {
  margin-bottom: 28px;
  text-align: center;
}
.login .logo img {
  max-height: 54px;
  width: auto;
}
.login .login-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 4px;
}
.login .login-sub {
  font-size: 14px;
  color: #6b7487;
  text-align: center;
  margin-bottom: 26px;
}
.login .form-group {
  margin-bottom: 14px;
  position: relative;
}
.login .form-control {
  min-height: 48px;
  padding-left: 44px;
  font-size: 15px;
}
.login .field-icon {
  position: absolute;
  left: 14px;
  top: 12px;
  font-size: 20px;
  color: #93a9da;
  pointer-events: none;
}
.login .btn {
  width: 100%;
  padding: 12px 22px;
  font-size: 15px;
  margin-top: 8px;
}
.login .alert {
  box-shadow: none;
}
.login .login-foot {
  text-align: center;
  margin-top: 22px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

/* ---------------------------------- Header ---------------------------------- */
.site-header {
  position: relative;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid #e3e8f0;
  box-shadow: 0 1px 2px rgba(16, 31, 69, 0.06);
}
.site-header:before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #101f45 0%, #234082 50%, #5c7cc2 100%);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}
.site-header .logo {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.site-header .logo img {
  height: 40px;
  width: auto;
}
.site-header .logo:hover {
  text-decoration: none;
  opacity: 0.9;
}
.site-header ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-header .site-nav {
  flex: 1;
}
.site-header .site-nav ul {
  background: #f2f5fb;
  border: 1px solid #edf1f7;
  padding: 4px;
  border-radius: 12px;
  display: inline-flex;
}
.site-header .site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: #3b465c;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.site-header .site-nav a .mdi {
  font-size: 18px;
  color: #5c7cc2;
  transition: color 0.18s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.site-header .site-nav a:hover {
  color: #234082;
  background: rgba(255, 255, 255, 0.7);
}
.site-header .site-nav a.current {
  color: #234082;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 31, 69, 0.05), 0 2px 8px rgba(16, 31, 69, 0.05), 0 0 0 1px #e3e8f0;
}
.site-header .site-nav a.current .mdi {
  color: #234082;
}
.site-header .site-nav .flexMenu-popup {
  position: absolute;
  z-index: 9999;
  background: #ffffff;
  border: 1px solid #e3e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(16, 31, 69, 0.08), 0 12px 32px rgba(16, 31, 69, 0.08);
  padding: 6px !important;
  display: block;
}
.site-header .site-nav .flexMenu-popup li {
  display: block;
}
.site-header .site-util {
  margin-left: auto;
}
.site-header .site-util a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #6b7487;
  text-decoration: none;
  transition: all 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.site-header .site-util a .mdi {
  font-size: 18px;
}
.site-header .site-util a:hover, .site-header .site-util a.current {
  color: #234082;
  background: #f2f5fb;
}
.site-header .site-util .logout {
  color: #3b465c;
  border: 1px solid #e3e8f0;
  margin-left: 6px;
}
.site-header .site-util .logout:hover {
  border-color: #c5d2ec;
}

@media (max-width: 766px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 10px 0;
  }
  .site-header .logo img {
    height: 32px;
  }
  .site-header .site-nav {
    order: 3;
    flex-basis: 100%;
  }
  .site-header .site-nav ul {
    display: flex;
    width: 100%;
  }
  .site-header .site-nav li {
    flex: 1;
  }
  .site-header .site-nav a {
    justify-content: center;
    width: 100%;
  }
}
/* ---------------------------------- Main / sidehoved ---------------------------------- */
main {
  min-height: calc(100vh - 220px);
  padding: 0 12px 64px;
}

.page {
  max-width: 100%;
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0 14px;
}
.page-head .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c7cc2;
  margin-bottom: 6px;
}
.page-head .page-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #101f45;
}
.page-head .page-sub {
  margin: 6px 0 0;
  color: #6b7487;
  font-size: 14.5px;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  background: #ffffff;
  border: 1px solid #e3e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 31, 69, 0.06);
}
.stat-chip .mdi {
  font-size: 22px;
  color: #234082;
  background: #f2f5fb;
  border-radius: 8px;
  padding: 4px;
  line-height: 1;
}
.stat-chip .num {
  font-size: 18px;
  font-weight: 800;
  color: #101f45;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat-chip .lbl {
  font-size: 11.5px;
  font-weight: 600;
  color: #6b7487;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------------------------------- Panels ---------------------------------- */
.panel {
  background: #ffffff;
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16, 31, 69, 0.05), 0 2px 8px rgba(16, 31, 69, 0.05);
  margin-bottom: 20px;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid #edf1f7;
}
.panel__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f1a2e;
}
.panel__title .mdi {
  font-size: 18px;
  color: #234082;
  background: #f2f5fb;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.panel__body {
  padding: 20px 22px 8px;
}
.panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 22px;
  border-top: 1px solid #edf1f7;
  background: linear-gradient(180deg, #ffffff, #f2f5fb);
  border-radius: 0 0 16px 16px;
}
.panel .reset-link {
  font-size: 13px;
  font-weight: 600;
  color: #6b7487;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.panel .reset-link:hover {
  color: #234082;
  text-decoration: none;
}

/* Aktive filtre */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  min-width: 0;
  margin: 0 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 280px;
  padding: 4px 6px 4px 10px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 12.5px;
  line-height: 1.3;
  color: #172c5c;
  background: #f2f5fb;
  border: 1px solid #e3e9f6;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.filter-chip__label {
  color: #6b7487;
  font-weight: 500;
  white-space: nowrap;
}
.filter-chip__value {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.filter-chip .mdi {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 13px;
  color: #5c7cc2;
  transition: all 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.filter-chip:hover {
  border-color: #c5d2ec;
  background: #e3e9f6;
}
.filter-chip:hover .mdi {
  background: #234082;
  color: #fff;
}

/* Filterfelter: "Vælg" træder i baggrunden, valgte filtre fremhæves */
.panel-filters .select2-container--default .select2-selection__placeholder {
  color: #9aa3b5;
}
.panel-filters .form-group.is-active .select2-selection--single {
  background: #f2f5fb;
  border-color: #93a9da !important;
}
.panel-filters .form-group.is-active .select2-selection--single .select2-selection__rendered {
  color: #172c5c;
  font-weight: 600;
}
.panel-filters .input-group.is-active .form-control {
  background: #f2f5fb;
  border-color: #93a9da;
  color: #172c5c;
  font-weight: 600;
}
.panel-filters .input-group.is-active .input-group-text {
  border-color: #93a9da;
}
.panel-filters .select2-container--default .select2-selection--single .select2-selection__clear {
  height: 40px;
  margin-right: 26px;
  padding: 0 4px;
  font-size: 18px;
  font-weight: 400;
  color: #5c7cc2;
}
.panel-filters .select2-container--default .select2-selection--single .select2-selection__clear:hover {
  color: #C93B3B;
}

/* Søgefelt centreret over filtergrupperne */
.search-row {
  margin-bottom: 4px;
}
.search-row .search-bar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.search-row .search-bar > .form-group {
  flex: 1;
  min-width: 0;
}
.search-row .filter-toggle {
  flex: none;
  height: 48px;
  gap: 8px;
}
.search-row .filter-toggle .badge-count:not(:empty) {
  padding: 1px 7px;
  border-radius: 99px;
  background: #234082;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.search-row .filter-toggle .chev {
  font-size: 18px;
  transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.search-row .filter-toggle:not(.collapsed) {
  background: #f2f5fb;
  border-color: #93a9da;
}
.search-row .filter-toggle:not(.collapsed) .chev {
  transform: rotate(180deg);
}
.search-row label {
  display: block;
  text-align: center;
}
.search-row .form-control {
  min-height: 48px;
  font-size: 15px;
}
.search-row .btn {
  padding-left: 28px;
  padding-right: 28px;
}

/* Filtergrupper: felter samlet og stablet */
.filter-groups {
  row-gap: 16px;
  margin-bottom: 14px;
  padding-top: 6px;
}

.filter-group {
  height: 100%;
  padding: 14px 16px 2px;
  background: linear-gradient(180deg, #f2f5fb, rgba(242, 245, 251, 0.35));
  border: 1px solid #edf1f7;
  border-radius: 12px;
}
.filter-group__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c7cc2;
}
.filter-group__title .mdi {
  font-size: 16px;
  color: #234082;
}
.filter-group .filter-field {
  margin-bottom: 2px;
}
.filter-group .filter-field.collapse:not(.show) {
  display: none;
}
.filter-group .input-group {
  width: 100%;
}
.filter-group .input-group .form-control {
  min-width: 0;
}
.filter-group .form-group.pt-2 {
  padding-top: 2px !important;
}

.filter-divider {
  height: 1px;
  background: #edf1f7;
  margin: 6px 0 18px;
}

.panel-table {
  overflow: visible;
}
.panel-table .toolbar {
  padding: 16px 10px;
  border-bottom: 1px solid #edf1f7;
  align-items: flex-end;
  row-gap: 12px;
}
.panel-table .toolbar .form-group {
  margin-bottom: 0;
}
.panel-table .toolbar .select2-container {
  min-width: 96px;
}
.panel-table .toolbar .row {
  align-items: flex-end;
  row-gap: 12px;
}
.panel-table .toolbar .btn {
  height: 42px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.panel-table .table-shell {
  position: relative;
}
.panel-table .table-shell:before, .panel-table .table-shell:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 16px;
  width: 28px;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.panel-table .table-shell:before {
  left: 0;
  background: linear-gradient(90deg, rgba(16, 31, 69, 0.16), transparent);
}
.panel-table .table-shell:after {
  right: 0;
  background: linear-gradient(-90deg, rgba(16, 31, 69, 0.16), transparent);
}
.panel-table .table-shell.can-left:before, .panel-table .table-shell.can-right:after {
  opacity: 1;
}
.panel-table .table-shell.can-left .table-nav--left, .panel-table .table-shell.can-right .table-nav--right {
  opacity: 1;
  visibility: visible;
}
.panel-table .table-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  border: 1px solid #c5d2ec;
  background: rgba(255, 255, 255, 0.95);
  color: #234082;
  box-shadow: 0 4px 12px rgba(16, 31, 69, 0.08), 0 12px 32px rgba(16, 31, 69, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.15s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.15s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.panel-table .table-nav .mdi {
  font-size: 24px;
  line-height: 1;
}
.panel-table .table-nav:hover {
  background: #234082;
  color: #fff;
  border-color: #234082;
}
.panel-table .table-nav:active {
  transform: scale(0.94);
}
.panel-table .table-nav--left {
  left: 10px;
}
.panel-table .table-nav--right {
  right: 10px;
}
.panel-table .table-wrap {
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.panel-table .table-wrap::-webkit-scrollbar {
  display: none;
}
.panel-table .table-wrap table.dataTable thead th {
  z-index: 3;
  will-change: transform;
}
.panel-table .table-wrap table.dataTable.is-stuck thead th {
  box-shadow: 0 6px 12px -6px rgba(16, 31, 69, 0.35) !important;
}
.panel-table .table-hscroll {
  display: none;
  position: sticky;
  bottom: 0;
  z-index: 6;
  overflow-x: auto;
  overflow-y: hidden;
  height: 16px;
  background: #f2f5fb;
  border-top: 1px solid #e3e8f0;
  scrollbar-width: auto;
  scrollbar-color: #93a9da #f2f5fb;
}
.panel-table .table-hscroll > div {
  height: 1px;
}
.panel-table .table-hscroll::-webkit-scrollbar {
  height: 14px;
}
.panel-table .table-hscroll::-webkit-scrollbar-track {
  background: #f2f5fb;
}
.panel-table .table-hscroll::-webkit-scrollbar-thumb {
  background: #93a9da;
  border-radius: 99px;
  border: 3px solid #f2f5fb;
}
.panel-table .table-hscroll::-webkit-scrollbar-thumb:hover {
  background: #5c7cc2;
}
.panel-table .table-shell.has-overflow .table-hscroll {
  display: block;
}

/* Kolonnevælger */
.col-chooser .badge-count:not(:empty) {
  margin-left: 2px;
  padding: 1px 7px;
  border-radius: 99px;
  background: #234082;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.col-chooser .dropdown-menu {
  min-width: 240px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #e3e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(16, 31, 69, 0.08), 0 12px 32px rgba(16, 31, 69, 0.08);
  z-index: 3060;
}
.col-chooser .dropdown-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7487;
  padding: 8px 10px 6px;
}
.col-chooser .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: #0f1a2e;
  margin: 0;
  cursor: pointer;
}
.col-chooser .dropdown-item:hover, .col-chooser .dropdown-item:focus {
  background: #f2f5fb;
  color: #234082;
}
.col-chooser .dropdown-item .mdi {
  font-size: 16px;
  color: #5c7cc2;
}

.pager {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pager-info {
  font-size: 13.5px;
  color: #6b7487;
}
.pager-info b {
  color: #0f1a2e;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------- DataTable ---------------------------------- */
table.dataTable, .dataTable {
  --bs-table-striped-bg: #f2f5fb;
  --bs-table-hover-bg: #e3e9f6;
  --bs-table-border-color: #edf1f7;
  font-size: 13px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  margin: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 0 !important;
  width: 100% !important;
}
table.dataTable > :not(caption) > * > *, .dataTable > :not(caption) > * > * {
  border-width: 0 !important;
  border-bottom: 1px solid #edf1f7 !important;
}
table.dataTable thead th, table.dataTable thead td, .dataTable thead th, .dataTable thead td {
  position: relative;
  vertical-align: middle !important;
  white-space: normal;
  min-width: 0;
  padding: 12px 10px !important;
  height: 52px;
  background: #234082 !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: normal;
  border-bottom: 0 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: background-color 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}
table.dataTable thead th:first-child, table.dataTable thead td:first-child, .dataTable thead th:first-child, .dataTable thead td:first-child {
  padding-left: 14px !important;
}
table.dataTable thead th:last-child, table.dataTable thead td:last-child, .dataTable thead th:last-child, .dataTable thead td:last-child {
  border-right: 0 !important;
}
table.dataTable thead th.point:hover, table.dataTable thead td.point:hover, .dataTable thead th.point:hover, .dataTable thead td.point:hover {
  background: #1c3570 !important;
}
table.dataTable thead th .th, table.dataTable thead td .th, .dataTable thead th .th, .dataTable thead td .th {
  display: flex;
  align-items: center;
  gap: 4px;
}
table.dataTable thead th .th__label, table.dataTable thead td .th__label, .dataTable thead th .th__label, .dataTable thead td .th__label {
  text-wrap: balance;
}
table.dataTable thead th .helpbox, table.dataTable thead td .helpbox, .dataTable thead th .helpbox, .dataTable thead td .helpbox {
  flex: none;
  top: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  line-height: 1;
}
table.dataTable thead th .helpbox:hover, table.dataTable thead td .helpbox:hover, .dataTable thead th .helpbox:hover, .dataTable thead td .helpbox:hover {
  color: #fff;
}
table.dataTable thead th .th__sort, table.dataTable thead td .th__sort, .dataTable thead th .th__sort, .dataTable thead td .th__sort {
  flex: none;
  margin-left: auto;
  padding-left: 4px;
  line-height: 1;
}
table.dataTable thead th .th__sort .mdi, table.dataTable thead td .th__sort .mdi, .dataTable thead th .th__sort .mdi, .dataTable thead td .th__sort .mdi {
  font-size: 14px;
  color: #fff;
  opacity: 0.3;
  transition: opacity 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}
table.dataTable thead th .th__sort.is-active .mdi, table.dataTable thead td .th__sort.is-active .mdi, .dataTable thead th .th__sort.is-active .mdi, .dataTable thead td .th__sort.is-active .mdi {
  opacity: 1;
  font-size: 15px;
}
table.dataTable thead th.point:hover .th__sort .mdi, table.dataTable thead td.point:hover .th__sort .mdi, .dataTable thead th.point:hover .th__sort .mdi, .dataTable thead td.point:hover .th__sort .mdi {
  opacity: 0.75;
}
table.dataTable thead tr:first-child th:first-child, .dataTable thead tr:first-child th:first-child {
  border-top-left-radius: 0;
}
table.dataTable.fixedHeader-floating, .dataTable.fixedHeader-floating {
  box-shadow: 0 8px 20px rgba(16, 31, 69, 0.18);
}
table.dataTable tbody td:first-child, .dataTable tbody td:first-child {
  padding-left: 14px !important;
}
table.dataTable tbody td, .dataTable tbody td {
  padding: 8px 8px !important;
  vertical-align: middle;
  color: #0f1a2e;
  background-clip: padding-box;
  transition: background-color 0.12s cubic-bezier(0.2, 0.7, 0.2, 1);
}
table.dataTable tbody tr:last-child td, .dataTable tbody tr:last-child td {
  border-bottom: 0 !important;
}
table.dataTable tbody tr:hover > td, .dataTable tbody tr:hover > td {
  --bs-table-bg-state: #e3e9f6;
  box-shadow: inset 0 0 0 9999px rgba(35, 64, 130, 0.05) !important;
}
table.dataTable a, .dataTable a {
  font-weight: 600;
}
table.dataTable .mdi:hover, .dataTable .mdi:hover {
  color: #234082;
}
table.dataTable .mdi-pencil, .dataTable .mdi-pencil {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #234082;
  background: #f2f5fb;
  border: 1px solid #e3e9f6;
  font-size: 18px !important;
  transition: all 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}
table.dataTable .mdi-pencil:hover, .dataTable .mdi-pencil:hover {
  color: #fff;
  background: #234082;
  border-color: #234082;
}
table.dataTable td[data-bs-toggle], .dataTable td[data-bs-toggle] {
  width: 46px;
}
table.dataTable .item-tag, .dataTable .item-tag {
  display: inline-block;
  padding: 3px 7px 3px 8px;
  margin: 1px 3px 3px 0;
  font-size: 11px;
  line-height: 1.3;
  border-radius: 6px;
  white-space: nowrap;
  color: #234082;
  background: #f2f5fb;
  border: 1px solid #e3e9f6;
  border-left: 3px solid #234082;
}
table.dataTable .item-tag > div, .dataTable .item-tag > div {
  color: inherit;
  opacity: 0.85;
  font-size: 11px;
}
table.dataTable .item-tag > div > div, .dataTable .item-tag > div > div {
  font-weight: 700;
  opacity: 1;
  font-size: 11.5px;
}
table.dataTable .item-tag_070, .dataTable .item-tag_070 {
  color: #9b2c2c;
  background: #fdf2f2;
  border-color: #f5d5d5;
  border-left-color: #C93B3B;
}
table.dataTable .item-tag_078, .dataTable .item-tag_078 {
  color: #00613a;
  background: #eef8f3;
  border-color: #cdeadb;
  border-left-color: #007D48;
}
table.dataTable .item-tag_079, .dataTable .item-tag_079 {
  color: #8a5300;
  background: #fff7eb;
  border-color: #f7e0b8;
  border-left-color: #E08A00;
}
table.dataTable .item-tag_074, .dataTable .item-tag_074 {
  color: #3d464b;
  background: #f3f4f5;
  border-color: #e1e4e6;
  border-left-color: #4c565c;
}
table.dataTable .item .mdi-unicorn-variant, .dataTable .item .mdi-unicorn-variant {
  color: #34559f;
}
table.dataTable .item .mdi-close-thick, .dataTable .item .mdi-close-thick {
  color: #C93B3B;
}
table.dataTable .item .mdi-check-bold, .dataTable .item .mdi-check-bold {
  color: #007D48;
}
table.dataTable .item .mdi-timer-sand, .dataTable .item .mdi-timer-sand {
  color: #4c565c;
}
table.dataTable .text-danger, .dataTable .text-danger {
  color: #C93B3B !important;
}
table.dataTable .select2-container, .dataTable .select2-container {
  min-width: 86px;
}
table.dataTable .select2-container--default .select2-selection--single, .dataTable .select2-container--default .select2-selection--single {
  height: 34px !important;
  min-height: 34px;
}
table.dataTable .select2-container--default .select2-selection--single .select2-selection__rendered, .dataTable .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 32px !important;
  padding-left: 9px;
  padding-right: 24px;
  font-size: 13px;
}
table.dataTable .select2-container--default .select2-selection--single .select2-selection__arrow, .dataTable .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 32px !important;
  width: 24px;
}
table.dataTable .prices-input, .dataTable .prices-input {
  width: 70px !important;
}

table.dataTable.no-footer {
  border-bottom: 0 !important;
}

.dataTables_wrapper {
  border-radius: 0 0 16px 16px;
}

.prices-input {
  height: auto;
  padding: 5px 8px;
  border: 1px solid #c5d2ec !important;
  border-radius: 6px !important;
  background: #ffffff;
  font-weight: 600;
}
.prices-input:focus {
  border-color: #234082 !important;
  box-shadow: 0 0 0 4px rgba(35, 64, 130, 0.14) !important;
}
.prices-input-readonly {
  border: 0 !important;
  background-color: transparent !important;
}

label.prices-input {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #3b465c;
  white-space: nowrap;
}

label.prices-input.collapse:not(.show) {
  display: none !important;
}

/* ---------------------------------- Modal ---------------------------------- */
.modal {
  --bs-modal-border-radius: 16px;
  --bs-modal-inner-border-radius: 16px;
}

.modal-backdrop {
  --bs-backdrop-bg: #0b1630;
  --bs-backdrop-opacity: .55;
}

.modal-content {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(11, 22, 48, 0.22);
  overflow: hidden;
}

.modal-header {
  position: relative;
  padding: 22px 26px;
  border: 0;
  color: #fff;
  background: radial-gradient(400px 160px at 100% 0%, rgba(92, 124, 194, 0.5), transparent 70%), linear-gradient(135deg, #172c5c, #234082);
}
.modal-header .modal-title {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.modal-body {
  padding: 22px 26px;
}
.modal-body h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c7cc2;
  margin-bottom: 12px;
}
.modal-body label.h2 {
  display: block;
}
.modal-body .row.h-100 {
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f7;
  margin: 0;
  height: auto !important;
}
.modal-body .row.h-100 > .col-3 b {
  font-weight: 700;
  color: #0f1a2e;
}
.modal-body .row.h-100 .form-group {
  margin-bottom: 0;
}
.modal-body .row.h-100 .input-group .form-control {
  min-width: 0;
}
.modal-body .input-group .form-control {
  min-width: 120px;
  padding: 9px 10px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-overflow: clip;
}
.modal-body .input-group .input-group-text {
  padding: 0 10px;
  font-size: 17px;
}
.modal-body .form-control:disabled, .modal-body .form-control[disabled] {
  background: #edf1f7;
  color: #3b465c;
  opacity: 1;
  -webkit-text-fill-color: #3b465c;
}

.modal-sortment {
  max-width: 580px;
}
.modal-sortment .modal-body textarea {
  min-height: 120px;
  height: 120px;
  resize: none;
}

.modal-footer {
  padding: 14px 26px;
  border-top: 1px solid #edf1f7;
  background: #f2f5fb;
}

/* ---------------------------------- Footer ---------------------------------- */
.site-footer {
  color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(135deg, #0b1630, #172c5c);
  padding: 32px 0;
  position: relative;
}
.site-footer:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147, 169, 218, 0.6), transparent);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.site-footer .brand {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.site-footer .quote {
  font-style: italic;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
}

/* ---------------------------------- Animation ---------------------------------- */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
#dvContent > .page-head, #dvContent > .panel {
  animation: riseIn 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

#dvContent > .panel:nth-of-type(2) {
  animation-delay: 0.05s;
}

#dvContent > .panel:nth-of-type(3) {
  animation-delay: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 766px) {
  .panel__body, .panel__head {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-head .page-title {
    font-size: 24px;
  }
  .input-group .form-control {
    min-width: 0;
  }
}
