/* Shared button colors for the website. */
#content .coor-statistics-table thead button[data-sort]:not([hidden]) {
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	font: inherit;
	text-align: left;
	white-space: nowrap;
	cursor: pointer;
}

#content .coor-statistics-table thead button[data-sort]:hover {
	text-decoration: underline;
}

body :where(button, input[type="submit"], input[type="reset"], input[type="button"], a.button, .wp-block-button__link) {
	background-color: #174821;
	border-color: #174821;
	color: #fff;
}

body :where(button, input[type="submit"], input[type="reset"], input[type="button"], a.button, .wp-block-button__link):where(:hover, :active) {
	background-color: #245b31;
	border-color: #245b31;
	color: #fff;
}

#content .coor-recipient-queue .coor-recipient-button {
	background: #174821;
	border: 1px solid #b18a45;
	border-radius: 5px;
	color: #fff;
}

#content .coor-recipient-queue .coor-recipient-button:hover {
	background: #245b31;
	color: #fff;
}

#content .coor-recipient-queue .coor-recipient-button:focus-visible {
	outline: 2px solid #174821;
	outline-offset: 3px;
}

.coor-recipient-actions,
.coor-recipient-note {
	margin-block: 1rem;
}

.coor-recipient-note label {
	display: block;
	font-weight: bold;
	color: #174821;
}

.coor-recipient-note textarea {
	display: block;
	width: 100%;
	margin-block: .4rem .8rem;
}

#content .coor-recipient-queue .coor-ballot-white {
	background: #fff;
	color: #111;
}

#content .coor-recipient-queue .coor-ballot-white:hover {
	background: #f4f1eb;
	color: #111;
}

#content .coor-recipient-queue .coor-ballot-black {
	background: #111;
	color: #fff;
}

#content .coor-recipient-queue .coor-ballot-black:hover {
	background: #303030;
}

#content .coor-recipient-queue .coor-ballot-heading {
	display: flex;
	align-items: center;
	gap: .4em;
	text-align: center;
	color: #891726;
}

.coor-ballot-heading::before,
.coor-ballot-heading::after {
	content: "";
	flex: 1;
	border-top: 3px solid #174821;
}

.coor-ballot-history {
	margin-top: 1.5rem;
}

.coor-ballot-history summary {
	cursor: pointer;
	padding-block: .35rem;
}

.coor-ballot-contact {
	display: inline-block;
	max-width: 100%;
	margin-inline-start: .65em;
	overflow-wrap: anywhere;
}

/* Keep the shared hover color above theme and component overrides. */
body :is(button:enabled, input[type="submit"]:enabled, input[type="reset"]:enabled, input[type="button"]:enabled, a.button, a[role="button"], .wp-block-button__link, .ast-button, #ast-scroll-top):hover {
	background-color: #891726 !important;
	border-color: #891726 !important;
	color: #fff !important;
}

body :is(button, input[type="submit"], input[type="reset"], input[type="button"], a.button, a[role="button"], .wp-block-button__link, .ast-button):focus-visible {
	outline: 2px solid #891726;
	outline-offset: 3px;
}
