/* ── Shift Board Styles ─────────────────────────────── */

.hr-em-shift-board {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1rem;
}

.hr-em-shift-card {
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	transition: box-shadow 0.2s ease;
}

.hr-em-shift-card:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hr-em-shift-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 1rem;
	background: #f8f9fa;
	border-bottom: 1px solid #eee;
}

.hr-em-shift-card-header strong {
	font-size: 0.95rem;
	color: #1d2327;
}

.hr-em-shift-date {
	font-size: 0.85rem;
	color: #646970;
}

.hr-em-shift-card-body {
	padding: 0.75rem 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.hr-em-shift-time {
	font-weight: 600;
	color: #2271b1;
}

.hr-em-shift-dept,
.hr-em-shift-loc {
	font-size: 0.85rem;
	color: #646970;
}

.hr-em-shift-spots {
	font-size: 0.85rem;
	color: #00a32a;
	font-weight: 500;
}

.hr-em-shift-card-footer {
	padding: 0.75rem 1rem;
	border-top: 1px solid #eee;
	text-align: right;
}

/* ── Status Badges ──────────────────────────────────── */

.hr-em-status-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: capitalize;
}

.hr-em-status-pending {
	background: #fff3cd;
	color: #856404;
}

.hr-em-status-approved {
	background: #d4edda;
	color: #155724;
}

.hr-em-status-rejected {
	background: #f8d7da;
	color: #721c24;
}

.hr-em-status-cancelled {
	background: #e2e3e5;
	color: #383d41;
}

.hr-em-status-no_show {
	background: #f8d7da;
	color: #721c24;
}

/* ── Card Layout ────────────────────────────────────── */

.hr-em-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 1.25rem;
}

.hr-em-card-title {
	margin: 0 0 1rem 0;
	font-size: 1.1rem;
	color: #1d2327;
}

.hr-em-empty {
	color: #646970;
	font-style: italic;
}

/* ── Admin Links ────────────────────────────────────── */

.hr-em-shift-admin-links .button {
	margin-right: 0.5rem;
}

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 600px) {
	.hr-em-shift-board {
		grid-template-columns: 1fr;
	}

	.hr-em-shift-card-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}
}
