/* HtoEAU Fan Offer Styling */

.htoeau-fan-offer-container {
	max-width: 680px;
	margin: 30px auto;
	padding: 0 16px;
	font-family: inherit;
	box-sizing: border-box;
}

.htoeau-fan-offer-container *,
.htoeau-fan-offer-container *::before,
.htoeau-fan-offer-container *::after {
	box-sizing: border-box;
}

/* Initial CTA State */
.htoeau-fan-cta-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 44px 36px;
	text-align: center;
	box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.htoeau-fan-cta-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.12);
}

.htoeau-fan-badge {
	display: inline-block;
	background: #f1f5f9;
	color: #0f172a;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	padding: 6px 16px;
	border-radius: 999px;
	margin-bottom: 16px;
}

.htoeau-fan-title {
	font-size: 28px;
	line-height: 1.25;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 12px;
	letter-spacing: -0.5px;
}

.htoeau-fan-subtitle {
	font-size: 16px;
	line-height: 1.6;
	color: #64748b;
	margin: 0 auto 28px;
	max-width: 500px;
}

.htoeau-btn-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #0f172a;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.5px;
	padding: 16px 36px;
	border-radius: 50px;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
	transition: background 0.2s ease, transform 0.15s ease;
}

.htoeau-btn-trigger:hover {
	background: #1e293b;
	transform: translateY(-1px);
}

/* Form Card State */
.htoeau-fan-form-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 40px 36px;
	box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
	animation: htoeauFadeSlideIn 0.35s ease forwards;
}

.htoeau-fan-form-header {
	text-align: center;
	margin-bottom: 24px;
}

.htoeau-fan-form-header h4 {
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 8px;
	letter-spacing: -0.3px;
}

.htoeau-fan-form-header p {
	font-size: 15px;
	color: #64748b;
	margin: 0;
}

.htoeau-form-row {
	display: flex;
	gap: 10px;
	margin-bottom: 16px;
}

.htoeau-form-row input[type="email"] {
	flex: 1;
	height: 52px;
	padding: 0 18px;
	font-size: 15px;
	color: #0f172a;
	background: #f8fafc;
	border: 1.5px solid #cbd5e1;
	border-radius: 10px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.htoeau-form-row input[type="email"]:focus {
	border-color: #0f172a;
	box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
	background: #ffffff;
}

.htoeau-btn-submit {
	height: 52px;
	padding: 0 28px;
	background: #0f172a;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.htoeau-btn-submit:hover:not(:disabled) {
	background: #1e293b;
}

.htoeau-btn-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* Spinner */
.btn-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: htoeauSpin 0.7s linear infinite;
	margin-left: 8px;
}

/* Consent & Terms */
.htoeau-form-consent {
	margin-top: 16px;
}

.htoeau-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.5;
	color: #64748b;
	cursor: pointer;
	user-select: none;
}

.htoeau-checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	cursor: pointer;
	accent-color: #0f172a;
	width: 16px;
	height: 16px;
}

.htoeau-checkbox-label a {
	color: #0f172a;
	font-weight: 600;
	text-decoration: underline;
}

.htoeau-offer-terms-toggle {
	margin-top: 12px;
	padding-left: 26px;
}

.htoeau-toggle-terms-link {
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
	text-decoration: none;
}

.htoeau-toggle-terms-link:hover {
	color: #0f172a;
	text-decoration: underline;
}

.htoeau-offer-terms-body {
	margin-top: 8px;
	padding: 12px;
	background: #f8fafc;
	border-radius: 8px;
	font-size: 12px;
	line-height: 1.6;
	color: #64748b;
	border: 1px solid #e2e8f0;
}

/* Error message */
.htoeau-form-msg {
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	margin-bottom: 14px;
	display: none;
}

.htoeau-msg-error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
	line-height: 1.5;
}

.htoeau-msg-warning {
	background: #fffbeb;
	color: #92400e;
	border: 1px solid #fde68a;
	line-height: 1.5;
}

/* Success Card */
.htoeau-fan-success-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 44px 36px;
	text-align: center;
	box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
	animation: htoeauFadeSlideIn 0.35s ease forwards;
}

.htoeau-success-icon {
	width: 52px;
	height: 52px;
	background: #dcfce7;
	color: #16a34a;
	font-size: 26px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	margin: 0 auto 16px;
}

.htoeau-fan-success-card h3 {
	font-size: 24px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 8px;
}

.htoeau-success-subtext {
	font-size: 15px;
	color: #64748b;
	margin: 0 0 28px;
}

.htoeau-coupon-display {
	background: #f8fafc;
	border: 2px dashed #cbd5e1;
	border-radius: 12px;
	padding: 22px 20px;
	margin: 0 auto 28px;
	max-width: 380px;
}

.htoeau-coupon-meta {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #64748b;
	font-weight: 700;
	margin-bottom: 8px;
}

.htoeau-coupon-code {
	font-family: 'Courier New', Courier, monospace;
	font-size: 28px;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: 3px;
	margin-bottom: 12px;
}

.htoeau-btn-copy {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #0f172a;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
}

.htoeau-btn-copy:hover {
	background: #f1f5f9;
	border-color: #94a3b8;
}

.htoeau-btn-shop-now {
	display: inline-block;
	background: #0f172a;
	color: #ffffff !important;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	padding: 16px 42px;
	border-radius: 50px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
	transition: background 0.2s ease, transform 0.15s ease;
}

.htoeau-btn-shop-now:hover {
	background: #1e293b;
	transform: translateY(-1px);
}

/* Animations */
@keyframes htoeauFadeSlideIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes htoeauSpin {
	to {
		transform: rotate(360deg);
	}
}

/* Mobile Responsiveness */
@media (max-width: 580px) {
	.htoeau-form-row {
		flex-direction: column;
	}

	.htoeau-btn-submit {
		width: 100%;
	}

	.htoeau-fan-cta-card,
	.htoeau-fan-form-card,
	.htoeau-fan-success-card {
		padding: 30px 20px;
	}

	.htoeau-fan-title {
		font-size: 22px;
	}
}

/* ──────────────────────────────────────────────
   MODAL POPUP STYLES
   ────────────────────────────────────────────── */
.htoeau-modal-overlay {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	background: rgba(15, 23, 42, 0.75) !important;
	backdrop-filter: blur(8px) !important;
	-webkit-backdrop-filter: blur(8px) !important;
	z-index: 99999999 !important;
	display: none;
	align-items: center !important;
	justify-content: center !important;
	padding: 20px !important;
	opacity: 0;
	transition: opacity 0.25s ease;
	box-sizing: border-box;
}

.htoeau-modal-overlay.is-active {
	display: flex !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}

body.htoeau-modal-open {
	overflow: hidden !important;
}

.htoeau-modal-dialog {
	position: relative;
	background: #ffffff;
	border-radius: 24px;
	max-width: 540px;
	width: 100%;
	padding: 40px 36px;
	box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
	transform: scale(0.92) translateY(10px);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	box-sizing: border-box;
	z-index: 100000000 !important;
}

.htoeau-modal-overlay.is-active .htoeau-modal-dialog {
	transform: scale(1) translateY(0);
}

.htoeau-modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 36px;
	height: 36px;
	background: #f1f5f9;
	border: none;
	border-radius: 50%;
	font-size: 24px;
	line-height: 1;
	color: #64748b;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	z-index: 10;
}

.htoeau-modal-close:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.htoeau-modal-header {
	text-align: center;
	margin-bottom: 24px;
}

.htoeau-modal-title {
	font-size: 24px;
	font-weight: 800;
	color: #0f172a;
	margin: 10px 0 6px;
	letter-spacing: -0.4px;
	line-height: 1.25;
}

.htoeau-modal-subtitle {
	font-size: 15px;
	color: #64748b;
	margin: 0;
	line-height: 1.5;
}

.htoeau-modal-content-success {
	text-align: center;
}

.htoeau-modal-content-success h3 {
	font-size: 24px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 8px;
}

@media (max-width: 580px) {
	.htoeau-modal-dialog {
		padding: 30px 20px;
	}
	.htoeau-modal-title {
		font-size: 20px;
	}
}

/* ──────────────────────────────────────────────
   TOAST NOTIFICATION COMPONENT
   ────────────────────────────────────────────── */
.htoeau-toast {
	position: fixed;
	top: 24px;
	right: 24px;
	z-index: 9999999;
	max-width: 420px;
	width: calc(100% - 48px);
	background: #0b2d3d;
	color: #ffffff;
	border: 1.5px solid #008fa3;
	border-radius: 14px;
	padding: 16px 18px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	transform: translateY(-25px);
	opacity: 0;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
	pointer-events: none;
	box-sizing: border-box;
}

.htoeau-toast.is-visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.htoeau-toast--warning {
	border-color: #f59e0b;
	background: #0d2538;
}

.htoeau-toast--warning .htoeau-toast-icon {
	color: #f59e0b;
	background: rgba(245, 158, 11, 0.18);
}

.htoeau-toast--error {
	border-color: #ef4444;
	background: #1c1917;
}

.htoeau-toast--error .htoeau-toast-icon {
	color: #ef4444;
	background: rgba(239, 68, 68, 0.18);
}

.htoeau-toast-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 18px;
}

.htoeau-toast-content {
	flex: 1;
	min-width: 0;
}

.htoeau-toast-title {
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
	color: #ffffff;
	margin: 0 0 4px 0;
}

.htoeau-toast-message {
	font-size: 13px;
	line-height: 1.5;
	color: #cbd5e1;
	margin: 0;
}

.htoeau-toast-close {
	background: none;
	border: none;
	color: #94a3b8;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	margin-left: 6px;
	transition: color 0.15s ease;
	flex-shrink: 0;
}

.htoeau-toast-close:hover {
	color: #ffffff;
}

@media (max-width: 480px) {
	.htoeau-toast {
		top: 16px;
		right: 16px;
		left: 16px;
		width: auto;
		max-width: none;
		padding: 14px 16px;
	}
}

