/* PC short booking form (homepage CF7) — matches “PC – Form đặt hẹn ngắn”. */

.sec-reviews:has(.wm-sf) {
	background-color: #f4f7fb;
}

.wm-sf {
	color: #1b2430;
}

.wm-sf__card {
	display: flex;
	align-items: center;
	gap: 52px;
	width: 100%;
	background: #fff;
	border-radius: 32px;
	padding: 52px 56px;
	box-sizing: border-box;
	box-shadow: 0 24px 60px rgba(5, 117, 227, 0.12);
}

.wm-sf__intro {
	width: 330px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.wm-sf__logo {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	object-fit: cover;
	box-shadow: 0 8px 20px rgba(5, 117, 227, 0.3);
}

.wm-sf__title {
	margin: 0;
	font-size: 44px;
	line-height: 1.1;
	font-weight: 800;
	color: #0575e3;
	letter-spacing: 0;
}

.wm-sf__sub {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	font-weight: 400;
	color: #3d4b5c;
}

.wm-sf__div {
	width: 1px;
	align-self: stretch;
	background: #e3e9f1;
	flex-shrink: 0;
}

.wm-sf__form,
.wm-sf .wpcf7,
.wm-sf .wpcf7 form,
.wm-sf .wm-sf__fields,
.wm-sf .wm-sf__row {
	width: 100%;
}

.wm-sf__form {
	flex: 1 1 0%;
	min-width: 0;
}

.wm-sf .wpcf7 {
	margin: 0;
}

.wm-sf .wpcf7 form,
.wm-sf .wm-sf__fields {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
}

.wm-sf .wpcf7 form > p {
	margin: 0;
}

.wm-sf .wm-sf__row > p {
	display: contents;
}

.wm-sf .f-field br {
	display: none;
}

.wm-sf__row {
	display: grid;
	gap: 18px;
}

.wm-sf__row--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wm-sf__row--cta {
	display: flex;
	align-items: stretch;
	gap: 18px;
}

.wm-sf__row--cta .f-field {
	flex: 1 1 0%;
	width: auto;
	min-width: 0;
}

.wm-sf .f-field {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: 56px;
	margin: 0;
	border-radius: 999px;
	background: #f4f7fb;
	border: 1.5px solid transparent;
	box-sizing: border-box;
	font-weight: 500;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wm-sf .f-field:hover {
	background: #edf3fa;
}

.wm-sf .f-field:focus-within {
	background: #fff;
	border-color: #0575e3;
	box-shadow: 0 0 0 4px rgba(5, 117, 227, 0.12);
}

.wm-sf .f-field:has(.wpcf7-not-valid) {
	border-color: #e55353;
	background: #fff;
}

.wm-sf .f-icon {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 22px;
	height: 22px;
	color: #0575e3;
	background-color: currentColor;
	display: block;
	pointer-events: none;
	z-index: 1;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 22px 22px;
	mask-size: 22px 22px;
}

.wm-sf .f-icon svg,
.wm-sf .f-chev svg {
	display: none;
}

.wm-sf .f-icon--person {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}

.wm-sf .f-icon--phone {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.wm-sf .f-icon--mail {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

.wm-sf .f-icon--service {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3c-2.5 0-4 2-4 4.5 0 3 1.5 5 2 8 .4 2.6.9 5.5 2.5 5.5S9.5 17 12 17s2.9 4 4.5 4 2.1-2.9 2.5-5.5c.5-3 2-5 2-8C21 5 19.5 3 17 3c-2 0-3 1-5 1S9 3 7 3z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3c-2.5 0-4 2-4 4.5 0 3 1.5 5 2 8 .4 2.6.9 5.5 2.5 5.5S9.5 17 12 17s2.9 4 4.5 4 2.1-2.9 2.5-5.5c.5-3 2-5 2-8C21 5 19.5 3 17 3c-2 0-3 1-5 1S9 3 7 3z'/%3E%3C/svg%3E");
}

.wm-sf .f-icon--note {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6'/%3E%3C/svg%3E");
}

.wm-sf .f-chev {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	color: #6b7a8c;
	background-color: currentColor;
	display: block;
	pointer-events: none;
	z-index: 1;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 18px 18px;
	mask-size: 18px 18px;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.wm-sf .f-field .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
	height: 100%;
}

.wm-sf .f-input,
.wm-sf .f-field input:not([type="checkbox"]):not([type="submit"]),
.wm-sf .f-field select {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	height: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	color: #1b2430;
	padding: 0 22px 0 54px;
	border-radius: 999px;
	box-sizing: border-box;
	line-height: normal;
	box-shadow: none;
}

.wm-sf .f-field select {
	cursor: pointer;
	padding-right: 48px;
}

.wm-sf .f-input::placeholder,
.wm-sf .f-field input::placeholder {
	color: #6b7a8c;
	opacity: 1;
}

.wm-sf .f-field select option:first-child {
	color: #6b7a8c;
}

.wm-sf .wm-sf__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.wm-sf .wpcf7-submit,
.wm-sf input.f-btn,
.wm-sf input.wpcf7-submit {
	appearance: none;
	-webkit-appearance: none;
	font: inherit;
	border: 0;
	height: 56px;
	width: 220px;
	flex-shrink: 0;
	padding: 0 48px 0 28px;
	border-radius: 999px;
	background-color: #0575e3;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 22px center;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 56px;
	box-shadow: 0 10px 24px rgba(5, 117, 227, 0.32);
	transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.wm-sf .wpcf7-submit:hover,
.wm-sf input.wpcf7-submit:hover {
	background-color: #0575e3;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(5, 117, 227, 0.4);
}

.wm-sf .wpcf7-submit:active {
	transform: scale(0.97);
	box-shadow: 0 6px 14px rgba(5, 117, 227, 0.3);
}

.wm-sf .wpcf7-submit:disabled,
.wm-sf .wpcf7-submit[disabled],
.wm-sf input.wpcf7-submit:disabled,
.wm-sf input.wpcf7-submit[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.wm-sf .wpcf7-submit:focus-visible {
	outline: 3px solid #ffc72c;
	outline-offset: 3px;
}

.wm-sf .wpcf7-spinner {
	position: absolute;
}

.wm-sf .wpcf7-acceptance,
.wm-sf .wpcf7-acceptance .wpcf7-list-item {
	display: block;
	width: 100%;
	margin: 0;
	text-align: left;
}

.wm-sf .wpcf7-acceptance label {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding-left: 8px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
	color: #3d4b5c;
	cursor: pointer;
}

.wm-sf .wpcf7-acceptance input[type="checkbox"],
.wm-sf input.f-check {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 22px;
	width: 22px !important;
	height: 22px !important;
	min-width: 22px;
	min-height: 22px;
	margin: 0;
	padding: 0;
	border-radius: 7px;
	background: #f4f7fb;
	border: 1.5px solid #9fb3cb;
	cursor: pointer;
	accent-color: #0575e3;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.wm-sf .wpcf7-acceptance input[type="checkbox"]:checked,
.wm-sf input.f-check:checked {
	background-color: #0575e3;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	border-color: #0575e3;
}

.wm-sf .wpcf7-acceptance input[type="checkbox"]:focus-visible {
	outline: 3px solid #ffc72c;
	outline-offset: 2px;
}

.wm-sf .wpcf7-list-item-label {
	flex: 1;
	line-height: 1.45;
}

.wm-sf .wpcf7-list-item-label a {
	color: #0575e3;
	text-decoration: underline;
}

.wm-sf .wpcf7-list-item-label a:hover {
	color: #1b2430;
}

.wm-sf .wpcf7-not-valid-tip {
	position: absolute;
	left: 20px;
	top: calc(100% + 4px);
	z-index: 2;
	font-size: 12px;
	line-height: 1.3;
	color: #e55353;
}

.wm-sf .wpcf7-response-output {
	margin: 0;
	padding: 10px 14px;
	border-radius: 12px;
	font-size: 14px;
}

@media (max-width: 991px) {
	.wm-sf__card {
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
		padding: 32px 24px;
		border-radius: 24px;
	}

	.wm-sf__intro {
		width: 100%;
	}

	.wm-sf__div {
		width: 100%;
		height: 1px;
	}

	.wm-sf__title {
		font-size: 36px;
	}
}

@media (max-width: 767px) {
	.wm-sf__card {
		padding: 28px 20px;
		gap: 22px;
	}

	.wm-sf__title {
		font-size: 32px;
	}

	.wm-sf__row--2,
	.wm-sf__row--cta {
		display: grid;
		grid-template-columns: 1fr;
	}

	.wm-sf .wpcf7-submit,
	.wm-sf input.wpcf7-submit {
		width: 100%;
	}
}

/* form-datlich.php wraps the card in .b-form — neutralize theme leftovers. */
.sec-reviews .b-form:has(.wm-sf) {
	background: transparent;
	box-shadow: none;
	padding: 0;
	margin: 0;
}

.sec-reviews .b-form:has(.wm-sf) label {
	font-weight: inherit;
	margin-bottom: 0;
}

.sec-reviews .b-form .wm-sf input:not([type="submit"]):not([type="checkbox"]) {
	height: 100%;
	line-height: normal;
}

.sec-reviews .b-form .wm-sf input[type="submit"] {
	width: 220px;
	height: 56px;
}

@media (max-width: 767px) {
	.sec-reviews .b-form .wm-sf input[type="submit"] {
		width: 100%;
	}
}

.page-book:has(.wm-sf) {
	background-color: #f4f7fb;
}

.page-book .form:has(.wm-sf) {
	max-width: none;
}
