/**
 * 37d Cookie Consent — Structural overrides for orestbida/cookieconsent v3.
 *
 * Colours and fonts are injected dynamically via inline CSS from the admin
 * settings page. This file handles border-radius, shadows, transitions,
 * and focus states only.
 *
 * @link https://github.com/orestbida/cookieconsent
 * @link https://cookieconsent.orestbida.com/
 */

/* ── Panel border radius & shadow ──────────────────────── */
#cc-main .cm {
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

#cc-main .pm {
	border-radius: 16px;
}

/* ── Button styling ────────────────────────────────────── */
#cc-main .cm__btn,
#cc-main .pm__btn {
	border-radius: 4px;
	font-weight: 500;
	transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* ── Focus states (accessibility) ──────────────────────── */
#cc-main .cm__btn:focus-visible,
#cc-main .pm__btn:focus-visible {
	box-shadow: 0 0 0 3px var(--cc-focus-ring-color, rgba(0, 0, 0, 0.2));
	outline: none;
}

#cc-main .pm__section--toggle .toggle__input:focus-visible + .toggle__label {
	box-shadow: 0 0 0 3px var(--cc-focus-ring-color, rgba(0, 0, 0, 0.2));
}

/* ── Description line height ───────────────────────────── */
#cc-main .cm__desc,
#cc-main .pm__body {
	line-height: 1.55;
}

/* ── Links ─────────────────────────────────────────────── */
#cc-main a {
	text-decoration: none;
	transition: color 0.3s ease;
}
