.sfms-dashboard {
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.5;
}

.sfms-dashboard h2 {
	margin-top: 0;
}

.sfms-notice {
	padding: 10px 14px;
	border-radius: 0px;
	margin-bottom: 16px;
}

.sfms-notice-success {
	background: #e7f6e9;
	border: 1px solid #a9dab0;
	color: #1e5c26;
}

.sfms-notice-error {
	background: #fbe9e9;
	border: 1px solid #e5a9a9;
	color: #7a1f1f;
}

.sfms-class-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.sfms-class-list li {
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 0px;
	margin-bottom: 8px;
}

.sfms-class-list a {
	font-weight: 600;
	text-decoration: none;
}

.sfms-form {
	margin-bottom: 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 420px;
}

.sfms-form label {
	font-weight: 600;
}

.sfms-form input {
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 0px;
	width: 100%;
	box-sizing: border-box;
}

.sfms-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 400 !important;
}

.sfms-checkbox-label input {
	width: auto !important;
}

.sfms-inline-form {
	display: inline-flex;
	margin: 0;
}

.sfms-btn {
	display: inline-block;
	background: #000;
	color: #fff;
	border: 1px solid #000;
	padding: 8px 16px;
	border-radius: 0px;
	cursor: pointer;
	text-decoration: none;
	width: fit-content;
	text-align: center;
	font-size: 0.85em;
}

.sfms-btn:hover {
	background: #fff;
	border: 1px solid #000;
	color: #000;
}

.sfms-btn-small {
	padding: 4px 10px;
}

.sfms-link-btn {
	background: none;
	border: none;
	color: #b32d2e;
	cursor: pointer;
	text-decoration: underline;
	padding: 0;
	font-size: 0.85em;
}

.sfms-delete-link {
	color: #b32d2e;
	text-decoration: underline;
	font-size: 0.85em;
}

.sfms-hint {
	color: #777;
	font-size: 0.85em;
}

.sfms-session-card {
	border: 1px solid #ddd;
	border-radius: 0px;
	padding: 14px;
	margin-bottom: 14px;
}

.sfms-session-toolbar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 6px;
}

.sfms-meta {
	color: #666;
	font-size: 0.85em;
}

.sfms-my-slot {
	background: #f2f8fc;
	border-left: 4px solid #2271b1;
	padding: 8px 12px;
	margin: 0;
}

.sfms-slot-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sfms-slot-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid #eee;
	flex-wrap: wrap;
}

.sfms-slot-list li:last-child {
	border-bottom: none;
}

.sfms-slot-time {
	font-weight: 600;
	min-width: 160px;
}

.sfms-slot-fill {
	color: #666;
	font-size: 0.85em;
}

.sfms-slot-status {
	color: #999;
	font-size: 0.85em;
	font-style: italic;
}

.sfms-slot-status-mine {
	color: #1e5c26;
	font-weight: 600;
	font-style: normal;
}

.sfms-slot-blocked {
	opacity: 0.6;
}

.sfms-day-heading-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin: 20px 0 8px;
}

.sfms-day-heading-row:first-of-type {
	margin-top: 4px;
}

.sfms-day-heading {
	margin: 0;
	font-size: 1em;
	font-weight: 700;
}

.sfms-day-meta {
	color: #666;
	font-size: 0.85em;
	text-align: right;
	white-space: nowrap;
}

.sfms-slot-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 8px;
}

.sfms-slot-table th,
.sfms-slot-table td {
	text-align: left;
	padding: 8px 10px;
	border-bottom: 1px solid #eee;
}

.sfms-slot-table th {
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #666;
	border-bottom: 2px solid #ddd;
}

.sfms-slot-table tbody tr:last-child td {
	border-bottom: none;
}

.sfms-slot-table th:last-child,
.sfms-slot-table td:last-child {
	width: 220px;
	text-align: right;
}

.sfms-slot-students {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 0.85em;
}

.sfms-slot-student {
	background: #f0f0f1;
	padding: 2px 8px;
	border-radius: 0px;
}

.sfms-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.sfms-modal[hidden] {
	display: none;
}

.sfms-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
}

.sfms-modal-dialog {
	position: relative;
	z-index: 1;
	background: #fff;
	border: 1px solid #000;
	padding: 20px;
	width: 100%;
	max-width: 360px;
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sfms-modal-dialog h4 {
	margin: 0;
}

.sfms-modal-dialog form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sfms-modal-dialog select {
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 0px;
	box-sizing: border-box;
}

.sfms-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.sfms-btn-secondary {
	display: inline-block;
	background: #fff;
	color: #000;
	border: 1px solid #000;
	padding: 8px 16px;
	border-radius: 0px;
	cursor: pointer;
	text-decoration: none;
	font-size: 0.85em;
}

.sfms-btn-secondary:hover {
	background: #f0f0f1;
}
