/**
 * Newsletter Box widget.
 * Dark sign-up card: eyebrow, description, email field, submit button.
 */

.fpg-nl {
	position: relative;
	overflow: hidden;
	background-color: #1b2421;
	border-radius: 8px;
	padding: 28px 24px;
}

.fpg-nl__eyebrow {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 12px;
	font-weight: 600;
	color: #e4cb98;
	margin-bottom: 10px;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.fpg-nl__desc {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(252, 250, 247, 0.78);
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.fpg-nl__form {
	margin: 0;
}

/* Email field with optional trailing icon */
.fpg-nl__field {
	display: flex;
	align-items: center;
	gap: 8px;
	background-color: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	padding: 0 14px;
	margin-bottom: 14px;
	transition: border-color 0.2s ease;
}

.fpg-nl__field:focus-within {
	border-color: rgba(201, 162, 75, 0.7);
}

.fpg-nl__input {
	flex: 1;
	min-width: 0;
	height: 46px;
	border: 0;
	outline: 0;
	background: transparent;
	color: #b9b4aa;
	font-size: 14px;
	font-family: inherit;
}

.fpg-nl__input::placeholder {
	color: #8f8a80;
	opacity: 1;
}

.fpg-nl__field-icon {
	flex: none;
	color: #8f8a80;
	display: inline-flex;
}

.fpg-nl__field-icon svg {
	width: 18px;
	height: 18px;
}

/* Submit button */
.fpg-nl__button {
	display: block;
	width: 100%;
	border: 0;
	cursor: pointer;
	background-color: #c5a059;
	color: #ffffff;
	border-radius: 8px;
	padding: 13px 20px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-family: inherit;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

.fpg-nl__button:hover {
	background-color: #e4cb98;
}

.fpg-nl__button:active {
	transform: scale(0.99);
}

/* -------------------------------------------------------------------------
 * Fluent Forms embed — restyle the plugin's default form to match the dark
 * card (light text, translucent fields, gold submit). Best-effort overrides;
 * fine-tune inside Fluent Forms if your theme adds heavier styles.
 * ---------------------------------------------------------------------- */
.fpg-nl__notice {
	color: #c7c3ba;
	font-size: 13px;
	line-height: 1.5;
	padding: 12px 14px;
	border: 1px dashed rgba(255, 255, 255, 0.25);
	border-radius: 8px;
}

.fpg-nl__fluent .fluentform {
	margin: 0;
}

.fpg-nl__fluent .fluentform .ff-el-group {
	margin-bottom: 14px;
}

.fpg-nl__fluent .fluentform .ff-el-input--label label,
.fpg-nl__fluent .fluentform .ff-el-is-required label {
	color: #c7c3ba;
	font-weight: 500;
}

.fpg-nl__fluent .fluentform input[type="text"],
.fpg-nl__fluent .fluentform input[type="email"],
.fpg-nl__fluent .fluentform input[type="tel"],
.fpg-nl__fluent .fluentform textarea,
.fpg-nl__fluent .fluentform select {
	background-color: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #e8e5df;
	border-radius: 8px;
	box-shadow: none;
}

.fpg-nl__fluent .fluentform input::placeholder,
.fpg-nl__fluent .fluentform textarea::placeholder {
	color: #9d988e;
}

.fpg-nl__fluent .fluentform input:focus,
.fpg-nl__fluent .fluentform textarea:focus,
.fpg-nl__fluent .fluentform select:focus {
	border-color: #c5a059;
	box-shadow: 0 0 0 1px rgba(201, 162, 75, 0.4);
	outline: none;
}

.fpg-nl__fluent .fluentform .ff-btn-submit,
.fpg-nl__fluent .fluentform button[type="submit"] {
	width: 100%;
	background-color: #c5a059;
	color: #1b2421;
	border: none;
	border-radius: 5px;
	padding: 13px;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	transition: background-color 0.2s ease;
}

.fpg-nl__fluent .fluentform .ff-btn-submit:hover,
.fpg-nl__fluent .fluentform button[type="submit"]:hover {
	background-color: #e4cb98;
}

/* Success / error messages */
.fpg-nl__fluent .fluentform .ff-message-success {
	color: #d7e8c9;
}
