/* Основные стили */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
}

/* Заголовки */
h1 {
    color: #273646;
    font-size: 1.8rem;
    margin: 1.5rem 0;
    font-weight: 500;
}

h2 {
    color: #273646;
    font-size: 1.6rem;
    margin: 1.2rem 0;
    font-weight: 500;
}

h3 {
    color: #273646;
    font-size: 1.4rem;
}

/* Навигация */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 500;
}

.navbar-brand img {
    margin-right: 10px;
}

/* Таблицы */
.table {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

/* Карточки и формы */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-control:focus {
    border-color: #4e73df;
    box-shadow: 0 0 0 0.2rem rgba(78,115,223,0.25);
}

/* Кнопки */
.btn-primary {
    background-color: #4e73df;
    border-color: #4e73df;
}

.btn-primary:hover {
    background-color: #2e59d9;
    border-color: #2653d4;
}

/* Пагинация */
.pagination .page-link {
    color: #4e73df;
}

.pagination .page-item.active .page-link {
    background-color: #4e73df;
    border-color: #4e73df;
}


.navbar-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.nav-link {
    background-color: #1a48d3;
    color: white;rgb(0, 64, 255)
    line-height: 1.1;
    padding: 5px 10px;
    border-radius: 5px;

    &.active {
        background-color: #57b3d8;
        color: white;
    }

    &:hover {
        background-color: #5a72ff;
        color: white;
    }
}

.report4-table {
    margin-bottom: 20px;
    td, th {
        font-size: 16px;
    }

}

.root {
    position: relative;
    padding: 80px 0 80px 0;
    min-height: calc(100vh - 57px);
    z-index: 0;
}

.root::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/static/images/bg3.jpg") no-repeat center top fixed;
    background-size: cover;
    opacity: 0.7 ; /* Прозрачность фона */
    z-index: -1;  /* Помещаем под содержимое */
    background-color: rgba(255, 251, 0, 0.4); /* Полупрозрачный черный слой */
    filter: blur(0px); /* степень размытия */
}

:root {
    --report-table-initial-padding: 20px;
}

h2 {
    text-align: center;
    color: #062650;
    font-weight: bold;
    font-size: calc(inherit + 5px);
    margin-bottom: calc(inherit + 10px);
}

.report-table, .report4-table, .report5_1-table, .report1-table {
    h3 {
        text-align: center;
    }

    th {
        padding: 10px var(--report-table-initial-padding);
        border: solid 1px #ccc;
        text-align: center;
        vertical-align: middle;
    }

    td {
        padding: 10px var(--report-table-initial-padding);
    }
    .level-0 {
        /* padding-left: 0; */
        font-weight: bold;
    }
    .level-1 {
        padding-left: calc(var(--report-table-initial-padding) + 20px);
    }
    .level-2 {
        padding-left: calc(var(--report-table-initial-padding) + 40px);
    }
    .level-3 {
        padding-left: calc(var(--report-table-initial-padding) + 60px);
    }
    .level-4 {
        padding-left: calc(var(--report-table-initial-padding) + 80px);
    }
}

.btn-primary.active {
    background-color: #57b3d8;
    border-color: #57b3d8;
}

.block__centered {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    > div {
        flex-shrink: 0;
    }
}