* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    background-color: #f8f9fa;
    font-family: 'Proxima Nova', Arial, sans-serif;
    font-weight: 400;
    /* нормальное начертание */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.bold {
    font-weight: 700;
    /* жирное начертание */
}

.card-header{
    font-weight: 600 !important;
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
    font-size: .8rem !important;
}

form label{
    font-size: .8rem !important;
    font-weight: 600 !important;

}

/* маленький серый текст для мета-информации файлов и истории */
.text-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

.badge{
    font-weight: normal;
    opacity: 0.8;
}

/* ******************************  HEADER  ******************************* */

.nav-container {
    max-width: 90% !important;
}

.nav-underline .nav-link {
    color: #6c757d;
    border-bottom: 3px solid transparent;
    padding-bottom: 0.5rem;
    font-weight: 500;
} 

.nav-underline .nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    background-color: transparent;
    font-weight: 400;
}

.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    z-index: 1000;
}

.content {
    padding: 20px;
    background-color: #fff;
    min-height: calc(100vh - 56px);
    transition: all 0.3s ease;
}

.content.expanded {
    margin-left: 0 !important;
}

.user-info {
    background-color: #e9ecef;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}


/*****************************************  ФОРМЫ *************************************** */
form label {
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.errorlist {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
    list-style: none;   
    padding-left: 0;
}

/* Для красоты карточек */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .075);
    border-radius: 0.5rem;
}

/* Для выравнивания ссылки "Скачать" */
.file-item {
    border-bottom: 1px dashed #dee2e6;
}

.file-item:last-child {
    border-bottom: none;
}

/* Стррелки сортировки в таблицах */

th.orderable a {
    position: relative !important;
    padding-right: 12px !important;
    display: inline-block !important;
    text-decoration: none;
    font-weight: normal !important;
    /* color: inherit; */
} 

th.orderable a:after {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
}

/* th.orderable:not(.asc):not(.desc) a:after {
    content: "⇅" !important;
    opacity: 0.3 !important;
} */

th.asc a:after {
    content: "\2191" !important;  /* ↑ */
}

th.desc a:after {
    content: "\2193" !important;  /* ↓ */
}

/* Мультивыбор Select2 - добавим пустое место и пояснение "добавить" */
/* Padding снизу */
.select2-selection--multiple {
    padding-bottom: 40px !important;
    position: relative;
}

/* Плейсхолдер для пустого поля */
.select2-selection--multiple .select2-search--inline::after {
    content: "⬇️ добавить";
    position: absolute;
    bottom: 8px;
    left: 12px;
    color: #6c757d;
    font-size: 0.875rem;
    pointer-events: none;
    opacity: 0.7;
}

/* Скрываем плейсхолдер, если есть выбранные элементы */
.select2-selection--multiple .select2-selection__choice ~ .select2-search--inline::after {
    opacity: 0;
}

/* В просмотровом режиме не показываем подсказку «добавить» и место под неё */
.readonly-mode .select2-selection--multiple,
select:disabled + .select2-container .select2-selection--multiple {
    padding-bottom: 0.375rem !important;
}

.readonly-mode .select2-search--inline,
select:disabled + .select2-container .select2-search--inline {
    display: none;
}

th.orderable a {
    font-weight: 700 !important;
    text-decoration: none;
    color: black;
}

th.orderable a:hover {
    text-decoration: underline;
}

th {
    font-weight: 700 !important;
    text-decoration: none;
    color: black;
}

.table th {
    font-weight: 700 !important;
    /* text-align: center; */
    vertical-align: middle;
    font-size: 0.8rem;
}

@keyframes bellRing {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

.bell-icon.warning {
    animation: bellRing 0.5s ease-in-out;
}

.col-btn-settings-3{
    top: 3px !important; 
    right: 3px !important;
}
.col-btn-settings-11{
    top: 11px !important; 
    right: 11px !important;
}