/* Onay kutusu — checkbox metinle üst hizada */
.ds-legal-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.ds-legal-consent__input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--ds-pink, #e84a7f);
	cursor: pointer;
}

.ds-legal-consent__label {
	flex: 1 1 auto;
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
	font-weight: 500;
	color: #475569;
	cursor: pointer;
}

.ds-legal-consent__label a.js-ds-legal-open {
	color: var(--ds-purple, #7c5cff);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ds-legal-consent__label a.js-ds-legal-open:hover {
	color: var(--ds-pink, #e84a7f);
}

body.dugunsayfam-modern-ui.ds-single-premium #listing-offer-form .ds-legal-consent-wrap {
	margin: 4px 0 6px !important;
	font-size: 11px;
	line-height: 1.35;
}

body.dugunsayfam-modern-ui.ds-single-premium #listing-offer-form .ds-legal-consent-wrap #hata {
	margin-top: 6px;
	font-size: 12px;
	color: #dc2626;
}

/* Yasal modal */
.ds-legal-modal {
	max-width: 640px;
	margin: 0 auto;
	background: #fff;
	border-radius: 16px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
	overflow: hidden;
}

.ds-legal-modal__inner {
	display: flex;
	flex-direction: column;
	max-height: min(88vh, 720px);
}

.ds-legal-modal__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border-bottom: 1px solid #eef2f7;
	background: linear-gradient(180deg, #faf8ff 0%, #fff 100%);
}

.ds-legal-modal__title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
	color: #0f172a;
}

.ds-legal-modal__close {
	position: static;
	width: 36px;
	height: 36px;
	line-height: 36px;
	border-radius: 10px;
	background: #f1f5f9;
	color: #334155;
	opacity: 1;
}

.ds-legal-modal__body {
	overflow-y: auto;
	padding: 16px 18px 20px;
	font-size: 14px;
	line-height: 1.55;
	color: #334155;
}

.ds-legal-modal__body h3 {
	margin: 18px 0 8px;
	font-size: 15px;
	font-weight: 800;
	color: #0f172a;
}

.ds-legal-modal__body h3:first-of-type {
	margin-top: 0;
}

.ds-legal-modal__body ul {
	margin: 0 0 12px;
	padding-left: 1.2rem;
}

.ds-legal-modal__body .ds-legal-meta {
	padding: 12px 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	font-size: 13px;
}

.mfp-wrap.ds-mfp-legal .mfp-container {
	padding: 16px;
}

body.ds-legal-page-view .entry-content .ds-legal-page {
	max-width: 720px;
	margin: 0 auto;
	padding: 24px 16px 40px;
}

body.ds-legal-page-view .ds-legal-page h3 {
	margin-top: 1.5rem;
	font-size: 1.05rem;
}