.amelia-v2-booking {
	#amelia-container.am-fs__wrapper {
		--am-mw-main: 1152px !important;

		--am-fs-input: 15px;
		--am-fs-label: 15px;
		--am-fs-btn: 16px;

		margin: 0 auto !important;
		box-shadow: none !important;
		border: 1px solid var(--am-c-inp-border);
		overflow: hidden;

		/* Sidebar */
		&:not(.am-collapsed) {
			> .am-fs-sb {
				@media (min-width: 820px) {
					width: 30% !important;
				}
			}
		}
		> .am-fs-sb {
			@media (max-width: 767px) {
				display: none;
			}

			max-width: none !important;
			border-radius: 0 !important;
			
			& + .am-fs__main {
				.am-fs__main-heading {
					border-bottom: 1px solid var(--am-c-inp-border);
				}
			}
		}

		/* Content */
		> .am-fs__main {
			max-width: none !important;
			
			a {
				color: var(--am-c-primary);
			}
			
			.am-fs__main-heading {
				box-shadow: none !important;
				
				.am-heading-prev {
					border-color: var(--am-c-inp-border);
				}
			}
			
			.am-fs__main-footer {
				background: white;
				box-shadow: none !important;
				border-top: 1px solid var(--am-c-inp-border);
			}
			
			form.el-form {
				.el-form-item {
					/*
					&.is-required {
						.el-form-item__label {
							padding-left: 0;

							&:before {
								display: none;
							}
						}
					}
					*/
					&.is-error {
						input {
							background-color: #ffeaea;
						}
					}
				}
			}
			
			.am-fs__init {
				form.el-form {
					.el-form-item {
						&.is-required {
							.el-form-item__label {
								padding-left: 0;

								&:before {
									display: none;
								}
							}
						}
					}
				}
			}

			.am-fs__extras {
				.am-fs__extras-heading {
					.am-fs__extras-heading-required {
						font-size: 0;

						&:before {
							content: 'VizsgĂˇlatot a "+" jelre kattintva tud kivĂˇlasztani.';
							font-size: 13px;
						}
					}
				}
				
				.am-fs__extras-main {
					.am-collapse-item {
						.am-fs__extras-card__header-left {
							line-height: 1.3;
							padding-right: 8px;
						}
						.am-fs__extras-card__header-right {
							padding-left: 8px;
							
							.card-text {
								white-space: nowrap;
							}
						}

						.am-fs__extras-card__content {
							.am-fs__extras-card__content-main:only-child {
								margin-bottom: 0;
							}
						}

						.am-collapse-item__trigger {
							transition: background 250ms ease-out;
						}
						&.am-collapse-item__open {
							.am-collapse-item__trigger {
								background: var(--am-c-primary);
								
								.am-collapse-item__trigger-label,
								.am-icon-arrow-down {
									color: white;
								}
							}
						}
					}
				}
			}
			
			.am-fs__info {
				form.el-form {
					&.am-fs__info-form-mobile {
						gap: 6px 6px;
					}

					/* Fake required inputs */
					.am-info-email {
						> label {
							position: relative;
							padding-left: 10px;
							
							&:before {
								content: "*";
								position: absolute;
								top: 0;
								left: 0;
								margin-right: 4px;
							}
						}
					}

					.el-form-item {
						@media (min-width: 981px) {
							width: calc(33.333% - 12px);
						}
						
						&.am-info-first-name {
							@media (min-width: 981px) {
								margin-right: calc(33.3333% + 6px);
							}
						}
						&.el-form-item--spacer-1 {
							@media (max-width: 980px) {
								display: none;
							}
							width: calc(33.333% - 12px);
						}
						&.el-form-item--spacer-2 {
							@media (max-width: 980px) {
								display: none;
							}
							width: calc(50% - 12px);
						}
						&.el-form-item--spacer-full {
							width: 100%;

							.el-form-item__content {
								width: 100%;
							}
							
							&.is-error {
								.el-form-item__error {
									margin-top: -8px;
								}
							}
						}
						&.el-form-item--no-margin:not(.is-error) {
							margin-bottom: 0;
						}
						&.el-form-item--hide-label {
							.el-form-item__label {
								display: none;
							}
						}
						&.el-form-item--hide-required {
							.el-form-item__label {
								padding-left: 0;

								&:before {
									display: none;
								}
							}
						}
						&.el-form-item--checkbox-required {
							.el-checkbox {
								.el-checkbox__label {
									&:before {
										content: "* ";
										color: var(--am-c-error);
									}
								}
							}
						}
						
						info {
							display: block;
							margin-top: 6px;
							font-size: 12px;
							line-height: 16px !important;
						}
						
						span.required {
							&:before {
								content: "* ";
								color: var(--am-c-error);
							}
						}

						.el-select {
							.el-input {
								input.el-input__inner {
									&::-webkit-input-placeholder { color: white; }
									&:-moz-placeholder           { color: white; }
									&::-moz-placeholder          { color: white; }
									&:-ms-input-placeholder      { color: white; }
								}
							}
						}
						
						&.is-error {
							.el-select {
								.el-input {
									input.el-input__inner {
										&::-webkit-input-placeholder { color: #ffeaea; }
										&:-moz-placeholder           { color: #ffeaea; }
										&::-moz-placeholder          { color: #ffeaea; }
										&:-ms-input-placeholder      { color: #ffeaea; }
									}
								}
							}
						}
					}
				}
			}

			.am-fs__payments {
				.am-fs__payments-price {
					.am-fs__payments {
						.am-fs__payments-service {
							display: none;
						}
					}
					.am-fs__payments-app-info {
						.am-fs__payments-app-info-subtotal {
							display: none;
						}
					}
				}
				.am-fs__payments-main {
					.am-fs__payments-main-cards {
						flex-direction: row-reverse;
						justify-content: flex-end;

						.am-fs__payments-main-button {
							width: 128px;
							
							p {
								word-break: normal;
							}
						}
					}
				}
				.am-fs__payments-pm {
					.am-fs__payment-stripe__policy {
						span {
							display: none;
						}
					}
				}
			}

			.am-fs__congrats {
				.am-fs__congrats-main {
					>Â img {
						width: 170px;
						content: url('/wp-content/uploads/2023/11/clinomics-diagnostics-logo.svg');
					}
				}
				.am-fs__congrats-info {
					.am-fs__congrats-info-customer {
						&:before {
							display: block;
							max-width: 560px !important;
							margin: 0 auto 24px;
							white-space: pre-line;
							font-size: 14px;
							line-height: 1.4em;
							font-weight: normal;
							text-align: center;
							color: var(--am-c-atc-text-op40);
							content: "Az Ă–n Ăˇltal elfogadott ĂSZF Ă©s PĂˇciens tĂˇjĂ©koztatĂł, \
								valamint a megadott adatok alapjĂˇn elĹ‘kĂ©szĂ­tjĂĽk a vizsgĂˇlatkĂ©rĹ‘t \
								Ă©s azokat a nyilatkozatokat, amelyeket a szolgĂˇltatĂˇs helyszĂ­nĂ©n \
								szĂĽksĂ©ges majd alĂˇĂ­rnia.\AKĂ©rjĂĽk hozza magĂˇval TAJ kĂˇrtyĂˇjĂˇt Ă©s \
								az azonosĂ­tĂˇshoz szĂĽksĂ©ges iratait is.\ATovĂˇbbi kĂ©rdĂ©s esetĂ©n \
								Ă­rjon nekĂĽnk, vagy hĂ­vjon bennĂĽnket elĂ©rhetĹ‘sĂ©geinken. KĂ¶szĂ¶njĂĽk!";
						}

						div:nth-child(4) {
							display: none;
						}
					}
				}
			}
		}
	}
}

.woocommerce-order-details .wc-item-meta {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	clear: both;
	margin: 14px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.woocommerce-order-details .wc-item-meta li {
	display: block !important;
	width: 100%;
	margin: 0 !important;
	padding: 10px 12px !important;
	border: 1px solid rgba(179, 203, 47, 0.34);
	border-radius: 12px;
	background: rgba(179, 203, 47, 0.09);
	color: var(--clb-text-color, #3a3c34);
	overflow-wrap: anywhere;
}

.woocommerce-order-details .wc-item-meta .wc-item-meta-label {
	display: block !important;
	float: none !important;
	width: auto !important;
	margin: 0 0 5px !important;
	padding: 0 !important;
	color: var(--clb-text-color, #3a3c34);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
}

.woocommerce-order-details .wc-item-meta p {
	display: block !important;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--clb-text-color, #3a3c34);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	text-align: left;
}

.cbi-thankyou-booking {
	margin: 24px 0;
	border: 1px solid rgba(179, 203, 47, 0.38);
	border-radius: 14px;
	padding: 20px;
	background: #f8f9f1;
	color: var(--clb-text-color, #3a3c34);
}

.cbi-thankyou-booking h2 {
	margin: 0 0 12px;
	color: var(--clb-title-color, #3a3c34);
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: 0;
}

.cbi-thankyou-booking p {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.55;
}

.cbi-thankyou-booking__details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	margin: 16px 0 0;
}

.cbi-thankyou-booking__detail {
	min-width: 0;
	border: 1px solid rgba(58, 60, 52, 0.12);
	border-radius: 12px;
	padding: 12px 14px;
	background: #fff;
}

.cbi-thankyou-booking__detail dt {
	margin: 0 0 5px;
	color: #7b8071;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
}

.cbi-thankyou-booking__detail dd {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.cbi-thankyou-booking a {
	color: var(--clb-color-primary, #708200);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cbi-thankyou-booking__note {
	margin-top: 14px !important;
	color: #7b8071;
}
