:root {
    --tableHeadTextColor: var(--primaryTextColor);
    --tableHeaderBgColor: var(--baseBgColor);
    --tableBgColor: hsl(from var(--baseBgColor) h s calc(l + 73));
    --tableHoverBgColor: hsl(from var(--baseBgColor) h s calc(l + 78));
}

.table-container {
    position: relative;
    overflow-x: auto;
    border-radius: 0.25rem;
    height: 50vh;
    width: 100%;

    border-width: 1px;
    border-color: var(--tableHeaderBgColor);
    border-style: dotted;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* @media (min-width: 640px) {
    .table-container {
        height: 50vh;
    }
} */
/* @media (min-width: 1024px) {
    .table-container {
        height: 50vh;
    }
} */

.table {
    width: 100%;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-align: left;
}

.table thead {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;

    color: var(--tableHeadTextColor);
    background-color: var(--tableHeaderBgColor);
}


.table th {
    padding-inline: 1rem;
    padding-block: 0.75rem;

    font-size: 0.70rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    line-height: 1rem;
    border: 1px solid #ddd;

}

.table tbody tr {
    background-color: var(--tableBgColor);
    border-bottom-width: 1px;
    border-color: #d3d3d3;
    transition: 200ms ease-in background-color;
}

.table tbody tr:nth-child(even) {
    background-color: hsl(from var(--baseBgColor) h s calc(l + 70));

}

.table tbody tr:hover {
    background-color: var(--tableHoverBgColor);
}

.table td {
    padding-inline: 1rem;
    /* padding-block: 0.25rem; */
    /* padding-block: 0rem; */

    font-size: 0.65rem;
    line-height: 0.75rem;
    text-transform: capitalize;
    letter-spacing: 0.05rem;
    border-right: 1px solid #ddd;
}

.table-action-row {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    margin-inline: 1rem;
    margin-block: 1.5rem;
}


.table-highlight-blue,
.table-highlight-green,
.table-highlight-yellow,
.table-highlight-black,
.table-highlight-red {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.1rem;
    cursor: pointer;
}

.table-highlight-blue {
    color: var(--blueColor);
}

.table-highlight-green {
    color: hsl(from var(--greenColor) h s calc(l + 5));
}

.table-highlight-yellow {
    color: hsl(from var(--yellowColor) h s calc(l - 20));
}

.table-highlight-red {
    color: hsl(from var(--redColor) h s calc(l - 0));
}

.description-area {
    min-width: 180px;
    width: 100%;
    max-width: 350px;
    box-sizing: border-box;
}

.table-highlight-black {
    color: var(--black);
}

.table-height-full {
    max-height: 100vh;
}

.table-height-lg {
    max-height: 80vh;
}

.table-height-md {
    max-height: 60vh;
}

.table-height-sm {
    max-height: 40vh;
}

.table-height-xs {
    max-height: 20vh;
}


.table__card__section>div {
    flex: 3;
    min-width: 0px;
}

.table__card__section>aside {
    flex: 1;
    min-width: 200px;
    max-width: 24rem;
    min-height: auto;
}