/**
 * 円編み目数計算ツール 固有スタイル
 * Circular Stitch Calculator
 */

/* ========================================
   テーブルラッパー（横スクロール対応）
   ======================================== */
.circular-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* ========================================
   増し目パターンテキスト
   ======================================== */
.pattern-text {
	font-size: 13px;
	line-height: 1.6;
	white-space: nowrap;
	color: var(--color-text);
}

/* ハイライト行のパターンテキスト */
.data-table tr.highlighted .pattern-text {
	color: #4A0072;
}

/* ========================================
   info-list（箇条書き）
   ======================================== */
.info-list {
	list-style: none;
	padding: 0;
	margin: 12px 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.info-list li {
	position: relative;
	padding-left: 20px;
	font-size: 14px;
	line-height: 1.8;
	color: var(--color-text);
}

.info-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 10px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #7B1FA2;
}

.info-list li strong {
	color: #4A0072;
}

/* ========================================
   アクションセクション
   ======================================== */
.action-section {
	padding: 16px 20px;
	display: flex;
	justify-content: center;
	gap: 12px;
}

.btn-secondary {
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 600;
	color: #7B1FA2;
	background: var(--color-white);
	border: 2px solid #7B1FA2;
	border-radius: var(--radius);
	cursor: pointer;
	transition: all 0.2s;
	font-family: inherit;
}

.btn-secondary:hover {
	background: #7B1FA2;
	color: var(--color-white);
}

/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 600px) {
	.pattern-text {
		font-size: 12px;
		white-space: normal;
		word-break: break-all;
	}

	.circular-table-wrap {
		margin: 0 -12px;
	}

	.action-section {
		padding: 14px 16px;
	}

	.btn-secondary {
		padding: 10px 20px;
		font-size: 13px;
	}
}
