.gpxqr-weather-root { margin: 12px 0; }

.gpxqr-wx-card {
	--gpxqr-wx-accent: #7c83ff;
	background: #1a1a2e;
	color: #f2f2f7;
	border-radius: 14px;
	padding: 14px 16px;
	font-family: inherit;
	border-left: 4px solid var(--gpxqr-wx-accent);
	box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.gpxqr-wx-head { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.gpxqr-wx-head-text { display: flex; flex-direction: column; gap: 2px; }

.gpxqr-wx-title { font-size: 15px; }
.gpxqr-wx-temp  { font-size: 13px; opacity: .85; white-space: nowrap; font-weight: 400; }

.gpxqr-wx-icon { width: 22px; height: 22px; flex-shrink: 0; display: inline-flex; }
.gpxqr-wx-icon svg { width: 100%; height: 100%; }
.gpxqr-wx-icon-lg { width: 34px; height: 34px; }

.gpxqr-wx-countdown {
	margin-top: 8px;
	font-size: 15px;
	font-weight: 600;
}

.gpxqr-wx-message {
	margin-top: 6px;
	font-size: 13.5px;
	line-height: 1.4;
	opacity: .92;
}

.gpxqr-wx-card.gpxqr-wx-go       { border-left-color: #33d17a; }
.gpxqr-wx-card.gpxqr-wx-caution  { border-left-color: #f5a623; }
.gpxqr-wx-card.gpxqr-wx-wait     { border-left-color: #e5484d; }

.gpxqr-wx-loading, .gpxqr-wx-error {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	opacity: .85;
}

.gpxqr-wx-error { border-left-color: #e5484d; }

.gpxqr-wx-spinner {
	width: 14px; height: 14px;
	border: 2px solid rgba(255,255,255,.25);
	border-top-color: var(--gpxqr-wx-accent);
	border-radius: 50%;
	display: inline-block;
	animation: gpxqr-wx-spin .8s linear infinite;
}

@keyframes gpxqr-wx-spin { to { transform: rotate(360deg); } }

/* ── Табове (по часове / 7 дни) ─────────────────────────────────────── */
.gpxqr-wx-tabs {
	display: flex;
	gap: 4px;
	margin-top: 14px;
	border-bottom: 1px solid rgba(255,255,255,.12);
}

.gpxqr-wx-tab {
	background: none;
	border: none;
	color: #f2f2f7;
	opacity: .6;
	font-size: 12.5px;
	font-weight: 600;
	padding: 6px 4px 8px;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	font-family: inherit;
}

.gpxqr-wx-tab.is-active {
	opacity: 1;
	border-bottom-color: var(--gpxqr-wx-accent);
}

.gpxqr-wx-panel { padding-top: 10px; }
.gpxqr-wx-empty { font-size: 12.5px; opacity: .7; margin: 0; }

/* ── По часове (хоризонтален скрол) ─────────────────────────────────── */
.gpxqr-wx-hourly-scroll {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	padding-bottom: 4px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.gpxqr-wx-hour {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 40px;
}

.gpxqr-wx-hour-time { font-size: 11px; opacity: .7; }
.gpxqr-wx-hour-temp { font-size: 13px; font-weight: 600; }
.gpxqr-wx-hour-rain { font-size: 10.5px; color: #7ec8ff; }
.gpxqr-wx-hour-rain-muted { opacity: .4; }

/* ── 7 дни (вертикален списък) ───────────────────────────────────────── */
.gpxqr-wx-daily-list { display: flex; flex-direction: column; gap: 6px; }

.gpxqr-wx-day {
	display: grid;
	grid-template-columns: 56px 22px 1fr auto;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	padding: 4px 0;
}

.gpxqr-wx-day-label { opacity: .85; }
.gpxqr-wx-day-rain { font-size: 11.5px; color: #7ec8ff; text-align: right; }
.gpxqr-wx-day-temps { text-align: right; white-space: nowrap; }
.gpxqr-wx-day-temps strong { font-weight: 600; }
