/* [dcw-booking-status] shortcode
 * A thin full-width call-to-action banner. Its background colour follows the
 * booking tier currently on sale, using the same brand colours as the
 * [dcw-products] cards.
 *
 * Breakpoints matched to the theme's own primary breakpoints in custom.css
 * (large/nav-collapse at 1023px, phone at 460px).
 */
.dcw-booking-status {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 30px;
	box-sizing: border-box;
	padding: 18px 30px;
	text-align: center;
}

.dcw-booking-status .dcw-booking-status-text {
	margin: 0;
	color: #fff;
	font-size: 24px;
	line-height: 1.3;
}

.dcw-booking-status .dcw-booking-status-button {
	flex: 0 0 auto;
	box-sizing: border-box;
	padding: 10px 28px;
	/* The page content button - see .dcw-button in the theme */
	border: 3px solid #fff;
	border-radius: 8px;
	background-color: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 20px;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.dcw-booking-status .dcw-booking-status-button:hover,
.dcw-booking-status .dcw-booking-status-button:focus {
	background-color: rgba(255, 255, 255, .28);
	color: #fff;
	text-decoration: none;
}

/* Booking phase colours - matched to the [dcw-products] card colours. Only the
 * banner is coloured; the button is the white outlined page content button on
 * every phase, so it no longer takes a colour of its own. */
.dcw-booking-phase-seb {
	background-color: #8567a1;
}

.dcw-booking-phase-eb {
	background-color: #67a1a1;
}

.dcw-booking-phase-standard {
	background-color: #5586a7;
}

.dcw-booking-phase-soldout {
	background-color: #6b3b52;
}


/* Medium devices (matches theme's nav-collapse breakpoint) */
@media only screen and (max-width: 1023px) {

	.dcw-booking-status {
		gap: 10px 20px;
		padding: 16px 20px;
	}

	.dcw-booking-status .dcw-booking-status-text {
		font-size: 20px;
	}

	.dcw-booking-status .dcw-booking-status-button {
		padding: 8px 22px;
		font-size: 18px;
	}

}

/* Phone devices - stack the message above the button */
@media only screen and (max-width: 460px) {

	.dcw-booking-status {
		flex-direction: column;
		gap: 14px;
		padding: 16px 15px;
	}

	.dcw-booking-status .dcw-booking-status-text {
		font-size: 18px;
	}

	.dcw-booking-status .dcw-booking-status-button {
		width: 100%;
		white-space: normal;
	}

}
