﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
table {
    border-collapse: collapse;
    width: 100%;
}

    table th, table td {
        border: 1px solid #ccc !important;
        padding: 4px;
        vertical-align: top;
        white-space: nowrap; /* глобально оставляем nowrap как раньше */
    }

/* Дополнительные стили для дат */
th:nth-child(3), th:nth-child(4),
td:nth-child(3), td:nth-child(4) {
    width: 200px;
    white-space: nowrap;
    text-align: center;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* Специальные стили только для страницы Tsykly */
/* Таблица для страницы Tsykly */
.tsykl-table {
    width: 100%;
    table-layout: fixed; /* фиксированная сетка */
    border-collapse: collapse;
}

    .tsykl-table th, .tsykl-table td {
        border: 1px solid #ccc;
        padding: 5px;
        vertical-align: top;
        white-space: normal; /* разрешаем перенос строк */
        word-break: break-word;
        overflow-wrap: break-word;
        text-align: left; /* выравнивание текста слева */
    }

        .tsykl-table th:nth-child(2), .tsykl-table td:nth-child(2),
        .tsykl-table th:nth-child(3), .tsykl-table td:nth-child(3) {
            width: 350px; /* фиксированная ширина столбцов */
        }

        .tsykl-table th:nth-child(4), .tsykl-table td:nth-child(4) {
            width: 200px; /* столбец действий */
            text-align: center;
        }
