﻿.binary-hidden {
    display: none !important;
}

.binary-calc-container {
    overflow-x: auto;
    width: 100%;
}

.binary-table {
    border-collapse: collapse;
    margin: 0 auto;
    table-layout: fixed;
    width: max-content;
}

    .binary-table td {
        width: 30px;
        min-width: 30px;
        max-width: 30px;
        height: 35px;
        text-align: center;
        vertical-align: middle;
        box-sizing: border-box;
    }

.binary-cell-invisible {
    color: transparent !important;
    user-select: none;
}


.binary-row-helper td {
    color: #868e96;
    height: 20px;
}

.binary-cell-sign {
    font-weight: bold;
    color: #495057;
}

.binary-row-line td {
    border-bottom: 2px solid #495057;
}

.binary-row-result td {
    font-weight: bold;
    color: #212529;
}

.binary-cell-dot {
    font-weight: bold;
    color: #6c757d !important;
    width: 1px !important;
    min-width: 1px !important;
    max-width: 1px !important;
}

.binary-explanation-box {
}

.binary-explanation-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 5px;
}

.binary-step-item {
    margin-bottom: 12px;
}

.binary-step-formula {
    font-weight: bold;
    background-color: var(--bg-gray-darker);
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 5px;
}

.binary-cell-with-dot {
    position: relative;
}

    .binary-cell-with-dot::after {
        content: ".";
        position: absolute;
        right: -4px;
        bottom: 0;
        font-weight: bold;
        color: #212529;
    }

.binary-table td.binary-div-vertical-line {
    border-right: 2px solid #495057;
}

.binary-table td.binary-div-horizontal-line {
    border-bottom: 2px solid #495057;
}

.binary-table td.binary-row-line-cell {
    border-bottom: 1px solid #6c757d;
}
