(.venv) tim@pi-bell:~/membership-dashboard/hugo $ cat static/css/main.css
/* ---------------------------------------------------------
   Membership Dashboard - Site CSS
   --------------------------------------------------------- */

:root {
    --site-max-width: 1000px;
}

/* ---------------------------------------------------------
   General
   --------------------------------------------------------- */

body {
    background-color: #f8f9fa;
    color: #212529;
}

.site-main {
    width: 100%;
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
}

.site-header-inner,
.site-navigation-inner,
.site-footer-inner {
    width: 100%;
    max-width: var(--site-max-width);
    margin: 00 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}

.site-header-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
/* ---------------------------------------------------------
   Members list
   --------------------------------------------------------- */

.members-page {
    width: 100%;
}

.members-page #members {
    width: 100%;
    background-color: #ffffff;
    border-collapse: collapse;
}

.members-page #members th,
.members-page #members td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    text-align: left;
}

.members-page #members th {
    white-space: nowrap;
}

.members-page #members td {
    white-space: nowrap;
}


/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 0;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-logo {
    height: 50px;
    width: auto;
}

.site-identity {
    text-align: right;
    font-size: 0.9rem;
    color: #6c757d;
}

.site-identity strong {
    display: block;
    color: #212529;
}


/* ---------------------------------------------------------
   Navigation
   --------------------------------------------------------- */

.site-navigation {
    background-color: #212529;
}

.site-navigation .nav-link {
    color: #ffffff;
    padding: 0.75rem 1rem;
}

.site-navigation .nav-link:hover,
.site-navigation .nav-link:focus {
    background-color: #343a40;
    color: #ffffff;
}

.site-navigation .nav-link.active {
    background-color: #495057;
}


.site-navigation-inner {

    display: flex;
    flex-direction: row;
    align-items: center;
}

/* ---------------------------------------------------------
   Main content
   --------------------------------------------------------- */


.page-title {
    margin-bottom: 1.5rem;
}


/* ---------------------------------------------------------
   Tables
   --------------------------------------------------------- */

.table-container {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: hidden;
}

.table-container table {
    margin-bottom: 0;
}

.table-container th {
    white-space: nowrap;
}


/* ---------------------------------------------------------
   Member detail
   --------------------------------------------------------- */

.member-detail {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1.5rem;
}

.member-detail p {
    margin-bottom: 0.75rem;
}


/* ---------------------------------------------------------
   Forms
   --------------------------------------------------------- */

.form-card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1.5rem;
}


/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.site-footer {
    background-color: #212529;
    color: #adb5bd;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer a {
    color: #ffffff;
}

.site-footer a:hover {
    color: #dee2e6;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 767.98px) {

    .site-header-inner,
    .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-identity {
        text-align: left;
    }

    .site-logo {
        height: 40px;
    }
}

/* ---------------------------------------------------------
   Payments allocations 
   --------------------------------------------------------- */

.payment-allocation-details {
    padding: 0.5rem 0;
}

.payment-allocation-details summary {
    cursor: pointer;
    padding: 0.35rem 0.5rem;
}

.payment-allocation-details table {
    font-size: 0.9rem;
}

.payment-allocation-details thead th {
    font-weight: 600;
}

.payment-allocation-details tbody td {
    vertical-align: middle;
}

.payment-allocation-cell {
    background-color: #f8f9fa;
    padding: 0.5rem 1rem 0.75rem 2rem;
}

.payment-line-status {
    width: 180px;
}

.allocation-table {
    width: 100%;
    table-layout: fixed;
}

.allocation-table th:nth-child(1),
.allocation-table td:nth-child(1) {
    width: 28%;
}

.allocation-table th:nth-child(2),
.allocation-table td:nth-child(2) {
    width: 12%;
}

.allocation-table th:nth-child(3),
.allocation-table td:nth-child(3) {
    width: 10%;
}

.allocation-table th:nth-child(4),
.allocation-table td:nth-child(4) {
    width: 10%;
}

.allocation-table th:nth-child(5),
.allocation-table td:nth-child(5) {
    width: 15%;
}

.allocation-table th:nth-child(6),
.allocation-table td:nth-child(6) {
    width: 15%;
}

.allocation-table th:nth-child(7),
.allocation-table td:nth-child(7) {
    width: 10%;
}
