#mainContainer{
    min-width: 1440px;
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 10px;
}
.list-container {
    height: calc(100vh - 80px);
    /* overflow-y: auto; */
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    overflow-x: auto;
    position: relative;
    min-width: 1170px;
}
.list-container .list-header {
    display: grid;
    grid-template-columns: 1fr 135px;
    border-bottom: 2px solid #eee;
    align-items: center;
}
.list-container .list-header .title {
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    font-size: 18px;
    font-weight: 700;
}
.list-container .list-header #emptySchedule{
    background-color: #9f1e1e;
    color: #fff;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.list-container .list-header #emptySchedule:hover{
    background-color: #d73e3e;
}
.schedule{
    height: calc(100vh - 120px);
    /* overflow-y: auto; */
    background: #fff;
    overflow-y: auto;
    position: relative;
    min-width: 1170px;
}
.schedule-table{
    width: 100%;
    border: none;
    border-collapse: collapse;
}
.schedule-table thead{
    background-color: #f9f9f9;
    border-bottom: 2px solid #eee;
}
.schedule-table thead th{
    padding: 5px 10px;
    border-right: 2px solid #eee;
    text-align: center;
}
.schedule-table thead th:last-child{
    border-right: none;
}
.schedule-table tbody{
    border-bottom: 2px solid #eee;
}
.schedule-table tbody td{
    padding: 5px 5px;
    border-right: 2px solid #eee;
    border-bottom: 2px solid #eee;
}
.schedule-table tbody td:last-child{
    border-right: none;
}
.legend{
    font-weight: 700;
    text-align: center;
}
.legend .working-hours{
    font-size: 11px;
    font-weight: 600;
}
.shift{
    display: block;
    min-height: 50px;
    background-color: #f5f5f5;
    border-radius: 5px;
    margin-bottom: 5px;
    position: relative;
    padding: 20px 5px 5px;
    cursor: pointer;
}
.shift:last-child{
    margin-bottom: 0;
    background-color: #f1f1f1;
}
.shift:before{
    content: 'Smjena 1';
    position: absolute;
    font-size: 11px;
    font-weight: 600;
    top: 0px;
    left: 5px;
    color: #aaa;
}
.shift:nth-child(2):before{
    content: 'Međusmjena';
}
.shift:last-child:before{
    content: 'Smjena 2';
}
.shift .info-number{
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background-color: #9f1e1e;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height:17px;
    border-radius: 50%;
}
.shift .info-number.scp-num{
    background-color: #1c9b92;
    color: #fff;
}
.shift .info-number.ic-num{
    background-color: #5d7b96;
    color: #fff;
}
.shift .info-number.tr8-num{
    background-color: #c79d08;
    color: #fff;
}
.shift-off{
    display: block;
    min-height: 50px;
    background-color: #eaeaea;
    border-radius: 5px;
    position: relative;
    padding: 5px;
}
.worker{
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px 5px 0;
    background-color: #d6fff8;
    border-radius: 4px;
    cursor: move;
    position: relative;
}
.worker.scp{
    background-color: #9cffef;
}
.worker.ic{
    background-color: #9cccff;
}
.worker.tr8{
    background-color: #ffe9a6;
}
.dragging{
    opacity: .5;
}
.location-scp .shift{
    background-color: #e5fff8;
}
.location-ic .shift{
    background-color: #e8f1ff;
}
.location-tr8 .shift{
    background-color: #fff7e5;
}
.notice-permanent {
    color: #5d009b;
    background-color: #ebe3ff;
    border-radius: 5px;
    font-size: 12px;
    padding: 0 10px;
    font-weight: 600;
    margin-bottom: 4px;
}
.notice{
    color: #9b0000;
    background-color: #ffe3e3;
    border-radius: 5px;
    font-size: 12px;
    padding: 0 10px;
    font-weight: 600;
}
#noticeText, #globalNoticeText{
    width: 100%;
    min-height: 200px;
    max-height: 200px;
    padding: 10px;
}
.worker.disabled{
    pointer-events: none;
}
.worker.not-show{
    display: none;
}
.worker.scp.disabled{
    color: #7a7a7a;
}
.worker.ic.disabled{
    color: #7a7a7a;
}
.worker.tr8.disabled{
    color: #7a7a7a;
}
.empty-day{
    display: inline-block;
    background-color: #ffd2d2;
    color: #a83232;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    margin: 3px 0;
}
.empty-day:hover{
    background-color: #a83232;
    color: #fff;
}
.lock-day{
    display: inline-block;
    background-color: #ffba8b;
    color: #c05c11;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    margin: 3px 0;
}
.lock-day:hover{
    background-color: #c05c11;
    color: #fff;
}
.day-lock{
    pointer-events: none;
    background-color: #ffaa70;
}

#globalNoticeBtn{
    display: inline-block;
    background-color: #d2ffff;
    color: #3265a8;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    margin: 3px 0;
}
#globalNoticeBtn:hover{
    background-color: #3265a8;
    color: #fff;
}
#globalNoticeRow{
    font-weight: 700;
    font-size: 13px;
}
.spinner {
    position: absolute;
    top: calc(50% - 28px);
    left: calc(50% - 28px);
    width: 56px;
    height: 56px;
    display: none;
}
.spinner::before,
.spinner::after {
    content: '';
    width: 100%;
    height: 100%;
    animation: spinner-rfi6tk 1s infinite linear;
    box-sizing: border-box;
    border: 11.2px solid rgba(71,75,255,0.1);
    border-radius: 50%;
    position: absolute;
}
.spinner::before {
    animation-direction: reverse;
    border-right-color: #3fb149;
    right: calc(50% - 5.6px);
}
.spinner::after {
    border-left-color: #3fb149;
    left: calc(50% - 5.6px);
}
@keyframes spinner-rfi6tk {
    0% {
        transform: rotate(0deg);
    }

    50%, 100% {
        transform: rotate(360deg);
    }
}

.checkbox-toolbar {
    margin: 10px 5px;
    display: inline-block;
}
.checkbox-toolbar input[type="checkbox"], .checkbox-toolbar input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}
.checkbox-toolbar label {
    display: inline-block;
    background-color: #eee;
    padding: 5px 7px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}
.checkbox-toolbar label:hover {
    background-color: #dfd;
}
.checkbox-toolbar input[type="checkbox"]:focus + label {
}
.checkbox-toolbar input[type="checkbox"]:checked + label, .checkbox-toolbar input[type="radio"]:checked + label {
    background-color: #3fb149;
    color: #fff;
}

.checkbox-toolbar.red {
    margin: 0;
}
.checkbox-toolbar.red input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.checkbox-toolbar.red label {
    display: inline-block;
    background-color: #eee;
    padding: 5px 15px 5px 35px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
}
.checkbox-toolbar.red label:before {
    content: "\e836";
    font-family: "Material Symbols Rounded";
    font-size: 20px;
    font-weight: 200;
    height: 20px;
    line-height: 20px;
    position: absolute;
    top: 6px;
    left: 10px;
}
.checkbox-toolbar.red label:hover {
    background-color: #ffcfcf;
}

.checkbox-toolbar.red input[type="checkbox"]:focus + label {
}

.checkbox-toolbar.red input[type="checkbox"]:checked + label, .checkbox-toolbar.red input[type="radio"]:checked + label {
    background-color: #3fb149;
    color: #fff;
}
.checkbox-toolbar.red input[type="checkbox"]:checked + label, .checkbox-toolbar.red input[type="radio"]:checked + label {
    background-color: #b13f3f;
    color: #fff;
}
.checkbox-toolbar.red input[type="checkbox"]:checked + label:before, .checkbox-toolbar.red input[type="radio"]:checked + label:before {
    content: "\e86c";
    font-family: "Material Symbols Rounded";
    font-size: 20px;
    font-weight: 200;
    width: 20px;
    height: 20px;
    line-height: 20px;
    position: absolute;
    top: 6px;
    left: 10px;
}
.office-login-label{
    display: inline-block;
    position: absolute;
    top: -3px;
    right: -3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: red;
    color: white;
    text-align: center;
    line-height: 16px;
}
.employees-schedule{
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
}
.employees-schedule .title{
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}
.employees-schedule .employee-list .checkbox-toolbar{
    margin: 5px;
}
.employees-schedule .employee-schedule{
    margin-top: 15px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}
.employees-schedule .employee-schedule .employee-name{
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}
.employees-schedule .employee-schedule .employee-dates{
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}
.darker-hr{
    background-color: #ddd;
    opacity: 1 !important;
}