/* Webcreators Whitepaper Block — scoped styles */


.wc-whitepaper-block {
	box-sizing: border-box;
	padding: 40px;
	border-radius: 6px;
	max-width: 680px;
}

.wc-whitepaper-block *,
.wc-whitepaper-block *::before,
.wc-whitepaper-block *::after {
	box-sizing: inherit;
}

.wc-whitepaper-block__title {
	margin: 0 0 16px;
	font-size: 1.6rem;
	line-height: 1.25;
	color: inherit;
}

.wc-whitepaper-block__body {
	margin: 0 0 16px;
	line-height: 1.6;
}

.wc-whitepaper-block__contact {
	margin: 0 0 24px;
	font-size: 0.9rem;
}

.wc-whitepaper-block__contact a {
	color: inherit;
}

.wc-whitepaper-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-start;
}

.wc-whitepaper-email {
	flex: 1 1 260px;
	padding: 10px 14px;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	appearance: none;
}

.wc-whitepaper-email:focus {
	outline: 2px solid #0073aa;
	outline-offset: 1px;
	border-color: #0073aa;
}

.wc-whitepaper-submit {
	flex: 0 0 auto;
	padding: 10px 22px;
	font-size: 1rem;
	font-weight: 600;
	background: #0073aa;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.wc-whitepaper-submit:hover:not(:disabled) {
	background: #005f8d;
}

.wc-whitepaper-submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.wc-whitepaper-form .form-control::placeholder {
	box-sizing: border-box;
	color: rgb(0, 122, 138);
	font-family: gt_flexa_lt, sans-serif;
	font-feature-settings: "lnum";
	font-size: 22px;
	font-weight: 400;
	opacity: 1;
}

.wc-whitepaper-error {
	display: none;
	width: 100%;
	margin-top: 8px;
	padding: 10px 14px;
	background: #fdf0f0;
	border: 1px solid #e2a2a2;
	border-radius: 4px;
	color: #c0392b;
	font-size: 0.9rem;
}

.wc-whitepaper-success {
	display: none;
	margin-top: 16px;
	padding: 14px 18px;
	background: #edfaf1;
	border: 1px solid #a3d9b1;
	border-radius: 4px;
	color: #1e7e34;
	font-weight: 600;
}

@media (max-width: 767px) {
	.wc-whitepaper-submit {
		font-size: 17px !important;
	}
}

/* Editor preview */
.wc-whitepaper-block--editor .wc-whitepaper-form-preview {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 16px;
	opacity: 0.7;
	pointer-events: none;
}

.wc-whitepaper-block--editor .wc-whitepaper-form-preview input {
	flex: 1 1 220px;
	padding: 10px 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.wc-whitepaper-block--editor .wc-whitepaper-form-preview button {
	padding: 10px 22px;
	background: #0073aa;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-weight: 600;
}
