/* 施設状況ボード - フロント */

.fsb-badge {
	display: inline-block;
	padding: .35em .9em;
	border-radius: 4px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease;
}

.fsb-status-wrap {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .4em;
}

.fsb-updated {
	font-size: .8em;
	opacity: .7;
	white-space: nowrap;
}

.fsb-updated:empty {
	display: none;
}

/* ---- スタッフ用フォーム ---- */

.fsb-staff {
	max-width: 640px;
	margin: 1.5em 0;
	padding: 1.2em 1.3em;
	border: 1px solid #dcdcdc;
	border-radius: 8px;
	background: #fff;
}

.fsb-staff__title {
	margin: 0 0 .6em;
	font-size: 1.25em;
}

.fsb-staff__current {
	margin: 0 0 1em;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5em;
}

.fsb-staff__current-label {
	font-size: .9em;
}

.fsb-staff__meta {
	font-size: .8em;
	opacity: .7;
}

.fsb-staff__choices {
	border: 0;
	margin: 0 0 1em;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .6em;
}

.fsb-choice {
	display: flex;
	align-items: center;
	gap: .7em;
	cursor: pointer;
}

.fsb-choice input[type="radio"] {
	width: 1.25em;
	height: 1.25em;
	margin: 0;
	flex: 0 0 auto;
}

.fsb-choice__chip {
	display: inline-block;
	flex: 1 1 auto;
	padding: .6em 1em;
	border-radius: 4px;
	font-weight: 700;
	opacity: .5;
	transition: opacity .15s ease, box-shadow .15s ease;
}

.fsb-choice input[type="radio"]:checked + .fsb-choice__chip {
	opacity: 1;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, .25);
}

.fsb-choice:hover .fsb-choice__chip {
	opacity: .85;
}

.fsb-choice input[type="radio"]:focus-visible + .fsb-choice__chip {
	outline: 2px solid #005fcc;
	outline-offset: 2px;
}

.fsb-staff__submit {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .8em;
	margin: 0;
}

.fsb-button {
	padding: .7em 1.8em;
	border: 0;
	border-radius: 4px;
	background: #1f2f5c;
	color: #fff;
	font-size: 1em;
	font-weight: 700;
	cursor: pointer;
}

.fsb-button:hover {
	opacity: .9;
}

.fsb-button[disabled] {
	opacity: .6;
	cursor: default;
}

.fsb-staff__result {
	font-size: .9em;
	font-weight: 700;
}

.fsb-staff__result.is-ok {
	color: #2e7d32;
}

.fsb-staff__result.is-ng {
	color: #c62828;
}

.fsb-notice {
	margin: 0;
	padding: .8em 1em;
	background: #fff4e5;
	border-left: 4px solid #ef6c00;
}

.fsb-error {
	color: #c62828;
	font-weight: 700;
}

/* ---- 一覧テーブル ---- */

.fsb-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1em 0;
}

.fsb-table th,
.fsb-table td {
	border: 1px solid #dcdcdc;
	padding: .6em .8em;
	text-align: left;
	vertical-align: middle;
}

.fsb-table thead th {
	background: #f5f5f5;
}

/* ---- スマートフォン（LINEのアプリ内ブラウザ等） ---- */

@media screen and (max-width: 480px) {

	.fsb-table th,
	.fsb-table td {
		padding: .5em .4em;
		font-size: .95em;
	}

	.fsb-badge {
		padding: .35em .6em;
	}

	.fsb-status-wrap {
		flex-direction: column;
		align-items: flex-start;
		gap: .15em;
	}

	.fsb-staff {
		padding: 1em;
	}

	.fsb-choice__chip {
		padding: .8em 1em;
		font-size: 1.05em;
	}

	.fsb-button {
		width: 100%;
		padding: .9em 1em;
		font-size: 1.05em;
	}
}
