.card-link+.card-link {
  margin-left: 0;
}

.card {
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border-radius: 5px;
  -webkit-box-shadow: none;
  box-shadow: none;
}

[data-theme="dark"] .card {
  border: none;
}

.dash-heading {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.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 .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;
}

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

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

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(--text);
}

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

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

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

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

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

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

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

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

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

.f-grey {
  color: var(--text);
}

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

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

.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: var(--light-text);
  font-weight: 500;
  border-width: 0;
  border-bottom-width: 0px;
  border-bottom: 1px solid var(--border-color);
  padding: 8px !important;
  white-space: nowrap;
}

.dashboard_default td {
  color: var(--text);
  font-weight: 500;
}

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

.dashboard_default table tbody tr td,
.detail-table tbody tr td {
  border-bottom: none;
  padding: 10px;
}

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

.top-product:first-child {
  margin-bottom: 5px;
}

.top-product {
  background-color: var(--bg-color);
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 5px;
}

.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(--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(--text);
}

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

.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.25rem;
  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%;
  background-color: var(--bg-grey-light);
}

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

.percentage-data td:first-child,
.percentage-data th:first-child {
  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;
}

.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;
}

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

.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: var(--grey);
}

.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: var(--grey);
}

.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: var(--text);
  font-size: 24px;
  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: 40px;
  width: 40px;
  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: 80px !important;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-width: 70px !important;
}

.bar-container {
  width: 7px;
  height: 40px;
  background-color: var(--bg-yellow-light);
  border-radius: 2px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  cursor: pointer;
}

.bar-fill {
  background-color: var(--yellow);
  width: 100%;
  border-radius: 0px 0px 0 0;
  position: absolute;
  bottom: 0;
}

.bar-group {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.tooltip {
  position: absolute;
  bottom: 75%;
  right: 0;
  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;
}

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

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

.blue .bar-container {
  background-color: #1a5f7f1a !important;
}

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

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

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

.grey .bar-container {
  background-color: var(--bg-grey-light) !important;
}

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

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

#trend-tiketa-meseci .apexcharts-legend,
#ai-period-comparison-chart .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: 10px;
}

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

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

.vesti-tekst {
  font-size: 12px !important;
  color: var(--light-text);
}

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

.card,
.card .card-body {
  overflow: hidden;
}

.working-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.working-table th:nth-child(1),
.working-table td:nth-child(1) {
  width: 40%;
}

.working-table th:nth-child(2),
.working-table td:nth-child(2) {
  width: 18%;
}

.working-table th:nth-child(3),
.working-table td:nth-child(3) {
  width: 20%;
}

.working-table th:nth-child(4),
.working-table td:nth-child(4) {
  width: 16%;
}

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

.zadaci-2-small-widget .card-body .product-sub {
  width: 55px;
  height: 55px;
}

.zadaci-2-small-widget .card-body .product-sub img {
  width: 30px !important;
}

.procenat-zadaci {
  font-size: 14px !important;
  color: #8D8D8D;
}

.zadaci-2-small-widget .project-details {
  align-items: end !important;
}

.uloge {
  border-radius: 5px;
}

.uloga {
  padding: 3px 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

.uloga h4 {
  font-weight: 600;
}

.satnica {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 7px;
}

.status-dash {
  font-size: 12px;
  font-weight: 400;
}

.dropdown-toggle::after {
  display: none;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.icon-dropdown .btn {
  padding: 0 !important;
}

.chart-details .badge {
  font-weight: 400;
  padding: 5px 10px;
  text-align: center;
}

.chart-details .badge-green {
  background-color: var(--bg-green-light) !important;
  color: var(--green);
}

.chart-details .badge-blue {
  background-color: #1a5f7f1a !important;
  color: var(--primary);
}

.chart-details .badge-yellow {
  background-color: var(--bg-yellow-light) !important;
  color: var(--yellow);
}

.chart-details .badge-red {
  background-color: var(--bg-red-light) !important;
  color: var(--red);
}

.prioritet-broj {
  color: var(--text);
  font-size: 18px;
}

.light-bg {
  background-color: var(--bg-color);
}

.zadaci-tab-content {
  display: none;
}

.zadaci-tab-buttons {
  border-bottom: 2px solid #E6E9EB !important;
}

.zadaci-tab-content.active {
  display: block;
}

.sale-chart.card {
  margin-bottom: 10px;
}

.table-responsive.dashboard_default {
  width: 100%;
  max-width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  border-radius: 12px;
}

.table-responsive.dashboard_default.dragging {
  cursor: grabbing;
  scroll-behavior: auto !important;
}

.table-responsive.dashboard_default.dragging,
.table-responsive.dashboard_default.dragging * {
  user-select: none !important;
  -webkit-user-select: none !important;
}

.table-responsive.dashboard_default::-webkit-scrollbar {
  height: 8px;
}

.table-responsive.dashboard_default::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 20px;
}

.table-responsive.dashboard_default::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 20px;
}

.detail-table.detail-scroll {
  width: max-content !important;
  min-width: 1400px !important;
  table-layout: auto;
}

.detail-table.detail-scroll th,
.detail-table.detail-scroll td {
  white-space: nowrap;
  vertical-align: middle;
  position: relative;
}

.detail-table.detail-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 4;
}

.detail-table.detail-scroll th:first-child,
.detail-table.detail-scroll td:first-child {
  position: sticky;
  left: 0;
  min-width: 150px;
  max-width: 240px;
  background: var(--card-bg);
  border-right: 1px solid var(--border-color);
}

.detail-table.detail-scroll thead th:first-child {
  z-index: 10;
  background-color: var(--bg-color) !important;
}

.detail-table.detail-scroll td:first-child p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-table.detail-scroll tbody tr:hover td {
  background: var(--card-bg);
}

.detail-table.detail-scroll tbody tr:hover td:first-child {
  background: var(--card-bg);
}

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

td .badge-light {
  background-color: var(--light-gray) !important;
  color: var(--text) !important;
}

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

#datatable_statistika_popis thead {
  background-color: #5c61f20d;
}

#datatable_statistika_popis th {
  border-bottom-color: rgb(237, 237, 237);
  color: var(--light-text);
  font-size: 12px !important;
  font-weight: 500;
}

#datatable_statistika_popis td {
  border: none;
  border-bottom: 1px solid var(--border-color) !important;
  padding: 10px !important;
  color: var(--text) !important;
  font-weight: 500 !important;
  font-size: 12px;
}

#Aktuelno [id^="miniChart-tiketi-"],
#Aktuelno .chart-details {
  display: none !important;
}

#Aktuelno .sale-chart.card {
  margin-bottom: 5px !important;
}

.cards-prioritet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 10px;
}

.cards-prioritet {
  min-width: 0;
  margin-bottom: 10px;
}

.cards-prioritet .card {
  height: 100%;
  margin-bottom: 0;
}

.zadaci-sale-chart .card-body .product-sub {
  height: 30px;
  width: 30px;
}

.zadaci-sale-chart .sale-content h6{
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.zadaci-sale-chart .card-body .sale-detail .sale-content p {
  font-size: 18px !important;
}

.zadaci-sale-chart .bar-container {
  height: 26px !important;
}

.bagde-grupni {
  font-size: 8px;
  font-weight: 400;
  color: var(--primary) !important;
  background-color: var(--bg-blue-light) !important;
  margin-right: 5px;
  border-radius: 2px;
}

.bagde-grupni:hover {
  cursor: help;
}

table .f-green.bg-green-light {
  display: inline;
  padding: 5px;
  border-radius: 3px;
}

table .f-red.bg-red-light {
  display: inline;
  padding: 5px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .detail-table.detail-scroll {
    min-width: 1200px !important;
  }

  .detail-table.detail-scroll th:first-child,
  .detail-table.detail-scroll td:first-child {
    min-width: 180px;
    max-width: 180px;
  }
}

.apexcharts-legend-text {
  color: var(--text) !important;
  font-family: var(--body-font-family) !important;
  font-size: var(--body-font-size) !important;
}

.apexcharts-legend-series {
  margin: 4px 15px !important;
}