/* Event Registration — header on every plugin admin screen. */

.evreg-admin-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-inline-start: -20px;
	padding: 10px 20px;
	background: #fff;
	border-bottom: 1px solid #c3c4c7;
}
.evreg-admin-header-logo {
	display: inline-flex;
	line-height: 0;
}
.evreg-admin-header-logo img {
	width: auto;
	height: 36px;
	max-width: 100%;
}
.evreg-admin-header-version {
	color: #646970;
}
.evreg-admin-header-donate {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-inline-start: auto;
	padding: 5px 12px;
	border: 1px solid #c94f25;
	border-radius: 4px;
	color: #a23d1a;
	font-weight: 600;
	text-decoration: none;
}
.evreg-admin-header-donate:hover,
.evreg-admin-header-donate:focus {
	background: #fdf1ec;
	color: #a23d1a;
}
.evreg-admin-header-donate .dashicons {
	color: #c94f25;
}

@media screen and (max-width: 782px) {
	.evreg-admin-header {
		margin-inline-start: -10px;
		padding: 10px;
	}
}

/* On phones the admin bar scrolls with the page and WordPress leaves room
   for it above #wpbody. The header comes first, so it takes that room. */
@media screen and (max-width: 600px) {
	.evreg-admin-header {
		padding-top: 56px;
	}
	#wpcontent > .evreg-admin-header ~ #wpbody {
		padding-top: 0;
	}
}
