/**
 * Gigglezz DPDP consent manager styles.
 *
 * The one rule that is not cosmetic: "Reject all" and "Accept all" must stay
 * visually identical — same size, same colour, same weight, same row. Styling
 * one to out-shout the other is a dark pattern (C-04/C-05) and a live
 * enforcement risk, not a conversion-rate lever. If a redesign asks you to
 * make Accept greener, the answer is no.
 */

.gz-dpdp {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 999999;
	display: flex;
	justify-content: center;
	padding: 16px;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.55;
}

.gz-dpdp[hidden] { display: none; }

.gz-dpdp__panel {
	width: 100%;
	max-width: 640px;
	background: #fff;
	color: #1c1c1c;
	border: 1px solid #e4e4e7;
	border-radius: 14px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
	padding: 22px;
	max-height: 85vh;
	overflow-y: auto;
}

.gz-dpdp__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
}

.gz-dpdp__body {
	margin: 0 0 16px;
	color: #3f3f46;
}

.gz-dpdp__body a { color: inherit; text-decoration: underline; }

.gz-dpdp__detail {
	margin: 0 0 16px;
	border-top: 1px solid #ececf0;
	padding-top: 12px;
}

.gz-dpdp__row {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 0;
	border-bottom: 1px solid #f4f4f5;
	cursor: pointer;
}

.gz-dpdp__row:last-child { border-bottom: 0; }

.gz-dpdp__row input {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	accent-color: #1c1c1c;
}

.gz-dpdp__row--locked { cursor: default; opacity: .72; }

.gz-dpdp__row span { font-size: 14px; color: #52525b; }
.gz-dpdp__row strong { color: #1c1c1c; font-size: 15px; }

.gz-dpdp__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gz-dpdp__save { margin-top: 10px; }

/* Accept and Reject share this class and nothing overrides either one. */
.gz-dpdp__btn {
	flex: 1 1 160px;
	min-height: 46px;
	padding: 12px 18px;
	font: inherit;
	font-weight: 600;
	color: #fff;
	background: #1c1c1c;
	border: 1px solid #1c1c1c;
	border-radius: 10px;
	cursor: pointer;
	transition: opacity .15s ease;
}

.gz-dpdp__btn:hover { opacity: .86; }

.gz-dpdp__btn:focus-visible {
	outline: 3px solid #7c3aed;
	outline-offset: 2px;
}

/* "Choose" is secondary to both primaries — it opens options rather than
   deciding anything, so it is the one button that may look different. */
.gz-dpdp__btn--ghost {
	flex: 1 1 120px;
	color: #1c1c1c;
	background: transparent;
	border-color: #d4d4d8;
	font-weight: 500;
}

@media (max-width: 520px) {
	.gz-dpdp { padding: 10px; }
	.gz-dpdp__panel { padding: 18px; border-radius: 12px; }
	.gz-dpdp__btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.gz-dpdp__btn { transition: none; }
}

@media (prefers-color-scheme: dark) {
	.gz-dpdp__panel { background: #18181b; color: #fafafa; border-color: #3f3f46; }
	.gz-dpdp__title { color: #fafafa; }
	.gz-dpdp__body { color: #d4d4d8; }
	.gz-dpdp__detail { border-top-color: #3f3f46; }
	.gz-dpdp__row { border-bottom-color: #27272a; }
	.gz-dpdp__row span { color: #a1a1aa; }
	.gz-dpdp__row strong { color: #fafafa; }
	.gz-dpdp__btn { background: #fafafa; color: #18181b; border-color: #fafafa; }
	.gz-dpdp__btn--ghost { background: transparent; color: #fafafa; border-color: #52525b; }
}
