/* D-LIV-R Forms — front-end form styling + honeypot hiding. */

/* Honeypots: invisible to humans, present in the DOM for bots. */
.dlvr-hp,
.dlvr-hp-offscreen {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.dlvr-form { max-width: 40rem; }
.dlvr-field { display: flex; flex-direction: column; gap: 0.4rem; margin: 0 0 1.1rem; }
.dlvr-field label { font-weight: 700; font-size: 0.92rem; color: #333e48; }
.dlvr-req { color: #b52929; }
.dlvr-field input,
.dlvr-field select,
.dlvr-field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d9dde1;
	border-radius: 0.55rem;
	padding: 0.7rem 0.85rem;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
	color: #1c2530;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
/* Match the select to the text inputs (same height + rounded box) with a custom caret. */
.dlvr-field select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 2.4rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
	cursor: pointer;
}
.dlvr-field input:focus,
.dlvr-field select:focus,
.dlvr-field textarea:focus {
	/* 1.17.0: a transparent outline survives Windows high-contrast mode, where box-shadow is dropped. Themes can
	   set --dlvr-accent and --dlvr-ring instead of overriding these rules. */
	outline: 2px solid transparent;
	border-color: var(--dlvr-accent, #b79d64);
	box-shadow: 0 0 0 3px var(--dlvr-ring, rgba(183,157,100,.25));
}
.dlvr-field textarea { resize: vertical; min-height: 8rem; }

.dlvr-captcha { margin: 0 0 1.1rem; }
.dlvr-actions { margin: 0.5rem 0 0; }
.dlvr-submit { cursor: pointer; }
.dlvr-fineprint { margin: 0.85rem 0 0; font-size: 0.8rem; color: #6b7177; }

.dlvr-notice {
	border-radius: 0.6rem;
	padding: 0.9rem 1.1rem;
	margin: 0 0 1.25rem;
	font-weight: 600;
	border: 1px solid transparent;
}
.dlvr-notice--ok { background: #e9f7ef; border-color: #b7e4c7; color: #1b5e34; }
.dlvr-notice--err { background: #fdeaea; border-color: #f3b6b6; color: #962020; }

/* 1.17.0: the field the visitor has to fix, and its message beside it. */
.dlvr-field [aria-invalid="true"] { border-color: #b52929; }
.dlvr-error { color: #962020; font-size: 0.88rem; font-weight: 600; }
.dlvr-error[hidden] { display: none; }
/* Read aloud, not shown: "(required)" after a required field's label. */
.dlvr-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
