/**
 * Randevu Oluştur route integration and accessible form states.
 * Source layout rules are supplied by home-source.css.
 */

.appointment-page .page-header {
	background-image: url("../images/treatments/page-header-bg.jpg");
}

.appointment-page {
	display: flex;
	flex-direction: column;
}

.appointment-page > section {
	order: var(--appointment-section-order, 0);
}

.appointment-page .core-feature-image::after {
	background-image: url("../images/treatments/core-feature-bg-image.png");
}

.appointment-page .our-benefits-item.box-3 .benefits-item-image figure {
	background-image: url("../images/treatments/our-benefits-bg-shape-image.svg");
	-webkit-mask-image: url("../images/treatments/our-benefits-bg-shape-image.svg");
	mask-image: url("../images/treatments/our-benefits-bg-shape-image.svg");
}

.appointment-page section {
	scroll-margin-top: 90px;
}

.appointment-page .appointmnet-form .form-control:focus {
	border-color: var(--accent-color);
	box-shadow: 0 0 0 3px rgba(210, 231, 97, 0.28);
}

.appointment-page .appointmnet-form .form-control[aria-invalid="true"] {
	border-color: #b42318;
	box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.appointment-page .help-block {
	min-height: 18px;
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.4;
	color: rgba(40, 42, 35, 0.64);
}

.appointment-page .help-block + .help-block {
	min-height: 0;
	margin-top: 2px;
}

.appointment-page .help-block.with-errors:not(:empty) {
	color: #8f160e;
}

.appointment-page .appointment-form-status {
	display: none;
	margin-top: 22px;
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 15px;
	line-height: 1.55;
}

.appointment-page .appointment-form-status.is-error,
.appointment-page .appointment-form-status.is-info,
.appointment-page .appointment-form-status.is-success {
	display: block;
}

.appointment-page .appointment-form-status.is-error {
	border: 1px solid rgba(180, 35, 24, 0.25);
	background: #fff1f0;
	color: #8f160e;
}

.appointment-page .appointment-form-status.is-info {
	border: 1px solid rgba(40, 42, 35, 0.15);
	background: var(--white-color);
	color: var(--primary-color);
}

.appointment-page .appointment-form-status.is-success {
	border: 1px solid rgba(22, 101, 52, 0.25);
	background: #f0fdf4;
	color: #166534;
}

.appointment-page .appointment-privacy {
	margin: -10px 0 18px;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(40, 42, 35, 0.72);
}

.appointment-page .appointment-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.appointment-page [aria-busy="true"] [data-appointment-submit] {
	cursor: wait;
	opacity: 0.68;
}

.appointment-page .appointmnet-form button:focus-visible,
.appointment-page .benefits-item-btn a:focus-visible,
.appointment-page .section-footer-text a:focus-visible {
	outline: 3px solid var(--accent-color);
	outline-offset: 4px;
}

.appointment-page [data-reveal] {
	transition-delay: var(--reveal-delay, 0s);
}

.appointment-reveal-ready .appointment-page [data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 650ms ease var(--reveal-delay, 0s), transform 650ms ease var(--reveal-delay, 0s);
}

.appointment-reveal-ready .appointment-page [data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media only screen and (max-width: 767px) {
	.appointment-page .appointmnet-form .mb-5 {
		margin-bottom: 30px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.appointment-reveal-ready .appointment-page [data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
