#appointmentForm.modal {
	font-family: Roboto, "Segoe UI", sans-serif;
	color: #5b5b60;
}

#appointmentForm.modal.in {
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 24px 16px !important;
	overflow-y: auto;
}

#appointmentForm.modal .modal-dialog {
	width: min(980px, 100%) !important;
	max-width: 980px;
	margin: 0 auto !important;
}

#appointmentForm.modal .modal-dialog .modal-content {
	border: 0;
	border-radius: 24px;
	background: #fff;
	box-shadow: none;
	padding: 0;
}

#appointmentForm.modal .modal-dialog .modal-header {
	position: relative;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

#appointmentForm.modal .modal-header .appointment {
	display: none !important;
}

#appointmentForm.modal .modal-dialog .modal-header .close {
	position: absolute !important;
	top: 16px !important;
	right: 16px !important;
	left: auto !important;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 40px !important;
	min-width: 40px !important;
	height: 40px !important;
	margin: 0;
	padding: 0 !important;
	float: none;
	border: 0;
	border-radius: 999px !important;
	background: #f4f4f5 !important;
	opacity: 1;
	color: #141414 !important;
	font-size: 16px;
	line-height: 1 !important;
	text-align: center;
	text-shadow: none;
}

#appointmentForm.modal .modal-header .close i {
	color: #141414;
	font-size: 14px;
	line-height: 1;
}

#appointmentForm.modal .modal-body {
	margin: 0 !important;
	padding: 32px 32px 28px !important;
	font-size: 16px;
	line-height: 1.6;
	color: #5b5b60;
}

#appointmentForm.modal .container-fluid {
	padding: 0;
	width: auto;
}

#appointmentForm.modal .modal-title-main,
#appointmentForm.modal .modal-body h2 {
	max-width: 16em;
	margin: 0 48px 12px 0;
	padding: 0;
	font-family: Roboto, "Segoe UI", sans-serif;
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #141414;
}

#appointmentForm.modal .color {
	color: #d92b37;
}

#appointmentForm.modal .divider {
	display: none !important;
}

#appointmentForm.modal h5 {
	margin: 28px 0 12px;
	font-family: Roboto, "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	color: #141414;
}

#appointmentForm.modal .form-group,
#appointmentForm.modal .wpcf7 p {
	margin: 0 0 10px;
}

#appointmentForm.modal .form-control,
#appointmentForm.modal select.input-custom,
#appointmentForm.modal .select-wrapper select {
	height: 48px;
	margin: 0;
	border: 0;
	border-radius: 12px;
	background: #f4f4f5;
	box-shadow: none;
	font-family: Roboto, "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: #141414;
}

#appointmentForm.modal .form-control {
	padding: 0 16px;
}

#appointmentForm.modal .form-control::placeholder {
	color: #8d8d93;
	opacity: 1;
}

#appointmentForm.modal .form-control:focus,
#appointmentForm.modal select:focus {
	border: 0;
	outline: 2px solid #d92b37;
	outline-offset: 1px;
	background: #fff;
	box-shadow: none;
}

#appointmentForm.modal .select-wrapper:before {
	top: 0;
	right: 0;
	bottom: auto;
	width: 40px;
	height: 48px;
	line-height: 48px;
	color: #5b5b60;
}

#appointmentForm.modal .datetimepicker-wrap:before,
#appointmentForm.modal .timepicker-wrap:before {
	top: 12px;
	right: 14px;
	color: #5b5b60;
}

#appointmentForm.modal .input-type-file {
	display: flex;
	align-items: stretch;
	min-height: 48px;
	padding: 0;
	overflow: hidden;
	border-radius: 12px;
	background: #f4f4f5;
}

#appointmentForm.modal .input-type-file p,
#appointmentForm.modal .input-type-file .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
	margin: 0;
}

#appointmentForm.modal .input-type-file .form-control,
#appointmentForm.modal .input-type-file input[type="file"] {
	height: 48px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #8d8d93;
	font-family: Roboto, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 48px;
	cursor: pointer;
}

#appointmentForm.modal .input-type-file input[type="file"]::file-selector-button,
#appointmentForm.modal .input-type-file input[type="file"]::-webkit-file-upload-button {
	height: 48px;
	margin: 0 14px 0 0;
	padding: 0 18px;
	border: 0;
	border-right: 1px solid rgba(20, 20, 20, 0.08);
	border-radius: 0;
	background: transparent;
	color: #141414;
	font-family: Roboto, "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 48px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

#appointmentForm.modal .wpcf7-submit,
#appointmentForm.modal .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	min-height: 48px;
	margin: 8px 0 0;
	padding: 0 22px;
	border: 0 !important;
	border-radius: 14px;
	background: #d92b37 !important;
	color: #fff !important;
	font-family: Roboto, "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	box-shadow: none;
	transform: none;
	text-shadow: none;
}

#appointmentForm.modal .wpcf7-submit span,
#appointmentForm.modal .btn span {
	color: #fff;
}

#appointmentForm.modal .wpcf7-submit:hover,
#appointmentForm.modal .wpcf7-submit:focus,
#appointmentForm.modal .btn:hover,
#appointmentForm.modal .btn:focus {
	background: #b4232e !important;
	color: #fff !important;
	outline: none;
}

#appointmentForm.modal .wpcf7-submit:focus-visible,
#appointmentForm.modal .close:focus-visible {
	outline: 2px solid #141414;
	outline-offset: 2px;
}

#appointmentForm.modal .notes-custom {
	display: flex;
	align-items: center;
	min-height: 48px;
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: #5b5b60;
}

#appointmentForm.modal .wpcf7-not-valid-tip {
	margin-top: 4px;
	font-size: 13px;
	color: #d92b37;
}

@media (hover: hover) {
	#appointmentForm.modal .close:hover {
		background: #ececed;
	}
}

@media (max-width: 767px) {
	#appointmentForm.modal .modal-body {
		padding: 24px 18px 20px !important;
	}

	#appointmentForm.modal .modal-title-main,
	#appointmentForm.modal .modal-body h2 {
		font-size: 28px;
	}

	#appointmentForm.modal h5 {
		margin-top: 18px;
	}

	#appointmentForm.modal .notes-custom {
		min-height: 0;
		margin-top: 4px;
	}
}
