:root {
    --bs-link-color: #7fc7ff;
    --bs-link-color-rgb: 127, 199, 255;

}


body {
    background: #f4f4f4;
    /*transform:scale(0.55);*/
/*    zoom:0.55*/

    padding:0 12.5vw;
    min-width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    font-size: 12px;
}

.container-fluid{
    min-width: 100%;
    /*max-width: 100%;*/
}

.navbar-nav .dropdown-menu {
    zoom: 0.8;
}

#accordionExample{
    zoom: 0.8;
}

.accordion-body {
    font-size: 16px;
}


.btn {
    --bs-btn-font-size: 1em;
    font-size: 12px;
}

.table .btn {
    --bs-btn-padding-x: 0.75em;
    --bs-btn-padding-y: 0.375em;
}

.table tr{
    height: 2.25rem;
}

.table>:not(caption)>*>* {
    padding: 0.25em 0.5em;
}

.form-control {
    padding: 0.45em 0.5em;
    font-size: 12px;
}

.page-link{
    font-size: 12px;
}

h1{
    font-size: 2.5em;
}

h4{
    font-size: 1.5em;
}

.preloader_bg {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    background: rgba(0, 0, 0, 0.1);
    left: 0;
    top: 0;
    z-index: 999;
}

.preloader {
    display: none;
    position: fixed;
    z-index: 1000;
    width: 40vw;
    left: 30vw;
    top: 10vh;
}

.btn-primary {
    background: #7fc7ff;
    border: 1px solid #7fc7ff;
}

nav a {
    color: #7fc7ff;
}

tbody .nav-link {
    color: #7fc7ff;
}

.navbar-collapse.collapse.show .d-flex {
    flex-direction: column;
}

.navbar {
    border-radius: 10px;
    background: #7fc7ff !important;
}


.page-link {
    border: none;
    color: #000000 !important;
}

.page-link.active {
    background: #f4f4f4;
    border-color: #c7c7c7;
}

.btn-grey {
    background: #c7c7c7;
    border-color: #c7c7c7;
}

.login-container {
    max-width: 600px;
    margin-top: 10vh;

    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    zoom:1.25;
}

.login-container h2 {
    width: 100%;
    text-align: center;
}

.container-fluid:not(.header) {
    background: #ffffff;
    padding: 3em;
    border-radius: 0 0 10px 10px;
    margin-bottom: 50px;
}

.navbar.container-fluid {
    margin-top: 2em;
    margin-bottom: 0px;
    padding: 0.75em 3em;
    border-radius: 10px 10px 0 0;
    background: #7fc7ff !important;
}

.tariff {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 15px;
}

.checkselect {
    position: relative;
    min-width: 200px;
}

.checkselect-control {
    position: relative;
    cursor: pointer;
}

.checkselect-control select {
    padding-right: 30px;
    cursor: pointer;
    background-color: white;
    pointer-events: none;
    background: transparent !important;
}

.checkselect-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
    font-size: 12px;
}

.checkselect-popup {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: none;
}

.checkselect-list {
    padding: 10px;
}

.checkselect .form-check {
    margin-bottom: 5px;
    padding-left: 25px;
    position: relative;
    min-height: 20px;
}

.checkselect .form-check-input {
    position: absolute;
    margin-top: 4px;
    margin-left: -20px;
}

.checkselect .form-check-label {
    display: block;
    padding: 2px 0;
    cursor: pointer;
}

.checkselect .form-check-label:hover {
    background-color: #f8f9fa;
}

.checkselect-control:hover {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.checkselect .form-check-input.hover {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

@media screen and (max-width: 1100px) {
    body {
        width: max-content;
        min-width: 100vw;
        max-width: max-content;

        padding: 0;
        /*zoom:1;*/
    }

    .navbar.container-fluid {
        width: 100%;
        border-radius: 0;
        margin-top: 0;
    }

    .modal-backdrop {
        width: 100%;
        height: 100%;
    }

    .modal {
        padding-right: 0 !important;
        word-break: break-word;
    }

    .container-fluid {
        width: max-content;
    }

    audio {
        width: 20em;
        hegiht: 10em;
    }

}

/* ========================= */
/* Result Filter (изолированные стили) */
.result-filter-container {
    border-radius: 10px;
    padding: 1.5em 1em 1em 1em;
    margin-bottom: 2em;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    align-items: flex-end;
}
.result-filter-group {
    min-width: 220px;
    flex: 1 1 50px;
}
.result-filter-label {
    font-weight: 600;
    margin-bottom: 0.5em;
    display: block;
}
.result-filter-checkselect {
    position: relative;
    min-width: 200px;
}
.result-filter-checkselect-control {
    position: relative;
    cursor: pointer;
    border: 1px solid #c7e6ff;
    border-radius: 6px;
    background: #fff;
    padding: 0.4em 1.5em 0.4em 0.8em;
    transition: border 0.2s;
}
.result-filter-checkselect-control select {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 1em;
    outline: none;
    cursor: pointer;
    pointer-events: none;
    background: transparent !important;
}
.result-filter-checkselect-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #7fc7ff;
    font-size: 1.1em;
}
.result-filter-checkselect-popup {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #c7e6ff;
    border-radius: 6px;
    margin-top: 5px;
    z-index: 1000;
    max-height: 260px;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(127, 199, 255, 0.12);
    display: none;
    padding: 0.5em 0.7em;
}
.result-filter-checkselect-popup label {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.3em 0.2em;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
}
.result-filter-checkselect-popup label:hover {
    background: #f0f8ff;
}
.result-filter-checkselect-popup input[type="checkbox"] {
    accent-color: #7fc7ff;
    width: 1.1em;
    height: 1.1em;
}
.result-filter-checkselect-control:focus-within,
.result-filter-checkselect-control:hover {
    border-color: #7fc7ff;
    box-shadow: 0 0 0 0.15rem rgba(127,199,255,.15);
}
@media (max-width: 900px) {
    .result-filter-container {
        flex-direction: column;
        gap: 0.7em;
        padding: 1em 0.5em 0.5em 0.5em;
    }
    .result-filter-group {
        min-width: 0;
        width: 100%;
    }
}

/* Стили для статусов */
.status-in-process {
    color: #198754 !important;
}

.status-paused {
    color: #e6b800 !important;
}

.status-finished {
    color: #c82333 !important;
}


