*{
    font-size: 12px;
}
.table-responsive, .table-responsive > .table, .table-responsive > .table > tbody > tr, .table-responsive > .table > tbody > tr > td{
    /*background: #f5f7fb ;*/
}
body {
    font-family: "Inter", "Helvetica Neue", Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.content {
    width: 100%;
    padding: 5px;
    min-height: 100vh;
    transition: margin-left 0.3s ease, max-width 0.3s ease; /* плавность */
}

/* Полный режим */
body:not(.sidebar-mini) .content {
    margin-left: 250px;
    max-width: calc(100% - 250px);
}
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 60px;
    background: #222e3c;
    color: #fff;
    z-index: 1000;
    transition: width 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: visible;


}
td.department-header {
    background: #cbcbcb !important;
}
.sidebar.open {
    width: 250px;
}

/* Логотип */
.sidebar .logo-box {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right: 10px;
}

.sidebar .logo-box .logo-text {
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    display: none;
    transition: opacity 0.3s;
}

.sidebar.open .logo-text {
    display: block;
}

.sidebar .logo-box .toggle-btn {
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    cursor: pointer;
    font-size: 2rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.sidebar .logo-box .toggle-btn:hover {
    opacity: 1;
}

/* Основной список */
.sidebar .menu-list {
    flex: 1;
    padding: 10px 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar .menu-item {
    position: relative;
    margin: 4px 8px;
    list-style: none;
}

/* Ссылки и кнопки */
.sidebar .menu-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 6px 10px;
    color: #adb5bd;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    background: transparent;
    border: none;
    text-align: left;
}

.sidebar .menu-link:hover,
.sidebar .menu-link.active {
    background: #ffffff;
    color: #000000;
}

.sidebar .menu-link i {
    font-size: 18px;
    min-width: 24px;
    text-align: center;
}

.sidebar .menu-link .link-text {
    margin-left: 12px;
    opacity: 0;
    transition: opacity 0.25s ease;
    overflow: hidden;
}

.sidebar.open .menu-link .link-text {
    opacity: 1;
}

/* Стрелка подменю */
.sidebar .submenu-arrow {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s ease;
    opacity: 0;
}

.sidebar.open .submenu-arrow {
    opacity: 1;
}

.sidebar .submenu-arrow.rotated {
    transform: rotate(180deg);
}

/* Подменю (анимированное) */
.sidebar .submenu {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.sidebar .submenu.open {
    max-height: 500px;
    padding: 0;
}

.sidebar .submenu .menu-link {
    font-size: 13px;
    height: 36px;
}

/* === ВСПЛЫВАЮЩЕЕ ПОДМЕНЮ (ТОЛЬКО В МИНИ-РЕЖИМЕ) === */
.sidebar .menu-item.has-children {
    position: relative;
}

.sidebar .popup-submenu {
    position: fixed;
    top: 0;
    left: calc(100% + 8px);
    background: #222e3c;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 8px 0;
    min-width: 180px;
    z-index: 9999;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, visibility 0.2s;
    border-radius: 8px;
}



.sidebar.open .popup-submenu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.sidebar .popup-submenu .menu-link {
    padding: 8px 16px;
    font-size: 13px;
    color: #adb5bd;
    display: block;
    width: 100%;
    text-align: left;
    border-radius: 0;
}

.sidebar .popup-submenu .menu-link:hover,
.sidebar .popup-submenu .menu-link.active {
    background: #ffffff;
    color: #000000;
    border-radius: 8px;
}

/* Tooltip в мини-режиме */
.sidebar .tooltip {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #000;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1000;
}

.sidebar .menu-item:hover .tooltip {
    opacity: 1;
}

.sidebar.open .tooltip {
    display: none;
}

/* Профиль */
.sidebar .profile-section {
    padding: 12px;
    border-top: 1px solid #222;
    transition: all 0.3s;
}

.sidebar:not(.open) .profile-section {
    padding: 12px 8px;
}

.sidebar .profile-box {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.sidebar .avatar {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #555;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.sidebar .profile-info {
    opacity: 0;
    transition: opacity 0.25s;
}

.sidebar.open .profile-info {
    opacity: 1;
    margin-left: 10px;
}

.sidebar .profile-info .name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.sidebar .profile-info .role {
    font-size: 12px;
    color: #adb5bd;
}

.sidebar .logout-btn {

}

.sidebar .logout-btn:hover {
    opacity: 1;
}

.sidebar:not(.open) .logout-btn {
    right: 8px;
}

/* Скроллбар */
.sidebar .menu-list::-webkit-scrollbar {
    width: 6px;
}

.sidebar .menu-list::-webkit-scrollbar-track {
    background: #0a0a16;
}

.sidebar .menu-list::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}
.sidebar .hover-bridge {
    position: absolute;
    top: 0;
    left: 100%;
    width: 12px;
    height: 100%;
    pointer-events: none;
}
.wrapper-instrument-profile {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 12px;
}
.wrapper-instrument-profile a{
    display: flex;
}
.wrapper-instrument-profile a:first-child{
    margin-left: 0;
}
.wrapper-instrument-profile i{
    color: #fff;
    width: 25px;
    height: 25px;
    font-size: 18px;
}
.sidebar:not(.open) .profile-info {
    display: none !important;
}

/* Сделать иконки профиля вертикальными в мини-режиме */
.sidebar:not(.open) .wrapper-instrument-profile {
    display: flex;
    flex-direction: column;
    gap: 8px; /* опционально: добавить небольшой отступ между иконками */
    align-items: center;
}
img.avatar-img-request{
    cursor: default;
}
/* Мини-режим */
body.sidebar-mini .content {
    margin-left: 60px;
    max-width: calc(100% - 60px);

    /*margin-left: 250px;*/
    /*max-width: calc(100% - 250px);*/
}
.wrapper_pag{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.active>.page-link, .page-link.active {
    background-color: #222e3c !important;
    border-color: #222e3c !important;
}
.page-link{
    color: #222e3c;
}
.choices {
    position: relative;
    margin-bottom: 0;
}

.choices .choices__inner {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 2px 10px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #212529;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    min-height: 27.5px;
    height: 27.5px;
}

.choices .choices__inner:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.choices__list--single{
    padding: 0 !important;
}
.choices[data-type*="select-one"] .choices__input {
    background-color: #fff;
    padding: 0.375rem;
    border-radius: 0.375rem;
}

.choices__list--dropdown {
    border: 1px solid #ced4da;
    border-top: none;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}
.custom-select-wrapper {
    position: relative;
}

.custom-select-control {
    position: relative;
}

.custom-select-control .dropdown-arrow {
    position: absolute;
    right: 8px;
    pointer-events: none;
    font-size: 0.6rem;
    color: #6c757d;
}

.custom-option:hover {
    background-color: #f8f9fa;
}

.custom-option.selected {
    background-color: #e9ecef;
}
.custom-select-wrapper {
    position: relative;
}

.custom-select-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    cursor: pointer;
    background: white;
}

.custom-select-control .arrow {
    font-size: 0.6rem;
    color: #6c757d;
}

.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ced4da;
    border-top: none;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    display: none;
}

.custom-select-dropdown input {
    width: 100%;
    border: none;
    padding: 0.25rem 0.5rem;
    border-bottom: 1px solid #eee;
    font-size: 0.875rem;
}

.custom-select-dropdown input:focus {
    outline: none;
}

.custom-option {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.custom-option:hover {
    background-color: #f8f9fa;
}

.custom-option.selected {
    background-color: #e9ecef;
}
.table-light th{
    background-color: #495057 !important;
    color: #fff !important;
}
.table-light th a{
    color: #fff;
    display: flex;
    justify-content: end;
    align-items: center;
}
.table-light th a span{
    margin-right: 5px;
}
.form-label {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

/* Разрешаем переполнение в ячейках с аватаром */
.avatar-cell {
    overflow: visible !important;
    position: relative;
}






/* Убедимся, что таблица и строки не обрезают */
.table-responsive,
.table-responsive > .table,
.table-responsive > .table > tbody > tr,
.table-responsive > .table > tbody > tr > td {
    overflow: visible !important;
}
.wrapper-top-panel{
    display: flex;
    flex-direction: initial;
}
.wrapper-top-panel div:first-child{
    margin-bottom: 0 !important;
}
@media (max-width: 768px) {
    .wrapper-top-panel div:first-child{
        margin-bottom: 5px !important;
    }
    .grid-m{
        display: grid;
        gap: 5px;
    }
    .wrapper-top-panel{
        display: flex;
        flex-direction: column;
    }
    .align-items-end > [class*="col-"] {
        margin-bottom: 0.5rem;
    }
    .align-items-end > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
}

.page-link {
    color: #222e3c !important;
}
.page-link:hover {
    color: #222e3c !important;
    background-color: #f8f9fa;
}
.page-item.active .page-link {
    background-color: #222e3c !important;
    border-color: #222e3c !important;
    color: #fff !important;
}
.n-count{
    justify-content: center;
}
.control-h{
    background: #495057;
    color: #fff;
    padding: 10px 5px;
    margin-top: 10px;
}
select#perPageSelect {
    cursor: pointer;
}
.drag-handle {
    cursor: grab;
    opacity: 0.6;
}
.drag-handle:hover {
    opacity: 1;
}
.drag-handle:active {
    cursor: grabbing;
}
.modal-header {
    background: #222e3c;
    color: #fff;
}
.span-edit{
    color: #3b7ddd;
}
.span-edit:hover{
    text-decoration: underline;
    cursor: pointer;
}
#dataTable td,
#operationsTable td{
    padding: 0.2rem .5rem !important;
}
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}
button#exportExcelBtn,
button#exportOperationsExcelBtn,
.btn-ex{
    margin-bottom: 2px;
}
.btn-remove{
    padding: 0 0px !important;
}
.btn-remove svg{
    height: 18px;
}
.btn-remove svg:hover{
    color: #dc3545;
    transition: all 0.3s ease;
    /*zoom: 110%;*/
}
tbody.t-fp tr td{
    padding: 0.2rem .5rem !important;
}
.checkselect_search {
    position: relative;
    display: inline-block;
    width: 100%;
}

.checkselect-control_search {
    cursor: pointer;
}

.checkselect-over {
    padding: 5px !important;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    /*min-height: 38px;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.checkselect-over .name {
    /*font-weight: bold;*/
}

.checkselect-over .approved {
    font-size: 0.85em;
    color: #666;
}

.checkselect-popup_search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: none;
    max-height: 250px;
    overflow: hidden;
    margin-top: -1px;
    z-index: 99999;
}

.checkselect-popup_search.showBlock_ {
    display: block;
}

fieldset.fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

input.search-edit-user {
    width: 100%;
    padding: 5px;
    border: none;
    border-bottom: 1px solid #eee;
    outline: none;
    font-size: 12px;
    box-sizing: border-box;
    margin-top: 3px;
}

fieldset.search-select {
    max-height: 180px;
    overflow-y: auto;
    /*padding: 8px;*/
}

/* Скрываем радиокнопки ВИЗУАЛЬНО, но оставляем в DOM */
fieldset.search-select input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Стилизуем label как кликабельный элемент */
fieldset.search-select label {
    display: flex;
    padding: 8px;
    cursor: pointer;
    border-radius: 3px;
    user-select: none;
    flex-direction: column;
}

fieldset.search-select label:hover {
    background-color: #f0f8ff;
}

/* Стиль для выбранного пункта */
fieldset.search-select input[type="radio"]:checked + label {
    background-color: #e6f2ff;
    /*font-weight: bold;*/
}

i.number_true {
    font-style: normal;
}
.income-detail-trigger:hover {
    color: #0d6efd;
}
.income-detail-popup{
    position: absolute;
    top: 100%;
    left: 110px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    font-size: 13px;
    min-width: 250px;
}
.income-detail-popup div{
    display: flex;
    justify-content: space-between;
}
.sourse_expenses{
    color: gray;
    font-style: italic;
}
.no-result {
    text-align: center;
    font-size: 28px;
    height: 250px;
    font-weight: 600;
    align-content: center;
}
.drop-zone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.drop-zone:hover,
.drop-zone.dragover {
    background-color: #f0f0f0;
    border-color: #999;
}

.drop-zone span {
    color: #666;
    font-size: 16px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
}

.file-item .file-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-all;
    max-width: 100%;
}

.file-item  button {
    padding: 5px;
    font-size: 12px;
    line-height: 1;
    border: none;
}

.file-item  button:hover {
    background: #ff2020;
}
.disabled-no{
    background-color: #ffffff !important;
}
#fileList {
    display: flex;
    flex-direction: column;
}
.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    margin-top: 5px;
}
.file-item a {
    color: inherit;
    text-decoration: none;
}
.file-item a:hover {
    color: #0d6efd;
}
.file-item .fa-download {
    opacity: 0.6;
    transition: opacity 0.2s;
    font-size: 20px;
    color: #6c757d;
}
.file-item .fa-download:hover {
    opacity: 1;
}
.rounded div{
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.btn-block button{
    border: none;
    color: #495057;
}
.btn-block button.btn.btn-sm.btn-outline-primary.copy-op-btn:hover{
    color: #ffffff;
}

.btn-block button.btn.btn-sm.btn-outline-danger.delete-op-btn:hover{
    color: #ffffff;
}
#status-pending td  { background-color: #fff3cd !important; }
#status-approved td { background-color: #9de1c2  !important; }
#status-rejected td { background-color: #f8d7da !important; }
#status-paid td     { background-color: #cff4fc !important; }
.table-light th a i{
    margin-left: 10px !important;
}

.filter-flex{
    display: flex;
}
.filter-flex span{
    padding: 0 10px;
}
.input-with-clear {
    position: relative;
    display: inline-block;
    width: 100%;
}
.input-with-clear input {
    padding-right: 30px;
}
.clear-input-btn {
    position: absolute;
    right: 0;
    top: 42%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
}
.clear-input-btn:hover {
    color: #333;
}
#timesheetContainer th, #timesheetContainer td {
    text-align: center;
    vertical-align: middle;
    font-size: 0.85rem;
}
#timesheetContainer small {
    font-weight: normal;
    color: #666;
}
#timesheet thead tr th{
    background: #495057 ;
    color: #fff;
}
#timesheet td{
    text-align: center;
    align-content: center;
    width: max-content;
}
.list-group-item+.list-group-item{
    cursor: pointer;
}
.drag-handle {
    background-color: #f8f9fa;
    opacity: 0.6;
    transition: opacity 0.2s;
    cursor: move !important;
}
.employee-row:hover .drag-handle {
    opacity: 1;
}
.departmentsForAccess div{
    display: flex;
    margin-left: 10px;
}
.checkselect-multi-control {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: white;
}
.checkselect-multi-popup {
    display: none;
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #ced4da;
    border-top: none;
    overflow-y: auto;
    width: 100%;
}
.checkselect_multi_search {
    position: relative;
}
.checkselect-multi-popup div{
    display: flex;
}
.checkselect-multi-popup div label{
    width: 100%;
    padding: 3px 10px;
}
.checkselect_multi_search .search-select > div {
    padding: 0px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.checkselect_multi_search .search-select > div:has(input[type="checkbox"]:checked) {
    background-color: #e7f1ff;
    border: 1px solid #b8daff;
}

.checkselect_multi_search .search-select > div.checked-item {
    background-color: #e7f1ff;
    border: 1px solid #b8daff;
}
.checkselect_multi_search .search-select > div:has(input:checked) {
    background-color: #e7f1ff;
    border-radius: 4px;
}
.checkselect_multi_search .search-select > div.checked-item {
    background-color: #e7f1ff;
    border-radius: 4px;
}
#accessTable .form-select {
    min-width: 180px;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}
#departmentFilterAll .dropdown-toggle{
    border: 1px solid #dee2e6;
}
#departmentFilterAll .form-check{
    padding-left: 0;
}
#departmentFilterAll label{
    width: 100%;
    padding: 5px;
}
#departmentFilterAll label:hover{
    cursor: pointer;
    background: #e6f2ff;
}
#timesheet thead th{
    border: 1px solid #495057;
}
#profile-avatar img,
#profile-avatar .avatar-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    font-size: 70px;
}
.wrapper-card-user{
    display: flex;
    }
.wrapper-card-user-info {
    display: flex;
    flex-direction: column;
    justify-content: unset;
    align-items: baseline;
    margin-left: 30px;
}
pre {
    position: relative;
    background: #ffffff;
    top: 0;
    z-index: 99999;
    width: 100%;
    padding: 10px;
    border: 1px solid;
}
.btn-group.period {
    height: 29px;
}
table button{
    border: none !important;
}
.cursor-pointer{
    cursor: pointer;
    font-weight: 600;
}
.wrapper_btn{
    display: flex;justify-content: space-between;
    width: 100%;
}
img.avatar-img-request {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e7eb;
    color: #4b5563;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
}
.wrapper-img-request{
    display: flex;
    align-items: start;
    justify-content: space-between;
}
select{
    cursor: pointer;
}
div#toggle-fonds-revenue,
div#toggle-fonds-margin {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wrapper-total-sum {
    display: flex;
    flex-direction: column;
}
.float-end.approved-revenue-total,
.float-end.available-revenue-total,
.float-end.approved-margin-total,
.float-end.available-margin-total{
    display: flex;
}
.float-end.approved-revenue-total div,
.float-end.available-revenue-total div,
.float-end.approved-margin-total div,
.float-end.available-margin-total div{
    width: 70px;
}
.panel_directive {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f5f7fb;
    padding: 15px;
    z-index: 999;
    border-top: 1px solid #80808069;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
    margin-left: 65px;
}
input[type='checkbox']{
    cursor: pointer;
}
body.sidebar-mini .logo-box img {
    display: none !important;
}
.wrapper-bulkPayBtn{
    position: fixed;
    z-index: 999;
    width: 100%;
    bottom: 0;
    background: #f5f7fb;
    border-top: 1px solid #80808069;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}
button#bulkCancelBtn {
    margin: 10px 0px 5px;
}
button#bulkPayBtn {
    margin: 10px;
}
div#resultsContainer{
    overflow: auto !important;
}
.sidebar.mini + .content .panel_directive{
    margin-left: 80px !important;
    max-width: calc(100% - 85px) !important;
}
.avatar-img, .avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: flex
;
    align-items: center;
    justify-content: center;
    background-color: #e5e7eb;
    color: #4b5563;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
}
.avatar-cell a{
    text-decoration: none;
}
.avatar-cell a:hover{
    text-decoration: none;
}
.avatar-preview {
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    overflow: hidden;
}
.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#previewContainer {
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* Стиль для кроп-рамки */
.cropper-crop-box {
    border: 2px solid #0d6efd;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}
button#toggleSidebar {
    height: 29px;
    background: #495057;
    color: #ffffff;
}
.swal2-popup.swal2-modal.swal2-icon-warning.swal2-show,
.swal2-popup.swal2-modal.swal2-show{
    grid-row: 1;
}
div#filePreviewModalBody {
    /*margin: 0 auto;*/
}
.global-page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* Светлое затемнение */
    /* Или тёмное: background: rgba(0, 0, 0, 0.3); */
    backdrop-filter: blur(4px); /* Размытие фона */
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media print {
    body * {
        visibility: hidden;
    }
    #resultsContainer, #resultsContainer * {
        visibility: visible;
    }
    #resultsContainer {
        position: absolute;
        left: 0;
        top: 0;

        font-size: 12pt;
        line-height: 1.4;
    }
    .no-print,
    .cursor-pointer
    {
        display: none !important;
    }
    .content {
        max-width: 100% !important;
        margin-left: 0 !important;
    }
}




