/**
 * @version     CVS: 1.0.7
 * @package     com_roh
 * @copyright   2026 ALV Consultancy Limited
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 * @author      Adrian Voysey <support@voyseys.uk>
 */

/* Layout toggle */
.roh-layout-toggle {
    display: flex;
    gap: 4px;
}

.hoe-roh-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.hoe-roh-wrapper table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    font-size: 13px;
}

.hoe-roh-wrapper th,
.hoe-roh-wrapper td {
    white-space: nowrap;
    padding: 6px 12px;
    vertical-align: middle;
}

.hoe-roh-wrapper thead th {
    background: #173F32;
    color: #FFFFFF;
    font-weight: 600;
    text-align: left;
}

.hoe-roh-wrapper tbody tr:nth-child(odd) {
    background: #F5F3ED;
}

.hoe-roh-wrapper tbody tr:nth-child(even) {
    background: #FFFFFF;
}

.hoe-roh-wrapper th:first-child,
.hoe-roh-wrapper td:first-child {
    position: sticky;
    left: 0;
    min-width: 55px;
    background: #E9E8DF;
    color: #173F32;
    font-weight: 700;
    z-index: 2;
}

.hoe-roh-wrapper thead th:first-child {
    background: #173F32;
    color: #FFFFFF;
    z-index: 3;
}

.hoe-roh-wrapper td {
    border-bottom: 1px solid #E3E3DF;
}
