/* CUPM Contact Form — scoped styles, reuses theme tokens from cupm-theme. */

.cupm-cf-notice {
	margin: 0 0 1.5rem;
	padding: 0.9rem 1.1rem;
	border-radius: var(--radius, 0.75rem);
	font-size: var(--text-sm, 0.9375rem);
	border: 1px solid var(--border, rgba(0, 0, 0, 0.1));
}
.cupm-cf-notice--success {
	border-color: var(--border-gold, rgba(212, 160, 23, 0.38));
	background: var(--surface, rgba(255, 255, 255, 0.04));
	color: var(--text, inherit);
}
.cupm-cf-notice--error {
	border-color: rgba(200, 60, 60, 0.5);
	background: rgba(200, 60, 60, 0.08);
	color: var(--text, inherit);
}

.cupm-cf-form {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	max-width: 30rem;
}

.cupm-cf-field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.cupm-cf-label {
	font-size: var(--text-xs, 0.8125rem);
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--text-muted, inherit);
}

.cupm-cf-input {
	font-family: var(--font-body, inherit);
	font-size: var(--text-md, 1rem);
	color: var(--text, inherit);
	background: var(--surface, rgba(255, 255, 255, 0.04));
	border: 1px solid var(--border, rgba(213, 222, 240, 0.13));
	border-radius: var(--radius, 0.75rem);
	padding: 0.7rem 0.9rem;
	line-height: 1.5;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cupm-cf-input:focus-visible {
	outline: none;
	border-color: var(--gold, #D4A017);
	box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2);
}

.cupm-cf-textarea {
	resize: vertical;
	min-height: 8rem;
}

.cupm-cf-submit {
	align-self: flex-start;
	border: none;
}
.cupm-cf-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

/* Honeypot: off-screen, not display:none, so naive bots still "see" and fill it. */
.cupm-cf-hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
