/**
 * Newsletter Lite Widget
 */

.szpa-nlite-wrap {
	max-width: 1240px;
	margin: 0 auto;
}

/* ── Card ─────────────────────────────────────────────── */
.szpa-nlite-card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	overflow: hidden;
	background: #DDE6DA;
	border: 1px solid #C8D9C3;
	border-radius: 14px;
	padding: 20px 22px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Stacked layout — vertical column (icon+text on top, form below). */
.szpa-nlite-layout-stacked .szpa-nlite-card {
	flex-direction: column;
	align-items: stretch;
}

/* ── Left: icon + text ────────────────────────────────── */
.szpa-nlite-left {
	display: flex;
	align-items: center;
	gap: 13px;
}

.szpa-nlite-icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	color: #3A5F3F;
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-radius: 11px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
	line-height: 0;
}

.szpa-nlite-icon i {
	font-size: 22px;
}

.szpa-nlite-icon svg {
	width: 22px;
	height: 22px;
}

.szpa-nlite-text {
	display: flex;
	flex-direction: column;
}

.szpa-nlite-title {
	display: block;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1px;
	color: #1A202C;
}

.szpa-nlite-desc {
	display: block;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	color: #3F4A3C;
	opacity: 0.9;
}

/* ── Form ─────────────────────────────────────────────── */
.szpa-nlite-form {
	display: flex;
	gap: 7px;
	flex: 1;
	max-width: 360px;
}

.szpa-nlite-input {
	flex: 1;
	min-width: 0;
	padding: 11px 15px;
	font-size: 13px;
	font-weight: 500;
	color: #1A202C;
	background: #FFFFFF;
	border: 1.5px solid #D4E2D1;
	border-radius: 999px;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.szpa-nlite-input::placeholder {
	color: #9CA3AF;
}

.szpa-nlite-input:focus {
	border-color: #3A5F3F;
	box-shadow: 0 0 0 3px rgba(58, 95, 63, 0.12);
}

.szpa-nlite-btn {
	font-family: inherit;
	cursor: pointer;
	white-space: nowrap;
	font-size: 12px;
	font-weight: 700;
	padding: 11px 20px;
	color: #FFFFFF;
	background: #1E3F2A;
	border: 1px solid #0F2316;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.szpa-nlite-btn:hover {
	background: #13261A;
}

.szpa-nlite-btn:active {
	transform: translateY(1px);
}

.szpa-nlite-btn.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

.szpa-nlite-btn.is-loading .szpa-nlite-btn-label::after {
	content: '…';
	margin-left: 2px;
}

/* ── Inline message ───────────────────────────────────── */
.szpa-nlite-msg {
	margin: 10px 0 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.szpa-nlite-msg[hidden] {
	display: none;
}

.szpa-nlite-msg.is-success {
	color: #0F5132;
}

.szpa-nlite-msg.is-error {
	color: #842029;
}

/* ── Leaf decoration ──────────────────────────────────── */
.szpa-nlite-deco {
	position: absolute;
	right: -14px;
	bottom: -14px;
	width: 100px;
	height: 100px;
	color: #3A5F3F;
	opacity: 0.12;
	transform: rotate(-15deg);
	pointer-events: none;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
	.szpa-nlite-card {
		flex-direction: column;
		align-items: stretch;
		padding: 18px 16px;
	}

	.szpa-nlite-form {
		max-width: 100%;
	}
}
