/**
 * Tribe Botanicals - Newsletter popup (Fluent Forms)
 */

/* ---- Card overrides ---- */
.tribe-newsletter-card {
	background: #F8F6F2;
	max-width: 440px;
	padding-top: 30px;
}

/* ---- Bags row ---- */
.tribe-newsletter-bags {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	margin: 0 auto 6px;
}
.tribe-newsletter-bag {
	width: 168px;
	height: 168px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 18px 40px rgba(35, 67, 43, 0.18);
	border: 4px solid #fff;
}
.tribe-newsletter-bag img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}
.tribe-newsletter-bag--green {
	transform: translateX(14px);
	z-index: 1;
}
.tribe-newsletter-bag--red {
	transform: translateX(-14px);
	z-index: 2;
	margin-top: 26px;
}
.tribe-newsletter-bag--green img {
	background: #3E7D4E;
}
.tribe-newsletter-bag--red img {
	background: #8A2E24;
}

/* ---- Offer badge ---- */
.tribe-newsletter-offer {
	display: inline-block;
	position: relative;
	margin: 16px 0 12px;
	padding: 10px 22px;
	border-radius: 999px;
	background: linear-gradient(135deg, #1E3A2A 0%, #2E5C3D 100%);
	box-shadow: 0 10px 24px rgba(30, 58, 42, 0.28);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #F8F6F2;
}
.tribe-newsletter-offer strong {
	color: #E8C98F;
	font-weight: 800;
}
.tribe-newsletter-card h2 {
	margin: 0 0 8px;
	font-size: 24px;
	line-height: 1.25;
	color: #23432B;
	font-weight: 700;
}
.tribe-newsletter-card h2 span {
	color: #C49A6C;
}
.tribe-newsletter-intro {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.6;
	color: #5b665e;
}

/* ---- Fluent Forms skin ---- */
.tribe-newsletter-form-wrap .fluentform {
	margin: 0;
}
.tribe-newsletter-form-wrap form.frm-fluent-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.tribe-newsletter-form-wrap .ff-el-input--content input.ff-el-form-control {
	width: 100%;
	padding: 14px 18px;
	border: 1.5px solid rgba(35, 67, 43, 0.25);
	border-radius: 999px;
	font-size: 15px;
	font-family: inherit;
	color: #23432B;
	background: #ffffff;
	outline: none;
	box-sizing: border-box;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.tribe-newsletter-form-wrap .ff-el-input--content input.ff-el-form-control::placeholder {
	color: #9aa49d;
}
.tribe-newsletter-form-wrap .ff-el-input--content input.ff-el-form-control:focus {
	border-color: #23432B;
	box-shadow: 0 0 0 3px rgba(35, 67, 43, 0.12);
}
.tribe-newsletter-form-wrap .ff_submit_btn_wrapper {
	margin: 0;
}
.tribe-newsletter-form-wrap button.ff-btn-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 18px;
	border: none;
	cursor: pointer;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	font-family: inherit;
	letter-spacing: .5px;
	color: #fff;
	background: #1E3A2A;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.tribe-newsletter-form-wrap button.ff-btn-submit:hover {
	background: #C49A6C;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(35, 67, 43, 0.3);
}
.tribe-newsletter-form-wrap button.ff-btn-submit:disabled,
.tribe-newsletter-form-wrap button.ff-btn-submit.ff-working {
	opacity: .7;
	cursor: default;
	transform: none;
	box-shadow: none;
}

/* ---- Success / error messages ---- */
.tribe-newsletter-form-wrap .ff-message-success {
	margin: 4px 0 0;
	padding: 0;
	background: transparent;
	border: none;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	color: #2e7d32;
}
.tribe-newsletter-form-wrap .ff-el-is-error input.ff-el-form-control {
	border-color: #c62828;
}
.tribe-newsletter-form-wrap .error.text-danger {
	margin: 6px 0 0;
	font-size: 13px;
	font-weight: 600;
	color: #c62828;
	text-align: left;
}

/* ---- Privacy note ---- */
.tribe-newsletter-privacy {
	margin: 16px 0 0;
	font-size: 12px;
	color: #8a938c;
	line-height: 1.55;
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
	.tribe-newsletter-card h2 {
		font-size: 21px;
	}
	.tribe-newsletter-card {
		padding: 30px 24px 28px;
	}
	.tribe-newsletter-bag {
		width: 128px;
		height: 128px;
	}
	.tribe-newsletter-bag--red {
		margin-top: 20px;
	}
}
