/* Google Business Profile Checklist (includes/gbp-checklist.php). Builds on missed-call-calculator.css (.im-mcc). */
.im-gbp__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: gbp; }
.im-gbp__item { counter-increment: gbp; margin: 0; padding: 12px 14px; border: 1px solid var(--mcc-line); border-radius: 14px; background: rgba(255, 255, 255, .03); }
/* The theme styles every fieldset (white background), so reset it here. */
.im-gbp__item fieldset { margin: 0 !important; padding: 0 !important; border: 0 !important; min-width: 0; background: transparent !important; box-shadow: none !important; }
.im-gbp__item legend { float: left; width: 100%; display: block; padding: 0 !important; margin: 0 0 10px !important; background: transparent !important; color: #fff !important; font-size: 15px; font-weight: 600; line-height: 1.4; }
.im-gbp__item legend + * { clear: both; }
/* Number from the markup, not a CSS counter: hidden pages would restart a counter at 1. */
.im-gbp__item legend::before { content: attr(data-n) ". "; color: var(--mcc-cyan); }
.im-gbp__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.im-gbp__opt { position: relative; display: inline-flex; cursor: pointer; }
.im-gbp__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.im-gbp__opt span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--mcc-line); border-radius: 999px; color: var(--mcc-muted); font-size: 14.5px; font-weight: 600; transition: background .15s, border-color .15s, color .15s; }
.im-gbp__opt:hover span { border-color: rgba(160, 180, 255, .5); color: #fff; }
.im-gbp__opt input:focus-visible + span { outline: 2px solid var(--mcc-cyan); outline-offset: 2px; }
.im-gbp__opt--yes input:checked + span { background: rgba(34, 211, 238, .16); border-color: var(--mcc-cyan); color: #fff; }
.im-gbp__opt--no input:checked + span { background: rgba(248, 113, 113, .16); border-color: #f87171; color: #fff; }
.im-gbp__opt--unsure input:checked + span { background: rgba(250, 204, 21, .14); border-color: #facc15; color: #fff; }

/* Pagination (gbp-checklist.js adds .is-paged and hides the other pages). */
.im-gbp__item[hidden] { display: none !important; }
.im-gbp__pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.im-gbp__pager[hidden] { display: none; }
.im-gbp__page { color: var(--mcc-muted); font-size: 14px; font-variant-numeric: tabular-nums; text-align: center; }
.im-gbp__nav { min-height: 44px; padding: 10px 20px !important; border-radius: 999px !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1.2 !important; cursor: pointer; transition: filter .15s, opacity .15s; }
.im-gbp__nav--back { border: 1px solid var(--mcc-line) !important; background: transparent !important; color: #fff !important; }
.im-gbp__nav--next { border: 0 !important; background: linear-gradient(90deg, var(--mcc-blue), var(--mcc-violet)) !important; color: #fff !important; }
.im-gbp__nav:hover:not(:disabled) { filter: brightness(1.12); }
.im-gbp__nav:disabled { opacity: .35; cursor: default; }
.im-gbp__nav:focus-visible { outline: 2px solid var(--mcc-cyan); outline-offset: 2px; }
.im-gbp__dots { display: flex; justify-content: center; gap: 6px; }
.im-gbp__dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .18); transition: background .15s, transform .15s; }
.im-gbp__dots span.is-done { background: var(--mcc-cyan); }
.im-gbp__dots span.is-current { transform: scale(1.35); background: #fff; }
.im-gbp.is-paged .im-gbp__inputs { align-content: start; }

.im-gbp__result { position: sticky; top: 96px; }
.im-gbp__meter { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.im-gbp__meter span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mcc-blue), var(--mcc-cyan)); transition: width .25s; }
.im-gbp__count { color: var(--mcc-muted); font-size: 14px; }
.im-gbp__fixes { padding: 12px 14px; border: 1px solid var(--mcc-line); border-radius: 12px; }
.im-gbp__fixes[hidden] { display: none; }
.im-gbp__fixes-title { margin-bottom: 8px !important; color: #fff; font-weight: 700; }
.im-gbp__fixes ol { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: var(--mcc-muted); font-size: 14px; line-height: 1.45; }
.im-gbp__fixes strong { color: #fff; font-weight: 600; }
.im-gbp__fixes-empty { color: var(--mcc-muted); font-size: 14px; line-height: 1.45; }
.im-gbp__fixes-empty[hidden] { display: none; }

/* Score by area (owner 2026-11-22: "add more content on the right"). */
.im-gbp__areas { padding: 12px 14px; border: 1px solid var(--mcc-line); border-radius: 12px; }
.im-gbp__areas ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.im-gbp__areas li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: baseline; margin: 0; }
.im-gbp__area-name { color: #fff; font-size: 14px; font-weight: 600; }
.im-gbp__area-pts { color: var(--mcc-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.im-gbp__area-bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.im-gbp__area-bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mcc-violet), var(--mcc-cyan)); transition: width .25s; }
.im-gbp__tip { padding: 10px 12px; border-left: 3px solid var(--mcc-cyan); border-radius: 0 10px 10px 0; background: rgba(34, 211, 238, .06); color: var(--mcc-muted); font-size: 13.5px; line-height: 1.45; }
.im-gbp__tip strong { color: #fff; }

@media (max-width: 760px) {
	.im-gbp__result { position: static; }
}
@media (prefers-reduced-motion: reduce) {
	.im-gbp__meter span, .im-gbp__opt span { transition: none; }
}
