/* Quanfluence Webinar — registration form card. Fonts come from the theme. */
.qfw-form-card {
	--qfw-accent: #0f2d90;
	--qfw-accent-d: #0a2070;
	--qfw-ink: #10121a;
	--qfw-muted: #4b4f5b;
	--qfw-bg: #f5f6f9;
	max-width: 760px;
	margin: 0 auto;
	background: #fff;
	color: var(--qfw-ink);
	border-radius: 10px;
	padding: 40px;
	text-align: left;
	font-size: 15px;
	line-height: 1.55;
}
.qfw-form-card *, .qfw-form-card *::before, .qfw-form-card *::after { box-sizing: border-box; letter-spacing: normal; text-transform: none; }
.qfw-form-card h2 { margin: 0; font-size: 30px; line-height: 1.2; color: var(--qfw-ink); }
.qfw-form-card p { margin: 0; }
.qfw-sub { color: var(--qfw-muted); font-size: 15px; margin: 8px 0 28px !important; }
/* Two columns; align-items:end keeps boxes in line when a label wraps. */
.qfw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; align-items: end; }
.qfw-form label { display: block; margin: 0; }
.qfw-form label span { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 7px; color: var(--qfw-ink); }
/* Beat the theme's input styles: same height, font and spacing for inputs and selects. */
.qfw-form-card .qfw-form input[type=text], .qfw-form-card .qfw-form input[type=email], .qfw-form-card .qfw-form input[type=tel], .qfw-form-card .qfw-form select, .qfw-form-card .qfw-form textarea {
	display: block; width: 100%; height: 48px; padding: 0 14px; margin: 0; border: 1px solid #cdd3db; border-radius: 6px; background: #fff;
	font-family: inherit; font-size: 15px; font-weight: 400; line-height: 46px; letter-spacing: normal; text-transform: none; color: var(--qfw-ink); box-shadow: none;
}
.qfw-form-card .qfw-form textarea { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.qfw-form-card .qfw-form ::placeholder { color: #9aa1ad; opacity: 1; }
.qfw-form :is(input, select, textarea):focus { outline: 2px solid var(--qfw-accent); outline-offset: 1px; border-color: var(--qfw-accent); }
.qfw-form fieldset { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
.qfw-form legend { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 12px; padding: 0; color: var(--qfw-ink); }
.qfw-row { display: flex; flex-wrap: wrap; gap: 28px; }
.qfw-form fieldset .qfw-grid { gap: 12px 20px; }
.qfw-form label.qfw-check { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--qfw-ink); }
.qfw-form label.qfw-check span { display: inline; font-size: 13px; font-weight: 400; margin: 0; }
.qfw-form-card .qfw-check input { width: 16px; height: 16px; margin: 0; flex: none; accent-color: var(--qfw-accent); }
.qfw-consent .qfw-check { align-items: flex-start !important; }
.qfw-consent .qfw-check input { margin-top: 2px; }
.qfw-full { margin-top: 28px !important; }
.qfw-consent { background: var(--qfw-bg); border-radius: 8px; padding: 18px 20px; margin-top: 24px; display: grid; gap: 12px; }
.qfw-consent a { color: var(--qfw-accent); }
.qfw-message { font-size: 14px; margin: 16px 0 !important; }
.qfw-message.is-error { color: #b42318; }
.qfw-hp { position: absolute; left: -9999px; }
.qfw-btn { display: inline-block; background: var(--qfw-accent); color: #fff; font: inherit; font-weight: 600; padding: 13px 24px; border-radius: 6px; border: 0; cursor: pointer; font-size: 15px; line-height: 1.4; transition: background .15s; }
.qfw-btn:hover, .qfw-btn:focus { background: var(--qfw-accent-d); color: #fff; }
.qfw-btn:disabled { opacity: .6; cursor: wait; }
.qfw-done h2 { margin-bottom: 10px; }
.qfw-done p { color: var(--qfw-muted); }
.qfw-join { color: var(--qfw-accent); word-break: break-all; }

@media (max-width: 560px) {
	.qfw-grid { grid-template-columns: 1fr; }
	.qfw-form-card { padding: 24px 20px; }
}
