.modal-header {border-bottom: 0px;}
.modal-footer {border-top: 0px;}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 5px;
    scale: .5;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.offcanvas-center {
    position: fixed;
    top: 0;
    left: 50%;
    width: 50vw;
    margin-left: -25vw; /* ← KLÍČOVÉ */
    transform: none !important;
}
.offcanvas-center {
    display: none; 
}

.offcanvas-center.show {
    display: block;
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
.mt--8 {margin-top: -8px;}
.mr-3 {margin-right: 5px;}
.loader {
    position: absolute;
    right: 40%;
    bottom: 0%;
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: rgb(47, 112, 249);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.bg-body-pink {background-color: #ffd0d8 !important;}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.under_header_settings {display: inline-block; float: right;}
@media screen and (max-width: 767px){
    .mobile-float-none {float: none;}
    .under_header_settings {display: inline-block; float: left;}
}
.badge-secondary {background: grey;}
.sidebar-link.active{background: #232323;}
.none_until_company {visibility: hidden;}
.editor-container img {max-width: 100%;}
#text_baze img {max-width: 100%;}
#text_baze ol {padding-left: 20px;}
#text_baze p {margin-bottom: 0px;}
#text_baze ol {margin-bottom: 0px;}
#text_baze strong {font-weight: 800;}
#editor-container strong {font-weight: 800;}
.absolute_right {position: absolute; right: 10px;}
.absolute_right_second {position: absolute; right: 40px;}
.action_wrap {display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;}
.content {padding: 1.4rem 1rem 1.5rem;}
.ql-container {font-size: 0.99rem;}


input[readonly] {
    background-color: #f7f7f7;
    color: #666;
    border: 1px solid #ccc;
    cursor: not-allowed;
}
.light_blue_background {background-color: rgb(159, 192, 245);}
.btn-outline-danger {background: white;}
.btn-primary-outline {background: white;}
.btn-primary-outline:hover {background: #dedede;}
.btn-outline-success {background: white;}

.form-control {
    border: 1px solid grey;
    appearance: auto;
}
.task-name:hover {
    color: #0d6efd; /* Bootstrap primary modrá */
    text-decoration: underline;
}

.stop-timer-btn:hover {
    color: #dc3545; /* Bootstrap danger červená */
}

.tag {
    display: inline-block;
    background-color: #e0e0e0;
    color: #333;
    border-radius: 20px;
    padding: 5px 10px;
    margin: 5px 5px 0 0;
    font-size: 14px;
}
.tag .remove {
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
}

.navbar_header_top {left: 260px; width: calc(100% - 250px);}

.casovac_box_lista {background: #f8f9fa; padding: 8px 12px; margin-left: 10px; border-radius: 6px; display: flex; align-items: center; gap: 0px; max-width: 320px;}


#loaderOverlay {
    display: none;                       /* výchozí skrytý */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgba(0,0,0,0.6);         /* tmavé pozadí */
    z-index: 9999;
}


.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    border: 6px solid rgba(255,255,255,0.3); /* světlejší okraj */
    border-top: 6px solid #ffffff;           /* bílý vršek */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#searchResults {
    margin-top: 50px;
    max-height: 400px;
    overflow-y: auto;
    overscroll-behavior: contain;
    display:none; z-index:1050; top:10px; left:0; width:550px; max-height:400px; overflow-y:auto;
}

.table.table.dataTable>tbody>tr {line-height: 16px;}
.table tbody, .table td, .table tfoot, .table th, .table thead, .table tr {line-height: 16px;}

.offcanvas-header {padding-bottom: 10px !important;padding-top: 10px !important;}
.table>tbody>tr>td {padding-top: 7px; padding-bottom: 7px;}

.dropzone {
    position: relative;
    width: 100%;
    height: 200px;
    border: 2px dashed #aaa;
    border-radius: 10px;
    background: #e4e4e4;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
}

.dropzone.dragover {
    background: #d1ffd1;
    border-color: #3c763d;
}

.dropzone input[type=file] {
    display: none;
}

.file-list {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    background: #f9f9f9;
    font-size: 15px;
}

.file-list div {
    margin-bottom: 5px;
}
#text_baze ul {margin-left: 20px;}
.chat-messages p{margin-bottom: 0px !important;}
.select2-container .select2-selection--multiple {border: 1px solid #808080 !important;}
.select2-container--bootstrap-5 .select2-selection {border: 1px solid #808080 !important;}
.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection { border-color: #808080;}