.table-container {
    display: table;
    width: 100%;
}

.table-container.bottom-space {
    margin-bottom: 20px;
}

.table_name {
    color: var(--col-company-name);
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    transition: background-color 200ms;
}

.table_name.background {
    background: var(--col-table-header)
}

.table_name div {
    flex: 1;
    padding: 8px;
    font-size: 14px;
}

.table_name span {
    background: var(--col-table-header) var(--img-data-box-collapse) no-repeat center center;
    flex-grow: 0;
    flex-shrink: 0;
    width: 38px;
    height: 35px;
    border-radius: 8px;
}

.table_injected {
    color: var(--col-company-name);
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow: hidden;
}

.table_injected a {
    color: var(--col-company-name);
}

.table_injected a:hover {
    color: var(--col-nav) !important;
}

.table_injected.table_x3n a {
    color: var(--col-nav) !important;
    text-decoration: none;
}

.table_injected.table_x3n a:hover {
    color: var(--col-nav) !important;
    text-decoration: underline;
}

.table_injected.table_x3n thead td {
    cursor: default;
}

.table_injected.table_x3n tr.placeholder {
    visibility: hidden;
}

/* Tariff 2027 (/prices): Tariff_x3n from json/price_list.json, plan columns centered, first row = prices */
.table-tariff .table_injected td:first-child {
    width: 40%;
}

.table-tariff .table_injected td:not(:first-child) {
    text-align: center !important;
}

.table-tariff .table_injected tbody tr:first-child td:not(:first-child),
.table-tariff .table_injected tbody tr:first-child td:not(:first-child) * {
    color: var(--col-nav);
    font-weight: 400;
}

/* Tariff 2026 (/prices): plans from json/price_list_adv.json, click on a plan opens its description */
.table-tariff-2026 .table_injected td:first-child {
    width: 70%;
}

.table-tariff-2026 .plan-name {
    width: 15%;
}

.table-tariff-2026 .price {
    width: 15%;
    text-align: right;
    white-space: nowrap;
}

.table-tariff-2026 tr.plan {
    cursor: pointer;
}

.table-tariff-2026 tr.plan.rowHover:hover td {
    background-color: var(--col-news-open-bg) !important;
}

.table-tariff-2026 tr.plan .link {
    color: var(--col-nav);
}

.table-tariff-2026 tr.plan:hover .link {
    color: var(--col-nav);
    text-decoration: underline;
}

.table-tariff-2026 tr.plan .fold {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 10px;
    vertical-align: 2px;
    border-right: 2px solid var(--col-nav);
    border-bottom: 2px solid var(--col-nav);
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
}

.table-tariff-2026 tr.plan.open td {
    border-top: 1px solid var(--col-open-line);
    background-color: var(--col-news-open-bg);
    font-weight: 600;
}

.table-tariff-2026 tr.plan.open .fold {
    transform: rotate(45deg);
}

.table-tariff-2026 tr.plan-content td {
    padding: 0;
    background-color: var(--col-news-open-bg);
}

.table-tariff-2026 tr.plan-content .plan-content-inner {
    display: none;
    padding: 4px 8px 12px 28px;
    line-height: 1.4;
    overflow: hidden;
}

.table-tariff .annotation td,
.table-tariff-2026 .annotation td {
    font-style: italic;
}

.table-tariff .conditions,
.table-tariff-2026 .conditions {
    margin: 12px 0 4px;
    padding-left: 24px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--col-company-name);
}

.table-tariff .conditions li,
.table-tariff-2026 .conditions li {
    margin-bottom: 8px;
}

.table-tariff .conditions a,
.table-tariff-2026 .conditions a {
    color: var(--col-nav);
    text-decoration: none;
}

.table-tariff .conditions a:hover,
.table-tariff-2026 .conditions a:hover {
    color: var(--col-nav);
    text-decoration: underline;
}

.table_injected td img.check-mark {
    width: 16px;
    height: 12px;
    vertical-align: middle;
}

.table_injected thead tr {
    box-shadow: 0px -1px 0px var(--col-table-header) inset !important;
}

.table_injected thead td {
    /*font-size: 14px;*/
    font-weight: 700;
    cursor: pointer;
    /*box-shadow: 0px -1px 0px var(--col-table-header) inset !important;*/
    /*background-color: var(--col-table-header);*/
}

.table_injected thead td.sort-on {
    background-color: var(--col-table-sort-on);
    /*opacity: 1;*/
}

.table_injected tbody td.sort-on {
    background-color: var(--col-table-sort-on);
}

.table_injected td {
    position: relative;
    padding: 8px;
    font-weight: 400;
}

.table_injected td .askterisk {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 6px;
    height: 6px;
    background-color: var(--col-company-name-opacity-06);
    -webkit-mask-image: url(/img/svg/askterisk_01.svg);
    mask-image: url(/img/svg/askterisk_01.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.table_injected .color_bar_container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.table_injected .color_bar {
    width: 100%;
    height: max-content;
    font-size: 6px;
}

.table_injected .color_bar .left {
    background-color: #995555;
    border-radius: 4px 0px 0px 4px;
    float: right;
}

.table_injected .color_bar .right {
    background-color: #559955;
    border-radius: 0px 4px 4px 0px;
}

.table_injected .vertikal_line {
    border-left: 1px solid #222222;
    height: 13px;
}

.table_injected td.nowrap {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 0px;
}

.table_injected tfoot td {
    -webkit-user-select: none;
    /* Chrome/Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    user-select: none;
}

.table_injected tfoot .save-to-scv {
    font-size: 12px;
    font-weight: 600;
}

.table_injected .rowColumnsSums {
    font-weight: bold;
}

.table_injected .rowHover {
    box-shadow: 0px -1px 0px var(--col-table-header) inset !important;
}

.table_injected .rowHover:hover td {
    background-color: var(--col-table-header) !important;
}

.table_injected tfoot {
    padding: 12px;
    font-size: 14px;
}

.table_injected a.disabled {
    color: gray;
    pointer-events: none;
    cursor: default;
}

.table_injected .annotation td {
    font-size: 11px;
    text-align: right;
    color: var(--col-company-name-opacity-06);
}

.table_injected .annotation td a {
    color: inherit;
}

.tooltipTableInject {
    display: none;
    position: absolute;
    pointer-events: all;
    border: 1px solid gray;
    border-radius: 5px;
    color: #202020;
    box-shadow: 2px 2px 10px #202020;
    z-index: 100000;
    background-color: #fefbd8;
}

.tooltipTableInject table {
    font-size: 14px;
    border-collapse: collapse;
}

.tooltipTableInject th {
    padding: 6px 8px;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
}

.tooltipTableInject td {
    padding: 2px 8px 2px 8px;
    font-weight: 400;
}

.tooltipTableInject td:not(:first-child) {
    /* select all columns except the first one */
    font-weight: 600;
}

.tooltipTableInject tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.05);
}

.tooltipTableInject tr:nth-child(2) td {
    padding-top: 5px;
}

.tooltipTableInject tr:last-child td {
    padding-bottom: 8px;
}

.tooltipTableInject_cellOver {
    opacity: 1;
}

.tooltipTableInject_noselect {
    opacity: 1;
}