@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';
@import '_content/LiveChartsCore.SkiaSharpView.Blazor/LiveChartsCore.SkiaSharpView.Blazor.h6pgu9i50m.bundle.scp.css';

/* /Components/DynamicChart.razor.rz.scp.css */
/* ===== ОСНОВНЫЕ СТИЛИ КОМПОНЕНТА ===== */
.chart-container[b-juhfwi5yni] {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: .5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0 1rem;
    position: relative;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.chart-error[b-juhfwi5yni] {
    margin: 0;
    padding: 1.25rem;
    border-radius: .5rem;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffeaa7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    text-wrap: wrap;
    gap: .8rem;
}

    .chart-error i[b-juhfwi5yni] {
        color: #856404;
        font-size: 1.2em;
        flex-shrink: 0;
    }

    .chart-error .btn[b-juhfwi5yni] {
        flex-shrink: 0;
    }

.chart-no-data[b-juhfwi5yni] {
    margin: 0;
    padding: 1.8rem 1.25rem;
    border-radius: .5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    text-align: center;
    transition: all 0.3s ease;
}

    .chart-no-data:hover[b-juhfwi5yni] {
        border-color: #adb5bd;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .chart-no-data .fa-chart-line[b-juhfwi5yni] {
        opacity: 0.4;
        margin-bottom: 1.25rem;
        color: #6c757d;
    }

    .chart-no-data h5[b-juhfwi5yni] {
        margin-bottom: .8rem;
        font-weight: 600;
        color: #495057;
    }

    .chart-no-data p[b-juhfwi5yni] {
        margin-bottom: 1.25rem;
        line-height: 1.6;
        color: #6c757d;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .chart-no-data .btn[b-juhfwi5yni] {
        transition: all 0.3s ease;
    }

        .chart-no-data .btn:hover[b-juhfwi5yni] {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
        }

.chart-header[b-juhfwi5yni] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .4rem 0;
    border-bottom: 2px solid #f1f3f4;
    flex-wrap: wrap;
}

.header_title-desc[b-juhfwi5yni] {
    display: flex;
/*    flex-direction: row;*/
}

.chart-title[b-juhfwi5yni] {
    margin: 0;
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .chart-title small[b-juhfwi5yni] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .chart-title + small[b-juhfwi5yni] {
        display: block;
        margin-top: .25rem;
        font-size: 0.875em;
        color: #6c757d;
        font-weight: 400;
        white-space: normal;
    }

.chart-controls[b-juhfwi5yni] {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
}

    .chart-controls .btn[b-juhfwi5yni] {
        padding: .5rem .75rem;
        font-size: .9rem;
        border-radius: .35rem;
        display: flex;
        align-items: center;
        gap: .25rem;
        flex-shrink: 0;
    }

        .chart-controls .btn:hover:not(:disabled)[b-juhfwi5yni] {
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        .chart-controls .btn:disabled[b-juhfwi5yni] {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none !important;
        }

        .chart-controls .btn i.fa-spin[b-juhfwi5yni] {
            animation: spin-b-juhfwi5yni 1s linear infinite;
        }

/* ===== УЛУЧШЕННЫЕ СТИЛИ ДЛЯ ФИЛЬТРОВ ДАТА/ВРЕМЯ НА МОБИЛЬНЫХ ===== */
.chart-header-filters[b-juhfwi5yni] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.datetime-filter[b-juhfwi5yni] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .8rem;
    flex: 1;
    min-width: 0;
    overflow: visible;
    position: relative;
}

    /* Улучшенные стили для datetime-local inputs */
    .datetime-filter input[type="datetime-local"][b-juhfwi5yni] {
        padding: .4rem .6rem;
        border: 2px solid #dee2e6;
        border-radius: .375rem;
        font-size: .875rem;
        line-height: 1.4;
        background: #ffffff;
        color: #495057;
        transition: all 0.2s ease;
        min-width: 0;
        flex: 1;
        box-sizing: border-box;
        /* Убираем стрелки webkit для единообразного вида */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        /* Улучшаем читаемость на мобильных */
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

        .datetime-filter input[type="datetime-local"]:focus[b-juhfwi5yni] {
            outline: none;
            border-color: #007bff;
            box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
            background: #ffffff;
        }

        .datetime-filter input[type="datetime-local"]:invalid[b-juhfwi5yni] {
            border-color: #dc3545;
        }

            .datetime-filter input[type="datetime-local"]:invalid:focus[b-juhfwi5yni] {
                border-color: #dc3545;
                box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
            }

    /* Стиль для разделителя между датами */
    .datetime-filter > span[b-juhfwi5yni] {
        font-weight: 600;
        color: #6c757d;
        flex-shrink: 0;
        user-select: none;
    }

    /* Кнопка сброса интервала */
    .datetime-filter .btn[b-juhfwi5yni] {
        flex-shrink: 0;
        padding: .4rem .6rem;
        min-width: auto;
        width: auto;
        white-space: nowrap;
    }

.max-points-filter[b-juhfwi5yni] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.points-filter-select[b-juhfwi5yni] {
    padding: .25rem .5rem;
    border: 2px solid #dee2e6;
    border-radius: .375rem;
    background: #ffffff;
    font-size: .875rem;
    transition: all 0.2s ease;
}

    .points-filter-select:focus[b-juhfwi5yni] {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
    }

/* ===== ОСНОВНОЙ КОНТЕНТ ГРАФИКА ===== */
.chart-content[b-juhfwi5yni] {
    flex: 1;
    position: relative;
    background: #ffffff;
    border-radius: .4rem;
    margin-bottom: 1rem;
    overflow: hidden;
    height: 100%;
    contain: layout style;
}

.chart-footer[b-juhfwi5yni] {
    padding: .4rem 0;
    border-top: 1px solid #f1f3f4;
    flex-shrink: 0;
}

    .chart-footer small[b-juhfwi5yni] {
        color: #6c757d;
        font-size: 11px;
        font-weight: 500;
    }

/* ===== АНИМАЦИИ ===== */
@keyframes fadeIn-b-juhfwi5yni {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn-b-juhfwi5yni {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes spin-b-juhfwi5yni {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-b-juhfwi5yni {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.4;
        transform: scale(1);
    }
}

/* ===== ИНТЕРАКТИВНАЯ ЛЕГЕНДА ===== */
.custom-legend[b-juhfwi5yni] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
    margin-top: 1rem;
    background: #f8f9fa;
    border-radius: 0 0 .5rem .5rem;
}

.legend-item[b-juhfwi5yni] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
    background: #ffffff;
    user-select: none;
    min-width: 120px;
    justify-content: flex-start;
}

    .legend-item:hover[b-juhfwi5yni] {
        background: #e9ecef;
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .legend-item.visible[b-juhfwi5yni] {
        border-color: transparent;
        opacity: 1;
    }

    .legend-item.hidden[b-juhfwi5yni] {
        border-color: #dee2e6;
        background: #f1f3f4;
        opacity: 0.6;
    }

        .legend-item.hidden:hover[b-juhfwi5yni] {
            background: #e9ecef;
            opacity: 0.8;
        }

.legend-color-indicator[b-juhfwi5yni] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
}

.legend-item.hidden .legend-color-indicator[b-juhfwi5yni] {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-color: #dee2e6;
    transform: scale(0.8);
}

.legend-text[b-juhfwi5yni] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
    flex: 1;
    text-align: left;
    transition: color 0.2s ease-in-out;
}

.legend-item.hidden .legend-text[b-juhfwi5yni] {
    color: #6c757d;
    text-decoration: line-through;
}

.legend-visibility-icon[b-juhfwi5yni] {
    font-size: 0.875rem;
    color: #6c757d;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
}

.legend-item.visible .legend-visibility-icon[b-juhfwi5yni] {
    color: #28a745;
}

.legend-item.hidden .legend-visibility-icon[b-juhfwi5yni] {
    color: #dc3545;
}

.legend-item:hover .legend-visibility-icon[b-juhfwi5yni] {
    transform: scale(1.1);
}

/* ===== УЛУЧШЕННЫЕ СТИЛИ ПОЛНОЭКРАННОГО РЕЖИМА ===== */
.chart-container.fullscreen-active[b-juhfwi5yni] {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 1rem !important;
    z-index: 9999;
    background: #ffffff;
    border-radius: 0 !important;
    box-shadow: none !important;
    /* ВАЖНО: добавляем возможность скролла для мобильных */
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
    /* Убираем всякие артефакты при скролле */
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

    /* Основной контейнер для содержимого в полноэкранном режиме */
    .chart-container.fullscreen-active > *[b-juhfwi5yni] {
        flex-shrink: 0; /* предотвращаем сжатие элементов */
    }

    .chart-container.fullscreen-active .chart-header[b-juhfwi5yni] {
        flex-shrink: 0;
        margin-bottom: 0;
        border-bottom: 3px solid #e9ecef;
        min-height: auto;
        /* Позволяем заголовку быть гибким по высоте */
        flex-wrap: wrap;
    }

    .chart-container.fullscreen-active .reset-fullscreen-active[b-juhfwi5yni] {
        padding: .6rem;
    }

/* Улучшенные стили для контента графика в полноэкранном режиме */
.chart-content.fullscreen-content[b-juhfwi5yni] {
    flex: 1;
    height: auto !important;
    min-height: 300px; /* минимальная высота для графика */
    max-height: none;
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    background: #fafafa;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 1rem;
    /* Позволяем контенту графика иметь свой скролл при необходимости */
    overflow: visible;
}

    .chart-content.fullscreen-content > :first-child[b-juhfwi5yni] {
        flex: 1;
        width: 100%;
        height: 100% !important;
        min-height: inherit;
    }

/* Улучшенные стили для легенды в полноэкранном режиме */
.custom-legend.fullscreen-legend[b-juhfwi5yni] {
    flex-shrink: 0;
    margin-top: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Добавляем максимальную высоту и скролл для легенды при необходимости */
    max-height: 200px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.fullscreen-legend .legend-item[b-juhfwi5yni] {
    min-width: 160px;
    font-size: 1rem;
    border-radius: 0.5rem;
}

.fullscreen-legend .legend-color-indicator[b-juhfwi5yni] {
    width: 24px;
    height: 24px;
    border-width: 3px;
}

.fullscreen-legend .legend-visibility-icon[b-juhfwi5yni] {
    font-size: 1.125rem;
}

.chart-footer.fullscreen-footer[b-juhfwi5yni] {
    flex-shrink: 0;
    padding: 1rem 0;
    margin-top: 0;
    border-top: 2px solid #dee2e6;
}

    .chart-footer.fullscreen-footer small[b-juhfwi5yni] {
        font-size: 0.875rem;
        font-weight: 600;
        color: #495057;
    }

/* ===== АДАПТИВНЫЕ СТИЛИ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ ===== */

/* Стили для маленьких мобильных устройств */
@media (max-width: 480px) {
    .chart-container[b-juhfwi5yni] {
        padding: 8px;
        border-radius: 6px;
    }

    .chart-title[b-juhfwi5yni] {
        font-size: 16px;
    }

    .chart-controls .btn[b-juhfwi5yni] {
        padding: 6px 10px;
        font-size: 11px;
    }

    .chart-loading .spinner-border[b-juhfwi5yni] {
        width: 2.5rem;
        height: 2.5rem;
    }

    .chart-no-data p[b-juhfwi5yni] {
        font-size: 14px;
    }

    /* КРИТИЧЕСКИ ВАЖНО: datetime inputs на маленьких экранах */
    .datetime-filter input[type="datetime-local"][b-juhfwi5yni] {
        font-size: 16px; /* ОБЯЗАТЕЛЬНО для предотвращения зума на мобильных */
        padding: .75rem;
        min-height: 48px; /* увеличиваем для лучшего touch experience */
        border-width: 2px;
        border-radius: .5rem;
        background-color: #ffffff;
        /* Улучшаем видимость на мобильных */
        -webkit-appearance: none;
        appearance: none;
    }

    /* Увеличиваем размер кнопки сброса для лучшего touch experience */
    .datetime-filter .btn[b-juhfwi5yni] {
        min-height: 48px;
        min-width: 48px;
        padding: .75rem;
        border-radius: .5rem;
    }

    /* Полноэкранный режим на маленьких экранах - ГЛАВНОЕ ИЗМЕНЕНИЕ */
    .chart-container.fullscreen-active[b-juhfwi5yni] {
        padding: 0.5rem;
        /* ВАЖНО: обеспечиваем полный скролл на маленьких экранах */
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        /* Фиксируем высоту viewport */
        height: 100vh;
        height: 100dvh; /* используем dvh где поддерживается для лучшей совместимости с mobile browsers */
        /* Flexbox для естественного размещения элементов */
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

        .chart-container.fullscreen-active .chart-title[b-juhfwi5yni] {
            font-size: 1.25rem;
        }

    /* КРИТИЧЕСКОЕ ИЗМЕНЕНИЕ: для маленьких экранов делаем график еще компактнее */
    .chart-content.fullscreen-content[b-juhfwi5yni] {
        /* Уменьшаем высоту графика для маленьких экранов в портретном режиме */
        height: 250px;
        min-height: 250px;
        max-height: 250px;
        padding: 0.5rem;
        margin-bottom: 0.75rem;
        /* Убираем ограничения, позволяем контенту расти естественно */
        flex: 0 0 auto;
        overflow: visible;
    }

    /* ВАЖНО: легенда БЕЗ ограничений высоты */
    .custom-legend.fullscreen-legend[b-juhfwi5yni] {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        /* Полностью убираем ограничения высоты */
        max-height: none !important;
        overflow: visible !important;
        /* Легенда растет естественно */
        flex-shrink: 0;
        /* В колонку для маленьких экранов */
        flex-direction: column;
        align-items: stretch;
    }

    .fullscreen-legend .legend-item[b-juhfwi5yni] {
        padding: 0.5rem 0.75rem;
        min-height: 44px;
        min-width: unset;
        width: 100%;
    }

    .fullscreen-legend .legend-color-indicator[b-juhfwi5yni] {
        width: 18px;
        height: 18px;
    }

    /* Специальные улучшения для datetime inputs в полноэкранном режиме */
    .chart-container.fullscreen-active .datetime-filter input[type="datetime-local"][b-juhfwi5yni] {
        font-size: 16px;
        padding: .75rem 1rem;
        min-height: 50px;
        border-radius: .5rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        background: #ffffff;
    }

    .chart-container.fullscreen-active .datetime-filter .btn[b-juhfwi5yni] {
        min-height: 50px;
        min-width: 50px;
        border-radius: .5rem;
    }
}

/* Стили для больших мобильных устройств и планшетов */
@media (max-width: 768px) {
    .chart-container[b-juhfwi5yni] {
        padding: 12px;
        margin-bottom: 16px;
        margin-left: 0;
        margin-right: 0;
    }

    .chart-header[b-juhfwi5yni] {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .chart-title[b-juhfwi5yni] {
        font-size: 18px;
        text-align: left;
        white-space: normal;
    }

    .chart-controls[b-juhfwi5yni] {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    /* КЛЮЧЕВОЕ УЛУЧШЕНИЕ: фильтры даты на мобильных */
    .chart-header-filters[b-juhfwi5yni] {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .datetime-filter[b-juhfwi5yni] {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

        .datetime-filter input[type="datetime-local"][b-juhfwi5yni] {
            font-size: 16px; /* предотвращает зум на iOS */
            padding: .6rem .8rem;
            min-height: 44px; /* соответствует рекомендациям Apple для touch targets */
            width: 100%;
            box-sizing: border-box;
        }

        /* Заменяем дефис на более понятную подпись */
        .datetime-filter > span[b-juhfwi5yni] {
            text-align: center;
            font-size: .875rem;
            color: #495057;
            font-weight: 600;
            padding: .25rem 0;
        }

            .datetime-filter > span[b-juhfwi5yni]::before {
                content: "до";
                display: block;
            }

            .datetime-filter > span[b-juhfwi5yni]::after {
                content: "-";
                display: none;
            }

    .chart-loading[b-juhfwi5yni] {
        padding: 40px 16px;
    }

    .chart-no-data[b-juhfwi5yni] {
        padding: 24px 16px;
    }

        .chart-no-data .fa-chart-line[b-juhfwi5yni] {
            font-size: 2.5rem !important;
        }

    .chart-error[b-juhfwi5yni] {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .chart-content[b-juhfwi5yni] {
        min-height: 200px;
    }

    /* Полноэкранный режим на планшетах - используем natural sizing подход */
    .chart-container.fullscreen-active[b-juhfwi5yni] {
        padding: 1rem;
    }

        .chart-container.fullscreen-active .chart-title[b-juhfwi5yni] {
            font-size: 1.5rem;
        }

    /* ВАЖНОЕ ИЗМЕНЕНИЕ: уменьшаем высоту графика для портретной ориентации планшетов */
    .chart-content.fullscreen-content[b-juhfwi5yni] {
        height: 320px; /* Меньше чем на desktop, но больше чем в landscape мобильных */
        min-height: 320px;
        max-height: 320px;
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    /* Легенда без ограничений - растет естественно */
    .custom-legend.fullscreen-legend[b-juhfwi5yni] {
        padding: 1rem;
        /* В портретной ориентации легенда может быть в колонку */
        flex-direction: column;
        align-items: stretch;
        /* Убираем все ограничения высоты */
        max-height: none !important;
        overflow: visible !important;
    }

    .fullscreen-legend .legend-item[b-juhfwi5yni] {
        min-width: unset;
        width: 100%;
        padding: 0.75rem 1rem;
    }

    /* Улучшения для фильтров в полноэкранном режиме на планшетах */
    .chart-container.fullscreen-active .chart-header-filters[b-juhfwi5yni] {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .chart-container.fullscreen-active .datetime-filter[b-juhfwi5yni] {
        flex-direction: row;
        gap: .5rem;
        min-width: 0;
        flex: 1;
    }

        .chart-container.fullscreen-active .datetime-filter input[type="datetime-local"][b-juhfwi5yni] {
            font-size: 1rem;
            min-height: 40px;
        }

        .chart-container.fullscreen-active .datetime-filter > span[b-juhfwi5yni]::before {
            content: "";
            display: none;
        }

        .chart-container.fullscreen-active .datetime-filter > span[b-juhfwi5yni]::after {
            content: "-";
            display: inline;
        }
}

/* Стили для маленьких мобильных устройств */
@media (max-width: 480px) {
    .chart-container[b-juhfwi5yni] {
        padding: 8px;
        border-radius: 6px;
    }

    .chart-title[b-juhfwi5yni] {
        font-size: 16px;
    }

    .chart-controls .btn[b-juhfwi5yni] {
        padding: 6px 10px;
        font-size: 11px;
    }

    .chart-loading .spinner-border[b-juhfwi5yni] {
        width: 2.5rem;
        height: 2.5rem;
    }

    .chart-no-data p[b-juhfwi5yni] {
        font-size: 14px;
    }

    /* КРИТИЧЕСКИ ВАЖНО: datetime inputs на маленьких экранах */
    .datetime-filter input[type="datetime-local"][b-juhfwi5yni] {
        font-size: 16px; /* ОБЯЗАТЕЛЬНО для предотвращения зума на мобильных */
        padding: .75rem;
        min-height: 48px; /* увеличиваем для лучшего touch experience */
        border-width: 2px;
        border-radius: .5rem;
        background-color: #ffffff;
        /* Улучшаем видимость на мобильных */
        -webkit-appearance: none;
        appearance: none;
    }

    /* Увеличиваем размер кнопки сброса для лучшего touch experience */
    .datetime-filter .btn[b-juhfwi5yni] {
        min-height: 48px;
        min-width: 48px;
        padding: .75rem;
        border-radius: .5rem;
    }

    /* Полноэкранный режим на маленьких экранах */
    .chart-container.fullscreen-active[b-juhfwi5yni] {
        padding: 0.5rem;
        /* ВАЖНО: обеспечиваем полный скролл на маленьких экранах */
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        /* Фиксируем высоту viewport */
        height: 100vh;
        height: 100dvh; /* используем dvh где поддерживается для лучшей совместимости с mobile browsers */
    }

        .chart-container.fullscreen-active .chart-title[b-juhfwi5yni] {
            font-size: 1.25rem;
        }

    .chart-content.fullscreen-content[b-juhfwi5yni] {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
        min-height: 200px;
        /* Убираем ограничение высоты, позволяем контенту расти */
        max-height: none;
    }

    .custom-legend.fullscreen-legend[b-juhfwi5yni] {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        max-height: 120px;
    }

    .fullscreen-legend .legend-item[b-juhfwi5yni] {
        padding: 0.5rem 0.75rem;
        min-height: 44px;
    }

    .fullscreen-legend .legend-color-indicator[b-juhfwi5yni] {
        width: 18px;
        height: 18px;
    }

    /* Специальные улучшения для datetime inputs в полноэкранном режиме */
    .chart-container.fullscreen-active .datetime-filter input[type="datetime-local"][b-juhfwi5yni] {
        font-size: 16px;
        padding: .75rem 1rem;
        min-height: 50px;
        border-radius: .5rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        background: #ffffff;
    }

    .chart-container.fullscreen-active .datetime-filter .btn[b-juhfwi5yni] {
        min-height: 50px;
        min-width: 50px;
        border-radius: .5rem;
    }
}

/* Стили для средних экранов (между маленькими мобильными и планшетами) */
@media (min-width: 481px) and (max-width: 919px) {
    .chart-container[b-juhfwi5yni] {
        padding: clamp(8px, 2vw, 16px);
    }

    .chart-title[b-juhfwi5yni] {
        font-size: clamp(16px, 4vw, 20px);
    }

    .chart-content[b-juhfwi5yni] {
        min-height: clamp(180px, 30vw, 250px);
    }

    .datetime-filter input[type="datetime-local"][b-juhfwi5yni] {
        font-size: 16px;
        padding: .6rem .8rem;
        min-height: 44px;
    }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ACCESSIBILITY ===== */
.chart-container:focus-within[b-juhfwi5yni] {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.chart-container[aria-busy="true"][b-juhfwi5yni] {
    pointer-events: none;
}

.btn:focus[b-juhfwi5yni] {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    outline: none;
}

.legend-item:focus[b-juhfwi5yni] {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.legend-item[aria-pressed="true"][b-juhfwi5yni] {
    background: #e7f3ff;
}

.legend-item[aria-pressed="false"][b-juhfwi5yni] {
    background: #f8f9fa;
}

/* ===== СПЕЦИАЛЬНЫЕ СТИЛИ ДЛЯ LANDSCAPE ОРИЕНТАЦИИ НА МОБИЛЬНЫХ ===== */
@media (max-width: 768px) and (orientation: landscape) {
    /* ГЛАВНОЕ ИЗМЕНЕНИЕ: при горизонтальной ориентации весь контейнер становится скроллируемым */
    .chart-container.fullscreen-active[b-juhfwi5yni] {
        /* Контейнер занимает всю высоту и становится скроллируемым */
        overflow-y: auto;
        overflow-x: hidden;
        height: 100vh;
        min-height: 100vh;
        padding: 0.75rem;
        /* Оптимизация скролла для мобильных */
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        /* Flexbox настройка: элементы располагаются вертикально */
        display: flex;
        flex-direction: column;
        /* Позволяем контенту расти естественно */
        min-height: 0; /* Важно для правильной работы flex */
    }

        /* Заголовок компактный, но не сжимается */
        .chart-container.fullscreen-active .chart-header[b-juhfwi5yni] {
            flex-shrink: 0; /* Заголовок не сжимается */
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
            gap: 0.75rem;
        }

        .chart-container.fullscreen-active .chart-title[b-juhfwi5yni] {
            font-size: 1.1rem;
            line-height: 1.2;
        }

        /* Фильтры компактно в одну строку */
        .chart-container.fullscreen-active .chart-header-filters[b-juhfwi5yni] {
            flex-direction: row;
            flex-wrap: nowrap;
            gap: 0.5rem;
            overflow-x: auto;
            padding: 0.25rem 0;
            flex-shrink: 0;
        }

        .chart-container.fullscreen-active .datetime-filter[b-juhfwi5yni] {
            flex-direction: row;
            gap: 0.5rem;
            min-width: 0;
            flex-shrink: 0;
        }

            .chart-container.fullscreen-active .datetime-filter input[type="datetime-local"][b-juhfwi5yni] {
                font-size: 14px;
                padding: 0.4rem 0.6rem;
                min-height: 36px;
                min-width: 150px;
            }

            .chart-container.fullscreen-active .datetime-filter .btn[b-juhfwi5yni] {
                min-height: 36px;
                min-width: 36px;
                padding: 0.4rem;
            }

            .chart-container.fullscreen-active .datetime-filter > span[b-juhfwi5yni]::before {
                content: "";
                display: none;
            }

            .chart-container.fullscreen-active .datetime-filter > span[b-juhfwi5yni]::after {
                content: "-";
                display: inline;
                font-size: 14px;
            }

    /* КЛЮЧЕВОЕ ИЗМЕНЕНИЕ: контент графика занимает нужное место, но не ограничивается */
    .chart-content.fullscreen-content[b-juhfwi5yni] {
        /* Убираем flex: 1, позволяем естественный размер */
        flex: 0 0 auto;
        margin-bottom: 0.75rem;
        padding: 0.75rem;
        /* Устанавливаем конкретную высоту для графика в landscape */
        height: 280px; /* Фиксированная высота для landscape режима */
        min-height: 280px;
        max-height: 280px;
        /* Убираем внутренний скролл */
        overflow: visible;
    }

    /* КРИТИЧЕСКОЕ ИЗМЕНЕНИЕ: легенда БЕЗ ограничения высоты и своего скролла */
    .custom-legend.fullscreen-legend[b-juhfwi5yni] {
        /* Убираем все ограничения по высоте */
        max-height: none !important;
        overflow: visible !important;
        /* Легенда располагается естественно */
        flex-shrink: 0;
        margin-top: 0;
        padding: 0.75rem;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border: 2px solid #dee2e6;
        border-radius: 0.75rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        /* В landscape располагаем элементы в несколько рядов если нужно */
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-start;
    }

    .fullscreen-legend .legend-item[b-juhfwi5yni] {
        min-width: 120px;
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .fullscreen-legend .legend-color-indicator[b-juhfwi5yni] {
        width: 16px;
        height: 16px;
    }

    /* Футер тоже не сжимается */
    .chart-footer.fullscreen-footer[b-juhfwi5yni] {
        flex-shrink: 0;
        padding: 0.5rem 0;
    }
}

/* ===== УЛУЧШЕНИЯ ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНОВ (менее 375px) ===== */
@media (max-width: 374px) {
    .datetime-filter input[type="datetime-local"][b-juhfwi5yni] {
        font-size: 16px; /* Критически важно для предотвращения зума */
        padding: 0.8rem;
        min-height: 50px;
        border-radius: 0.5rem;
        /* Полная ширина на очень маленьких экранах */
        width: 100%;
        box-sizing: border-box;
    }

    .chart-container.fullscreen-active .datetime-filter[b-juhfwi5yni] {
        flex-direction: column;
        gap: 0.75rem;
    }

        .chart-container.fullscreen-active .datetime-filter input[type="datetime-local"][b-juhfwi5yni] {
            min-width: unset;
            width: 100%;
        }

    /* Еще более компактный график для очень маленьких экранов */
    .chart-content.fullscreen-content[b-juhfwi5yni] {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }
}

/* ===== УЛУЧШЕНИЯ ДЛЯ НИЗКИХ ЭКРАНОВ В LANDSCAPE (например, старые смартфоны) ===== */
@media (max-height: 500px) and (orientation: landscape) {
    /* На низких landscape экранах делаем все еще более компактным */
    .chart-container.fullscreen-active[b-juhfwi5yni] {
        padding: 0.5rem;
    }

        .chart-container.fullscreen-active .chart-header[b-juhfwi5yni] {
            padding: 0.25rem 0;
            margin-bottom: 0.25rem;
        }

        .chart-container.fullscreen-active .chart-title[b-juhfwi5yni] {
            font-size: 1rem;
        }

    /* ВАЖНО: еще более компактный график для низких landscape экранов */
    .chart-content.fullscreen-content[b-juhfwi5yni] {
        /*        height: 180px;*/
        min-height: 35rem;
        /*        max-height: 180px;*/
        margin-bottom: 0.5rem;
        padding: 0.5rem;
    }

    /* Легенда остается без ограничений, но с меньшими отступами */
    .custom-legend.fullscreen-legend[b-juhfwi5yni] {
        padding: 0.5rem;
        margin-bottom: 0.25rem;
        gap: 0.5rem;
    }

    .fullscreen-legend .legend-item[b-juhfwi5yni] {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }

    .chart-footer.fullscreen-footer[b-juhfwi5yni] {
        padding: 0.25rem 0;
    }

        .chart-footer.fullscreen-footer small[b-juhfwi5yni] {
            font-size: 0.75rem;
        }
}

/* ===== КАСТОМНЫЕ СКРОЛЛБАРЫ ДЛЯ УЛУЧШЕНИЯ UX ===== */
/* WebKit браузеры (Chrome, Safari, Edge) */
.chart-container.fullscreen-active[b-juhfwi5yni]::-webkit-scrollbar {
    width: 8px;
}

.chart-container.fullscreen-active[b-juhfwi5yni]::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.chart-container.fullscreen-active[b-juhfwi5yni]::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}

    .chart-container.fullscreen-active[b-juhfwi5yni]::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.5);
    }

/* УДАЛЕНО: убираем кастомные скроллбары для легенды, так как у неё больше нет своего скролла */

/* ===== ПЕРЕХОДЫ И АНИМАЦИИ ===== */
.chart-container[b-juhfwi5yni] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-content[b-juhfwi5yni] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-legend[b-juhfwi5yni] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-footer[b-juhfwi5yni] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Анимация для изменения состояния легенды */
@keyframes legendStateChange-b-juhfwi5yni {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.legend-item.state-changed[b-juhfwi5yni] {
    animation: legendStateChange-b-juhfwi5yni 0.3s ease-in-out;
}

/* ===== ОТКЛЮЧЕНИЕ АНИМАЦИЙ ДЛЯ ПОЛЬЗОВАТЕЛЕЙ С ОГРАНИЧЕННОЙ ПОДВИЖНОСТЬЮ ===== */
@media (prefers-reduced-motion: reduce) {
    .chart-container[b-juhfwi5yni],
    .chart-content[b-juhfwi5yni],
    .custom-legend[b-juhfwi5yni],
    .chart-footer[b-juhfwi5yni],
    .legend-item[b-juhfwi5yni],
    .datetime-filter input[type="datetime-local"][b-juhfwi5yni],
    .btn[b-juhfwi5yni] {
        transition: none !important;
        animation: none !important;
    }
}

/* ===== ИСПРАВЛЕНИЯ ДЛЯ СПЕЦИФИЧНЫХ БРАУЗЕРОВ ===== */

/* Firefox специфичные исправления */
@-moz-document url-prefix() {
    .datetime-filter input[type="datetime-local"][b-juhfwi5yni] {
        /* Firefox иногда имеет проблемы с padding в datetime-local */
        line-height: normal;
    }
}

/* Safari специфичные исправления */
@supports (-webkit-appearance: none) {
    .datetime-filter input[type="datetime-local"][b-juhfwi5yni] {
        /* Safari может показывать нативные контролы, принуждаем их скрыть */
        -webkit-appearance: none;
        -webkit-text-fill-color: currentColor;
    }
    /*.chart-container.fullscreen-active {*/
    /* Safari может иметь проблемы с 100vh на мобильных */
    /*height: -webkit-fill-available;
    }*/
}

/* Edge Legacy исправления */
@supports (-ms-ime-align: auto) {
    .datetime-filter input[type="datetime-local"][b-juhfwi5yni] {
        /* Edge Legacy может иметь проблемы с flex в datetime inputs */
        width: auto;
        min-width: 200px;
    }
}

/* ===== ФИНАЛЬНЫЕ ОПТИМИЗАЦИИ ПРОИЗВОДИТЕЛЬНОСТИ ===== */

/* Оптимизация рендеринга для больших графиков */
.chart-content[b-juhfwi5yni],
.chart-content > *[b-juhfwi5yni] {
    contain: layout style paint;
    will-change: auto;
}

/* Оптимизация для полноэкранного режима */
.chart-container.fullscreen-active[b-juhfwi5yni] {
    contain: layout style;
    will-change: transform;
}

/* Принудительное включение аппаратного ускорения для анимаций */
.chart-container[b-juhfwi5yni],
.chart-content[b-juhfwi5yni],
.legend-item[b-juhfwi5yni] {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /*    -webkit-perspective: 1000;
    perspective: 1000;*/
}

    /* ===== ДОПОЛНИТЕЛЬНЫЕ УТИЛИТЫ ДЛЯ ОТЛАДКИ ===== */
    /*
.debug-scroll-container {
    outline: 2px solid red !important;
}

.debug-scroll-container::before {
    content: "SCROLL CONTAINER: " attr(class);
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    font-size: 10px;
    z-index: 10000;
    white-space: nowrap;
}
*/

    /* ===== ОБЕСПЕЧЕНИЕ ДОСТУПНОСТИ ===== */

    /* Дополнительные улучшения для accessibility в полноэкранном режиме */
    .chart-container.fullscreen-active:focus-within[b-juhfwi5yni] {
        outline: 3px solid #007bff;
        outline-offset: -3px;
    }

    /* Убеждаемся, что скролл работает с клавиатурной навигацией */
    .chart-container.fullscreen-active[b-juhfwi5yni] {
        scroll-behavior: smooth;
    }

/* Улучшения для пользователей с ограниченным зрением */
@media (prefers-contrast: high) {
    .chart-container.fullscreen-active[b-juhfwi5yni] {
        border: 2px solid #000000;
    }

    .chart-content.fullscreen-content[b-juhfwi5yni] {
        border: 2px solid #000000;
    }

    .custom-legend.fullscreen-legend[b-juhfwi5yni] {
        border: 2px solid #000000;
    }
}
/* /Components/MachinesPages.razor.rz.scp.css */
body[b-4t859ml41w] {
}

.machines-page[b-4t859ml41w] {
    display: grid;
    gap: 2.5rem;
    padding: 2rem 0;
    /*    max-width: 80dvw;*/
}

.machines-content[b-4t859ml41w] {
    display: grid;
    gap: 1rem;
}

.manage-panel-btn[b-4t859ml41w] {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: #f8f9fa;
    box-sizing: border-box;
    border-bottom: 2px solid var(--base-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border-radius: .3em;
}

    .manage-panel-btn button[b-4t859ml41w] {
        color: white;
        padding: .5rem;
        background-color: #6088d6;
        border: none;
        border-radius: .3rem;
        flex-grow: 1;
        max-width: 7rem;
    }

        .manage-panel-btn button:hover[b-4t859ml41w] {
            background-color: #4171d2;
        }

        .manage-panel-btn button:active[b-4t859ml41w] {
            background-color: #2452af;
        }

.machines-table-container[b-4t859ml41w] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    border-radius: .3em;
}

.machines-each-table[b-4t859ml41w] {
    display: grid;
    gap: .4rem;
    max-width: clamp(20rem, 35% - 3rem, 40rem);
    overflow-x: auto;
}

    .machines-each-table hr[b-4t859ml41w] {
        color: black;
    }

    .machines-each-table table[b-4t859ml41w] {
        caption-side: top;
        border: none;
        border-collapse: collapse;
    }

        .machines-each-table table th[b-4t859ml41w],
        .machines-each-table table td[b-4t859ml41w],
        .machines-each-table table caption[b-4t859ml41w] {
            padding: .7rem;
        }

        .machines-each-table table tr:nth-child(even)[b-4t859ml41w] {
            background-color: #f2f2f2;
        }

        .machines-each-table table th:nth-child(even)[b-4t859ml41w], td:nth-child(even)[b-4t859ml41w] {
            text-align: center;
        }

        .machines-each-table table th:nth-child(odd)[b-4t859ml41w],
        .machines-each-table table caption[b-4t859ml41w] {
            text-align: left;
        }
/* /Components/OrientationNotification.razor.rz.scp.css */
/* ===== ОСНОВНЫЕ СТИЛИ КОМПОНЕНТА УВЕДОМЛЕНИЯ ===== */
.orientation-notification[b-2wurdv8qnt] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    /* Красивый градиентный фон */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    /* Subtle shadow для глубины */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    /* Анимация появления/скрытия */
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    /* Обеспечиваем, что элемент не мешает взаимодействию когда скрыт */
    pointer-events: none;
    /* Защита от переполнения */
    overflow: hidden;
}

/* Состояние видимости */
.orientation-notification-visible[b-2wurdv8qnt] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.orientation-notification-hidden[b-2wurdv8qnt] {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* ===== КОНТЕНТНАЯ ОБЛАСТЬ ===== */
.orientation-notification-content[b-2wurdv8qnt] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    /* Ограничиваем ширину для больших экранов */
    max-width: 1200px;
}

/* ===== ИКОНКА ===== */
.orientation-notification-icon[b-2wurdv8qnt] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    /* Контейнер для SVG иконок */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .orientation-notification-icon svg[b-2wurdv8qnt] {
        width: 100%;
        height: 100%;
        color: white;
        /* Анимация для иконки поворота */
        transition: transform 0.3s ease;
    }

/* Анимация вращения для иконки */
.rotate-icon[b-2wurdv8qnt] {
    animation: rotate-pulse-b-2wurdv8qnt 2s ease-in-out infinite;
}

@keyframes rotate-pulse-b-2wurdv8qnt {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(15deg) scale(1.1);
    }
}

/* Анимация покачивания для иконки телефона */
.phone-rotate-icon[b-2wurdv8qnt] {
    animation: phone-wobble-b-2wurdv8qnt 2s ease-in-out infinite;
}

@keyframes phone-wobble-b-2wurdv8qnt {
    0%, 100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }
}

/* ===== ТЕКСТОВАЯ ОБЛАСТЬ ===== */
.orientation-notification-text[b-2wurdv8qnt] {
    flex: 1;
    min-width: 0; /* Важно для правильного переноса текста */
}

.orientation-notification-title[b-2wurdv8qnt] {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
    /* Защита от переполнения */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.orientation-notification-message[b-2wurdv8qnt] {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0.25rem 0 0 0;
    /* Защита от переполнения */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===== КНОПКА ЗАКРЫТИЯ ===== */
.orientation-notification-dismiss[b-2wurdv8qnt] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .orientation-notification-dismiss:hover[b-2wurdv8qnt] {
        background: rgba(255, 255, 255, 0.15);
        transform: scale(1.1);
    }

    .orientation-notification-dismiss:active[b-2wurdv8qnt] {
        background: rgba(255, 255, 255, 0.25);
        transform: scale(0.95);
    }

    .orientation-notification-dismiss svg[b-2wurdv8qnt] {
        width: 18px;
        height: 18px;
        color: white;
        stroke-width: 2.5px;
    }

/* ===== ВАРИАНТЫ ЦВЕТОВЫХ СХЕМ ===== */

/* Информационная схема (по умолчанию) */
.orientation-notification[b-2wurdv8qnt] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

    /* Успех */
    .orientation-notification.success[b-2wurdv8qnt] {
        background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    }

    /* Предупреждение */
    .orientation-notification.warning[b-2wurdv8qnt] {
        background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    }

    /* Темная схема */
    .orientation-notification.dark[b-2wurdv8qnt] {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    }

    /* Минималистичная схема */
    .orientation-notification.minimal[b-2wurdv8qnt] {
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

/* ===== АДАПТИВНОСТЬ ДЛЯ РАЗЛИЧНЫХ ЭКРАНОВ ===== */

/* Планшеты в портретном режиме */
@media (max-width: 768px) and (orientation: portrait) {
    .orientation-notification-content[b-2wurdv8qnt] {
        padding: 1rem;
        gap: 0.75rem;
    }

    .orientation-notification-icon[b-2wurdv8qnt] {
        width: 28px;
        height: 28px;
    }

    .orientation-notification-title[b-2wurdv8qnt] {
        font-size: 0.95rem;
    }

    .orientation-notification-message[b-2wurdv8qnt] {
        font-size: 0.825rem;
    }
}

/* Маленькие мобильные устройства */
@media (max-width: 480px) and (orientation: portrait) {
    .orientation-notification-content[b-2wurdv8qnt] {
        padding: 0.875rem;
        gap: 0.625rem;
    }

    .orientation-notification-icon[b-2wurdv8qnt] {
        width: 24px;
        height: 24px;
    }

    .orientation-notification-title[b-2wurdv8qnt] {
        font-size: 0.9rem;
    }

    .orientation-notification-message[b-2wurdv8qnt] {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .orientation-notification-dismiss[b-2wurdv8qnt] {
        width: 28px;
        height: 28px;
    }

        .orientation-notification-dismiss svg[b-2wurdv8qnt] {
            width: 16px;
            height: 16px;
        }
}

/* Очень маленькие экраны */
@media (max-width: 360px) and (orientation: portrait) {
    .orientation-notification-content[b-2wurdv8qnt] {
        padding: 0.75rem 0.875rem;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }

    .orientation-notification-title[b-2wurdv8qnt] {
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .orientation-notification-message[b-2wurdv8qnt] {
        font-size: 0.75rem;
        line-height: 1.25;
        margin-top: 0.125rem;
    }
}

/* ===== СПЕЦИАЛЬНЫЕ СТИЛИ ДЛЯ ВЫСОКИХ ЭКРАНОВ ===== */
@media (min-height: 800px) and (orientation: portrait) {
    .orientation-notification[b-2wurdv8qnt] {
        /* На высоких экранах можем позволить себе больше места */
        padding: 0.25rem 0;
    }

    .orientation-notification-content[b-2wurdv8qnt] {
        padding: 1.25rem 1.5rem;
    }

    .orientation-notification-icon[b-2wurdv8qnt] {
        width: 36px;
        height: 36px;
    }

    .orientation-notification-title[b-2wurdv8qnt] {
        font-size: 1.1rem;
    }

    .orientation-notification-message[b-2wurdv8qnt] {
        font-size: 0.925rem;
    }
}

/* ===== УЛУЧШЕНИЯ ДЛЯ ДОСТУПНОСТИ ===== */

/* Focus стили для кнопки закрытия */
.orientation-notification-dismiss:focus[b-2wurdv8qnt] {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Поддержка высокой контрастности */
@media (prefers-contrast: high) {
    .orientation-notification[b-2wurdv8qnt] {
        background: #000000;
        border: 2px solid #ffffff;
    }

    .orientation-notification-title[b-2wurdv8qnt],
    .orientation-notification-message[b-2wurdv8qnt] {
        color: #ffffff;
    }

    .orientation-notification-dismiss[b-2wurdv8qnt] {
        border: 1px solid rgba(255, 255, 255, 0.5);
    }
}

/* Поддержка сниженной анимации */
@media (prefers-reduced-motion: reduce) {
    .orientation-notification[b-2wurdv8qnt],
    .orientation-notification-dismiss[b-2wurdv8qnt],
    .orientation-notification-icon svg[b-2wurdv8qnt] {
        transition: none;
        animation: none;
    }

    .rotate-icon[b-2wurdv8qnt],
    .phone-rotate-icon[b-2wurdv8qnt] {
        animation: none;
    }
}

/* ===== ТЕМНАЯ ТЕМА ===== */
@media (prefers-color-scheme: dark) {
    .orientation-notification[b-2wurdv8qnt] {
        background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .orientation-notification-message[b-2wurdv8qnt] {
        color: rgba(255, 255, 255, 0.9);
    }
}

/* ===== ИНТЕГРАЦИЯ С СУЩЕСТВУЮЩИМИ СТИЛЯМИ ПРИЛОЖЕНИЯ ===== */

/* Стили для интеграции с Bootstrap если используется */
.orientation-notification.bootstrap-style[b-2wurdv8qnt] {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Стили для интеграции с Material Design */
.orientation-notification.material-style[b-2wurdv8qnt] {
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
    font-family: "Roboto", sans-serif;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ УТИЛИТЫ ===== */

/* Скрытие на landscape (для отладки) */
.orientation-notification.hide-on-landscape[b-2wurdv8qnt] {
    display: none;
}

@media (orientation: portrait) {
    .orientation-notification.hide-on-landscape[b-2wurdv8qnt] {
        display: block;
    }
}

/* Показ только на мобильных */
.orientation-notification.mobile-only[b-2wurdv8qnt] {
    display: none;
}

@media (max-width: 768px) {
    .orientation-notification.mobile-only[b-2wurdv8qnt] {
        display: block;
    }
}

/* ===== ПРОИЗВОДИТЕЛЬНОСТЬ ===== */

/* Оптимизация рендеринга */
.orientation-notification[b-2wurdv8qnt] {
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Аппаратное ускорение для анимаций */
.orientation-notification-icon svg[b-2wurdv8qnt],
.orientation-notification-dismiss[b-2wurdv8qnt] {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
/* /Components/SectorsConstructor.razor.rz.scp.css */
body[b-hjsbyx49r4] {
}

.constructor-page[b-hjsbyx49r4] {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 2rem .7rem;
}

.constructor-page-content[b-hjsbyx49r4] {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.manage-panel-btn[b-hjsbyx49r4] {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: #f8f9fa;
    box-sizing: border-box;
    border-bottom: 2px solid var(--base-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border-radius: .3em;
}

    .manage-panel-btn button[b-hjsbyx49r4] {
        color: white;
        padding: .5rem;
        background-color: #6088d6;
        border: none;
        border-radius: .3rem;
        flex-grow: 1;
        max-width: 7rem;
    }

        .manage-panel-btn button:hover[b-hjsbyx49r4] {
            background-color: #4171d2;
        }

        .manage-panel-btn button:active[b-hjsbyx49r4] {
            background-color: #2452af;
        }

.main-tables-content[b-hjsbyx49r4] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.table-group[b-hjsbyx49r4] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    border-radius: .3em;
    overflow-x: auto;
}

.servers-list[b-hjsbyx49r4] {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    grid-template-rows: repeat(2, auto);
    gap: 1em;
}

.server-block[b-hjsbyx49r4] {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    padding: 8px 12px;
    background-color: #dedede;
    min-width: 180px;
    border-radius: .5em;
}

.server-name[b-hjsbyx49r4] {
    grid-column: 1;
    grid-row: 1;
    font-weight: bold;
}

.server-ip[b-hjsbyx49r4] {
    grid-column: 1;
    grid-row: 2;
    font-size: 0.95em;
    color: black;
}

.server-is-selected[b-hjsbyx49r4] {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: center;
}

.rep-tables_list[b-hjsbyx49r4] {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: max-content;
    grid-template-columns: repeat(6, auto);
    gap: 1em;
}

.adminPanel-table[b-hjsbyx49r4] {
    align-self: center;
}

    .adminPanel-table th[b-hjsbyx49r4], td[b-hjsbyx49r4] {
        text-align: center;
        padding: 8px;
    }

    .adminPanel-table th[b-hjsbyx49r4] {
        border-bottom: 1px solid #ddd;
    }

    .adminPanel-table tr:nth-child(even)[b-hjsbyx49r4] {
        background-color: #f2f2f2;
    }

    .adminPanel-table select[b-hjsbyx49r4] {
        border: none;
        padding: 8px;
    }

        .adminPanel-table select:hover[b-hjsbyx49r4] {
            background-color: #858383;
            color: white;
        }


@media (min-width: 1494px) {
    .constructor-page[b-hjsbyx49r4] {
        max-width: 80dvw;
    }
}
/* /Components/SessionModule.razor.rz.scp.css */
.session-debug-panel[b-vxr8o7n23t] {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    z-index: 1000;
    max-width: 600px; /* Увеличена ширина для дополнительной информации */
    word-wrap: break-word;
    font-family: 'Consolas', 'Monaco', monospace;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.session-warning-overlay[b-vxr8o7n23t] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
    animation: fadeIn-b-vxr8o7n23t 0.3s ease-in-out;
}

.session-warning-modal[b-vxr8o7n23t] {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn-b-vxr8o7n23t 0.3s ease-in-out;
    border: 2px solid #ff9800;
}

.warning-icon[b-vxr8o7n23t] {
    font-size: 48px;
    margin-bottom: 15px;
    animation: pulse-b-vxr8o7n23t 2s infinite;
}

.session-warning-modal h3[b-vxr8o7n23t] {
    color: #d32f2f;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: bold;
}

.countdown-timer[b-vxr8o7n23t] {
    font-size: 36px;
    font-weight: bold;
    color: #d32f2f;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    background: #ffebee;
    border-radius: 8px;
    padding: 15px;
    border: 2px solid #ffcdd2;
}

.modal-buttons[b-vxr8o7n23t] {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn[b-vxr8o7n23t] {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 120px;
}

.btn-primary[b-vxr8o7n23t] {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: white;
}

    .btn-primary:hover[b-vxr8o7n23t] {
        background: linear-gradient(135deg, #1565c0, #0d47a1);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
    }

.btn-secondary[b-vxr8o7n23t] {
    background: linear-gradient(135deg, #757575, #616161);
    color: white;
}

    .btn-secondary:hover[b-vxr8o7n23t] {
        background: linear-gradient(135deg, #616161, #424242);
        transform: translateY(-1px);
    }

.auto-logout-warning[b-vxr8o7n23t] {
    margin-top: 15px;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.btn-link[b-vxr8o7n23t] {
    background: none;
    border: none;
    color: #87ceeb;
    text-decoration: underline;
    cursor: pointer;
    font-size: 11px;
    padding: 0;
    margin: 0 2px;
    transition: color 0.5s ease;
}

    .btn-link:hover[b-vxr8o7n23t] {
        color: #add8e6;
    }

.orientation-notification-dismiss[b-vxr8o7n23t] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .orientation-notification-dismiss:hover[b-vxr8o7n23t] {
        background: rgba(255, 255, 255, 0.15);
        transform: scale(1.1);
    }

    .orientation-notification-dismiss:active[b-vxr8o7n23t] {
        background: rgba(255, 255, 255, 0.25);
        transform: scale(0.95);
    }

    .orientation-notification-dismiss svg[b-vxr8o7n23t] {
        width: 18px;
        height: 18px;
        color: white;
        stroke-width: 2.5px;
    }

/* Состояние видимости */
.orientation-notification-visible[b-vxr8o7n23t] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.orientation-notification-hidden[b-vxr8o7n23t] {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Focus стили для кнопки закрытия */
.orientation-notification-dismiss:focus[b-vxr8o7n23t] {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}


/* Анимации */
@keyframes fadeIn-b-vxr8o7n23t {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn-b-vxr8o7n23t {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse-b-vxr8o7n23t {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Отзывчивый дизайн */
@media (max-width: 480px) {
    .session-warning-modal[b-vxr8o7n23t] {
        padding: 20px;
        margin: 20px;
    }

    .countdown-timer[b-vxr8o7n23t] {
        font-size: 28px;
        padding: 10px;
    }

    .modal-buttons[b-vxr8o7n23t] {
        flex-direction: column;
        align-items: center;
    }

    .btn[b-vxr8o7n23t] {
        width: 100%;
        max-width: 200px;
    }

    .session-debug-panel[b-vxr8o7n23t] {
        max-width: 350px;
        font-size: 10px;
        bottom: 5px;
        right: 5px;
    }
}

/* Специальные стили для элементов которые не должны отслеживаться */
[data-no-activity-track][b-vxr8o7n23t] {
    /* Визуальная подсказка для разработчиков (можно удалить в продакшене) */
    /* border: 1px dashed rgba(255, 0, 0, 0.1); */
}

/* Индикатор паузы в отладочной панели */
.session-debug-panel span[style*="color: #ff6b6b"][b-vxr8o7n23t] {
    font-weight: bold;
    background: rgba(255, 107, 107, 0.2);
    padding: 1px 3px;
    border-radius: 3px;
    animation: blink-b-vxr8o7n23t 1s infinite;
}

@keyframes blink-b-vxr8o7n23t {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}
/* /Components/UI/LoadingSign.razor.rz.scp.css */
.chart-loading[b-uedvrnt3kd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.8rem 1.25rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: .4rem;
    height: 100%;
    /*min-height: 150px;*/
    /*animation: fadeIn 0.3s ease-in-out;*/
}

.chart-loading .spinner-border[b-uedvrnt3kd] {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
    animation: spin-b-uedvrnt3kd 1s linear infinite;
}

.chart-loading .loading-text[b-uedvrnt3kd] {
    margin-top: 1rem;
    color: #6c757d;
    font-size: .9rem;
    font-weight: 500;
    text-align: center;
}


@keyframes spin-b-uedvrnt3kd {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/* /Components/UI/QuestionMark.razor.rz.scp.css */
.question-mark[b-e9ogkzencx] {
    display: flex;
    flex-direction: column;
    position: relative;
}

    .question-mark:hover[b-e9ogkzencx],
    .question-mark:active[b-e9ogkzencx] {
        background-color: lightgray;
    }

.explanation-block[b-e9ogkzencx] {
    display: none;
    position: absolute;
    z-index: 50;
    top: 2rem;
    padding: .3rem;
    border: 2px solid var(--base-lighter);
    border-radius: .3rem;
    background-color: #90e590;
    color: black;
    min-width: 14rem;
    text-wrap: wrap;
    font-size: .8rem;
}

.question-mark:hover .explanation-block[b-e9ogkzencx],
.question-mark:active .explanation-block[b-e9ogkzencx] {
    display: block;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-d4wlwxvn9g] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-d4wlwxvn9g] {
    flex: 1;
}

.sidebar[b-d4wlwxvn9g] {
    width: 15dvw;
    /*    background-image: linear-gradient(180deg, rgb(15, 64, 34) 0%, #1a5330 70%);*/
    background-color: var(--base-darker);
}

.top-row[b-d4wlwxvn9g] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    /*    width: 398dvw;*/
}

    .top-row[b-d4wlwxvn9g]  a, .top-row[b-d4wlwxvn9g]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-d4wlwxvn9g]  a:hover, .top-row[b-d4wlwxvn9g]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-d4wlwxvn9g]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }


/*@media (max-width: 576px) {
    .top-row.main {
        width: 100dvw;
        justify-content: space-between;
    }

        .top-row.main ::deep a, .top-row.main ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.main {
        width: 100dvw;
    }

    .top-row.charts {
        width: 100dvw;
        justify-content: space-between;
    }

        .top-row.charts ::deep a, .top-row.charts ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.charts {
        width: 100dvw;
    }

    .top-row.account {
        width: 100vw;
        justify-content: space-between;
    }

        .top-row.account ::deep a, .top-row.account ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.account {
        width: 100vw;
    }

    .top-row.admin-page {
        width: 100vw;
        justify-content: space-between;
    }

        .top-row.admin-page ::deep a, .top-row.admin-page ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.admin-page {
        width: 100vw;
    }

    .top-row.downtimes {
        width: 100dvw;
        justify-content: space-between;
    }

        .top-row.downtimes ::deep a, .top-row.downtimes ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.downtimes {
        width: 100dvw;
    }

    .top-row.detailed {
        width: 100dvw;
        justify-content: space-between;
    }

        .top-row.detailed ::deep a, .top-row.detailed ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.detailed {
        width: 100dvw;
    }
}

@media (min-width: 576.98px) and (max-width: 767.98px) {
    .top-row.main {
        width: 100dvw;
        justify-content: space-between;
    }

        .top-row.main ::deep a, .top-row.main ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.main {
        width: 100dvw;
    }

    .top-row.charts {
        width: 100dvw;
        justify-content: space-between;
    }

        .top-row.charts ::deep a, .top-row.charts ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.charts {
        width: 100dvw;
    }

    .top-row.account {
        width: 100vw;
        justify-content: space-between;
    }

        .top-row.account ::deep a, .top-row.account ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.account {
        width: 100vw;
    }

    .top-row.admin-page {
        width: 100vw;
        justify-content: space-between;
    }

        .top-row.admin-page ::deep a, .top-row.admin-page ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.admin-page {
        width: 100vw;
    }

    .top-row.downtimes {
        width: 100dvw;
        justify-content: space-between;
    }

        .top-row.downtimes ::deep a, .top-row.downtimes ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.downtimes {
        width: 100dvw;
    }

    .top-row.detailed {
        width: 100dvw;
        justify-content: space-between;
    }

        .top-row.detailed ::deep a, .top-row.detailed ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.detailed {
        width: 100dvw;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .top-row.main {
        width: 100dvw;
        justify-content: space-between;
    }

        .top-row.main ::deep a, .top-row.main ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.main {
        width: 100dvw;
    }

    .top-row.charts {
        width: 100dvw;
        justify-content: space-between;
    }

        .top-row.charts ::deep a, .top-row.charts ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.charts {
        width: 100dvw;
    }

    .top-row.account {
        width: 100vw;
        justify-content: space-between;
    }

        .top-row.account ::deep a, .top-row.account ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.account {
        width: 100vw;
    }

    .top-row.admin-page {
        width: 100vw;
        justify-content: space-between;
    }

        .top-row.admin-page ::deep a, .top-row.admin-page ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.admin-page {
        width: 100vw;
    }

    .top-row.downtimes {
        width: 100vw;
        justify-content: space-between;
    }

        .top-row.downtimes ::deep a, .top-row.downtimes ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.downtimes {
        width: 100vw;
    }

    .top-row.detailed {
        width: 100vw;
        justify-content: space-between;
    }

        .top-row.detailed ::deep a, .top-row.detailed ::deep .btn-link {
            margin-left: 0;
        }

    .sidebar.detailed {
        width: 100vw;
    }
}*/

/*@media (max-width: 919.98px) {
    .top-row.charts {
        width: 57rem;
        justify-content: space-between;
    }

    .sidebar.charts {
        width: 57rem;
    }
}

@media (min-width: 920px) and (max-width: 1493.98px) {
    .top-row.charts {
        width: 100dvw;
        justify-content: space-between;
    }

    .sidebar.charts {
        width: 100dvw;
    }
}*/

@media (max-width: 1049.98px) {
    .top-row.downtimes[b-d4wlwxvn9g] {
        width: 65rem;
        justify-content: space-between;
    }

    .sidebar.downtimes[b-d4wlwxvn9g] {
        width: 65rem;
    }
}

@media (min-width: 1050px) and (max-width: 1493.98px) {
    .top-row.downtimes[b-d4wlwxvn9g] {
        width: 100dvw;
        justify-content: space-between;
    }

    .sidebar.downtimes[b-d4wlwxvn9g] {
        width: 100dvw;
    }
}

@media /*(min-width: 1200px) and*/ (max-width: 1493.98px) {
    .top-row[b-d4wlwxvn9g]  a, .top-row[b-d4wlwxvn9g]  .btn-link {
        margin-left: 0;
    }
    
    .top-row.main[b-d4wlwxvn9g] {
        width: 100dvw;
        justify-content: space-between;
    }

    .sidebar.main[b-d4wlwxvn9g] {
        width: 100dvw;
    }

    .top-row.account[b-d4wlwxvn9g] {
        width: 100dvw;
        justify-content: space-between;
    }

    .sidebar.account[b-d4wlwxvn9g] {
        width: 100dvw;
    }

    .top-row.admin-page[b-d4wlwxvn9g] {
        width: 100dvw;
        justify-content: space-between;
    }

    .sidebar.admin-page[b-d4wlwxvn9g] {
        width: 100dvw;
    }

    .top-row.detailed[b-d4wlwxvn9g] {
        width: 100dvw;
        justify-content: space-between;
    }

    .sidebar.detailed[b-d4wlwxvn9g] {
        width: 100dvw;
    }

    .top-row.charts[b-d4wlwxvn9g] {
        width: 100dvw;
        justify-content: space-between;
    }

    .sidebar.charts[b-d4wlwxvn9g] {
        width: 100dvw;
    }
}

@media (min-width: 1494px) {
    .page[b-d4wlwxvn9g] {
        flex-direction: row;
    }

    .sidebar[b-d4wlwxvn9g] {
        height: 100dvh;
        position: sticky;
        top: 0;
    }

    .top-row[b-d4wlwxvn9g] {
        /*        position: sticky;*/
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-d4wlwxvn9g]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-d4wlwxvn9g], article[b-d4wlwxvn9g] {
        /*        padding-left: 2rem !important;*/
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-87gzyxlueg] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-87gzyxlueg] {
    height: 3.5rem;
    background-color: var(--base-dark);
}

.navbar-brand[b-87gzyxlueg] {
    font-size: 1.1rem;
}

.bi[b-87gzyxlueg] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-87gzyxlueg] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-87gzyxlueg] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-87gzyxlueg] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-87gzyxlueg] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-87gzyxlueg] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-87gzyxlueg] {
        padding-bottom: 1rem;
    }

    .nav-item[b-87gzyxlueg]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        text-decoration: unset;
        /*        line-height: 3rem;*/
    }

/*        .nav-item ::deep a.active {
            background-color: rgba(255,255,255,0.37);
            color: white;
        }

        .nav-item ::deep a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }*/


.navbar-items-container[b-87gzyxlueg] {
    display: flex;
    gap: .5rem;
    padding: .8rem 0;
    cursor: pointer;
    padding-left: 1rem;
    border-radius: 4px;
    width: 100%;
}

    .navbar-items-container button[b-87gzyxlueg], span[b-87gzyxlueg] {
        height: 100%;
        color: #d7d7d7;
        background-color: transparent;
        text-decoration: none;
        border: none;
    }

    .navbar-items-container span[b-87gzyxlueg] {
        padding-left: .25rem;
    }

    .navbar-items-container:hover[b-87gzyxlueg] {
        background-color: rgba(255,255,255,0.1);
    }

        .navbar-items-container:hover button[b-87gzyxlueg] {
            color: white;
        }

        .navbar-items-container:hover span[b-87gzyxlueg] {
            color: white;
        }

        .navbar-items-container:hover sidebar-svg[b-87gzyxlueg] {
            color: white;
        }

    .navbar-items-container:active[b-87gzyxlueg] {
        background-color: rgba(255,255,255,0.37);
        color: white;
    }

.sidebar-svg[b-87gzyxlueg] {
    color: #d7d7d7;
}

@media (min-width: 1494px) {
    .navbar-toggler[b-87gzyxlueg] {
        display: none;
    }

    .collapse[b-87gzyxlueg] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-87gzyxlueg] {
        /* Allow sidebar to scroll for tall menus */
        width: 15vw;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Account.razor.rz.scp.css */
body[b-5lxra459ee] {
}

.account-page-content[b-5lxra459ee] {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: .5rem;
}

.account-sectors[b-5lxra459ee] {
    display: flex;
    flex-direction: row;
}

    .account-sectors .sector_btn[b-5lxra459ee] {
        border: 1px solid var(--base-color);
        border-top: none;
        border-radius: 0 0 5px 5px;
        background: white;
        color: black;
        padding: 10px 20px;
        cursor: pointer;
        min-width: 14.2rem;
    }

        .account-sectors .sector_btn:hover[b-5lxra459ee] {
            background: var(--base-forest-color);
            color: white;
        }

        .account-sectors .sector_btn:active[b-5lxra459ee] {
            background: var(--base-forest-darker);
            color: white;
        }


.sector_btn.active[b-5lxra459ee] {
    background: var(--base-color);
    color: #fff;
}

.change-pass-form[b-5lxra459ee] {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 1rem;
    max-width: 24.2rem;
    box-sizing: border-box;
    background-color: #f8f9fa;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border-radius: .3em;
}

.change-pass-sub-block[b-5lxra459ee] {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.form-group[b-5lxra459ee] {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.form-warning[b-5lxra459ee] {
    font-size: .85rem;
    color: red;
}

.red-focus-border[b-5lxra459ee],
.red-focus-border:focus[b-5lxra459ee] {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem red;
}

/*.red-focus-border:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem red;
    }*/

.password-container[b-5lxra459ee] {
    position: relative;
    width: 100%;
}

    .password-container input[b-5lxra459ee] {
        width: 100%;
        padding-right: 2.5rem;
    }

.eye-btn[b-5lxra459ee] {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #888;
    height: 2rem;
    width: 2rem;
}

    .eye-btn:focus[b-5lxra459ee] {
        outline: none;
    }

.save-new-pass-btn[b-5lxra459ee] {
    color: white;
    padding: 8px;
    margin: 1em auto;
    background-color: #6088d6;
    border: none;
    border-radius: 4px;
}

    .save-new-pass-btn:hover[b-5lxra459ee] {
        background-color: #4171d2;
    }

    .save-new-pass-btn:active[b-5lxra459ee] {
        background-color: #2452af;
    }

.detailes-sectors summary[b-5lxra459ee] {
    font-weight: bold;
    text-decoration: underline;
}

.label-block[b-5lxra459ee] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.form-headers[b-5lxra459ee] {
    font-size: 1rem;
}


@media (max-width: 729.98px) {
    .account-sectors[b-5lxra459ee] {
        flex-direction: column;
        max-width: 6rem;
    }
}

/*@media (min-width: 576.98px) and (max-width: 767.98px) {
    .change-pass-form {
        width: 88vw;
    }
}

@media (max-width: 576px) {
    .change-pass-form {
        width: 88vw;
    }
}*/
/* /Pages/AdminPanel.razor.rz.scp.css */
body[b-zr0kmbj6l1] {
}

.users-content[b-zr0kmbj6l1] {
    display: grid;
    gap: 2.5rem;
    padding: 2rem .7rem;
}

.main-users-div[b-zr0kmbj6l1] {
    display: grid;
    gap: 1.2rem;
}

.manage-panel-btn[b-zr0kmbj6l1] {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: #f8f9fa;
    box-sizing: border-box;
    border-bottom: 2px solid var(--base-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border-radius: .3em;
}

    .manage-panel-btn button[b-zr0kmbj6l1] {
        color: white;
        padding: .5rem;
        background-color: #6088d6;
        border: none;
        border-radius: .3rem;
        flex-grow: 1;
        max-width: 7rem;
    }

        .manage-panel-btn button:hover[b-zr0kmbj6l1] {
            background-color: #4171d2;
        }

        .manage-panel-btn button:active[b-zr0kmbj6l1] {
            background-color: #2452af;
        }

.admin-panel-table-container[b-zr0kmbj6l1] {
    padding: 1rem;
    background-color: #f8f9fa;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    border-radius: 1em;
    overflow-x: auto;
}

.adminPanel-table[b-zr0kmbj6l1] {
    align-self: center;
    border: none;
}

    .adminPanel-table th[b-zr0kmbj6l1], td[b-zr0kmbj6l1] {
        text-align: center;
        padding: 8px;
    }

    .adminPanel-table tr:nth-child(even)[b-zr0kmbj6l1] {
        background-color: #f2f2f2;
    }

    .adminPanel-table select[b-zr0kmbj6l1] {
        border: none;
        padding: 8px;
    }

        .adminPanel-table select:hover[b-zr0kmbj6l1] {
            background-color: #858383;
            color: white;
        }

.delete-button[b-zr0kmbj6l1] {
    color: black;
    padding: 8px;
    /*  padding-left: 3rem;*/
    background-color: #d7d7d7;
    border: none;
    border-radius: 4px;
}

    .delete-button:hover[b-zr0kmbj6l1] {
        background-color: #858383;
        color: white;
    }

    .delete-button:active[b-zr0kmbj6l1] {
        background-color: #d7d7d7;
        color: black;
    }

.my-save-button[b-zr0kmbj6l1] {
    color: black;
    padding: 8px;
    background-color: #d7d7d7;
    border: none;
    border-radius: 4px;
}

    .my-save-button:hover[b-zr0kmbj6l1] {
        background-color: #858383;
        color: white;
    }

    .my-save-button:active[b-zr0kmbj6l1] {
        background-color: #d7d7d7;
        color: black;
    }

.filter-users-btn[b-zr0kmbj6l1] {
    color: black;
    padding: 8px;
    background-color: #d7d7d7;
    border: none;
    border-radius: 4px;
    min-width: 150px;
}

    .filter-users-btn:hover[b-zr0kmbj6l1] {
        background-color: #858383;
        color: white;
    }

    .filter-users-btn:active[b-zr0kmbj6l1] {
        background-color: #d7d7d7;
        color: black;
    }


.admin-panel-buttons[b-zr0kmbj6l1] {
    display: flex;
    flex-direction: row;
}

    .admin-panel-buttons .sector_btn[b-zr0kmbj6l1] {
        border: 1px solid var(--base-color);
        border-top: none;
        border-radius: 0 0 5px 5px;
        background: white;
        color: black;
        padding: 10px 20px;
        cursor: pointer;
        min-width: 14.2rem;
    }

        .admin-panel-buttons .sector_btn:hover[b-zr0kmbj6l1] {
            background: var(--base-forest-color);
            color: white;
        }

        .admin-panel-buttons .sector_btn:active[b-zr0kmbj6l1] {
            background: var(--base-forest-darker);
            color: white;
        }


.sector_btn.active[b-zr0kmbj6l1] {
    background: var(--base-color);
    color: #fff;
}

.detailes-sectors summary[b-zr0kmbj6l1] {
    font-weight: bold;
    text-decoration: underline;
}


@media (max-width: 729.98px) {
    .admin-panel-buttons[b-zr0kmbj6l1] {
        flex-direction: column;
        max-width: 6rem;
    }
}
/* /Pages/Authorization.razor.rz.scp.css */
body[b-t712nfl7ur] {
}

.auth-page-content[b-t712nfl7ur] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding-top: 3rem;
}

.auth-content[b-t712nfl7ur] {
    max-width: 20rem;
    padding: 1rem;
    background-color: #f8f9fa;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border-radius: .3em;
}

.authHeader[b-t712nfl7ur] {
    text-align: center;
    /*    margin-top: 2em;*/
}

.container[b-t712nfl7ur] {
    padding: .7rem;
    box-sizing: border-box;
    margin-top: 2em;
}

.form[b-t712nfl7ur] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
}

.form-group[b-t712nfl7ur] {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

/*.form-group label {
        margin-bottom: .5rem;
        margin-top: .9rem;
    }*/

.is-remember-container[b-t712nfl7ur] {
    margin: 2em 0 2.2em 0;
}

.form-warning[b-t712nfl7ur] {
    font-size: .85rem;
    /*    color: red;*/
    background-color: #d6df9a;
    padding: .2rem;
    border-radius: .3rem;
}

.bold-span[b-t712nfl7ur] {
    font-weight: 600;
    color: red;
}

.label-block[b-t712nfl7ur] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.red-focus-border[b-t712nfl7ur],
.red-focus-border:focus[b-t712nfl7ur] {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem red;
}

.password-container[b-t712nfl7ur] {
    position: relative;
    width: 100%;
}

    .password-container input[b-t712nfl7ur] {
        width: 100%;
        padding-right: 2.5rem;
    }

.registration-button[b-t712nfl7ur] {
    color: black;
    padding: .5rem;
    margin-top: .5rem;
    background-color: #d7d7d7;
    border: none;
    border-radius: .3rem;
}

    .registration-button:hover[b-t712nfl7ur] {
        background-color: #858383;
        color: white;
    }

    .registration-button:active[b-t712nfl7ur] {
        background-color: #d7d7d7;
        color: black;
    }

.eye-btn[b-t712nfl7ur] {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #888;
    height: 2rem;
    width: 2rem;
}

    .eye-btn:focus[b-t712nfl7ur] {
        outline: none;
    }

.save-new-pass-btn[b-t712nfl7ur] {
    width: 100%;
    color: white;
    padding: 8px;
    /*    margin: 1em auto;*/
    background-color: #6088d6;
    border: none;
    border-radius: 4px;
}

    .save-new-pass-btn:hover[b-t712nfl7ur] {
        background-color: #4171d2;
    }

    .save-new-pass-btn:active[b-t712nfl7ur] {
        background-color: #2452af;
    }

.return-button[b-t712nfl7ur] {
    color: black;
    padding: .5rem;
    margin-top: .5rem;
    background-color: #d7d7d7;
    border: none;
    border-radius: .3rem;
}

    .return-button:hover[b-t712nfl7ur] {
        background-color: #858383;
        color: white;
    }

    .return-button:active[b-t712nfl7ur] {
        background-color: #d7d7d7;
        color: black;
    }


.manage-btns-container[b-t712nfl7ur] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5em;
    margin-top: 1em;
}

#email-examples[b-t712nfl7ur] {
    font-weight: 600;
    /*    position: relative;
    display: inline-block;*/
}

    #email-examples[b-t712nfl7ur]::after {
        content: 'i.ivanov@itpz.ru';
        animation: show-email-examples-b-t712nfl7ur 8s ease-in-out infinite;
    }


@keyframes show-email-examples-b-t712nfl7ur {
    0% {
        content: 'i.ivanov@itpz.ru';
    }

    12.5% {
        content: 'i.ivanov@sp-holding.ru';
    }

    25% {
        content: 'i.ivanov@aospg.ru';
    }

    37.5% {
        content: 'i.ivanov@bummash.ru';
    }

    50% {
        content: 'i.ivanov@izitech.ru';
    }

    62.5% {
        content: 'i.ivanov@td-spg.ru';
    }

    75% {
        content: 'i.ivanov@tvel-tobolsk.ru';
    }

    87.5% {
        content: 'i.ivanov@proentech.ru';
    }
}
/* /Pages/ChartBuilder.razor.rz.scp.css */
.chart-builder[b-ssq1txf0c9] {
    min-height: 100vh;
    background-color: #f8f9fa;
    padding: 0;
}

/* Заголовок страницы */
.builder-header[b-ssq1txf0c9] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 2rem 3rem;
    margin-bottom: -1rem;
}

    .builder-header .breadcrumb[b-ssq1txf0c9] {
        background: none;
        margin-bottom: 1rem;
    }

        .builder-header .breadcrumb a[b-ssq1txf0c9] {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
        }

            .builder-header .breadcrumb a:hover[b-ssq1txf0c9] {
                color: white;
            }

    .builder-header .breadcrumb-item.active[b-ssq1txf0c9] {
        color: rgba(255, 255, 255, 0.9);
    }

.page-title-section .page-title[b-ssq1txf0c9] {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-description[b-ssq1txf0c9] {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Состояние загрузки */
.loading-container[b-ssq1txf0c9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: #6c757d;
}

/* Основная область */
.builder-content[b-ssq1txf0c9] {
    /*display: grid;*/
    /*grid-template-columns: 300px 1fr;*/
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Боковая панель */
.builder-sidebar[b-ssq1txf0c9] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.preview-card[b-ssq1txf0c9], .templates-card[b-ssq1txf0c9] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

    .preview-card .card-title[b-ssq1txf0c9], .templates-card .card-title[b-ssq1txf0c9] {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: #495057;
        border-bottom: 2px solid #f8f9fa;
        padding-bottom: 0.5rem;
    }

.chart-preview-container[b-ssq1txf0c9] {
    min-height: 200px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: #fafafa;
}

.preview-placeholder[b-ssq1txf0c9] {
    text-align: center;
    padding: 2rem 1rem;
}

.chart-preview[b-ssq1txf0c9] {
    padding: 1rem;
    text-align: center;
}

.preview-info[b-ssq1txf0c9] {
    margin: 0;
    line-height: 1.6;
}

.preview-actions[b-ssq1txf0c9] {
    display: flex;
    gap: 0.5rem;
}

    .preview-actions .btn[b-ssq1txf0c9] {
        flex: 1;
    }

.template-buttons[b-ssq1txf0c9] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.template-btn[b-ssq1txf0c9] {
    text-align: left;
    font-size: 0.875rem;
}

/* Основная область редактирования */
.builder-main[b-ssq1txf0c9] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Секции формы */
.builder-section[b-ssq1txf0c9] {
    border-bottom: 1px solid #e9ecef;
}

    .builder-section:last-child[b-ssq1txf0c9] {
        border-bottom: none;
    }

.section-header[b-ssq1txf0c9] {
    background: #f8f9fa;
    padding: .7rem 1rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    /*    justify-content: between;*/
    gap: 1rem;
    align-items: flex-start;
}

.section-title[b-ssq1txf0c9] {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #495057;
}

.section-header small[b-ssq1txf0c9] {
    display: block;
    margin-top: 0.25rem;
}

.section-actions[b-ssq1txf0c9] {
    margin-left: auto;
}

.section-content[b-ssq1txf0c9] {
    padding: 2rem;
}

/* Поля формы */
.form-group[b-ssq1txf0c9] {
    margin-bottom: 1.5rem;
}

.form-label.required[b-ssq1txf0c9]::after {
    content: " *";
    color: #dc3545;
}

.form-control[b-ssq1txf0c9], .form-select[b-ssq1txf0c9] {
    border-radius: 8px;
    border: 1.5px solid #dee2e6;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

    .form-control:focus[b-ssq1txf0c9], .form-select:focus[b-ssq1txf0c9] {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    }

/* Настройка осей */
.axis-config-card[b-ssq1txf0c9] {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
}

.axis-title[b-ssq1txf0c9] {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #495057;
    display: flex;
    align-items: center;
}

/* Цветовой селектор */
.color-input-group[b-ssq1txf0c9] {
    display: flex;
    gap: 0.5rem;
}

.form-control-color[b-ssq1txf0c9] {
    width: 60px;
    flex-shrink: 0;
}

/* Серии данных */
.series-list[b-ssq1txf0c9] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.series-card[b-ssq1txf0c9] {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

    .series-card.expanded[b-ssq1txf0c9] {
        border-color: #667eea;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
    }

.series-header[b-ssq1txf0c9] {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

    .series-header:hover[b-ssq1txf0c9] {
        background: #e9ecef;
    }

.series-info[b-ssq1txf0c9] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.series-color-indicator[b-ssq1txf0c9] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #dee2e6;
}

.series-name[b-ssq1txf0c9] {
    font-weight: 600;
    color: #495057;
}

.series-type-badge[b-ssq1txf0c9] {
    background: #e9ecef;
    color: #6c757d;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.series-actions[b-ssq1txf0c9] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.series-content[b-ssq1txf0c9] {
    padding: 1.5rem;
    border-top: 1px solid #dee2e6;
    background: white;
}

.empty-series-state[b-ssq1txf0c9] {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

/* Редактор параметров */
.parameters-editor[b-ssq1txf0c9] {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
}

.parameters-list[b-ssq1txf0c9] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.parameter-row[b-ssq1txf0c9] {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1rem;
}

/* Действия формы */
.builder-actions[b-ssq1txf0c9] {
    padding: 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.left-actions[b-ssq1txf0c9], .right-actions[b-ssq1txf0c9] {
    display: flex;
    gap: 0.75rem;
}

/* Модальные окна */
.templates-grid[b-ssq1txf0c9] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.template-card[b-ssq1txf0c9] {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

    .template-card:hover[b-ssq1txf0c9] {
        border-color: #667eea;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

.template-icon[b-ssq1txf0c9] {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.template-name[b-ssq1txf0c9] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #495057;
}

.template-description[b-ssq1txf0c9] {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.template-category[b-ssq1txf0c9] {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Результаты тестирования */
.test-results .data-preview[b-ssq1txf0c9] {
    margin-top: 1rem;
}

.test-results .table[b-ssq1txf0c9] {
    font-size: 0.875rem;
}

    .test-results .table th[b-ssq1txf0c9] {
        background: #f8f9fa;
        border-top: none;
        font-weight: 600;
        color: #495057;
    }

/* Адаптивность */
@media (max-width: 1200px) {
    .builder-content[b-ssq1txf0c9] {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .builder-sidebar[b-ssq1txf0c9] {
        order: 2;
        flex-direction: row;
    }

    .preview-card[b-ssq1txf0c9], .templates-card[b-ssq1txf0c9] {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .builder-header[b-ssq1txf0c9] {
        padding: 1.5rem 1rem 2rem;
    }

    .page-title-section .page-title[b-ssq1txf0c9] {
        font-size: 1.75rem;
    }

    .page-description[b-ssq1txf0c9] {
        font-size: 1rem;
    }

    .builder-content[b-ssq1txf0c9] {
        padding: 1rem;
    }

    .section-header[b-ssq1txf0c9] {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-content[b-ssq1txf0c9] {
        padding: 1rem;
    }

    .builder-sidebar[b-ssq1txf0c9] {
        flex-direction: column;
    }

    .builder-actions[b-ssq1txf0c9] {
        padding: 1rem;
    }

    .left-actions[b-ssq1txf0c9], .right-actions[b-ssq1txf0c9] {
        flex-direction: column;
    }

    .templates-grid[b-ssq1txf0c9] {
        grid-template-columns: 1fr;
    }
}

/* Анимации */
.series-card[b-ssq1txf0c9], .template-card[b-ssq1txf0c9], .btn[b-ssq1txf0c9] {
    transition: all 0.2s ease;
}

.form-control:focus[b-ssq1txf0c9], .form-select:focus[b-ssq1txf0c9] {
    transition: all 0.15s ease;
}

/* Состояния кнопок */
.btn:disabled[b-ssq1txf0c9] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-success:not(:disabled):hover[b-ssq1txf0c9] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.btn-primary:not(:disabled):hover[b-ssq1txf0c9] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Скроллбар */
.builder-main[b-ssq1txf0c9] {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

    .builder-main[b-ssq1txf0c9]::-webkit-scrollbar {
        width: 8px;
    }

    .builder-main[b-ssq1txf0c9]::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .builder-main[b-ssq1txf0c9]::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 4px;
    }

        .builder-main[b-ssq1txf0c9]::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }
/* /Pages/ChartsManagement.razor.rz.scp.css */
.charts-management[b-yxz6rul9yf] {
    padding: 20px;
}

.page-header[b-yxz6rul9yf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

    .page-header h2[b-yxz6rul9yf] {
        margin: 0;
        color: #333;
        font-weight: 600;
    }

.page-actions[b-yxz6rul9yf] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table th[b-yxz6rul9yf] {
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.btn-group-sm .btn[b-yxz6rul9yf] {
    padding: 0.25rem 0.4rem;
    font-size: 0.775rem;
}


@media (max-width: 768px) {
    .page-header[b-yxz6rul9yf] {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .page-actions[b-yxz6rul9yf] {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .table-responsive[b-yxz6rul9yf] {
        font-size: 0.875rem;
    }
}
/* /Pages/ChartsPage.razor.rz.scp.css */
/* ===== ИНТЕГРАЦИЯ С ORIENTATION NOTIFICATION ===== */

/* Основное содержимое страницы с учетом уведомления */
.charts-page[b-lrjoub5obw] {
    padding: 1.25rem;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    transition: padding-top 0.3s ease;
}

    .charts-page.with-orientation-notification[b-lrjoub5obw] {
        padding-top: calc(1.25rem + 60px);
    }

/* ===== КАСТОМНЫЕ СТИЛИ ДЛЯ УВЕДОМЛЕНИЯ НА СТРАНИЦЕ ГРАФИКОВ ===== */
.charts-orientation-notification[b-lrjoub5obw] {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

    .charts-orientation-notification .orientation-notification-content[b-lrjoub5obw] {
        max-width: 1200px;
        margin: 0 auto;
    }

/* ===== УЛУЧШЕНИЯ ДЛЯ АДАПТИВНОСТИ ===== */
@media (max-width: 768px) and (orientation: portrait) {
    .charts-page[b-lrjoub5obw] {
        padding: 0.75rem;
    }

    .page-header[b-lrjoub5obw] {
        margin-bottom: 1rem;
        gap: 0.75rem;
    }

    .page-actions[b-lrjoub5obw] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        width: 100%;
    }

    .debug-controls[b-lrjoub5obw] {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #dee2e6;
        padding-top: 0.5rem;
        justify-content: center;
    }

    .orientation-debug[b-lrjoub5obw] {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 0.5rem;
    }
}

/* Стили для альбомной ориентации на мобильных */
@media (max-width: 768px) and (orientation: landscape) {
    .charts-page[b-lrjoub5obw] {
        padding: 0.5rem;
    }

    .page-header[b-lrjoub5obw] {
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }

        .page-header h3[b-lrjoub5obw] {
            font-size: 1.25rem;
        }

    .page-actions[b-lrjoub5obw] {
        gap: 0.5rem;
    }

    .debug-controls[b-lrjoub5obw] {
        gap: 0.25rem;
    }

        .debug-controls .btn[b-lrjoub5obw] {
            font-size: 0.75rem;
            padding: 0.25rem 0.5rem;
        }

    .orientation-debug[b-lrjoub5obw] {
        margin-bottom: 0.5rem;
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}

/* ===== УЛУЧШЕННАЯ АДАПТИВНОСТЬ ГРАФИКОВ ===== */

/* В портретной ориентации графики занимают всю ширину */
@media (max-width: 768px) and (orientation: portrait) {
    .charts-grid .row[b-lrjoub5obw] {
        margin-left: 0;
        margin-right: 0;
    }

    .charts-grid [class*="col-"][b-lrjoub5obw] {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
}

/* В альбомной ориентации можем позволить себе две колонки */
@media (max-width: 768px) and (orientation: landscape) {
    .charts-grid [class*="col-"][b-lrjoub5obw] {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0.25rem;
    }
}

/* ===== ИНДИКАТОР ТЕКУЩЕЙ ОРИЕНТАЦИИ ===== */

/* Индикатор в заголовке страницы (показывается только в отладочном режиме) */
.page-header.debug-mode[b-lrjoub5obw]::after {
    content: "📱";
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0 0 0 0.5rem;
    font-size: 0.75rem;
    z-index: 100;
}

@media (orientation: landscape) {
    .page-header.debug-mode[b-lrjoub5obw]::after {
        content: "🖥️ Альбомная";
    }
}

@media (orientation: portrait) {
    .page-header.debug-mode[b-lrjoub5obw]::after {
        content: "📱 Портретная";
    }
}

/* ===== ПЛАВНЫЕ ПЕРЕХОДЫ ПРИ СМЕНЕ ОРИЕНТАЦИИ ===== */

.charts-page[b-lrjoub5obw],
.charts-grid[b-lrjoub5obw],
.page-header[b-lrjoub5obw] {
    transition: all 0.3s ease;
}

/* Предотвращаем слишком быстрые анимации при повороте */
@media (prefers-reduced-motion: reduce) {
    .charts-page[b-lrjoub5obw],
    .charts-grid[b-lrjoub5obw],
    .page-header[b-lrjoub5obw],
    .debug-controls[b-lrjoub5obw],
    .orientation-debug[b-lrjoub5obw] {
        transition: none;
    }
}

/* ===== УЛУЧШЕНИЯ ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНОВ ===== */

@media (max-width: 360px) and (orientation: portrait) {
    .charts-orientation-notification .orientation-notification-content[b-lrjoub5obw] {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .charts-orientation-notification .orientation-notification-title[b-lrjoub5obw] {
        font-size: 0.9rem;
    }

    .charts-orientation-notification .orientation-notification-message[b-lrjoub5obw] {
        font-size: 0.8rem;
    }
}

/* ===== ИНТЕГРАЦИЯ С ТЕМНОЙ ТЕМОЙ ===== */

@media (prefers-color-scheme: dark) {
    .charts-orientation-notification[b-lrjoub5obw] {
        background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    }

    .orientation-debug[b-lrjoub5obw] {
        background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
        border-color: #3b82f6;
        color: #e5e7eb;
    }

        .orientation-debug strong[b-lrjoub5obw] {
            color: #93c5fd;
        }

    .debug-controls[b-lrjoub5obw] {
        border-left-color: #4b5563;
    }
}

/* ===== СПЕЦИАЛЬНЫЕ СТИЛИ ДЛЯ iOS SAFARI ===== */

/* iOS Safari имеет особенности с viewport height */
@supports (-webkit-touch-callout: none) {
    /*    .charts-page {
        min-height: -webkit-fill-available;
    }*/

    .charts-orientation-notification[b-lrjoub5obw] {
        /* Учитываем безопасную зону на устройствах с notch */
        padding-top: env(safe-area-inset-top, 0);
        top: 0;
    }

        .charts-orientation-notification .orientation-notification-content[b-lrjoub5obw] {
            padding-left: max(1rem, env(safe-area-inset-left, 1rem));
            padding-right: max(1rem, env(safe-area-inset-right, 1rem));
        }
}

/* ===== УЛУЧШЕНИЯ ПРОИЗВОДИТЕЛЬНОСТИ ===== */

/* Оптимизация рендеринга для анимаций */
.charts-page[b-lrjoub5obw],
.charts-grid[b-lrjoub5obw] {
    will-change: auto;
    contain: layout style;
}

/* Аппаратное ускорение для критических элементов */
.charts-orientation-notification[b-lrjoub5obw],
.orientation-debug[b-lrjoub5obw] {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* ===== ACCESSIBILITY УЛУЧШЕНИЯ ===== */

/* Высокая контрастность для пользователей с нарушениями зрения */
@media (prefers-contrast: high) {
    .charts-orientation-notification[b-lrjoub5obw] {
        background: #000000;
        border: 2px solid #ffffff;
    }

        .charts-orientation-notification .orientation-notification-title[b-lrjoub5obw],
        .charts-orientation-notification .orientation-notification-message[b-lrjoub5obw] {
            color: #ffffff;
            text-shadow: none;
        }

    .orientation-debug[b-lrjoub5obw] {
        background: #ffffff;
        border: 2px solid #000000;
        color: #000000;
    }

    .debug-controls[b-lrjoub5obw] {
        border-left-color: #000000;
    }
}

/* Фокус стили для клавиатурной навигации */
.debug-controls .btn:focus[b-lrjoub5obw] {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* ===== СТИЛИ ДЛЯ КОНКРЕТНЫХ УСТРОЙСТВ ===== */

/* iPad в портретном режиме */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .charts-page[b-lrjoub5obw] {
        padding: 1.5rem;
    }

    .charts-grid [class*="col-"][b-lrjoub5obw] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* iPad в альбомном режиме */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .charts-grid [class*="col-"][b-lrjoub5obw] {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

/* Большие экраны */
@media (min-width: 1200px) {
    .charts-orientation-notification .orientation-notification-content[b-lrjoub5obw] {
        padding: 1.25rem 2rem;
    }

    .charts-page[b-lrjoub5obw] {
        padding: 2rem;
    }
}

/* ===== СТИЛИ ДЛЯ СОСТОЯНИЙ ЗАГРУЗКИ ===== */

/* Когда уведомление появляется, плавно сдвигаем контент */
.charts-page.orientation-notification-active[b-lrjoub5obw] {
    padding-top: calc(1.25rem + 70px);
    transition: padding-top 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Скелетоны графиков адаптируются под размер уведомления */
.orientation-notification-active .chart-skeleton[b-lrjoub5obw] {
    margin-top: 0;
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ УТИЛИТАРНЫЕ КЛАССЫ ===== */

/* Класс для принудительного скрытия уведомления */
.hide-orientation-notification .orientation-notification[b-lrjoub5obw] {
    display: none !important;
}

/* Класс для показа уведомления только на мобильных */
.mobile-only-notification .orientation-notification[b-lrjoub5obw] {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only-notification .orientation-notification[b-lrjoub5obw] {
        display: block;
    }
}

/* ===== СТИЛИ ДЛЯ ОТЛАДКИ LAYOUT'A ===== */

/* Визуализация границ элементов в режиме отладки */
.debug-layout .charts-page > *[b-lrjoub5obw] {
    outline: 1px dashed rgba(255, 0, 0, 0.5);
}

.debug-layout .charts-grid > *[b-lrjoub5obw] {
    outline: 1px dashed rgba(0, 255, 0, 0.5);
}

.debug-layout .orientation-notification[b-lrjoub5obw] {
    outline: 2px solid rgba(0, 0, 255, 0.8);
}

/* ===== ПЕЧАТНЫЕ СТИЛИ ===== */

@media print {
    .orientation-notification[b-lrjoub5obw],
    .debug-controls[b-lrjoub5obw],
    .orientation-debug[b-lrjoub5obw] {
        display: none !important;
    }

    .charts-page[b-lrjoub5obw] {
        padding: 0;
    }

    .page-header[b-lrjoub5obw] {
        border-bottom: 2px solid #000;
        margin-bottom: 1rem;
    }
}

/* ===== СТИЛИ ДЛЯ СТАРЫХ БРАУЗЕРОВ ===== */

/* Fallback для браузеров без поддержки CSS Grid */
@supports not (display: grid) {
    .charts-grid .row[b-lrjoub5obw] {
        display: flex;
        flex-wrap: wrap;
    }

    .charts-grid [class*="col-"][b-lrjoub5obw] {
        flex: 1;
        min-width: 300px;
    }
}

/* Fallback для браузеров без поддержки CSS Custom Properties */
@supports not (--custom: property) {
    .charts-orientation-notification[b-lrjoub5obw] {
        background: #4CAF50;
    }

    .orientation-debug[b-lrjoub5obw] {
        background: #e3f2fd;
        border-color: #2196f3;
    }
}

/* ===== АНИМАЦИИ ДЛЯ УЛУЧШЕНИЯ UX ===== */

/* Плавное появление контента после загрузки */
@keyframes fadeInContent-b-lrjoub5obw {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.charts-grid[b-lrjoub5obw] {
    animation: fadeInContent-b-lrjoub5obw 0.6s ease-out;
}

/* Анимация для отладочных элементов */
.debug-controls[b-lrjoub5obw] {
    animation: fadeInContent-b-lrjoub5obw 0.3s ease-out 0.2s both;
}

.orientation-debug[b-lrjoub5obw] {
    animation: fadeInContent-b-lrjoub5obw 0.4s ease-out 0.1s both;
}

/* Отключение анимаций для пользователей с ограниченной подвижностью */
@media (prefers-reduced-motion: reduce) {
    .charts-grid[b-lrjoub5obw],
    .debug-controls[b-lrjoub5obw],
    .orientation-debug[b-lrjoub5obw] {
        animation: none;
    }
}

/* ===== ФИНАЛЬНЫЕ ОПТИМИЗАЦИИ ===== */

/* Убеждаемся, что все элементы правильно работают с box-sizing */
.charts-page[b-lrjoub5obw],
.charts-page *[b-lrjoub5obw],
.charts-page *[b-lrjoub5obw]::before,
.charts-page *[b-lrjoub5obw]::after {
    box-sizing: border-box;
}

/* Оптимизация производительности скролла */
.charts-page[b-lrjoub5obw] {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

    /* Предотвращение ошибок с float элементами */
    .charts-page[b-lrjoub5obw]::after,
    .page-header[b-lrjoub5obw]::after,
    .charts-grid[b-lrjoub5obw]::after {
        content: "";
        display: table;
        clear: both;
    }
/* /Pages/DetailedInfo.razor.rz.scp.css */
body[b-8ltydow5k1] {
}

.detailed-info-page[b-8ltydow5k1] {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
}

.detailed-info-manage-content[b-8ltydow5k1] {
    display: flex;
    flex-direction: column;
    gap: 1.1em;
    margin-top: 1em;
}

.detailed-table-content[b-8ltydow5k1] {
    max-height: 30em;
    overflow-y: auto;
}

.detailed-info-table[b-8ltydow5k1] {
    width: 100%;
    font-size: 0.85rem;
}

    .detailed-info-table thead[b-8ltydow5k1] {
        position: sticky;
        top: 0px;
        z-index: 10;
    }

    .detailed-info-table th[b-8ltydow5k1] {
        /*        border: 3px solid #ddd;*/
        padding: 10px;
        text-align: center;
        background-color: var(--base-color);
        color: white;
        min-width: 62px;
    }

    .detailed-info-table td[b-8ltydow5k1] {
        padding: 5px;
        text-align: center
    }

    .detailed-info-table tr[b-8ltydow5k1] {
        border: 1px solid #ddd;
    }

    .detailed-info-table thead tr[b-8ltydow5k1] {
        border: none;
    }

.detailed-filters-container[b-8ltydow5k1] {
    display: flex;
    gap: 6em;
    padding: .5rem;
    /*    padding: .625rem;*/
    box-sizing: border-box;
    background-color: #f8f9fa;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border-radius: .3em;
}

.filters-for-detailed[b-8ltydow5k1] {
    display: flex;
    flex-wrap: wrap;
    gap: 4em;
    /*    grid-template-columns: repeat(3, auto);*/
    /*    grid-template-rows: repeat(2, auto);*/
    /*    row-gap: 1.4em;*/
    /*    font-size: 1.25em;*/
}

.detailed-filter-block[b-8ltydow5k1] {
    display: flex;
    flex-direction: column;
    justify-content: left;
}

    .detailed-filter-block select[b-8ltydow5k1] {
        border: none;
        border-radius: .3rem;
        padding: .5rem;
    }

        .detailed-filter-block select:hover[b-8ltydow5k1] {
            cursor: pointer;
        }

    .detailed-filter-block button[b-8ltydow5k1] {
        color: black;
        padding: .4rem;
        background-color: #d7d7d7;
        border: none;
        border-radius: .3rem;
        min-width: 2.9rem;
    }

        .detailed-filter-block button:hover[b-8ltydow5k1] {
            background-color: #858383;
            color: white;
        }

        .detailed-filter-block button:active[b-8ltydow5k1] {
            background-color: #d7d7d7;
            color: black;
        }

.detailed-filter-sub-block[b-8ltydow5k1] {
    display: flex;
    flex-direction: row;
    gap: .4rem;
    align-items: center;
}

#sort-lines-container button[b-8ltydow5k1] {
    min-width: 12rem;
}

    #hour-select-block svg[b-8ltydow5k1],
    #sort-lines-container svg[b-8ltydow5k1],
    #sort-lines-container button:active svg[b-8ltydow5k1] {
        color: black;
    }

    #hour-select-block button:hover svg[b-8ltydow5k1],
    #sort-lines-container button:hover svg[b-8ltydow5k1] {
        color: white;
    }

#reset-all-filters svg[b-8ltydow5k1],
#reset-all-filters span[b-8ltydow5k1] {
    color: red;
}

#reset-all-filters:hover svg[b-8ltydow5k1],
#reset-all-filters:hover span[b-8ltydow5k1] {
    color: darkred;
    cursor: pointer;
}

#reset-all-filters:hover span[b-8ltydow5k1] {
    text-decoration: underline;
}


.archive-input[b-8ltydow5k1] {
    gap: .2rem;
    padding: .625rem;
    box-sizing: border-box;
    background-color: #f8f9fa;
    border-bottom: 2px solid var(--base-color, #228B22);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border-radius: .3em;
}

.date-and-arrows-container[b-8ltydow5k1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    transition: all 0.3s ease;
}

.date-input[b-8ltydow5k1] {
    padding: 5px;
    text-align: center;
    border-radius: 5px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

    .date-input label[b-8ltydow5k1] {
        font-size: 1.1rem;
        font-weight: bold;
        text-align: center;
    }

    .date-input input[b-8ltydow5k1] {
        border: none;
        height: 100%;
        font-size: 1.1rem;
        background-color: #f8f9fa;
    }

.refresh-data-btn[b-8ltydow5k1] {
    padding: 5px;
    text-align: center;
}

    .refresh-data-btn button[b-8ltydow5k1] {
        color: white;
        padding: 8px;
        background-color: #6088d6;
        border: none;
        border-radius: 4px;
    }

    .refresh-data-btn svg[b-8ltydow5k1] {
        color: white;
    }

    .refresh-data-btn button:hover[b-8ltydow5k1] {
        background-color: #4171d2;
    }

    .refresh-data-btn button:active[b-8ltydow5k1] {
        background-color: #2452af;
    }

.date-arrow-container[b-8ltydow5k1] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.date-arrow-button[b-8ltydow5k1] {
    min-width: 3rem;
    padding: 5px;
    text-align: center;
    border-radius: 5px;
}

    .date-arrow-button button[b-8ltydow5k1] {
        color: black;
        padding: 8px;
        background-color: #d7d7d7;
        border: none;
        border-radius: 4px;
        width: 100%;
    }

        .date-arrow-button button:hover[b-8ltydow5k1] {
            background-color: #858383;
            color: white;
        }

        .date-arrow-button button:active[b-8ltydow5k1] {
            background-color: #d7d7d7;
            color: black;
        }

.set-today-btn[b-8ltydow5k1] {
    padding: 5px;
    text-align: center;
}

    .set-today-btn button[b-8ltydow5k1] {
        color: black;
        padding: 8px;
        background-color: #d7d7d7;
        border: none;
        border-radius: 4px;
    }

        .set-today-btn button:hover[b-8ltydow5k1] {
            background-color: #858383;
            color: white;
        }

        .set-today-btn button:active[b-8ltydow5k1] {
            background-color: #d7d7d7;
            color: black;
        }

.manage-detailed-content[b-8ltydow5k1] {
    display: flex;
    flex-direction: column;
    gap: .625rem;
    padding: .5rem;
    background-color: #f8f9fa;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border-radius: .3em;
}

.detailed-info-head p[b-8ltydow5k1] {
    display: flex;
    flex-direction: column;
}

.span-block[b-8ltydow5k1] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.manage-detailed-info-btns[b-8ltydow5k1] {
    width: 100%;
    max-height: 4em;
    padding: min(0.6em, 3%);
    background: white;
    border: 1px solid #ddd;
}

.detailed-info-btns-content[b-8ltydow5k1] {
    display: flex;
    flex-direction: row;
    justify-content: left;
    gap: 1rem;
}

.detailed-info-btn[b-8ltydow5k1] {
    /*    display: */
    cursor: not-allowed;
    opacity: 10%;
    color: white;
    padding: 5px;
    background-color: #2a2a2a;
    border: none;
    /*    border-radius: 4px;*/
}

    .detailed-info-btn:hover[b-8ltydow5k1] {
        background-color: #1b1b1b;
        /*        color: white;*/
    }

    .detailed-info-btn:active[b-8ltydow5k1] {
        background-color: #5a5a5a;
        /*        color: black;*/
    }

    .detailed-info-btn.activate[b-8ltydow5k1] {
        cursor: pointer;
        opacity: 100%;
    }


.data-rows-btn[b-8ltydow5k1] {
    color: black;
    /*    padding: min(5px, 5%);*/
    background-color: white;
    /*    border: none;*/
    /*    width: 100%;*/
    cursor: pointer;
}

    .data-rows-btn:hover[b-8ltydow5k1] {
        background-color: var(--base-lighter);
    }

    .data-rows-btn:active[b-8ltydow5k1] {
        background-color: var(--base-darker);
        color: white;
    }

    .data-rows-btn.active[b-8ltydow5k1] {
        background-color: #90e390;
        color: var(--base-darker);
    }


.bring-me-back-btn[b-8ltydow5k1] {
    padding-top: 2em;
    text-align: center;
}

    .bring-me-back-btn button[b-8ltydow5k1] {
        text-align: center;
        color: #fff;
        padding: 8px;
        background-color: #228B22;
        border: none;
        border-radius: 4px;
    }

        .bring-me-back-btn button:hover[b-8ltydow5k1] {
            background: #3CB371;
        }

        .bring-me-back-btn button:active[b-8ltydow5k1] {
            background: #006400;
        }


@media (min-width: 1494px) {
    .detailed-info-page[b-8ltydow5k1] {
        max-width: 80dvw;
    }
}

/*@media (max-width: 767.98px) {
    .filters-for-detailed {
        display: flex;
        flex-direction: column;
        row-gap: 1.4rem;
        grid-gap: 3rem;
    }

    .detailed-filters-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: 27rem;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .filters-for-detailed {
        display: flex;
        flex-direction: row;
        row-gap: 1.4rem;
        grid-gap: 3rem;
    }

    .detailed-filters-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}*/

@media (max-width: 549.98px) {
    .archive-input[b-8ltydow5k1] {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .date-input[b-8ltydow5k1] {
        display: flex;
        flex-direction: column;
        align-items: center
    }

        .date-input input[b-8ltydow5k1] {
            width: 10.5rem;
        }
}

@media (min-width: 550px) {
    .archive-input[b-8ltydow5k1] {
        display: flex;
        align-items: center;
        min-height: 96px;
        position: sticky;
        top: 0;
        z-index: 15;
        padding: 8px 10px;
    }

    .date-and-arrows-container[b-8ltydow5k1] {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
}
/* /Pages/Downtimes.razor.rz.scp.css */
body[b-cv4jvuwc3n] {
}

.downtime-page[b-cv4jvuwc3n] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    /*    width: 80%;*/
    min-width: 62.5rem;
}

.main-downtime-content[b-cv4jvuwc3n],
.downtime-data-container[b-cv4jvuwc3n] {
    display: flex;
    flex-direction: column;
}

.main-downtime-content[b-cv4jvuwc3n] {
    gap: 2rem;
}

.downtime-data-container[b-cv4jvuwc3n] {
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border-radius: .3em;
}

.downtime-date[b-cv4jvuwc3n] {
    font-weight: bold;
}

.no-data-warning[b-cv4jvuwc3n] {
    position: relative;
    left: 2%;
    top: 2%;
}

.bar-container[b-cv4jvuwc3n] {
    width: 100%;
    border-radius: .3rem;
    overflow: hidden;
    height: 2rem;
}

.interval[b-cv4jvuwc3n] {
    height: 100%;
    border-radius: .8rem;
    display: inline-block;
}

.downtime-table[b-cv4jvuwc3n] {
    /*    align-self: center;*/
    border: 1px solid #ddd;
}

    .downtime-table th[b-cv4jvuwc3n], td[b-cv4jvuwc3n] {
        border: 1px solid #ddd;
        padding: .3rem;
    }

.bring-me-back-btn[b-cv4jvuwc3n] {
    padding-top: 2em;
    text-align: center;
}

    .bring-me-back-btn button[b-cv4jvuwc3n] {
        text-align: center;
        color: #fff;
        padding: .5rem;
        background-color: #228B22;
        border: none;
        border-radius: .3rem;
    }

        .bring-me-back-btn button:hover[b-cv4jvuwc3n] {
            background: #3CB371;
        }

        .bring-me-back-btn button:active[b-cv4jvuwc3n] {
            background: #006400;
        }


@media (min-width: 1494px) {
    .downtime-page[b-cv4jvuwc3n] {
        max-width: 80dvw;
    }
}

/*@media (min-width: 1200px) and (max-width: 1493.98px) {
    .downtime-page {
        width: 80vw;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .downtime-page {
        width: 90vw;
    }
}

@media (min-width: 576.98px) and (max-width: 767.98px) {
    .downtime-page {
        width: 120vw;
    }
}

@media (max-width: 576px) {
    .downtime-page {
        width: 160vw;
    }
}*/
/* /Pages/MainEngine.razor.rz.scp.css */
body[b-7jkhjeyf9d] {
}

.charts-page-container[b-7jkhjeyf9d] {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-right: 2rem;
    min-width: 55.5rem;
}

.charts-sectors[b-7jkhjeyf9d] {
    display: flex;
    flex-direction: row;
}

    .charts-sectors .chart_btn[b-7jkhjeyf9d] {
        border: 1px solid var(--base-color);
        border-top: none;
        border-radius: 0 0 5px 5px;
        background: white;
        color: black;
        padding: 10px 20px;
        cursor: pointer;
        min-width: 14.2rem;
    }

        .charts-sectors .chart_btn:hover[b-7jkhjeyf9d] {
            background: var(--base-forest-color);
            color: white;
        }

        .charts-sectors .chart_btn:active[b-7jkhjeyf9d] {
            background: var(--base-forest-color);
            color: white;
        }

.chart_btn.active[b-7jkhjeyf9d] {
    background: var(--base-color);
    color: #fff;
}

.charts-main-content[b-7jkhjeyf9d] {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.detailes-sectors summary[b-7jkhjeyf9d] {
    font-weight: bold;
    text-decoration: underline;
}

.manage-panel-btn[b-7jkhjeyf9d] {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: #f8f9fa;
    box-sizing: border-box;
    border-bottom: 2px solid var(--base-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border-radius: .3em;
}

    .manage-panel-btn button[b-7jkhjeyf9d] {
        color: white;
        padding: 8px;
        background-color: #6088d6;
        border: none;
        border-radius: 4px;
    }

        .manage-panel-btn button:hover[b-7jkhjeyf9d] {
            background-color: #4171d2;
        }

        .manage-panel-btn button:active[b-7jkhjeyf9d] {
            background-color: #2452af;
        }


@media (max-width: 729.98px) {
    .charts-sectors[b-7jkhjeyf9d] {
        flex-direction: column;
        max-width: 6rem;
    }
}


@media (min-width: 1494px) {
    .charts-page-container[b-7jkhjeyf9d] {
        width: 80dvw;
    }
}
/* /Pages/MainStat.razor.rz.scp.css */
body[b-siwnynv61t] {
}

.main-stat-page[b-siwnynv61t] {
    display: flex;
    flex-direction: column;
    gap: 7.2rem;
    padding-bottom: 2rem;
    max-width: 100dvw;
}

.message-block[b-siwnynv61t] {
    display: flex;
    justify-content: center;
    padding: .5rem;
    background-color: #efb6ae;
    border-radius: .3rem;
    border: 3px solid red;
    margin-bottom: -3rem;
}

.main-stat-content[b-siwnynv61t] {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.stat-tables-container[b-siwnynv61t] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem 1rem 1rem;
    background-color: #f8f9fa;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border-radius: .5em;
}

.table-wrapper[b-siwnynv61t] {
    position: relative;
    overflow-x: auto;
    max-width: 100%;
}

.main-data-table[b-siwnynv61t], .sectors-table[b-siwnynv61t] {
    font-size: 0.8rem;
    max-width: 100%;
}

    .main-data-table th[b-siwnynv61t],
    .main-data-table td[b-siwnynv61t],
    .sectors-table th[b-siwnynv61t],
    .sectors-table td[b-siwnynv61t] {
        border: 1px solid #ddd;
        padding: 5px;
        min-width: 3em;
        text-align: center;
    }

    .main-data-table tr:nth-child(even)[b-siwnynv61t],
    .sectors-table tr:nth-child(even)[b-siwnynv61t] {
        background-color: #f2f2f2;
    }

    .main-data-table a[b-siwnynv61t],
    .sectors-table a[b-siwnynv61t] {
        text-decoration: none;
        display: inline-block;
        color: black;
    }

        .main-data-table a:hover[b-siwnynv61t],
        .sectors-table a:hover[b-siwnynv61t] {
            text-decoration: underline;
            color: black;
        }

.table-caption-sticky[b-siwnynv61t] {
    font-size: 1.5em;
    padding: 0.5em;
    margin: 0;
    border-bottom: 2px solid #ddd;
    width: 100%;
    box-sizing: border-box;
}

th:first-child[b-siwnynv61t],
td:first-child[b-siwnynv61t] {
    position: sticky;
    left: 0;
    z-index: 3;
    background-color: white;
    box-shadow: 6px 0 20px -7px rgba(0,0,0,0.7);
}

tr:first-child th:first-child[b-siwnynv61t] {
    background-color: var(--base-color);
    border: 2px solid #000;
    box-shadow: 6px 0 20px -7px rgba(0,0,0,0.7);
}

.fixed-header[b-siwnynv61t] {
    background-color: var(--base-color);
    color: white;
    text-align: center;
}

.stat-sectors-container[b-siwnynv61t] {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.main-stat-header[b-siwnynv61t] {
    display: flex;
    align-items: center;
    gap: 1rem;
    /*    position: sticky;
    top: 0%;
    z-index: 10;*/
    background-color: white;
}

.stat-sectors[b-siwnynv61t] {
    display: flex;
    flex-direction: row;
    position: relative;
}

    .stat-sectors .sector_btn[b-siwnynv61t] {
        border: 1px solid var(--base-color);
        border-top: none;
        box-shadow: black 4px 4px;
        border-radius: 0 0 5px 5px;
        background: #fff;
        color: black;
        padding: 10px 20px;
        cursor: pointer;
        /*        min-width: 12rem;*/
    }

        .stat-sectors .sector_btn:hover[b-siwnynv61t] {
            background: var(--base-forest-color);
            color: #fff;
        }

        .stat-sectors .sector_btn:active[b-siwnynv61t] {
            background: var(--base-forest-darker);
            color: #fff;
        }

.sector-group[b-siwnynv61t] {
    /* с этим свойством список оборудования появляется, начиная от места участка, под ним */
    /*    position: relative;*/
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .sector-group.active .sector_btn[b-siwnynv61t] {
        background-color: var(--base-color);
        color: #fff;
    }

.detailes-sectors summary[b-siwnynv61t] {
    font-weight: bold;
    text-decoration: underline;
}

.tables-list[b-siwnynv61t] {
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    flex-direction: row;
    margin-top: 0.5rem;
    /*    width: 100%;*/
}

    .tables-list .table_btn[b-siwnynv61t] {
        /*        min-width: 9rem;*/
        width: 9rem;
        min-height: 5rem;
        border: 1px solid #006400;
        border-top: none;
        border-radius: 0 0 5px 5px;
        background: white;
        color: black;
        padding: 5px 10px;
        cursor: pointer;
        text-align: center;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .tables-list .table_btn:hover[b-siwnynv61t] {
            background: #2E8B57;
            color: #fff;
        }

        .tables-list .table_btn:active[b-siwnynv61t] {
            background: #556B2F;
            color: #fff;
        }

.table_btn.deactive[b-siwnynv61t] {
    cursor: not-allowed;
    opacity: 30%;
}

.table_btn.activate[b-siwnynv61t] {
    cursor: pointer;
}


.sync-scroll-control[b-siwnynv61t] {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

    .sync-scroll-control button[b-siwnynv61t] {
        color: black;
        padding: .5rem;
        background-color: #d7d7d7;
        border: none;
        border-radius: .25rem;
    }

        .sync-scroll-control button:hover[b-siwnynv61t] {
            background-color: #858383;
            color: white;
        }

        .sync-scroll-control button:active[b-siwnynv61t] {
            background-color: #d7d7d7;
            color: black;
        }


.archive-input[b-siwnynv61t] {
    gap: .2rem;
    padding: .7rem;
    box-sizing: border-box;
    background-color: #f8f9fa;
    box-sizing: border-box;
    border-bottom: 2px solid var(--base-color, #228B22);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border-radius: .3em;
}

.date-and-arrows-container[b-siwnynv61t] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    transition: all 0.3s ease;
}

.date-input[b-siwnynv61t] {
    padding: .4rem;
    text-align: center;
    border-radius: .4rem;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

    .date-input label[b-siwnynv61t] {
        font-size: 1.2rem;
        font-weight: bold;
        text-align: center;
    }

    .date-input input[b-siwnynv61t] {
        border: none;
        height: 100%;
        font-size: 1.4rem;
        background-color: #f8f9fa;
    }

.set-today-btn[b-siwnynv61t] {
    padding: 5px;
    text-align: center;
    grid-column: 4;
    grid-row: 1;
}

    .set-today-btn button[b-siwnynv61t] {
        color: black;
        padding: 8px;
        background-color: #d7d7d7;
        border: none;
        border-radius: 4px;
    }

        .set-today-btn button:hover[b-siwnynv61t] {
            background-color: #858383;
            color: white;
        }

        .set-today-btn button:active[b-siwnynv61t] {
            background-color: #d7d7d7;
            color: black;
        }

.refresh-data-btn[b-siwnynv61t] {
    padding: 5px;
    text-align: center;
    grid-column: 2;
    grid-row: 3;
}

    .refresh-data-btn button[b-siwnynv61t] {
        color: white;
        padding: 8px;
        background-color: #6088d6;
        border: none;
        border-radius: 4px;
    }

    .refresh-data-btn svg[b-siwnynv61t] {
        color: white;
    }

    .refresh-data-btn button:hover[b-siwnynv61t] {
        background-color: #4171d2;
    }

    .refresh-data-btn button:active[b-siwnynv61t] {
        background-color: #2452af;
    }

.date-arrow-container[b-siwnynv61t] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.date-arrow-button[b-siwnynv61t] {
    min-width: 3rem;
}

    .date-arrow-button:nth-child(1)[b-siwnynv61t] {
        padding: 5px;
        text-align: center;
        border-radius: 5px;
        grid-column: 3;
        grid-row: 1;
    }

    .date-arrow-button:nth-child(2)[b-siwnynv61t] {
        padding: 5px;
        text-align: center;
        border-radius: 5px;
        grid-column: 1;
        grid-row: 1;
    }

    .date-arrow-button button[b-siwnynv61t] {
        color: black;
        padding: 8px;
        background-color: #d7d7d7;
        border: none;
        border-radius: 4px;
        width: 100%;
    }

        .date-arrow-button button:hover[b-siwnynv61t] {
            background-color: #858383;
            color: white;
        }

        .date-arrow-button button:active[b-siwnynv61t] {
            background-color: #d7d7d7;
            color: black;
        }

.gap-6rem > *:nth-child(2)[b-siwnynv61t] {
    margin-bottom: 4rem;
}

@media (max-width: 1209.98px) {
    .stat-sectors[b-siwnynv61t] {
        flex-direction: column;
        margin-top: 1rem;
    }

    .sector-group[b-siwnynv61t] {
        flex-direction: row;
    }

    .tables-list[b-siwnynv61t] {
        top: 0;
        z-index: 15;
        left: 8rem;
        flex-direction: column;
    }

    /*.tables-list .table_btn {
            max-width: 7rem;
        }*/

    .stat-sectors .sector_btn[b-siwnynv61t] {
        max-width: 8rem;
    }
}

@media (min-width: 1210px) {
    .stat-sectors .sector_btn[b-siwnynv61t] {
        min-width: 12rem;
    }
}

@media (min-width: 1494px) {
    .main-stat-page[b-siwnynv61t] {
        max-width: 80dvw;
    }
}

@media (max-width: 549.98px) {
    .archive-input[b-siwnynv61t] {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .date-input[b-siwnynv61t] {
        display: flex;
        flex-direction: column;
        align-items: center
    }

        .date-input input[b-siwnynv61t] {
            width: 10.5rem;
        }
}

@media (min-width: 550px) {
    .archive-input[b-siwnynv61t] {
        display: flex;
        align-items: center;
        min-height: 96px;
        position: sticky;
        top: 0;
        z-index: 10;
        padding: 8px 10px;
        /*background-color: #f8f9fa;
        box-sizing: border-box;
        border-bottom: 2px solid var(--base-color, #228B22);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
        border-radius: .3em;*/
    }

    .date-and-arrows-container[b-siwnynv61t] {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
}
