@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
/* CSS Document */
.selectize-table {
  margin: auto;
  text-align: center;
}
.fixed-text {
  line-height: 34px;
  font-size: 14px;
}
.width-38 {
  width: 38% !important;
}
.width-33 {
  width: 33% !important;
}

.badge-input {
  appearance: none;
  text-indent: 1px;
  height: 20px !important;
}
#fileupload label {
  width: 40%;
  margin: auto;
}
.selectize {
  display: inline-block;
  width: 30%;
}

.helpButtonFixSelectize {
  position: relative;
  top: -14px;
}
.dropdown-colorpicker {
  float: left;
  top: 5px;
}
a:focus {
  outline: 0;
  border: 0;
}
body {
  font-family: "Inter", "Open Sans", sans-serif;
  background: #f4f7fb;
  color: #21364d;
}

:root {
  --brand-50: #f4f9ff;
  --brand-100: #e4f0ff;
  --brand-300: #84b5e8;
  --brand-500: #4a86c5;
  --brand-600: #2f6fb4;
  --brand-700: #1f4f86;
  --brand-900: #153a5f;
  --ink-700: #21364d;
  --ink-500: #5f7185;
  --border: #dfe7f1;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --shadow: 0 10px 30px rgba(21, 58, 95, 0.12);
}

.navbar.navbar-default {
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-500) 100%);
  border: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 10px 30px rgba(21, 58, 95, 0.18);
}

.navbar.navbar-default .navbar-container {
  background: transparent;
}

.navbar.navbar-default .navbar-header a img {
  height: 40px;
  max-width: none;
}

.navbar.navbar-default .ace-nav > li > a,
.navbar.navbar-default .navbar-nav > li > a {
  color: rgba(255, 255, 255, 0.95);
}

.navbar.navbar-default .ace-nav > li > a:hover,
.navbar.navbar-default .navbar-nav > li > a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

#sidebar.sidebar {
  background: linear-gradient(180deg, var(--surface-soft) 0%, #f2f7fd 100%);
  border-right: 1px solid var(--border);
  box-shadow: 12px 0 28px -20px rgba(21, 58, 95, 0.22);
}

#sidebar .nav-list > li > a {
  color: var(--ink-700);
  border-radius: 12px;
  margin: 4px 6px;
  padding: 9px 8px;
  font-size: 12px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

/* Free up more room for the label itself (not the sidebar) so long
   entries like "Shipments - North America" fit on a single line. */
#sidebar .nav-list > li > a > .menu-icon {
  min-width: 22px;
  margin-right: 4px;
}

#sidebar .nav-list > li > a:hover,
#sidebar .nav-list > li.active > a,
#sidebar .nav-list > li.open > a {
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-500) 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(74, 134, 197, 0.2);
  transform: translateX(2px);
}

#sidebar .nav-list > li .arrow {
  color: inherit;
}

#sidebar .nav-list > li .submenu > li > a {
  transition: background 0.15s ease, color 0.15s ease;
}

#sidebar .nav-list > li .submenu > li > a:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

#sidebar .nav-list > li .submenu > li.active > a {
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-500) 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(74, 134, 197, 0.25);
}

#sidebar .nav-list > li .submenu > li.active > a > .badge {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff;
}

#sidebar .nav-list > li .submenu > li.active > a > .menu-icon {
  color: var(--brand-700);
}

#sidebar .sidebar-toggle {
  border-top: 1px solid var(--border);
  background: transparent;
}

.table,
.table-responsive table,
.bootstrap-table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.table > thead > tr > th,
.table thead th,
.bootstrap-table thead th {
  background: linear-gradient(180deg, var(--brand-50) 0%, #eaf4ff 100%);
  color: var(--brand-700);
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--border);
}

.table > tbody > tr > td,
.table tbody td,
.bootstrap-table tbody td {
  border-top: 1px solid var(--border);
  color: var(--ink-700);
  vertical-align: middle;
}

.table-hover > tbody > tr:hover > td,
.table-striped > tbody > tr:nth-child(odd) > td,
.bootstrap-table tbody tr:hover td {
  background: var(--surface-soft);
}

.form-control,
textarea.form-control,
select.form-control,
.selectize-input,
.chosen-container-single .chosen-single,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="date"] {
  border: 1px solid var(--border);
  border-radius: 999px;
  min-height: 38px;
  padding: 0 14px;
  background: var(--surface);
  color: var(--ink-700);
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
textarea.form-control:focus,
select.form-control:focus,
.selectize-input.focus,
.chosen-container-single .chosen-single:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="date"]:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(74, 134, 197, 0.16);
  outline: none;
}

.selectize-input {
  padding: 0 14px;
  display: flex;
  align-items: center;
}

.selectize-control.single .selectize-input {
  border-radius: 999px;
}

.selectize-dropdown {
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.selectize {
  display: inline-block;
  width: 33%;
  text-align: left;
}
.selectize-control:focus {
  border-color: #2f80ed !important;
}
/*.selectize input:placeholder-shown{
    width: 100% !important;
}*/
small.navbar_title {
  position: relative;
  margin-left: 10px;
  top: 25px;
  font-size: 15px;
  color: #fff;
}

.noPadding {
  padding: 0;
}
.textOnly {
  position: relative;
  top: 9px;
  float: left;
  margin-right: 5px;
}
/******
******* Header ********************/

.page-header {
  border-bottom: 1px solid #2f80ed;
}

.user_photo {
  margin-left: 10px;
}
.bigger-110 {
  font-size: 16px;
}

.table thead tr th [class*="fa-"]:first-child {
  margin-right: 5px;
}
.pl-10 {
  padding-left: 10px;
}

.ml-10 {
  margin-left: 10px;
}
.mr12 {
  margin-right: 12px;
}
.mr20 {
  margin-right: 20px;
}
.mt15 {
  margin-top: 15px;
}
.mt-5 {
  margin-top: 5px;
}
.mrT60 {
  margin-top: 60px;
}
.mrB10 {
  margin-bottom: 10px;
}
.mrL10 {
  margin-left: 10% !important;
}
.mrR50 {
  margin-right: 50px !important;
}
.bbd {
  margin-bottom: 10px;
}
.bbd img {
  margin-right: 14px;
  outline: 1px solid #e2e2e2;
  margin-bottom: 10px;
}
.bbd img:nth-child(6n) {
  margin-right: 0px;
}
.text-inline {
  font-size: 12px;
}
.help-button {
  line-height: 19px;
}
.vkHelpButtonFix {
  position: relative;
  top: -55px;
  vertical-align: middle;
}
.helpButtonFixSelctize {
  position: relative;
  top: -14px;
}
.helpButtonFix {
  position: relative;
  top: -7px;
}
.typeaheadHelpButtonFix {
  position: relative;
  top: 5px;
}
.txtOnlyHelpButtonFix,
.spinnerHelpButtonFix {
  position: relative;
  top: 5px;
}
.dateHelpButtonFix {
  position: relative;
  top: -4px;
  left: 4px;
}
#gore.btn,
#dole.btn {
  padding: 0 0 0 5px;
}
a#izmena {
  position: relative;
  top: 3px;
  margin-right: 5px;
}
.menu-toggler .menu-text {
  display: block;
  color: #fff;
  position: relative;
  top: 3px;
  text-transform: uppercase;
}
.navbar {
  /*background-image: url("../img/logo.png");*/
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #1e3a5f;
}

.navbar .navbar-brand {
  padding-top: 10px;
  padding-bottom: 0;
  padding-left: 0;
  margin-left: 0;
  margin-right: 0;
}
.logo-text {
  font-size: 24px;
  padding: 0 10px 0 5px;
  position: relative;
  top: 7px;
  font-weight: 600;
}
.datepicker {
  z-index: 1200 !important;
}
.welcome {
  font-size: 18px;
}

.infobox-container {
  margin-bottom: 30px;
}

.login-layout {
  background-color: #0c4076 !important;
}

.logImg {
  position: relative;
  margin-top: 20px;
  margin-bottom: 10px;
}
.white {
  color: #fff;
}
td.widthCol {
  width: 100px;
  outline: 1px solid red;
}
.gritter-centerAkcijaView {
  position: fixed;
  left: 40%;
  right: 40%;

  top: 33%;
}
.sendTestKampanja {
  margin-top: 20px;
}
.sendTestKampanja input {
  margin-left: 25px;
}

ul.listTableField,
ul.listTableFieldHead {
  list-style: none;
}
.listTableFieldHead li {
  font-size: 12px;
  float: left;
  margin-right: 1%;
  background-color: #1c69d4;
  text-align: center;
  border: 4px solid #2f80ed;
  padding: 10px 15px;
  color: #fff;
  width: 32%;
  height: 110px;
}
.listTableField li {
  font-size: 14px;
  margin-top: 30px;
}
.listTableFieldHead li h4 {
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid #fff;
  margin-bottom: 10px;
  padding-bottom: 10px;
}
.listTableField li h4 {
  color: #478fca;
  text-transform: uppercase;
  font-size: 16px;
}
strong.br {
  background-color: #fff;
  color: #1c69d4;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 15px;
  padding: 5px 10px;
  position: relative;
  top: 5px;
}
a.aHrefGrupa:focus {
  outline: 0 !important;
  border: 4px solid #d15b47;
}
a.aHrefGrupa:active {
  top: 1px;
}
.alert.mt-5 {
  margin-bottom: 0 !important;
}
.alert-grey {
  background-color: #bfbfbf;
}
input.tt-hint,
.form-group input.tt-hint {
  background-color: transparent !important;
}
/* Added from this point */
.twitter-typeahead {
  width: 100%;
}
.tt-dropdown-menu {
  width: 100%;
}
input.ajax-typeahead {
  /* This is optional */
  width: 90%;
}
.pointer {
  cursor: pointer;
}
.form-group .input-icon {
  padding: 0;
  margin: 0;
  width: 90%;
}
.form-group .input-icon input,
.form-group .input-icon .chosen-container-multi .chosen-choices {
  padding-left: 30px;
}

@media (max-width: 520px) {
  .logo-text {
    font-size: 17px;
  }
}

@media (max-width: 479px) {
  .navbar .navbar-brand {
    padding: 10px 0 10px 10px;
  }
  .navbar:not(.navbar-collapse) .ace-nav > li {
    float: right !important;
  }
}
@media (max-width: 320px) {
  .menu-toggler .menu-text {
    display: none;
  }
}

button.search-btn {
  position: absolute;
  left: 0;
  background: transparent;
  border: 0;
}

button.search-btn i {
  position: relative;
  top: 2px;
  left: -2px;
}

/* Quick search (txtSearch) in the breadcrumb bar: the generic
   input[type="text"] modernization above (min-height: 38px) made it taller
   than the 41px breadcrumbs bar, so it overflowed past the bottom edge.
   Give it its own compact, pill-shaped size instead. */
.nav-search .nav-search-input {
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 14px 0 30px;
  border: 1px solid var(--border) !important;
  border-radius: 999px !important;
  font-size: 13px;
  color: var(--ink-700) !important;
  box-shadow: none;
}
.nav-search .nav-search-input:focus,
.nav-search .nav-search-input:hover {
  border-color: var(--brand-500) !important;
  box-shadow: 0 0 0 3px rgba(74, 134, 197, 0.16);
}
.nav-search .nav-search-icon {
  color: var(--brand-500) !important;
}
.breadcrumbs .nav-search {
  top: 5px;
}

.bootstrap-table-fix {
  float: left;
  width: 100%;
  padding: 0px;
  margin-bottom: 30px;
}
.bootstrap-table-delete-btn {
  padding: 0;
  border: none;
  background: transparent;
  color: #dd5a43;
  font-size: 1.3em;
  cursor: pointer;
}
.bootstrap-table-delete-btn:hover {
  color: #bb4530;
}
.btn-bootstrap {
  line-height: 1.6em;
  margin: 0px !important;
  border: inherit !important;
  border-radius: 5px;
  background-color: #6faed9 !important;
}
.btn-bootstrap:hover {
  background-color: #2f80ed !important;
}
.btn-bootstrap:focus {
  background-color: #6faed9 !important;
}
span.dropup > .btn-bootstrap {
  border-radius: 5px !important;
  padding: 3px;
}
span.dropup > .btn-bootstrap > .caret {
  margin: 0px;
}
.btn.dropdown-toggle:focus {
  background-color: #6faed9 !important;
}
.mr-5 {
  margin-right: 5px !important;
}

/* Logos */
.navbar-header {
  display: flex;
  align-items: center;
  gap: 25px;
}
#scm-logo {
  height: 40px;
  width: auto;
}
#login-logo {
  width: 225px;
}

/* Desni navbar (obaveštenja / podrška / korisnik): sprečava sažimanje
   koje lomi natpise u dva reda */
.navbar-header.pull-right {
  gap: 10px;
}
.navbar-header.pull-right .notif-center,
.navbar-header.pull-right .ace-nav {
  flex-shrink: 0;
}
.navbar-header.pull-right .ace-nav > li {
  white-space: nowrap;
}
.navbar-header.pull-right .ace-nav > li > a {
  padding: 0 10px;
}

/* Gornji navbar uvek fiksiran pri skrolovanju (i levi logo i desni deo sa
   obaveštenjima/korisnikom, pošto su oba unutar istog #navbar elementa) —
   nezavisno od ace "Fixed navbar" podešavanja iz cookie-ja, koje je po
   defaultu isključeno. #main-container dobija padding-top da sadržaj ne bi
   iskočio ispod fiksiranog navbara (vrednosti odgovaraju .navbar-fixed-top +
   .main-container pravilu u ace.css). */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}
#main-container {
  padding-top: 45px;
}
/* Levi sidebar je takođe uvek fiksiran pri skrolovanju (isto kao navbar, nezavisno
   od ace "Fixed sidebar" podešavanja iz cookie-ja). Samo na desktop širinama -
   ispod 992px sidebar je off-canvas meni sa dugmetom "Meni" i to ostaje kako jeste.
   top odgovara visini navbara (45px, isto kao padding-top #main-container);
   dug meni se skroluje unutar sidebar-a. U skupljenom stanju (.menu-min) podmeniji
   izlaze kao "flyout" izvan sidebar-a, pa tada overflow mora ostati vidljiv. */
@media (min-width: 992px) {
  #sidebar.sidebar {
    position: fixed;
    top: 45px;
    bottom: 0;
    float: none;
    z-index: 1027;
    overflow-x: hidden;
    overflow-y: auto;
  }
  #sidebar.sidebar.menu-min {
    overflow: visible;
  }
}
@media (max-width: 479px) {
  #main-container {
    padding-top: 90px;
  }
}
/* Login page */
.login-container {
  margin-top: 75px;
}
/* Import stock and forecast */
.import-data {
  margin: 10px 0;
}
.import-btn {
  display: none !important;
}
/* #import-label {
    padding: 4px 10px;
}
#import-label i {
    font-size: 19px;
} */
.revert-original-value {
  cursor: pointer;
}
.import-info-border-cell {
  border-right: 2px solid black !important;
}
.target-below-zero {
  background-color: rosybrown;
}
.last-import-info {
  font-size: 15px;
}
.last-import-larger-margin {
  margin: 15px 0;
}
.import-form {
  display: flex;
  gap: 20px;
}
.sticky-column {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 2;
  background: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  border-right: 2px solid #ddd;
}
thead tr:nth-child(1) th {
  position: sticky;
  top: 0;
  z-index: 6;
  background: white;
}
thead tr:nth-child(2) th {
  position: sticky;
  top: 30px;
  z-index: 5;
  background: white;
}
#import-files {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.import-input {
  display: flex;
}
/* Import table */
#import-table p {
  margin: 0;
}
#import-table thead {
  border-bottom: 1px solid #d9d9d9;
}
#import-table th {
  padding: 10px 40px 10px 40px;
  font-size: 16px;
  text-align: center;
}
#import-table tbody tr {
  border-bottom: 1px solid #e7e7e7;
}
#import-table tbody tr:last-child {
  border: none;
}
#import-table td {
  padding: 15px 40px 15px 40px;
  font-size: 16px;
  text-align: center;
}
.import-status {
  width: 88px;
  border: 1px solid gray;
  border-radius: 10px;
  font-size: 13px;
}
.status-submitted {
  color: #4d004d;
  border-color: #4d004d;
}
.status-success {
  color: green;
  border-color: green;
}
.status-error {
  color: #d50c0c;
  border-color: #d50c0c;
}
.status-pending {
  color: #888888;
  border-color: #888888;
}
.status-progress {
  color: #b8860b;
  border-color: #b8860b;
}
.import-label {
  padding: 3px 15px;
  min-width: 140px;
  background-color: #58a4e2;
  color: white;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
}
.import-label:hover {
  background-color: #6bb0e9;
}
#upload-files {
  margin-top: 40px;
  padding: 8px 45px;
  background-color: rgb(14, 176, 14);
  border: none;
  border-radius: 4px;
  text-transform: uppercase;
  color: white;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.05s ease;
}
#upload-files:hover {
  background-color: rgb(11, 148, 11);
}
#upload-files:active {
  transform: scale(0.97);
}
#upload-files:disabled {
  background-color: #b7b7b7;
  color: #eee;
  cursor: not-allowed;
  transform: none;
}
#import-forecast-month {
  width: 100%;
}
.import-date-picker {
  padding: 3px 3px;
  border: 1px solid #d5d5d5;
}
.import-date-picker:focus {
  outline: none;
}
.import-date-picker:read-only {
  background-color: initial !important;
  caret-color: transparent;
}
#import-upload-errors {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.rm-import-error {
  font-size: 15px;
  margin: 0;
  color: #ef4444;
  font-weight: bold;
}
.import-warning-msg {
  font-size: 15px;
  margin: 0;
  color: #9b8737;
  font-weight: bold;
}
.import-status-wrapper-center {
  display: flex;
  justify-content: center;
}
#import-loader-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: rgba(157, 157, 157, 0.5);
  z-index: 10;
}
/* Forecast filter year */
#forecast-calculation-label {
  margin: 0;
  margin-bottom: 5px;
  font-size: 14px;
}
#forecast-calculation {
  margin: 0 0 30px 0;
  padding: 7px;
  width: 200px;
  height: auto;
  border: 1px solid #b3b3b3;
  border-radius: 4px;
}
.m-file-revert-change {
  cursor: pointer;
}
/* Warehouse Forecast View */
.forecast-month-header {
  display: flex;
  justify-content: space-between;
}
.forecast-month-header p {
  margin: 0;
  line-height: 1;
}
.forecast-month-history {
  font-size: 23px;
  cursor: pointer;
}
.forecast-month-history:hover {
  color: #645f5f;
}
.forecast-field-cell {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.forecast-field-cell p {
  margin: 0;
}
.forecast-month {
  display: flex;
  gap: 15px;
}
.forecast-month-key {
  font-weight: 600;
}
#frcst-month-overview-month, #frcst-month-overview-material {
  font-weight: 600;
}
#forecast-month-empty {
  padding: 10px 0;
  font-size: 16px;
  font-weight: 600;
}
#frcst-month-label {
  margin: 0;
  margin-bottom: 5px;
  font-size: 15px;
}
#cmbForecastCalculateMonth + .selectize {
  width: 250px;
}
#frcst-start-month-calculation {
  margin-top: 10px;
  padding: 7px 0;
  width: 200px;
  background: #1c69d4 !important;
  border: none;
  color: white;
}
#forecast-loader-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: rgba(157, 157, 157, 0.5);
  z-index: 10;
}
.spinning-partially-colored-loader {
  width: 48px;
  height: 48px;
  border: 5px solid #FFF;
  border-bottom-color: #2f80ed;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  }

  @keyframes rotation {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}
/* M File */
.rm-code-column {
  background-color: #f2f2f2;
  font-weight: bold;
  color: #333;
}
#mfile-options-wrapper {
  display: flex;
  gap: 35px;
  margin-bottom: 20px;
}
.mfile-option-label {
  margin-bottom: 2px;
  font-size: 14px;
}
.mfile-option-select {
  width: 200px;
}
/* D file */
#d-file-options {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.d-file-option {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.d-file-select-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin: 0;
}
.d-file-select {
  width: 150px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  font-size: 13px;
  color: #1e293b;
  outline: none;
  transition: border-color 0.15s;
}
.d-file-select:focus {
  border-color: #2f80ed;
  box-shadow: 0 0 0 2px rgba(67,142,185,0.15);
}
#d-file-widget-body {
  overflow-x: scroll;
  white-space: nowrap;
}
#d-file-last-calculation {
  margin-bottom: 10px;
}
#d-file-last-stock-date {
  font-size: 18px;
  margin: 10px 0 18px 0;
  font-weight: 500;
  color: #475569;
  border-radius: 20px;
  padding: 5px 14px;
  margin: 0;
  white-space: nowrap;
}
#d-file-month-tables {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}
.d-file-month-block {
  display: flex;
  flex-direction: column;
}
.d-file-month-title {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
}
.d-file-table th {
  padding: 10px 5px;
}
.d-file-table td {
  padding: 10px 0;
}
.d-file-table td,
.d-file-table th {
  text-align: center;
  min-width: 120px;
  max-width: 120px;
  text-wrap: wrap;
  border: 1px solid #7a7a7a;
  border-collapse: collapse;
}
.is-holiday-column {
  background-color: rgb(255, 255, 217);
}
.stock-column {
  font-weight: 600;
}
.frcst-per-day-column {
  background-color: yellowgreen;
}
.receipts-column {
  background-color: rgb(255, 255, 217);
  color: rgb(100, 179, 253);
  font-weight: 600;
}
.d-file-input {
  width: 150px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  font-size: 13px;
  color: #1e293b;
  outline: none;
  transition: border-color 0.15s;
}
.d-file-input:focus {
  border-color: #2f80ed;
  box-shadow: 0 0 0 2px rgba(67,142,185,0.15);
}
/* Unloading file */
#unloading-tables {
  max-width: 100%;
  overflow-x: auto;
}
#unloading-tables .unloading-table-wrapper:first-child {
  margin-top: 0;
}
.unloading-table-wrapper {
  margin: 30px 0;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.unloading-table-scroll {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 70vh;
  width: 100%;
}
.unloading-table {
  border-collapse: collapse;
  width: max-content;
  min-width: 100%;
}
.unloading-table-rm-code {
  min-width: 60px !important;
  max-width: 60px !important;
}
.unloading-table td,
.unloading-table th {
  padding: 9px 10px;
  text-align: center;
  min-width: 200px;
  max-width: 200px;
  text-wrap: wrap;
  border: 1px solid #e2e8f0;
  font-size: 13px;
}
.unloading-table th {
  background: #3f5477;
  color: #f1f5f9;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.03em;
  border-color: #3f5477;
  position: sticky;
  top: 0;
  z-index: 2;
}
.unloading-table tbody tr:not(.unloading-summary):not(.unloading-optimum):not(.unloading-maximum):hover td {
  background: #eff6ff !important;
}
.unloading-summary td {
  font-weight: 700;
  background: #f1f5f9;
  border-top: 2px solid #94a3b8;
  color: #3f5477;
}
.unloading-table .unloading-optimum td,
.unloading-table .unloading-maximum td {
  font-weight: 600;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
}
.unloading-table td:nth-child(1),
.unloading-table th:nth-child(1) {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
}
.unloading-table td:nth-child(2),
.unloading-table th:nth-child(2) {
  position: sticky;
  left: 200px;
  z-index: 1;
  background: #fff;
}
.unloading-table td:nth-child(3),
.unloading-table th:nth-child(3) {
  position: sticky;
  left: 260px;
  z-index: 1;
  background: #fff;
  box-shadow: 3px 0 6px -2px rgba(0, 0, 0, 0.12);
}
.unloading-table th:nth-child(1),
.unloading-table th:nth-child(2),
.unloading-table th:nth-child(3) {
  background: #3f5477;
  z-index: 3;
}
.unloading-table .unloading-summary td:nth-child(1),
.unloading-table .unloading-summary td:nth-child(2),
.unloading-table .unloading-summary td:nth-child(3) {
  background: #f1f5f9;
}
.unloading-table .unloading-optimum td:nth-child(1),
.unloading-table .unloading-optimum td:nth-child(2),
.unloading-table .unloading-optimum td:nth-child(3),
.unloading-table .unloading-maximum td:nth-child(1),
.unloading-table .unloading-maximum td:nth-child(2),
.unloading-table .unloading-maximum td:nth-child(3) {
  background: #f8fafc;
}
.grupa-za-istovar-title {
  font-size: 14px;
  font-weight: 600;
  color: black;
  background: white;
  margin: 0;
  padding: 12px 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid #334155;
  border-radius: 8px 8px 0 0;
}
.red-total {
  background-color: #fca5a5 !important;
  color: #7f1d1d;
  font-weight: 700;
}
/* Shipments file */
#shipment-tables {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  overflow-x: auto;
  max-height: 70vh;
}
#shipment-tables table td,
#shipment-tables table th {
  text-align: center;
  border: 1px solid #bbb;
  border-collapse: collapse;
}
.main-shipment-subheaders th {
  padding: 0 20px;
  white-space: nowrap;
  font-weight: 600;
  height: 35px;
}
#main-shipment-table th,
#main-shipment-table td {
  background-color: #fce4d6;
}
.main-shipment-main-header th {
  height: 70px;
  font-size: 28px;
  font-weight: 600;
}
.shipment-fields td {
  padding: 5px 0;
  min-width: 80px;
}
.secondary-shipment-containers th {
  height: 25px;
  text-align: left !important;
  padding-left: 10px;
}
.secondary-shipment-location th {
  height: 45px;
  font-size: 25px;
  font-weight: 600;
}
.secondary-shipment-subheaders th {
  padding: 0 20px;
  height: 35px;
}
/* Location SAP IDs */
#location-sap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#location-sap-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#add-sap {
  background-color: #2f80ed;
  color: white;
  font-weight: 600;
  border: none;
  padding: 5px 0;
  border-radius: 8px;
}
.sap-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sap-item i {
  color: #d20b0b;
  font-size: 23px;
  cursor: pointer;
}
/* Logistika import */
.logistics-table {
  width: 100%;
  table-layout: fixed;
}
.lt-status {
  width: 10%;
}
/* Logistika import - end */
/* Obrasci grupa */
#label-group-title {
  text-transform: uppercase;
  text-align: right;
}
#add-new-pattern {
  margin-top: 30px;
  margin-left: 20%;
  padding: 7px 15px;
  width: 225px;
  border-radius: 5px;
  border: none;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  background-color: #2f80ed;
}
#add-new-pattern:hover {
  background-color: #387a9f;
}
#label-patterns {
  display: flex;
  flex-direction: column;
  padding-left: 312px;
}
#labbel-pattern-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pattern-label-select {
  width: 750px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.pattern-label-select .selectize-input {
  width: 320px;
}
/* Label table */
#labels-select-end-date-wrapper {
  margin-bottom: 25px;
}
#labels-select-end-date-label {
  margin-bottom: 5px;
  font-size: 15px;
}
#labels-date-picker {
  width: 210px;
  padding: 6px 3px;
  border: 1px solid #d5d5d5;
  outline: none;
}
#labels-tables {
  display: flex;
  gap: 40px;
}
/* Delivery order creator */
/* .widget-box je globalno overflow:hidden (zaobljeni uglovi), što je sekao
   padajuće liste selectize-a na ivici sekcije. Ovde je overflow otvoren, a
   zaobljenje uglova vraćeno eksplicitno na header i body. Selektor je
   .widget-box.do-creator-box (a ne samo .do-creator-box) jer se globalno
   .widget-box { overflow: hidden } nalazi niže u fajlu, pa bi pri istoj
   specifičnosti ono pobedilo. */
.widget-box.do-creator-box,
.do-creator-box > .widget-body,
.do-creator-box .widget-main {
  overflow: visible;
}
.do-creator-box > .widget-header {
  border-radius: 14px 14px 0 0;
}
.do-creator-box.collapsed > .widget-header {
  border-radius: 14px;
}
.do-creator-box > .widget-body {
  border-radius: 0 0 14px 14px;
}
#delivery-order-fields {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 35px;
}
.do-field {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(21, 58, 95, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.do-field:focus-within {
  position: relative;
  z-index: 30; /* otvorena lista uvek iznad susednih polja */
  border-color: var(--brand-300);
  box-shadow: 0 0 0 3px rgba(74, 134, 197, 0.1);
}
.do-field-header {
  padding: 12px 14px 0;
  text-align: left;
  border-bottom: 0;
}
.do-field-header p {
  margin: 0 !important;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: 0.01em;
}
.do-field-body {
  padding: 8px 14px 14px;
}
.do-table-number-input {
  width: 100%;
}
/* Šira polja (2 od 6 kolona): redovi su Broj kontejnera..Etikete (6 x 1),
   Partner (2) + Maks. mešanja..Profit (4 x 1), Grupe obrazaca + Način slaganja
   + Algoritam (3 x 2) - duge liste i duže opcije ne prave guzvu u prvom redu. */
#do-field-partner,
#do-field-grupe-obrazaca,
#do-field-nacin-slaganja {
  grid-column: span 2;
}

/* Kontrole u poljima: ista zaobljenost/visina, i za input i za selectize */
#delivery-order-fields .do-table-number-input,
#delivery-order-fields .input-group .form-control,
#delivery-order-fields .selectize-input {
  border: 1px solid var(--border);
  border-radius: 10px;
  min-height: 40px;
  background-color: var(--surface);
  box-shadow: none;
}
#delivery-order-fields .input-group .form-control {
  border-radius: 10px 0 0 10px;
}
#delivery-order-fields .input-group-addon {
  border: 1px solid var(--border);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: var(--brand-50);
  color: var(--brand-600);
}
#delivery-order-fields .do-table-number-input:focus,
#delivery-order-fields .input-group .form-control:focus,
#delivery-order-fields .selectize-input.focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(74, 134, 197, 0.16);
}
#delivery-order-fields .selectize-control {
  width: 100%;
}

/* Selectize - izabrana vrednost i strelica */
#delivery-order-fields .selectize-control.single .selectize-input {
  padding: 6px 34px 6px 12px;
  border-radius: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%234a86c5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
#delivery-order-fields .selectize-control.single .selectize-input.dropdown-active {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 7.5 6 4l3.5 3.5' fill='none' stroke='%234a86c5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
#delivery-order-fields .selectize-control.single .selectize-input:after {
  display: none; /* stara crna trougao-strelica iz teme */
}
#delivery-order-fields .selectize-control.single .selectize-input > .item {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--ink-700);
}

/* Selectize - višestruki izbor: stavke se prelamaju u nove redove kao "čipovi" */
#delivery-order-fields .selectize-control.multi .selectize-input {
  flex-wrap: wrap;
  align-content: center;
  gap: 4px;
  padding: 5px 10px;
  height: auto;
}
#delivery-order-fields .selectize-control.multi .selectize-input > div {
  margin: 0;
  padding: 2px 8px 2px 10px;
  border: 1px solid #cfe2fa;
  border-radius: 999px;
  background: var(--brand-100);
  background-image: none;
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 500;
  text-shadow: none;
  box-shadow: none;
}
#delivery-order-fields .selectize-control.multi .selectize-input > div.active {
  background: var(--brand-300);
  border-color: var(--brand-300);
  color: #fff;
}
#delivery-order-fields .selectize-control.multi .selectize-input > input {
  flex: 1 1 60px;
  min-width: 60px;
}
#delivery-order-fields .selectize-control.plugin-remove_button [data-value] {
  padding-right: 26px !important;
}
#delivery-order-fields .selectize-control.plugin-remove_button [data-value] .remove {
  width: 22px;
  padding: 0;
  border-left: 0;
  border-radius: 0 999px 999px 0;
  color: var(--brand-600);
  line-height: 20px;
}
#delivery-order-fields .selectize-control.plugin-remove_button [data-value] .remove:hover {
  background: var(--brand-300);
  color: #fff;
}

/* Selectize - padajuća lista: šira od kolone kad su opcije duže, bez sečenja */
#delivery-order-fields .selectize-dropdown {
  width: max-content !important; /* selectize inline postavlja širinu kontrole */
  min-width: 100%;
  max-width: 360px;
  margin-top: 6px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(21, 58, 95, 0.16), 0 2px 6px rgba(21, 58, 95, 0.06);
  z-index: 1000;
}
#delivery-order-fields .selectize-dropdown-content {
  max-height: 280px;
  padding: 0;
}
#delivery-order-fields .selectize-dropdown [data-selectable] {
  margin: 1px 0;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-700);
  white-space: normal;
  overflow: visible;
}
#delivery-order-fields .selectize-dropdown [data-selectable][data-value=""] {
  display: none; /* prazna opcija koju Selectize klasa dodaje na vrh liste */
}
#delivery-order-fields .selectize-dropdown .active {
  background-color: var(--brand-100);
  color: var(--brand-700);
}
#delivery-order-fields .selectize-dropdown .selected {
  position: relative;
  padding-right: 32px;
  background-color: var(--brand-50);
  color: var(--brand-700);
  font-weight: 600;
}
#delivery-order-fields .selectize-dropdown .selected.active {
  background-color: var(--brand-100);
}
#delivery-order-fields .selectize-dropdown .selected:after {
  content: "\2713";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-500);
  font-weight: 700;
}
#delivery-order-fields .selectize-dropdown .no-results {
  padding: 9px 12px;
  color: var(--ink-500);
  font-size: 13px;
}
#choose-loadings-per-day {
  display: none;
  margin-top: 30px;
}
#choose-loadings-per-day h4 {
  font-size: 22px;
}
#loading-table {
  display: none;
  margin-top: 20px;
  margin-bottom: 35px;
  border-collapse: collapse;
}
#loading-table th,
#loading-table td {
  padding: 10px 20px;
  text-align: center;
  border: 1px solid #cecece;
}
#loading-table-header-row th {
  padding: 10px 20px;
}
.loading-day {
  width: 150px;
}
.loading-day-amount {
  width: 260px;
}
#save-do {
  margin-top: 30px;
  display: none;
}
@media (max-width: 1550px) {
  #delivery-order-fields {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
  }
}
@media (max-width: 1550px) {
  #delivery-order-fields {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }
}
/* dizajn notifikacije novo */
.notif-center {
  position: relative;
  font-family: Arial, sans-serif;
}

/* Bell — same chip treatment as the other navbar icons (transparent,
   highlighted on hover) so all right-navbar items share one background. */
.notif-center .nc-bell {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: background-color 0.15s;
}
.notif-center .nc-bell .fa {
  font-size: 18px;
}
.notif-center .nc-bell:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

/* Isti "ima nešto novo" simbol kao badge-important pored ikonice za podršku
   (#navbar .ace-nav .badge-important) — mala tačka sa prstenom u boji
   navbar-a, bez broja unutra. */
.notif-center .nc-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  min-width: 0;
  padding: 0;
  border-radius: 999px;
  background: #d15b47;
  color: #fff;
  font-size: 0;
  line-height: 0;
  box-shadow: 0 0 0 2px var(--brand-700);
}

/* Dropdown panel */
.notif-center .nc-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  width: 360px;
  max-height: 60vh;
  overflow: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.15);
  display: none;
}
.notif-center .nc-dropdown.open {
  display: block;
}

/* Head */
.notif-center .nc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-weight: bold;
  color: #0f172a;
}
.notif-center .nc-actions {
  display: flex;
  gap: 8px;
}
.notif-center .nc-btn {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  font-size: 12px;
  padding: 6px 8px;
  cursor: pointer;
}
.notif-center .nc-btn.ghost {
  background: #f8fafc;
}

/* List */
.notif-center .nc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.notif-center .nc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
}
.notif-center .nc-item:hover {
  background: #f8fafc;
}

.notif-center .nc-ico {
  width: 18px;
  text-align: center;
  margin-top: 2px;
}
.notif-center .nc-red {
  color: #dc2626;
}
.notif-center .nc-orange {
  color: #f97316;
}
.notif-center .nc-green {
  color: #4caf82;
}

.notif-center .nc-body {
  flex: 1;
  min-width: 0;
}
.notif-center .nc-title {
  font-size: 13px;
  color: #0f172a;
  font-weight: 600;
}
.notif-center .nc-list li.nc-title {
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.notif-center .nc-list li.nc-title::after {
  content: '\f077';
  font-family: FontAwesome;
  font-size: 11px;
  color: #64748b;
  transition: transform 0.2s;
}
.notif-center .nc-list li.nc-title.nc-collapsed::after {
  transform: rotate(180deg);
}
.notif-center .nc-meta {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.notif-center .nc-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  cursor: pointer;
}

/* “Pročitano” (čekirano) */
.notif-center .nc-item.read .nc-title,
.notif-center .nc-item.read .nc-meta {
  color: #94a3b8;
}
.notif-center .nc-item.read {
  opacity: 0.8;
}

/* Foot */
.notif-center .nc-foot {
  padding: 10px 12px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.notif-center .nc-foot .nc-link {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 600;
}
.notif-center .nc-foot .nc-link:hover {
  text-decoration: underline;
}

/* Sitniji ekrani */
@media (max-width: 420px) {
  .notif-center .nc-dropdown {
    width: 92vw;
    right: 4vw;
  }
}

.notif-center .nc-bell:hover {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.95);
}

/* Animacija zvonjenja */
@keyframes ring {
  0% {
    transform: rotate(0);
  }
  15% {
    transform: rotate(8deg);
  }
  30% {
    transform: rotate(-6deg);
  }
  45% {
    transform: rotate(4deg);
  }
  60% {
    transform: rotate(-3deg);
  }
  75% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(0);
  }
}

.notif-center .nc-bell.ring .fa {
  animation: ring 0.9s ease-in-out;
  transform-origin: top center;
}

/* dizajn notifikacije novo end */

/* View tabela filteri */
#view-filters-wrapper {
  margin-bottom: 20px;
}
#view-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  row-gap: 12px;
  margin-bottom: 5px;
}
.view-filter-field {
  width: 180px;
}
.view-filter-text-field {
  width: 160px;
}
.view-filter-field p, .view-filter-text-field p {
  margin: 0 0 5px;
  color: var(--ink-700);
  font-size: 12px;
  font-weight: 600;
}
.view-filter-field .selectize-control {
  width: 100%;
}
#view-filter-options input.textbox,
#view-filter-options input[type="number"] {
  width: 100% !important;
  height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  background: #fff;
  font-size: 13px;
  color: var(--ink-700);
  box-shadow: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#view-filter-options input.textbox:focus,
#view-filter-options input[type="number"]:focus {
  border-color: var(--brand-500) !important;
  box-shadow: 0 0 0 3px var(--brand-50) !important;
  outline: none;
}
#view-filter-options .selectize-control.single .selectize-input,
#view-filter-options .selectize-control.multi .selectize-input {
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  min-height: 34px;
  box-shadow: none !important;
}
#view-filter-options .selectize-control.single .selectize-input.focus,
#view-filter-options .selectize-control.multi .selectize-input.focus {
  border-color: var(--brand-500) !important;
  box-shadow: 0 0 0 3px var(--brand-50) !important;
}
#receipts-filter-search {
  display: none;
}
.receipt-filter-date-box {
  display: flex;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid var(--border);
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.receipt-filter-date-box:focus-within {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-50);
}
.receipt-filter-date {
  flex: 5;
  padding: 6.5px 10px !important;
  border: none !important;
}
.receipt-filter-date-icon {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--brand-50);
  color: var(--brand-600);
}
.view-filter-text-field-input {
  width: 100%;
}
.view-filter-field-group {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-right: 0;
  flex-wrap: wrap;
}
.view-filter-search-btn {
  padding: 8px 20px;
  width: auto;
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-500) 100%) !important;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(74, 134, 197, 0.25);
}
/* View tabela filteri end */
/* Spediter receipt */
#split-receipt-btn {
  margin-top: 17px;
  margin-left: calc(25% + 12px);
  margin-right: 20px;
  padding: 7px 0;
  width: calc(33% + 8px);
  background: #1c69d4 !important;
  color: white;
  font-weight: 600;
  border: none;
  font-size: 14px;
}
.new-receipt-division {
  display: none;
}
.new-receipt-header {
  margin-left: calc(25% + 12px);
  margin-bottom: 30px;
  width: calc(33% + 8px);
  text-align: center;
  font-size: 20px;
}
.delete-divided-receipt {
  margin-left: calc(25% + 12px);
  padding: 7px 0;
  width: calc(33% + 8px);
  border: none;
  color: white;
  background-color: #ed5e68;
  font-weight: 600;
  vertical-align: text-top;
}
#receipts-types-color-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 18px;
}
.receipt-type-color-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.receipt-type-color {
  display: inline-block;
  height: 27px;
  width: 55px;
  background-color: #0f172a;
}
#receipt-changed-row-color {
  background-color: #b8daff;
}
#receipt-split-row-color {
  background-color: #bee5eb;
}
.receipt-type-color-label {
  font-weight: bold;
}
.checkbox-wrapper-2 .ikxBAC {
  appearance: none;
  background-color: #dfe1e4;
  border-radius: 72px;
  border-style: none;
  flex-shrink: 0;
  height: 25px;
  margin: 0;
  margin-top: 8px;
  position: relative;
  width: 51px;
}
.checkbox-wrapper-2 .ikxBAC::before {
  bottom: -6px;
  content: "";
  left: -6px;
  position: absolute;
  right: -6px;
  top: -6px;
}
.checkbox-wrapper-2 .ikxBAC,
.checkbox-wrapper-2 .ikxBAC::after {
  transition: all 100ms ease-out;
}
.checkbox-wrapper-2 .ikxBAC::after {
  background-color: #fff;
  border-radius: 50%;
  content: "";
  height: 17px;
  left: 3px;
  position: absolute;
  top: 4px;
  width: 17px;
}
.checkbox-wrapper-2 input[type=checkbox] {
  cursor: default;
}
.checkbox-wrapper-2 .ikxBAC:hover {
  background-color: #c9cbcd;
  transition-duration: 0s;
}
.checkbox-wrapper-2 .ikxBAC:checked {
  background-color: #1c69d4;
}
.checkbox-wrapper-2 .ikxBAC:checked::after {
  background-color: #fff;
  left: 29px;
}
.checkbox-wrapper-2 :focus:not(.focus-visible) {
  outline: 0;
}
.checkbox-wrapper-2 .ikxBAC:checked:hover {
  background-color: #1c69d4;
}
.order-quantity-mismatch-show {
  display: flex;
}
.order-quantity-mismatch-hide {
  display: none;
}
#order-quantity-mismatch-info {
  margin: 0 !important;
  margin-top: 0px;
  color: #b0575b;
  font-size: 15px;
  margin-top: 3px !important;
}
#order-quantity-mismatch-fix {
  text-decoration: underline;
  cursor: pointer;
}
/* Spediter receipt end */
/* Export to excel */
#export-options-wrapper {
  margin-top: 28px;
  margin-bottom: 14px;
}
.export-to-excel-btn-wrapper {
  display: flex;
}
.export-to-excel-btn {
  padding: 7px 0;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  border: none;
}
.export-to-excel-left {
  width: 145px;
  color: white;
  background-color: #3e3e3e;
}
.export-to-excel-right {
  width: 40px;
  background-color: #2f80ed;
  color: white;
  font-size: 19px;
}
.export-button-sekcija {
  margin-bottom: 18px;
  padding: 10px;
  text-align: center;
}
.export-button-sekcija-forecast {
  margin-top: 20px;
  margin-bottom: 0;
}
.export-button-sekcija-top {
  text-align: left;
  margin-bottom: 14px;
}
.export-button-sekcija-top .btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}
/* Export to excel end */
/* Nalepnice modul */
.nalepnice-status-column {
  width: 21%;
}
.nalepnice-table {
  width: 70%;
  table-layout: fixed;
}
/* Akcije iznad tabele (export / osvežavanje...): dugmad u istom redu, iste veličine */
.table-actions {
  position: relative;
  margin-bottom: 16px;
}
.table-actions-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
a.table-action-btn:hover,
a.table-action-btn:focus {
  text-decoration: none;
}
.table-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 240px;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}
.table-actions-meta label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}
.table-actions-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-500);
}
@media (max-width: 767px) {
  .table-action-btn {
    flex: 1 1 100%;
  }
}
.nalepnice-refresh-loader {
  width: 40px;
  height: 40px;
  border: 5px solid #FFF;
  border-bottom-color: #2f80ed;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
/* Nalepnice modul end */
/* /Update/ stranica info za polja */
.update-field-info-wrapper {
  display: none;
}
.update-field-info-text-warning {
  margin: 0 !important;
  margin-top: 0px;
  color: #ce8f12;
  font-size: 15px;
  margin-top: 3px !important;
}
/* /Update/ stranica info za polja end */
/* W File */
#w-file-options-wrapper {
  margin-bottom: 20px;
}
.w-file-option {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.w-file-option label {
  margin: 0;
  font-weight: 600;
  color: #383b45;
}
#WFileDate + .selectize-control .selectize-input {
  max-width: 200px;
}
/* W File end */
/* Loader */
.loader-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: rgba(157, 157, 157, 0.5);
  z-index: 10;
}
/* Loader end */
/* Isplanirani utovari tabela */
#isplanirani-utovari-jspreadsheet-wrapper {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}
.set-table-top-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  height: 17px;
}
.set-table-top-scroll-inner {
  height: 1px;
}
.isplanirani-utovari-jspreadsheet {
  display: inline-block;
}
.set-table { border-collapse: collapse; border: 1px solid #d9d9db; width: 100%; }
.set-table tr {
  border-bottom: 1px solid #d9d9db;
}
.set-table td, .set-table th { width: 150px; min-width: 150px; max-width: 150px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 15px; box-sizing: border-box; user-select: none; }
.set-table th {
  border: 1px solid #d9d9db;
  font-size: 15px;
  background-color: #fafafb !important;
  padding: 11px 15px;
}
.set-table th:first-child {
  border-left: none;
}
.set-table th:last-child {
  border-right: none;
}
.set-table th i {
  margin-left: 8px;
}
.set-table td {
  border-left: none;
  border-right: none;
  font-size: 12px;
  font-weight: 600;
}
.set-table tbody tr:hover td {
  background-color: #eef7fe;
}
.set-table td.selected {
  background-color: #d3eafd;
  border: 1px solid #2196f3;
}
.set-table tbody tr:hover td.selected {
  background-color: #d3eafd;
}
.set-table th { background-color: #f0f0f0; border-bottom: none; }
.set-context {
  position: absolute;
  color: #433942;
  background: rgb(246, 246, 246);
  border: 1px solid #d9d9db;
  padding: 8px 9px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  width: 180px;
  font-size: 15px;
}
.set-context i {
  margin-right: 5px;
}
.set-context:hover {
  background-color: #e7f0f8;
}
.table-dropdown-item {
  margin: 0;
  padding-left: 16px;
  color: #433942;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  height: 40px;
  display: flex;
  align-items: center;
}
.table-dropdown-item:hover {
  background-color: #e7f0f8;
}
.table-dropdown-item-selected, .table-dropdown-item-selected:hover {
  background-color: #cbcbcb;
}
.delete-iu {
  font-size: 19px;
  color: #d80404;
}
.edit-iu {
  font-size: 19px;
  color: #0098ff;
}
#nov-utovar-btn {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  width: 200px;
  font-size: 15px;
  background-color: #52a1e1;
  text-align: center;
  color: white;
  font-weight: bold;
}
#nov-utovar-btn:hover {
  text-decoration: none;
}
#nov-utovar-btn-title {
  flex: 3;
  padding: 8px 0;
  background-color: #1c69d4;
}
#nov-utovar-btn-icon {
  flex: 1;
  padding: 8px 0;
  background-color: #1b79d2;
}
.iu-row-select:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
#iu-bulk-delete-btn {
  margin-bottom: 14px;
  margin-left: 10px;
}
/* Isplanirani utovari tabela end */
/* Isplanirani utovari paginacija */
.pagination {
  display: flex;
  align-items: stretch;
  gap: 5px;
  margin: 20px;
}
.page-box {
  padding: 10px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  min-width: 30px;
  width: 50px;
  transition: 0.2s;
  color: black;
}
.page-box:hover {
  text-decoration: none;
}
.page-box:not(.disabled):hover {
  background-color: #86cbf2;
  color: white;
  border: 1px solid #86cbf2;
}
.page-box.current {
  background-color: #2f80ed;
  border: 1px solid #2f80ed;
  color: white;
  font-weight: 600;
  font-size: 14px;
}
.page-box.disabled {
  cursor: default;
  opacity: 0.5;
}
#isplanirani-utovari-pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
#iu-jump-to-page {
  height: 40px;
  padding: 0 10px;
  border: 1px solid #c0c0c0;
  border-radius: 4px !important;
  width: 75px;
}
#iu-jump-to-page-wrap button {
  height: 39px;
  padding: 0 10px;
  border: none;
  border-radius: 4px;
  background-color: #2f80ed;
  color: white;
  font-weight: 600;
}
/* Isplanirani utovari paginacija end */
/* Isplanirani utovari filter */
#iu-filter-options {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
/* Isplanirani utovari filter end */
/* Predloženi utovari — info o broju napravljenih utovara */
.utovar-count-info {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding: 10px 16px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 10px;
  color: var(--brand-700);
  font-size: 13px;
}
.utovar-count-info i {
  font-size: 15px;
  color: var(--brand-600);
}
.utovar-count-info strong {
  font-size: 15px;
}
/* Predloženi utovari info end */
/* Isplanirani utovari update */
.theme-line {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, #f0f0f0, #2f80ed, #2f80ed, #f0f0f0);
  width: 70%;
  margin: 40px auto 25px auto;
}
#so-search-results {
  display:none;
  position:absolute;
  top:100%;
  left:0;
  width:100%;
  min-width:220px;
  background:#fff;
  border:1px solid #ccc;
  border-radius:0 0 4px 4px;
  box-shadow:0 4px 8px rgba(0,0,0,.12);
  list-style:none;
  padding:0;
  margin:0;
  z-index:9999;
  max-height:220px;
  overflow-y:auto;
}
.input-group-addon {
  background-color: #1c69d4;
  color: white;
  border: 1px solid #1c69d4;
}
#deliverySearch {
  border-right: none;
}
#so-search-results li {
  cursor: pointer;
  color: #181818 !important;
  font-weight: 600;
  border-bottom: 1px solid #d8d8d8;
}
#so-search-results li:hover {
  background-color: #ececec;
}
/* Isplanirani utovari update end */
/* Tire filter */
#tire-view-table-form {
  margin-bottom: 0;
}
#tire-filter-options {
  display: flex;
  gap: 12px;
  row-gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
/* Tire filter end */
/* Partners filter */
#partners-view-table-form {
  margin-bottom: 0;
}
#partners-filter-options {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
/* Partners filter end */

/* Filter toolbar — collapsible wrapper used by every filter form in the app */
.filter-toolbar {
  margin-bottom: 15px;
}
.filter-toolbar-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 10px;
  color: var(--brand-700);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.filter-toolbar-toggle:hover {
  background: var(--brand-100);
}
.filter-toolbar-caret {
  font-size: 11px;
  transition: transform 0.15s ease;
}
.filter-toolbar.is-open .filter-toolbar-caret {
  transform: rotate(180deg);
}
.filter-toolbar-panel {
  display: none;
  margin-top: 10px;
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 20px -14px rgba(21, 58, 95, 0.25);
}
.filter-toolbar.is-open .filter-toolbar-panel {
  display: block;
}
/* Input filteri (dele ga Tire/Partners/RMStockLot/Isplanirani utovari forme) */
.filter-option-wrap {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 180px;
}
.filter-option-wrap-small {
  width: 130px;
}
.filter-option-label {
  margin: 0 0 5px;
  font-weight: 600;
  font-size: 12px;
  color: var(--ink-700);
}
.filter-option-text {
  padding: 6px 10px;
  height: 34px;
  width: 100% !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  background: #fff;
  font-size: 13px;
  color: var(--ink-700);
  box-shadow: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.filter-option-text:focus {
  outline: none;
  border-color: var(--brand-500) !important;
  box-shadow: 0 0 0 3px var(--brand-50) !important;
}
.filter-option-wrap .selectize-control {
  width: 100%;
  cursor: pointer !important;
}
.filter-option-wrap .selectize-control.single .selectize-input,
.filter-option-wrap .selectize-control.multi .selectize-input {
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  min-height: 34px;
  box-shadow: none !important;
}
.filter-option-wrap .selectize-control.single .selectize-input.focus,
.filter-option-wrap .selectize-control.multi .selectize-input.focus {
  border-color: var(--brand-500) !important;
  box-shadow: 0 0 0 3px var(--brand-50) !important;
}
.filter-option-icon-box {
  display: flex;
  overflow: hidden !important;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.filter-option-icon-box:focus-within {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-50);
}
.filter-option-icon-box .filter-option-date {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.filter-option-date {
  flex: 5;
}
.filter-option-input-icon {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--brand-50);
  color: var(--brand-600);
}
/* Primarna i sekundarna dugmad filter formi (deljeno) */
#filter-submit-btn,
#tire-filter-submit-btn,
#partners-filter-submit-btn,
.view-filter-search-btn,
.filter-toolbar-panel .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  height: 34px;
  padding: 0 20px;
  width: auto;
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-500) 100%) !important;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  line-height: normal;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(74, 134, 197, 0.25);
}
.filter-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  height: 34px;
  padding: 0 16px;
  margin-left: 8px;
  background: #ffffff;
  border: 1px solid var(--brand-500);
  border-radius: 8px;
  color: var(--brand-700);
  font-size: 14px;
  line-height: normal;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.filter-reset-btn:hover {
  background: var(--brand-50);
}
/* Input filteri end */
/* Filteri po kolonama (jqGrid filterToolbar) — red ispod zaglavlja + Reset iznad tabele */
.grid-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.grid-filter-extra {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  font-size: 13px;
  color: var(--ink-500);
}
.grid-filter-extra select {
  height: 32px;
  padding: 0 28px 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background-color: #fff;
  color: var(--ink-700);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.grid-filter-extra select:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-50);
}
.grid-filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.grid-filter-reset:hover:not(:disabled) {
  background: var(--brand-100);
  border-color: var(--brand-300);
}
.grid-filter-reset:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--brand-100);
}
.grid-filter-reset:disabled {
  opacity: 0.5;
  cursor: default;
}
.grid-filter-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand-600);
  color: #fff;
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}
.grid-filter-count[hidden] {
  display: none;
}
.ui-jqgrid .ui-jqgrid-htable .ui-search-toolbar th {
  height: auto;
  padding: 6px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
}
.ui-jqgrid .ui-jqgrid-htable .ui-search-toolbar th div {
  height: auto;
  line-height: normal;
  padding: 0;
}
.ui-jqgrid .ui-search-toolbar .ui-search-table {
  width: 100%;
}
.ui-jqgrid .ui-search-toolbar input[type="text"] {
  width: 100% !important;
  height: 30px;
  padding: 4px 10px !important;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 400;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ui-jqgrid .ui-search-toolbar input[type="text"]::placeholder {
  color: var(--ink-500);
  opacity: 0.7;
}
.ui-jqgrid .ui-search-toolbar input[type="text"]:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-50);
}
/* Filteri po kolonama end */
/* Opis formata import fajla (Common/incImportFormatInfo.php) */
.import-format {
  margin-bottom: 20px;
}
.import-format-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-700);
}
.import-format-section {
  margin-bottom: 10px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 20px -16px rgba(21, 58, 95, 0.25);
}
.import-format-section > summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
  border-radius: 12px;
}
.import-format-section > summary::-webkit-details-marker {
  display: none;
}
.import-format-section > summary::before {
  content: "\f107";
  font-family: FontAwesome;
  color: var(--brand-500);
  transition: transform 0.15s ease;
  transform: rotate(-90deg);
}
.import-format-section[open] > summary::before {
  transform: rotate(0deg);
}
.import-format-section > summary:hover {
  background: var(--brand-50);
}
.import-format-section > summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--brand-100);
}
.import-format-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
}
.import-format-subtitle {
  font-size: 13px;
  color: var(--ink-500);
}
.import-format-body {
  padding: 4px 16px 16px;
}
.import-format-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px 14px;
  background: #fff8ec;
  border: 1px solid #f6dfb2;
  border-radius: 10px;
  color: #7a4d0b;
  font-size: 13px;
}
.import-format-warning .fa {
  margin-top: 2px;
  color: #d98a10;
}
.import-format-facts {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 13px;
  color: var(--ink-700);
}
.import-format-facts li {
  margin-bottom: 4px;
}
.import-format-table {
  width: 100%;
  margin-bottom: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-size: 13px;
}
.import-format-table th {
  padding: 8px 12px;
  background: var(--brand-50);
  border-bottom: 1px solid var(--border);
  color: var(--brand-700);
  font-weight: 600;
  text-align: left;
}
.import-format-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-700);
  vertical-align: top;
}
.import-format-table tbody tr:last-child td {
  border-bottom: 0;
}
.import-format-col-letter {
  width: 70px;
  text-align: center !important;
}
.import-format-col-name {
  width: 260px;
  font-weight: 600;
}
.import-format-letter {
  display: inline-block;
  min-width: 28px;
  padding: 2px 8px;
  border-radius: 8px;
  background: var(--brand-100);
  color: var(--brand-700);
  font-weight: 700;
  text-align: center;
}
.import-format-required {
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #fdecec;
  color: #b4322e;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}
.import-format-rule {
  margin-bottom: 4px;
}
.import-format-values {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 120px;
  margin: 4px 0;
  overflow-y: auto;
}
.import-format-chip {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-size: 12px;
}
.import-format-ignored {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--ink-500);
}
/* Opis formata import fajla end */
/* RM Stock lot filtriranje */
#rm-stock-table-form {
  margin-bottom: 0;
}
#rm-stock-filter-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
/* RM Stock lot filtriranje end */
/* Info linije */
#info-lines {
  margin-bottom: 20px;
}
.info-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 15px;
}
.info-line-text {
  margin: 0;
}
.warning-line {
  color: #bc974e;
  background-color: #ffeebb;
  border: 2px solid #f3e29c;
}
.info-line-text {
  font-weight: 600;
  font-size: 15px;
}
/* Info linije end */

/* ==========================================================================
   Modern theme refresh — Refined Blue palette + subtle radius/shadow
   ========================================================================== */
a {
  color: #2f80ed;
}
a:hover,
a:focus {
  color: #1c69d4;
}

.btn-primary {
  background-color: #2f80ed !important;
  border-color: #2f80ed !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #1c69d4 !important;
  border-color: #1c69d4 !important;
}

.no-skin .sidebar {
  background-color: #f7f9fc;
}
.no-skin .nav-list > li > a:focus {
  color: #1c69d4;
}
.no-skin .nav-list > li:hover > a {
  color: #2f80ed;
}
.no-skin .nav-list > li.open > a {
  color: #1c69d4;
}
.no-skin .nav-list > li.active > a {
  color: #2f80ed;
}
.no-skin .nav-list > li .submenu > li.active > a {
  color: #2f80ed;
}
.no-skin .nav-list > li .submenu > li > a:hover {
  color: #2f80ed;
}
.no-skin .nav-list > li .submenu > li.active > a > .menu-icon {
  color: #2f80ed;
}
.no-skin .nav-list > li > .submenu li.open > a {
  color: #1c69d4;
}
.no-skin .nav-list > li > .submenu li > .submenu li.open > a,
.no-skin .nav-list > li > .submenu li > .submenu li.active > a {
  color: #2f80ed;
}
.no-skin .nav-list li.active > a:after {
  border-right-color: #2f80ed;
  -moz-border-right-colors: #2f80ed;
}
.no-skin .nav-list > li.active:after {
  border-color: #2f80ed;
}

.widget-box {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
}
.widget-header {
  border-radius: 6px 6px 0 0;
}
.btn {
  border-radius: 6px;
}

/* ==========================================================================
   Modern font
   ========================================================================== */
body,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inter', 'Open Sans', sans-serif;
}
.page-header h1 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Navbar refresh
   ========================================================================== */
.navbar {
  background-image: linear-gradient(100deg, #1e3a5f 0%, #24466f 100%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Bell, support icon and avatar all live in one 40px-tall row and share the
   same flex-centering, so their icon/photo optical centers line up exactly
   instead of relying on separate line-height/margin math per element. */
.notif-center {
  display: flex;
  align-items: center;
}
.ace-nav {
  display: flex;
  align-items: center;
}
.ace-nav > li {
  float: none;
  border-left: 0;
  height: 40px;
  line-height: normal;
}

.ace-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-radius: 10px;
  margin: 0 4px;
  height: 40px;
  min-width: 0;
  transition: background-color 0.15s;
}
.ace-nav > li > a:hover,
.ace-nav > li > a:focus,
.ace-nav > li.open > a {
  background-color: rgba(255, 255, 255, 0.14);
}

/* Support icon + user avatar: match the notification bell's compact,
   minimal chip so all three right-navbar elements read as one aligned set. */
#navbar .ace-nav > li.purple > a {
  background-color: transparent;
  width: 40px;
  padding: 0;
  position: relative;
}
#navbar .ace-nav > li.purple > a:hover,
#navbar .ace-nav > li.purple > a:focus,
#navbar .ace-nav > li.open.purple > a {
  background-color: rgba(255, 255, 255, 0.14);
}
#navbar .ace-nav > li.purple > a > .fa-envelope {
  font-size: 18px;
}
#navbar .ace-nav .badge-important {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  min-width: 0;
  padding: 0;
  border-radius: 999px;
  font-size: 0;
  line-height: 0;
  box-shadow: 0 0 0 2px var(--brand-700);
}

#navbar .ace-nav > li.light-blue > a {
  padding: 0 12px 0 6px;
  gap: 8px;
}
.ace-nav .nav-user-photo {
  width: 34px;
  height: 34px;
  max-width: 34px;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.75);
  object-fit: cover;
}
#navbar .user-info {
  top: 0;
  max-width: 92px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
}
#navbar .ace-nav > li.light-blue > a > .fa-caret-down {
  font-size: 11px;
  opacity: 0.8;
}

.dropdown-menu {
  border-radius: 10px !important;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.15);
}
.dropdown-navbar > li:first-child {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}
.dropdown-yellow > li:hover > a,
.dropdown-yellow > li > a:focus,
.dropdown-yellow > li > a:active,
.dropdown-yellow > li.active > a,
.dropdown-yellow > li.active:hover > a {
  background: #2f80ed;
  color: #ffffff;
}

/* ==========================================================================
   Modern form fields — softer borders, accent focus ring
   ========================================================================== */
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
.form-control {
  border-radius: 6px !important;
  border-color: #dde3ea;
}
textarea:hover,
input[type="text"]:hover,
input[type="password"]:hover,
input[type="datetime"]:hover,
input[type="datetime-local"]:hover,
input[type="date"]:hover,
input[type="month"]:hover,
input[type="time"]:hover,
input[type="week"]:hover,
input[type="number"]:hover,
input[type="email"]:hover,
input[type="url"]:hover,
input[type="search"]:hover,
input[type="tel"]:hover,
input[type="color"]:hover,
select:hover,
.form-control:hover {
  border-color: #c7d0da;
}
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
select:focus,
.form-control:focus {
  border-color: #2f80ed;
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.12);
}

/* ==========================================================================
   Modern tables (jqGrid) — softer, lighter borders
   ========================================================================== */
.ui-jqgrid .ui-jqgrid-hdiv {
  background-color: #f8fafc;
  border: none;
  border-bottom: 1px solid #eef1f5;
}
.ui-jqgrid .ui-jqgrid-htable thead,
.ui-jqgrid .ui-jqgrid-labels {
  background: #f8fafc;
  background-image: none;
}
.ui-jqgrid-hdiv .ui-jqgrid-htable {
  border-top: none;
}
.ui-jqgrid .ui-jqgrid-htable th,
.ui-jqgrid .ui-th-column,
.ui-jqgrid .ui-jqgrid-htable th.ui-th-column,
.ui-first-th-ltr,
.ui-first-th-rtl {
  border: none !important;
  color: #475569;
}
.ui-jqgrid tr.ui-row-ltr td,
.ui-jqgrid tr.ui-row-rtl td,
.ui-jqgrid tr.jqgfirstrow td {
  border: none;
  border-bottom: 1px solid #f1f3f5;
}
.ui-jqgrid .ui-jqgrid-btable {
  border-left: none;
}
.ui-jqgrid .ui-jqgrid-bdiv {
  border-top: none;
}
.ui-jqgrid tr.jqgrow:hover td,
.ui-jqgrid-btable .ui-widget-content.ui-state-hover {
  background-color: #f5f9ff;
}
.ui-jqgrid-btable .ui-widget-content.ui-state-highlight {
  background-color: #eaf2fe;
}
.ui-jqgrid .ui-jqgrid-pager,
.ui-jqgrid .ui-jqgrid-toppager {
  background-color: #f8fafc !important;
  border-top: 1px solid #f1f3f5 !important;
  border-bottom: 1px solid #f1f3f5 !important;
}
.ui-jqgrid .ui-search-toolbar {
  border-top: 1px solid #f1f3f5;
}
.ui-jqgrid .ui-search-toolbar th {
  border-top-color: #f1f3f5 !important;
  border-top-style: solid !important;
}

/* ==========================================================================
   Modern buttons — blue system, rounded corners, subtle lift on hover
   ========================================================================== */
.btn {
  border-radius: 10px;
  border-width: 1px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(21, 58, 95, 0.16) !important;
}
.btn:active {
  transform: translateY(0);
  box-shadow: none !important;
}
.btn.btn-minier,
.btn.btn-mini {
  border-radius: 7px;
}

.btn-primary,
.btn-primary:focus {
  background-color: var(--brand-600) !important;
  border-color: var(--brand-600) !important;
}
.btn-primary:hover,
.btn-primary:active {
  background-color: var(--brand-700) !important;
  border-color: var(--brand-700) !important;
}

.btn-info,
.btn-info:focus {
  background-color: var(--brand-500) !important;
  border-color: var(--brand-500) !important;
}
.btn-info:hover,
.btn-info:active {
  background-color: var(--brand-600) !important;
  border-color: var(--brand-600) !important;
}

.btn-default,
.btn:focus,
.btn-default:focus {
  background-color: var(--surface) !important;
  border-color: var(--border) !important;
  color: var(--ink-700) !important;
}
.btn-default:hover,
.btn-default:active {
  background-color: var(--surface-soft) !important;
  border-color: var(--brand-300) !important;
  color: var(--brand-700) !important;
}

.btn-success,
.btn-success:focus {
  background-color: #4caf82 !important;
  border-color: #4caf82 !important;
}
.btn-success:hover,
.btn-success:active {
  background-color: #3d9670 !important;
  border-color: #3d9670 !important;
}

.btn-warning,
.btn-warning:focus {
  background-color: #e0a53e !important;
  border-color: #e0a53e !important;
}
.btn-warning:hover,
.btn-warning:active {
  background-color: #c98f2c !important;
  border-color: #c98f2c !important;
}

.btn-danger,
.btn-danger:focus {
  background-color: #dd6b6b !important;
  border-color: #dd6b6b !important;
}
.btn-danger:hover,
.btn-danger:active {
  background-color: #c65454 !important;
  border-color: #c65454 !important;
}

/* ==========================================================================
   Modern widgets & info-boxes — rounded surfaces, soft shadow, blue accents
   ========================================================================== */
.widget-box {
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.widget-header {
  background: linear-gradient(180deg, var(--brand-50) 0%, #eaf4ff 100%);
  border-bottom: 1px solid var(--border);
  color: var(--brand-700);
}
.widget-header > .widget-title {
  color: var(--brand-700);
  font-weight: 700;
}
.widget-body {
  background-color: var(--surface);
}

.infobox {
  border-radius: 14px;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow);
  background-color: var(--surface);
  color: var(--ink-700);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.infobox:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   Login page — align with the navbar's blue gradient and rounded language
   ========================================================================== */
.login-layout {
  background: linear-gradient(
    160deg,
    var(--brand-900) 0%,
    var(--brand-700) 55%,
    var(--brand-600) 100%
  ) !important;
}
.login-layout .widget-box.visible {
  border: none;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(10, 30, 55, 0.35);
  overflow: hidden;
}
.login-layout .widget-box .widget-main {
  background: var(--surface);
  padding: 28px 34px 34px;
}
.login-layout .widget-main h4.header {
  color: var(--brand-700) !important;
  font-weight: 700;
}
.login-layout .form-control {
  min-height: 42px;
}
.login-layout button.btn-primary {
  border-radius: 999px;
  padding: 10px 0;
  font-weight: 700;
}

/* Mala "i" ikonica sa info tooltipom na hover (ili fokus/tap) - umesto stalno
   prikazanog info okvira. Koristi se uz naziv polja (Planer) i uz naslov stranice
   (Customer Preview). Sadržaj tooltipa je u .do-info-tip; --right otvara ulevo
   od ikonice (za polja uz desnu ivicu), --wide je za duže tekstove. */
.do-info {
  position: relative;
  display: inline-flex;
  font-size: 14px;
  line-height: 1;
  color: var(--brand-500);
  cursor: help;
  outline: none;
}
.do-info:hover,
.do-info:focus {
  color: var(--brand-700);
}
.do-info--title {
  margin-left: 8px;
  font-size: 16px;
  vertical-align: middle;
}
.do-info-tip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: -10px;
  z-index: 60;
  width: 400px;
  max-width: 80vw;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  color: var(--ink-700);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  text-shadow: none;
  white-space: normal;
  cursor: default;
}
.do-info-tip--wide {
  width: 560px;
}
.do-info-tip--right {
  left: auto;
  right: -10px;
}
.do-info-tip ul {
  margin: 6px 0 0;
  padding-left: 18px;
}
.do-info-tip li + li {
  margin-top: 4px;
}
.do-info:hover .do-info-tip,
.do-info:focus .do-info-tip,
.do-info:focus-within .do-info-tip {
  display: block;
}

/* Planer — "Pregled raspodele po grupama" (vidi ajxPreviewRaspodela.php): prosta CSS
   traka-po-traka "chart" koja pokazuje kako su PODEŠENI procenti (LabelPatternGroups.
   PercentageOfContainersPerDay) proporcionalno podeljeni među izabranim grupama obrazaca,
   normalizovano na 100% - ne simulira pakovanje/utovare. */
.raspodela-preview {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--surface);
}
.raspodela-preview-summary {
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 12px;
}
.raspodela-preview-grupa + .raspodela-preview-grupa {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.raspodela-preview-naziv {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.raspodela-preview-raw {
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-500);
}
.raspodela-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.raspodela-bar-track {
  flex: 1 1 auto;
  height: 14px;
  border-radius: 999px;
  background: var(--surface-soft);
  overflow: hidden;
}
.raspodela-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.2s ease;
}
.raspodela-bar-fill--actual {
  background: var(--brand-500);
}
.raspodela-bar-value {
  flex: 0 0 auto;
  min-width: 52px;
  font-size: 11px;
  color: var(--ink-700);
  text-align: right;
}
.raspodela-preview-empty {
  font-size: 13px;
  color: var(--ink-500);
}

/* Grupa obrazaca - obojena tačkica + naziv (Predloženi utovari / Planer), vizuelno pokazuje
   kojom je grupom utovar stvarno mešan - vidi PredlogDelivery/DeliveryOrder.
   IDLabelPatternGroup, LabelPatternGroups::BojaZaGrupu(). Boja je inline (style="") jer je
   po grupi, ne po fiksnoj CSS klasi - vidi BojaZaGrupu(). */
.grupa-obrasca-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-700);
  white-space: nowrap;
}
.grupa-obrasca-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
