/* Style for the buttons */
.view-buttons {
    margin-bottom: 0px;
}

.view-buttons button {
    padding: 10px 20px;
    color: var(--text-gray);
    border: none;
    cursor: pointer;
    background-color: transparent;

    border-radius: 5px;
}


.view-buttons button svg {
    stroke: var(--text-gray);
    fill: var(--text-gray);
    min-width: 20px;
    max-width: 20px;
    max-height: 20px;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;

}

.view-buttons button:hover,
.view-buttons button.active {

    color: var(--primary);
}

.view-buttons button:hover svg,
.view-buttons button.active svg {
    stroke: var(--primary);
    fill: var(--primary);
    min-width: 20px;
    max-width: 20px;
    max-height: 20px;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary);
}

/* Grid view styling */
.grid-view {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#gridView,
#tableView {
    display: none;
}

.grid-view .item {
    background-color: #fff;
    padding: 0px;
    width: calc(33.33% - 20px);
    box-sizing: border-box;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    margin-bottom: 00px;
    overflow: hidden;
}

.project-box {
    position: relative;

}

.top-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
    padding: 20px 20px 0 20px;
}

.top-line .badge-prioritet {
    flex: 0 0 auto;
    margin-right: 0rem;
    position: relative;
}

.top-line .badge-prioritet .badge.hitnost {
    width: 12px;
    height: 12px;
    border-radius: 100%;
    position: absolute;
    top: 2px;
    left: 0;
}

.naziv-ikonice {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 200px;

}

.naziv-ikonice .prvi-red {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: flex-start;
}

.project-box .text-tiketa {
    height: 50px;
    padding: 0px 20px;
    overflow: hidden;
}

.naziv-ikonice .drugi-red {
    margin-top: 0rem;
}

.naziv-ikonice .zaposleni {
    font-size: 0.9rem;
    color: #555;
}

.ikonica {
    margin-left: 0.5rem;
}

.badge-status {
    flex: 0 0 auto;
    margin-left: auto;
    align-self: flex-start;
}


.project-box h6 {
    margin-bottom: 0;
}

.project-box h6 a {
    font-weight: 500 !important;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 0;
}

.project-box h6 a:hover {
    text-decoration: none;
}

.project-box .zaposleni {
    opacity: .5;
    font-size: 12px;
    letter-spacing: .7px;
    line-height: 1.7;
    color: #999999;

}

.ikonice-bottom-row.text-right {
    background-color: #f5f5f5;
    padding: 10px 20px;
}

.project-cards .project-box p {
    font-size: 14px;
    letter-spacing: .7px;
    line-height: 1.7;
    color: var(--second-text);
}

.project-box.b-light1-primary .details.na-cekanju {
    background-color: rgba(255, 174, 26, 0.1);
    margin-bottom: 12px;
    padding: 7px;
}

.project-box.b-light1-primary .details.testiranje {
    background-color: #A4508B30;
    margin-bottom: 12px;
    padding: 7px;
}

.project-box.b-light1-primary .details.u-toku {
    background-color: #1a5f7f1a;
    margin-bottom: 12px;
    padding: 7px;
}

.project-box.b-light1-primary .details.zavrseno {
    background-color: rgba(88, 178, 50, .1);
    margin-bottom: 12px;
    padding: 7px;
}

.project-box.b-light1-primary .details.odbijeno {
    background-color: rgba(234, 111, 78, .1);
    margin-bottom: 12px;
    padding: 7px;
}

.project-box .details div {
    margin-bottom: 5px;
    color: var(--text-gray);
}

.counter {
    font-weight: 400;
}

.counter.na-cekanju {
    color: var(--yellow) !important;
}

.counter.u-toku {
    color: var(--primary) !important;
}

.counter.zavrseno {
    color: var(--green) !important;
}

.counter.odbijeno {
    color: var(--red) !important;
}

.counter.testiranje {
    color: var(--red) !important;
}

.project-box .project-deadline p {
    font-weight: 600;
    margin-bottom: 5px;
    padding: 0px 20px;
}

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

.sm-progress-bar {
    height: 8px;
    width: calc(100% - 30px);
    margin: auto;
}
.details  {
    width: calc(100% - 30px);
    margin: auto;
}
.progress-bar-striped {
    background-image: linear-gradient(45deg, #ffffff26 25%, #0000 0, #0000 50%, #ffffff26 0, #ffffff26 75%, #0000 0, #0000);
}

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

.progress-bar.testiranje {
    background-color: var(--purple);
}

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

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

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

.u-toku-status {
    background-color: var(--primary);
    color: var(--white);
}

.na-cekanju-status {
    background-color: var(--yellow);
    color: var(--dark-grey);
}

.zavrseno-status {
    background-color: var(--green);
    color: var(--white);
}

.odbijeno-status {
    background-color: var(--red);
    color: var(--white);
}

.testiranje-status {
    background-color: var(--purple);
    color: var(--white);
}

/* Table view styling */
.table-view {
    width: 100%;
    border-collapse: collapse;
}

.table-view th,
.table-view td {
    border-bottom: 1px solid #dadada;
    padding: 12px;
    text-align: center;
}

.table-tiketi {
    color: var(--dark-text);
    font-weight: 400;
    text-align: left;
}

.table-tiketi tbody tr td {
    padding: 10px 0 10px 12px !important;
    padding-left: 12px !important;
    align-items: center;
    border: none
}

.table-tiketi tbody tr {
    border-bottom: 1px solid #dadada;
}

.top-row,
.bottom-row {
    display: table;
    width: 100%;
    margin-bottom: 5px;
    text-align: left;
}

.bottom-row {
    width: calc(100% - 25px);
}

.bottom-row {
    margin-bottom: 10px;
}

.top-row .tiket,
.top-row .action {
    width: 10% !important;
}

.top-row .naslov {
    width: 80% !important;
}

.bottom-row .preduzece {
    width: 30% !important;
}

.top-row>div {
    display: inline;
    width: auto;
    padding: 0px 10px;
    vertical-align: middle;
}

.float-right {
    float: right;
}

.action i {
    width: 15px;
    height: 15px;
    vertical-align: middle;
}

.ikonica {
    margin-left: 5px;
}

.top-row div:first-child {
    padding-left: 0px;
}

.top-row {
    margin-top: 10px;
}

.bottom-row {
    margin-bottom: 10px;
    margin-left: 25px;
}

.bottom-row div:first-child {
    padding-left: 0px;
}

.bottom-row>div {
    display: table-cell;
    border-right: 1px solid #dadada;
    padding: 0px 10px;
    vertical-align: middle;
}

.bottom-row div:last-child {
    border-right: none;
}

.top-row .badge {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    line-height: 20px;
    float: right;
    text-align: center;
    padding: 0;
    margin-top: 3px;
}

.top-line .badge-prioritet .badge.normal {
    background-color: var(--green);
    margin-right: 5px;
}

.top-line .badge-prioritet .badge.nizak {
    background-color: var(--primary);
    margin-right: 5px;
}

.top-line .badge-prioritet .badge.hitno {
    background-color: var(--yellow);
    margin-right: 5px;
}

.top-line .badge-prioritet .badge.kriticno {
    background-color: var(--red);
    margin-right: 5px;
}

.top-row .action .ikonica {
    max-width: 35px;
    display: inline-block;
}

.naslov {
    padding: 0 !important;
}

.inline .tiket-naslov {
    padding-left: 25px;
}

.tiket-naslov {
    font-weight: 500 !important;
    font-size: 1rem;
    color: var(--dark-text);
    text-align: left;

}

a.tiket-naslov:hover {
    font-weight: 500 !important;
    color: var(--primary) !important;
    text-decoration: none;
}

.id-projekta {
    font-weight: 500 !important;
    font-size: 1rem;
    color: var(--text-gray);
    text-align: left;
}


td .badge.normal {
    color: var(--green);
    font-weight: 500;
    text-align: left;
    position: relative;
}

td .badge.hitno {
    color: var(--yellow);
    font-weight: 500;
    text-align: left;
    position: relative;
}

td .badge.kriticno {
    color: var(--red);
    font-weight: 500;
    text-align: left;
    position: relative;
}


td .badge.nizak {
    color: var(--primary);
    font-weight: 500;
    text-align: left;
    position: relative
}


td .badge.na-cekanju {
    color: var(--yellow);
    font-weight: 500;
    text-align: left;
    position: relative;
    background-color: rgba(255, 174, 26, 0.1);
    padding: 5px 8px;
}

td .badge.u-toku {
    color: var(--primary);
    font-weight: 500;
    text-align: left;
    position: relative;
    background-color: #1a5f7f1a !important;
    padding: 5px 8px;
}

td .badge.zavrseno {
    color: var(--green);
    font-weight: 500;
    text-align: left;
    position: relative;
    background-color: rgba(88, 178, 50, .1) !important;
    padding: 5px 8px;
}

td .badge.odbijeno {
    color: var(--red);
    font-weight: 500;
    text-align: left;
    position: relative;
    background-color: rgba(234, 111, 78, .1) !important;
    padding: 5px 8px;
}

td .badge.testiranje {
    color: var(--purple);
    font-weight: 500;
    text-align: left;
    position: relative;
    background-color: #A4508B30 !important;
    padding: 5px 8px;
}

.sektor,
.zaposleni,
.datum-zavrsetka,
.datum-ostalo,
.zaposleni.ostalo {
    opacity: .5;
    letter-spacing: .7px;
    color: var(--second-text);
    font-size: 12px;
    font-weight: normal;
}

.zaposleni,
.datum-zavrsetka {
    font-weight: 500;
    font-size: 14px;
}

.procenat-izvrsenja {
    font-weight: 600;
}

.procenat-izvrsenja.na-cekanju {
    color: var(--yellow);
}

.procenat-izvrsenja.u-toku {
    color: var(--primary);
}

.procenat-izvrsenja.zavrseno {
    color: var(--green);
}

.procenat-izvrsenja.odbijeno {
    color: var(--red);
}

.procenat-izvrsenja.testiranje {
    color: var(--red);
}

.prioritet .prioritet,
.status .status {
    width: 100%;
}


.projekat-select {
    border: none;
    padding: 0;
    height: auto;
    letter-spacing: .7px;
    line-height: 1.7;
    color: var(--second-text);
}

.projekat-select:focus {
    border: none;
    padding: 0;
    height: auto;
    letter-spacing: .7px;
    line-height: 1.7;
    color: var(--second-text);
    box-shadow: 0 0 0 0rem rgba(52, 144, 220, 0.25);
}

.button-pagination {
    background-color: var(--white);
    color: var(--dark-text);
    font-size: 12px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    text-align: center;
}

.button-pagination.active {
    background-color: #f3f3f3;
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    text-align: center;
}

.border-tab.nav-tabs {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 0px;
    border: none !important;
}

.selektor li a.active {
    color: var(--primary) !important;
    background-color: #fff !important;
    border-color: #fff !important;
}

.selektor li a {
    color: var(--text-gray) !important;
    background-color: #fff !important;
    border-color: #fff !important;
}

.selektor li a:hover {
    color: var(--primary) !important;
    background-color: #fff !important;
    border-color: #fff !important;
}

.selektor li a svg {
    width: 15px;
}

.pracenje-projekta svg {
    stroke: #2f2f3be6;
    fill: #2f2f3be6;
    max-width: 25px;
    max-height: 25px;
}

.pracenje-projekta svg.blue {
    stroke: var(--primary);
    fill: var(--primary);
    max-width: 25px;
    max-height: 25px;
}


.osnovne-informacije th {
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-text);
    padding: 5px;
    padding-right: 20px;
    text-align: left;

}

.osnovne-informacije tr {
    height: 40px;

    border-bottom: 1px solid #ced4da;
}

.osnovne-informacije td {
    padding: 5px;
    padding-left: 0 !important;
    color: var(--dark-text);
    font-size: 12px;
    font-weight: 400;
    text-align: left;
}


.projekat-select,
.projekat-select:focus,
td#rok-zavrsetka .form-group .flatpickr .form-control {
    border: none !important;
    padding: 5px 8px !important;
    padding-left: 15px !important;
    height: auto !important;
    color: var(--dark-text);
    font-size: 12px;
    font-weight: 400;
    text-align: left;
}

.zaduzeno-lice .projekat-select,
.lokacija .projekat-select,
.klijent .projekat-select {
    border: none !important;
    padding: 5px 8px;

    height: auto !important;
    color: var(--dark-text);
    font-size: 12px;
    font-weight: 400;
    text-align: left;
}


.osnovne-informacije td .prioritet,
.osnovne-informacije td .status {
    width: 100%;
    position: relative;
}

.osnovne-informacije #rok_izrade.form-control[readonly],
.osnovne-informacije #rok_zavrsetka.form-control[readonly],
.osnovne-informacije td#rok_zavrsetka .form-control[readonly] {
    border: none !important;
    background-color: var(--white) !important;
    padding: 0 !important;
    padding-left: 15px !important;
    height: auto !important;
    color: var(--dark-text);
    font-size: 12px;
    font-weight: 400;
    text-align: left;
}

.modal-body td#rok_zavrsetka .form-control[readonly] {}

.tablinks {
    background-color: transparent;
    text-align: left;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .7px;
    color: var(--text-gray);
    border: none;
    box-shadow: none;
    margin-bottom: 0px;
    position: relative;
    padding-left: 0;
    margin-right: 10px;
}

/* .tablinks::after {
    content: "";
    position: absolute;
    border: 1px dashed #ced4da;
    top: 48px;
    height: 32px;
    left: 32px;
    z-index: 9;
}

.tablinks:last-child::after {
    content: none;
} */

.tablinks.active {
    background-color: transparent;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .7px;
    color: var(--primary);
    border: none;
    box-shadow: none;
}

.tablinks.active svg,
.accordion-button svg {
    stroke: var(--primary);
    fill: var(--primary);
    max-width: 20px;
    max-height: 30px;
    padding: 7px 0;
    padding-right: 0px;
    border-radius: 0px;
    background-color: transparent;
    position: relative;
    margin-right: 0px;
    padding-right: 0;
}

.tablinks svg,
.accordion-button.collapsed svg {
    stroke: var(--text-gray);
    fill: var(--text-gray);
    max-width: 20px;
    max-height: 30px;
    padding: 7px 0;
    border-radius: 0px;
    background-color: transparent;
    position: relative;
    margin-right: 0px;
}

/*
.tablinks .stroke-icons::after {
    content: '';
    position: absolute;
    width: 41px;
    height: 41px;
    left: 13px;
    top: 5px;
    margin: auto;
    border: 1px solid #ced4da;
    border-radius: 100px;
    background-color: transparent;
    z-index: 1;
}

.tablinks.active .stroke-icons::after {
    content: '';
    position: absolute;
    width: 41px;
    height: 41px;
    left: 13px;
    top: 5px;
    margin: auto;
    border: 1px solid var(--primary);
    border-radius: 100px;
    background-color: transparent;
    z-index: 1;
} */

.border-right {
    border-right: 1px solid #ced4da;
}


.input-container {
    position: relative;
    width: 100%;
}

textarea.form-control {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    min-height: 100px !important;
}

.attachment-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.file-name {
    margin-top: 5px;
    font-size: 14px;
    color: var(--dark-text);
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
}

.remove-file {
    color: red;
    cursor: pointer;
    margin-left: 10px;
}

.info-tiket>* {
    font-weight: 500;
    color: var(--text-gray);
    padding-right: 10px;
    padding-left: 10px;
    border-right: 1px solid #ced4da;
    font-size: 12px;
}

.info-tiket svg {
    stroke: var(--text-gray);
    fill: var(--text-gray);
}

/* 
.komentar::before,
.promena-statusa::before,
.evidencija::before {
    content: "";
    position: absolute;
    left: 7px;
    display: block;
    width: 1px;
    height: calc(100% - 33px);
    top: 26px;
    border: 1px dashed #ced4da;
} */

.komentar,
.promena-statusa,
.evidencija {
    position: relative;
    display: flex;
    align-items: flex-start;
    position: relative;
}

.ikonica-komentara {
    background-color: var(--primary);
    border-radius: 50px;
    width: 30px;
    height: 30px;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}


.komentar svg,

.komentar i.fa-clock,
.promena-statusa svg,
.evidencija i {
    stroke: var(--white);
    fill: var(--white);
    color: var(--white);
    max-width: 15px;
    max-height: 15px;
    width: 100%;
    height: 100%;
}

.komentar i.fa-clock {
    text-align: center;
    align-content: center;

}

.komentar .opis,
.evidencija .opis {
    display: inline-block;
    padding: 15px;
    font-weight: 500;
    color: var(--dark-text);
    font-size: 12px;
    transition: .5s;
    border-radius: 10px;
}

.promena-statusa .opis,
.evidencija .opis {
    display: inline-block;
    padding: 10px;
    font-weight: 500;
    color: var(--dark-text);
    font-size: 12px;
    transition: .5s;
    border-radius: 10px;
}

.komentar .opis:hover,
.promena-statusa .opis:hover,
.evidencija .opis:hover {
    background-color: #f5f5f5;
    transition: .5s;
}

.komentar .opis p,
.promena-statusa .opis p,
.evidencija.opis p {
    display: inline-block;
    padding: 10px 0;
    font-weight: 500;
    color: var(--text-gray);
    font-size: 12px;
    width: 100%;
    margin-bottom: 0;
}

.hover-icon {
    min-width: 20px
}

.hover-icon a {
    display: none;
    transition: 0s;
}

.komentar .opis:hover .hover-icon a {
    display: block;
    transition: 0s;
}


.naslov-komentara {
    min-height: 30px;
    align-content: center;

}

.naslov-komentara .ime {
    font-weight: 500;
}

.naslov-komentara .datum::before {
    content: "";
    height: 7px;
    position: absolute;
    left: 2px;
    margin: auto;
    top: 6px;
    width: 7px;
    border-radius: 100%;
    background-color: var(--second-text);
}

.naslov-komentara .datum {
    opacity: .5;
    font-size: 12px;
    letter-spacing: .7px;
    line-height: 1.7;
    color: var(--second-text);
    font-weight: 400;
    padding-left: 15px;
    position: relative;
}

.pracenje {
    padding-left: 0px !important;
}

.accordion {
    padding: 0 !important;
}

.accordion-item {
    background-color: #fff;
    border: 0px solid rgba(0, 0, 0, .125);
}

.accordion-header.collapsed {
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .7px;
    color: var(--text-gray);
}

.accordion-header {
    background-color: transparent;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .7px;
    color: var(--primary);
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: transparent
}

.accordion-button:focus {
    box-shadow: 0 0 0 .0rem rgba(13, 110, 253, .25);
}

.accordion-item {
    border-bottom: 1px solid #ecf3fa;
}

ul.spisak-timova li svg {
    min-width: 18px;
    max-width: 18px;
    max-height: 20px;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
    fill: var(--text-gray);
    stroke: var(--text-gray);
}

ul.spisak-timova {
    list-style: none;
}

.chart-ring {
    --status-color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 14px;
}


.chart-inner {
    background: #fff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
    font-size: 12px;
    color: var(--primary);
}


/* Dinamičke boje na osnovu statusa */

.chart-inner.u-toku {
    color: #1a5f7f;
}

.chart-inner.na-cekanju {

    color: #FFAE1A;
}


.chart-inner.zavrseno {

    color: #479447;
}

.chart-inner.odbijeno {

    color: #FE6A49;
}

.chart-inner.testiranje {

    color: var(--purple);
}

.u-toku {
    --status-color: #1a5f7f;
}

.na-cekanju {
    --status-color: #FFAE1A;
}

.zavrseno {
    --status-color: #479447;
}

.odbijeno {
    --status-color: #FE6A49;
}

.tesiranje {
    --status-color: var(--purple);
}

/* Omot za grafikon */
.procenat-wrapper {
    text-align: center;
    margin-bottom: 0px;
    display: inline-flex;
}


/* Stil za naslov */
.tiket-naslov {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;

    text-decoration: none;
}



/* Stil za ikonice */
.ikonice-wrapper {
    text-align: left;
}

.ikonica {
    display: inline-block;
    margin: 0 5px;
    margin-left: 0px;
    font-size: 12px;
    color: var(--text-gray);
}


.ikonica svg {
    min-width: 18px;
    max-width: 18px;
    max-height: 20px;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0px;
    stroke: var(--text-gray);
    fill: #fff;
    margin-top: -3px;
}


.osnovne-informacije td .status .projekat-select option,
.osnovne-informacije td .prioritet .projekat-select option {
    color: var(--dark-text) !important;
    background-color: #fff !important;
}

.prioritet {
    position: relative;
}

.prioritet::after {
    content: "";
    height: 7px;
    position: absolute;
    left: 0;
    margin: auto;
    top: 12px;
    width: 7px;
    border-radius: 100%;
}

.prioritet.normal::after {
    background-color: var(--green);
}

.prioritet.nizak::after {
    background-color: var(--primary);
}

.prioritet.hitno::after {
    background-color: var(--yellow);
}

.prioritet.kriticno::after {
    background-color: var(--red);
}



.prioritet.normal .projekat-select {
    color: var(--green);
}

.prioritet.nizak .projekat-select {
    color: var(--primary);
}

.prioritet.hitno .projekat-select {
    color: var(--yellow);
}


.prioritet.kriticno .projekat-select {
    color: var(--red);
}


.prioritet.odbijeno .projekat-select {
    color: var(--red);
}


.u-toku .projekat-select {
    color: var(--primary);
    background-color: #1a5f7f1a !important;
}

.na-cekanju .projekat-select {
    color: var(--yellow);
    background-color: rgba(255, 174, 26, 0.1) !important;
}

.zavrseno .projekat-select {
    color: var(--green);
    background-color: rgba(0, 102, 102, 0.1) !important;
}

.odbijeno .projekat-select {
    color: var(--red);
    background-color: rgba(234, 111, 78, .1) !important;
}

.testiranje .projekat-select {
    color: var(--purple);
    background-color: #A4508B30 !important;
}


td .badge.prioritet-badge {
    padding: 5px 12px;
}

td .badge.prioritet-badge::before {
    content: "";
    height: 7px;
    position: absolute;
    left: 0;
    margin: auto;
    top: 8px;
    width: 7px;
    border-radius: 100%;
}

td .badge.prioritet-badge.normal::before {
    background-color: var(--green);
}

td .badge.prioritet-badge.nizak::before {
    background-color: var(--primary);
}

td .badge.prioritet-badge.hitno::before {
    background-color: var(--yellow);
}

td .badge.prioritet-badge.kriticno::before {
    background-color: var(--red);
}

.total-revenue {
    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;
}

.working-table tbody tr td:nth-child(1) {
    min-width: 165px;
}

.working-table span {
    font-weight: 400;
    font-size: 12px;
    color: var(--text-gray);
    display: block;
}


.working-table p,
.working-table a {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-text) !important;
    display: block;
    margin-bottom: 0;
}

.working-table a:hover {
    color: var(--primary) !important;
    text-decoration: none;
}

.working-table tr {
    border-bottom: 1px solid var(--border);
}

.working-table td {
    vertical-align: bottom !important;
    padding: 10px 5px;
}

.data {
    margin-bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 7px;
}

.data li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 400;
    font-size: 12px;
    color: var(--text-gray);
}

.data .circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 100%;
}

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

#myChart {
    height: 315px !important;
}

.item-home {
    border-bottom: 1px solid var(--border);
    padding: 9px 0px;
}


.item-home .project-box .badge.na-cekanju::after {
    display: none;
}


.item-home .project-box .inline .d-flex>* {
    width: 100%;
    margin-bottom: 0;
}


.item-home .project-box .inline .d-flex {
    margin-bottom: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
}



.item-home .project-box .inline .d-flex span {
    font-weight: 400;
    font-size: 12px;
    color: var(--text-gray);
}


.item-home .project-box .inline .d-flex .tiket-naslov {
    text-align: left;
    padding-left: 0;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-text) !important;
    margin-bottom: 0;
}

.item-home .project-box .badge {
    line-height: 13px;
    position: absolute;
    right: 0;
    top: 10px;
    padding: .44em .7em;
    font-weight: 500;
}

.item-home .date {
    font-weight: 400;
    font-size: 12px;
    color: var(--text-gray);
    opacity: 1 !important;
}

.item-home .date.text-end {
    color: var(--red) !important;
}

.item-home .project-box .d-flex {
    margin-bottom: 0px;
    margin-top: 0px;
}

.activity-log-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-log {
    padding: 10px 0;
    margin-bottom: 0px;
    border-bottom: 1px solid var(--border);
}

.activity-log .common-space {
    width: 100%;
    justify-content: space-between;
}

.activity-log .d-flex {
    flex-wrap: wrap;
}

.common-space p {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-text) !important;
    display: block;
    margin-bottom: 0;
}

.common-space span,
.common-space-2 span {
    font-weight: 400;
    font-size: 12px;
    color: var(--text-gray);
    display: block;
}

.activity-log .common-space-2 {
    width: 100%;
    justify-content: flex-start
}

.common-space-2 a {
    font-weight: 400;
    font-size: 12px;
    color: var(--dark-text);
    display: block;
    margin-left: 5px;
}

.statistika-home .tablinks::after {
    content: none;

}

.statistika-home .tablinks.active {
    border: 1px solid;
    padding: .375rem 1.75rem;
    cursor: pointer;
    font-size: 14px;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
    border-radius: .375rem;
}

.statistika-home .tablinks {
    border: 1px solid;
    padding: .375rem 1.75rem;
    cursor: pointer;
    font-size: 14px;
    background-color: #1a5f7f1a !important;
    border-color: #1a5f7f1a !important;
    color: var(--primary) !important;
    border-radius: .375rem;
}

.kriticno .projekat-select {
    color: var(--red);
}

.normal .projekat-select {
    color: var(--green);
}


.normal .projekat-select {
    color: var(--green);
}

.nizak .projekat-select {
    color: var(--primary);
}

.hitno .projekat-select {
    color: var(--yellow);
}

.testiranje .projekat-select {
    color: var(--purple);
}

.zavrseno .projekat-select {
    color: var(--green);
}

.na-cekanju .projekat-select {
    color: var(--yellow);
}

.u-toku .projekat-select {
    color: var(--primary);
}

.odbijeno .projekat-select {
    color: var(--red);
}

.prikaz-tiketa .badge.hitnost {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    line-height: 28px;
    float: right;
    text-align: center;
    padding: 0px;

}


.prikaz-tiketa .hitnost.kriticno {
    background-color: var(--red);
    color: var(--white);
}

.prikaz-tiketa .hitnost.normal {
    background-color: var(--green);
    color: var(--white);
}


.prikaz-tiketa .hitnost.hitno {
    background-color: var(--yellow);
    color: var(--white);
}


.prikaz-tiketa .hitnost.nizak {
    background-color: var(--primary);
    color: var(--white);
}

.prikaz-tiketa span.id-tiketa {
    font-size: 18px;
    color: var(--dark-gray);
}

.prikaz-tiketa .button-icon {
    padding: 3px;
    text-align: center;
}

.project-box .badge-status .badge {
    padding: 5px 8px !important;
    font-size: 12px;
    font-weight: 400;
    text-align: left;
    letter-spacing: .7px;
    line-height: 1.7;
}

.project-box .badge.u-toku,
.prikaz-tiketa .status.u-toku .projekat-select {
    color: var(--primary);
    background-color: #1a5f7f1a !important;
    text-align: center;
    font-weight: 400;
    width: auto;
    min-width: 115px;
}

.project-box .badge.na-cekanju,
.prikaz-tiketa .status.na-cekanju .projekat-select {
    color: var(--yellow);
    background-color: rgba(255, 174, 26, 0.1) !important;
    text-align: center;
    font-weight: 400;
    width: auto;
    min-width: 115px;
}

.project-box .badge.zavrseno,
.prikaz-tiketa .status.zavrseno .projekat-select {
    color: var(--green);
    background-color: rgba(0, 102, 102, 0.1) !important;
    text-align: center;
    font-weight: 400;
    width: auto;
    min-width: 115px;
}

.project-box .badge.odbijeno,
.prikaz-tiketa .status.odbijeno .projekat-select {
    color: var(--red);
    background-color: rgba(234, 111, 78, .1) !important;
    text-align: center;
    font-weight: 400;
    width: auto;
    min-width: 115px;
}

.project-box .badge.testiranje,
.prikaz-tiketa .status.testiranje .projekat-select {
    color: var(--purple);
    background-color: #A4508B30 !important;
    text-align: center;
    font-weight: 400;
    width: auto;
    min-width: 115px;
}


#dodajKomentar .spinner-border {
    width: 1.2rem;
    height: 1.2rem;
}

.image-container {
    position: relative;
    display: inline-block;
}

.hover-icons {
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
    width: auto;
    height: auto;
    background: #0000;
    justify-content: right;
    align-items: end;
    gap: 10px;
    padding: 10px;
}

.image-container:hover .hover-icons,
.file-container:hover .hover-icons {
    display: flex;
}

.file-container:hover .file-name {
    opacity: 0;
}

.eye-icon,
.download-icon,
.delete-icon {
    color: white !important;
    font-size: 12px;
    padding: 5px 0;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 4px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 13px;
}


#gridView {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    /* ili koliko želiš razmak između elemenata */
}

#gridView .item {
    width: calc(33.333% - 10.67px);
    /* za 3 u redu */
}

#gridView.space-between {
    justify-content: space-between;
}

#gridView.flex-start {
    justify-content: flex-start;
}

.th-custom {
 font-weight: bold;
 border-bottom:
2px solid #dadada;
  padding:
12px;
}

.icon-exp i {
    color: #848789cc;
}