/* สถานะเช็คชื่อรายห้อง — home.php */
.checkin-status-board {
	margin: 16px 20px 8px;
	background: #fff;
	border-radius: 16px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 16px rgba(15,23,42,.06);
	overflow: hidden;
}
.checkin-status-board-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid #f1f5f9;
	background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
}
.checkin-status-board-head h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #0f172a;
	display: flex;
	align-items: center;
	gap: 8px;
}
.checkin-status-board-head h3 i { color: #2563eb; }
.checkin-status-head-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.nws-checkin-copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid #93c5fd;
	border-radius: 999px;
	background: #fff;
	color: #1d4ed8;
	font-family: Kanit, sans-serif;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}
.nws-checkin-copy-btn:hover { background: #eff6ff; }
.nws-checkin-copy-btn i { font-size: 13px; }
.checkin-status-kpi {
	font-size: 13px;
	font-weight: 600;
	color: #1e40af;
	background: #dbeafe;
	padding: 5px 12px;
	border-radius: 999px;
}
.checkin-status-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	min-height: 120px;
}
.checkin-status-col {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.checkin-status-col.filed {
	background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
	border-right: 1px solid #e2e8f0;
}
.checkin-status-col.pending {
	background: linear-gradient(180deg, #fff7ed 0%, #fff 100%);
}
.checkin-status-col-head {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #334155;
}
.checkin-status-col-head i { font-size: 18px; }
.checkin-status-col.filed .checkin-status-col-head i { color: #16a34a; }
.checkin-status-col.pending .checkin-status-col-head i { color: #ea580c; }
.checkin-status-col-head strong {
	margin-left: auto;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-size: 13px;
}
.checkin-status-col.filed .checkin-status-col-head strong {
	background: #bbf7d0;
	color: #166534;
}
.checkin-status-col.pending .checkin-status-col-head strong {
	background: #fed7aa;
	color: #9a3412;
}
.checkin-status-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-content: flex-start;
}
.checkin-room-chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: 0 1px 4px rgba(15,23,42,.06);
}
.checkin-room-chip.filed {
	background: #fff;
	color: #166534;
	border: 1px solid #86efac;
}
.checkin-room-chip.pending {
	background: #fff;
	color: #9a3412;
	border: 1px dashed #fdba74;
}
.checkin-status-empty {
	margin: 0;
	font-size: 13px;
	color: #94a3b8;
	font-style: italic;
}
.checkin-status-empty.ok {
	color: #16a34a;
	font-style: normal;
	font-weight: 500;
}

[data-theme="dark"] .checkin-status-board {
	background: #1e293b !important;
	border-color: #334155 !important;
	color: #e2e8f0;
}
[data-theme="dark"] .checkin-status-board-head {
	background: #0f172a !important;
	border-color: #334155 !important;
}
[data-theme="dark"] .checkin-status-board-head h3 { color: #f1f5f9; }
[data-theme="dark"] .checkin-status-col.filed {
	background: linear-gradient(180deg, #052e16 0%, #1e293b 100%) !important;
	border-color: #334155 !important;
}
[data-theme="dark"] .checkin-status-col.pending {
	background: linear-gradient(180deg, #431407 0%, #1e293b 100%) !important;
}
[data-theme="dark"] .checkin-room-chip.filed {
	background: #14532d;
	border-color: #22c55e;
	color: #dcfce7;
}
[data-theme="dark"] .checkin-room-chip.pending {
	background: #7c2d12;
	border-color: #fb923c;
	color: #ffedd5;
}

@media (max-width: 640px) {
	.checkin-status-columns { grid-template-columns: 1fr; }
	.checkin-status-col.filed {
		border-right: none;
		border-bottom: 1px solid #e2e8f0;
	}
}
