/* counter */
#buttons {
    font-size: 4em;
    font-weight: 600;
    text-align: center;
}

#buttons button {
    padding: 5em 0.5em;
    border-radius: 2em;
    width: 45%;
    touch-action: manipulation;
}

#plus {
    border: 3px solid #afa;
}

#minus {
    border: 3px dotted #faa;
}

#buttons button:hover {
    background: #223;
}

#current {
    text-align: center;
    font-size: 1.3em;
    padding: 1em;
}

#current-total {
    font-weight: 800;
    font-size: 1.5em;
}

#running {
    text-align: center;
    padding: 5em 1em;
}

#running-total {
    font-weight: 600;
}

#reset {
    margin-top: 10em;
    text-align: center;
}

#reset button {
    background: #600;
    padding: 1em 3em;
    border-radius: 0.5em;
}

/* ngpvan form */
.at,
header.at-title,
.at fieldset legend,
.at label,
.at input::placeholder {
    color: inherit !important;
}

.at-inner {
    background-color: inherit !important;
}

/* tables */
table {
    border-collapse: collapse;
    width: 100%;
}

table tr:hover {
    background-color: var(--surface-tertiary);
}

table td, table th {
    font-size: var(--text-sm);
    padding: 2px;
    text-align: left;
    vertical-align: top;
}

table thead tr th {
    border-bottom: 2px solid var(--color-primary);
}

table tbody tr td {
    border-bottom: 1px solid var(--border-subtle);
}

/* todo: dark mode
@media (prefers-color-scheme: dark) {
    --color-
}
*/
