/* GDPR request page, styled with the active Arxedo palette. */
.privacy-request {
	box-sizing: border-box;
	max-width: 78rem;
	margin-inline: auto;
	padding: clamp(2.5rem, 6vw, 5rem) 1.25rem;
	color: var(--arx-preset--color--contrast);
}

.privacy-request__intro {
	max-width: 52rem;
	margin: 0 auto 2rem;
	text-align: center;
}

.privacy-request__eyebrow {
	margin: 0 0 .75rem;
	color: var(--arx-preset--color--primary);
	font-size: var(--arx-preset--font-size--small);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.privacy-request__intro h2 {
	margin: 0 0 1rem;
}

.privacy-request__intro > p:last-child {
	max-width: 44rem;
	margin-inline: auto;
	line-height: 1.7;
}

.privacy-request__form {
	max-width: 58rem;
	margin: 0 auto;
}

.privacy-request__stepper {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: .5rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.privacy-request__stepper li {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: .5rem;
	padding: .65rem .55rem;
	border: 1px solid var(--arxedo-edge, var(--arx-preset--color--muted));
	background: var(--arx-preset--color--surface);
	color: var(--arx-preset--color--muted);
	font-size: var(--arx-preset--font-size--small);
	line-height: 1.25;
}

.privacy-request__stepper-number {
	display: inline-grid;
	width: 1.7rem;
	height: 1.7rem;
	flex: 0 0 1.7rem;
	place-items: center;
	border-radius: 50%;
	background: var(--arx-preset--color--base);
	color: var(--arx-preset--color--contrast);
	font-size: .8rem;
	font-weight: 700;
}

.privacy-request__stepper li[aria-current="step"] {
	border-color: var(--arx-preset--color--primary);
	color: var(--arx-preset--color--contrast);
}

.privacy-request__stepper li[aria-current="step"] .privacy-request__stepper-number,
.privacy-request__stepper li.is-complete .privacy-request__stepper-number {
	background: var(--arx-preset--color--primary);
	color: var(--arx-preset--color--on-primary);
}

.privacy-request__panel,
.privacy-request__success {
	margin: 0;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--arxedo-edge, var(--arx-preset--color--muted));
	background: var(--arx-preset--color--surface);
}

.privacy-request__panel legend {
	width: 100%;
	margin: 0 0 1.25rem;
	padding: 0;
	font-size: var(--arx-preset--font-size--large);
	font-weight: 700;
}

.privacy-request__hint {
	margin: -.5rem 0 1.25rem;
	color: var(--arx-preset--color--muted);
	line-height: 1.6;
}

.privacy-request__rights {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .9rem;
}

.privacy-request__choice {
	position: relative;
	display: flex;
	min-height: 7rem;
	flex-direction: column;
	gap: .45rem;
	padding: 1.1rem 3.25rem 1.1rem 1.1rem;
	border: 1px solid var(--arxedo-edge, var(--arx-preset--color--muted));
	background: var(--arx-preset--color--base);
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease;
}

.privacy-request__choice:hover,
.privacy-request__choice:focus-within {
	border-color: var(--arx-preset--color--primary);
}

.privacy-request__choice input {
	position: absolute;
	top: 1.1rem;
	right: 1.1rem;
	width: 1.2rem;
	height: 1.2rem;
	margin: 0;
	accent-color: var(--arx-preset--color--primary);
}

.privacy-request__choice-title {
	font-weight: 700;
}

.privacy-request__choice-copy {
	color: var(--arx-preset--color--muted);
	font-size: var(--arx-preset--font-size--small);
	line-height: 1.5;
}

.privacy-request__field {
	margin: 0 0 1.1rem;
}

.privacy-request__field label,
.privacy-request__consent-label {
	display: block;
	margin-bottom: .45rem;
	font-size: var(--arx-preset--font-size--small);
	font-weight: 600;
}

.privacy-request__field label span {
	color: var(--arx-preset--color--primary);
}

.privacy-request__field .arxedo-field__control {
	min-height: 3rem;
}

.privacy-request__field textarea.arxedo-field__control {
	min-height: 10rem;
}

.privacy-request__review {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: 1.25rem;
	margin: 0 0 1.5rem;
}

.privacy-request__review-card {
	min-width: 0;
	padding: 1rem;
	border: 1px solid var(--arxedo-edge, var(--arx-preset--color--muted));
	background: var(--arx-preset--color--base);
}

.privacy-request__review-card h3 {
	margin: 0 0 .8rem;
	font-size: var(--arx-preset--font-size--medium);
}

.privacy-request__review-card ul {
	margin: 0;
	padding-left: 1.2rem;
}

.privacy-request__review-details {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: .45rem .8rem;
	margin: 0;
	font-size: var(--arx-preset--font-size--small);
}

.privacy-request__review-details dt {
	font-weight: 700;
}

.privacy-request__review-details dd {
	min-width: 0;
	margin: 0;
	overflow-wrap: anywhere;
}

.privacy-request__consent {
	display: grid;
	grid-template-columns: 1.25rem minmax(0, 1fr);
	align-items: start;
	gap: .75rem;
	margin: 1.25rem 0;
	color: var(--arx-preset--color--contrast);
	line-height: 1.65;
}

.privacy-request__consent input {
	width: 1.15rem;
	height: 1.15rem;
	margin: .2rem 0 0;
	accent-color: var(--arx-preset--color--primary);
}

.privacy-request__consents {
	display: grid;
	gap: 0.2rem;
	margin: 1rem 0 0;
	padding: 0;
	border: 0;
	min-inline-size: 0;
}


.privacy-request__consents .privacy-request__consent {
	margin: 0.35rem 0;
}

.privacy-request__consent label {
	font-size: var(--arx-preset--font-size--small);
}

.privacy-request__consent a {
	color: var(--arx-preset--color--primary);
}

.privacy-request__security {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1.25rem;
	padding: 1.25rem;
	background: var(--arx-preset--color--ghost);
}

.privacy-request__security h3 {
	margin: 0 0 .35rem;
	font-size: var(--arx-preset--font-size--small);
}

.privacy-request__security p {
	margin: 0;
	color: var(--arx-preset--color--muted);
	font-size: var(--arx-preset--font-size--small);
	line-height: 1.5;
}

.privacy-request__notice {
	margin: 0 0 1rem;
	padding: .9rem 1rem;
	border-left: 3px solid var(--arx-preset--color--primary);
	background: var(--arx-preset--color--surface);
	line-height: 1.6;
}

.privacy-request__notice.is-ok {
	border-left-color: var(--arx-preset--color--accent);
}

.privacy-request__notice.is-error {
	color: var(--arx-preset--color--primary);
}

.privacy-request__navigation {
	display: flex;
	justify-content: space-between;
	gap: .75rem;
	margin-top: 1rem;
}

.privacy-request__navigation button,
.privacy-request__fallback-submit {
	min-height: 2.9rem;
	padding: .65rem 1.4rem;
	border: 2px solid var(--arx-preset--color--primary);
	background: var(--arx-preset--color--base);
	color: var(--arx-preset--color--primary);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.privacy-request__navigation button:hover,
.privacy-request__fallback-submit:hover {
	background: var(--arx-preset--color--primary);
	color: var(--arx-preset--color--on-primary);
}

.privacy-request__navigation [data-privacy-submit] {
	margin-left: auto;
}

.privacy-request__success h2 {
	margin-top: 0;
}

.privacy-request__success p:last-child {
	margin-bottom: 0;
}

.privacy-request__fine-print {
	margin: .8rem 0 0;
	color: var(--arx-preset--color--muted);
	font-size: var(--arx-preset--font-size--small);
	line-height: 1.6;
}

.privacy-request--enhanced [data-privacy-step-panel][hidden],
.privacy-request--enhanced [data-privacy-success][hidden],
.privacy-request--enhanced [data-privacy-navigation][hidden] {
	display: none;
}

.privacy-request--enhanced [data-submit-fallback] {
	display: none;
}

@media (max-width: 720px) {
	.privacy-request__stepper {
		grid-template-columns: 1fr;
		gap: .35rem;
	}

	.privacy-request__stepper li {
		padding: .45rem .6rem;
	}

	.privacy-request__rights,
	.privacy-request__review,
	.privacy-request__security {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.privacy-request__choice {
		transition-duration: .2s;
	}
}
