/* WIS theme overrides — 調整風格時優先改此檔的 CSS 變數 */
:root {
	--wis-primary: #1f4b7a;
	--wis-primary-rgb: 31, 75, 122;
	--wis-accent: #0d9488;
	--wis-sidebar-bg: #ffffff;
	--wis-sidebar-border: #e8ecf1;
	--wis-sidebar-width: 260px;
	--wis-sidebar-collapsed: 76px;
	--wis-topbar-height: 64px;
	--wis-body-bg: #f4f6f9;
	--wis-card-radius: 0.75rem;
	--wis-text: #1e293b;
	--wis-muted: #64748b;
}

body.wis-app {
	background: var(--wis-body-bg);
	min-height: 100vh;
	color: var(--wis-text);
}

.btn-wis-primary,
.btn-primary {
	--bs-btn-bg: var(--wis-primary);
	--bs-btn-border-color: var(--wis-primary);
	--bs-btn-hover-bg: #183a5f;
	--bs-btn-hover-border-color: #183a5f;
	--bs-btn-active-bg: #14304f;
	--bs-btn-active-border-color: #14304f;
}

.text-wis-primary { color: var(--wis-primary) !important; }
.bg-wis-primary { background-color: var(--wis-primary) !important; }

.wis-card {
	border: 0;
	border-radius: var(--wis-card-radius);
	box-shadow: 0 0.125rem 0.5rem rgba(15, 23, 42, 0.06);
}

.wis-auth-wrap {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background:
		radial-gradient(circle at top right, rgba(13, 148, 136, 0.12), transparent 40%),
		linear-gradient(160deg, #eef2f7 0%, #f8fafc 45%, #e8eef5 100%);
}

.wis-auth-card {
	width: 100%;
	max-width: 420px;
}

.wis-page-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0;
}

/* 表單必填星號（全站統一） */
.wis-required {
	color: #b91c1c;
	font-weight: 700;
	margin-left: 0.15em;
}

.table.wis-table > :not(caption) > * > * {
	padding: 0.75rem 0.85rem;
}

/* 差勤行事曆：日格背景（內層 div，避開 Bootstrap table 儲存格 box-shadow 覆蓋） */
.wis-cal-day-cell {
	min-height: 100%;
}
.wis-cal-day-cell.wis-cal-day-off {
	background-color: #fde8e8;
}
.wis-cal-day-cell.wis-cal-day-today {
	background-color: #eef9f6;
}
.wis-cal-day-remark {
	font-size: 0.75rem;
	line-height: 1.3;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.wis-cal-day-remark--off {
	color: #991b1b;
	font-weight: 700;
}

/* 客戶服務檢視：已到期日期 */
.wis-date-expired {
	color: #991b1b;
	font-weight: 700;
}
/* 差勤項目：加大字級、強化前景／背景對比 */
.wis-cal-item {
	display: block;
	width: 100%;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.35;
	padding: 0.32rem 0.45rem;
	border-radius: 0.375rem;
	white-space: normal;
	word-break: break-word;
	border: 1px solid transparent;
}
.wis-cal-item--lg {
	font-size: 0.85rem;
	padding: 0.38rem 0.5rem;
}
.wis-cal-item--anomaly {
	background-color: #fef3c7;
	color: #78350f;
	border-color: #f59e0b;
}
.wis-cal-item--ok {
	background-color: #d1fae5;
	color: #065f46;
	border-color: #10b981;
}
.wis-cal-item--leave {
	background-color: #dbeafe;
	color: #1e3a8a;
	border-color: #3b82f6;
}
.wis-cal-item--empty {
	background-color: #ffffff;
	color: #475569;
	border-color: #94a3b8;
}
.wis-cal-item-btn {
	cursor: pointer;
	border: 1px solid transparent;
	text-align: left;
}
.wis-cal-item-btn.wis-cal-item--anomaly {
	border-color: #f59e0b;
}
.wis-cal-item-btn.wis-cal-item--leave {
	border-color: #3b82f6;
}
.wis-cal-item-btn:hover,
.wis-cal-item-btn:focus {
	filter: brightness(0.97);
}

/* 列表 inline 排序下拉：避免欄位過窄只顯示箭頭 */
.wis-sort-reorder-form {
	display: inline-block;
	min-width: 6.5rem;
	vertical-align: middle;
}
.wis-sort-reorder-form .form-select {
	min-width: 6.5rem;
	width: auto;
	padding-right: 2rem;
}

.badge-status-active { background: #d1fae5; color: #065f46; }
.badge-status-paused { background: #fef3c7; color: #92400e; }
.badge-status-closed,
.badge-status-cancelled,
.badge-status-expired { background: #fee2e2; color: #991b1b; }

.wis-mobile-nav {
	background: #13253b;
}

.wis-icon { width: 1.25em; text-align: center; flex-shrink: 0; }

/* twzipcode selects fill Bootstrap columns */
#twzipcode select.form-select,
#twzipcode input.form-control {
	width: 100%;
}

/* —— Shell：左側選單 + 主內容 —— */
.wis-shell {
	display: flex;
	min-height: 100vh;
}

.wis-sidebar {
	width: var(--wis-sidebar-width);
	flex-shrink: 0;
	background: var(--wis-sidebar-bg);
	border-right: 1px solid var(--wis-sidebar-border);
	display: flex;
	flex-direction: column;
	position: sticky;
	top: 0;
	height: 100vh;
	z-index: 1040;
	transition: width .2s ease, transform .2s ease;
}

.wis-sidebar-brand {
	height: var(--wis-topbar-height);
	display: flex;
	align-items: center;
	padding: 0 1.1rem;
	border-bottom: 1px solid var(--wis-sidebar-border);
}

.wis-brand-link {
	display: flex;
	align-items: center;
	gap: .65rem;
	text-decoration: none;
	color: var(--wis-text);
	font-weight: 700;
	font-size: 1.15rem;
}

.wis-brand-mark {
	width: 2rem;
	height: 2rem;
	border-radius: .55rem;
	background: var(--wis-primary);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: .95rem;
}

.wis-sidebar-scroll {
	flex: 1;
	overflow-y: auto;
	padding: 1rem .85rem;
}

.wis-nav-label {
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wis-muted);
	padding: .35rem .75rem .5rem;
}

.wis-side-nav .nav-link {
	display: flex;
	align-items: center;
	gap: .7rem;
	color: #475569;
	border-radius: .65rem;
	padding: .62rem .75rem;
	margin-bottom: .15rem;
	font-weight: 500;
	border-left: 3px solid transparent;
	position: relative;
}

.wis-side-nav .nav-link .wis-nav-text {
	flex: 1;
	min-width: 0;
}

.wis-nav-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 .35rem;
	border-radius: 999px;
	background: #dc2626;
	color: #fff;
	font-size: .68rem;
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
}

.wis-side-nav .nav-link:hover {
	background: #f1f5f9;
	color: var(--wis-primary);
}

.wis-side-nav .nav-link.active {
	background: rgba(var(--wis-primary-rgb), 0.1);
	color: var(--wis-primary);
	border-left-color: var(--wis-primary);
	font-weight: 600;
}

.wis-sidebar-footer {
	border-top: 1px solid var(--wis-sidebar-border);
	padding: .85rem 1rem;
}

.wis-sidebar-user {
	display: flex;
	align-items: center;
	gap: .7rem;
	min-width: 0;
}

.wis-sidebar-user-meta {
	min-width: 0;
	flex: 1;
}

.wis-avatar {
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 50%;
	background: var(--wis-primary);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: .85rem;
	flex-shrink: 0;
}

.wis-avatar-sm {
	width: 2rem;
	height: 2rem;
	font-size: .8rem;
}

.wis-main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.wis-topbar {
	height: var(--wis-topbar-height);
	background: #fff;
	border-bottom: 1px solid var(--wis-sidebar-border);
	display: flex;
	align-items: center;
	padding: 0 1rem 0 1.1rem;
	position: sticky;
	top: 0;
	z-index: 1030;
	gap: .75rem;
}

.wis-sidebar-toggle {
	width: 2.35rem;
	height: 2.35rem;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: .55rem;
}

.wis-user-btn {
	border-radius: 999px;
	padding: .3rem .65rem .3rem .35rem;
}

.wis-content {
	padding: 1.25rem 1.25rem 2rem;
}

.wis-sidebar-backdrop {
	display: none;
}

/* Desktop collapse */
.wis-shell.sidebar-collapsed .wis-sidebar {
	width: var(--wis-sidebar-collapsed);
}

.wis-shell.sidebar-collapsed .wis-brand-text,
.wis-shell.sidebar-collapsed .wis-nav-label,
.wis-shell.sidebar-collapsed .wis-side-nav .nav-link .wis-nav-text,
.wis-shell.sidebar-collapsed .wis-sidebar-user-meta {
	display: none;
}

.wis-shell.sidebar-collapsed .wis-sidebar-brand,
.wis-shell.sidebar-collapsed .wis-side-nav .nav-link,
.wis-shell.sidebar-collapsed .wis-sidebar-user {
	justify-content: center;
}

.wis-shell.sidebar-collapsed .wis-side-nav .nav-link {
	padding-left: .7rem;
	padding-right: .7rem;
}

.wis-shell.sidebar-collapsed .wis-side-nav .nav-link .wis-nav-badge {
	position: absolute;
	top: .2rem;
	right: .2rem;
	min-width: 1rem;
	height: 1rem;
	font-size: .58rem;
	padding: 0 .2rem;
}

/* Mobile drawer */
@media (max-width: 991.98px) {
	.wis-sidebar {
		position: fixed;
		left: 0;
		top: 0;
		transform: translateX(-100%);
		box-shadow: 0 .5rem 1.5rem rgba(15, 23, 42, 0.12);
	}

	.wis-shell.sidebar-open .wis-sidebar {
		transform: translateX(0);
	}

	.wis-shell.sidebar-open .wis-sidebar-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(15, 23, 42, 0.35);
		z-index: 1035;
	}

	.wis-shell.sidebar-collapsed .wis-sidebar {
		width: var(--wis-sidebar-width);
	}

	.wis-shell.sidebar-collapsed .wis-brand-text,
	.wis-shell.sidebar-collapsed .wis-nav-label,
	.wis-shell.sidebar-collapsed .wis-side-nav .nav-link .wis-nav-text,
	.wis-shell.sidebar-collapsed .wis-sidebar-user-meta {
		display: initial;
	}
}

/* —— 手機打卡（參考一日一組打卡 UI） —— */
:root {
	--wis-punch-accent: #0d9488;
	--wis-punch-accent-dark: #0f766e;
}

.text-wis-accent { color: var(--wis-punch-accent) !important; }

body.wis-mobile-punch {
	background: #f3f5f8;
	/* 預留底欄高度＋Home Indicator／瀏覽器底列 */
	padding-bottom: 5.75rem;
	padding-bottom: calc(5.75rem + constant(safe-area-inset-bottom));
	padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
	min-height: 100vh;
	min-height: 100dvh;
}

.wis-mobile-main {
	max-width: 480px;
	margin: 0 auto;
	min-height: auto;
	padding: 1.25rem 1.1rem 1.5rem;
	box-sizing: border-box;
}

.wis-punch-page {
	/* 間距改由 .wis-mobile-main 統一提供，避免子頁漏包而貼邊 */
	padding: 0;
}

.wis-punch-hero {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.1rem;
}

.wis-punch-hello {
	font-size: 1.55rem;
	font-weight: 800;
	line-height: 1.25;
	color: #0f172a;
}

.wis-punch-sub {
	margin-top: .35rem;
	color: #64748b;
	font-size: .92rem;
}

.wis-punch-avatar {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--wis-primary);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	flex-shrink: 0;
	box-shadow: 0 0 0 3px #fff, 0 0.25rem 0.75rem rgba(15, 23, 42, 0.12);
}

.wis-punch-card {
	background: #fff;
	border-radius: 1.25rem;
	padding: 1.15rem 1.15rem 1.25rem;
	box-shadow: 0 0.35rem 1.25rem rgba(15, 23, 42, 0.06);
	border: 1px solid #eef2f6;
}

.wis-punch-date {
	font-weight: 700;
	color: #0f172a;
}

.wis-punch-status {
	font-size: .9rem;
	font-weight: 600;
	margin-top: .35rem;
}

.wis-punch-elapsed {
	font-size: 2.35rem;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: .15rem 0 .35rem;
	color: #94a3b8;
}

.wis-punch-unit {
	font-size: 1rem;
	font-weight: 700;
	margin-left: .15rem;
}

.wis-punch-hint {
	font-size: .88rem;
	color: #64748b;
	margin-bottom: 1rem;
}

.wis-punch-timeline {
	margin: 0.5rem 0 1rem;
}

.wis-punch-timeline-track {
	position: relative;
	height: 4px;
	border-radius: 999px;
	background: #e2e8f0;
	margin: 0.75rem 0.35rem 0.5rem;
}

.wis-punch-timeline-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	border-radius: 999px;
	background: var(--wis-punch-accent);
	min-width: 0;
	pointer-events: none;
}

.wis-punch-timeline-marker {
	position: absolute;
	top: 50%;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--wis-punch-accent);
	transform: translate(-50%, -50%);
	box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
	z-index: 1;
}

.wis-punch-timeline-marker-end {
	box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.22);
}

.wis-punch-timeline-labels {
	display: flex;
	justify-content: space-between;
	font-size: .68rem;
	color: #94a3b8;
	padding: 0 .1rem;
}

.wis-punch-shift {
	background: #f8fafc;
	border-radius: .85rem;
	padding: .7rem .85rem;
	margin-bottom: 1rem;
}

.wis-punch-btn {
	--bs-btn-bg: var(--wis-punch-accent);
	--bs-btn-border-color: var(--wis-punch-accent);
	--bs-btn-hover-bg: var(--wis-punch-accent-dark);
	--bs-btn-hover-border-color: var(--wis-punch-accent-dark);
	--bs-btn-active-bg: #0b5f59;
	--bs-btn-active-border-color: #0b5f59;
	--bs-btn-color: #fff;
	--bs-btn-hover-color: #fff;
	--bs-btn-disabled-bg: #94a3b8;
	--bs-btn-disabled-border-color: #94a3b8;
	border-radius: 999px;
	padding: .85rem 1rem;
	font-weight: 700;
	font-size: 1.05rem;
	transition: transform .12s ease, box-shadow .12s ease, filter .12s ease, background-color .12s ease;
	box-shadow: 0 0.35rem 0.9rem rgba(13, 148, 136, 0.28);
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	user-select: none;
}

.wis-punch-btn:hover:not(:disabled) {
	box-shadow: 0 0.45rem 1rem rgba(13, 148, 136, 0.35);
}

.wis-punch-btn:active:not(:disabled),
.wis-punch-btn.wis-punch-btn-pressed:not(:disabled) {
	transform: scale(0.97);
	filter: brightness(0.92);
	box-shadow: 0 0.15rem 0.4rem rgba(13, 148, 136, 0.35);
}

.wis-punch-btn.wis-punch-btn-busy,
.wis-punch-btn:disabled {
	transform: none;
	box-shadow: none;
	cursor: wait;
	opacity: 0.85;
}

.wis-punch-btn-done {
	opacity: .85;
	box-shadow: none;
}

/* 打卡成功等提示：10 秒自動關閉＋倒數進度條（無需手動關閉） */
.wis-toast {
	position: relative;
	overflow: hidden;
	border-radius: 0.9rem;
	margin-bottom: 1rem;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
	box-shadow: 0 0.35rem 1rem rgba(6, 95, 70, 0.12);
	opacity: 1;
	transform: translateY(0);
	transition: opacity .28s ease, transform .28s ease;
}

.wis-toast-hide {
	opacity: 0;
	transform: translateY(-0.4rem);
	pointer-events: none;
}

.wis-toast-body {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.85rem 1rem 0.75rem;
	font-weight: 600;
	font-size: 0.95rem;
}

.wis-toast-icon {
	font-size: 1.15rem;
	line-height: 1;
	color: #059669;
}

.wis-toast-progress {
	height: 3px;
	background: rgba(5, 150, 105, 0.15);
}

.wis-toast-progress > span {
	display: block;
	height: 100%;
	width: 100%;
	background: #10b981;
	transform-origin: left center;
	animation-name: wis-toast-countdown;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}

@keyframes wis-toast-countdown {
	from { transform: scaleX(1); }
	to { transform: scaleX(0); }
}

.wis-punch-actions {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: .65rem .35rem;
	margin-top: 1rem;
	padding: .85rem .5rem .75rem;
	background: #fff;
	border: 1px solid #eef2f6;
	border-radius: 1rem;
	box-shadow: 0 0.2rem 0.75rem rgba(15, 23, 42, 0.04);
}

.wis-punch-action {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: .35rem .15rem;
	text-decoration: none;
	color: #334155;
	font-weight: 500;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: .4rem;
	box-shadow: none;
	text-align: center;
	min-width: 0;
}

.wis-punch-action:hover,
.wis-punch-action:focus {
	color: var(--wis-primary);
}

.wis-punch-action-icon {
	width: auto;
	height: auto;
	min-height: 1.75rem;
	border-radius: 0;
	background: transparent;
	color: #1e293b;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.45rem;
	line-height: 1;
}

.wis-punch-action-leave {
	background: transparent;
	color: #1e293b;
}

.wis-punch-action-label {
	font-size: .68rem;
	line-height: 1.25;
	word-break: keep-all;
	max-width: 100%;
}

.wis-punch-actions .wis-mobile-tab-icon-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.wis-punch-actions .wis-mobile-tab-badge {
	top: -0.25rem;
	right: -0.5rem;
}

.wis-mobile-tabbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	/* 不可固定 height：safe-area padding 會把圖示／文字擠扁 */
	height: auto;
	min-height: 3.65rem;
	background: #fff;
	border-top: 1px solid #e8ecf1;
	display: flex;
	justify-content: space-around;
	align-items: flex-end;
	padding-top: 0.4rem;
	padding-left: max(0.35rem, env(safe-area-inset-left, 0px));
	padding-right: max(0.35rem, env(safe-area-inset-right, 0px));
	padding-bottom: 0.45rem;
	padding-bottom: calc(0.45rem + constant(safe-area-inset-bottom));
	padding-bottom: calc(0.45rem + env(safe-area-inset-bottom, 0px));
	z-index: 1040;
	max-width: 480px;
	margin: 0 auto;
	box-sizing: border-box;
	overflow: visible;
}

.wis-tab {
	flex: 1;
	text-align: center;
	text-decoration: none;
	color: #94a3b8;
	font-size: .68rem;
	line-height: 1.2;
	padding-bottom: 0.15rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: .25rem;
	min-width: 0;
}

.wis-tab i {
	font-size: 1.15rem;
	line-height: 1;
}

.wis-tab.active {
	color: var(--wis-primary);
	font-weight: 700;
}

.wis-mobile-tab-icon-wrap {
	position: relative;
	display: inline-flex;
	line-height: 1;
}

.wis-mobile-tab-badge {
	position: absolute;
	top: -0.35rem;
	right: -0.55rem;
	min-width: 1rem;
	height: 1rem;
	padding: 0 .25rem;
	border-radius: 999px;
	background: #dc2626;
	color: #fff;
	font-size: .58rem;
	font-weight: 700;
	line-height: 1rem;
	text-align: center;
	box-sizing: border-box;
}

.wis-tab-center {
	position: relative;
	top: -1.15rem;
	padding-bottom: 0;
}

.wis-tab-plus {
	width: 3.15rem;
	height: 3.15rem;
	border-radius: 50%;
	background: var(--wis-primary);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	box-shadow: 0 0.45rem 1rem rgba(31, 75, 122, 0.35);
	flex-shrink: 0;
}

.wis-more-profile {
	display: flex;
	align-items: center;
	gap: .85rem;
	background: #fff;
	border: 1px solid #eef2f6;
	border-radius: 1rem;
	padding: 1rem;
	box-shadow: 0 0.2rem 0.75rem rgba(15, 23, 42, 0.04);
}

.wis-more-menu {
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid #eef2f6;
}

.wis-more-icon {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: .65rem;
	background: rgba(31, 75, 122, 0.1);
	color: var(--wis-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.wis-more-icon-danger {
	background: rgba(185, 28, 28, 0.1);
	color: #b91c1c;
}

/* 手機打卡紀錄（整月） */
.wis-attendance-month-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}
.wis-attendance-month-label {
	font-weight: 700;
	font-size: 1.05rem;
	color: #0f172a;
	min-width: 8rem;
	text-align: center;
}
.wis-attendance-day-list {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}
.wis-attendance-day {
	background: #fff;
	border: 1px solid #eef2f6;
	border-radius: 1rem;
	padding: 0.85rem 1rem;
	box-shadow: 0 0.15rem 0.5rem rgba(15, 23, 42, 0.04);
}
.wis-attendance-day-today {
	border-color: rgba(13, 148, 136, 0.35);
	background: #eef9f6;
}
.wis-attendance-day-off {
	background: #f8fafc;
	color: #64748b;
}
.wis-attendance-day-future {
	opacity: 0.72;
}
.wis-attendance-day-anomaly {
	border-color: rgba(245, 158, 11, 0.45);
	background: #fffbeb;
}

/* 手機請假紀錄（年度） */
.wis-leave-record-list {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}
.wis-leave-record-card {
	background: #fff;
	border: 1px solid #eef2f6;
	border-radius: 1rem;
	padding: 0.85rem 1rem;
	box-shadow: 0 0.15rem 0.5rem rgba(15, 23, 42, 0.04);
}
.wis-leave-record-future {
	border-color: rgba(13, 148, 136, 0.35);
	background: rgba(13, 148, 136, 0.07);
	box-shadow: inset 3px 0 0 var(--wis-accent);
}

/* 請假紀錄：開始時間尚未到來 */
tr.wis-leave-row-future > * {
	background-color: rgba(13, 148, 136, 0.07) !important;
}
tr.wis-leave-row-future {
	box-shadow: inset 3px 0 0 var(--wis-accent);
}
.wis-leave-future-tag {
	display: inline-block;
	margin-bottom: 0.2rem;
	padding: 0.1rem 0.4rem;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #0f766e;
	background: rgba(13, 148, 136, 0.15);
	border-radius: 0.25rem;
}
