/* OceanEye Nimble: the cam status box ([oe_cam_status], 0.2.0), in the site's
   pastel palette and the kit's font. Mobile first: one breakpoint adds space.
   Fenced under .oe-cams; buttons and links qualified to beat the Elementor kit. */

.oe-cams {
	--oe-c-ink: var(--oe-ink, #07191D);
	--oe-c-muted: var(--oe-stone, #444444);
	--oe-c-line: var(--oe-line, #E8DCC0);
	--oe-c-sand: var(--oe-sand, #F4E7C7);
	--oe-c-ocean: var(--oe-petrol, #005F80);
	color: var(--oe-c-ink);
	font-family: var(--e-global-typography-text-font-family, "Nunito Sans"), sans-serif;
}
.oe-cams .oe-cams__summary { margin: 0 0 14px; font-size: 1.05rem; line-height: 1.4; color: var(--oe-c-ink); }
.oe-cams .oe-cams__summary strong { font-size: 1.25rem; font-weight: 800; }
.oe-cams .oe-cams__when { color: var(--oe-c-muted); white-space: nowrap; }
.oe-cams .oe-cams__when::before { content: "\00B7\00A0"; }

/* Area chips: as the home page's board, one pressed. On a phone they scroll sideways. */
.oe-cams .oe-cams__chips { display: flex; gap: 8px; margin: 0 -4px 20px; padding: 2px 4px 6px; overflow-x: auto; scrollbar-width: none; }
.oe-cams .oe-cams__chips::-webkit-scrollbar { display: none; }
.oe-cams .oe-cams__chips[hidden] { display: none; }
.oe-cams .oe-cams__chips button.oe-cams__chip {
	flex: 0 0 auto; min-height: 44px; padding: 0 16px; border: 1px solid var(--oe-c-line); border-radius: 999px;
	background-color: #FFFFFF; color: var(--oe-c-ink); font-family: inherit; font-size: 0.95rem; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
}
.oe-cams .oe-cams__chips button.oe-cams__chip:hover { border-color: var(--oe-c-ocean); color: var(--oe-c-ocean); background-color: #FFFFFF; }
.oe-cams .oe-cams__chips button.oe-cams__chip[aria-pressed="true"] { background-color: var(--oe-c-ocean); border-color: var(--oe-c-ocean); color: #FFFFFF; }
.oe-cams .oe-cams__chips button.oe-cams__chip:focus-visible { outline: 3px solid var(--oe-c-ocean); outline-offset: 2px; }

.oe-cams .oe-cams__area { margin: 0 0 22px; }
.oe-cams .oe-cams__area[hidden] { display: none; }
.oe-cams h2.oe-cams__area-title { margin: 0 0 8px; color: var(--oe-c-ink); font-family: var(--e-global-typography-primary-font-family, "Nunito Sans"), sans-serif; font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
.oe-cams .oe-cams__area-count { margin-left: 6px; color: var(--oe-c-muted); font-size: 0.9rem; font-weight: 600; }

.oe-cams .oe-cams__list { margin: 0; padding: 0; list-style: none; border-radius: 12px; background-color: #FFFFFF; box-shadow: inset 0 0 0 1px var(--oe-c-line); overflow: hidden; }
.oe-cams .oe-cams__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 16px; border-top: 1px solid var(--oe-c-line); }
.oe-cams .oe-cams__row:first-child { border-top: 0; }
.oe-cams .oe-cams__name { min-width: 0; font-weight: 600; line-height: 1.3; }
.oe-cams .oe-cams__name a { color: var(--oe-c-ink); text-decoration: underline; text-decoration-color: var(--oe-teal, #0099CC); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.oe-cams .oe-cams__name a:hover, .oe-cams .oe-cams__name a:focus, .oe-cams .oe-cams__name a:active { color: var(--oe-c-ink); text-decoration-color: var(--oe-c-ink); }
.oe-cams .oe-cams__name a:focus-visible { outline: 3px solid var(--oe-c-ocean); outline-offset: 2px; border-radius: 4px; }
.oe-cams .oe-cams__premium { display: inline-block; margin-left: 6px; color: var(--oe-c-muted); font-size: 0.8rem; font-weight: 600; white-space: nowrap; }

/* The state: a word and a dot (never colour alone). Live mint, offline coral, not checked sand. */
.oe-cams .oe-cams__state { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 0.88rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.oe-cams .oe-cams__dot { width: 9px; height: 9px; border-radius: 50%; }
.oe-cams .oe-cams__row[data-state="live"] .oe-cams__state { background-color: rgba(168, 230, 205, 0.55); color: var(--oe-c-ink); }
.oe-cams .oe-cams__row[data-state="live"] .oe-cams__dot { background-color: #2E7D62; }
.oe-cams .oe-cams__row[data-state="offline"] .oe-cams__state { background-color: rgba(253, 112, 95, 0.18); color: var(--oe-c-ink); }
.oe-cams .oe-cams__row[data-state="offline"] .oe-cams__dot { background-color: #C2412F; }
.oe-cams .oe-cams__row[data-state="unknown"] .oe-cams__state { background-color: var(--oe-c-sand); color: var(--oe-c-muted); }
.oe-cams .oe-cams__row[data-state="unknown"] .oe-cams__dot { background-color: #A39A86; }
.oe-cams .oe-cams__empty { margin: 0; color: var(--oe-c-muted); }

@media (min-width: 768px) {
	.oe-cams .oe-cams__chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding: 0; }
	.oe-cams .oe-cams__row { padding: 10px 20px; }
}
@media (hover: hover) and (pointer: fine) {
	.oe-cams .oe-cams__chips button.oe-cams__chip { min-height: 36px; }
}
