:root {
    --header-bg: #802c59;
    --header-text: #ffffff;
    --footer-bg: #511c39;
    --footer-text: #f0f0f0;
    --button-bg:  #802c59;
    --button-hover: #c64012;
    --button-text: #ffffff;
    --body-bg: #f2f2f2; 
    --container-bg: #ffffff;
    --text-color: #333333;
    --border-color: #dddddd;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
    background-color: var(--body-bg);
    color: var(--text-color);
}
header {
    background-color: var(--header-bg);
    color: var(--header-text);
    padding: 10px 20px;
}
header h1 {
    margin: 0;
    font-size: 1.5rem;
}
header .date {
    font-size: 0.8rem;
    opacity: 0.8;
}

.logo-container {
    text-align: center;
    margin-top: 10px;
}
.logo-container img {
    max-height: 50px;
}

.container {
    max-width: 900px;
    margin: 20px auto;
    background: var(--container-bg);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.button-bar {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}
.button-bar a {
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, box-shadow 0.3s;
    color: var(--button-text);
    background-color: var(--button-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.button-bar a:hover {
    background-color: var(--button-hover);
}

.button-bar a.summary,
.button-bar a.section,
.button-bar a.login {
}
.button-bar a.login {
    margin-left: auto;
    display: flex;
}

.charts,
.tables {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    text-align: center;
}

.table {
    flex: 1;
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
    background: var(--container-bg);
    border: 1px solid var(--border-color);
}
th, td {
    border: 1px solid var(--border-color);
    padding: 6px 8px;
    text-align: center;
}
th {
    background-color: #802c59;
    color: var(--button-text);
}
td.align-right { text-align: right; }
td.align-left { text-align: left; }
td.align-topleft { text-align: left; vertical-align: top; }
.table td a {
    color: var(--button-bg);
    text-decoration: none;
}
.table td a:hover {
    color: var(--button-hover);
    text-decoration: underline;
}
.separator {
    margin: 30px 0;
    border-top: 2px solid var(--button-bg);
}

footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    text-align: center;
    font-size: 12px;
    padding: 10px 0;
}

h2 span.sub_h2 {
    font-size: 0.8rem;
    color: #898787;
    font-style: italic;
    font-weight: normal;
}

.red {
  color: #d9534f; /* Bootstrap-style red */
}
.orange {
  color: #f0ad4e; /* Bootstrap-style orange */
}
.green {
  color: #5cb85c; /* Bootstrap-style green */
}

.status-default {
  color: #333; /* Default text colour */
}
