/* csinfo Subscriptions — subscribe form styles.
 * Every selector is scoped under .csinfo-subscribe-form so the plugin never
 * fights the active theme. Layout/card styles live in the Templates editor
 * (Subscriptions > Templates); this file only styles the form itself.
 */
.csinfo-subscribe-form {
	margin: 0;
}
.csinfo-subscribe-form .csinfo-field {
	margin: 0 0 12px 0;
}
.csinfo-subscribe-form label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	font-size: 14px;
}
.csinfo-subscribe-form input[type="text"],
.csinfo-subscribe-form input[type="email"],
.csinfo-subscribe-form select {
	width: 100%;
	padding: 10px 12px;
	font-size: 15px;
	border: 1px solid #ccd0d5;
	border-radius: 6px;
	box-sizing: border-box;
	background: #fff;
	color: #333;
}
.csinfo-subscribe-form input:focus,
.csinfo-subscribe-form select:focus {
	border-color: var(--csinfo-brand, #1a73e8);
	outline: none;
}
.csinfo-subscribe-form .csinfo-consent label {
	font-weight: 400;
	display: flex;
	gap: 8px;
	align-items: flex-start;
}
.csinfo-subscribe-form button[type="submit"] {
	padding: 11px 26px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background: var(--csinfo-brand, #1a73e8);
	border: none;
	border-radius: 6px;
	cursor: pointer;
}
.csinfo-subscribe-form button[type="submit"]:hover {
	filter: brightness(0.94);
}
.csinfo-subscribe-form button[type="submit"]:disabled {
	opacity: 0.6;
	cursor: wait;
}
.csinfo-subscribe-form .csinfo-form-message {
	margin-top: 10px;
	font-size: 14px;
	min-height: 1.4em;
}
.csinfo-subscribe-form .csinfo-form-message.csinfo-ok {
	color: #1e7e34;
}
.csinfo-subscribe-form .csinfo-form-message.csinfo-err {
	color: #c5221f;
}
/* After a successful subscribe: hide the input fields, show only the message. */
.csinfo-subscribe-form.csinfo-done .csinfo-fields {
	display: none;
}
/* Theme style: inherit the theme's fonts, keep chrome minimal. */
.csinfo-style-theme .csinfo-subscribe-form label,
.csinfo-style-theme .csinfo-subscribe-form input,
.csinfo-style-theme .csinfo-subscribe-form select,
.csinfo-style-theme .csinfo-subscribe-form button {
	font-family: inherit;
}
