/* SchrottRadar.de GDPR / TDDDG / DDG Compliance UI Styles */
button.sr-cookie-settings-trigger {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	line-height: inherit;
	cursor: pointer;
	color: #1b6cb5;
	text-decoration: underline;
	text-align: left;
}
button.sr-cookie-settings-trigger:hover {
	text-decoration: none;
}
.site-info .copyright-bar button.sr-cookie-settings-trigger {
	color: inherit;
	text-decoration: none;
}
.site-info .copyright-bar button.sr-cookie-settings-trigger:hover {
	text-decoration: underline;
}

/* 2-Klick OpenStreetMap Consent Gate */
.sr-osm-gate {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	height: 100%;
	min-height: 260px;
	padding: 24px;
	box-sizing: border-box;
	text-align: center;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	color: #1e293b;
}
.sr-osm-gate p {
	margin: 0;
	max-width: 520px;
	font-size: 0.9rem;
	line-height: 1.5;
}
.sr-osm-gate--compact {
	min-height: 190px;
	padding: 16px;
}
.sr-osm-gate--compact p {
	font-size: 0.82rem;
	line-height: 1.42;
}
.sr-osm-accept-btn {
	background: #28a745;
	color: #ffffff;
	border: 0;
	border-radius: 6px;
	padding: 9px 16px;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
}
.sr-osm-accept-btn:hover {
	background: #218838;
}

/* Non-EEA / AdBlock Cookie Fallback Modal */
.sr-cookie-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 99990;
	background: rgba(15, 23, 42, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.sr-cookie-modal-backdrop[hidden] {
	display: none;
}
.sr-cookie-modal {
	width: 100%;
	max-width: 520px;
	max-height: 90vh;
	overflow-y: auto;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.24);
	color: #0f172a;
}
.sr-cookie-modal-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}
.sr-cookie-modal-head h2 {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.3;
}
.sr-cookie-modal-close {
	background: none;
	border: 0;
	font-size: 1.5rem;
	line-height: 1;
	padding: 2px 6px;
	cursor: pointer;
	color: #64748b;
}
.sr-cookie-modal-close:hover {
	color: #0f172a;
}
.sr-cookie-modal-note {
	margin: 0 0 14px;
	padding: 10px 12px;
	border-radius: 6px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	font-size: 0.86rem;
	line-height: 1.48;
	color: #334155;
}
.sr-cookie-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 16px;
}
.sr-cookie-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	cursor: pointer;
	background: #ffffff;
}
.sr-cookie-option.is-locked {
	background: #f8fafc;
	cursor: default;
}
.sr-cookie-option input {
	margin-top: 3px;
	flex-shrink: 0;
}
.sr-cookie-option-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.sr-cookie-option-body strong {
	font-size: 0.92rem;
	color: #0f172a;
}
.sr-cookie-option-body small {
	font-size: 0.82rem;
	line-height: 1.4;
	color: #475569;
}
.sr-cookie-modal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
}
.sr-btn-primary {
	background: #1b6cb5;
	color: #ffffff;
	border: 0;
	border-radius: 6px;
	padding: 10px 16px;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
}
.sr-btn-primary:hover {
	background: #14538d;
}
.sr-btn-secondary {
	background: #e2e8f0;
	color: #0f172a;
	border: 0;
	border-radius: 6px;
	padding: 10px 16px;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
}
.sr-btn-secondary:hover {
	background: #cbd5e1;
}
.sr-cookie-modal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 0.84rem;
	padding-top: 10px;
	border-top: 1px solid #e2e8f0;
}

/* Contact & DSGVO Form Styles */
.sr-contact-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 16px 0 20px;
}
.sr-contact-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}
.sr-contact-form label {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-weight: 600;
	font-size: 0.9rem;
	color: #1e293b;
}
.sr-contact-form input[type="text"],
.sr-contact-form input[type="email"],
.sr-contact-form textarea {
	width: 100%;
	padding: 9px 11px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font: inherit;
	box-sizing: border-box;
	background: #ffffff;
}
.sr-contact-form label.sr-contact-check,
.sr-dsgvo-check {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
	font-size: 0.86rem;
	line-height: 1.45;
	color: #334155;
	margin: 12px 0 8px;
}
.sr-contact-form label.sr-contact-check input,
.sr-dsgvo-check input {
	margin-top: 3px;
	flex-shrink: 0;
}
.sr-contact-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
.sr-contact-status {
	font-size: 0.88rem;
	font-weight: 600;
	color: #166534;
}
.sr-contact-status.is-error {
	color: #b91c1c;
}
