/* Korekcija scrolla kod svih modala */
.modal-body {
    max-height: calc(100vh - 212px);
    overflow-y: auto;
}

.btn-toggl {
    background-color: #ffffff;
    border: 1px solid gray;
}

.btn-toggl:hover {
    border: none;
    border: 1px solid gray;
}

.btn-toggl:focus {
    box-shadow: none;
}

.btn-toggl.active {
    background-color: #4e73df;
    color: white;
}

.hidden {
    display: none;
}

/* SPINNER - LOADER START*/
/*Spinner 1*/
.spinner-1:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 60px;
    width: 60px;
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 50%;
    border: 5px solid lightgrey;
    border-top-color: #1cc88a;
    animation: spinner 0.7s linear infinite;
    z-index: 100;
}

/*Spinner 2*/
.spinner-2:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 60px;
    width: 60px;
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top-color: #1cc88a;
    border-bottom-color: #1cc88a;
    animation: spinner 0.7s ease infinite;
    z-index: 100;
}


/*Spinner 3*/
.spinner-3:before {
    content: "";
    box-sizing: border-box;
    position: fixed;
    top: 50%;
    left: 50%;
    height: 60px;
    width: 60px;
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 50%;
    border-top: 4px solid #4F7CCB;
    border-right: 4px solid transparent;
    animation: spinner 0.7s linear infinite;
    z-index: 100000;
}


@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* SPINNER END */

.btn-remove-item {
    background-color: white;
    border: 1px solid #ff4b4b !important;
    border: none;
    padding: 0.30rem !important;
    color: #ff4b4b;
    font-weight: 700;
}

.btn-remove-item:hover {
    color: #fff;
    background-color: #ff4b4b;
}

.customer-delete-button {
    float: right;
}

label[for=company_logo] {
    border: 2px dashed blue;
    padding: 5px;
}

#company_logo {
    display: none;
}

label[for=company_signature] {
    border: 2px dashed blue;
    padding: 5px;
}

#company_signature {
    display: none;
}

.container-admin {
    visibility: hidden;
    min-height: 600px;
}

input#wg_account {
    cursor: text;
}

.emoji-large {
    font-size: 2rem;
    display: inline-block;
    line-height: 1;
}

#dataTableTrofeji tbody td:first-child,
#dataTableZarada tbody td:first-child {
    text-align: center;
}

#dataTableZarada thead th,
#dataTableZarada tbody td {
    width: 20px !important;
    max-width: 20px !important;
    text-align: center;
    white-space: nowrap;
}

#comparison-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.comparison-modal-content {
    background: #fff;
    padding: 20px;
    max-height: 90vh;
    overflow-y: scroll;
    width: 90%;
    max-width: 1200px;
    border-radius: 8px;
    position: relative;
}

.comparison-modal-page-container {
    display: none;
    flex-direction: column;
    align-items: center;
}

#comparison-modal-pagination {
    margin-top: 20px;
    text-align: center;
}

#comparison-modal-pagination button {
    margin: 0 10px;
    padding: 5px 15px;
}

#comparison-page-indicator {
    font-weight: bold;
}

.canvas-scroll-wrapper {
    overflow-x: auto;
    width: 100%;
}


.canvas-row {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: flex-start;
}


canvas {
    border: 1px solid #ccc;
}

.label-row {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    width: 100%;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: blue;
}

input[type="checkbox"][disabled][checked] {
    filter: invert(100%) hue-rotate(18deg) brightness(5);
}

.circle-img {
    border-radius: 50%;
}

.sortable {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.sortable li {
    font-size: 1.3em;
    padding: 6px;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid gray;
    border-radius: 5px;
}

.sortable li span {
    position: absolute;
    margin-left: -1.3em;
}