/* Matches the site's GenerateBlocks styles: pill buttons, dashed dividers, theme colors. */

.flight-test-panel {
	margin-top: 1.5rem;
}

.flight-test-panel p {
	margin-bottom: 1rem;
}

.flight-test-panel .flight-test-button,
.flight-test-panel .flight-test-button:visited {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1.3rem;
	border: 0;
	border-radius: 30px;
	background-color: var(--accent-4);
	color: var(--accent);
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.flight-test-panel .flight-test-button:hover,
.flight-test-panel .flight-test-button:focus {
	background-color: var(--accent-4);
	color: var(--accent);
	transform: translate3d(0, -5px, 0);
}

.flight-test-error {
	padding: 0.75rem 1rem;
	border-left: 4px solid var(--accent-4);
	background-color: var(--base-2);
}

.flight-test-downloads {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	border-top: 2px dashed var(--base-2);
}

.flight-test-downloads li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
	border-bottom: 2px dashed var(--base-2);
}

.flight-test-file {
	font-weight: 700;
}

.flight-test-size,
.flight-test-account {
	color: var(--contrast-3);
	font-size: 0.9em;
}

.flight-test-account a {
	color: var(--accent-4);
}

/* Short pages: keep the footer at the bottom of the window instead of above white space. */
body.flight-test-page {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
}

body.flight-test-page > #page {
	flex: 1 0 auto;
	width: 100%;
}
