/* CDD Registry V019 — [cdd_form_MAIN] only. Agenda-style full width; scoped. */
.cdd-form-main {
	width: 100%;
	max-width: none;
	margin: 0.75rem 0 1.25rem;
	padding: 0;
	box-sizing: border-box;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.cdd-form-main-form {
	display: block;
}

.cdd-form-main-field {
	margin-bottom: 0.85rem;
}

.cdd-form-main-field > label,
.cdd-form-main-field > .cdd-form-main-mobile-row + label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.4rem;
	font-family: inherit;
}

.cdd-form-main-input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.35rem 0.5rem;
	border: 1px solid #c3c7cb;
	border-radius: 4px;
	background: #fafafa;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.cdd-form-main-input:focus {
	outline: none;
	border-color: #9aa0a6;
	box-shadow: 0 0 0 1px rgba(125, 135, 145, 0.35);
	background: #fff;
}

.cdd-form-main-input.is-invalid,
.cdd-form-main-customdd.is-invalid .cdd-form-main-dd-toggle {
	border-color: #c45a5a;
}

.cdd-form-main-mobile-row {
	display: grid;
	grid-template-columns: minmax(10.5rem, 32%) 1fr;
	gap: 0.5rem;
	align-items: stretch;
}

.cdd-form-main-customdd {
	position: relative;
}

.cdd-form-main-dd-toggle {
	width: 100%;
	box-sizing: border-box;
	text-align: left;
	padding: 0.35rem 0.5rem;
	border: 1px solid #c3c7cb;
	border-radius: 4px;
	background: #fafafa;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.875rem;
	line-height: 1.35;
	transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.cdd-form-main-dd-toggle:hover,
.cdd-form-main-dd-list li:hover {
	background: #eceef0;
}

.cdd-form-main-dd-list {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 2px);
	margin: 0;
	padding: 0.15rem 0;
	list-style: none;
	border: 1px solid #c3c7cb;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	z-index: 30;
	opacity: 0;
	transform: translateY(-3px);
	pointer-events: none;
	transition:
		opacity 175ms cubic-bezier(0.4, 0, 0.2, 1),
		transform 175ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cdd-form-main-customdd.is-open .cdd-form-main-dd-list {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.cdd-form-main-dd-list li {
	padding: 0.35rem 0.55rem;
	cursor: pointer;
	font-size: 0.8125rem;
	line-height: 1.35;
	transition: background-color 0.14s ease;
}

.cdd-form-main-dd-list li.is-selected {
	font-weight: 600;
}

.cdd-form-main-actions {
	text-align: center;
	margin-top: 1.25rem;
}

.cdd-form-main-submit {
	display: inline-block;
	padding: 0.6rem 1.6rem;
	border: none;
	border-radius: 2px;
	background: #d7282f;
	color: #fff;
	font-family: inherit;
	font-size: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.cdd-form-main-submit:hover {
	background: #b51f26;
}

.cdd-form-main-submit:active {
	transform: translateY(1px);
}

.cdd-form-main-submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
	transform: none;
}

.cdd-form-main-message {
	margin-top: 0.85rem;
	min-height: 1.2em;
	font-size: 0.95rem;
}

.cdd-form-main-success {
	margin: 0.35rem 0 0.5rem;
	color: #4b5563;
	font-size: inherit;
	line-height: 1.55;
}

.cdd-form-main-success-p {
	margin: 0 0 0.65rem;
	max-width: none;
}

.cdd-form-main-message.is-error {
	color: #a42323;
}

.cdd-form-main-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.cdd-form-main-field--privacy .cdd-form-main-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-weight: 400;
	cursor: pointer;
}

.cdd-form-main-consent-body {
	display: block;
	flex: 1;
	font-size: 0.8125rem;
	line-height: 1.32;
	color: #6b7280;
}

.cdd-form-main-consent-line {
	display: block;
	margin-bottom: 0.2rem;
}

.cdd-form-main-privacy-link {
	display: inline-block;
	margin-top: 0.15rem;
	font-size: 0.8125rem;
	color: #6b7280;
	text-decoration: underline;
	text-underline-offset: 2px;
	word-break: break-all;
}

.cdd-form-main-field--privacy .cdd-form-main-consent input {
	margin-top: 0.2rem;
	flex-shrink: 0;
}
