/* WP Helpdesk notification preferences - scoped to .wphd-np-form / .wphd-np-details */
.wphd-np-details {
	margin: 0 0 16px;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #fff;
	box-sizing: border-box;
}
.wphd-np-details > summary {
	cursor: pointer;
	min-height: 44px;
	padding: 10px 12px;
	box-sizing: border-box;
	font-weight: 600;
	display: flex;
	align-items: center;
}
.wphd-np-details > summary:focus-visible,
.wphd-np-form :focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}
.wphd-np-details .wphd-np-form {
	padding: 0 12px 12px;
}
.wphd-np-form {
	box-sizing: border-box;
}
.wphd-np-form *,
.wphd-np-form *::before,
.wphd-np-form *::after {
	box-sizing: border-box;
}
.wphd-np-form fieldset {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	min-width: 0;
}
.wphd-np-form legend {
	font-weight: 600;
	padding: 0;
	margin: 0 0 6px;
}
.wphd-np-form .wphd-np-row {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	margin: 0;
}
.wphd-np-form .wphd-np-row label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	flex: 1 1 auto;
	cursor: pointer;
}
.wphd-np-form input[type="checkbox"] {
	width: 24px;
	height: 24px;
	margin: 0;
	flex: 0 0 auto;
}
.wphd-np-form input[type="date"] {
	font-size: 16px;
	min-height: 44px;
	max-width: 100%;
	padding: 6px 10px;
}
.wphd-np-form .wphd-np-help {
	margin: 4px 0 0;
	font-size: 14px;
	opacity: 0.85;
}
.wphd-np-form .wphd-np-submit {
	min-height: 44px;
	min-width: 44px;
	font-size: 16px;
	padding: 8px 18px;
	cursor: pointer;
}
.wphd-np-message {
	margin: 0 0 12px;
	padding: 8px 12px;
	border-left: 4px solid #00a32a;
	background: #f0f6f0;
}
.wphd-np-message.wphd-np-message-error {
	border-left-color: #d63638;
	background: #fcf0f1;
}
.wphd-np-message:empty {
	display: none;
}
