/* Free eBook Sender – form styles (defaults match the client mockup; all editable in Elementor) */

.fes-form-wrap { width: 100%; }

.fes-form {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 0;
	font-family: inherit;
}

.fes-label {
	display: block;
	margin: 0 0 12px;
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.fes-required {
	color: #e5484d;
	margin-left: 2px;
}

.fes-form .fes-input {
	box-sizing: border-box;
	width: 100%;
	height: 72px;
	margin: 0;
	padding: 0 24px;
	background: #0a1330;
	color: #ffffff;
	border: 1px solid #28375f;
	border-radius: 6px;
	font-family: inherit;
	font-size: 18px;
	line-height: normal;
	box-shadow: none;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.fes-form .fes-input::placeholder { color: #6f86b8; opacity: 1; }

.fes-form .fes-input:focus {
	border-color: #f2bd3b;
	box-shadow: 0 0 0 3px rgba(242, 189, 59, .25);
}

.fes-form .fes-input.fes-invalid { border-color: #e5484d; }

/* Honeypot – visually hidden, still in the DOM for bots */
.fes-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px;
	overflow: hidden;
}

.fes-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 16px;
	color: #c3cde6;
	font-size: 14px;
	line-height: 1.5;
	cursor: pointer;
}
.fes-consent input { margin-top: 4px; accent-color: #f2bd3b; flex-shrink: 0; }
.fes-consent a { color: inherit; text-decoration: underline; }

.fes-form .fes-button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-sizing: border-box;
	width: 100%;
	min-height: 76px;
	margin: 38px 0 0;
	padding: 16px 24px;
	background: #f2bd3b;
	color: #000000;
	border: 0;
	border-radius: 6px;
	font-family: inherit;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 1px;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, transform .1s ease;
}

.fes-form .fes-button:hover { background: #ffcb4f; color: #000000; }
.fes-form .fes-button:active { transform: translateY(1px); }
.fes-form .fes-button:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }

.fes-button-icon {
	display: inline-flex;
	align-items: center;
	line-height: 1;
	transition: transform .2s ease;
}
.fes-button-icon svg { width: 1em; height: 1em; fill: currentColor; }
.fes-button.fes-icon-after:hover .fes-button-icon { transform: translateX(4px); }

/* Loading state */
.fes-spinner {
	display: none;
	width: 20px; height: 20px;
	border: 3px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: fes-spin .7s linear infinite;
}
.fes-form.is-loading .fes-button { cursor: wait; opacity: .85; }
.fes-form.is-loading .fes-button-text,
.fes-form.is-loading .fes-button-icon { visibility: hidden; }
.fes-form.is-loading .fes-spinner {
	display: block;
	position: absolute;
	left: 50%; top: 50%;
	margin: -10px 0 0 -10px;
}

@keyframes fes-spin { to { transform: rotate(360deg); } }

/* Messages */
.fes-message {
	margin-top: 14px;
	font-size: 15px;
	line-height: 1.5;
}
.fes-message:empty { display: none; }
.fes-message.is-success { color: #4ade80; }
.fes-message.is-error { color: #ff6b6b; }

@media (max-width: 767px) {
	.fes-form .fes-input { height: 60px; font-size: 16px; padding: 0 18px; }
	.fes-form .fes-button { min-height: 64px; font-size: 16px; margin-top: 24px; }
	.fes-label { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.fes-spinner { animation-duration: 1.5s; }
	.fes-button-icon, .fes-form .fes-button, .fes-form .fes-input { transition: none; }
}
