/* BA Dentaltrade IMX – rendelési táblázat (VITA-megrendelőlap mintájára: sor = forma, oszlop = szín) */
.dtimx-order-table { margin: 0 0 1.5em; width: 100%; }
.dtimx-order-table__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1em; }
.dtimx-order-table__tabs .dtimx-tab { padding: 6px 14px; border: 1px solid rgba(0,0,0,.2); background: #fff; color: inherit; cursor: pointer; font-size: 13px; line-height: 1.4; border-radius: 3px; }
.dtimx-order-table__tabs .dtimx-tab.is-active { background: #222; border-color: #222; color: #fff; }
.dtimx-order-table__system-title { font-size: 1.1em; margin: 0 0 .5em; }
.dtimx-order-table__section { margin: 0 0 1.25em; }
.dtimx-order-table__section-title { font-size: .95em; margin: 0 0 .4em; font-weight: 600; }
.dtimx-order-table__price { font-weight: 400; color: #666; white-space: nowrap; }
.dtimx-order-table__scroll { overflow: auto; max-height: 75vh; border: 1px solid rgba(0,0,0,.15); }
.dtimx-order-table__grid { border-collapse: separate; border-spacing: 0; width: max-content; min-width: 100%; margin: 0; font-size: 12px; }
.dtimx-order-table__grid th,
.dtimx-order-table__grid td { padding: 3px 4px; border-right: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08); text-align: center; white-space: nowrap; background: #fff; }
.dtimx-order-table__grid thead th { position: sticky; top: 0; z-index: 2; background: #f2f2f2; font-weight: 700; }
.dtimx-order-table__grid tbody th,
.dtimx-order-table__grid tfoot th { position: sticky; left: 0; z-index: 1; background: #f7f7f7; font-weight: 700; text-align: left; }
.dtimx-order-table__grid thead th.dtimx-corner { left: 0; z-index: 3; text-align: left; font-weight: 400; color: #666; }
.dtimx-order-table__grid tbody tr:nth-child(even) td:not(.dtimx-total) { background: #fbfbfb; }
.dtimx-order-table__grid input[type="number"] { width: 3.2em; min-width: 0; height: auto; padding: 2px; text-align: center; margin: 0; font-size: 12px; -moz-appearance: textfield; }
.dtimx-order-table__grid input[type="number"]::-webkit-outer-spin-button,
.dtimx-order-table__grid input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dtimx-order-table__grid td.has-qty { background: #eaf5ea !important; }
.dtimx-order-table__grid td small { display: block; color: #666; font-size: 10px; }
.dtimx-order-table__grid td.dtimx-none { color: #ccc; }
.dtimx-order-table__grid td.dtimx-out { color: #aaa; background: #f6f6f6; }
.dtimx-order-table__grid td.dtimx-in:not(:has(input)) { color: #2a7a2a; }
.dtimx-order-table__grid .dtimx-total { background: #f2f2f2; font-weight: 700; min-width: 3em; }
.dtimx-order-table__grid tfoot td.dtimx-grand { background: #e4e4e4; }
.dtimx-order-table__actions { display: flex; align-items: center; justify-content: flex-end; gap: 1em; margin-top: .5em; }
.dtimx-order-table__sum { font-size: 1.05em; }
