/*
Theme Name: Avada Child
Template: Avada
Version: 1.0
*/

/*booking form*/
#booking_form_notice .fusion-alert.alert-danger.error {
	--awb-accent-color: #ffffff;
}

.booking-result{
	display: flex;
	color:#fff;
	gap: 2rem;
}

.booking-result__row{
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	padding-bottom: 0.5rem;
}

.booking-result__label{
	font-weight: bold;
	font-size: 1.2em;

}
.booking-result__value{
	font-weight: bold;
	font-size: 2em;
}

/* The dialog: centered, no chrome, just a small card. */
.ppc-3ds-mount {
	border: none;
	border-radius: 8px;
	padding: 0;
	background: #fff;
	width: min(440px, 90vw);
	max-width: 90vw;
	max-height: 90vh;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.ppc-3ds-mount::backdrop {
	background: rgba(15, 35, 133, 0.55);
	backdrop-filter: blur(2px);
}

/* Spinner state */
.ppc-3ds-mount--loading .ppc-3ds-spinner { display: flex; }
.ppc-3ds-mount--loading .ppc-3ds-frame   { display: none; }

.ppc-3ds-spinner {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 40px 32px;
	text-align: center;
}

.ppc-3ds-spinner__ring {
	width: 48px;
	height: 48px;
	border: 4px solid #e0e3eb;
	border-top-color: var(--awb-color5, #0f2385);
	border-radius: 50%;
	animation: ppc-3ds-spin 0.9s linear infinite;
}

.ppc-3ds-spinner__label {
	margin: 0;
	font-size: 16px;
	color: #333;
}

@keyframes ppc-3ds-spin {
	to { transform: rotate(360deg); }
}

/* Challenge state — Cardinal's iframe is whatever size it wants;
   give it a sensible canvas. */
.ppc-3ds-mount--challenge .ppc-3ds-spinner { display: none; }
.ppc-3ds-mount--challenge .ppc-3ds-frame   { display: block; }

.ppc-3ds-frame {
	width: 100%;
	/* Cardinal challenge frames are typically 400x400 or 500x600.
	   Let the iframe drive height but cap it. */
	min-height: 420px;
	max-height: 80vh;
	overflow: auto;
}

.ppc-3ds-frame iframe {
	display: block;
	width: 100%;
	border: 0;
}

.ppc-card-input--invalid {
	border-color: #c0392b;
	box-shadow: 0 0 0 1px #c0392b;
	background-color: #fff5f4;
}