body {
    font-family: sans-serif;
    font-size: 10pt;
}

header {
    margin-bottom: 0.5rem;
}

h1 {
    margin: 0;
}

h2 {
    margin: 0;
}

header.report-page {
    background-color: var(--secondary);
    color: white;
    font-weight: bold;
    font-size: larger;
    padding: 0.5rem;
}

header.report-page a {
    color: inherit;
}

header.report-page h2 {
    margin-bottom: 0.5rem;
}

/* Dashboard */

div.depot-wrapper {
    display: flex;
    flex-direction: row;
}

div.depot-column {
    flex-grow: 1;
    text-align: center;
    font-size: 54px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    color: dimgray;
}

div.depots-enter-active, div.depots-leave-active {
    transition: all 1s !important;
}

div.stats-tile {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px, rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px 0px;
    margin: 10px auto 10px auto;
    color: grey;
    width: 90%;
    border-radius: 4px;
    padding: 5px;
    text-align: left;
    font-size: 14px;
}

div.stats-tile h2.title {
    font-size: 35px;
    color: dimgray;
    padding-bottom: 10px;
}

div.stats-tile div.tile-row {
    font-size: 28px;
}

div.stats-tile div.updated > hr {
    border-top: 1px solid lightgrey;
    border-bottom-width: 0;
}

.depots-enter, .depots-leave-to {
    opacity: 0;
    transform: translateX(40);
}

.depots-list-move {
    transition: transform 1s;
}

/* Report Table Styles */
table.report .column-0 {
    text-align: left;
    white-space: nowrap;
}

table.report tbody td, tfoot td {
    text-align: right;
}

table.report .total {
    font-weight: bold;
}

table.report {
    border-collapse: collapse;
}

table.report th, td {
    padding: 0.25rem 0.25rem;
}

table.report thead th {
    cursor: pointer;
}

table.report thead, tfoot {
    color: var(--secondary);
    background-color: var(--primary);
}

table.report thead th {
    background-color: var(--primary);
    position: sticky;
    top: 0px;
    bottom: 0px;
}

table.report tbody tr:nth-child(even) {
    background-color: #ccc;
}

table.report tbody tr:nth-child(odd) {
    background-color: white;
}

table.report.can-break-down .column-0 {
    cursor: pointer;
}

table.report .breakdown-indicator {
    display: inline-block;
    width: 1em;
}

table.report .breakdown td:first-child {
    padding-left: 2em;
}

table.report tbody tr.breakdown {
    background-color: yellow;
}

table.report tr.breakdown:nth-child(even) td {
    background-color: rgba(204, 204, 204, 0.7);
}

table.report tr.breakdown:nth-child(odd) td {
    background-color: rgba(255, 255, 255, 0.7);
}

table.report tbody tr.previous-year {
    background-color: #eeeeee;
}

table.report tbody tr.previous-year td {
    border-bottom: 3px double #333333;
}
