/* R360 Cookie Consent */
:root { --r360cc-accent: #1f1f1f; --r360cc-bg: #ffffff; --r360cc-fg: #1f1f1f; --r360cc-muted: #5a5a5a; --r360cc-line: #d9d9d9; }

.r360cc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.r360cc-locked, html.r360cc-locked body { overflow: hidden; }

.r360cc-banner, .r360cc-modal, .r360cc-center, .r360cc-placeholder, .r360cc-fab {
	font-family: inherit; font-size: 15px; line-height: 1.5; color: var(--r360cc-fg); letter-spacing: normal; text-transform: none;
}
.r360cc-banner *, .r360cc-modal *, .r360cc-center *, .r360cc-placeholder * { box-sizing: border-box; }

/* Buttons: Accept and Reject are styled identically on purpose (no nudging). */
.r360cc-btn {
	appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
	padding: 10px 20px; border: 2px solid var(--r360cc-accent); border-radius: 0; background: transparent;
	color: var(--r360cc-accent); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
}
.r360cc-btn--solid { background: var(--r360cc-accent); color: #fff; }
.r360cc-btn:hover { opacity: .85; }
.r360cc-btn:focus-visible, .r360cc-modal__close:focus-visible, .r360cc-switch input:focus-visible + .r360cc-switch__ui, .r360cc-cat__details summary:focus-visible, .r360cc-fab:focus-visible {
	outline: 3px solid #1a73e8; outline-offset: 2px;
}

/* Banner */
.r360cc-banner {
	position: fixed; z-index: 2147483000; left: 16px; right: 16px; bottom: 16px; max-width: 1100px; margin: 0 auto;
	background: var(--r360cc-bg); border: 1px solid var(--r360cc-line); box-shadow: 0 10px 40px rgba(0,0,0,.18);
}
.r360cc-banner__inner { display: flex; gap: 24px; align-items: center; padding: 20px 24px; }
.r360cc-banner__copy { flex: 1 1 auto; }
.r360cc-banner__title { margin: 0 0 6px; font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--r360cc-fg); }
.r360cc-banner p { margin: 0; color: var(--r360cc-fg); }
.r360cc-banner a, .r360cc-modal a, .r360cc-center a { color: inherit; text-decoration: underline; }
.r360cc-banner__gpc { margin-top: 8px !important; font-size: 13px; color: var(--r360cc-muted) !important; }
.r360cc-banner__actions { display: flex; flex: 0 0 auto; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) {
	.r360cc-banner { left: 8px; right: 8px; bottom: 8px; }
	.r360cc-banner__inner { flex-direction: column; align-items: stretch; padding: 16px; gap: 14px; }
	.r360cc-banner__actions { display: grid; grid-template-columns: 1fr 1fr; }
	.r360cc-banner__actions [data-r360cc-action="customize"] { grid-column: 1 / -1; order: 3; }
}

/* Modal */
.r360cc-modal[hidden] { display: none; }
.r360cc-modal { position: fixed; inset: 0; z-index: 2147483001; display: flex; align-items: center; justify-content: center; padding: 16px; }
.r360cc-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.r360cc-modal__dialog {
	position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 32px); display: flex; flex-direction: column;
	background: var(--r360cc-bg); box-shadow: 0 20px 60px rgba(0,0,0,.3); outline: none;
}
.r360cc-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--r360cc-line); }
.r360cc-modal__head h2 { margin: 0; font-size: 20px; line-height: 1.3; color: var(--r360cc-fg); }
.r360cc-modal__close { appearance: none; border: 0; background: none; font-size: 30px; line-height: 1; width: 44px; height: 44px; cursor: pointer; color: var(--r360cc-fg); }
.r360cc-modal__body { overflow-y: auto; padding: 18px 24px 0; }
.r360cc-modal__body > p { margin: 0 0 12px; }
.r360cc-modal__foot { position: sticky; bottom: 0; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; padding: 16px 0 20px; background: var(--r360cc-bg); border-top: 1px solid var(--r360cc-line); margin-top: 8px; }
@media (max-width: 600px) { .r360cc-modal__foot .r360cc-btn { flex: 1 1 100%; } }

/* Categories (modal + preference center page) */
.r360cc-cat { margin: 0; padding: 16px 0; border: 0; border-bottom: 1px solid var(--r360cc-line); display: grid; grid-template-columns: 1fr auto; column-gap: 16px; }
.r360cc-cat__head { float: left; padding: 0; margin: 0; grid-column: 1; font-weight: 700; font-size: 16px; }
.r360cc-cat .r360cc-switch { grid-column: 2; grid-row: 1; }
.r360cc-cat__desc, .r360cc-cat__details { grid-column: 1 / -1; }
.r360cc-cat__desc { margin: 6px 0 0; color: var(--r360cc-muted); }
.r360cc-cat__details { margin-top: 8px; }
.r360cc-cat__details summary { cursor: pointer; font-weight: 600; padding: 6px 0; }

.r360cc-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; position: relative; min-height: 44px; }
.r360cc-switch input { position: absolute; opacity: 0; width: 46px; height: 26px; margin: 0; cursor: pointer; }
.r360cc-switch__ui { position: relative; width: 46px; height: 26px; border-radius: 13px; background: #8a8a8a; transition: background .15s; flex: 0 0 auto; }
.r360cc-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.r360cc-switch input:checked + .r360cc-switch__ui { background: var(--r360cc-accent); }
.r360cc-switch input:checked + .r360cc-switch__ui::after { transform: translateX(20px); }
.r360cc-switch input:disabled + .r360cc-switch__ui { opacity: .55; }
.r360cc-switch__text { font-size: 13px; color: var(--r360cc-muted); }
@media (max-width: 600px) { .r360cc-switch__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

.r360cc-table-wrap { overflow-x: auto; }
.r360cc-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 6px 0 4px; }
.r360cc-table th, .r360cc-table td { border: 1px solid var(--r360cc-line); padding: 8px; text-align: left; vertical-align: top; }
.r360cc-table th { background: #f4f4f4; }

/* Preference center page */
.r360cc-center { max-width: 900px; margin: 0 auto 40px; text-align: left; }
.r360cc-center__status { padding: 14px 18px; background: #f4f4f4; border-left: 4px solid var(--r360cc-accent); margin-bottom: 16px; }
.r360cc-center__status p { margin: 0; }
.r360cc-center__actions, .r360cc-center__save { display: flex; gap: 10px; flex-wrap: wrap; }
.r360cc-center__save { margin-top: 20px; }

/* Blocked-content placeholder (e.g. Mapbox map) */
.r360cc-has-placeholder { position: relative; min-height: 320px; }
.r360cc-placeholder { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; background: #efefef; }
.r360cc-placeholder > div { max-width: 460px; }
.r360cc-placeholder p { margin: 0 0 14px; }

/* Optional floating button */
.r360cc-fab { position: fixed; left: 16px; bottom: 16px; z-index: 2147482999; min-height: 40px; padding: 8px 14px; border: 1px solid var(--r360cc-line); background: var(--r360cc-bg); color: var(--r360cc-fg); font-weight: 600; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.15); }

@media (prefers-reduced-motion: reduce) { .r360cc-switch__ui, .r360cc-switch__ui::after { transition: none; } }
