/* "Which of your events is this for?" - the shared question on the contact form, the suggest-suppliers
   wizard and favourites (markup: LMM::Event::Booking->occasionQuestionHtml, behaviour: js/occasion_picker.js) */

.occasion-picker {
	margin-bottom: 30px;
}
.occasion-picker .occasion-q {
	font-size: 22px;
	line-height: 1.3;
	margin: 0 0 14px;
}
.occasion-picker .occasion-when-q {
	margin-top: 26px;
}
.occasion-picker .occasion-options {
	display: grid;
	gap: 10px;
}
.occasion-picker .occasion-option {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 10px;
	padding: 12px 14px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	font-weight: normal;
	cursor: pointer;
}
.occasion-picker .occasion-options .occasion-option {
	margin: 0;
}
.occasion-picker .occasion-option:hover {
	border-color: #bbb;
}
.occasion-picker .occasion-option.is-chosen {
	border-color: #C06014;
	background: #fdf8f4;
	box-shadow: 0 0 0 1px #C06014 inset;
}
.occasion-picker .occasion-option .option-input {
	flex: none;
	top: 0;
	margin: 1px 0 0;
}
.occasion-picker .occasion-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.occasion-picker .occasion-text b {
	line-height: 1.3;
}
.occasion-picker .occasion-text small {
	color: #666;
	font-size: 13px;
	line-height: 1.4;
	margin-top: 2px;
	overflow-wrap: anywhere;
}
.occasion-picker .occasion-when-fields {
	margin: -2px 0 14px;
	padding: 4px 14px 14px;
	display: grid;
	gap: 6px;
}
.occasion-picker .occasion-when-fields label {
	margin: 6px 0 0;
	font-weight: 600;
}
/* shown only until an event is ticked: without it, nothing on the page says the date, time and venue
   can be set for these suppliers alone, so a customer with the same party at another venue sees no way in */
.occasion-picker .occasion-hint {
	margin: 15px 0 0;		/* the site rhythm (gutter/2) - a caption tucked under the cards read as touching them */
	color: #666;
	font-size: 13px;
	line-height: 1.4;
}
.occasion-picker .occasion-venue-toggle {
	justify-self: start;
	margin-top: 6px;
	font-size: 13px;
	text-decoration: underline;
}
.occasion-picker .occasion-venue-fields {
	display: grid;
	gap: 6px;
}
.occasion-picker .occasion-past-note {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 6px;
	background: #fcf8e3;
	color: #6b5a1e;
}
.occasion-picker .occasion-error {
	margin-top: 10px;
	padding: 8px 10px;
	border-radius: 4px;
	background: #f2dede;
	color: #a94442;
}
