.life-records-page .life-summary-table thead th {
	font-size: 0.74rem;
	font-weight: 700;
	color: #3f5688;
}

.life-record-tabs {
	flex-wrap: wrap;
	border-bottom-color: #d6e4fc;
	gap: 0.15rem;
}

.life-record-tabs .nav-link {
	font-size: 0.84rem;
	padding: 0.35rem 0.72rem;
	color: #4a5f88;
	border-radius: 0.5rem 0.5rem 0 0;
}

.life-record-tabs .nav-link.active {
	font-weight: 600;
	color: #2f4f9a;
	background: rgba(238, 245, 255, 0.95);
	border-color: #d6e4fc #d6e4fc transparent;
}

.life-tab-group-label .nav-link.disabled {
	opacity: 1;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #8a9bb8 !important;
	background: transparent;
	border-color: transparent;
	cursor: default;
	padding-top: 0.55rem;
	padding-bottom: 0.2rem;
}

.life-subnav {
	margin-bottom: 0.35rem;
}

.life-records-page .ws-table-head th,
.ws-personal-page .ws-table-head th {
	background: #f2f6ff !important;
	color: #3f5688 !important;
	border-bottom-color: #d6e4fc !important;
	font-size: 0.74rem;
	font-weight: 700;
}

.life-records-page .ws-table-total td,
.ws-personal-page .ws-table-total td {
	background: #eef3ff !important;
	color: #334867;
	font-weight: 600;
}

.life-records-page .ws-personal-details {
	border-color: #dbe7ff !important;
	background: rgba(255, 255, 255, 0.72);
}

.life-records-page .ws-personal-details-body {
	border-top: 1px solid #e4ebfb;
}

.life-records-page .ws-history-table-wrap .form-control,
.life-records-page .ws-history-table-wrap .form-select {
	font-size: 0.82rem;
	background: #fff;
	border-color: #cedcf8;
	color: #334867;
}

.life-records-page .ws-history-table-wrap .form-control:focus,
.life-records-page .ws-history-table-wrap .form-select:focus {
	border-color: #8aa8ef;
	box-shadow: 0 0 0 0.15rem rgba(88, 115, 236, 0.15);
}

.life-records-page .ws-personal-page .form-label.text-muted,
.life-records-page .ws-personal-page .small.text-muted,
.life-records-page .ws-personal-page .text-secondary {
	color: #6b7ea8 !important;
}

.life-records-page .ws-personal-details-summary {
	color: #4a5f88;
}

[data-bs-theme="dark"] .life-records-page .life-summary-table thead th {
	color: rgba(200, 215, 245, 0.9);
}

[data-bs-theme="dark"] .life-record-tabs {
	border-bottom-color: rgba(120, 140, 200, 0.28);
}

[data-bs-theme="dark"] .life-record-tabs .nav-link {
	color: rgba(190, 205, 240, 0.82);
}

[data-bs-theme="dark"] .life-record-tabs .nav-link.active {
	color: #e8efff;
	background: rgba(36, 52, 81, 0.95);
	border-color: rgba(120, 140, 200, 0.35) rgba(120, 140, 200, 0.35) transparent;
}

[data-bs-theme="dark"] .life-tab-group-label .nav-link.disabled {
	color: rgba(160, 175, 210, 0.72) !important;
}

[data-bs-theme="dark"] .life-records-page .ws-table-head th,
[data-bs-theme="dark"] .ws-personal-page .ws-table-head th {
	background: rgba(32, 44, 68, 0.95) !important;
	color: rgba(210, 222, 250, 0.92) !important;
	border-bottom-color: rgba(120, 140, 200, 0.28) !important;
}

[data-bs-theme="dark"] .life-records-page .ws-table-total td,
[data-bs-theme="dark"] .ws-personal-page .ws-table-total td {
	background: rgba(36, 52, 81, 0.88) !important;
	color: #e8efff !important;
}

[data-bs-theme="dark"] .life-records-page .ws-personal-details {
	border-color: rgba(120, 140, 200, 0.3) !important;
	background: rgba(24, 34, 54, 0.88);
}

[data-bs-theme="dark"] .life-records-page .ws-personal-details-body {
	border-top-color: rgba(120, 140, 200, 0.22);
}

[data-bs-theme="dark"] .life-records-page .ws-personal-details-summary {
	color: rgba(210, 222, 250, 0.88);
	background: rgba(28, 38, 58, 0.92);
}

[data-bs-theme="dark"] .life-records-page .ws-personal-details[open] > .ws-personal-details-summary {
	border-bottom-color: rgba(120, 140, 200, 0.22);
}

[data-bs-theme="dark"] .life-records-page .ws-history-table-wrap {
	background: linear-gradient(180deg, rgba(26, 36, 58, 0.98), rgba(22, 30, 48, 0.98)) !important;
	border-color: rgba(120, 140, 200, 0.28) !important;
	box-shadow: none !important;
}

[data-bs-theme="dark"] .life-records-page .ws-history-table {
	--bs-table-bg: transparent;
	--bs-table-color: rgba(210, 222, 250, 0.9);
	--bs-table-border-color: rgba(120, 140, 200, 0.18);
	--bs-table-hover-bg: rgba(36, 52, 81, 0.55);
	--bs-table-hover-color: #eef3ff;
}

[data-bs-theme="dark"] .life-records-page .ws-history-table tbody td {
	border-color: rgba(120, 140, 200, 0.14);
	vertical-align: middle;
}

[data-bs-theme="dark"] .life-records-page .ws-history-table-wrap .form-control,
[data-bs-theme="dark"] .life-records-page .ws-history-table-wrap .form-select {
	background: rgba(16, 24, 40, 0.95);
	border-color: rgba(120, 140, 200, 0.35);
	color: #e8efff;
}

[data-bs-theme="dark"] .life-records-page .ws-history-table-wrap .form-control:focus,
[data-bs-theme="dark"] .life-records-page .ws-history-table-wrap .form-select:focus {
	background: rgba(18, 28, 46, 0.98);
	border-color: rgba(130, 155, 230, 0.55);
	color: #f4f7ff;
	box-shadow: 0 0 0 0.15rem rgba(99, 132, 255, 0.18);
}

[data-bs-theme="dark"] .life-records-page .ws-counter-chart-wrap {
	background: rgba(22, 30, 48, 0.82);
	border-color: rgba(120, 140, 200, 0.28);
}

[data-bs-theme="dark"] .life-records-page .ws-personal-page .form-label.text-muted,
[data-bs-theme="dark"] .life-records-page .ws-personal-page .small.text-muted,
[data-bs-theme="dark"] .life-records-page .ws-personal-page .text-secondary,
[data-bs-theme="dark"] .life-records-page .ws-personal-page .h6.text-uppercase.text-muted {
	color: rgba(180, 195, 230, 0.78) !important;
}

[data-bs-theme="dark"] .life-records-page .ws-personal-page .table {
	--bs-table-bg: transparent;
	--bs-table-color: rgba(210, 222, 250, 0.9);
	--bs-table-border-color: rgba(120, 140, 200, 0.18);
	--bs-table-hover-bg: rgba(36, 52, 81, 0.45);
}

[data-bs-theme="dark"] .life-records-page .ws-personal-page .ws-card .form-control,
[data-bs-theme="dark"] .life-records-page .ws-personal-page .ws-card .form-select {
	background: rgba(16, 24, 40, 0.92);
	border-color: rgba(120, 140, 200, 0.32);
	color: #e8efff;
}

[data-bs-theme="dark"] .life-records-page .ws-personal-page .ws-card .form-control:focus,
[data-bs-theme="dark"] .life-records-page .ws-personal-page .ws-card .form-select:focus {
	background: rgba(18, 28, 46, 0.98);
	border-color: rgba(130, 155, 230, 0.5);
	color: #f4f7ff;
}

[data-bs-theme="dark"] .life-records-page .ws-personal-track {
	background: rgba(22, 30, 48, 0.72);
	border-color: rgba(120, 140, 200, 0.26);
}

[data-bs-theme="dark"] .life-records-page .btn-outline-danger {
	color: #f5a8b8;
	border-color: rgba(220, 100, 120, 0.45);
}

[data-bs-theme="dark"] .life-records-page .btn-outline-danger:hover {
	background: rgba(180, 60, 80, 0.22);
	color: #ffd6de;
}
