.atc-ihg-booking {
	width: 100%;
}

.atc-ihg-booking__form {
	box-sizing: border-box;
	width: 100%;
	padding: 24px;
	border: 1px solid #d7dde5;
	border-radius: 20px;
	background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.atc-ihg-booking__list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.atc-ihg-booking__cluster {
	display: flex;
	flex: 1 1 100%;
	gap: 16px;
	align-items: flex-end;
}

.atc-ihg-booking--layout-horizontal .atc-ihg-booking__cluster--dates,
.atc-ihg-booking--layout-two-row .atc-ihg-booking__cluster--dates {
	flex: 2 1 360px;
}

.atc-ihg-booking--layout-horizontal .atc-ihg-booking__cluster--guests,
.atc-ihg-booking--layout-two-row .atc-ihg-booking__cluster--guests {
	flex: 3 1 420px;
}

.atc-ihg-booking--layout-horizontal .atc-ihg-booking__cluster--action {
	flex: 0 1 auto;
	justify-content: flex-end;
}

.atc-ihg-booking--layout-two-row .atc-ihg-booking__cluster--action,
.atc-ihg-booking--layout-three-row .atc-ihg-booking__cluster--action {
	flex: 1 1 100%;
	justify-content: center;
}

.atc-ihg-booking--layout-three-row .atc-ihg-booking__cluster--dates,
.atc-ihg-booking--layout-three-row .atc-ihg-booking__cluster--guests {
	flex: 1 1 100%;
}

.atc-ihg-booking__group {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 8px;
	min-width: 110px;
}

.atc-ihg-booking__label {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #1f2937;
}

.atc-ihg-booking__input {
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	background-color: #ffffff;
	color: #0f172a;
	font-size: 16px;
	line-height: 1.4;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.atc-ihg-booking__cluster--guests .atc-ihg-booking__input {
	text-align: center;
	text-align-last: center;
}

.atc-ihg-booking__input[type="date"] {
	position: relative;
	padding-right: 14px;
	padding-left: 14px;
	text-align: center;
	text-align-last: center;
	appearance: none;
	-webkit-appearance: none;
}

.atc-ihg-booking__input[type="date"]::-webkit-date-and-time-value {
	text-align: center;
}

.atc-ihg-booking__input[type="date"]::-webkit-datetime-edit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0;
	color: inherit;
}

.atc-ihg-booking__input[type="date"]::-webkit-datetime-edit-fields-wrapper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0;
}

.atc-ihg-booking__input[type="date"]::-webkit-datetime-edit-text,
.atc-ihg-booking__input[type="date"]::-webkit-datetime-edit-month-field,
.atc-ihg-booking__input[type="date"]::-webkit-datetime-edit-day-field,
.atc-ihg-booking__input[type="date"]::-webkit-datetime-edit-year-field {
	padding: 0;
	color: inherit;
}

.atc-ihg-booking__input[type="date"]::-webkit-calendar-picker-indicator {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.atc-ihg-booking__input[type="date"]::-webkit-clear-button,
.atc-ihg-booking__input[type="date"]::-webkit-inner-spin-button {
	display: none;
}

.atc-ihg-booking__input:focus {
	border-color: #CEB4A9;
	outline: none;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.atc-ihg-booking__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	min-height: 52px;
	padding: 12px 28px;
	border: 1px solid transparent;
	border-radius: 999px;
	background-color: #CEB4A9;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.atc-ihg-booking__submit:hover,
.atc-ihg-booking__submit:focus {
	background-color: #3D3935;
	transform: translateY(-1px);
	outline: none;
}

@media (max-width: 1024px) {
	.atc-ihg-booking__cluster--action {
		flex: 1 1 100%;
		justify-content: stretch;
	}

	.atc-ihg-booking__submit {
		width: 100%;
	}
}

@media (max-width: 767px) {
	.atc-ihg-booking__form {
		padding: 20px;
		border-radius: 16px;
	}

	.atc-ihg-booking__cluster {
		flex-direction: column;
		align-items: stretch;
	}

	.atc-ihg-booking__cluster--guests {
		flex-direction: row;
		align-items: flex-end;
	}

	.atc-ihg-booking__group {
		min-width: 100%;
	}

	.atc-ihg-booking__cluster--guests .atc-ihg-booking__group {
		min-width: 0;
	}
}
