/**
 * Subscribe form — moved out of an inline <style> tag inside a reusable
 * block's raw HTML, where every page rendering the footer re-sent the same
 * CSS text. Same visual design, one stylesheet, actually cacheable.
 */

.subscribe-form-block {
	display: flex;
	justify-content: center;
}

.subscribe-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-width: 420px;
	margin: 50px auto 0;
}

.subscribe-form .input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.subscribe-form .email-input {
	width: 100%;
	padding: 16px 20px;
	background: #0a0a0a;
	border: 1.5px solid rgba(255, 255, 255, 0.3);
	border-radius: 10px;
	color: #fff;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 400;
	text-align: center;
	outline: none;
	transition: border-color 0.2s ease;
}

.subscribe-form .email-input::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

.subscribe-form .email-input:focus {
	border-color: rgba(255, 255, 255, 0.6);
	text-align: left;
}

.subscribe-form .email-input:focus::placeholder {
	color: transparent;
}

.subscribe-form .email-input:invalid:not(:placeholder-shown) {
	border-color: #d64e34;
}

.subscribe-form .subscribe-btn {
	width: 100%;
	padding: 16px 20px;
	background: #C9A84C;
	border: none;
	border-radius: 10px;
	color: #000;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
}

.subscribe-form .subscribe-btn:hover {
	background: #d4b45a;
}

.subscribe-form .subscribe-btn:active {
	transform: scale(0.99);
}

.subscribe-form .subscribe-btn:disabled {
	opacity: 0.7;
	cursor: default;
}

.subscribe-form__notice {
	margin: 0;
	font-family: 'Inter', sans-serif;
	font-size: 13.5px;
	text-align: center;
}

.subscribe-form__notice[hidden] {
	display: none;
}

.subscribe-form__notice--success {
	color: #7fd894;
}

.subscribe-form__notice--error {
	color: #f0a898;
}
