﻿
.groups-table-container {
    margin-top: 1rem;
}

.groups-table {
    margin-top: 1rem;
    border-collapse: separate;
    border-spacing: 0 0.75rem;
    table-layout: fixed;
    height: 100%;
    width: 100%;
}

.groups-table tr {
    background-color: var(--root-input-bg-colour);
    border-radius: 0.6rem;
    border: 1px solid #000;
}

.groups-table tr td:first-child {
    border-top-left-radius: 5px;
    border-left: 1px solid var(--root-input-bg-colour) !important;
    border-bottom-left-radius: 5px;
}

.groups-table tr td:last-child {
    border-top-right-radius: 5px;
    border-right: 1px solid var(--root-input-bg-colour) !important;
    border-bottom-right-radius: 5px;
}

.groups-table tr td:nth-last-child(n+3) .cell {
    border-right: 1px solid black !important;
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.groups-table tr td:last-child .cell {
    display: flex;
    justify-content: end;
}

.groups-table tr td {
    vertical-align: middle;
    padding: 0.5rem;
}

.groups-table .cell-value {
    font-weight: bold;
    overflow-x: auto;
}

.groups-table .cell-title {
}

.groups-table .cell-button {
    background-color: var(--root-primary) !important;
    color: white;
    border-radius: 0.3rem;
    border-color: black;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 0;
    max-width: 9rem;
    width: 100%;
}

.groups-table .table-cell-angle-right-button {
    padding: 0 !important;
}

.groups-table .cell-angle-right-button {
    background-color: var(--root-primary) !important;
    cursor: pointer;
    color: white !important;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
    border-top-right-radius: 5px;
    border-right: 1px solid var(--root-primary) !important;
    border-bottom-right-radius: 5px;
    width: 1.3rem;
}

.groups-table .cell-angle-right-button a {
    color: white !important;
    height: 1rem;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.groups-table .cell-angle-right-button a:hover {
    text-decoration: none;
}

.groups-table .cell-icon-button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
}