/**
 * お香乾燥時間計算ツール - 専用スタイル
 * （共通スタイルは incense-common.css を参照）
 */

/* ========================================
   形状選択カード
   ======================================== */
.shape-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.shape-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 14px 8px;
	background: #FAF7F5;
	border: 2px solid #D7CCC8;
	border-radius: var(--radius);
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
}

.shape-card:hover {
	background: #EFEBE9;
	border-color: #8D6E63;
}

.shape-card input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.shape-card:has(input[type="radio"]:checked),
.shape-card--active {
	background: linear-gradient(135deg, #EFEBE9 0%, #D7CCC8 100%);
	border-color: #5D4037;
	box-shadow: 0 0 0 1px #8D6E63 inset;
}

.shape-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, #8D6E63 0%, #5D4037 100%);
	color: #fff;
	border-radius: 50%;
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
}

.shape-name {
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 700;
	color: #4E342E;
	text-align: center;
}

/* ========================================
   詳細セクション
   ======================================== */
.detail-section {
	border-bottom: 1px solid var(--color-border);
}

#warningBox.info-box {
	background: #FFF3E0;
	border-left-color: #F57C00;
	color: #E65100;
}

/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 600px) {
	.shape-grid {
		gap: 6px;
	}

	.shape-card {
		padding: 10px 4px;
	}

	.shape-icon {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}

	.shape-name {
		font-size: 12px;
	}
}
