/* Страницы раздела «Помощь» (/helping). Общие стили таблиц — в table-scroll.css. */

.helping-table td:first-child {
    width : 70%;
}

/* Ссылки на документ и видео */
.help-document {
    display         : inline-flex;
    align-items     : center;
    max-width       : 230px;
    padding         : 2px 0;
    color           : #2674a5;
    text-decoration : none;
}

.help-document .bi {
    flex         : none;
    margin-right : 6px;
    font-size    : 16px;
}

/* Статус: иконка глаза и текст */
.help-status {
    display     : inline-flex;
    align-items : center;
    white-space : nowrap;
}

.help-status::before {
    content        : "\f341"; /* bi-eye */
    display        : inline-block;
    margin-right   : 7px;
    font-family    : 'bootstrap-icons';
    font-style     : normal;
    line-height    : 1;
    vertical-align : -1px;
}

.help-status-published {
    color : #28703d;
}

.helping-status-hidden {
    color : #a33434;
}

.helping-status-hidden::before {
    content : "\f340"; /* bi-eye-slash */
}

/* Шапка админки: «Вернуться» + заголовок */
.helping-admin-title {
    display     : flex;
    align-items : center;
}

@media (max-width: 767px) {
    .helping-admin-toolbar-actions {
        flex-wrap : wrap;
        gap       : 8px;
    }

    .helping-admin-toolbar-actions > .btn {
        margin-left : 0;
    }
}

@media (max-width: 1024px) {
    .helping-table .help-document span {
        display : none;
    }

    .helping-table .help-document .bi {
        margin-right : 0;
    }
}
