/* ACU Demographic Add-on — front-end (My Account) styles */

.acu-da-groups-table .acu-da-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 600;
}

.acu-da-badge-on {
	background: #edfaef;
	color: #1a7f37;
}

.acu-da-badge-off {
	background: #f6f7f7;
	color: #646970;
}

.acu-da-warn {
	color: #b32d2e;
	font-weight: 600;
}

/* Question selection screen
   Brand accent lives in these variables — change --acu-accent to ACU's exact red. */
.acu-da-selection-form {
	--acu-accent: #b32025;
	--acu-accent-strong: #8f2323;
	--acu-accent-tint: #f8ecec;
	--acu-accent-bg: #fdf7f7;
	--acu-border: #e2e4e7;
	--acu-border-hover: #c3c4c7;
}

.acu-da-select-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin: 6px 0 16px;
}

.acu-da-select-hint {
	margin: 0;
	flex: 1;
	min-width: 200px;
	font-size: 0.9em;
	color: #646970;
	line-height: 1.5;
}

.acu-da-select-tools {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.acu-da-select-count {
	font-size: 0.85em;
	color: var(--acu-accent-strong);
	background: var(--acu-accent-tint);
	padding: 4px 12px;
	border-radius: 20px;
	white-space: nowrap;
}

.acu-da-question-select {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.acu-da-q {
	border: 1px solid var(--acu-border);
	border-left: 3px solid transparent;
	border-radius: 6px;
	background: #fff;
	transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

.acu-da-q:hover {
	border-color: var(--acu-border-hover);
}

.acu-da-q.is-selected {
	border-color: var(--acu-accent);
	border-left-color: var(--acu-accent);
	background: var(--acu-accent-bg);
}

.acu-da-q-label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	margin: 0;
	cursor: pointer;
	font-weight: 400;
}

.acu-da-q-check {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	flex: 0 0 auto;
	accent-color: var(--acu-accent);
	cursor: pointer;
}

.acu-da-q-body {
	display: block;
	min-width: 0;
}

.acu-da-q-text {
	display: block;
	font-weight: 600;
	line-height: 1.4;
	color: #1d2327;
}

.acu-da-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 9px;
}

.acu-da-choice-pill {
	font-size: 12px;
	line-height: 1.5;
	color: var(--acu-accent-strong);
	background: var(--acu-accent-tint);
	padding: 4px 12px;
	border-radius: 20px;
}

/* Responsive — phones/tablets */
@media screen and ( max-width: 600px ) {
	.acu-da-select-toolbar {
		align-items: flex-start;
	}
	.acu-da-select-tools {
		width: 100%;
		justify-content: space-between;
	}
	.acu-da-q-label {
		padding: 12px 12px;
		gap: 10px;
	}
	.acu-da-q-text {
		font-size: 15px;
	}
	.acu-da-choice-pill {
		font-size: 11px;
		padding: 3px 10px;
	}
}

.acu-da-blocker {
	padding: 20px;
	border: 1px solid #f0c33c;
	background: #fcf9e8;
	border-radius: 4px;
	font-size: 1.05em;
}

/* Assessment product-page opt-in for the add-on (initial-purchase upsell) */
.acu-da-addon-optin {
	clear: both;
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 16px 0;
	padding: 12px 14px;
	border: 1px solid #e2e4e7;
	border-radius: 4px;
	background: #fbfbfc;
	overflow: hidden;
}

.acu-da-addon-optin label {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 600;
	margin: 0;
}

.acu-da-addon-optin input[type="checkbox"] {
	margin-top: 3px;
	flex: 0 0 auto;
}

.acu-da-addon-optin label {
	font-weight: 600;
	cursor: pointer;
}

.acu-da-addon-optin .description {
	display: block;
	margin-top: 4px;
	color: #646970;
	font-size: 0.9em;
}
