﻿.app-table-container {
    width: 100%;
}
.app-table {
    width:100%;
}
.app-table-layout-fixed {
    table-layout: fixed;
}
    .app-table caption {
        padding: 0.5rem 1rem;
        color: var(--app-table-caption-color);
        text-align: center;
        caption-side: top;
        width: 100%;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    .app-table thead {
        background-color: #f9fafb;
        font-weight: 600;
    }

    .app-table th, td {
        padding: 0.75rem 1rem;
        text-align: left;
        border-bottom: 1px solid #e0e0e0;
    }

    .app-table tr:nth-child(even) {
        background-color: #f6f6f6;
    }

    .app-table tr:hover {
        background-color: #eef2f7;
    }


.app-compact-table {
    border-collapse: collapse;
    font-size: 13px;
    width: 100%;
}

    .app-compact-table td,
    .app-compact-table th {
        padding: 4px 6px;
        line-height: 1.2;
        border: none;
    }
.app-rwd-grid {
    box-sizing: border-box;
    border-collapse: collapse;
    display: grid;
    grid-template-columns: var(--app-rwd-table-label-width, 150px) 1fr;
    column-gap: 1rem;
    grid-auto-rows: minmax(1.15rem, auto);
    align-items: stretch;
    width: 100%;
    font-size: 0.8750rem;
    padding-top: 10px;
    row-gap: 5px;
}

.app-rwd-grid2x {
    box-sizing: border-box;
    border-collapse: collapse;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    grid-auto-rows: minmax(1.15rem, auto);
    align-items: stretch;
    width: 100%;
    max-width: 800px;
    font-size: 0.8750rem;
    padding-top: 10px;
    row-gap: 5px;
}
.app-rwd-grid-caption {
}
.app-rwd-grid-label {
    font-weight: 600; /* modern standard */
    text-align: right; /* aligns nicely in a grid */
}
.app-rwd-grid-value {
    font-weight: 400; /* modern standard */

/*    background: #f7f7f7;

    border: 1px solid #ddd;
    border-radius: 4px;
*/
}

.app-rwd-money-grid {
    box-sizing: border-box;
    border-collapse: collapse;
    display: grid;
    grid-template-columns: var(--app-rwd-table-label-width, 125px) var(--app-rwd-table-label-width, 125px);
    column-gap: 1rem;
    grid-auto-rows: minmax(1.15rem, auto);
    align-items: stretch;
    width: 100%;
    font-size: 0.8750rem;
    padding-top: 10px;
    row-gap: 5px;
}

.app-rwd-money-summary-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
}
.app-rwd-money-summary-content {
    width: 260px;
}
.app-rwd-money-summary-header {
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    padding-bottom: 5px;
    border-bottom: 2px solid #000;
    margin-bottom: 5px;
    width:100%;
}

.app-rwd-money-grid-label {
    display: flex;
    align-items: flex-end;
    font-weight: 400;
    text-align: right;
}

.app-rwd-money-grid-value {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    font-weight: 400;
    text-align: right;
    /*    background: #f7f7f7;
     border: 1px solid #ddd;
    border-radius: 4px;
*/
}
.app-rwd-money-grid-total {
    margin-top: .25rem;
    border-top: 1px solid #ddd;
    font-weight: 600;
}

.app-rwd-compact-grid {
    border-collapse: collapse;
    display: grid;
    grid-template-columns: var(--app-rwd-table-label-width, 150px) 1fr;
    column-gap: 1rem;
    grid-auto-rows: minmax(1.15rem, auto);
    align-items: stretch;
    width: 100%;
    font-size: 0.8750rem;
    padding-top: 10px;
    padding-bottom: 10px;
    row-gap: 5px;
}

.app-rwd-compact-grid-label {
    display: flex;
    align-items: flex-end;
    font-weight: 400;
    text-align: right;
}

.app-rwd-compact-grid-value {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    font-weight: 400;
    text-align: right;
}
