/* Eventswala Booking Fields */

.ewb-booking {
	margin: 0 0 18px;
	clear: both;
}

.ewb-booking .ewb-field {
	margin: 0 0 14px;
	display: block;
}

.ewb-booking label {
	display: block;
	font-weight: 600;
	font-size: 15px;
	margin-bottom: 6px;
	line-height: 1.3;
}

.ewb-booking .ewb-icon {
	margin-right: 4px;
}

.ewb-booking abbr.required {
	color: #d61d29;
	border: none;
	text-decoration: none;
}

.ewb-booking .ewb-input,
.ewb-booking .ewb-select {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font-size: 15px;
	line-height: 1.4;
	border: 1px solid #d9dee3;
	border-radius: 8px;
	background-color: #fff;
	color: #1f2429;
}

.ewb-booking .ewb-select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url( "data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E" );
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 18px 18px;
	padding-right: 40px;
}

.ewb-booking .ewb-input:focus,
.ewb-booking .ewb-select:focus {
	outline: none;
	border-color: #d61d29;
	box-shadow: 0 0 0 3px rgba( 214, 29, 41, 0.12 );
}

.ewb-booking .ewb-invalid {
	border-color: #d61d29 !important;
	background-color: #fff7f7;
}

/* Date + time side by side */
.ewb-booking .ewb-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.ewb-booking .ewb-row .ewb-field {
	flex: 1 1 200px;
	min-width: 0;
}

@media ( max-width: 480px ) {
	.ewb-booking .ewb-row {
		gap: 0;
	}

	.ewb-booking .ewb-row .ewb-field {
		flex: 1 1 100%;
	}
}

/* Availability message */
.ewb-booking .ewb-pincode-msg {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.ewb-booking .ewb-pincode-msg.is-ok {
	color: #1a8f4c;
}

.ewb-booking .ewb-pincode-msg.is-error {
	color: #d61d29;
}

.ewb-booking .ewb-pincode-msg.is-checking {
	color: #6b7280;
	font-weight: 500;
}

.ewb-booking .ewb-field-error {
	display: block;
	margin-top: 5px;
	font-size: 13px;
	font-weight: 600;
	color: #d61d29;
}

/* "Don't know pincode?" finder */
.ewb-booking .ewb-pincode-toggle {
	display: inline-block;
	margin-top: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
}

.ewb-booking .ewb-pincode-finder {
	display: block;
	margin-top: 8px;
	padding: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fafafa;
}

.ewb-booking .ewb-pincode-finder[hidden] {
	display: none;
}

.ewb-booking .ewb-area-list {
	display: block;
	max-height: 190px;
	overflow-y: auto;
	margin-top: 8px;
}

.ewb-booking .ewb-area-item {
	display: block;
	width: 100%;
	text-align: left;
	padding: 8px 10px;
	margin: 0 0 4px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	color: #1f2429;
	cursor: pointer;
}

.ewb-booking .ewb-area-item:hover,
.ewb-booking .ewb-area-item:focus {
	border-color: #d61d29;
	background: #fff5f5;
}

.ewb-booking .ewb-area-item em {
	color: #6b7280;
	font-style: normal;
	font-size: 13px;
}

.ewb-booking .ewb-area-empty {
	display: block;
	padding: 8px 2px;
	font-size: 14px;
	color: #6b7280;
}

.ewb-booking .ewb-area-empty[hidden] {
	display: none;
}

/* Price summary */
.ewb-booking .ewb-summary {
	margin-top: 16px;
	border-top: 1px solid #e5e7eb;
}

.ewb-booking .ewb-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 10px 0;
	font-size: 15px;
	border-bottom: 1px solid #f0f1f3;
}

.ewb-booking .ewb-summary__row--total {
	font-weight: 700;
	font-size: 16px;
	border-bottom: none;
}

/* Slot select with nothing left for the chosen date */
.ewb-booking .ewb-select.ewb-no-slots {
	border-color: #d61d29;
}
