/**
 * 植え替え時期判定ツール スタイル
 */

/* ========================================
   緊急度バッジ
   ======================================== */
.repot-urgency-badge {
	display: inline-block;
	padding: 10px 28px;
	margin-top: 10px;
	font-size: 22px;
	font-weight: 700;
	border-radius: 28px;
	letter-spacing: 0.05em;
}

.repot-urgency--red {
	background: #c62828;
	color: #fff;
}

.repot-urgency--orange {
	background: #f57c00;
	color: #fff;
}

.repot-urgency--green {
	background: #2e7d32;
	color: #fff;
}

.repot-urgency--gray {
	background: rgba(255, 255, 255, 0.7);
	color: #616161;
}

/* ========================================
   症状チェックボックス
   ======================================== */
.repot-symptoms {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.repot-symptom-label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	cursor: pointer;
	transition: all 0.2s ease;
}

.repot-symptom-label:hover {
	border-color: #3A5A25;
	background: #f1f8e9;
}

.repot-symptom-check {
	width: 18px;
	height: 18px;
	accent-color: #3A5A25;
	flex-shrink: 0;
}

.repot-symptom-text {
	font-size: 14px;
	color: var(--color-text);
}

.repot-symptom-label:has(.repot-symptom-check:checked) {
	border-color: #3A5A25;
	background: #e8f5e9;
}

/* ========================================
   詳細ブロック
   ======================================== */
.repot-detail-block {
	margin-bottom: 20px;
	padding: 14px 16px;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.repot-detail-block:last-child {
	margin-bottom: 0;
}

.repot-detail-heading {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: #3A5A25;
	margin-bottom: 8px;
	padding-bottom: 6px;
	border-bottom: 2px solid #c8e6c9;
}

.repot-detail-text {
	font-size: 14px;
	color: var(--color-text);
	line-height: 1.7;
	margin: 0;
}

/* ========================================
   用土リンク
   ======================================== */
.repot-soil-link {
	display: inline-block;
	margin-top: 8px;
	font-size: 13px;
	color: #3A5A25;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s;
}

.repot-soil-link:hover {
	color: #5D8C3E;
	text-decoration: underline;
}

/* ========================================
   アフターケアチェックリスト
   ======================================== */
.repot-aftercare-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.repot-aftercare-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 12px;
	background: #f1f8e9;
	border: 1px solid #c8e6c9;
	border-radius: var(--radius);
	font-size: 13px;
	color: #33691e;
	line-height: 1.6;
}

.repot-aftercare-item::before {
	content: attr(data-step);
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	background: #3A5A25;
	color: #fff;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
}

/* ========================================
   タイムライン表示
   ======================================== */
.repot-timeline {
	display: flex;
	align-items: center;
	gap: 0;
	margin-top: 12px;
	padding: 10px 0;
	overflow-x: auto;
}

.repot-timeline-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
	min-width: 60px;
	position: relative;
}

.repot-timeline-item::after {
	content: '';
	position: absolute;
	top: 14px;
	right: -50%;
	width: 100%;
	height: 2px;
	background: #c8e6c9;
	z-index: 0;
}

.repot-timeline-item:last-child::after {
	display: none;
}

.repot-timeline-dot {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--color-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	color: var(--color-text-secondary);
	position: relative;
	z-index: 1;
}

.repot-timeline-dot--best {
	background: #3A5A25;
	color: #fff;
	box-shadow: 0 0 0 4px rgba(93, 140, 62, 0.25);
}

.repot-timeline-dot--ok {
	background: #81c784;
	color: #fff;
}

.repot-timeline-label {
	margin-top: 6px;
	font-size: 11px;
	color: var(--color-text-secondary);
	text-align: center;
	white-space: nowrap;
}

/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 600px) {
	.repot-urgency-badge {
		font-size: 18px;
		padding: 8px 22px;
	}

	.repot-symptom-label {
		padding: 8px 12px;
	}

	.repot-symptom-text {
		font-size: 13px;
	}

	.repot-detail-block {
		padding: 12px 14px;
	}

	.repot-aftercare-item {
		font-size: 12px;
		padding: 8px 10px;
	}

	.repot-timeline-item {
		min-width: 48px;
	}

	.repot-timeline-dot {
		width: 24px;
		height: 24px;
		font-size: 10px;
	}

	.repot-timeline-label {
		font-size: 10px;
	}
}
