/**
 * 水質パラメーターチェッカー - 専用スタイル
 */

/* ===== 総合判定テキスト ===== */
.wq-overall-text {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 700;
	color: var(--color-white);
	line-height: 1.3;
	margin-bottom: 8px;
}

/* ===== パラメーターカード一覧 ===== */
.wq-param-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wq-param-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	transition: border-color 0.2s;
}

.wq-param-card--green {
	border-left: 4px solid #2e7d32;
}

.wq-param-card--yellow {
	border-left: 4px solid #f57c00;
}

.wq-param-card--red {
	border-left: 4px solid #c62828;
}

.wq-param-card--skip {
	border-left: 4px solid #bdbdbd;
	opacity: 0.6;
}

/* ===== 信号灯 ===== */
.wq-light {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
	border: 2px solid;
}

.wq-light--green {
	color: #2e7d32;
	background: #e8f5e9;
	border-color: #a5d6a7;
}

.wq-light--yellow {
	color: #f57c00;
	background: #fff3e0;
	border-color: #ffcc80;
}

.wq-light--red {
	color: #c62828;
	background: #ffebee;
	border-color: #ef9a9a;
}

.wq-light--skip {
	color: #9e9e9e;
	background: #f5f5f5;
	border-color: #e0e0e0;
}

/* ===== カード内テキスト ===== */
.wq-param-info {
	flex: 1;
	min-width: 0;
}

.wq-param-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 4px;
	flex-wrap: wrap;
}

.wq-param-name {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
}

.wq-param-value {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	color: var(--color-text);
}

.wq-param-value--green { color: #2e7d32; }
.wq-param-value--yellow { color: #f57c00; }
.wq-param-value--red { color: #c62828; }
.wq-param-value--skip { color: #9e9e9e; }

.wq-range {
	font-size: 12px;
	color: var(--color-text-muted);
	margin-bottom: 6px;
}

.wq-advice {
	font-size: 13px;
	line-height: 1.6;
	padding: 10px 12px;
	border-radius: var(--radius);
	margin-top: 6px;
}

.wq-advice--yellow {
	color: #e65100;
	background: #fff3e0;
}

.wq-advice--red {
	color: #b71c1c;
	background: #ffebee;
}

/* ===== レスポンシブ ===== */
@media (max-width: 600px) {
	.wq-overall-text {
		font-size: 22px;
	}

	.wq-param-header {
		flex-direction: column;
		gap: 2px;
	}
}
