/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* the columns of the grids may be narrower than their content */
.resumable-demo,
.resumable-demo__case {
	grid-template-columns: minmax(0, 1fr);
}

.resumable-demo {
	display: grid;
	gap: 1.25rem;
}

.resumable-demo__case {
	display: grid;
	align-content: start;
	gap: 0.85rem;
	max-width: 48rem;
}

.resumable-demo__settings {
	display: grid;
	gap: 0.6rem;
	max-width: 48rem;
}

.resumable-demo__hint {
	margin: 0;
	color: var(--muted, inherit);
	font-size: 0.875rem;
}

.resumable-demo__check {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-size: 0.9rem;
}

.resumable-demo__received {
	display: grid;
	gap: 0.6rem;
	max-width: 60rem;
}

.resumable-demo__received > h3 {
	margin: 0;
	font-size: 1.05rem;
}

.resumable-demo__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.resumable-demo__table th,
.resumable-demo__table td {
	padding: 0.35em 0.6em;
	border-bottom: 1px solid var(--antilia-theme-border, #c4c9d4);
	text-align: left;
	vertical-align: top;
}

.resumable-demo__number {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

/* a SHA-256 is long: it wraps anywhere on a phone */
.resumable-demo__digest {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.8rem;
	overflow-wrap: anywhere;
}
