/* Solution Newsletter – Frontend Styles */

.snl-wrapper {
	max-width: 620px;
}

.snl-form .snl-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.snl-form .snl-label {
	width: 34%;
	min-width: 110px;
	padding-right: 1rem;
	padding-top: .5rem;
	font-weight: 600;
	box-sizing: border-box;
}

.snl-form .snl-control {
	flex: 1;
	min-width: 180px;
}

/* Inputs */
.snl-form .snl-input {
	display: block;
	width: 100%;
	padding: .45rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #333;
	background-color: #fff;
	border: 1px solid #ced4da;
	border-radius: .3rem;
	transition: border-color .15s, box-shadow .15s;
	box-sizing: border-box;
}

.snl-form .snl-input:focus {
	border-color: #80bdff;
	outline: 0;
	box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
}

/* Required mark */
.snl-form .snl-required {
	color: #dc3545;
	margin-left: 2px;
}

/* Honeypot */
.snl-form .snl-honeypot {
	display: none !important;
}

/* ---- Captcha ---- */
.snl-form .snl-captcha {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.snl-form .snl-captcha__input {
	max-width: 150px;
}

.snl-form .snl-captcha__image img {
	display: block;
	border: 1px solid #ced4da;
	border-radius: .3rem;
	vertical-align: middle;
}

.snl-form .snl-captcha__refresh {
	font-size: 1.5rem;
	line-height: 1;
	text-decoration: none;
	color: #007bff;
	transition: color .15s;
}

.snl-form .snl-captcha__refresh:hover {
	color: #0056b3;
}

/* ---- Privacy / Checkbox ---- */
.snl-form .snl-check-label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
	font-weight: normal;
}

.snl-form .snl-check {
	margin-top: 3px;
	flex-shrink: 0;
}

/* ---- Submit button ---- */
.snl-form .snl-btn {
	padding: .5rem 1.75rem;
	font-size: 1rem;
	color: #fff;
	background-color: #007bff;
	border: none;
	border-radius: .3rem;
	cursor: pointer;
	transition: background-color .15s;
}

.snl-form .snl-btn:hover {
	background-color: #0056b3;
}

.snl-form .snl-btn:disabled {
	background-color: #6c757d;
	cursor: not-allowed;
}

/* ---- Messages ---- */
.snl-message {
	margin-top: .75rem;
	padding: .75rem 1rem;
	border-radius: .3rem;
	font-size: .95rem;
}

.snl-message--success {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.snl-message--error {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

.snl-message--warn {
	background-color: #fff3cd;
	border: 1px solid #ffeeba;
	color: #856404;
}

/* ---- Admin notice (visible only to admins) ---- */
.snl-admin-notice {
	padding: .5rem 1rem;
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: .3rem;
	color: #856404;
}

/* ---- Responsive ---- */
@media ( max-width: 540px ) {
	.snl-form .snl-row {
		flex-direction: column;
	}

	.snl-form .snl-label {
		width: 100%;
		padding-right: 0;
		padding-bottom: .2rem;
	}
}
