/* Глобальные переменные и цветовая палитра (в красно-серых тонах) */
:root {
    --bg-primary: #121214; /* Угольный темно-серый */
    --bg-secondary: #1E1E22; /* Темно-серый для карточек и блоков */
    --bg-tertiary: #2D2D34; /* Для полей ввода и кнопок */
    --accent-color: #DC2626; /* Фирменный красный акцент */
    --accent-hover: #B91C1C;
    --text-primary: #F8FAFC; /* Белый/светло-серый */
    --text-secondary: #94A3B8; /* Приглушенный серый */
    --border-color: #2D2D34;
    --error-color: #EF4444; /* Мягкий красный */
    --success-color: #10B981; /* Мягкий зеленый */
    --warning-color: #F59E0B; /* Мягкий оранжевый */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Общие стили */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Стилизация скроллбаров */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--bg-tertiary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-secondary);
}

/* Для Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--bg-tertiary) transparent;
}

/* Стили авторизации */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.logo-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.logo-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 5px;
}

/* Формы */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

input[type="text"],
input[type="password"],
select {
    width: 100%;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-family);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    border: none;
    font-family: var(--font-family);
    text-decoration: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #475569;
}

.btn-danger {
    background-color: var(--error-color);
    color: #ffffff;
}

.btn-danger:hover {
    background-color: #DC2626;
}

.btn-large {
    padding: 16px 20px;
    font-size: 16px;
}

/* Ошибки */
.error-message {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error-color);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 24px;
    text-align: center;
}

/* Мобильный интерфейс инженера */
.mobile-body {
    background-color: var(--bg-primary);
    padding-top: 70px; /* Отступ для фиксированной шапки */
    padding-bottom: 30px;
}

.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    z-index: 1000;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.user-id {
    font-size: 11px;
    color: var(--text-secondary);
}

.btn-logout {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-tertiary);
}

.mobile-content {
    padding: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.scanner-section, .manual-section {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

/* QR Сканер контейнер */
.qr-reader-container {
    width: 100%;
    max-width: 350px;
    margin: 0 auto 16px auto;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

#reader__scan_region video {
    border-radius: 10px;
    object-fit: cover;
}

.divider {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    margin: 20px 0;
    position: relative;
}

.divider::before, .divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: var(--border-color);
}

.divider::before { left: 0; }
.divider::after { right: 0; }

/* Автоподбор инвентарных номеров */
.search-container {
    position: relative;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-top: 6px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

.autocomplete-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    min-height: 48px; /* Touch target */
}

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

.autocomplete-item:hover {
    background-color: var(--bg-tertiary);
}

.autocomplete-no-results {
    padding: 16px;
    color: var(--text-secondary);
    text-align: center;
    font-size: 14px;
}

.item-info {
    display: flex;
    flex-direction: column;
}

.item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.item-inv {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Статусы-бейджи */
.status-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge-free {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
}

.status-badge-busy {
    background-color: rgba(14, 165, 233, 0.15);
    color: var(--accent-color);
}

.status-badge-damaged {
    background-color: rgba(239, 68, 68, 0.15);
    color: var(--error-color);
}

.status-badge-maintenance {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--warning-color);
}

/* Карточка СНО */
.equipment-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.eq-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.eq-type-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.eq-name-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.eq-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.eq-inv-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.card-hr {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin: 20px 0;
}

.eq-info-block {
    margin-bottom: 24px;
}

.info-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 4px;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Баннеры текущих владельцев СНО */
.current-holder-banner {
    padding: 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.info-holder-own {
    background-color: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--success-color);
    color: var(--text-primary);
}

.info-holder-other {
    background-color: rgba(14, 165, 233, 0.1);
    border-left: 4px solid var(--accent-color);
    color: var(--text-primary);
}

.info-holder-damaged {
    background-color: rgba(239, 68, 68, 0.1);
    border-left: 4px solid var(--error-color);
    color: var(--text-primary);
}

.holder-title {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.holder-detail {
    margin-top: 4px;
    font-size: 13px;
    color: var(--text-secondary);
}

.holder-detail strong {
    color: var(--text-primary);
}

/* Дашборд Склада */
.dashboard-body {
    background-color: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Ограничиваем высоту и скрываем скроллбары страницы только для дашборда на десктопах */
body:has(.dashboard-layout) {
    height: 100vh;
    overflow: hidden;
}

.dashboard-header {
    height: 60px;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    flex-shrink: 0;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.logo-area:hover {
    opacity: 0.85;
}

.logo-badge {
    background-color: var(--accent-color);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dashboard-user {
    font-size: 14px;
    color: var(--text-primary);
}

.dashboard-layout {
    display: flex;
    gap: 20px;
    padding: 20px;
    height: calc(100vh - 60px);
    overflow: hidden;
    flex: 1;
}

/* Специальные переопределения для элементов дашборда, чтобы они скроллились вертикально и вписывались в экран */
.dashboard-layout .db-table-section {
    height: 100%;
}

.dashboard-layout .table-wrapper {
    height: 0;
}

.dashboard-layout .db-log-aside {
    height: 100%;
}

.dashboard-layout .log-feed-container {
    height: 0;
}

/* Левая секция - Таблица СНО */
.db-table-section {
    flex: 1;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.db-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.db-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.db-status-summary {
    display: flex;
    gap: 16px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.summary-item strong {
    color: var(--text-primary);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-free { background-color: var(--success-color); }
.dot-busy { background-color: var(--accent-color); }

.table-wrapper {
    flex: 1;
    overflow: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    min-height: 0;
}

.db-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.db-table th {
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 16px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.db-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.db-table tbody tr:last-child td {
    border-bottom: none;
}

.db-table tbody tr:hover {
    background-color: rgba(51, 65, 85, 0.3);
}

.table-loading {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 0 !important;
}

/* Правая секция - Лента событий */
.db-log-aside {
    width: 380px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
    min-height: 0;
}

.db-log-aside .db-section-title {
    margin-bottom: 20px;
    flex-shrink: 0;
}

.log-feed-container {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 4px;
    min-height: 0;
}

.log-feed-empty {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 0;
    font-size: 14px;
}

/* Карточки в ленте событий */
.log-card-item {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: slideInRight 0.3s ease-out;
}

.log-card-checkout {
    border-left: 4px solid var(--accent-color);
}

.log-card-checkin {
    border-left: 4px solid var(--success-color);
}

.log-card-undo {
    border-left: 4px solid var(--error-color);
}

.log-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.log-action-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.log-card-checkout .log-action-title { color: var(--accent-color); }
.log-card-checkin .log-action-title { color: var(--success-color); }
.log-card-undo .log-action-title { color: var(--error-color); }

.log-time {
    font-size: 11px;
    color: var(--text-secondary);
}

.log-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.log-detail-row {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.log-detail-row strong {
    color: var(--text-primary);
}

/* Анимации */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rowFlash {
    0% {
        background-color: rgba(14, 165, 233, 0.25);
    }
    100% {
        background-color: transparent;
    }
}

.row-highlight td {
    animation: rowFlash 2.5s ease-out;
}

/* Адаптивность для экранов мобильных устройств и планшетов */
@media (max-width: 768px) {
    .dashboard-body {
        overflow: visible;
        height: auto;
    }

    /* Шапка дашборда на мобильных */
    .dashboard-header {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 16px;
        gap: 12px;
    }

    .logo-area {
        width: 100%;
        justify-content: space-between;
    }

    .dashboard-user {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        font-size: 13px;
    }

    .dashboard-header .btn-logout {
        margin-left: 0;
        padding: 6px 10px;
    }

    /* Расположение колонок */
    .dashboard-layout {
        flex-direction: column;
        height: auto;
        overflow: visible;
        padding: 12px;
        gap: 16px;
    }

    /* Секция таблицы СНО */
    .db-table-section {
        padding: 16px;
        height: auto;
        overflow: visible;
    }

    .db-section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 16px;
    }

    .db-controls-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px !important;
    }

    .db-status-summary {
        justify-content: space-between;
    }

    .db-admin-actions {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .db-admin-actions .dropdown-wrapper {
        width: 100%;
    }


    .db-admin-actions .btn {
        width: 100% !important;
        justify-content: center;
        padding: 10px 12px !important;
        font-size: 12px !important;
        height: 44px; /* Крупная зона для нажатия пальцем */
    }

    /* Горизонтальная прокрутка таблицы СНО на телефонах */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
    }

    .db-table th, .db-table td {
        padding: 10px 12px;
        font-size: 13px;
        white-space: nowrap; /* Предотвращает некрасивый перенос текста внутри ячеек */
    }

    /* Правая колонка с лентой событий */
    .db-log-aside {
        width: 100%;
        height: auto;
        padding: 16px;
        overflow: visible;
    }

    .log-feed-container {
        max-height: 350px; /* Ограничиваем высоту ленты на мобильном, чтобы она не растягивала страницу */
        overflow-y: auto;
    }
}

/* Стили для логотипа компании */
.company-logo {
    max-width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.header-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.header-logo-wrapper:hover {
    opacity: 0.85;
}

.header-logo {
    max-height: 30px;
    width: auto;
    object-fit: contain;
}

.dashboard-logo {
    max-height: 32px;
    width: auto;
    object-fit: contain;
    margin-right: 10px;
}

/* Сно в работе у инженера */
.my-equipment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.my-eq-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.my-eq-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-right: 16px;
}

/* Стили для модальных окон (редактирование СНО) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.65);
    display: none; /* Скрыто по умолчанию */
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    padding: 24px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
}

.modal-close-close:hover {
    color: var(--text-primary);
}

.modal-form .form-group {
    margin-bottom: 16px;
}

.modal-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.modal-form input[type="text"],
.modal-form input[type="date"],
.modal-form select {
    width: 100%;
    height: 44px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
}

.modal-form input:focus,
.modal-form select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

/* Адаптивный текст для кнопок на мобильных */
.mobile-text {
    display: none;
}

@media (max-width: 480px) {
    .desktop-text {
        display: none;
    }
    .mobile-text {
        display: inline;
    }
    .user-info .user-name {
        display: none;
    }
}

/* Настройка видимости колонок таблицы */
.dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-menu-custom {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    z-index: 1000;
    min-width: 260px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.dropdown-menu-custom.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-column-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    user-select: none;
    min-height: 44px; /* Touch target (Mobile First) */
}

.dropdown-item:hover {
    background-color: var(--bg-tertiary);
}

.dropdown-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-color);
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.dropdown-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Скрытие колонок таблицы */
.db-table.hide-col-inv_number .col-inv_number { display: none; }
.db-table.hide-col-name .col-name { display: none; }
.db-table.hide-col-type .col-type { display: none; }
.db-table.hide-col-serial_number .col-serial_number { display: none; }
.db-table.hide-col-batch_number .col-batch_number { display: none; }
.db-table.hide-col-status .col-status { display: none; }
.db-table.hide-col-location .col-location { display: none; }
.db-table.hide-col-current_user .col-current_user { display: none; }
.db-table.hide-col-current_aircraft .col-current_aircraft { display: none; }
.db-table.hide-col-last_inspection_date .col-last_inspection_date { display: none; }









