/**
 * Small additions for form success/error feedback (account/login/register forms
 * plus Contact Form 7's own response output) that aren't part of the compiled
 * design-system stylesheet (styles.min.css) — reuses its CSS custom properties so
 * it stays on-brand without needing to recompile the source.
 */

.gs-form-message {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 20px;
	padding: 16px 20px;
	border-radius: 16px;
	background: var(--light-bgsec, #f8f9fb);
	border: 1px solid var(--light-bgon-border, #e6e6e6);
}

.gs-form-message__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

.gs-form-message__icon .svg-icon {
	width: 16px;
	height: 16px;
}

.gs-form-message__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-top: 4px;
}

.gs-form-message__title {
	font-weight: 600;
	font-size: 15px;
	line-height: 130%;
	color: var(--light-bgon, #2e2f38);
}

.gs-form-message__text {
	font-size: 14px;
	line-height: 140%;
	color: var(--light-bgon-sec, #67697e);
}

.gs-form-message--success .gs-form-message__icon {
	background: var(--system-success-20, rgba(90, 191, 112, 0.2));
	color: var(--system-success, #5abf70);
}

.gs-form-message--error .gs-form-message__icon {
	background: var(--system-error20, rgba(255, 96, 78, 0.2));
	color: var(--system-error, #ff604e);
}

.account__menu a.is-active {
	background: var(--accent, #161616);
	color: var(--accenton, #fff);
}

/**
 * Contact Form 7's own response box (.wpcf7-response-output) — CF7 toggles its
 * visibility via a status class on the <form> (init/submitting/resetting = hidden,
 * sent/failed/aborted/spam/invalid/unaccepted/payment-required = shown) and writes
 * the message with innerText, so unlike .gs-form-message the icon has to be a CSS
 * ::before glyph rather than an actual <svg><use> — CF7 would wipe out real markup.
 */
.wpcf7 form .wpcf7-response-output {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 20px 0 0 !important;
	padding: 16px 20px !important;
	border: 1px solid var(--light-bgon-border, #e6e6e6) !important;
	border-radius: 16px;
	background: var(--light-bgsec, #f8f9fb);
	font-size: 14px;
	line-height: 140%;
	color: var(--light-bgon, #2e2f38);
}

.wpcf7 form .wpcf7-response-output::before {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.wpcf7 form.sent .wpcf7-response-output::before {
	content: '\2713';
	background: var(--system-success-20, rgba(90, 191, 112, 0.2));
	color: var(--system-success, #5abf70);
}

.wpcf7 form.failed .wpcf7-response-output::before,
.wpcf7 form.aborted .wpcf7-response-output::before,
.wpcf7 form.spam .wpcf7-response-output::before,
.wpcf7 form.invalid .wpcf7-response-output::before,
.wpcf7 form.unaccepted .wpcf7-response-output::before,
.wpcf7 form.payment-required .wpcf7-response-output::before {
	content: '\2715';
	background: var(--system-error20, rgba(255, 96, 78, 0.2));
	color: var(--system-error, #ff604e);
}

.wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: normal;
	color: var(--system-error, #ff604e);
}
