.coding-timetable {
	max-width: 900px;
	margin: 0 auto;
	font-family: 'Noto Sans KR', sans-serif;
}

.section-label {
	display: block;
	margin: 22px 0 10px 4px;
	font-size: 14.5px;
	font-weight: 700;
	color: #64748b;
}

.btn-row {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 8px;
}

.select-btn {
	flex: 1;
	min-width: 100px;
	padding: 14px 10px;
	border: 1px solid var(--border-color);
	border-radius: 12px;
	background: #fff;
	color: #334155;
	font-weight: 700;
	cursor: pointer;
	transition: 0.2s;
	white-space: nowrap;
	font-size:16px;
}

.select-btn:hover {
	background: #f1f5f9;
}

.select-btn.active {
	background: var(--dark-blue);
	color: #fff;
	border-color: var(--main-blue);
}

.table-container {
	margin-top: 20px;
	padding: 24px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.table-container.show {
	opacity: 1;
	transform: translateY(0);
}

.table-scroll {
	overflow-x: auto;
}

table {
	width: 100%;
	min-width: 600px;
	border-collapse: collapse;
}

th, td {
	border: 1px solid var(--border-color);
	padding: 15px 12px;
	text-align: center;
	vertical-align: middle;
}

thead th {
	background: var(--bg-light);
	color: var(--main-blue);
	font-weight: 700;
}

.time-cell {
	background: var(--bg-light);
	font-weight: 600;
	color: #334155;
	width: 90px;
}

.cell-open {
	background: #eff6ff;
	color: #1e40af;
	font-weight: 650;
}

.cell-new {
	background: #f8fafc;
	color: #94a3b8;
	font-weight: 700;
	font-size: 15px;
}

.empty-cell {
	background: #fff;
	color: #cbd5e1;
}

@media ( max-width : 768px) {
	.table-container {
		padding: 16px;
	}
	th, td {
		padding: 12px 8px;
		font-size: 13px;
	}
	.select-btn {
		flex: none;
		min-width: 92px;
		font-size: 13px;
	}
}