/* Слой интерфейса: только правила, применяемые на снятых страницах эталона.
   Значения измерены 2026-11-10 (.dev/verify/CONTRACT.md §5, §9). */
.bg-black {
    background-color: black !important;
}

.pointer {
    cursor: pointer;
}

/* Эталон снимает вертикальный скролл модалки у самого оверлея. */
.modal {
    overflow-y: auto;
}

.fileinput-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    font-size: 200px !important;
    direction: ltr;
    cursor: pointer;
}

.table-yellow,
.table-yellow > th,
.table-yellow > td {
    background-color: #fdf59a;
}

.table-yellow th,
.table-yellow td,
.table-yellow thead th,
.table-yellow tbody + tbody {
    border-color: #ff0;
}

.table-hover .table-yellow:hover {
    background-color: #fff3cd;
}

.table-hover .table-yellow:hover > td,
.table-hover .table-yellow:hover > th {
    background-color: #fff3cd;
}

/* #Go_Top скрыт inline-атрибутом style="display:none" до первого скролла — так же, как на эталоне. */
#Go_Top {
    position: fixed;
    bottom: 20px;
    left: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 10px;
    font-size: 24px;
}

#Go_Bottom {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 10px;
    font-size: 24px;
}

@media screen and (max-width: 600px) {
    table.responsive {
        border: 0;
    }

    table.responsive caption {
        font-size: 1.3em;
    }

    table.responsive thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table.responsive tr {
        background-color: #f8f8f8;
        border: 1px solid #ddd;
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
        padding: .35em;
    }

    table.responsive td {
        border-bottom: 1px solid #ddd;
        display: block;
        text-align: right;
    }

    table.responsive td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    table.responsive td:last-child {
        border-bottom: 0;
    }
}
