.nffat-date-rows {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nffat-date-row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 16px;
	padding: 18px 0;
}

.nffat-date-row + .nffat-date-row {
	border-top: 1px solid var(--wp--preset--color--line);
}

.nffat-date-row .nffat-course-card__sticker {
	position: static;
	width: 60px;
	height: 60px;
	background: var(--wp--preset--color--magenta);
	transform: rotate(-6deg);
}

.nffat-date-row .nffat-course-card__day {
	font-size: 22px;
	line-height: 22px;
}

.nffat-date-row .nffat-course-card__month {
	font-size: 10px;
}

.nffat-date-row.is-fully-booked .nffat-course-card__sticker {
	background: var(--wp--preset--color--ink-muted);
}

.nffat-date-row__info > p {
	margin: 0;
}

.nffat-date-row__title {
	font-weight: 800;
	line-height: 1.3;
}

.nffat-date-row__when {
	font-weight: 700;
}

.nffat-date-row__seats {
	font-size: 14px;
	color: var(--wp--preset--color--ink-muted);
}

.nffat-date-row__full {
	font-weight: 700;
	color: var(--wp--preset--color--magenta-700);
}

.nffat-date-row__price {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 22px;
}

@media (max-width: 599px) {
	.nffat-date-row {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 8px 14px;
	}

	.nffat-date-row__action {
		grid-column: 1 / -1;
	}

	.nffat-date-row__action .nffat-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.nffat-dialog[open] .nffat-date-row {
		animation: nffat-date-row-in 400ms var(--nffat-ease-out) both;
		animation-delay: calc(min(sibling-index(), 8) * 40ms);
	}
}

@keyframes nffat-date-row-in {
	from {
		opacity: 0;
		translate: 0 10px;
	}
}

.nffat-date-row__waiting {
	grid-column: 2 / -1;
	display: flex;
	align-items: center;
	gap: 16px;
}

.nffat-date-row__illustration {
	flex: none;
	width: 160px;
	height: auto;
}

.nffat-dialog__illustration {
	display: block;
	width: 200px;
	height: auto;
	margin: 16px auto 0;
}

@media (max-width: 599px) {
	.nffat-date-row__waiting {
		grid-column: 1 / -1;
		flex-direction: column;
		text-align: center;
	}
}
