/* SECOND DASH */
.card-link+.card-link {
  margin-left: 0;
}

.card {
  margin-bottom: 25px;
  border: 1px solid #E6E9EB !important;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border-radius: 8px;
  -webkit-box-shadow: 0px 9px 20px rgba(46, 35, 94, 0.07);
  box-shadow: 0px 9px 20px rgba(46, 35, 94, 0.07);
}

.card:hover {
  -webkit-box-shadow: 0 0 40px rgba(8, 21, 66, 0.05);
  box-shadow: 0 0 40px rgba(8, 21, 66, 0.05);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.project-details {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.project-details.new-project {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between
}

.project-details .project-counter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 6px;
}

.project-details .project-counter span {
  font-weight: 400;

  font-size: 11px;
}

.small-widget .card-body .product-sub {
  height: 45px;
  width: 45px;
  border-radius: 6px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.small-widget:hover {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.small-widget:hover .project-details img {
  -webkit-animation: tada 1.5s ease infinite;
  animation: tada 1.5s ease infinite;
}

.f-w-600 {
  font-weight: 600;
}

.f-12 {
  font-size: 12px !important;
}

.f-11 {
  font-size: 11px !important;
}


.f-light {
  color: #86909C;
}

h2 {
  font-size: 26px;
  font-weight: 600;
}

.product-sub.light svg.stroke-icon {
  stroke: var(--text-gray);
  width: 25px;
}


.product-sub.bg-blue-light svg.stroke-icon {
  stroke: var(--primary);
  width: 25px;
}

.project-counter h2 {
  color: var(--dark-gray);
}

.bg-yellow-light {
  background-color: #da98171a !important;
}

.bg-blue-light {
  background-color: #1a5f7f1a !important
}

.bg-green-light {
  background-color: rgba(0, 102, 102, 0.3) !important
}

.bg-red-light {
  background-color: rgba(234, 111, 78, .1) !important
}

.bg-purple-light {
  background-color: #A4508B30 !important
}

.bg-grey-light {
  background-color: rgba(230, 233, 235, 0.8) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-red {
  background-color: var(--red) !important;
}

.bg-yellow {
  background-color: var(--yellow) !important;
}

.bg-green {
  background-color: var(--green) !important;
}

.yellow-image {
  max-width: 25px;
}

.f-yellow {
  color: var(--yellow);
}

.f-green {
  color: var(--green);
}

.f-red {
  color: var(--red);
}

.f-purple {
  color: var(--purple);
}

.f-grey {
  color: #86909C;
}

.f-primary {
  color: var(--primary);
}

.f-white {
  color: var(--white);
}


.border-b-yellow {
  border-bottom: 1px solid var(--yellow) !important;
  border-bottom-width: 1px;
}

.border-b-primary {
  border-bottom: 1px solid var(--primary) !important;
  border-bottom-width: 1px;
}

.border-b-green {
  border-bottom: 1px solid var(--green) !important;
  border-bottom-width: 1px;
}

.border-b-grey {
  border-bottom: 1px solid #86909c !important;
  border-bottom-width: 1px;
}

.border-2 {
  border-width: 2px !important;
}

.zadaci-small-widget .card-body {
  padding: 10px;
}

.zadaci-small-widget {

  min-height: auto;
  background-color: var(--white) !important;
}

.zadaci-small-widget .project-details {
  justify-content: flex-start;
}

.zadaci-small-widget .card-body .product-sub {
  height: 30px;
  width: 30px;
  border-radius: 6px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}





.dashboard_default table thead tr th {
  color: #848789;
  font-weight: 500;
}

.dashboard_default td {
  color: #2f2f3b;
  font-weight: 500;
}


.table> :not(:last-child)> :last-child>* {
  border-bottom-color: #ecf3fa;
}


.dashboard_default table thead tr th {
  border-width: 0;
  border-bottom-width: 0px;
  border-bottom: 1px solid #ededed;
  border-bottom-color: rgb(237, 237, 237);
  color: #848789;
  padding: 0 8px 8px 0 !important;
  padding-bottom: 8px;
  white-space: nowrap;
}


.dashboard_default table tbody tr td {
  border-bottom: 1px solid #ededed;
  padding: 12px 18px 11px 0;
}

.top-product-card ul {
  padding: 0;
}

.top-product-card ul li.top-product:first-child {
  padding-top: 0px;
}

.top-product-card ul li.top-product:last-child {
  border: none;
  padding-bottom: 0px;
}

.top-product-card ul li .product-details {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 3px;
}

.top-product-card ul li .product-details a {
  font-weight: 500;
  font-size: 12px;
  color: var(--dark-text) !important;
  display: block;
  margin-bottom: 0;
}

.top-product-card ul li .product-details span {
  font-weight: 400;
  font-size: 11px;
  color: var(--text-gray);
  display: block;
}

.top-product-card ul li .product-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: end;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 3px;
}

.common-space {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: var(--dark-gray);
}

.gap-1 {
  gap: 0.25rem !important;
}

.top-product-card ul li.top-product {
  border-bottom: 1px solid #E6E9EB;
  padding-top: 16px;
  padding-bottom: 6px;
}

.deliveries-percentage .percentage-data thead tr th {
  padding-top: 0px;
  padding-bottom: 8px;
}

.deliveries-percentage .percentage-data tbody tr td {
  padding-top: 10px;
  padding-bottom: 5px;
}

.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;

  text-align: center;
  white-space: nowrap;
  background-color: var(--light-grey);
  transition: width 1s ease-in-out;
}

.progress-value .progress {
  margin-top: -2px !important;
  height: 3px;
  width: 100%;
}

.percentage-data {
  table-layout: fixed;
}

.percentage-data td:first-child,
.percentage-data th:first-child {
  width: 150px;
  /* ili max-width: 150px; */
  white-space: nowrap;
}

.percentage-data th:nth-child(1),
.percentage-data td:nth-child(1) {
  width: 140px;
}

.percentage-data th:nth-child(2),
.percentage-data td:nth-child(2) {
  width: 160px;
}

.percentage-data th:nth-child(3),
.percentage-data td:nth-child(3) {
  width: auto;
  /* ili fiksno ako želiš preciznu kontrolu */
}

.progress-bar.nizak {
  background-color: var(--primary);
}

.progress-bar.normal {
  background-color: var(--green);
}

.progress-bar.hitno {
  background-color: var(--yellow);
}

.progress-bar.kriticno {
  background-color: var(--red);
}

.project-box .project-deadline .text-start {
  opacity: .5;
  font-size: 12px;
  letter-spacing: .7px;
  line-height: 1.7;
  padding: 0px 20px;
}

.range_4 .slider-container {
  position: relative;
  height: 45px;
  margin: 0 20px;
}


.tiket-naslov {
  color: var(--dark-gray) !important;
}


.range_4 .slider-container .range-slider_thumb {
 width: 46px;
  height: 20px;
  border-radius: 6px;
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background-color: var(--primary);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: 500;
  font-size: 11px;
  color: #fff;
  z-index: 2;
}

.range_4 .slider-container .range-slider_line {
  height: 7px;
  width: 100%;
  background-color: #e9ecef;
  border-radius: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
  position: absolute;
  z-index: 1;
}

.range_4 .slider-container .range-slider_line .range-slider_line-fill {
  position: absolute;
  height: 7px;
  width: 0;
  background-color: var(--primary);
  border-radius: 10px 0 0 10px;
}


.range_4 .slider-container .range-slider_input {
  width: 100%;
  position: absolute;
  top: 50%;
  z-index: 3;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  opacity: 0;
  margin: 0;
}

.range_4 .slider-container .range-slider_thumb.na-cekanju {
  background-color: var(--yellow);
}

.range_4 .slider-container .range-slider_thumb.u-toku {
  background-color: var(--primary);
}

.range_4 .slider-container .range-slider_thumb.testiranje {
  background-color: #86909C;
}


.range_4 .slider-container .range-slider_line .range-slider_line-fill.na-cekanju {
  background-color: var(--yellow);
}

.range_4 .slider-container .range-slider_line .range-slider_line-fill.u-toku {
  background-color: var(--primary);
}

.range_4 .slider-container .range-slider_line .range-slider_line-fill.testiranje {
  background-color: #86909C;
}

.project-box .project-deadline .ikonice-wrapper.text-end {
  opacity: 1;
  font-size: 12px;
  letter-spacing: .7px;
  line-height: 1.7;
  color: var(--second-text);
  padding: 0px 20px;
}

.project-box .project-deadline .ikonice-wrapper.text-start {
  opacity: 1;
  font-size: 12px;
  letter-spacing: .7px;
  line-height: 1.7;
  color: var(--second-text);
  padding: 0px 20px;
}



.sale-chart .card-body .d-flex {
  align-items: center;
  gap: 5px;
  justify-content: space-between;
}

.sale-chart .card-body .sale-detail {
  align-items: center;
  display: flex;
}

.sale-chart .card-body .sale-detail .icon {
  align-items: center;
  border-radius: 5px;
  display: flex;
  height: 50px;
  justify-content: center;
  width: 50px;
}

.sale-chart .card-body .sale-detail .sale-content {
  margin-left: 12px;
}

.sale-chart .card-body .sale-detail .sale-content h5 {

  margin-bottom: 0;
}

.sale-chart .card-body .sale-detail .sale-content p {
  color: #212529;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .5px;
  margin: 0;
  line-height: 20px;
}

.sale-chart .card-body .small-chart-view {
  margin-left: auto;
  margin-top: -25px;
  max-height: 90px;
  min-height: 90px !important;
  width: 100%;
}

.sale-chart .card-body .product-sub {
  height: 45px;
  width: 45px;
  border-radius: 6px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.chart-wrapper {
  max-width: 160px !important;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-width: 100px !important;
}

.bar-container {
  width: 10px;
  /* širina stupca */
  height: 45px;
  /* visina stupca */
  background-color: #da98171a;
  /* svetla pozadina */
  border-radius: 2px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  cursor: pointer;
}

.bar-fill {
  background-color: #da9817;
  /* tamna popunjena boja */
  width: 100%;
  border-radius: 0px 0px 0 0;
  position: absolute;
  bottom: 0;
}

.bar-group {
  position: relative;
  /* važno za tooltip */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  /* minimalni razmak */

}

.tooltip {
  position: absolute;
  bottom: 75%;
  /* malo iznad bar-container */
  background-color: #333;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  user-select: none;
  z-index: 10;
}

.bar-group:hover .tooltip {
  opacity: 1;
  pointer-events: auto;
}

/* Stilovi za red grafikon */
.red .bar-container {
  background-color: rgba(234, 111, 78, .1) !important
}

.red .bar-fill {
  background-color: var(--red) !important;
}


/* Stilovi za plavi grafikon */
.blue .bar-container {
  background-color: #1a5f7f1a !important;
}

.blue .bar-fill {
  background-color: #1a5f7f !important;
}

/* Stilovi za zelenbi grafikon */
.green .bar-container {
  background-color: rgba(0, 102, 102, 0.3) !important
}

.green .bar-fill {
  background-color: var(--green) !important;
}



/* Stilovi za zelenbi grafikon */
.grey .bar-container {
  background-color: rgba(230, 233, 235, 0.8) !important
}

.grey .bar-fill {
  background-color: #86909C !important;
}


.ticket-priority-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 500px;
}

.priority-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bar-bg {
  background-color: #e9ecef;
  flex: 1;
  height: 14px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  color: white;
  font-size: 11px;
  padding-left: 6px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  white-space: nowrap;
}

/* Boje po prioritetu */
.bg-nizak {
  background-color: #33b2df;
}

.bg-normalan {
  background-color: #546E7A;
}

.bg-hitno {
  background-color: #d4526e;
}

.bg-kriticno {
  background-color: #13d8aa;
}

.horizontal-chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.horizontal-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.horizontal-bar-label {
  width: 250px;
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
}

.horizontal-bar-container {
  flex: 1;
  background-color: #1a5f7f1a;
  height: 10px;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.horizontal-bar-fill {
  background-color: #1a5f7f;
  height: 100%;
  transition: width 0.3s ease;
}

#trend-tiketa-meseci .apexcharts-legend {
  margin-top: 40px !important;
}


.apexcharts-menu-icon {
  position: absolute;
  top: -50px;
  right: -2px
}


.apexcharts-menu {
  top: -25px !important;
  right: 0 !important;

}

.sale-chart .card-body {
  padding: 15px 10px;
}

.project-counter h6 {
  font-size: 12px;
  margin-bottom: 0;
}

.pr-0 {
  padding-right: 0 !important;
}

.vesti-tekst {
  font-size: 12px !important;
  color: #848789;
}

.datum-objave {
  font-weight: 400;
  font-size: 11px;
  color: var(--text-gray);
  margin-top: 10px;
}

/* Kartica nikad ne pušta sadržaj napolje */
.card, .card .card-body { overflow: hidden; }

/* Tabela je “fixed layout”, kolone imaju tvrde širine */
.working-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.working-table th:nth-child(1), .working-table td:nth-child(1) { width: 25%; } /* Tiket */
.working-table th:nth-child(2), .working-table td:nth-child(2) { width: 18%; } /* Rok */
.working-table th:nth-child(3), .working-table td:nth-child(3) { width: 20%; } /* Zadužen/a */
.working-table th:nth-child(4), .working-table td:nth-child(4) { width: 16%; } /* Status */


.working-table td .badge  {
   
  padding: 8px 10px;
 
   font-size: 11px;
}
 