/* GoFar Geo Redirect: selector + test-mode notice. Deliberately light so the theme can restyle it. */

.ggr-selector { display: inline-block; position: relative; font-size: 14px; line-height: 1.4; }
.ggr-selector__list { list-style: none; margin: 0; padding: 0; }
.ggr-selector__link { text-decoration: none; }
.ggr-selector__item.is-current .ggr-selector__link { font-weight: 700; }

.ggr-selector--links .ggr-selector__list { display: flex; flex-wrap: wrap; gap: 4px 16px; }

.ggr-selector__summary { cursor: pointer; padding: 6px 10px; border: 1px solid currentColor; border-radius: 4px; white-space: nowrap; }
.ggr-selector--dropdown .ggr-selector__list {
	position: absolute; z-index: 1000; left: 0; min-width: 100%; margin-top: 4px; padding: 4px 0;
	background: #fff; color: #1d2327; border: 1px solid #c3c4c7; border-radius: 4px; box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}
.ggr-selector--dropdown .ggr-selector__link { display: block; padding: 6px 12px; color: inherit; white-space: nowrap; }
.ggr-selector--dropdown .ggr-selector__link:hover,
.ggr-selector--dropdown .ggr-selector__link:focus { background: #f0f0f1; }

.ggr-debug[hidden] { display: none !important; }
/* Pinned above the theme's fixed header, below the WordPress admin bar. */
.ggr-debug {
	position: fixed; top: 0; left: 0; right: 0; z-index: 99990; box-sizing: border-box; max-height: 80vh; overflow: auto;
	margin: 0; padding: 10px 20px; background: #fff8e5; color: #1d2327; border-bottom: 4px solid #dba617; box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
	font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; text-align: left;
}
.admin-bar .ggr-debug { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .ggr-debug { top: 46px; } }
/* Hidden: a small tab in the top right corner, so the page is usable. */
.ggr-debug.is-collapsed { left: auto; right: 12px; padding: 6px 10px; border: 1px solid #dba617; border-top: 0; border-radius: 0 0 6px 6px; }
.ggr-debug.is-collapsed .ggr-debug__title { font-size: 13px; }
.ggr-debug__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ggr-debug__title { font-size: 15px; }
.ggr-debug__body[hidden] { display: none !important; }
.ggr-debug__body { margin-top: 10px; padding-bottom: 6px; }
.ggr-debug__head .ggr-debug__toggle { margin-top: 0; padding: 4px 10px; white-space: nowrap; }
.ggr-debug__list { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; }
.ggr-debug__list dt { font-weight: 600; margin: 0; }
.ggr-debug__list dd { margin: 0; overflow-wrap: anywhere; }
.ggr-debug__error { margin: 8px 0 0; color: #b32d2e; }
.ggr-debug__button { margin-top: 12px; padding: 6px 12px; background: #fff; color: #1d2327; border: 1px solid #8c8f94; border-radius: 3px; cursor: pointer; font: inherit; }

@media (max-width: 600px) {
	.ggr-debug__list { grid-template-columns: 1fr; gap: 0; }
	.ggr-debug__list dd { margin-bottom: 8px; }
}
