/*
 * Contact inquiry picker (pixel-fix plan chunk 03; CONTACT-05, -06, -10), as the v6.5 prototype:
 * one row of chips above the form and the contact details. contact-picker.js builds the row and
 * hides Forminator's own radio row (the radios still carry the value). #FDFCF9: the prototype's
 * selected-chip text, the same in both themes. Variable fallbacks: Divi prints only the colour
 * variables a page uses.
 */
html body .cds-contact-picker--ready .forminator-row:has(.forminator-field-radio) {
	display: none !important;
}

.cds-picker {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0; /* the 44px to the card is the column's row gap (set on page 282) */
}

.cds-picker__chip {
	margin: 0;
	padding: 11px 22px;
	border: 1px solid var(--gcid-cds-border-2, #2A2B30);
	border-radius: 100px;
	background-color: var(--gcid-cds-card, #15161A);
	color: var(--gcid-cds-body, #C6C6C9);
	font-family: var(--gvid-cds-font-body, "IBM Plex Sans"), sans-serif;
	font-size: 14.5px;
	font-weight: 500;
	line-height: normal;
	cursor: pointer;
	transition: none;
}

.cds-picker__chip:hover {
	border-color: var(--gcid-cds-accent, #7D8DEB);
	color: var(--gcid-cds-accent, #7D8DEB);
}

.cds-picker__chip[aria-pressed="true"] {
	border-color: var(--gcid-cds-accent-btn, #3F51C0);
	background-color: var(--gcid-cds-accent-btn, #3F51C0);
	color: #FDFCF9;
}

/* WCAG 1.4.3: the prototype turned the selected chip's text accent on hover (low contrast on the fill); it stays #FDFCF9. */
.cds-picker__chip[aria-pressed="true"]:hover {
	border-color: var(--gcid-cds-accent, #7D8DEB);
	color: #FDFCF9;
}
