.ebw-booking-widget {
	display: flex;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
}
.ebw-booking-widget *,
.ebw-booking-widget *::before,
.ebw-booking-widget *::after {
	box-sizing: border-box;
}

.ebw-card {
	position: relative;
	width: 380px;
	max-width: 100%;
	background: #ffffff;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	font-family: inherit;
}

.ebw-card-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.08;
	pointer-events: none;
	z-index: 0;
}

.ebw-card > * {
	position: relative;
	z-index: 1;
}

/* Tabs */
.ebw-tabs {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.ebw-tab {
	appearance: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: #8b8b8b;
	background: transparent;
	padding: 10px 14px;
	border-radius: 10px;
	transition: background-color 0.25s ease, color 0.25s ease;
	line-height: 1;
	white-space: nowrap;
}

.ebw-tab.ebw-active {
	background-color: #F9D648;
	color: #1c1c1c;
}

.ebw-tab-divider {
	width: 1px;
	height: 18px;
	background: #e6e6e6;
	display: inline-block;
}

/* Fields */
.ebw-fields {
	display: flex;
	flex-direction: column;
}

.ebw-field-row {
	position: relative;
	display: flex;
	align-items: center;
	border-bottom: 1px solid #e2e2e2;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 18px;
}

.ebw-field-row:last-of-type {
	margin-bottom: 22px;
}

.ebw-field,
.ebw-select {
	width: 100%;
	border: none;
	outline: none;
	background: transparent;
	font-family: inherit;
	font-size: 15px;
	color: #2b2b2b;
	padding: 0;
	appearance: none;
}

.ebw-select {
	cursor: pointer;
}

.ebw-field::placeholder {
	color: #a8a8a8;
	opacity: 1;
}

.ebw-field-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #c9c9c9;
	margin-left: 8px;
	flex-shrink: 0;
}

.ebw-caret {
	width: 0;
	height: 0;
	margin-left: auto;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid #c9c9c9;
}

.ebw-field-row--time {
	justify-content: space-between;
}

.ebw-time-label {
	font-size: 15px;
	color: #6f6f6f;
}

.ebw-time-selects {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ebw-select--time {
	width: auto;
	min-width: 44px;
	text-align: right;
	color: #2b2b2b;
	font-weight: 500;
}

.ebw-select--time:last-child {
	color: #bdbdbd;
}

/* Button */
.ebw-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background-color: #1C1C1C;
	color: #ffffff;
	text-decoration: none;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	padding: 16px 20px;
	border-radius: 10px;
	transition-duration: 0.3s;
	transition-property: background-color, color;
	cursor: pointer;
}

.ebw-button:hover {
	background-color: #F9D648;
	color: #1c1c1c;
}

.ebw-button-icon {
	display: inline-flex;
	align-items: center;
	margin: 0 8px;
}

.ebw-button-icon svg,
.ebw-button-icon i {
	width: 1em;
	height: 1em;
	font-size: 16px;
}

@media (max-width: 480px) {
	.ebw-card {
		width: 100%;
	}
	.ebw-tabs {
		gap: 4px;
	}
	.ebw-tab {
		padding: 8px 10px;
		font-size: 13px;
	}
}

/* ---------------------------------------------------
 * Layout style variants (Content tab > General > Style)
 * ------------------------------------------------- */

/* Compact = shorter overall height (default) */
.ebw-style-compact .ebw-card {
	padding: 16px;
}
.ebw-style-compact .ebw-tabs {
	margin-bottom: 12px;
}
.ebw-style-compact .ebw-tab {
	padding: 7px 11px;
	font-size: 13px;
}
.ebw-style-compact .ebw-field-row {
	padding-top: 6px;
	padding-bottom: 6px;
	margin-bottom: 8px;
}
.ebw-style-compact .ebw-field-row:last-of-type {
	margin-bottom: 14px;
}
.ebw-style-compact .ebw-field,
.ebw-style-compact .ebw-select,
.ebw-style-compact .ebw-time-label {
	font-size: 13px;
}
.ebw-style-compact .ebw-button {
	padding: 10px 16px;
	font-size: 14px;
}

/* Classic = original, more spacious height */
.ebw-style-classic .ebw-card {
	padding: 24px;
}
.ebw-style-classic .ebw-tabs {
	margin-bottom: 20px;
}
.ebw-style-classic .ebw-tab {
	padding: 10px 14px;
	font-size: 14px;
}
.ebw-style-classic .ebw-field-row {
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 18px;
}
.ebw-style-classic .ebw-field-row:last-of-type {
	margin-bottom: 22px;
}
.ebw-style-classic .ebw-button {
	padding: 16px 20px;
	font-size: 15px;
}
