/* Scoped Saronic Watersports Forecast styles (.swf-*) */
.swf-root {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #1e293b;
	line-height: 1.5;
	margin: 10px 0 28px;
}
.swf-root *, .swf-root *::before, .swf-root *::after {
	box-sizing: border-box;
}
.swf-shell {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.swf-header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 14px;
	background: linear-gradient(135deg, #0077b6 0%, #023e8a 100%);
	color: #ffffff;
	padding: 22px 24px;
	border-radius: 16px;
	box-shadow: 0 10px 26px rgba(2, 62, 138, 0.16);
}
.swf-eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.9px;
	color: #90e0ef;
	margin-bottom: 4px;
}
.swf-title {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 800;
	color: #ffffff !important;
	line-height: 1.25;
}
.swf-subtitle {
	margin: 0;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.88);
}
.swf-lang-toggle {
	display: inline-flex;
	background: rgba(255, 255, 255, 0.14);
	padding: 4px;
	border-radius: 999px;
	gap: 4px;
}
.swf-lang-btn {
	border: none;
	background: transparent;
	color: #ffffff;
	font-size: 12.5px;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 999px;
	cursor: pointer;
}
.swf-lang-btn.is-active {
	background: #ffe56b;
	color: #0F2C59;
}
.swf-filters {
	display: grid;
	grid-template-columns: 1fr 1.8fr;
	gap: 14px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 16px;
}
.swf-filter-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.swf-filter-label {
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	color: #475569;
	margin: 0;
}
.swf-select, .swf-date-input {
	height: 38px;
	border: 1px solid #cbd5e1;
	border-radius: 9px;
	padding: 0 12px;
	font-size: 13.5px;
	font-weight: 600;
	color: #0f172a;
	background: #f8fafc;
}
.swf-date-controls {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.swf-date-pills {
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
	flex: 1;
}
.swf-date-pill {
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	color: #334155;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 10px;
	border-radius: 999px;
	cursor: pointer;
}
.swf-date-pill.is-active {
	background: #0095da;
	border-color: #0095da;
	color: #ffffff;
}
.swf-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 28px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	font-weight: 600;
	color: #0F2C59;
}
.swf-spinner {
	width: 20px;
	height: 20px;
	border: 3px solid #cbd5e1;
	border-top-color: #0095da;
	border-radius: 50%;
	animation: swfSpin 0.8s linear infinite;
}
@keyframes swfSpin { to { transform: rotate(360deg); } }
.swf-verdict-card {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-left: 6px solid #0095da;
	border-radius: 14px;
	padding: 18px 20px;
}
.swf-verdict-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.swf-verdict-main { flex: 1; min-width: 240px; }
.swf-verdict-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.swf-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 800;
	text-transform: uppercase;
}
.swf-badge-gold { background: #fef08a; color: #0F2C59; }
.swf-badge-navy { background: #0F2C59; color: #ffffff; }
.swf-badge-safe { background: #dcfce7; color: #166534; }
.swf-badge-caution { background: #fef3c7; color: #92400e; }
.swf-badge-danger { background: #fee2e2; color: #991b1b; }
.swf-verdict-spot { margin: 0 0 6px; font-size: 21px; font-weight: 800; color: #0F2C59 !important; }
.swf-verdict-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: #334155; margin-bottom: 8px; }
.swf-verdict-tip {
	font-size: 13px;
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	color: #0c4a6e;
	padding: 8px 12px;
	border-radius: 9px;
	font-weight: 600;
}
.swf-verdict-score-box { text-align: center; min-width: 90px; }
.swf-score-ring {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 900;
	color: #ffffff;
	background: #16a34a;
}
.swf-score-ring.is-mid { background: #d97706; }
.swf-score-ring.is-low { background: #dc2626; }
.swf-score-cap { font-size: 11px; font-weight: 700; color: #64748b; margin-top: 4px; text-transform: uppercase; }
.swf-marine-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
	gap: 8px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #e2e8f0;
}
.swf-strip-item { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 8px 10px; }
.swf-strip-k { font-size: 10.5px; font-weight: 700; text-transform: uppercase; color: #64748b; }
.swf-strip-v { font-size: 13.5px; font-weight: 800; color: #0F2C59; margin-top: 2px; }
.swf-main-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; }
.swf-panel { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px; }
.swf-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.swf-panel-title { margin: 0; font-size: 17px; font-weight: 800; color: #0F2C59 !important; }
.swf-panel-sub { margin: 2px 0 0; font-size: 12.5px; color: #64748b; }
.swf-panel-hint { font-size: 11.5px; color: #64748b; font-weight: 600; }
.swf-map-select { height: 28px; border: 1px solid #cbd5e1; background: #f8fafc; color: #0F2C59; font-size: 11.5px; font-weight: 800; padding: 0 8px; border-radius: 999px; }
.swf-map { width: 100%; height: 400px; border-radius: 10px; border: 1px solid #cbd5e1; z-index: 1; }
.swf-num-pin {
	width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 900; color: #ffffff; border: 2px solid #ffffff; box-shadow: 0 2px 6px rgba(0,0,0,0.35); cursor: pointer;
}
.swf-num-pin.is-selected { border: 3px solid #0F2C59; transform: scale(1.18); box-shadow: 0 0 0 3px rgba(255,229,107,0.85); }
.swf-spots-list { display: flex; flex-direction: column; gap: 8px; max-height: 400px; overflow-y: auto; padding-right: 4px; }
.swf-spot-row {
	display: flex; justify-content: space-between; align-items: center; gap: 10px;
	padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 10px; cursor: pointer; background: #ffffff;
}
.swf-spot-row.is-selected { border-color: #0F2C59; background: #eff6ff; box-shadow: inset 3px 0 0 #0F2C59; }
.swf-spot-name { font-size: 13.5px; font-weight: 800; color: #0F2C59; }
.swf-spot-meta { font-size: 11.5px; color: #64748b; margin-top: 2px; }
.swf-spot-score {
	min-width: 44px; height: 36px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
	font-size: 14px; font-weight: 900; color: #ffffff; flex-shrink: 0;
}
.swf-spot-score.is-high { background: #16a34a; }
.swf-spot-score.is-mid { background: #d97706; }
.swf-spot-score.is-low { background: #dc2626; }
.swf-chart-wrap { overflow-x: auto; padding: 8px 0 12px; margin-bottom: 14px; border-bottom: 1px solid #e2e8f0; }
.swf-chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 130px; min-width: 560px; padding-top: 18px; }
.swf-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.swf-bar-val { font-size: 10px; font-weight: 800; color: #334155; }
.swf-bar-fill { width: 100%; max-width: 24px; border-radius: 5px 5px 0 0; }
.swf-bar-hr { font-size: 10px; font-weight: 700; color: #64748b; }
.swf-table-wrap { width: 100%; }
.swf-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.swf-table th { background: #f8fafc; color: #0F2C59; font-weight: 800; text-align: left; padding: 8px; border-bottom: 2px solid #e2e8f0; }
.swf-table td { padding: 8px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.swf-pill-mini { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; color: #ffffff; }
.swf-pill-high { background: #16a34a; }
.swf-pill-mid { background: #d97706; }
.swf-pill-low { background: #dc2626; }
.swf-footer { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 18px; font-size: 12px; color: #475569; line-height: 1.6; }
.swf-partner-ad { background: linear-gradient(90deg, #fffdf5 0%, #ffffff 100%); border: 1px solid #e6d598; border-left: 5px solid #023e8a; border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.swf-ad-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.swf-ad-tag { background: #023e8a; color: #ffe56b; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 4px; }
.swf-ad-title { font-size: 14px; font-weight: 800; color: #023e8a; }
.swf-ad-desc { font-size: 13px; color: #334155; }
.swf-ad-cta { background: #023e8a; color: #ffffff !important; font-size: 12px; font-weight: 800; padding: 7px 15px; border-radius: 999px; text-decoration: none !important; white-space: nowrap; }
.swf-lead-card { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 12px; padding: 16px 18px; }
.swf-lead-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.swf-lead-title { margin: 0 0 3px; font-size: 16px; font-weight: 800; color: #023e8a !important; }
.swf-lead-sub { margin: 0; font-size: 12.5px; color: #64748b; }
.swf-lead-toggle { background: #0077b6; color: #ffffff; border: none; border-radius: 999px; padding: 9px 18px; font-size: 13px; font-weight: 800; cursor: pointer; }
.swf-lead-form { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.swf-lead-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.swf-lead-form input, .swf-lead-form textarea { border: 1px solid #cbd5e1; border-radius: 8px; padding: 9px 12px; font-size: 13px; width: 100%; background: #f8fafc; }
.swf-lead-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.swf-lead-submit { background: #023e8a; color: #ffffff; border: none; border-radius: 999px; padding: 9px 20px; font-size: 13px; font-weight: 800; cursor: pointer; }
.swf-lead-msg { font-size: 12.5px; font-weight: 700; color: #16a34a; }

@media (max-width: 960px) {
	.swf-filters { grid-template-columns: 1fr; }
	.swf-main-grid { grid-template-columns: 1fr; }
	.swf-map { height: 320px; }
	.swf-spots-list { max-height: 320px; }
	.swf-table thead { display: none; }
	.swf-table, .swf-table tbody { display: block; width: 100%; }
	.swf-table tbody tr {
		display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px;
		background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; margin-bottom: 10px;
	}
	.swf-table tbody td { display: flex; flex-direction: column; padding: 0; border: none; font-size: 12.5px; }
	.swf-table tbody td::before { content: attr(data-label); font-size: 10px; font-weight: 800; text-transform: uppercase; color: #64748b; margin-bottom: 2px; }
	.swf-table tbody td.swf-td-tip { grid-column: 1 / -1; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 10px; margin-top: 2px; }
}
